/*
@font-face {
    font-family: 'Visby';
    src: url('../fonts/VisbyCF-Bold.woff2') format('woff2'), 
         url('../fonts/VisbyCF-Bold.woff') format('woff'); 
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('../fonts/AlteHaasGrotesk_Regular.woff2') format('woff2'), 
         url('../fonts/AlteHaasGrotesk_Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
Add other weights/styles for Visby and Alte Haas Grotesk if you have them.
Make sure the path to your font files (e.g., ../fonts/) is correct.
*/

/* Global Resets & Base Styles */
body {
    font-family: 'Alte Haas Grotesk', Arial, sans-serif; /* Primary body font */
    margin: 0;
    padding: 0;
    color: #ffffff; /* White text */
    background-color: #11111f; /* New primary dark background */
    line-height: 1.7em;
    font-weight: normal; /* Alte Haas Grotesk normal weight */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #62b5e5; /* New accent blue */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%; /* Adjust for content width if needed */
    max-width: 1100px; /* Common content width */
    margin: 0 auto;
    padding: 0 15px; /* Add some horizontal padding */
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Section - Assuming top navigation is separate or above the main branding shown */
#top-header-nav { /* For a potential top bar navigation */
    background-color: #1f2937; /* Slightly lighter dark blue/grey */
    padding: 0.5em 0;
}

#top-header-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#top-header-nav #logo-small { /* If a small logo is used in the nav bar */
    max-height: 40px;
}

#top-menu-nav { /* The actual navigation menu */
    /* float: right; Removed for flex layout if used in #top-header-nav */
}

#top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#top-menu .menu-item {
    display: inline-block;
    margin-left: 25px;
}

#top-menu .menu-item a {
    font-weight: 600;
    font-size: 16px;
    color: #e0e0e0;
    text-transform: uppercase; /* Common for Divi navs */
}

#top-menu .menu-item a:hover {
    color: #62b5e5; /* New accent blue */
}

/* Main Branding Area (from screenshots) */
#main-branding {
    text-align: center;
    padding: 4em 0 0 0;
}

#main-logo-image {
    max-width: 65%; /* Replaces inline style */
    height: auto;
    margin-bottom: 1em;
}

#main-branding h1.site-title {
    font-family: 'Visby', sans-serif; /* Primary heading/branding font */
    font-size: 3.5em; /* Large */
    color: #ffffff;
    letter-spacing: 2px;
    margin: 0.2em 0;
    font-weight: 700;
}

#main-branding p.site-tagline {
    font-size: 1.5em;
    color: #a0a0a0; /* Lighter than body text, but not white - adjust if needed for Visby/Alte Haas */
    margin-bottom: 2em;
    font-weight: 300; /* Adjust for Alte Haas Grotesk if available */
    letter-spacing: 1px;
}

.key-phrases {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 1.5em;
}

.key-phrases p {
    color: #c0c0c0; /* Adjust if needed for Visby/Alte Haas */
    font-size: 0.9em;
}

/* Main Content Area */
#main-content {
    padding: 0 0 2em 0;
}

.entry-title.main_title { /* For page titles like 'Our Team' if on its own page */
    font-family: 'Visby', sans-serif;
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 1em;
    text-align: center;
    font-weight: 600;
}

.entry-content h2 { /* Subheadings within content */
    font-family: 'Visby', sans-serif;
    font-size: 1.8em;
    color: #f0f0f0; /* Slightly off-white for less emphasis than main titles */
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 600;
}

.entry-content p {
    margin-bottom: 1em;
    font-size: 1em; /* Base size */
}

.intro-text-container {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}

/* Team Section */
#team {
    margin-top: 2em;
    padding-top: 1em;
}

#team > h3 { /* 'Our Team' heading */
    font-family: 'Visby', sans-serif;
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 1.5em;
    text-align: center;
    font-weight: 600;
}

.team-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2em; /* Space between team member cards */
    justify-content: center;
}

.team-member {
    flex-basis: calc(33.333% - 1.5em); /* Adjust for 3 columns with 2em gap */
    text-align: center; /* Center content within the card */
    margin-bottom: 2em; /* If flex-wrap kicks in (e.g. on smaller screens) */
}

.team-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1em auto; /* Center image and add space below */
    display: block;
    border: 3px solid #62b5e5; /* New accent blue */
}

.team-member h4 { /* Name */
    font-family: 'Visby', sans-serif;
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 0.25em;
    font-weight: 600;
}

.team-member p.title { /* Role, e.g., Founder, Director */
    font-style: normal;
    color: #62b5e5; /* New accent blue */
    margin-bottom: 0.75em;
    font-size: 1em;
    font-weight: 500;
}

.team-member p { /* Description text */
    font-size: 0.95em;
    color: #d0d0d0; /* Slightly off-white for readability */
}

/* Posts Page Specifics */
.post-entry {
    margin-bottom: 2.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #333a4a; /* Subtle separator */
}

.post-entry:last-child {
    border-bottom: none;
}

.post-entry h2 a {
    font-family: 'Visby', sans-serif;
    color: #f0f0f0; /* Slightly off-white */
    font-size: 1.8em;
}
.post-entry h2 a:hover {
    color: #62b5e5; /* New accent blue */
}

.post-meta {
    font-size: 0.85em;
    color: #a0a0a0; /* Adjust for Alte Haas Grotesk */
    margin-bottom: 0.5em;
}

/* Footer */
#main-footer {
    background-color: #00000a; /* Slightly darker than main bg, or use #11111f */
    color: #a0a0a0; /* Adjust for Alte Haas Grotesk */
    padding: 3em 0;
    text-align: center; /* Center footer content */
    font-size: 0.9em;
    margin-top: 2em;
    border-top: 1px solid #222a3a;
}

#footer-bottom {
    padding: 1.5em 0;
}

#footer-bottom .container {
    display: flex;
    justify-content: center;
    text-align: center;
}

#footer-info {
    /* float: left; removed */
}

#footer-info p {
    margin: 0;
}

#footer-info a {
    color: #62b5e5; /* New accent blue */
}

#footer-social-icons {
    /* float: right; removed */
}

#footer-social-icons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer-social-icons li {
    display: inline-block;
    margin: 0 10px;
}

#footer-social-icons a {
    color: #62b5e5; /* New accent blue */
    font-size: 1.8em; /* Make icons larger */
}
#footer-social-icons a:hover {
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 992px) { /* Adjusted breakpoint for 3 columns -> 2 columns */
    .team-member {
        flex-basis: calc(50% - 1em); /* Two columns on medium screens */
    }
}

@media (max-width: 768px) {
    #main-branding {
        padding: 2em 0 0;
    }

    #main-logo-image {
        max-width: 90%;
    }

    .intro-text-container {
        max-width: 90%;
    }

    #main-branding h1.site-title {
        font-size: 2.8em;
    }
    #main-branding p.site-tagline {
        font-size: 1.2em;
    }
    .key-phrases {
        flex-direction: column;
        gap: 0.5em;
    }
    .team-member {
        flex-basis: 100%; /* Full width on smaller screens */
    }
    #top-menu .menu-item {
        display: block; /* Stack nav items */
        margin: 10px 0;
        text-align: center;
    }
    #top-header-nav .container {
        flex-direction: column; /* Stack logo and nav in top bar */
    }
    #top-header-nav #logo-small {
        margin-bottom: 1em;
    }
    #footer-info,
    #footer-social-icons {
        float: none;
        text-align: center;
    }

    #footer-bottom .container {
        flex-direction: column;
    }

    #footer-info {
        margin-bottom: 1em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    #team > h3 {
        font-size: 2em;
    }

    .team-photo {
        width: 150px;
        height: 150px;
    }
} 