/*
Theme Name: State of Wildfires
Theme URI: https://stateofwildfires.com
Author: State of Wildfires Team
Author URI: https://stateofwildfires.com
Description: A responsive theme for the State of Wildfires website featuring a video background hero section and fluid design across multiple breakpoints.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stateofwildfires
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive
*/

/* Import Work Sans font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Color Variables */
:root {
    --color-white: #ffffff;
    --color-teal: #008787;
    --color-red: #C7403D;
    --color-orange: #e27226;
    --color-light-orange: #fab073;
    --color-cream: #fcd9b8;
    --color-black: #1c1c1c;
}

/* Typography Variables */
:root {
    /* Desktop Typography */
    --h1-size: 3.75rem;
    --h1-line-height: 108%;
    --h2-size: 3rem;
    --h2-line-height: 117%;
    --h3-size: 1.8125rem;
    --h3-line-height: 130%;
    --h4-size: 1.5625rem;
    --h4-line-height: 110%;
    --p-size: 1.25rem;
    --p-line-height: 130%;
    --p-small-size: 1.125rem;
    --p-small-line-height: 130%;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global cursor styles for all interactive elements */
a, button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], select, textarea, [tabindex], .interactive, .clickable {
    cursor: pointer;
}

body {
    font-family: 'Work Sans', sans-serif;
    line-height: var(--p-line-height);
    color: var(--color-black);
    background-color: var(--color-white);
    font-size: var(--p-size);
}

/* Typography Styles */
h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-line-height);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

p {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    margin-bottom: 1.25rem;
}

.p-small {
    font-size: var(--p-small-size);
    line-height: var(--p-small-line-height);
}

/* Container */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0;
}



/* Grid System */
.grid {
    display: grid;
    gap: 1.25rem;
}

.grid-12 {
    grid-template-columns: repeat(12, 1fr);
}

.col-8 {
    grid-column: span 8;
}

.col-4 {
    grid-column: span 4;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 800px;
    height: 80vh;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 90px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--color-white);
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
    letter-spacing: -2px;
}

.hero-subheading {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    font-weight: 400;
    margin-bottom: 2rem;
    padding-top: 1rem;
    text-align: left;
}

/* Global Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 11px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 0.125rem solid transparent;
    cursor: pointer;
    text-align: center;
    align-self: flex-start;
}

/* Primary Button - Red background, white text */
.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-red);
}

/* Secondary Button - Black background, white text */
.btn-secondary {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--color-black);
}

/* Tertiary Button - Text link with arrow right */
.btn-tertiary {
    background: transparent;
    color: var(--color-black);
    border-color: transparent;
    padding: 0;
    font-weight: 600;
}

.btn-tertiary:hover {
    color: var(--color-red);
    transform: translateX(4px);
}

.btn-tertiary.light {
    color: var(--color-white);
}

/* Tertiary Button with left arrow (All news link) */
.btn-tertiary-left {
    background: transparent;
    color: var(--color-black);
    border-color: transparent;
    padding: 0;
    font-weight: 600;
    flex-direction: row-reverse;
}

.btn-tertiary-left:hover {
    color: var(--color-red);
    transform: translateX(-4px);
}

/* Primary Button with icon (Latest report buttons) */
.btn-primary-icon {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.btn-primary-icon:hover {
    background: transparent;
    color: var(--color-red);
}

.btn-primary-icon:hover::after {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.btn-primary-icon::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 17px;
    background-image: url('images/icon-report.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 4px;
    vertical-align: middle;
}

/* Arrow styles */
.btn .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.btn-tertiary-left:hover .arrow {
    transform: translateX(-4px);
}

/* Four Column Section */
.four-col-section {
    padding: 90px 0;
}

.four-col-section h2 {
    text-align: left;
    margin-bottom: 4.375rem;
}

.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.four-col-item {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 200px;
}

.four-col-icon {
    height: 100px;
}

/* Three Column Section */
.three-col-section {
    position: relative;
    min-height: 800px;
    height: 80vh;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 90px 0;
}

.three-col-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.three-col-section .container {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.three-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.three-col-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.three-col-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.three-col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.three-col-section h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    font-weight: 600;
    margin-bottom: 0;
    text-align: left;
    color: var(--color-white);
}

.three-col-text {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    font-weight: 400;
    margin-bottom: 0;
    text-align: left;
    color: var(--color-white);
}

.three-col-section .hero-cta {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-branding {
    flex-shrink: 0;
}

.custom-logo-link {
    display: block;
    text-decoration: none;
}

.custom-logo {
    width: 269px;
    height: 80px;
    display: block;
    background-image: url('images/TSOWP-primary-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;
}



.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--color-white);
    text-decoration: none;
}

.site-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-black);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
}

.menu-toggle-icon {
    display: block;
    width: 1.25rem;
    height: 0.125rem;
    background: var(--color-black);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 0.125rem;
    background: var(--color-black);
    transition: all 0.3s ease;
}

.menu-toggle-icon::before {
    top: -0.375rem;
}

.menu-toggle-icon::after {
    bottom: -0.375rem;
}

.menu-toggle.active .menu-toggle-icon {
    background: transparent;
}

.menu-toggle.active .menu-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
    background: var(--color-white);
}

.menu-toggle.active .menu-toggle-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
    background: var(--color-white);
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3.25rem;
    align-items: center;
}

.primary-menu li {
    margin: 0;
}

.primary-menu a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.primary-menu a:hover {
    color: var(--color-red);
}

/* Contact us CTA button - target last menu item */
.primary-menu li:last-child a {
    background: var(--color-black);
    color: var(--color-white);
    padding: 11px 37px;
    border-radius: 50px;
    border: 0.125rem solid var(--color-black);
    margin: 0.5rem 0;
    text-align: center;
}

.primary-menu li:last-child a:hover {
    background: transparent;
    color: var(--color-black);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 60px 60px 30px 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

/* Left Column - Logo */
.footer-left {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    width: 269px;
    height: 80px;
    display: block;
    background-image: url('images/TSOWP-primary-logo-reverse.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Right Column - Split into 2 columns */
.footer-right {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-right-left {
    display: flex;
    flex-direction: column;
}

.footer-right-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.footer-navigation {
}

.footer-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.footer-menu a:hover {
    color: var(--color-white);
}

/* Social Links */
.footer-social {
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: block;
    text-decoration: none;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Partners Section */
.footer-partners {
    margin-top: auto;
}

.partner-text {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.partner-logo img {
    max-width: 120px;
    height: auto;
}

/* Footer Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1.25rem 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.copyright p {
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-links .footer-link-item,
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0 1rem;
    position: relative;
}

.footer-links .footer-link-item::after,
.footer-links a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12.5%;
    height: 75%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-links .footer-link-item:last-child::after,
.footer-links a:last-child::after {
    display: none;
}

.footer-links .footer-link-item:last-child,
.footer-links a:last-child {
    padding-right: 0;
}

.footer-links .footer-link-item:last-child,
.footer-links a:last-child {
    border-right: none;
}

.footer-links .footer-link-item:hover,
.footer-links a:hover {
    color: var(--color-white);
}


/* Utility classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }


/* Logos Section */
.logos-section {
    padding: 0 0 90px 0;
}

.logos-section .container {
    border-top: 1px solid rgba(28, 28, 28, 0.2);
    padding-top: 90px;
}

.logos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.logos-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 75%;
}

.logos-left h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    font-weight: 600;
    margin-bottom: 0;
    text-align: left;
    color: var(--color-black);
}



.logos-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    width: 100%;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile responsive for logos section */
@media (max-width: 1024px) {
    .logos-section {
        padding: 30px 0 0;
    }
    
    .logos-section .container {
        padding-top: 30px;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    
    .logos-left {
        align-items: flex-start;
    }
    
    .logos-left h3 {
        text-align: left;
    }
    
    .logos-cta {
        align-self: flex-start;
    }
    
    .logos-grid-3x3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        width: 100%;
    }
    
    .logo-item {
        padding: 0.5rem;
    }
    
    .logo-item img {
        max-height: 40px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

/* About Hero Section */
.about-hero {
    padding: 140px 0 60px 0;
    position: relative;
    min-height: 600px;
    background: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--color-teal) 0%, rgba(0, 135, 135, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 80rem;
    width: 100%;
    padding: 0 1.25rem;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-left {
    /* Left column (75%) - empty for now */
}

.about-hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-hero h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    font-weight: 600;
    margin-bottom: 0;
    color: var(--color-white);
}

.about-hero-subheading {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-white);
    opacity: 0.9;
}

.about-hero .hero-cta {
    align-self: flex-start;
}

.about-hero .map-instruction {
    color: var(--color-white);
    opacity: 0.8;
}

/* Mobile responsive for about hero */
@media (max-width: 786px) {
    .about-hero {
        min-height: 500px;
        padding: 100px 0 30px 0;
    }

    .about-hero-content .container{
        padding: 0;
    }

    .about-hero-subheading p{
        margin-bottom : 0;
    }
    
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-hero .hero-cta {
        align-self: center;
    }

    .about-hero-left {
        order: 2;
    }
    
    .about-hero-right {
        order: 1;
        text-align: left;
        align-items: flex-start;
    }
}

/* About Team Section */
.about-team {
    padding: 90px 0;
    background-color: rgba(252, 217, 184, 0.2);
    position: relative;
}

.about-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg-swirl.svg');
    background-size: auto;
    background-position: 0 180px;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.about-team .container {
    padding: 0 1.25rem;
}

.team-category {
    margin-bottom: 4rem;
}

.team-category-heading {
    text-align: center;
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    font-weight: 600;
    margin-bottom: 3rem;
    position: relative;
}

.team-category-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.team-category-heading::before,
.team-category-heading::after {
    content: '';
    height: 1px;
    background-color: var(--color-black);
    flex: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.team-member-card {
    background: var(--color-white);
    border-radius: 13px;
    min-height: 478px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    transform: scale(1);
}

.team-member-card:hover {
    transform: scale(1.02);
    box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.12);
}

.team-member-image {
    margin-bottom: 1.5rem;
}

.team-member-image img {
    width: 195px;
    height: 195px;
    object-fit: cover;
    border-radius: 50%;
}

.team-member-name {
    font-size: var(--h4-size);
    line-height: var(--h4-line-height);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.team-member-job-title,
.team-member-institution {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    font-weight: 500;
    opacity: 0.6;
    margin-bottom: 0.25rem;
    color: var(--color-black);
}

/* Mobile responsive for team section */
@media (max-width: 1024px) {
    .about-team {
        padding: 30px 0;
    }
    
    .team-category-heading::before,
    .team-category-heading::after {
        width: calc(50% - 100px);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-member-card {
        min-height: 400px;
        padding: 1.5rem;
    }
    
    .team-member-image img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-member-card {
        min-height: 350px;
        padding: 1rem;
    }
    
    .team-member-image img {
        width: 120px;
        height: 120px;
    }
}

/* Core Team Section */
.core-team-section {
    position: relative;
    background: var(--color-teal);
    padding: 90px 0;
    overflow: hidden;
}

.core-team-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg-swirl.svg');
    background-size: auto;
    background-position: 0 -100px;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.core-team-section .container {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.core-team-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 12.5rem;
    align-items: start;
}

.core-team-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.core-team-left h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    font-weight: 600;
    margin-bottom: 0;
    color: var(--color-white);
}

.core-team-subheading p {
    font-size: 1.875rem;
    line-height: var(--p-line-height);
    color: var(--color-white);
    margin-bottom: 0;
}

.core-team-left .logos-cta {
    color: var(--color-white);
    border-bottom-color: var(--color-white);
    align-self: flex-start;
}

.core-team-left .logos-cta:hover {
    color: var(--color-cream);
    border-bottom-color: var(--color-cream);
}

.core-team-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
    row-gap: 3.75rem;
}

.core-team-member {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.core-team-member-image {
    margin-bottom: 20px;
}

.core-team-member-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.core-team-member-name {
    font-size: 29px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-white);
}

.core-team-member-title,
.core-team-member-institution {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    font-weight: 500;
    margin-bottom: 0;
    color: var(--color-white);
}

.core-team-member-institution {
    margin-bottom: 8px;
}

.core-team-member-description {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.9;
    color: var(--color-white);
    margin-top: 0;
}

/* Mobile responsive for core team section */
@media (max-width: 1024px) {
    .core-team-section {
        padding: 30px 0;
    }
    
    .core-team-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .core-team-left {

    }
    
    .core-team-left .logos-cta {
        align-self: center;
    }
    
    .core-team-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .core-team-member-image img {
        width: 100px;
        height: 100px;
    }
    
    .core-team-member-name {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .core-team-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .core-team-member-image img {
        width: 80px;
        height: 80px;
    }
    
    .core-team-member-name {
        font-size: 20px;
    }
}

/* Article Page Styles */
.article-hero {
    background-color: var(--color-cream);
    background-color: rgba(252, 217, 184, 0.2);
    padding: 200px 0 60px 0;
    margin-top: 0;
    position: relative;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: calc(100% + 60px);
    background-color: rgba(252, 217, 184, 0.2);
    z-index: -1;
}

.article-hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.back-to-news {
    margin-bottom: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-black);
    text-decoration: none;
    font-size: var(--p-size);
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--color-teal);
}

.arrow-left {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.back-link:hover .arrow-left {
    transform: translateX(-4px);
}

.article-title {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    font-weight: 600;
    margin: 0;
    color: var(--color-black);
}

.article-author {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    margin: 0;
    opacity: 0.6;
    color: var(--color-black);
}

.article-date {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.6;
    color: var(--color-black);
}

/* Article Content Layout */
.article-content {
    padding: 60px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}

.article-main {
    /* Main content column (75%) */
}

.article-sidebar {
    /* Sidebar column (25%) */
}

/* Article Post Styles */
.article-post {
    margin: 0;
}

.article-featured-image {
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    border-left: 4px solid var(--color-teal);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.125rem;
}

/* Sidebar Styles */
.sidebar-content {
    position: static;
}

.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-black);
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.recent-post {
    display: flex;
    gap: 15px;
    padding: 0;
    background: none;
    border-radius: 0;
    transition: none;
}

.recent-post:hover {
    background: none;
}

.recent-post-image {
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    overflow: hidden;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: var(--p-size);
    line-height: 110%;
    font-weight: 600;
    margin-bottom: 8px;
}

.recent-post-title a {
    color: var(--color-black);
    text-decoration: none;
}

.recent-post-title a:hover {
    color: var(--color-teal);
}

.recent-post-date {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* Mobile Responsive for Article Page */
@media (max-width: 786px) {
    .article-hero {
        padding: 100px 0 30px;
    }
    
    .article-hero-content {
        gap: 20px;
    }
    
    .article-title {
        font-size: var(--h2-size);
        line-height: var(--h2-line-height);
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar-content {
        position: static;
    }
    
    .recent-post {
        padding: 0;
    }
    
    .recent-post-image {
        width: 100px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .article-hero {
        padding: 100px 0 30px;
    }
    
    .article-title {
        font-size: var(--h3-size);
        line-height: var(--h3-line-height);
    }
    
    .article-content {
        padding: 30px 0;
    }
    
    .recent-post {
        flex-direction: column;
        gap: 10px;
    }
    
    .recent-post-image {
        width: 100%;
        height: 120px;
    }
}

/* News Index Page Styles */
body.news-index-page {
    background-color: rgba(252, 217, 184, 0.2);
    position: relative;
}

body.news-index-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg-swirl.svg');
    background-size: auto;
    background-position: 0 180px;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.news-index-hero {
    padding: 200px 0 60px 0;
    position: relative;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    margin: 0;
}

.news-hero-title {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.news-hero-intro {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
    opacity: 0.8;
}

.news-hero-intro p {
    margin: 0;
}

/* News Articles Section */
.news-articles-section {
    padding: 0 0 60px 0;
}

.news-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

/* Article Card Styles */
.news-article-card {
    background-color: var(--color-white);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 20px;
}

.article-card-title {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    font-weight: 600;
    margin-bottom: 10px;
}

.article-card-title a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: var(--color-teal);
}

.article-card-date {
    font-size: 16px;
    line-height: 1.4;
    color: #666;
    margin: 0;
}

/* Pagination Styles */
.news-articles-section .wp-pagenavi,
.news-articles-section .navigation {
    text-align: center;
    margin-top: 40px;
}

.news-articles-section .page-numbers,
.news-articles-section .prev,
.news-articles-section .next {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.news-articles-section .page-numbers:hover,
.news-articles-section .prev:hover,
.news-articles-section .next:hover,
.news-articles-section .current {
    background-color: var(--color-teal);
    color: var(--color-white);
}

/* Mobile Responsive for News Index */
@media (max-width: 786px) {
    .news-index-hero {
        padding: 100px 0 30px 0;
    }
    
    .news-hero-title {
        font-size: var(--h2-size);
        line-height: var(--h2-line-height);
    }
    
    .news-articles-section {
        padding: 0 0 30px 0;
    }
    
    .news-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card-image {
        height: 200px;
    }
    
    .article-card-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .news-index-hero {
        padding: 100px 0 30px 0;
    }
    
    .news-hero-title {
        font-size: var(--h3-size);
        line-height: var(--h3-line-height);
    }
    
    .article-card-image {
        height: 180px;
    }
    
    .article-card-content {
        padding: 12px;
    }
}

/* Banner Styles */

/* Footer Banner */
.footer-banner {
    background-color: var(--color-red);
    padding: 90px;
    color: var(--color-white);
    margin: 90px auto;
    max-width: 1130px;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
}

.footer-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -20px;
    width: 150%;
    height: 150%;
    background-image: url('images/bg-swirl.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 0.1;
    z-index: 1;
}

.footer-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30%;
    position: relative;
    z-index: 2;
}

.footer-banner-text {
    flex: 1;
    font-size: 41px;
    line-height: 44px;
    font-weight: 600;
    text-align: left;
}

.footer-banner-text p {
    margin: 0;
}

.footer-banner-cta {
    flex-shrink: 0;
}

.footer-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 37px;
    background-color: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    border: 0.125rem solid var(--color-black);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-banner-button:hover {
    background-color: transparent;
    color: var(--color-black);
    transform: translateY(-2px);
}

/* Latest Report Banner */
.latest-report-banner-card {
    background-color: var(--color-black);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 200px;
    padding: 15px 15px 30px;
}

.latest-report-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.latest-report-banner-image {
    flex: 0 0 40%;
}

.latest-report-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-report-banner-card:hover .latest-report-banner-image img {
    transform: scale(1.05);
}

.latest-report-banner-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
}

.latest-report-banner-headline {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-white);
}

.latest-report-banner-headline a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-report-banner-headline a:hover {
    color: var(--color-red);
}

.latest-report-banner-subheading {
    font-size: 18px;
    line-height: 130%;
    color: rgba(255, 255, 255, 0.8);
}

.latest-report-banner-subheading p {
    margin: 0;
}

.latest-report-banner-cta {
    margin-top: 20px;
}

.latest-report-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 37px;
    background-color: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    border: 0.125rem solid var(--color-red);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.latest-report-banner-button:hover {
    background-color: transparent;
    color: var(--color-red);
    transform: translateY(-2px);
}

.latest-report-banner-button .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.latest-report-banner-button:hover .arrow {
    transform: translateX(4px);
}

/* Mobile Responsive for Banners */
@media (max-width: 786px) {
    .footer-banner {
        margin: 60px;
        padding: 60px 0;
    }
    
    .footer-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-banner-text {
        text-align: center;
        font-size: 32px;
        line-height: 36px;
    }
    
    .latest-report-banner-card {
        grid-column: span 1;
        flex-direction: column;
        min-height: auto;
    }
    
    .latest-report-banner-image {
        flex: none;
        height: auto;
    }
    
    .latest-report-banner-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .footer-banner {
        margin: 40px 15px;
        padding: 40px 0;
    }
    
    .footer-banner-text {
        font-size: 28px;
        line-height: 32px;
    }
    
    .latest-report-banner-image {
        height: auto;
    }
    
    .latest-report-banner-content {
        padding: 15px 0 0;
    }
}

/* Home News Section */
.home-news-section {
    background-color: rgba(252, 217, 184, 0.2);
    padding: 90px 0;
}

.home-news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.home-news-title h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    font-weight: 600;
    margin: 0;
    text-align: left;
    color: var(--color-black);
}

.home-news-subtitle p {
    font-size: 25px;
    line-height: 1.4;
    margin: 0;
    text-align: right;
    color: var(--color-black);
}

.home-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch;
}

.home-news-cta {
    text-align: center;
}

.home-news-cta .logos-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.home-news-cta .logos-cta:hover {
    color: var(--color-teal);
}

.home-news-cta .logos-cta .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.home-news-cta .logos-cta:hover .arrow {
    transform: translateX(4px);
}

/* Mobile Responsive for Home News Section */
@media (max-width: 786px) {
    .home-news-section {
        padding: 30px 0;
    }
    
    .home-news-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .home-news-title h2 {
        text-align: center;
    }
    
    .home-news-subtitle p {
        text-align: left;
        font-size: 20px;
    }
    
    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Working Together Section */
.working-together-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.working-together-section .container {
    max-width: 80rem;
    margin: 0 auto;
}

.working-together-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.working-together-left {
    position: relative;
    min-height: 400px;
}

.interactive-map {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.map-instruction {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.working-together-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.working-together-right h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.working-together-subheading {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    font-weight: 400;
    margin-bottom: 1.875rem;
    color: var(--color-black);
}

.working-together-subheading p {
    margin-bottom: 0;
}

.working-together-cta {
    display: inline-flex;
    align-items: center;
    background: var(--color-black);
    color: var(--color-white);
    padding: 11px 37px;
    border-radius: 50px;
    border: 0.125rem solid var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.working-together-cta:hover {
    background: transparent;
    color: var(--color-black);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .working-together-section {
        padding: 30px 0 0;
    }
    
    .working-together-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: end;
    }
    
    .working-together-left {
        min-height: 300px;
    }
    
    .interactive-map {
        height: 350px;
    }
    
    .working-together-right {
        text-align: left;
        align-items: flex-start;
    }
    
    .working-together-right h2 {
        font-size: 2rem;
        text-align: left;
    }
    
    .working-together-subheading {
        text-align: left;
    }
}

/* Map Pin Overlay Styles */
.map-pin-overlay {
    position: absolute;
    top: 30px;
    right: 20px;
    width: 30%;
    max-width: 400px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px 0 20px;
    margin-bottom: 5px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.institution-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.overlay-content {
    padding: 0 20px 20px 20px;
    flex: 1;
    overflow-y: auto;
}

.pin-name {
    font-size: var(--p-size);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-black);
}

.pin-job-title,
.pin-institution,
.pin-location {
    font-size: 13px;
    margin-bottom: 0;
    opacity: 0.6;
    color: var(--color-black);
}

.pin-description {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    margin-top: 15px;
    font-size: 13px;
    line-height: 110%;
    color: var(--color-black);
    opacity: 0.6;
}

.overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    width: 2rem;
    height: 2rem;
    transition: all 0.3s ease;
}

.overlay-close::before,
.overlay-close::after {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 0.125rem;
    background: var(--color-black);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.overlay-close::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.overlay-close::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile responsive for map overlay */
@media (max-width: 786px) {
    .map-pin-overlay {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: 90%;
        max-width: none;
        max-height: none;
        border-radius: 0;
        z-index: 2000;
    }
    
    .overlay-header {
        padding: 60px 20px 0 20px;
    }
    
    .overlay-content {
        padding: 0 20px 40px 20px;
    }
    
    .overlay-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Map Reset Button */
.ol-reset-button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.ol-reset-button:hover {
    background: var(--color-red);
    transform: translateY(-1px);
}

@media (max-width: 1279px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

/* Media Query for screens below 787px */
@media (max-width: 786px) {
    .four-col-section {
        padding: 30px 0;
    }
    
    .four-col-section h2 {
        margin-bottom: 2.5rem;
    }
    
    .four-col-grid {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }
    
    .four-col-item {
        min-height: 150px;
        gap: 1rem;
    }
    
    .four-col-icon {
        height: 80px;
    }
    
}

/* Responsive Typography Variables */
@media (max-width: 786px) {
    :root {
        /* Mobile Typography */
        --h1-size: 2.25rem;
        --h1-line-height: 117%;
        --h2-size: 2rem;
        --h2-line-height: 119%;
        --h3-size: 1.5rem;
        --h3-line-height: 130%;
        --h4-size: 1.25rem;
        --h4-line-height: 110%;
        --p-size: 1rem;
        --p-line-height: 130%;
        --p-small-size: 0.875rem;
        --p-small-line-height: 130%;
    }
}

@media (min-width: 787px) and (max-width: 1279px) {
    :root {
        /* Tablet Typography */
        --h1-size: 3rem;
        --h1-line-height: 113%;
        --h2-size: 2.5rem;
        --h2-line-height: 115%;
        --h3-size: 1.625rem;
        --h3-line-height: 130%;
        --h4-size: 1.375rem;
        --h4-line-height: 110%;
        --p-size: 1.125rem;
        --p-line-height: 130%;
        --p-small-size: 1rem;
        --p-small-line-height: 130%;
    }
}

/* Responsive Design */
/* Desktop - 1280px and above */
@media (min-width: 1280px) {
    .hero-cta {
        padding: 11px 37px;
        font-size: 16px;
    }
}

/* Tablet - 787px to 1279px */
@media (min-width: 787px) and (max-width: 1279px) {
    .hero-cta {
        padding: 11px 37px;
        font-size: 16px;
    }
    
    .hero-grid {
        gap: 1.875rem;
    }
}

/* Mobile - 320px to 1024px */
@media (max-width: 1024px) {
    .hero {
        height: 60vh;
        align-items: end;
        padding-bottom: 30px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
        align-items: end;
    }
    
    .hero-left,
    .hero-right {
        align-items: flex-start;
    }
    
    .hero h1 {
        margin-bottom: 0;
        text-align: left;
    }
    
    .hero-subheading {
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .hero-cta {
        padding: 11px 37px;
        font-size: 16px;
        align-self: flex-start;
    }
    
    .container {
        padding: 0 0.9375rem;
    }
     /* Three Column Section Mobile */
     .three-col-section {
        min-height: 800px;
        height: auto;
        padding: 30px 0;
    }
    
    .three-col-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    
    .three-col-left,
    .three-col-middle,
    .three-col-right {
        align-items: left;
        gap: 1.25rem;
    }
    
    .three-col-section h2 {
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .three-col-text {
        text-align: left;
        margin-bottom: 0;
    }
    
    .three-col-section .hero-cta {
        align-self: left;
        margin-top: 0;
    }
}

/* Extra small mobile - 320px and below */
@media (max-width: 320px) {
    .hero-cta {
        padding: 9px 30px;
        font-size: 14px;
    }
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .custom-logo {
        width: 202px;
        height: 60px;
    }
    
    .site-branding {
        z-index: 1000;
        position: relative;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
        position: relative;
    }
    
    .primary-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 100px 2rem 2rem 2rem;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .primary-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    

    
    .primary-menu li {
        margin: 1rem 0;
    }
    
    .primary-menu a {
        display: block;
        padding: 0.5rem 0;
        color: var(--color-white);
        font-weight: 600;
        font-size: 1.5rem;
        text-align: left;
    }
    
    .primary-menu a:hover {
        color: var(--color-red);
    }
    
    /* Contact us CTA button on mobile */
    .primary-menu li:last-child a {
        background: transparent;
        color: var(--color-white);
        padding: 11px 37px;
        border-radius: 50px;
        border: 0.125rem solid var(--color-white);
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .primary-menu li:last-child a:hover {
        background: var(--color-white);
        color: var(--color-black);
        transform: translateY(-2px);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Footer Mobile Responsive */
    .site-footer {
        padding: 40px 15px 20px 15px;
    }

    .site-footer .container {
        padding: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-left {
        justify-content: flex-start;
    }
    
    .footer-logo {
        width: 200px;
        height: 59px;
    }
    
    .footer-right {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-right-left,
    .footer-right-right {
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-partners {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start
    }
    
    .footer-links .footer-link-item,
    .footer-links a {
        padding: 0.25rem 0;
    }
    
    .footer-links .footer-link-item::after,
    .footer-links a::after {
        display: none;
    }
}

/* Mobile styles for footer-links */
@media (max-width: 768px) {
    .footer-links {
        align-items: flex-start;
    }
    
    .footer-links .footer-link-item,
    .footer-links a {
        padding: 0.25rem 0;
    }
    
    .footer-links .footer-link-item::after,
    .footer-links a::after {
        display: none;
    }
}

/* Work with us Page Styles */

.page-template-page-work-with-us main.site-main {
    background-color: rgba(252, 217, 184, 0.2);
}

.work-with-us-hero {
    position: relative;
    height: 80vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.work-with-us-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.work-with-us-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.work-with-us-hero-content {
    position: relative;
    z-index: 4;
    color: var(--color-white);
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.work-with-us-hero-text {
    width: 33%;
    padding: 0 0 90px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.work-with-us-hero h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: var(--h1-line-height);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.work-with-us-hero-subheading {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-white);
    opacity: 0.9;
}

.two-col-layout-section {
    padding: 90px 0;
}

.two-col-layout-section h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    line-height: var(--h2-line-height);
    color: var(--color-black);
    margin-bottom: 3rem;
    text-align: left;
}

.two-col-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.two-col-left,
.two-col-right {
    display: flex;
    flex-direction: column;
}

.two-col-text {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
    margin-bottom: 0.9375rem;
}

.two-col-cta {
    margin-top: auto;
}

.two-col-cta .hero-cta {
    display: inline-block;
}

/* Mobile responsive for work with us page */
@media (max-width: 786px) {
    .work-with-us-hero {
        height: 50vh;
        min-height: 300px;
        padding: 0 15px;
    }
    
    .work-with-us-hero-text {
        width: 100%;
        padding: 0 0 30px 0;
    }
    
    .work-with-us-hero h1 {
        font-size: var(--h1-size);
        margin-bottom: 0.75rem;
    }
    
    .two-col-layout-section {
        padding: 30px 0 0;
    }
    
    .two-col-layout-section h2 {
        margin-bottom: 2rem;
    }
    
    .two-col-layout-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .two-col-text {
        margin-bottom: 1.5rem;
    }
}

/* Latest Report Page Styles */
.latest-report-hero {
    position: relative;
    height: 80vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    color: var(--color-white);
}

.latest-report-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.latest-report-hero h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: var(--h1-line-height);
    color: var(--color-white);
    margin: 0;
}

.latest-report-content {
    padding: 80px 0;
    background: var(--color-white);
}

.latest-report-content p {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
    text-align: center;
}

/* Mobile responsive for latest report page */
@media (max-width: 786px) {
    .latest-report-hero {
        height: 60vh;
        min-height: 300px;
    }
    
    .latest-report-hero h1 {
        font-size: var(--h1-size);
    }
    
    .latest-report-content {
        padding: 60px 0;
    }
}

/* Contact Us Page Styles */
.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 200px 0 60px 0;
    background-color: rgba(252, 217, 184, 0.2);
    color: var(--color-black);
    overflow: hidden;
}

.contact-hero-swirl {
    position: absolute;
    bottom: -120px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg-swirl.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-hero h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: var(--h1-line-height);
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.contact-hero-subheading {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
    opacity: 0.8;
}

.contact-form-section {
    padding: 0;
    background: var(--color-white);
}

.contact-form-wrapper {
    max-width: 600px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: var(--p-size);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--p-small-size);
    line-height: var(--p-small-line-height);
    color: var(--color-black);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}



.contact-info-section {
    padding: 40px 0;
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info {
}

.contact-info p {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
    margin: 0;
}

.contact-info a {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Mobile responsive for contact page */
@media (max-width: 786px) {
    .contact-hero {
        height: auto;
        padding: 100px 0 30px;
    }
    
    .contact-hero h1 {
        font-size: var(--h1-size);
    }
    
    .contact-form-section {
        padding: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-submit-btn {
        width: 100%;
    }
}

/* WPForms Custom Styling */
.wpforms-container .wpforms-title {
    display: none;
}

/* Reduce WPForms top margin */
.wpforms-container {
    margin-top: 0;
}

.wpforms-container .wpforms-form {
    margin-top: 0;
}

/* Style WPForms submit button */
.wpforms-container .wpforms-submit-container .wpforms-submit {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    padding: 11px 37px !important;
    border-radius: 50px !important;
    border: 0.125rem solid var(--color-black) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
}

.wpforms-container .wpforms-submit-container .wpforms-submit:hover {
    background: transparent !important;
    color: var(--color-black) !important;
}

/* Privacy Policy Page Styles */
.privacy-policy-hero {
    background: rgba(255, 248, 220, 0.2);
    color: var(--color-black);
    padding: 200px 0 60px;
    text-align: left;
}

.privacy-policy-hero-content h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--color-black);
}

.privacy-policy-hero-subtitle {
    font-size: var(--p-size);
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    font-weight: 400;
}

.privacy-policy-content {
    padding: 60px 0;
    background: var(--color-white);
}

.privacy-policy-content-wrapper {
    margin: 0 auto;
}

.privacy-policy-content-area {
    background: var(--color-white);
    padding: 0;
}

.privacy-policy-content-area h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    color: var(--color-black);
    margin: 40px 0 20px 0;
    padding-top: 20px;
    border-top: 2px solid var(--color-black);
}

.privacy-policy-content-area h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    color: var(--color-black);
    margin: 30px 0 15px 0;
}

.privacy-policy-content-area h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    color: var(--color-black);
    margin: 25px 0 12px 0;
}

.privacy-policy-content-area p {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
    margin: 0 0 20px 0;
}

.privacy-policy-content-area ul,
.privacy-policy-content-area ol {
    font-size: var(--p-size);
    line-height: var(--p-line-height);
    color: var(--color-black);
    margin: 0 0 20px 0;
    padding-left: 30px;
}

.privacy-policy-content-area li {
    margin-bottom: 10px;
}

.privacy-policy-content-area a {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 600;
}

.privacy-policy-content-area a:hover {
    text-decoration: underline;
}

.privacy-policy-content-area blockquote {
    border-left: 4px solid var(--color-red);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--color-black);
}

.privacy-policy-content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.privacy-policy-content-area th,
.privacy-policy-content-area td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.privacy-policy-content-area th {
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Mobile responsive for privacy policy page */
@media (max-width: 786px) {
    .privacy-policy-hero {
        padding: 60px 0 40px;
    }
    
    .privacy-policy-hero-content h1 {
        font-size: var(--h2-size);
    }
    
    .privacy-policy-content {
        padding: 40px 0;
    }
    
    .privacy-policy-content-wrapper {
        padding: 0 20px;
    }
    
    .privacy-policy-content-area h2 {
        font-size: var(--h3-size);
        margin: 30px 0 15px 0;
    }
    
    .privacy-policy-content-area h3 {
        font-size: var(--h4-size);
        margin: 25px 0 12px 0;
    }
}