/*
Theme Name: MDAA Golden Dome
Theme URI: https://missiledefenseadvocacy.org
Author: Orion Systems
Author URI: https://orionsy.com
Description: Custom theme for Missile Defense Advocacy Alliance
Version: 1.0.1
License: Proprietary
Text Domain: mdaa-golden-dome
Template: generatepress
*/

/* ============================================
   V3 GOLDILOCKS COLOR PALETTE
   ============================================ */
:root {
    /* Gold Accents */
    --gold-primary: #C9A227;
    --gold-light: #E8D48A;
    --gold-soft: #F5EED6;
    
    /* Navy Scale */
    --navy-deep: #1B2838;
    --navy-medium: #2D4156;
    --navy-soft: #4A6178;
    
    /* V3 Background Scale - Sophisticated Slate */
    --bg-dark: #3A4A5C;
    --bg-medium: #4A5B6D;
    --bg-light: #5A6B7D;
    --bg-card: #F0F3F6;
    --bg-card-hover: #F7F9FA;
    
    /* Text */
    --text-dark: #1B2838;
    --text-medium: #3D5167;
    --text-light: #5A7089;
    
    /* Card Image Backgrounds */
    --card-bg-dark: #4A6178;
    --card-bg-light: #6A8A9E;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Libre Franklin', 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-medium);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Account for fixed header */
}

/* Admin bar adjustments for body padding */
body.admin-bar {
    padding-top: 112px; /* 80px header + 32px admin bar */
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 126px; /* 80px header + 46px mobile admin bar */
    }
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-primary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }
h5 { font-size: clamp(0.95rem, 1.5vw, 1.1rem); }
h6 { font-size: clamp(0.875rem, 1.25vw, 1rem); }

p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-medium);
    margin: 0 0 1rem;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

@media (min-width: 1400px) {
    .container { max-width: 1400px; }
}

@media (min-width: 1800px) {
    .container { max-width: 1600px; }
}

.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Background Variants - Dark Slate Theme */
.bg-dark { background: var(--bg-dark); color: #fff; }
.bg-medium { background: var(--bg-medium); color: #fff; }
.bg-light { background: var(--bg-light); color: #fff; }
.bg-card { background: var(--bg-card); }
.bg-navy { background: var(--navy-deep); color: white; }
.bg-navy p { color: rgba(255, 255, 255, 0.8); }

/* Text adjustments for dark backgrounds */
.bg-dark p, .bg-medium p, .bg-light p { color: rgba(255, 255, 255, 0.85); }
.bg-dark .section-title, .bg-medium .section-title, .bg-light .section-title { color: #fff; }
.bg-dark .section-label, .bg-medium .section-label, .bg-light .section-label {
    background: rgba(201, 162, 39, 0.25);
    color: var(--gold-light);
}

/* Reset text colors inside light cards */
.card, .stat-card, .defense-card, .article-card, .alert-card,
.mission-card, .timeline-card, .leader-card, .featured-article,
.contact-form-wrapper, .about-stat-card, .defender-card, .report-card {
    color: var(--text-dark);
    background: var(--bg-card);
}
.card p, .stat-card p, .defense-card p, .article-card p, .alert-card p,
.mission-card p, .timeline-card p, .featured-article p, .defender-card p,
.report-card p {
    color: var(--text-medium) !important;
    background: none !important;
}
.card h3, .card h4, .stat-card h3, .defense-card h3, .defender-card h3,
.defender-card h4, .report-card h3, .report-card h4 {
    color: var(--text-dark) !important;
    background: none !important;
}
.card a:not(.btn), .defender-card a:not(.btn), .report-card a:not(.btn) {
    color: var(--gold-primary) !important;
    background: none !important;
}

/* Ensure no accidental highlights on card content */
.card-content *, .defender-card *, .report-card * {
    background-color: transparent;
}

/* ============================================
   NAVIGATION - Clean Implementation
   ============================================ */

/* Header Container - Dark Frosted Glass */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(27, 40, 56, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* WordPress Admin Bar Support */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Header Inner - Flex Container */
.header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Don't spread out */
    gap: 0 !important;
    height: 80px;
    overflow: visible;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem) !important;
}

/* Logo */
.site-logo {
    flex: 0 0 auto;
    margin-right: auto !important; /* Push everything after it to the right */
    margin-left: 0 !important; /* Flush left */
}

.site-logo a,
.site-logo .custom-logo-link {
    display: block;
}

.site-logo img,
.site-logo .custom-logo {
    height: 45px;
    width: auto;
    display: block;
}

/* Site Tagline - Between Logo and Navigation */
.site-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.site-tagline span {
    color: var(--gold-primary);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .site-tagline {
        display: none;
    }
}

/* Main Navigation - Contains menu + CTA */
.main-navigation {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important; /* Push navigation to the right */
    background: transparent !important;
}

/* Primary Menu */
.primary-menu {
    display: flex !important;
    align-items: center !important;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.75rem !important; /* Tighter spacing between menu items */
    background: transparent !important;
}

.primary-menu > li {
    position: relative;
    background: transparent !important;
}

.primary-menu > li > a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    background: transparent !important;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: #C9A227;
}

/* KILL ALL PSEUDO-ELEMENTS on nav links */
.main-navigation a::before,
.main-navigation a::after,
.primary-menu a::before,
.primary-menu a::after,
.primary-menu > li > a::before,
.primary-menu > li > a::after {
    display: none !important;
    content: none !important;
}

/* Hide Join link in menu if it exists */
.primary-menu > li > a[href*="join"] {
    display: none;
}

/* Dropdown Menus */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #1B2838;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.primary-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    margin: 0;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
}

.primary-menu .sub-menu a:hover {
    color: #fff;
    background: rgba(201, 162, 39, 0.15);
}

/* Level 3+ submenus */
.primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    transform: translateX(10px);
}

.primary-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* CTA Button */
.nav-cta {
    display: inline-block;
    background: linear-gradient(135deg, #C9A227, #E8D48A);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
    transition: all 0.3s ease;
    margin-left: 0.75rem !important; /* Gap between menu items and CTA */
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.4);
    color: #fff !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFFFFF; /* White lines on dark header */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background: var(--gold-primary); /* Gold on hover */
}

.menu-toggle.active span {
    background: #FFFFFF; /* Keep white when menu open */
}

/* ============================================
   BUTTONS
   ============================================ */
.btn,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-primary,
input[type="submit"] {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: white;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover,
input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--navy-deep);
    border: 2px solid var(--navy-soft);
}

.btn-secondary:hover {
    background: var(--navy-deep);
    color: white;
    border-color: var(--navy-deep);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: white;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(74, 97, 120, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Flexbox for equal height cards */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--gold-light);
}

/* Clickable card wrapper */
a.card,
a.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.card:hover .card-title,
a.card-link-wrapper:hover .card-title {
    color: var(--gold-primary);
}

/* Read more indicator on cards */
.card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: auto;
    padding-top: 1rem;
    transition: gap 0.3s ease;
}

.card-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

a.card:hover .card-read-more,
a.card-link-wrapper:hover .card-read-more {
    gap: 0.75rem;
}

a.card:hover .card-read-more svg,
a.card-link-wrapper:hover .card-read-more svg {
    transform: translateX(4px);
}

.card-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--card-bg-dark), var(--card-bg-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.card-image .placeholder-icon {
    width: 60px;
    height: 60px;
}

.card-image .placeholder-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 255, 255, 0.7);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary);
    color: var(--navy-deep); /* Dark navy for better contrast instead of white */
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.card-content {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-dark);
    /* Flexbox for bottom-aligned links */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-category {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--gold-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-dark) !important;
    background: none !important;
}

.card-excerpt {
    color: var(--text-medium) !important;
    font-size: 0.9rem;
    line-height: 1.6;
    background: none !important;
    flex: 1; /* Fill remaining space to push link down */
}

.card-link {
    color: var(--gold-primary) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto; /* Push to bottom of flex container */
    padding-top: 1rem;
    transition: gap var(--transition-base);
    background: none !important;
    font-size: 0.9rem;
}

.card-link:hover {
    gap: 12px;
}

/* Arrow icons in links - constrain size */
.card-link svg,
.read-more svg,
.view-all svg,
.learn-more svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-label {
    display: inline-block;
    background: var(--gold-soft);
    color: #8B6914; /* Darker gold for better contrast (WCAG AA compliant) */
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Section subtitles on dark backgrounds need light text */
.section-dark .section-subtitle,
.news-section .section-subtitle,
.bg-dark .section-subtitle,
.bg-medium .section-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    transition: gap 0.3s ease;
}

.view-all-link:hover {
    gap: 12px;
    color: var(--gold-primary);
}

.view-all-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Section headers on dark backgrounds */
.about-timeline .section-header,
.about-leadership .section-header,
.about-hero .section-header,
.about-mission .section-header,
.about-contact .section-header,
.articles-section .section-header,
.featured-section .section-header {
    color: #fff;
}

.about-timeline .section-title,
.about-leadership .section-title,
.about-hero .section-title,
.about-mission .section-title,
.about-contact .section-title,
.articles-section .section-title,
.featured-section .section-title {
    color: #fff;
}

.about-timeline .section-label,
.about-leadership .section-label,
.about-hero .section-label,
.about-mission .section-label,
.about-contact .section-label,
.articles-section .section-label,
.featured-section .section-label {
    background: rgba(201, 162, 39, 0.25);
    color: var(--gold-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0a1628; /* Dark navy fallback */
}

/* Picture wrapper for responsive images */
.hero-video-container picture {
    display: contents;
}

/* Hero background video - fills entire hero */
.hero-background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 0;
}

/* Hero background image - fills entire hero like video background */
.hero-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: block;
}

/* Canvas overlay for rocket trails animation */
#twinkle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Above video (0), below overlays (2+) */
}

/* Responsive behavior: show video on desktop, image on mobile */
@media (max-width: 1024px) {
    .hero-background-video {
        display: none;
    }
    #twinkle {
        display: none;
    }
    .hero-background-image {
        display: block;
    }
}

@media (min-width: 1025px) {
    .hero-background-image {
        display: none;
    }
    .hero-background-video {
        display: block;
    }
}

/* Mobile: adjust hero height and positioning */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding: 15px 0 10px 0 !important;
    }

    .hero-content {
        padding-top: 20px !important;
        padding-bottom: 10px !important;
    }

    .hero-actions {
        margin-bottom: 0 !important;
    }

    .hero-background-image {
        object-position: center 40%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    z-index: 2; /* Above canvas, darkens image for text readability */
}

.video-protection-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    user-select: none;
}

.hero-content {
    position: relative;
    z-index: 10; /* Top layer for text and buttons */
    text-align: center;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero-title {
    color: #fff;
}

.hero-title span {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem auto 2rem;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.hero-actions .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-actions .btn-secondary {
    padding: 0.875rem 1.75rem;
}

.hero-actions .btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(74, 97, 120, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--gold-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--text-medium);
    font-weight: 500;
}

/* ============================================
   DATABASE GRID
   ============================================ */
.database-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

/* ============================================
   SHIELD EXPLAINER
   ============================================ */
.shield-explainer {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-medium));
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    border-radius: var(--radius-lg);
    max-width: 1100px;
    box-shadow: 0 10px 40px rgba(27, 40, 56, 0.3);
}

.shield-explainer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.shield-explainer h3 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.shield-explainer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
}

/* ============================================
   ALERTS/NEWS GRID
   ============================================ */
.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

/* ============================================
   DEFENDERS CAROUSEL
   ============================================ */
.defenders-carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.defenders-carousel-wrapper::before,
.defenders-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 10;
    pointer-events: none;
}

.defenders-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-medium), transparent);
}

.defenders-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-medium), transparent);
}

.defenders-carousel {
    display: flex;
    gap: 1.5rem;
    padding: 0 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.defenders-carousel::-webkit-scrollbar {
    display: none;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: none;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.carousel-prev {
    left: 1rem;
}

.carousel-prev svg {
    transform: rotate(180deg);
}

.carousel-next {
    right: 1rem;
}

.defenders-carousel-wrapper:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: var(--gold-light);
    transform: translateY(-80%) scale(1.1);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Year Marker Cards */
.defender-year-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 120px;
    height: 300px;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.defender-year-marker .year-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.defender-year-marker .year-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Year Navigation Buttons */
.carousel-year-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 20;
}

.year-dot {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-dot:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--gold-light);
    color: white;
    transform: translateY(-2px);
}

.year-dot.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.defender-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px;
    max-width: 280px;
    width: 280px;
    height: 300px;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.defender-card:hover {
    border-color: var(--gold-light);
    transform: scale(1.02);
    background: var(--bg-card-hover);
}

/* Clickable defender card */
a.defender-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.defender-card:hover h4 {
    color: var(--gold-primary);
}

.defender-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--card-bg-dark), var(--card-bg-light));
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold-light);
    overflow: hidden;
    flex-shrink: 0;
}

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

.defender-card h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    text-align: center;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.defender-card .year {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: auto;
}

.defender-card p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.5;
}

/* Report Cards */
.report-card {
    text-align: center;
    padding: 2rem;
}

.report-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.report-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--gold-primary);
}

.report-card h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.report-card p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy-deep);
    color: white;
    padding: clamp(3rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
}

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

.footer-brand {
    /* Spans first column on desktop */
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--gold-light);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   FORMS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: white;
    color: var(--text-dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

::placeholder {
    color: var(--text-light);
}

/* ============================================
   PAGE HEADER (Archive/Single pages)
   ============================================ */
.page-header {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
    background: linear-gradient(165deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1rem;
}

.page-header h1 span {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   SINGLE POST/CPT CONTENT
   ============================================ */
.single-content {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.single-content h1 {
    margin-bottom: 1.5rem;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.single-meta span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.entry-content th,
.entry-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-light);
}

.entry-content th {
    background: var(--bg-dark);
    font-weight: 600;
    color: #fff;
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

/* ============================================
   ARCHIVE GRID
   ============================================ */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    padding: clamp(2rem, 5vw, 4rem) 0;
    align-items: stretch; /* Equal height cards */
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a {
    background: var(--bg-card);
    color: var(--text-medium);
}

.pagination a:hover {
    background: var(--gold-primary);
    color: white;
}

.pagination .current {
    background: var(--gold-primary);
    color: white;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-wrapper a,
.pagination-wrapper span {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination-wrapper a {
    background: var(--bg-card);
    color: var(--text-medium);
    text-decoration: none;
}

.pagination-wrapper a:hover {
    background: var(--gold-primary);
    color: white;
}

.pagination-wrapper .current {
    background: var(--gold-primary);
    color: white;
}

/* ============================================
   FILTER BAR (News/Archive pages)
   ============================================ */
.filter-bar {
    background: var(--bg-card);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(74, 97, 120, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.admin-bar .filter-bar {
    top: 112px;
}

@media screen and (max-width: 782px) {
    .admin-bar .filter-bar {
        top: 126px;
    }
}

.filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* All filter tabs - base state */
.filter-tab {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

/* Inactive tabs - slate with WHITE text */
.filter-tab:not(.active) {
    background: var(--navy-soft) !important; /* #4A6178 */
    color: #FFFFFF !important;
}

.filter-tab:not(.active):hover {
    background: var(--navy-medium) !important;
    color: var(--gold-light) !important;
}

/* Active tab - SOLID GOLD with white text */
.filter-tab.active {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%) !important;
    color: #FFFFFF !important;
    font-weight: 600;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    min-width: 250px;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.9rem;
    color: #fff;
    width: 100%;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FEATURED ARTICLE SECTION
   ============================================ */
.featured-section {
    padding: clamp(3rem, 6vw, 4rem) 0;
    background: var(--bg-light);
}

.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.featured-image {
    height: 450px;
    background: linear-gradient(135deg, var(--card-bg-dark), var(--card-bg-light));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.featured-image svg {
    width: 80px;
    height: 80px;
    fill: rgba(255, 255, 255, 0.3);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.featured-content {
    padding: clamp(2rem, 5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-article.no-image {
    grid-template-columns: 1fr;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.featured-category {
    background: var(--gold-soft);
    color: var(--gold-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.featured-excerpt {
    color: var(--text-medium);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 15px;
    color: var(--gold-primary);
}

.read-more svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor;
}

/* ============================================
   ARTICLES GRID (News Page)
   ============================================ */
.articles-section {
    padding: clamp(3rem, 6vw, 4rem) 0;
    background: var(--bg-medium);
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.view-all {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.view-all:hover {
    gap: 12px;
    color: var(--gold-primary);
}

.view-all svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: stretch; /* Equal height cards */
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 97, 120, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Flexbox for equal height cards */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--gold-light);
}

.article-image-link {
    display: block;
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, var(--card-bg-dark), var(--card-bg-light));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.article-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.article-content {
    padding: 1.5rem;
    /* Flexbox for bottom-aligned content */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-category {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--gold-primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: var(--gold-primary);
}

.article-excerpt {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1; /* Fill remaining space */
}

/* ============================================
   TRIBUTES GRID
   ============================================ */
.tributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.tribute-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 97, 120, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.tribute-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--gold-light);
}

.tribute-image {
    display: block;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--card-bg-dark), var(--card-bg-light));
    overflow: hidden;
}

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

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

.tribute-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-soft), var(--navy-medium));
}

.tribute-placeholder svg {
    width: 60px;
    height: 60px;
    fill: rgba(255, 255, 255, 0.5);
}

.tribute-content {
    padding: 1.25rem;
}

.tribute-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.tribute-name a {
    color: inherit;
    text-decoration: none;
}

.tribute-name a:hover {
    color: var(--gold-primary);
}

/* ============================================
   MEMORIALS PAGE
   ============================================ */
.page-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.memorials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .memorials-grid {
        grid-template-columns: 1fr;
    }
}

.memorial-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.memorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.memorial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.memorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.memorial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(27, 40, 56, 0.95) 0%, rgba(27, 40, 56, 0.7) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.memorial-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.memorial-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.memorial-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.memorial-card:hover .memorial-link {
    gap: 0.75rem;
}

.memorial-card:hover .memorial-link svg {
    transform: translateX(4px);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: clamp(4rem, 8vw, 5rem) 0;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-medium));
}

.newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.newsletter-title span {
    color: var(--gold-light);
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    flex-shrink: 0; /* Don't let button shrink */
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.no-results h3 {
    margin-bottom: 1rem;
}

.no-results p {
    margin-bottom: 1.5rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* About Hero */
.about-hero {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(3rem, 6vw, 4rem);
    background: var(--bg-medium);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 1rem 0 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.about-hero-content h1 span {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.about-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.about-hero-image img,
.about-hero-image video {
    width: 100%;
    height: auto;
    display: block;
}

.about-hero-placeholder {
    height: 320px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.about-hero-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--gold-primary);
    opacity: 0.3;
}

.about-hero-placeholder span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* About Stats */
.about-stats {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: var(--bg-dark);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.about-stat-card {
    text-align: center;
    padding: clamp(1rem, 2vw, 1.5rem);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
}

.about-stat-label {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: var(--text-medium);
    margin-top: 0.5rem;
}

/* Mission Section */
.about-mission {
    padding: clamp(4rem, 8vw, 5rem) 0;
    background: var(--bg-light);
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 4rem);
}

.about-mission-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 1rem 0 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.about-mission-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.about-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.15);
}

.mission-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-card-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--gold-primary);
}

.mission-card-text h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mission-card-text p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
}

/* Timeline Section */
.about-timeline {
    padding: clamp(4rem, 8vw, 5rem) 0;
    background: var(--bg-medium);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(201, 162, 39, 0.3);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-left,
.timeline-right {
    width: calc(50% - 40px);
}

.timeline-left {
    text-align: right;
    padding-right: 40px;
}

.timeline-right {
    padding-left: 40px;
    margin-left: auto;
}

.timeline-year span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.timeline-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.15);
}

.timeline-card h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
}

/* --- Timeline Carousel --- */
.timeline-carousel{display:flex;align-items:flex-start;gap:.75rem;margin-top:3rem}
.tl-btn{flex-shrink:0;width:42px;height:42px;border-radius:50%;background:rgba(201,162,39,.12);border:1px solid rgba(201,162,39,.4);color:var(--gold-primary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease,opacity .2s ease;padding:0;margin-top:3.5rem}
.tl-btn:hover:not(:disabled){background:rgba(201,162,39,.28)}
.tl-btn:disabled{opacity:.3;cursor:default}
.tl-track-wrapper{flex:1;overflow:hidden}
.tl-track{display:flex;gap:1.5rem;transition:transform .4s cubic-bezier(.4,0,.2,1)}
.tl-item{flex-shrink:0;display:flex;flex-direction:column;align-items:center}
.tl-year{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:700;color:var(--gold-primary);margin-bottom:.75rem;text-align:center}
.tl-node{width:100%;position:relative;height:16px;margin-bottom:.75rem}
.tl-node::before{content:'';position:absolute;left:0;right:0;top:50%;height:2px;background:rgba(201,162,39,.3);transform:translateY(-50%)}
.tl-node::after{content:'';width:14px;height:14px;background:var(--gold-primary);border-radius:50%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2}
.tl-card{background:var(--bg-card);padding:1.25rem;border-radius:var(--radius-lg);border:1px solid rgba(201,162,39,.2);box-shadow:0 4px 15px rgba(0,0,0,.05);transition:all .3s ease;width:100%}
.tl-card:hover{transform:translateY(-4px);box-shadow:0 10px 40px rgba(201,162,39,.15)}
.tl-card h3{font-family:'Libre Franklin',sans-serif;font-size:1rem;font-weight:700;margin-bottom:.5rem;color:var(--text-dark)}
.tl-card p{font-size:.875rem;color:var(--text-medium);margin:0;line-height:1.5}

/* Leadership Section */
.about-leadership {
    padding: clamp(4rem, 8vw, 5rem) 0;
    background: var(--bg-dark);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
}

.leader-card {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.15);
}

.leader-image {
    width: clamp(80px, 15vw, 100px);
    height: clamp(80px, 15vw, 100px);
    margin: 0 auto 1rem;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.leader-image svg {
    width: 50%;
    height: 50%;
    fill: var(--gold-primary);
}

.leader-card h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.leader-title {
    font-size: clamp(0.75rem, 1.25vw, 0.9rem);
    color: var(--text-medium);
}

.leadership-cta {
    text-align: center;
}

/* Contact Section */
.about-contact {
    padding: clamp(4rem, 8vw, 5rem) 0;
    background: var(--bg-light);
}

.about-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 4rem);
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 1rem 0 1.5rem;
    color: #fff;
}

.contact-info > p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--gold-primary);
}

.contact-item h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.contact-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-item a {
    color: var(--gold-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: white;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* ============================================
   GENERIC PAGE CONTENT
   ============================================ */
.page-content {
    padding: clamp(3rem, 6vw, 4rem) 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-height: 500px;
}

.page-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Ensure page content wrapper has proper structure */
.page-content .content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Prevent any full-viewport images on pages */
.page-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

/* WordPress block images */
.entry-content .wp-block-image {
    margin: 2rem 0;
}

.entry-content .wp-block-image img {
    border-radius: var(--radius-md);
}

/* Entry content typography */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--gold-primary);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content a {
    color: var(--gold-primary);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--navy-deep);
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.entry-content th,
.entry-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-light);
}

.entry-content th {
    background: var(--bg-dark);
    font-weight: 600;
    color: #fff;
}

.entry-content hr {
    border: none;
    height: 1px;
    background: var(--bg-dark);
    margin: 3rem 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet - Hide nav, show hamburger */
@media (max-width: 1024px) {
    /* Header layout: [LOGO] -------- [HAMBURGER] */
    .site-header .header-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        flex-wrap: nowrap;
        position: relative;
    }

    .site-header .site-logo {
        flex: 0 0 auto;
    }

    .site-header .main-navigation,
    .site-header .nav-cta,
    .site-header .primary-menu {
        display: none !important; /* Hidden on mobile, shown in overlay */
    }

    .site-header .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        flex: 0 0 auto;
        /* Position absolute fallback to guarantee right alignment */
        position: absolute !important;
        right: 1rem !important;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Footer - 2 column layout on tablet */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1; /* Full width */
        margin-bottom: 1rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-brand img {
        height: 45px;
        margin-bottom: 0.875rem;
    }

    .footer-brand p {
        font-size: 0.875rem;
        max-width: 600px;
    }

    .site-footer h4 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    /* Featured article - stack on tablet */
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    /* Articles grid - 2 columns on tablet */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About page tablet */
    .about-hero-grid,
    .about-mission-grid,
    .about-contact-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 1rem;
    }

    /* Footer - Single column stack on mobile */
    .site-footer {
        padding: 2.5rem 0 1.5rem;
    }

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

    .footer-brand {
        grid-column: 1;
        margin-bottom: 0.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-brand img {
        height: 40px;
        margin-bottom: 0.75rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .site-footer h4 {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
        color: var(--gold-primary);
    }

    .footer-links {
        margin-bottom: 0;
    }

    .footer-links li {
        margin-bottom: 0.4rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-col {
        padding: 0;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 0.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .hero-actions .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

    /* Filter bar mobile */
    .filter-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
    }

    .search-box {
        width: 100%;
        min-width: auto;
    }

    /* Articles grid - single column on mobile */
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Section header row stack */
    .section-header-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Newsletter form stack */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    /* About page mobile */
    .about-hero-content {
        text-align: center;
    }

    /* Timeline Carousel - mobile */
    .tl-btn{width:36px;height:36px;margin-top:3rem}

    /* Form row stack */
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-logo img,
    .site-logo .custom-logo {
        height: 40px;
    }

    /* Footer - Extra compact on small mobile */
    .site-footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        padding-bottom: 1.25rem;
    }

    .footer-brand img {
        height: 36px;
        margin-bottom: 0.625rem;
    }

    .footer-brand p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .site-footer h4 {
        font-size: 0.825rem;
        margin-bottom: 0.75rem;
    }

    .footer-links li {
        margin-bottom: 0.35rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding-top: 1.25rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Filter tabs wrap better */
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Featured content padding */
    .featured-content {
        padding: 1.5rem;
    }

    .featured-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: var(--radius-md);
}

/* Gravity Forms Styling */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea {
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    border-radius: var(--radius-md) !important;
}

.gform_wrapper input[type="submit"] {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light)) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
}

/* GeneratePress Override - Force Full Width Sections */
.site-content,
.content-area,
.site-main,
#page,
#content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.inside-article,
.entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

body.home .site-content {
    display: block !important;
}

/* Hide GeneratePress page header on front page */
body.home .page-header {
    display: none;
}

/* Fix GeneratePress column layout on archives */
.site-content {
    display: block !important;
}
.content-area {
    width: 100% !important;
    float: none !important;
}
#primary {
    width: 100% !important;
}
.sidebar {
    display: none;
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 40, 56, 0.98); /* Dark navy background */
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.mobile-menu-header .site-logo img {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #FFFFFF; /* White close button */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-primary);
}

.mobile-nav {
    padding: 1.5rem clamp(1rem, 3vw, 2rem);
}

.mobile-nav .mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav .mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .mobile-menu > li > a {
    display: block;
    padding: 1rem 0;
    color: #FFFFFF; /* White text on dark background */
    font-size: 1.1rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.mobile-nav .mobile-menu > li > a:hover,
.mobile-nav .mobile-menu > li.current-menu-item > a {
    color: var(--gold-primary); /* Gold on hover/active */
}

/* No decorations on mobile menu */
.mobile-nav a::before,
.mobile-nav a::after,
.mobile-menu a::before,
.mobile-menu a::after {
    display: none !important;
    content: none !important;
}

.mobile-nav .sub-menu {
    list-style: none;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
    display: none;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* Show submenu when parent has submenu-open class */
.mobile-nav .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
}

/* Parent items with children - flex layout for arrow */
.mobile-nav .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Arrow indicator */
.mobile-nav .menu-item-has-children > a::after {
    content: '+' !important;
    display: inline-block !important;
    font-size: 1.4rem;
    font-weight: 300;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    color: var(--gold-primary);
}

/* Change to minus when open */
.mobile-nav .menu-item-has-children.submenu-open > a::after {
    content: '−' !important;
}

.mobile-nav .sub-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav .sub-menu li:last-child a {
    border-bottom: none;
}

.mobile-nav .sub-menu a:hover {
    color: var(--gold-primary);
}

/* Nested submenus (3rd level) */
.mobile-nav .sub-menu .sub-menu {
    padding-left: 1rem;
    background: rgba(0, 0, 0, 0.1);
}

.mobile-nav .sub-menu .sub-menu a {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

.mobile-nav-cta {
    display: block;
    background: var(--gold-primary);
    color: #1B2838 !important; /* Dark text on gold button */
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
    transition: all var(--transition-base);
}

.mobile-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.4);
    background: var(--gold-light);
    color: #1B2838 !important;
}

/* ============================================
   MEMBERSHIP PAGE STYLES
   ============================================ */

.membership-header {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.membership-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

.membership-header .page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.membership-page {
    padding: 60px 0;
}

.membership-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.membership-intro p {
    color: #F0F3F6;
    opacity: 1;
}

.membership-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tier-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tier-card.featured {
    border: 3px solid var(--gold-primary);
    transform: scale(1.05);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-primary);
    color: var(--navy-deep);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.tier-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.price-period {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.tier-price-alt {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-top: 8px;
}

.tier-description {
    margin-bottom: 24px;
    color: var(--text-medium);
    line-height: 1.6;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.tier-features li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.tier-cta {
    margin-top: auto;
}

.tier-cta .btn,
.tier-cta a {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--navy-deep);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.tier-cta .btn:hover,
.tier-cta a:hover {
    background: var(--gold-primary);
    color: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.tier-card.featured .tier-cta .btn,
.tier-card.featured .tier-cta a {
    background: var(--gold-primary);
    color: var(--navy-deep);
}

.tier-card.featured .tier-cta .btn:hover,
.tier-card.featured .tier-cta a:hover {
    background: var(--navy-deep);
    color: white;
}

.membership-faq {
    max-width: 900px;
    margin: 60px auto 0;
    padding-top: 60px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.membership-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-deep);
    margin-bottom: 40px;
}

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--navy-deep);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

/* PMS Form Styling */
.pms-form {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pms-form label {
    color: var(--navy-deep);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.pms-form input[type="text"],
.pms-form input[type="email"],
.pms-form input[type="password"],
.pms-form select,
.pms-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: white;
}

.pms-form input:focus,
.pms-form select:focus,
.pms-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.pms-form input[type="submit"],
.pms-form button[type="submit"] {
    background: var(--gold-primary);
    color: var(--navy-deep);
    border: none;
    padding: 14px 40px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.pms-form input[type="submit"]:hover,
.pms-form button[type="submit"]:hover {
    background: var(--navy-deep);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pms-subscription-plans {
    margin: 20px 0;
}

.pms-subscription-plan {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pms-subscription-plan:hover,
.pms-subscription-plan.selected {
    border-color: var(--gold-primary);
    background: rgba(201, 162, 39, 0.05);
}
#pms_login .login-extra{margin-top:1rem;text-align:center}#pms_login .login-extra a.register,#pms_login .login-extra a.lostpassword{color:var(--navy-soft);font-size:.9rem;text-decoration:none;transition:color var(--transition-fast)}#pms_login .login-extra a.register:hover,#pms_login .login-extra a.lostpassword:hover{color:var(--gold-primary);text-decoration:underline}#pms_login .login-extra .separator{color:var(--navy-soft);margin:0 .5rem;opacity:.5}

/* ============================================
   DONATE PAGE STYLES
   ============================================ */

.donate-header {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.donate-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

.donate-header .page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.donate-page {
    padding: 60px 0;
}

.donate-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.donate-intro h2 {
    font-size: 2.5rem;
    color: var(--navy-deep);
    margin-bottom: 20px;
}

.donate-intro p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
}

.donate-impact-list {
    text-align: left;
    max-width: 700px;
    margin: 30px auto;
    list-style: none;
    padding: 0;
}

.donate-impact-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.donate-impact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.donation-form-wrapper {
    max-width: 700px;
    margin: 50px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.donation-benefits {
    max-width: 1200px;
    margin: 80px auto 0;
    padding-top: 60px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.donation-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy-deep);
    margin-bottom: 50px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.impact-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.impact-item h3 {
    color: var(--navy-deep);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.impact-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--navy-deep);
    font-weight: 600;
}

/* GiveWP Form Styling */
.give-form {
    background: white;
}

.give-form label {
    color: var(--navy-deep);
    font-weight: 600;
}

.give-form input[type="text"],
.give-form input[type="email"],
.give-form input[type="tel"],
.give-form select,
.give-form textarea {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: all var(--transition-fast);
}

.give-form input:focus,
.give-form select:focus,
.give-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.give-btn {
    background: var(--gold-primary) !important;
    color: var(--navy-deep) !important;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    cursor: pointer !important;
    transition: all var(--transition-base) !important;
}

.give-btn:hover {
    background: var(--navy-deep) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.give-donation-levels-wrap button {
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: white;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    transition: all var(--transition-fast);
}

.give-donation-levels-wrap button:hover,
.give-donation-levels-wrap button.give-default-level {
    border-color: var(--gold-primary);
    background: rgba(201, 162, 39, 0.1);
    color: var(--navy-deep);
}

/* Responsive Design */
@media (max-width: 768px) {
    .membership-header .page-title,
    .donate-header .page-title {
        font-size: 2rem;
    }

    .membership-header .page-subtitle,
    .donate-header .page-subtitle {
        font-size: 1rem;
    }

    .membership-tiers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tier-card.featured {
        transform: scale(1);
    }

    .tier-card.featured:hover {
        transform: translateY(-5px);
    }

    .donation-form-wrapper {
        padding: 24px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   JOIN PAGE STYLES
   ============================================ */

.join-header {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.join-header .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

.join-header .page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.join-page {
    padding: 60px 0;
}

.selected-plan-summary {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--bg-card);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.15);
}

.plan-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.plan-summary-header h2 {
    font-size: 1.5rem;
    color: var(--navy-deep);
    margin: 0;
}

.plan-summary-header .plan-name {
    color: var(--gold-primary);
}

.plan-summary-header .plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-deep);
}

.plan-summary-details {
    margin-bottom: 20px;
}

.plan-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.6;
}

.plan-features-compact {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.plan-features-compact strong {
    color: var(--navy-deep);
    margin-right: 8px;
}

.plan-summary-actions {
    text-align: right;
}

.btn-change-plan {
    display: inline-block;
    color: var(--navy-deep);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-change-plan:hover {
    color: var(--gold-primary);
    background: rgba(201, 162, 39, 0.1);
}

.registration-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.registration-form-wrapper h3 {
    font-size: 1.75rem;
    color: var(--navy-deep);
    margin-bottom: 24px;
    text-align: center;
}

.no-plan-selected {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    background: var(--bg-card);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-plan-selected h2 {
    font-size: 2rem;
    color: var(--navy-deep);
    margin-bottom: 16px;
}

.no-plan-selected p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.no-plan-selected .btn {
    display: inline-block;
    background: var(--gold-primary);
    color: var(--navy-deep);
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all var(--transition-base);
}

.no-plan-selected .btn:hover {
    background: var(--navy-deep);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Update tier CTA button styling */
.btn-tier {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--navy-deep);
    color: white !important;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-tier:hover {
    background: var(--gold-primary);
    color: var(--navy-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.tier-card.featured .btn-tier {
    background: var(--gold-primary);
    color: var(--navy-deep) !important;
}

.tier-card.featured .btn-tier:hover {
    background: var(--navy-deep);
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .join-header .page-title {
        font-size: 1.75rem;
    }

    .selected-plan-summary {
        padding: 24px;
    }

    .plan-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .plan-summary-header .plan-price {
        font-size: 1.25rem;
    }

    .registration-form-wrapper {
        padding: 24px;
    }

    .no-plan-selected {
        padding: 40px 24px;
    }
}

/* Show video on desktop, static image on mobile */
.about-hero-image .about-hero-mobile-img{display:none}.about-hero-image .about-hero-video{display:block}@media(max-width:1024px){.about-hero-image .about-hero-video{display:none}.about-hero-image .about-hero-mobile-img{display:block}}

/* Header Search */
.search-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;padding:8px!important;background:none!important;border:none!important;border-radius:50%!important;cursor:pointer;color:rgba(255,255,255,.9);flex-shrink:0;transition:color .3s ease,background .3s ease;box-shadow:none!important;margin-left:.5rem}.search-toggle:hover{color:var(--gold-primary);background:rgba(201,162,39,.1)!important;transform:none!important}.search-toggle svg{width:20px;height:20px;flex-shrink:0}.header-search-panel{position:fixed;top:80px;left:0;width:100%;background:rgba(27,40,56,.97);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(201,162,39,.3);box-shadow:0 8px 30px rgba(0,0,0,.3);z-index:999;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}.admin-bar .header-search-panel{top:112px}@media screen and (max-width:782px){.admin-bar .header-search-panel{top:126px}}.header-search-panel.active{opacity:1;visibility:visible;transform:translateY(0);transition:opacity .25s ease,transform .25s ease,visibility 0s linear 0s}.search-panel-inner{max-width:700px;margin:0 auto;padding:1.25rem clamp(1rem,3vw,2rem)}.header-search-panel form{display:flex;gap:.75rem;align-items:center}.header-search-panel input[type=search]{flex:1!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(201,162,39,.4)!important;border-radius:var(--radius-full)!important;color:#fff!important;font-family:'Libre Franklin',sans-serif;font-size:1rem!important;padding:.75rem 1.25rem!important;outline:none!important;box-shadow:none!important;transition:border-color .2s ease,background .2s ease;height:auto!important;min-height:0!important;width:auto!important;display:block}.header-search-panel input[type=search]::placeholder{color:rgba(255,255,255,.4)}.header-search-panel input[type=search]:focus{border-color:var(--gold-primary)!important;background:rgba(255,255,255,.12)!important}.header-search-panel input[type=search]::-webkit-search-cancel-button{filter:invert(1);cursor:pointer}.header-search-panel button[type=submit]{background:linear-gradient(135deg,var(--gold-primary),var(--gold-light))!important;color:#1B2838!important;border:none!important;border-radius:var(--radius-full)!important;padding:.75rem 1.5rem!important;font-size:.875rem!important;font-weight:600!important;cursor:pointer;transition:box-shadow .2s ease,transform .2s ease;white-space:nowrap;flex-shrink:0;box-shadow:0 3px 12px rgba(201,162,39,.3)!important}.header-search-panel button[type=submit]:hover{box-shadow:0 5px 20px rgba(201,162,39,.45)!important;transform:translateY(-1px)!important}.search-backdrop{position:fixed;inset:0;top:80px;background:rgba(0,0,0,.5);z-index:998;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s;cursor:pointer}.admin-bar .search-backdrop{top:112px}@media screen and (max-width:782px){.admin-bar .search-backdrop{top:126px}}.search-backdrop.active{opacity:1;visibility:visible;transition:opacity .25s ease,visibility 0s linear 0s}@media (max-width:1024px){.search-toggle{position:absolute!important;right:3.75rem!important;top:50%!important;transform:translateY(-50%)!important;margin-left:0!important}.search-toggle:hover{transform:translateY(-50%)!important}}
/* Breadcrumb contrast fix */#breadcrumbs,#breadcrumbs a{color:#f0f0f0!important}#breadcrumbs a:hover{color:#fff!important}
