/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://yourwebsite.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra with Automuseums Brand Design System
Author: Synergy Marketing
Author URI: mailto:info@synergymarekting.mk
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

@import url("../astra/style.css");

/* ============================================
   AUTOMUSEUMS BRAND SYSTEM INTEGRATION
   ============================================
   
   This file integrates the Automuseums brand design system
   with the Astra parent theme. The main styling is handled
   by the dedicated CSS files in /assets/css/:
   
   - museum-variables.css: Brand color system & design tokens
   - museum-template.css: Component framework & utilities
   
   This file contains only theme-specific overrides and
   integration styles to ensure proper compatibility.
   ========================================= */

/* Theme Integration Overrides */
/* Updated: January 2026 - Design Agent brand standards */
.automuseums-brand {
    /* Ensure our brand fonts take precedence - Inter throughout */
    font-family: var(--am-font-body, 'Inter', system-ui, -apple-system, sans-serif) !important;
}

.automuseums-brand h1,
.automuseums-brand h2,
.automuseums-brand h3,
.automuseums-brand h4,
.automuseums-brand h5,
.automuseums-brand h6 {
    /* Ensure heading font takes precedence over theme defaults */
    font-family: var(--am-font-heading, 'Inter', system-ui, -apple-system, sans-serif) !important;
    color: #ffffff;
}

/* Astra Theme Compatibility */
.ast-container {
    /* Allow full-width hero sections */
    max-width: none;
}

.single-museum .site-content {
    /* Remove default padding for full-width hero */
    padding: 0;
}

.single-museum #primary {
    /* Ensure proper spacing for museum content */
    padding: 0;
}

/* Override Astra's default link colors in museum content */
.museum-content a {
    color: var(--am-brand-blue, #2563EB) !important;
}

.museum-content a:hover {
    color: var(--am-brand-blue-dark, #1D4ED8) !important;
}

/* Ensure proper button styling overrides */
.museum-cta,
.museum-btn {
    /* Override any theme button styles */
    background-color: var(--am-brand-blue, #2563EB) !important;
    border-color: var(--am-brand-blue, #2563EB) !important;
    color: #ffffff !important;
}

.museum-cta:hover,
.museum-btn:hover {
    background-color: var(--am-brand-blue-dark, #1D4ED8) !important;
    border-color: var(--am-brand-blue-dark, #1D4ED8) !important;
    color: #ffffff !important;
}

/* Ensure proper section background */
.automuseums-brand .museum-section {
    background-color: var(--am-white, #FFFFFF) !important;
    border-left-color: var(--am-brand-blue, #2563EB) !important;
}

/* Legacy Support Styles */
/* These styles maintain compatibility with any existing museum posts */
.museum-single:not(.automuseums-brand) {
    /* Keep existing styling for non-branded museum posts */
    max-width: 100%;
}

.museum-single:not(.automuseums-brand) .museum-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.museum-single:not(.automuseums-brand) .museum-section {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

/* Print Styles Override */
@media print {
    .automuseums-brand {
        background: white !important;
        color: black !important;
    }
    
    .museum-section {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .automuseums-brand .museum-section {
        border-width: 3px !important;
    }
    
    .museum-cta,
    .museum-btn {
        border-width: 3px !important;
    }
}

/* Focus Improvements for Theme Integration */
.museum-cta:focus,
.museum-btn:focus,
.social-link:focus,
.map-nav-link:focus {
    outline: 3px solid var(--am-heritage-blue, #1F3A60) !important;
    outline-offset: 2px !important;
}

/* Ensure proper z-index layering with theme elements */
.museum-hero {
    position: relative;
    z-index: 1;
}

.museum-navigation {
    position: relative;
    z-index: 2;
}

/* Loading States for Better UX */
.museum-section.loading {
    opacity: 0.7;
    pointer-events: none;
}

.museum-section.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--am-steel-gray-light, #7A7A7A);
    border-top: 2px solid var(--am-heritage-blue, #1F3A60);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State Styling */
.museum-error {
    background-color: #fef2f2 !important;
    border-left-color: var(--am-error, #dc2626) !important;
    color: #991b1b !important;
}

/* Success State Styling */
.museum-success {
    background-color: #f0fdf4 !important;
    border-left-color: var(--am-success, #16a34a) !important;
    color: #166534 !important;
}

/* Ensure proper mobile responsiveness */
@media (max-width: 768px) {
    .single-museum .ast-container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .museum-hero {
        margin-left: -20px;
        margin-right: -20px;
    }
}

/* Custom Scrollbar for WebKit browsers */
.automuseums-brand ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.automuseums-brand ::-webkit-scrollbar-track {
    background: var(--am-ivory-white, #F7F7F5);
}

.automuseums-brand ::-webkit-scrollbar-thumb {
    background: var(--am-steel-gray-light, #7A7A7A);
    border-radius: 4px;
}

.automuseums-brand ::-webkit-scrollbar-thumb:hover {
    background: var(--am-heritage-blue, #1F3A60);
}

/* ============================================
   SEARCH RESULTS PAGE STYLES
   ============================================ */

/* Search Context Header */
.search-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.search-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--am-heritage-blue, #1F3A60);
}

.search-header h1 span {
    color: var(--am-engine-red, #C4312A);
    font-weight: 600;
}

.search-header .result-count {
    color: var(--am-steel-gray, #4A4A4A);
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .search-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .search-header h1 {
        font-size: 1.5rem;
    }

    .search-header .result-count {
        font-size: 0.875rem;
    }
}

/* ============================================================================
   Active Filters Display - Search Results
   ========================================================================== */

.active-filters {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.active-filters .label {
	font-weight: 600;
	color: #333;
	font-size: 0.9rem;
}

.filter-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.filter-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background: white;
	border: 1px solid #ddd;
	border-radius: 20px;
	font-size: 0.9rem;
}

.filter-badge .filter-icon {
	font-size: 1rem;
	line-height: 1;
}

.filter-badge .filter-name {
	font-weight: 500;
	color: #333;
}

.filter-badge .remove-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: #dc3545;
	color: white;
	border-radius: 50%;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	line-height: 1;
	transition: background 0.2s;
}

.filter-badge .remove-filter:hover {
	background: #c82333;
}

.clear-all-filters {
	margin-left: auto;
	padding: 0.5rem 1rem;
	background: #6c757d;
	color: white;
	text-decoration: none;
	border-radius: 20px;
	font-size: 0.9rem;
	transition: background 0.2s;
}

.clear-all-filters:hover {
	background: #5a6268;
	color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.active-filters {
		flex-direction: column;
		align-items: flex-start;
	}

	.clear-all-filters {
		margin-left: 0;
		width: 100%;
		text-align: center;
	}
}

/* ============================================================================
   Footer Styling
   ========================================================================== */

footer.site-footer,
footer#colophon,
#colophon.site-footer {
	background-color: #1F3A60 !important;
	background: #1F3A60 !important;
	color: #ffffff !important;
}

footer.site-footer *,
footer#colophon *,
#colophon.site-footer * {
	color: #ffffff !important;
}

footer.site-footer a,
footer#colophon a,
#colophon.site-footer a {
	color: #ffffff !important;
}

footer.site-footer a:hover,
footer#colophon a:hover,
#colophon.site-footer a:hover {
	color: #e0e0e0 !important;
	text-decoration: underline;
}

footer.site-footer h1,
footer.site-footer h2,
footer.site-footer h3,
footer.site-footer h4,
footer.site-footer h5,
footer.site-footer h6,
footer#colophon h1,
footer#colophon h2,
footer#colophon h3,
footer#colophon h4,
footer#colophon h5,
footer#colophon h6 {
	color: #ffffff !important;
}

footer.site-footer p,
footer.site-footer ul,
footer.site-footer li,
footer.site-footer div,
footer.site-footer span,
footer#colophon p,
footer#colophon ul,
footer#colophon li,
footer#colophon div,
footer#colophon span {
	color: #ffffff !important;
}

/* ============================================
   FIVA Museum Hero Section Styles
   ============================================ */

/* Hero Container */
.fiva-hero-centered {
    position: relative;
    width: 100%;
    height: 85vh; /* Viewport height */
    min-height: 600px;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #136F3A;
    margin-top: 0 !important;
}

/* Gold separator between header and hero */
.fiva-hero-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #C4AA5E 15%,
        #D4BA6E 50%,
        #C4AA5E 85%,
        transparent 100%
    );
    z-index: 10;
    box-shadow: 0 2px 8px rgba(196, 170, 94, 0.5);
}

/* FIVA Green Overlay (30-35% opacity) - Covers full hero */
.fiva-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(19, 111, 58, 0.3) 0%,      /* FIVA Green 30% */
        rgba(19, 111, 58, 0.35) 100%    /* FIVA Green 35% */
    );
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
}

/* Fallback for no featured image */
.fiva-hero-centered:not([style*="background-image"]) {
    background: linear-gradient(180deg, #136F3A 0%, #2C3E50 100%);
}

.fiva-hero-centered:not([style*="background-image"]) .fiva-hero-overlay {
    background: none;
}

/* Hero Content Container - Full height with padding for contact bar overlay */
.fiva-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* Use full hero height */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 2rem 160px 2rem; /* Bottom padding for contact bar overlay */
    color: #FFFFFF;
}

/* ============================================
   FIVA Logo
   ============================================ */

.fiva-logo-container {
    margin-bottom: 1rem;
    flex-shrink: 0; /* Don't shrink the logo */
}

.fiva-logo {
    width: 160px; /* Slightly smaller to ensure it fits */
    height: auto;
    animation: fivaLogoFloat 3s ease-in-out infinite;
}

@keyframes fivaLogoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   FIVA Certification Badge
   ============================================ */

.fiva-certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* 8px */
    background: #C4AA5E; /* FIVA Gold */
    color: #136F3A; /* FIVA Green */
    padding: 0.5rem 2rem; /* 8px 32px - 8px grid */
    border-radius: 50px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem; /* Reduced from 2rem */
    box-shadow: 0 4px 15px rgba(196, 170, 94, 0.4);
    flex-shrink: 0; /* Don't shrink the badge */
}

.badge-icon {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
}

/* ============================================
   Museum Title & Info
   ============================================ */

.fiva-museum-title {
    font-family: Arial Black, Arial, sans-serif;
    font-size: clamp(1.75rem, 4vw + 0.5rem, 4rem); /* Reduced from 8rem max - better for all viewports */
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 1rem 0; /* Reduced from 1.5rem */
    line-height: 1.05;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fiva-museum-native-name {
    font-family: Arial, sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem; /* 16px - 8px grid */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Location Details
   ============================================ */

.fiva-location-details {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.5rem; /* 8px - 8px grid */
    flex-wrap: wrap;
}

.fiva-location-address {
    font-family: Arial, sans-serif;
    font-size: 1.125rem;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.fiva-location-address i {
    margin-right: 0.5rem;
    color: #C4AA5E;
}

.fiva-location-city-country {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.fiva-location-city-country::before {
    content: "\2022";
    margin-right: 0.5rem; /* 8px - 8px grid */
    color: #C4AA5E;
}

/* ============================================
   Vehicle Type Tags
   ============================================ */

.fiva-vehicle-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem; /* 8px */
    margin-top: 1.5rem; /* 24px - 8px grid */
}

.fiva-vehicle-tag,
.fiva-vehicle-tag:link,
.fiva-vehicle-tag:visited {
    display: inline-block;
    padding: 0.5rem 1.5rem; /* 8px 24px - 8px grid */
    background: #136F3A;
    border: 2px solid #C4AA5E;
    border-radius: 50px;
    font-family: Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: capitalize;
    transition: all 0.2s ease;
}

.fiva-vehicle-tag:hover,
.fiva-vehicle-tag:active {
    background: #C4AA5E;
    color: #136F3A !important;
    border-color: #C4AA5E;
    transform: translateY(-2px);
    text-decoration: none !important;
}

.fiva-vehicle-tag:focus {
    outline: 3px solid #C4AA5E;
    outline-offset: 2px;
}

/* ============================================
   CTA Buttons
   ============================================ */

.fiva-btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Primary Button: Visit Website */
.fiva-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #C4AA5E, #D4BA6E);
    color: #136F3A;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 170, 94, 0.3);
}

.fiva-btn-primary:hover {
    background: linear-gradient(135deg, #D4BA6E, #E4CA7E);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 170, 94, 0.4);
    text-decoration: none;
}

.fiva-btn-primary:focus {
    outline: 3px solid #C4AA5E;
    outline-offset: 3px;
}

/* Secondary Button: Add to Travel Plan */
.fiva-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #C4AA5E;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fiva-btn-secondary:hover {
    background: #C4AA5E;
    color: #136F3A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 170, 94, 0.3);
}

.fiva-btn-secondary:focus {
    outline: 3px solid #C4AA5E;
    outline-offset: 3px;
}

/* Button Added State */
.fiva-btn-secondary.is-added {
    background: #136F3A;
    border-color: #136F3A;
    color: #FFFFFF;
    cursor: not-allowed;
}

.fiva-btn-secondary.is-added:hover {
    transform: none;
    box-shadow: none;
}

/* Button Icon */
.btn-icon {
    line-height: 1;
    display: inline-block;
}

/* ============================================
   Scroll Indicator
   ============================================ */

.fiva-scroll-indicator {
    text-align: center;
    padding: 1rem 0;
    color: #C4AA5E;
    animation: fivaScrollBounce 2s ease-in-out infinite;
}

@keyframes fivaScrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.fiva-scroll-indicator svg {
    display: inline-block;
}

/* ============================================
   Contact Bar (Glassmorphism Overlay)
   ============================================ */

.fiva-contact-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 140px;
    padding: 1.5rem 0 1rem 0;
    /* Glassmorphism: Gradient from transparent to frosted green */
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(19, 111, 58, 0.4) 20%,
        rgba(19, 111, 58, 0.75) 50%,
        rgba(15, 90, 46, 0.9) 100%
    );
    /* Frosted glass blur effect */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Subtle top border with glow */
    border-top: 1px solid rgba(196, 170, 94, 0.5);
    box-shadow:
        0 -10px 40px rgba(19, 111, 58, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.fiva-contact-bar-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 0 2rem;
}

.fiva-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.fiva-contact-item:link,
.fiva-contact-item:visited,
.fiva-contact-item:hover,
.fiva-contact-item:active {
    text-decoration: none !important;
}

.fiva-contact-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.fiva-contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #136F3A; /* FIVA Green */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 111, 58, 0.3);
}

/* Ensure Font Awesome icons render correctly */
.fiva-contact-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
    font-weight: 900; /* Solid icons (fas) require 900 */
    font-style: normal;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fiva-contact-item:hover .fiva-contact-icon {
    background: #C4AA5E; /* FIVA Gold on hover */
    box-shadow: 0 6px 20px rgba(196, 170, 94, 0.4);
    transform: scale(1.1);
}

.fiva-contact-label {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fiva-contact-item:link .fiva-contact-label,
.fiva-contact-item:visited .fiva-contact-label,
.fiva-contact-item:hover .fiva-contact-label,
.fiva-contact-item:active .fiva-contact-label {
    text-decoration: none;
}

.fiva-contact-item:hover .fiva-contact-label {
    color: #C4AA5E;
}

/* Social Media Dropdown */
.fiva-contact-social {
    cursor: pointer;
}

.fiva-social-links {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid #136F3A;
}

.fiva-contact-social:hover .fiva-social-links {
    opacity: 1;
    visibility: visible;
    top: -80px;
}

.fiva-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #136F3A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Ensure Font Awesome brand icons render correctly */
.fiva-social-link i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free";
    font-weight: 400; /* Brand icons (fab) require 400 */
    font-style: normal;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fiva-social-link:hover {
    background: #C4AA5E;
    transform: scale(1.1);
}

/* Focus States for Accessibility */
.fiva-contact-item:focus {
    outline: 3px solid #C4AA5E;
    outline-offset: 4px;
    border-radius: 8px;
}

.fiva-social-link:focus {
    outline: 3px solid #C4AA5E;
    outline-offset: 2px;
}

/* ============================================
   Placeholder (No Featured Image)
   ============================================ */

.fiva-hero-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.placeholder-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   Content Fade-In Animation
   ============================================ */

.fiva-hero-content > * {
    opacity: 0;
    animation: fivaContentFadeIn 0.6s ease-out forwards;
}

.fiva-hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.fiva-hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.fiva-hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.fiva-hero-content > *:nth-child(4) { animation-delay: 0.8s; }
.fiva-hero-content > *:nth-child(5) { animation-delay: 1s; }
.fiva-hero-content > *:nth-child(6) { animation-delay: 1.2s; }
.fiva-hero-content > *:nth-child(7) { animation-delay: 1.4s; }

@keyframes fivaContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .fiva-hero-centered {
        height: 80vh;
        max-height: 700px;
        min-height: 500px;
    }

    .fiva-hero-content {
        padding: 1rem 1.5rem 145px 1.5rem;
    }

    .fiva-logo {
        width: 130px;
    }

    .fiva-contact-bar {
        height: 130px;
    }

    .fiva-contact-bar-inner {
        gap: 2.5rem;
    }

    .fiva-contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .fiva-contact-label {
        font-size: 0.85rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .fiva-hero-centered {
        height: 75vh;
        max-height: 600px;
        min-height: 450px;
    }

    .fiva-hero-content {
        padding: 0.5rem 1rem 120px 1rem;
    }

    .fiva-logo {
        width: 100px;
    }

    .fiva-certification-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.5rem;
    }

    .fiva-museum-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .fiva-museum-native-name {
        font-size: 0.9rem;
    }

    .fiva-location-address,
    .fiva-location-city-country {
        font-size: 0.8rem;
    }

    .fiva-vehicle-tag {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .fiva-contact-bar {
        height: 110px;
    }

    .fiva-contact-bar-inner {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .fiva-contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .fiva-contact-label {
        font-size: 0.7rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .fiva-hero-centered {
        height: 70vh;
        max-height: 550px;
        min-height: 400px;
    }

    .fiva-hero-content {
        padding: 0.5rem 0.75rem 110px 0.75rem;
    }

    .fiva-logo {
        width: 80px;
    }

    .fiva-certification-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.6rem;
    }

    .fiva-contact-bar {
        height: 100px;
    }

    .fiva-contact-bar-inner {
        gap: 1rem;
    }

    .fiva-contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .fiva-contact-label {
        font-size: 0.7rem;
    }
}

/* ============================================
   Accessibility: Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .fiva-logo,
    .fiva-scroll-indicator,
    .fiva-hero-content > * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .fiva-btn-primary:hover,
    .fiva-btn-secondary:hover,
    .fiva-vehicle-tag:hover,
    .fiva-contact-item:hover,
    .fiva-contact-icon:hover,
    .fiva-social-link:hover {
        transform: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .fiva-hero-centered {
        height: auto;
        min-height: 300px;
        page-break-after: avoid;
    }

    .fiva-hero-overlay {
        background: rgba(19, 111, 58, 0.3);
    }

    .fiva-scroll-indicator,
    .fiva-btn-group {
        display: none;
    }

    .fiva-contact-bar {
        border-top: 2px solid #136F3A;
    }

    .fiva-social-links {
        display: none;
    }
}

/* ============================================
   FIVA Template Layout Override
   ============================================ */

/* Remove container margin/padding for FIVA museums to allow full-width hero */
@media (min-width: 993px) {
    .fiva-museum-template.ast-separate-container #primary,
    .fiva-museum-template.ast-separate-container.ast-left-sidebar #primary,
    .fiva-museum-template.ast-separate-container.ast-right-sidebar #primary {
        margin: 0em 0;
        padding: 0;
    }

    /* Remove container horizontal padding for full-width layout */
    .fiva-museum-template .ast-container,
    .fiva-museum-template .ast-container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ============================================
   Responsive: Short Viewports (Height-Based)
   For laptops with good width but limited height
   Targets: 14" laptops (1366x768), 13" laptops (1280x800)
   ============================================ */

/* Short Viewport: 14-inch laptops, landscape tablets */
@media (max-height: 800px) {
    /* Hero container */
    .fiva-hero-centered {
        height: 75vh;
        min-height: 500px;
        max-height: 650px;
    }

    .fiva-hero-content {
        padding: 0.75rem 1.5rem 130px 1.5rem;
    }

    .fiva-logo {
        width: 120px;
    }

    .fiva-logo-container {
        margin-bottom: 0.5rem;
    }

    .fiva-certification-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.5rem;
        margin-bottom: 0.75rem;
    }

    .fiva-museum-title {
        font-size: clamp(1.5rem, 3.5vw + 0.5rem, 3rem);
        margin-bottom: 0.75rem;
    }

    .fiva-museum-native-name {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .fiva-location-address {
        font-size: 1rem;
    }

    .fiva-location-city-country {
        font-size: 1.1rem;
    }

    .fiva-vehicle-types {
        margin-top: 1rem;
    }

    .fiva-vehicle-tag {
        padding: 0.375rem 1rem;
        font-size: 0.8rem;
    }

    .fiva-contact-bar {
        height: 120px;
    }

    .fiva-contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .fiva-contact-label {
        font-size: 0.85rem;
    }
}

/* Very Short Viewport: 13-inch laptops, landscape phones */
@media (max-height: 700px) {
    .fiva-hero-centered {
        height: 70vh;
        min-height: 450px;
        max-height: 550px;
    }

    .fiva-hero-content {
        padding: 0.5rem 1rem 110px 1rem;
    }

    .fiva-logo {
        width: 100px;
    }

    .fiva-logo-container {
        margin-bottom: 0.25rem;
    }

    .fiva-certification-badge {
        font-size: 0.75rem;
        padding: 0.3rem 1rem;
        margin-bottom: 0.5rem;
    }

    .fiva-museum-title {
        font-size: clamp(1.25rem, 3vw + 0.5rem, 2.5rem);
        margin-bottom: 0.5rem;
    }

    .fiva-museum-native-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .fiva-location-address,
    .fiva-location-city-country {
        font-size: 0.9rem;
    }

    .fiva-vehicle-types {
        margin-top: 0.75rem;
    }

    .fiva-vehicle-tag {
        padding: 0.3rem 0.75rem;
        font-size: 0.75rem;
    }

    .fiva-contact-bar {
        height: 100px;
    }

    .fiva-contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }

    .fiva-contact-label {
        font-size: 0.75rem;
    }
}

/* Laptop-specific: Good width, short height */
@media (min-width: 1024px) and (max-height: 800px) {
    .fiva-contact-bar-inner {
        gap: 2.5rem;
    }
}

/* ============================================
   NEWSLETTER FRONTEND STYLES - MODERN DESIGN
   ============================================ */

/* Modern Newsletter Homepage Section */
.newsletter-section-modern {
	background: #ffffff;
	padding: 4rem 0;
}

.newsletter-header-modern {
	text-align: center;
	margin-bottom: 3rem;
}

.newsletter-title-modern {
	font-size: 2.25rem;
	font-weight: 700;
	color: #1f3a60;
	margin-bottom: 0.75rem;
}

.newsletter-subtitle-modern {
	font-size: 1.05rem;
	color: #7a7a7a;
	max-width: 600px;
	margin: 0 auto;
}

/* Grid Wrapper - Flex container for grid + sidebar */
.newsletter-grid-wrapper {
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
	align-items: flex-start;
}

.newsletter-grid-modern {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	flex: 1;
}

/* Sidebar - VIEW ALL button + Subscribe form */
.newsletter-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 380px;
	max-width: 380px;
}

/* Newsletter Card */
.newsletter-card-modern {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid #e5e7eb;
}

.newsletter-card-modern:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(31, 58, 96, 0.12);
	border-color: #2563eb;
}

.newsletter-card-link {
	text-decoration: none;
	display: block;
	height: 100%;
}

.newsletter-card-image {
	width: 100%;
	height: 140px;
	overflow: hidden;
	background: #f3f4f6;
}

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

.newsletter-card-modern:hover .newsletter-card-image img {
	transform: scale(1.08);
}

.newsletter-card-content {
	padding: 1rem;
}

.newsletter-card-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #3969d9;
	margin-bottom: 0.5rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.newsletter-card-date {
	font-size: 0.8rem;
	color: #000000;
	display: block;
}

/* Subscribe Card */
.newsletter-subscribe-card-modern {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-radius: 12px;
	padding: 1.5rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.newsletter-subscribe-card-modern:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.subscribe-card-icon {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0.75rem;
}

.subscribe-card-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 0.5rem;
}

.subscribe-card-text {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1rem;
}

.subscribe-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	color: #ffffff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.3s ease;
	width: 100%;
	margin-bottom: 0.5rem;
}

.subscribe-primary {
	background: rgba(255, 255, 255, 0.95);
	color: #2563eb;
	border: 1px solid rgba(255, 255, 255, 0.95);
}

.subscribe-primary:hover {
	background: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.subscribe-secondary {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
}

.subscribe-secondary:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
}

/* View All Button (In Sidebar) */
.newsletter-view-all-btn {
	background: #2563eb;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	min-height: 50px;
	color: #ffffff;
}

.newsletter-view-all-btn:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.newsletter-view-all-btn .view-all-link,
.newsletter-view-all-btn .view-all-link:visited,
.newsletter-view-all-btn .view-all-link:hover {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.875rem 1.5rem;
	color: #ffffff;
	text-decoration: none;
	width: 100%;
	height: 100%;
	gap: 0.5rem;
	transition: all 0.3s ease;
}

.view-all-link svg {
	transition: all 0.3s ease;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.newsletter-view-all-btn:hover .view-all-link svg {
	transform: translateX(2px);
}

.view-all-text {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: all 0.3s ease;
}

.view-all-subtext {
	display: none;
}

/* Compact Subscribe Form (In Sidebar) */
.newsletter-subscribe-form-compact {
	background: #ffffff;
	border-radius: 12px;
	padding: 1rem;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.newsletter-subscribe-form-compact h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #1f3a60;
	margin: 0 0 0.625rem 0;
	text-align: center;
	line-height: 1.2;
}

.newsletter-subscribe-form-compact iframe {
	border-radius: 8px;
}

/* Responsive: Modern Newsletter Section */
@media (max-width: 1200px) {
	.newsletter-grid-modern {
		grid-template-columns: repeat(2, 1fr);
	}

	.newsletter-sidebar {
		min-width: 320px;
		max-width: 320px;
	}
}

@media (max-width: 1024px) {
	.newsletter-grid-wrapper {
		flex-direction: column;
	}

	.newsletter-sidebar {
		min-width: 100%;
		max-width: 100%;
	}

	.newsletter-view-all-btn {
		min-height: 80px;
	}

	.newsletter-grid-modern {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}
}

@media (max-width: 768px) {
	.newsletter-section-modern {
		padding: 3rem 0;
	}

	.newsletter-title-modern {
		font-size: 1.75rem;
	}

	.newsletter-subtitle-modern {
		font-size: 0.95rem;
	}

	.newsletter-grid-modern {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.newsletter-card-image {
		height: 120px;
	}

	.newsletter-subscribe-form-compact {
		padding: 1rem;
	}

	.newsletter-subscribe-form-compact h3 {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.newsletter-grid-modern {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.newsletter-subscribe-form-compact {
		padding: 1rem;
	}

	.newsletter-subscribe-form-compact h3 {
		font-size: 0.95rem;
	}
}

/* Single Newsletter Template */
.newsletter-single {
	background: #ffffff;
}

.newsletter-header {
	background: #f8f9fa;
	padding: 3rem 0 2rem;
	margin-bottom: 3rem;
}

.newsletter-meta {
	text-align: center;
	margin-bottom: 2rem;
}

/* Hero Two-Column Layout: Image Left, Articles Right */
.newsletter-hero-grid {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	margin-top: 2rem;
}

.newsletter-hero-image {
	flex: 0 0 40%;
	max-width: 40%;
	border-radius: 8px;
	overflow: hidden;
	position: sticky;
	top: 2rem;
}

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

/* Caption below featured image */
.newsletter-hero-caption {
	background: linear-gradient(135deg, #1f3a60 0%, #2563eb 100%);
	padding: 1.5rem;
	text-align: center;
	border-radius: 0 0 8px 8px;
}

.newsletter-hero-headline {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

.newsletter-hero-powered {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.newsletter-hero-powered span {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.newsletter-hero-logo {
	height: 40px;
	width: auto;
}

.newsletter-hero-articles {
	flex: 1;
	min-width: 0;
}

/* Override articles grid inside hero: single column, compact cards */
.newsletter-hero-articles .newsletter-articles-grid {
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

/* Compact article cards inside hero */
.newsletter-hero-articles .newsletter-article-card {
	display: flex;
	flex-direction: row;
}

.newsletter-hero-articles .article-card__image {
	flex: 0 0 140px;
	height: auto;
	min-height: 120px;
}

.newsletter-hero-articles .article-card__content {
	flex: 1;
	padding: 1rem 1.25rem;
}

.newsletter-hero-articles .article-card__title {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.newsletter-hero-articles .article-card__description {
	font-size: 0.875rem;
	margin-bottom: 0.75rem;
}

.newsletter-hero-articles .article-card__cta {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

.newsletter-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1f3a60;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.newsletter-info {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.newsletter-date,
.newsletter-article-count {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	color: #4a4a4a;
}

.newsletter-date svg,
.newsletter-article-count svg {
	color: #7a7a7a;
}

.newsletter-social-share {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.share-label {
	font-weight: 600;
	color: #4a4a4a;
	font-size: 0.95rem;
}

.social-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-share-btn.facebook {
	background: #1877f2;
	color: #ffffff;
}

.social-share-btn.facebook:hover {
	background: #0c63d4;
	transform: translateY(-2px);
}

.social-share-btn.twitter {
	background: #1da1f2;
	color: #ffffff;
}

.social-share-btn.twitter:hover {
	background: #0d8bd9;
	transform: translateY(-2px);
}

.social-share-btn.email {
	background: #4a4a4a;
	color: #ffffff;
}

.social-share-btn.email:hover {
	background: #2c2c2c;
	transform: translateY(-2px);
}

.newsletter-articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.newsletter-article-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

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

.article-card__image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f8f9fa;
}

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

.newsletter-article-card:hover .article-card__image img {
	transform: scale(1.05);
}

.article-card__content {
	padding: 1.5rem;
}

.article-card__country {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #ffffff;
	background-color: #2563eb;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.article-card__country svg {
	width: 12px;
	height: 12px;
	stroke: #ffffff;
}

.article-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f3a60;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.article-card__description {
	font-size: 0.95rem;
	color: #4a4a4a;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.article-card__description p:last-child {
	margin-bottom: 0;
}

.article-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: #2563eb;
	color: #ffffff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
}

.article-card__cta:hover {
	background: #1d4ed8;
	transform: translateX(4px);
}

.newsletter-no-articles {
	text-align: center;
	padding: 4rem 2rem;
	color: #7a7a7a;
}

.newsletter-related {
	background: #f8f9fa;
	padding: 3rem 0;
	margin-top: 3rem;
}

.related-title {
	font-size: 2rem;
	font-weight: 700;
	color: #1f3a60;
	text-align: center;
	margin-bottom: 2rem;
}

.related-newsletters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.related-newsletter-card {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.related-newsletter-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

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

.related-newsletter__image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #f8f9fa;
}

.related-newsletter__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.related-newsletter-card:hover .related-newsletter__image img {
	transform: scale(1.05);
}

.related-newsletter__content {
	padding: 1.25rem;
}

.related-newsletter__title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1f3a60;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.related-newsletter__date {
	display: block;
	font-size: 0.875rem;
	color: #7a7a7a;
}

.newsletter-archive-link {
	text-align: center;
	margin-top: 2rem;
}

/* Newsletter Archive Template */
.newsletter-archive {
	background: #ffffff;
}

.newsletter-archive-header {
	background: linear-gradient(135deg, #1f3a60 0%, #2563eb 100%);
	color: #ffffff;
	padding: 4rem 0 3rem;
	text-align: center;
	margin-bottom: 3rem;
}

.newsletter-archive-header .archive-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #ffffff;
}

.newsletter-archive-header .archive-title svg {
	color: #ffffff;
}

.newsletter-archive-header .archive-description {
	font-size: 1.1rem;
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.6;
	opacity: 0.95;
}

.newsletter-archive-content {
	padding: 0 0 3rem;
}

.newsletter-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.newsletter-archive-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.newsletter-archive-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
	border-color: #2563eb;
}

.newsletter-archive-card__link {
	text-decoration: none;
	display: block;
}

.newsletter-archive-card__image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f8f9fa;
	position: relative;
}

.newsletter-archive-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.newsletter-archive-card:hover .newsletter-archive-card__image img {
	transform: scale(1.08);
}

.newsletter-archive-card__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7a7a7a;
}

.newsletter-archive-card__content {
	padding: 1.5rem;
}

.newsletter-archive-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f3a60;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.newsletter-archive-card__meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.newsletter-archive-card__date,
.newsletter-archive-card__count,
.newsletter-archive-card__countries {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	color: #7a7a7a;
}

.newsletter-archive-card__countries {
	flex-basis: 100%;
	margin-top: 0.25rem;
}

.newsletter-archive-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #2563eb;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
}

.newsletter-archive-card:hover .newsletter-archive-card__cta {
	gap: 0.75rem;
	color: #1d4ed8;
}

.newsletter-pagination {
	margin-top: 3rem;
}

.pagination-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.pagination-item a,
.pagination-item span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	color: #4a4a4a;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.3s ease;
	min-width: 44px;
	justify-content: center;
}

.pagination-item a:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

.pagination-item .current {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

.newsletter-archive-empty {
	text-align: center;
	padding: 4rem 2rem;
	color: #7a7a7a;
}

.newsletter-archive-empty svg {
	margin-bottom: 1.5rem;
	opacity: 0.5;
}

.newsletter-archive-empty h2 {
	font-size: 1.75rem;
	color: #1f3a60;
	margin-bottom: 1rem;
}

.newsletter-subscribe-cta {
	background: linear-gradient(135deg, #1f3a60 0%, #2563eb 100%);
	padding: 5rem 0;
	margin-top: 3rem;
}

.subscribe-cta-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.subscribe-cta-icon {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2rem;
}

.subscribe-cta-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1.5rem;
}

.subscribe-cta-description {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
	margin-bottom: 2.5rem;
}

.subscribe-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 2.5rem;
	background: rgba(255, 255, 255, 0.95);
	color: #2563eb;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	border: 2px solid rgba(255, 255, 255, 0.95);
}

.subscribe-cta-button:hover {
	background: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
	.newsletter-articles-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		gap: 1.5rem;
	}

	.newsletter-hero-image {
		flex: 0 0 35%;
		max-width: 35%;
	}

	.newsletter-hero-articles .article-card__image {
		flex: 0 0 120px;
	}

	.subscribe-cta-title {
		font-size: 2rem;
	}

	.subscribe-cta-description {
		font-size: 1.05rem;
	}

	.newsletter-archive-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
	.newsletter-title {
		font-size: 1.75rem;
	}

	.newsletter-archive-header .archive-title {
		font-size: 1.75rem;
		flex-direction: column;
		gap: 0.5rem;
	}

	.newsletter-header {
		padding: 2rem 0 1.5rem;
		margin-bottom: 2rem;
	}

	.newsletter-hero-grid {
		flex-direction: column;
	}

	.newsletter-hero-image {
		flex: none;
		max-width: 100%;
		position: static;
	}

	.newsletter-hero-articles .newsletter-article-card {
		flex-direction: column;
	}

	.newsletter-hero-articles .article-card__image {
		flex: none;
		height: 180px;
	}

	.newsletter-hero-caption {
		padding: 1.25rem;
	}

	.newsletter-hero-headline {
		font-size: 1.1rem;
	}

	.newsletter-hero-logo {
		height: 32px;
	}

	.newsletter-info {
		flex-direction: column;
		gap: 0.75rem;
	}

	.newsletter-articles-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.related-newsletters-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.newsletter-archive-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.related-title,
	.subscribe-cta-title {
		font-size: 1.5rem;
	}

	.newsletter-social-share {
		flex-wrap: wrap;
	}

	.pagination-list {
		gap: 0.35rem;
	}

	.pagination-item a,
	.pagination-item span {
		padding: 0.5rem 0.75rem;
		font-size: 0.875rem;
	}
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
	.newsletter-title {
		font-size: 1.5rem;
	}

	.newsletter-archive-header {
		padding: 2.5rem 0 2rem;
	}

	.newsletter-archive-header .archive-title {
		font-size: 1.5rem;
	}

	.newsletter-archive-header .archive-description {
		font-size: 0.95rem;
	}

	.article-card__title,
	.newsletter-archive-card__title {
		font-size: 1.1rem;
	}

	.newsletter-subscribe-text {
		font-size: 0.875rem;
	}

	.social-share-btn {
		width: 40px;
		height: 40px;
	}

	.subscribe-cta-icon svg {
		width: 60px;
		height: 60px;
	}

	.subscribe-cta-button {
		padding: 0.875rem 2rem;
		font-size: 1rem;
	}

	.newsletter-subscribe-cta {
		padding: 3rem 0;
	}
}

/* Accessibility: Focus States */
.newsletter-archive-card:focus-within,
.newsletter-article-card:focus-within,
.related-newsletter-card:focus-within {
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}

.social-share-btn:focus {
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}

/* Print Styles */
@media print {
	.newsletter-social-share,
	.newsletter-archive-link,
	.newsletter-subscribe-cta,
	.mailjet-form-iframe {
		display: none;
	}

	.newsletter-article-card,
	.newsletter-archive-card {
		page-break-inside: avoid;
	}
}

/* ============================================
   MOBILE HEADER OPTIMIZATION
   Compact header with larger hamburger icon
   @since January 30, 2026
   ============================================ */

@media (max-width: 921px) {
	/* Reduce header height on mobile - target Astra's primary header bar */
	.ast-mobile-header-wrap .ast-primary-header-bar,
	.ast-mobile-header-wrap .ast-primary-header-bar .site-primary-header-wrap,
	.ast-mobile-header-wrap .ast-above-header-bar,
	.ast-mobile-header-wrap .ast-below-header-bar {
		min-height: 56px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	/* Compact logo on mobile */
	.ast-mobile-header-wrap .site-branding,
	.ast-mobile-header-wrap .ast-site-identity,
	.ast-mobile-header-wrap [data-section="title_tagline"] {
		padding: 6px 0 !important;
	}

	.ast-mobile-header-wrap .custom-logo,
	.ast-mobile-header-wrap .ast-site-identity img,
	.ast-mobile-header-wrap .site-logo-img img {
		max-height: 40px !important;
		width: auto !important;
	}

	/* Larger, more visible hamburger button - target Astra's trigger classes */
	.ast-mobile-header-wrap .ast-button-wrap .menu-toggle,
	.ast-mobile-header-wrap [data-section="section-header-mobile-trigger"] .menu-toggle,
	.ast-mobile-header-wrap .main-header-menu-toggle {
		padding: 8px !important;
		min-width: 48px !important;
		min-height: 48px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	/* Larger hamburger icon (SVG) - WCAG touch target compliance */
	.ast-mobile-header-wrap .mobile-menu-toggle-icon .ast-mobile-svg,
	.ast-mobile-header-wrap .menu-toggle .ast-mobile-svg,
	[data-section="section-header-mobile-trigger"] .ast-mobile-svg {
		width: 26px !important;
		height: 26px !important;
	}

	/* Header container spacing */
	.ast-mobile-header-wrap .ast-container,
	.ast-mobile-header-wrap .ast-builder-grid-row {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	/* Ensure header doesn't overlay content - use relative positioning */
	.ast-mobile-header-wrap,
	#ast-mobile-header {
		position: relative !important;
		z-index: 100;
	}

	/* Target ALL possible header elements that might be fixed/absolute */
	.ast-header-break-point .site-header,
	.ast-header-break-point #masthead,
	.ast-header-break-point .ast-main-header-wrap {
		position: relative !important;
	}

	/* Remove any negative margins that cause overlay */
	.museum-hero-search {
		margin-top: 0 !important;
	}

	/* If header IS overlaying (transparent header enabled), add padding to hero */
	.archive.post-type-archive-museum .museum-hero-search {
		padding-top: 70px !important; /* Push content below header overlay */
	}
}

/* Small mobile: Even more compact */
@media (max-width: 544px) {
	/* Smaller header on very small screens */
	.ast-mobile-header-wrap .ast-primary-header-bar,
	.ast-mobile-header-wrap .ast-primary-header-bar .site-primary-header-wrap {
		min-height: 52px !important;
	}

	/* Smaller logo on small mobile */
	.ast-mobile-header-wrap .custom-logo,
	.ast-mobile-header-wrap .ast-site-identity img,
	.ast-mobile-header-wrap .site-logo-img img {
		max-height: 36px !important;
	}

	/* Container padding */
	.ast-mobile-header-wrap .ast-container,
	.ast-mobile-header-wrap .ast-builder-grid-row {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	/* Hero padding for header overlay on small mobile */
	.archive.post-type-archive-museum .museum-hero-search {
		padding-top: 60px !important;
	}
}

/* Fix header background for better visibility */
@media (max-width: 921px) {
	.ast-primary-header-bar,
	.ast-mobile-header-wrap .ast-primary-header-bar {
		background-color: #1F3A60 !important;
	}

	/* Ensure hamburger icon is white/visible on dark header */
	.ast-mobile-header-wrap .mobile-menu-toggle-icon .ast-mobile-svg,
	.ast-mobile-header-wrap .menu-toggle .ast-mobile-svg,
	[data-section="section-header-mobile-trigger"] .ast-mobile-svg {
		fill: #ffffff !important;
	}

	/* Hover/focus state - brand gold */
	.ast-mobile-header-wrap .menu-toggle:hover .ast-mobile-svg,
	.ast-mobile-header-wrap .menu-toggle:focus .ast-mobile-svg,
	.ast-mobile-header-wrap .menu-toggle:active .ast-mobile-svg {
		fill: #C4AA5E !important;
	}

	/* Focus outline for accessibility */
	.ast-mobile-header-wrap .menu-toggle:focus {
		outline: 2px solid #C4AA5E !important;
		outline-offset: 2px !important;
	}
}
