/* ============================================
   AMERICA 250 INTERACTIVE HEADER - INDEPENDENT FLIP DIGITS!
   - Each time part (hours, minutes, seconds) flips independently
   - Only what changes actually flips
   - True flip clock behavior
   ============================================ */

/* Enhanced Header Wrapper */
.america250-header-wrapper {
    position: relative !important;
    width: 100% !important;
    min-height: 600px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #bd1e2d 0%, #262262 100%) !important;
}

.flag-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    opacity: 0.85 !important;
}

.flag-background img {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: cover !important;
    object-fit: cover !important;
    animation: subtleWave 8s ease-in-out infinite !important;
}

/* DARK OVERLAY */
.flag-background::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.35) !important;
    z-index: 2 !important;
}

@keyframes subtleWave {
    0%, 100% { transform: scale(1.02) translateX(0); }
    50% { transform: scale(1.05) translateX(-5px); }
}

/* Countdown Container */
.countdown-container {
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 600px !important;
    padding: 40px 20px !important;
}

/* COUNTDOWN BOX */
body .america250-header-wrapper .countdown-container .america250-countdown,
.america250-header-wrapper .countdown-container .america250-countdown,
.countdown-container .america250-countdown,
.america250-header-wrapper .america250-countdown,
body .america250-header-wrapper .america250-countdown,
div.america250-countdown {
    background: rgb(255, 255, 255) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 25px !important;
    padding: 60px 80px !important;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    text-align: center !important;
    border: 4px solid rgba(189, 30, 45, 0.4) !important;
    animation: fadeInScale 1s ease-out, gentleFloat 4s ease-in-out infinite !important;
    max-width: 550px !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* COUNTDOWN DAYS NUMBER - NO FLIP, JUST PULSE */
body .america250-header-wrapper .countdown-container .countdown-number,
.america250-header-wrapper .countdown-container .countdown-number,
.countdown-container .countdown-number,
.america250-header-wrapper .countdown-number,
body .america250-header-wrapper .countdown-number,
div.america250-countdown .countdown-number {
    font-size: 140px !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    color: #bd1e2d !important;
    font-family: 'Bebas Neue', 'Impact', Arial Black, sans-serif !important;
    letter-spacing: -8px !important;
    text-shadow: 
        5px 5px 0 rgba(38, 34, 98, 0.25),
        -2px -2px 0 rgba(255, 255, 255, 0.6),
        0 0 20px rgba(189, 30, 45, 0.3) !important;
    margin: 0 0 15px 0 !important;
    display: inline-block !important;
    position: relative !important;
    animation: dramaticPulse 2.5s ease-in-out infinite !important;
}

@keyframes dramaticPulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.05);
    }
}

/* Countdown label - "DAYS" only (hide original text, replace with :before) */
body .america250-header-wrapper .countdown-container .countdown-label,
.america250-header-wrapper .countdown-container .countdown-label,
.countdown-container .countdown-label,
.america250-header-wrapper .countdown-label,
body .america250-header-wrapper .countdown-label,
div.america250-countdown .countdown-label {
    font-size: 0 !important; /* Hide original "DAYS UNTIL" text */
    font-weight: 700 !important;
    color: #262262 !important;
    text-transform: uppercase !important;
    letter-spacing: 6px !important;
    margin: 0 0 25px 0 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    display: block !important;
}

/* Show only "DAYS" using :before pseudo-element */
body .america250-header-wrapper .countdown-container .countdown-label:before,
.america250-header-wrapper .countdown-container .countdown-label:before,
.countdown-container .countdown-label:before,
.america250-header-wrapper .countdown-label:before,
body .america250-header-wrapper .countdown-label:before,
div.america250-countdown .countdown-label:before {
    content: 'DAYS' !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #262262 !important;
    text-transform: uppercase !important;
    letter-spacing: 6px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    display: block !important;
}

/* COUNTDOWN TIME - Original (will be hidden, overlay shows instead) */
body .america250-header-wrapper .countdown-container .countdown-time,
.america250-header-wrapper .countdown-container .countdown-time,
.countdown-container .countdown-time,
.america250-header-wrapper .countdown-time,
body .america250-header-wrapper .countdown-time,
div.america250-countdown .countdown-time {
    font-size: 38px !important;
    color: #262262 !important;
    font-weight: 800 !important;
    margin: 0 0 25px 0 !important;
    font-family: 'Bebas Neue', 'Impact', Arial Black, sans-serif !important;
    letter-spacing: 3px !important;
    display: inline-block !important;
    perspective: 1000px !important;
}

/* OVERLAY TIME - Shows on top with individual flip animations */
.countdown-time-overlay {
    font-size: 38px !important;
    color: #262262 !important;
    font-weight: 800 !important;
    margin: 0 0 25px 0 !important;
    font-family: 'Bebas Neue', 'Impact', Arial Black, sans-serif !important;
    letter-spacing: 3px !important;
    display: inline-block !important;
    perspective: 1000px !important;
}

/* Add "UNTIL" after the time overlay */
.countdown-time-overlay:after {
    content: 'UNTIL' !important;
    display: block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #262262 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    margin: 25px 0 8px 0 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

/* INDIVIDUAL FLIP PARTS */
.flip-hours,
.flip-minutes,
.flip-seconds {
    display: inline-block !important;
    perspective: 1000px !important;
    min-width: 1.2em !important;
    text-align: center !important;
}

.flip-colon {
    display: inline-block !important;
    opacity: 0.8 !important;
}

/* FLIP ANIMATION - Only on parts that change */
.flip-hours.flipping,
.flip-minutes.flipping,
.flip-seconds.flipping {
    animation: flipCard 0.4s ease-in-out !important;
}

/* FLIP CLOCK CARD ANIMATION */
@keyframes flipCard {
    0% {
        transform: rotateX(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotateX(90deg) scale(0.9);
        opacity: 0.5;
    }
    100% {
        transform: rotateX(0deg) scale(1);
        opacity: 1;
    }
}

/* Countdown subtitle */
body .america250-header-wrapper .countdown-container .countdown-subtitle,
.america250-header-wrapper .countdown-container .countdown-subtitle,
.countdown-container .countdown-subtitle,
.america250-header-wrapper .countdown-subtitle,
body .america250-header-wrapper .countdown-subtitle,
div.america250-countdown .countdown-subtitle {
    font-size: 18px !important;
    color: #374151 !important;
    font-style: italic !important;
    font-family: 'Merriweather', Georgia, serif !important;
    display: block !important;
    margin-top: 0 !important;
    position: relative !important;
    top: 30px !important;
}

/* "UNTIL" text if it exists as separate element */
.countdown-until {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #262262 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    margin: 0 0 8px 0 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    display: block !important;
}

/* ============================================
   STARS - ADJUSTED POSITIONS
   ============================================ */

.star-hotspot {
    position: absolute !important;
    width: 70px !important;
    height: 70px !important;
    cursor: pointer !important;
    z-index: 100 !important;
    transition: transform 0.3s ease !important;
    pointer-events: auto !important;
}

.star-hotspot::before {
    content: '★' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 60px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 255, 255, 0.7),
        0 0 45px rgba(255, 255, 100, 0.5),
        3px 3px 6px rgba(0, 0, 0, 0.4) !important;
    animation: twinkle 3s ease-in-out infinite !important;
}

.star-hotspot::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 70px !important;
    height: 70px !important;
    border: 3px solid rgba(255, 255, 100, 0.6) !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.star-hotspot:hover::before {
    transform: translate(-50%, -50%) scale(1.3) !important;
    color: rgba(255, 255, 100, 1) !important;
    text-shadow: 
        0 0 20px rgba(255, 255, 100, 1),
        0 0 40px rgba(255, 255, 100, 0.8),
        0 0 60px rgba(255, 255, 100, 0.6),
        3px 3px 8px rgba(0, 0, 0, 0.5) !important;
}

.star-hotspot:hover::after {
    opacity: 1 !important;
    animation: ripple 1.5s ease-out infinite !important;
}

.star-hotspot:hover {
    transform: scale(1.2) !important;
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.15); 
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Tooltip */
.star-tooltip {
    position: fixed !important;
    background: white !important;
    border: 3px solid #bd1e2d !important;
    border-radius: 12px !important;
    padding: 20px 25px !important;
    min-width: 320px !important;
    max-width: 420px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    z-index: 200 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(0.9) !important;
}

.star-tooltip.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

.star-tooltip h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #bd1e2d !important;
    margin: 0 0 12px 0 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.star-tooltip p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #374151 !important;
    margin: 0 !important;
    font-family: 'Open Sans', sans-serif !important;
}

/* ADJUSTED STAR POSITIONS - User customized */
.star-1 { top: 15%; left: 36%; }    /* Upper left */
.star-2 { top: 15%; right: 36%; }   /* Upper right */
.star-3 { top: 42%; left: 32%; }    /* Middle left */
.star-4 { top: 42%; right: 32%; }   /* Middle right */
.star-5 { top: 70%; left: 36%; }    /* Lower left */
.star-6 { top: 70%; right: 36%; }   /* Lower right */
.star-7 { top: 6%; left: 50%; transform: translateX(-50%); } /* Top */

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

@media (max-width: 768px) {
    .america250-header-wrapper {
        min-height: 500px !important;
    }
    
    body .america250-header-wrapper .america250-countdown,
    .america250-header-wrapper .america250-countdown {
        padding: 40px 50px !important;
    }
    
    body .america250-header-wrapper .countdown-number,
    .countdown-number {
        font-size: 90px !important;
        letter-spacing: -4px !important;
    }
    
    body .america250-header-wrapper .countdown-time,
    .countdown-time {
        font-size: 28px !important;
    }
    
    body .america250-header-wrapper .countdown-label,
    .countdown-label {
        font-size: 16px !important;
        letter-spacing: 3px !important;
    }
    
    body .america250-header-wrapper .countdown-subtitle,
    .countdown-subtitle {
        font-size: 15px !important;
    }
    
    .star-hotspot {
        width: 50px !important;
        height: 50px !important;
    }
    
    .star-hotspot::before {
        font-size: 40px !important;
    }
    
    .star-tooltip {
        min-width: 280px !important;
        max-width: 90vw !important;
        padding: 15px 20px !important;
    }
    
    /* Adjust star positions for mobile */
    .star-1 { top: 13%; left: 34%; }
    .star-2 { top: 13%; right: 34%; }
    .star-3 { top: 42%; left: 30%; }
    .star-4 { top: 42%; right: 30%; }
    .star-5 { top: 72%; left: 34%; }
    .star-6 { top: 72%; right: 34%; }
    .star-7 { top: 8%; }
}

@media (max-width: 480px) {
    body .america250-header-wrapper .america250-countdown,
    .america250-header-wrapper .america250-countdown {
        padding: 30px 35px !important;
    }
    
    body .america250-header-wrapper .countdown-number,
    .countdown-number {
        font-size: 70px !important;
        letter-spacing: -3px !important;
    }
    
    body .america250-header-wrapper .countdown-time,
    .countdown-time {
        font-size: 22px !important;
    }
    
    .star-hotspot {
        width: 45px !important;
        height: 45px !important;
    }
    
    .star-hotspot::before {
        font-size: 35px !important;
    }
}

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;600;700;800&family=Merriweather:ital@0;1&family=Open+Sans:wght@400;600&display=swap');
/* ============================================
   EVENTS SECTION - STATIC DISPLAY (NO SCROLLING)
   Simplified version - just shows 3-4 events in a row
   ============================================ */

.events-bar {
    background: linear-gradient(135deg, #262262 0%, #1e3a8a 100%);
    padding: 40px 20px;
    border-top: 4px solid #bd1e2d;
    border-bottom: 4px solid #bd1e2d;
}

.events-bar h2 {
    color: white;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* STATIC EVENTS CONTAINER - No scrolling */
.events-carousel {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* UNIFORM EVENT CARDS */
.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    width: 320px; /* Fixed width - increased for better presence */
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* UNIFORM IMAGE SIZE - CRITICAL FIX */
.event-card-image {
    width: 100%;
    height: 200px; /* Fixed height for all images - increased for wider cards */
    object-fit: cover; /* Crops to fill space while maintaining aspect ratio */
    object-position: center; /* Centers the image */
    background: #f3f4f6;
    display: block;
}

/* Fallback for browsers without object-fit */
@supports not (object-fit: cover) {
    .event-card-image {
        width: 100%;
        height: 200px;
    }
}

/* CARD CONTENT - FLEXIBLE HEIGHT */
.event-card-content {
    padding: 18px;
    flex: 1; /* Takes up remaining space */
    display: flex;
    flex-direction: column;
}

.event-date {
    display: inline-block;
    background: #bd1e2d;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.event-title {
    font-size: 17px;
    font-weight: 700;
    color: #262262;
    margin: 0 0 10px 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    min-height: 44px; /* Ensures titles take consistent space */
}

.event-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    flex: 1; /* Fills available space */
}

.view-all-events {
    text-align: center;
    margin-top: 30px;
}

.view-all-events a {
    display: inline-block;
    background: white;
    color: #262262;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-all-events a:hover {
    background: #bd1e2d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 1200px) {
    .event-card {
        width: 290px;
    }
}

@media (max-width: 992px) {
    .events-carousel {
        gap: 15px;
    }
    
    .event-card {
        width: 270px;
    }
    
    .event-card-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .events-bar h2 {
        font-size: 26px;
    }
    
    .events-carousel {
        gap: 15px;
        padding: 10px;
    }
    
    .event-card {
        width: calc(50% - 10px); /* 2 cards per row on tablets */
        max-width: 300px;
    }
    
    .event-card-image {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .events-carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .event-card {
        width: 100%; /* Full width on phones */
        max-width: 350px;
    }
    
    .event-card-image {
        height: 200px;
    }
    
    .event-card-content {
        padding: 15px;
    }
    
    .event-title {
        font-size: 16px;
        min-height: auto;
    }
    
    .event-description {
        font-size: 13px;
    }
}
/* ============================================
   SPONSOR LOGOS SLIDER CSS
   Add this to your stylesheet
   ============================================ */

.sponsor-logos-slider {
    position: relative;
    width: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    background: transparent;
}

.sponsor-slide {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-slide.active {
    opacity: 1;
    z-index: 2;
}

.sponsor-slide a {
    display: block;
    text-decoration: none;
}

.sponsor-slide img {
    max-width: 450px;
    max-height: 225px;
    height: auto;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.sponsor-slide a:hover img {
    transform: scale(1.05);
}

/* Responsive sizing */
@media (max-width: 768px) {
    .sponsor-logos-slider {
        min-height: 200px;
        padding: 30px 20px;
    }
    
    .sponsor-slide img {
        max-width: 380px;
        max-height: 190px;
    }
}

@media (max-width: 480px) {
    .sponsor-logos-slider {
        min-height: 160px;
        padding: 20px 15px;
    }
    
    .sponsor-slide img {
        max-width: 320px;
        max-height: 160px;
    }
}
/* ============================================
   LEARN MORE BUTTON STYLING
   Add this to your america250-header-additions.css
   ============================================ */

.learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #bd1e2d;
    color: white !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(189, 30, 45, 0.3);
    border: none;
    cursor: pointer;
}

.learn-more-btn:hover {
    background: #262262;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 34, 98, 0.4);
    color: white !important;
}

.learn-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(189, 30, 45, 0.3);
}

/* Responsive sizing */
@media (max-width: 768px) {
    .learn-more-btn {
        padding: 10px 25px;
        font-size: 14px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .learn-more-btn {
        padding: 8px 20px;
        font-size: 13px;
        margin-top: 12px;
    }
}
/* ============================================
   HISTORICAL FACTS SLIDER - BALANCED VERSION
   Original container size + button visibility
   ============================================ */

.historical-facts-slider {
    position: relative;
    width: 100%;
    min-height: 400px; /* Back to original size */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Key change - allows button to show */
    padding: 40px 20px 100px 20px; /* Extra bottom padding for button */
}

.fact-slide {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 90%;
    max-width: 900px;
    text-align: center;
    display: none;
    padding-bottom: 60px; /* Reduced from 80px */
    min-height: 520px; /* Fixed height for consistent button position */
}

.fact-slide.active {
    opacity: 1;
    display: block;
    z-index: 2;
}

.fact-slide.active::after {
    content: "";
    display: table;
    clear: both;
}

/* Historical Fact Title */
.fact-slide .fact-title {
    font-size: 28px;
    font-weight: 700;
    color: #bd1e2d;
    margin: 0 0 20px 0;
    font-family: 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    clear: both;
}

/* Content wrapper for image and text */
.fact-slide .fact-content {
    overflow: auto;
    margin-bottom: 20px;
}

/* Image floats left */
.fact-slide .fact-image {
    float: left;
    max-width: 250px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    margin: 0 30px 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Text content wraps around image */
.fact-slide .fact-text {
    font-size: 20px;
    line-height: 1.8;
    color: #262262;
    font-family: 'Merriweather', Georgia, serif;
    text-align: left;
}

.fact-slide .fact-text p {
    margin: 0 0 15px 0;
}

/* Button positioned consistently at bottom */
.fact-slide .learn-more-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    clear: both;
}

/* Removed - now using .fact-text and .fact-image instead */

/* Responsive */
@media (max-width: 768px) {
    .historical-facts-slider {
        min-height: 380px;
        padding: 40px 20px 80px 20px;
    }
    
    .fact-slide {
        padding-bottom: 50px;
        width: 95%;
    }
    
    .fact-slide .fact-title {
        font-size: 24px;
        margin: 0 0 15px 0;
    }
    
    .fact-slide p {
        font-size: 18px;
    }
    
    .fact-slide .fact-image {
        max-width: 220px;
        height: 220px;
        margin: 0 25px 15px 0;
    }
    
    .fact-slide .fact-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .historical-facts-slider {
        min-height: 360px;
        padding: 30px 20px 70px 20px;
    }
    
    .fact-slide {
        padding-bottom: 40px;
    }
    
    .fact-slide .fact-title {
        font-size: 20px;
        margin: 0 0 12px 0;
        letter-spacing: 1px;
    }
    
    .fact-slide .fact-text {
        font-size: 16px;
        text-align: center;
    }
    
    .fact-slide .fact-image {
        max-width: 200px;
        height: 200px;
        float: none;
        margin: 20px auto;
        display: block;
    }
}




/* ============================================
   GUILFORD COUNTY SEAL - TEXT WRAP
   ============================================ */

.seal-float-left {
    float: left;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 30px 20px 0;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .seal-float-left {
        float: none;
        max-width: 120px;
        margin: 0 auto 20px auto;
        display: block;
    }
}
/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .guilford-seal,
    .county-seal,
    .seal-float-left,
    .revolutionary-legacy img:first-of-type,
    .page-content img:first-of-type {
        max-width: 150px;
        margin: 0 20px 15px 0;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .guilford-seal,
    .county-seal,
    .seal-float-left,
    .revolutionary-legacy img:first-of-type,
    .page-content img:first-of-type {
        float: none;
        display: block;
        max-width: 120px;
        margin: 0 auto 20px auto;
    }
}