
.slides .slide:nth-child(2) .slide-content { display: flex; flex-direction: column; height: 100%; }
.slides .slide:nth-child(2) .overlay-cta { position: absolute; bottom: 25%; left: 50%; transform: translateX(-50%); }
.slides .slide:nth-child(2) .mobile-cta { display: none; }

/* Move slide 2 text down under the logo */
.slides .slide:nth-child(2) h3 { margin-top: 150px; }
.slides .slide:nth-child(2) h1 { margin-top: 0; }



/* Base */
:root {
    --purple-900: #0B0220;
    --purple-800: #2A0D4C;
    --purple-accent: #7C4DFF;
    --text-dark: #111111;
    --text-mid: #444444;
    --text-muted: #555555;
    --white: #FFFFFF;
    --font-league-spartan: "League Spartan", "Poppins", sans-serif;
    --text: #FFFFFF;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    background: var(--white);
}
/* Prevent horizontal scrolling and make media responsive */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 1.5rem;
    text-decoration: none;
    transition: all 200ms ease;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: #000000;
}
.btn-outline:hover {
    background: var(--white);
    color: var(--purple-800);
}
.btn-light { color: var(--white); border-color: var(--white); }

/* Sections spacing */
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 40px 0; } }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('assests/COF-LandingPage.webp') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
}
.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,2,32,0.6) 0%, rgba(42,13,76,0.6) 100%);
}
.logo {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    z-index: 2;
}
.hero-slider { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
    height: 100vh;
    overflow: hidden;
}
.slides { 
    position: relative; 
    width: 100%; 
    height: 100%;
}
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(0.98); transition: opacity 600ms ease, transform 600ms ease; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); text-shadow: 0 6px 18px rgba(0,0,0,0.35); pointer-events: none; }
.slide.active { opacity: 1; transform: scale(1); position: absolute; pointer-events: auto; z-index: 1; }
.slide-content { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Ensure slide content (all slides) is vertically and horizontally centered */
.slide .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-subtitle { margin: 0 0 28px; font-size: 18px; color: #E0E0E0; }
.slide-sub { font-size: 1rem; color: #E0E0E0; margin-bottom: 0.75rem; opacity: 0.9; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.hero-nav:hover { background: rgba(255,255,255,0.3); color: #2A0D4C; }
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }
.hero-dots { 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 80px; 
    display: flex; 
    justify-content: center; 
    gap: 7px; 
    z-index: 10;
}
.hero-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; }
.hero-dots .dot.active { background: #fff; }
.hero h1 {
    margin: 0 0 1rem;
    font-size: 4rem;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-shadow: rgb(121, 121, 220) 0px 0px 5px, rgb(230, 231, 237) 0px 0px 6px, rgb(86, 109, 179) 0px 0px 7px, rgb(255, 255, 255) 0px 0px 1px, rgb(86, 95, 179) 0px 0px 10px;
    font-family: var(--font-league-spartan);
    text-align: center;
    line-height: 1;
    letter-spacing: 0.01rem;
    text-transform: uppercase;
}
.subtitle {
    margin: 0 0 28px;
    font-size: 18px;
    color: #E0E0E0;
}

.hero .hero-tag {
    font-size: 1.25rem;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 4rem;
    font-family: Outfit, "Outfit Fallback", sans-serif;
    font-weight: 400;
    text-shadow: rgb(121, 121, 220) 0px 0px 3px, rgb(230, 231, 237) 0px 0px 4px, rgb(86, 109, 179) 0px 0px 5px, rgb(255, 255, 255) 0px 0px 1px, rgb(86, 95, 179) 0px 0px 8px;
    letter-spacing: 0.3rem;
    text-align: center;
}

.hero h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-family: Outfit, "Outfit Fallback", sans-serif;
    font-weight: 500;
    text-align: center;
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .subtitle { font-size: 14px; }
    .logo { width: 150px; top: 16px; }
    .container { padding: 0 16px; }
    
    /* Ensure hero-dots are properly positioned on mobile */
    .hero-dots { 
        bottom: 70px; 
        z-index: 15;
    }
    
    /* Adjust spacing for ticker on mobile */
    .why { 
        padding-top: 40px; 
    }
}

/* Slide 1 h3 styles */
.slides .slide:first-child h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-family: Outfit, "Outfit Fallback", sans-serif;
    font-weight: 500;
}
/* Slide 1 paragraph styles */
.slides .slide:first-child p {
    font-size: 1.25rem;
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 4rem;
    font-family: Outfit, "Outfit Fallback", sans-serif;
    font-weight: 400;
    text-shadow: rgb(121, 121, 220) 0px 0px 3px, rgb(230, 231, 237) 0px 0px 4px, rgb(86, 109, 179) 0px 0px 5px, rgb(255, 255, 255) 0px 0px 1px, rgb(86, 95, 179) 0px 0px 8px;
    letter-spacing: 0.3rem;
}

/* Save the Date Slide Styles */
.save-date-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: 240px; /* Space for tape gallery */
    padding-top: 120px; /* Space below logo */
}

.save-date-title {
    font-size: 3rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-transform: uppercase;
    margin: 0 0 0.2rem 0 !important;
    font-family: var(--font-league-spartan) !important;
    letter-spacing: 0.05em;
}

/* Override hero h1 margin for save-date slide */
.save-date-slide h1.save-date-title {
    margin: 0 0 0.2rem 0 !important;
}

.save-date-subtitle {
    font-size: 1rem;
    color: #fff;
    opacity: 0.95;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

/* Date Card */
.date-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px 25px 12px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.date-day {
    font-size: 8rem;
    font-weight: 900;
    color: #140C36;
    line-height: 0.8;
    font-family: var(--font-league-spartan);
    position: relative;
    display: inline-block;
}

.date-day sup {
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    top: 8px;
    margin-left: 2px;
}

.date-month {
    background: #140C36;
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    padding: 6px 25px;
    margin: 8px 0;
    letter-spacing: 0.15em;
    font-family: var(--font-league-spartan);
}

.date-year {
    font-size: 2rem;
    font-weight: 600;
    color: #140C36;
    letter-spacing: 0.5em;
    font-family: var(--font-league-spartan);
    margin-top: 3px;
}

/* Save the Date button */
.save-date-slide .btn {
    margin-top: 0.5rem;
}

/* Mobile responsive for Save the Date */
@media (max-width: 768px) {
    .save-date-slide {
        padding-bottom: 160px;
        padding-top: 60px;
    }
    .save-date-title {
        font-size: 2rem !important;
    }
    .save-date-subtitle {
        font-size: 0.85rem;
        padding: 0 20px;
        margin-bottom: 0.8rem;
    }
    .date-card {
        padding: 12px 20px 10px;
    }
    .date-day {
        font-size: 3.5rem;
    }
    .date-day sup {
        font-size: 0.9rem;
        top: 5px;
    }
    .date-month {
        font-size: 1rem;
        padding: 6px 20px;
    }
    .date-year {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .save-date-slide {
        padding-bottom: 140px;
        padding-top: 50px;
    }
    .save-date-title {
        font-size: 1.6rem !important;
        margin-bottom: 0.3rem !important;
    }
    .save-date-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }
    .date-card {
        padding: 10px 18px 8px;
        border-radius: 10px;
        margin-bottom: 0.8rem;
    }
    .date-day {
        font-size: 2.8rem;
    }
    .date-day sup {
        font-size: 0.7rem;
        top: 3px;
    }
    .date-month {
        font-size: 0.85rem;
        padding: 5px 15px;
        margin: 5px 0;
    }
    .date-year {
        font-size: 1.2rem;
        letter-spacing: 0.35em;
    }
    .save-date-slide .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

/* Waitlist Section */
.waitlist {
    position: relative;
    background: url('assests/waitlist-background.webp') center/cover no-repeat;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 4rem 0;
}
.waitlist .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11,2,32,0.8), rgba(42,13,76,0.7));
}
.waitlist-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Waitlist Content Layout */
.waitlist-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.waitlist-column {
    flex: 1 1 0;
    max-width: 520px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

.instagram-column {
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    margin-right: 2rem;
}

.form-column {
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    padding-left: 2rem;
}

/* Instagram feed styling within waitlist */
.waitlist .instagram-section {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waitlist .instagram-media {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}
.waitlist h2 {
    font-size: 2rem;
    color: rgb(255, 255, 255);
    text-align: left;
    margin-bottom: 2rem;
    font-weight: bold;
    opacity: 1;
    transform: none;
    margin-top: 0;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}
.waitlist form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 1;
    transform: none;
    align-items: center;
    max-width: 600px;
    margin: 0;
}
.form-row { width: 100%; max-width: 600px; }
.form-row input {
  min-width: 200px;  
    max-width: 600px;  
    width: 100%;    
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border-radius: 2rem;
    color: #0c082a;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(45deg, #FF00FF, #00FFFF) border-box;
    border: 1px solid transparent;
    outline: none;
}
.form-row input:focus { box-shadow: 0 0 0 3px rgba(124,77,255,0.25); }
.form-message { margin-top: 8px; font-size: 14px; }
.form-row.has-error input { box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.35); }
.error-text { color: #FFAB91; font-size: 0.85rem; margin-top: 6px; }


/* Footer */
.site-footer { background: #0b072c; padding: 2rem 0; color: #fff; width: 100%; }
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-left { display: flex; align-items: center; gap: 16px; margin-right: auto; }
.footer-logo { width: 100%; max-width: 320px; height: auto; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; margin-left: auto; }
.footer-heading { margin: 0; font-size: 1.5rem; letter-spacing: 0.12rem; opacity: 1; color: #fff; font-weight: 700; }
.footer-contact-rows { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-contact-row { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.footer-phone { color: #fff; font-weight: 600; font-size: 1rem; }
.footer-icon img { width: 28px; height: 28px; display: block; filter: brightness(1) contrast(1.1); }
.footer-icon:hover img { filter: brightness(1.2) saturate(1.2); }

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; align-items: stretch; gap: 16px; }
    .footer-left { justify-content: flex-start; }
    .footer-logo { max-width: 200px; }
    .footer-right { align-items: flex-start; text-align: left; width: 100%; }
    .footer-contact-rows { align-items: flex-start; }
    .footer-contact-row { justify-content: flex-start; flex-wrap: wrap; row-gap: 8px; }
    
    /* Mobile adjustments for Follow Our Journey section */
    .follow-journey h2 { 
        font-size: 2rem; 
    }
    .follow-subtitle { 
        font-size: 1rem; 
        margin-bottom: 2rem; 
    }
    .posts-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    .post-image { 
        height: 200px; 
    }
    .post-caption { 
        padding: 1rem; 
    }
    
    /* Mobile/Tablet adjustments for Waitlist section */
    .waitlist-inner {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        height: auto;
    }
    .waitlist-content {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
        width: 100%;
        height: auto;
    }
    .waitlist-column {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        height: auto;
        margin-bottom: 0;
        padding: 2rem 1rem;
        border-radius: 12px;
    }
    .instagram-column {
        order: 1;
        margin-bottom: 0;
        align-items: center;
        justify-content: center;
        margin-right: 0;
    }
    .form-column {
        order: 2;
        margin-bottom: 0;
        align-items: flex-start;
    }
  .waitlist h2 {
        font-size: 1.75rem;
        text-align: left;
        width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.2;
    }
    .waitlist form {
        align-items: flex-start;
        max-width: 100%;
    }
    .form-row input {
        max-width: 100%;
    }
}

/* Sponsors Section */
.sponsors {
    background-color: #0b072c;
   padding: 10px 15px; 
    width: 100%;
}

.sponsors-title {
    font-size: 36px;
    color: white;
    text-align: center;
    margin: 0 0 3rem 0;
    font-weight: 700;
    font-family: var(--font-league-spartan);
}

.sponsors-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.sponsors-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Sponsors Image Section */
.sponsors-img {
    background-color: #fff;
    padding: 40px 0;
}

.sponsors-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sponsor-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b072c;
    margin-bottom: 1.5rem;
    font-family: "Lexend Deca", sans-serif;
}

.sponsor-link {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.sponsor-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.sponsor-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.co-sponsors-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.co-sponsors-images .sponsor-link {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .sponsors-img {
        padding: 30px 0;
    }
    
    .sponsors-grid {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .sponsor-group {
        width: 100%;
        max-width: 300px;
    }
    
    .sponsor-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .sponsor-image {
        max-width: 180px;
    }
    
    .co-sponsors-images {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .co-sponsors-images .sponsor-link {
        max-width: 200px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .sponsors-img {
        padding: 20px 0;
    }
    
    .sponsors-grid {
        gap: 2.5rem;
    }
    
    .sponsor-title {
        font-size: 1rem;
    }
    
    .sponsor-image {
        max-width: 160px;
    }
}
@media (max-width: 768px) {
    .sponsors {
        padding: 60px 0;
    }
    
    .sponsors-title {
        font-size: 28px;
        margin-bottom: 2rem;
    }
}



/* Mobile responsive adjustments */
@media (max-width: 768px) {
  
    
    .slides .slide:nth-child(2) .speakers-visual {
        padding-bottom: 100px;
    }
    
    .slides .slide:nth-child(2) .overlay-cta {
        display: none;
    }
    
    .slides .slide:nth-child(2) .mobile-cta {
        display: inline-block;
    }
    
    .slides .slide:nth-child(2) .slide-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: 100%;
        padding-bottom: 80px;
    }
    
    .slides .slide:nth-child(2) .speakers-visual {
        margin-top: auto;
        padding-bottom: 0;
    }
    
    .slides .slide:nth-child(2) .mobile-cta {
        margin-top: 1.5rem;
        align-self: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
  
    .slides .slide:nth-child(2) .speakers-visual {
        padding-bottom: 90px;
    }
    
    .slides .slide:nth-child(2) .overlay-cta {
        display: none;
    }
    
    .slides .slide:nth-child(2) .mobile-cta {
        display: inline-block;
    }
    
    .slides .slide:nth-child(2) .slide-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: 100%;
        padding-bottom: 80px;
    }
    
    .slides .slide:nth-child(2) .speakers-visual {
        margin-top: auto;
        padding-bottom: 0;
    }
    
    .slides .slide:nth-child(2) .mobile-cta {
        margin-top: 1.5rem;
        align-self: center;
        margin-bottom: 1rem;
    }
}

/* Mobile Slide 2 Centering Fix */
@media (max-width: 768px) {
    .slides .slide:nth-child(2) .slide-content {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0 !important;
    }
    
    .slides .slide:nth-child(2) h3 {
        margin-top: 0 !important;
        margin-bottom: 0.75rem !important;
        text-align: center !important;
    }
    
    .slides .slide:nth-child(2) h1 {
        margin-top: 0 !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }
    
    .slides .slide:nth-child(2) .speakers-visual {
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .slides .slide:nth-child(2) .speakers-visual img {
        max-width: 100% !important;
        width: 90% !important;
        height: auto !important;
        margin: 0 auto !important;
    }
}

/* News Releases Section */
.news-releases {
    background: var(--white);
    padding: 80px 0;
}

.news-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: rgb(12, 8, 42);
    font-weight: 700;
    font-family: var(--font-league-spartan);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
        border: 1.5px solid #987DE3;
        border-color: transparent;
}

.news-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: #987DE3;
}

.news-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: auto;
    min-height: 300px;
     display: flex;
    align-items: center;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(12, 8, 42);
    margin-bottom: 1rem;
    font-family: "Lexend Deca", sans-serif;
    line-height: 1.3;
}

.news-description {
    color: rgb(68, 68, 68);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

.news-read-more {
    color: rgb(12, 8, 42);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    align-self: flex-end;
    transition: color 0.3s ease;
    border: 2px solid rgb(12, 8, 42);
    padding: 8px 16px;
    border-radius: 20px;
    background: transparent;
    display: inline-block;
    margin-top: auto;
}

.news-read-more:hover {
    background: rgb(12, 8, 42);
    color: var(--white);
}

.news-view-all {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all {
    background: #000000;
    color: var(--white);
    border: 2px solid #000000;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 200ms ease;
    display: inline-block;
}

.btn-view-all:hover {
    background: var(--white);
    color: #000000;
    border-color: #000000;
}

/* Responsive Design for News Releases */
@media (max-width: 768px) {
    .news-releases {
        padding: 60px 0;
    }
    
    .news-heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 1.25rem;
    }
    
    .news-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .news-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .news-releases {
        padding: 40px 0;
    }
    
    .news-heading {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .news-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .news-read-more {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* News Page Specific Styles */

/* News Page Hero Section */
.news-hero {
    position: relative;
    height: 400px;
    background: url('assests/COF-LandingPage.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 60px; /* Account for ticker */
}

.news-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,2,32,0.6) 0%, rgba(42,13,76,0.6) 100%);
}

.news-hero .logo {
    position: relative;
    z-index: 2;
    width: 200px;
    margin-bottom: 3rem;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-hero h1 {
    margin: 0 0 2rem;
    font-size: 4rem;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-shadow: rgb(121, 121, 220) 0px 0px 5px, rgb(230, 231, 237) 0px 0px 6px, rgb(86, 109, 179) 0px 0px 7px, rgb(255, 255, 255) 0px 0px 1px, rgb(86, 95, 179) 0px 0px 10px;
    font-family: var(--font-league-spartan);
    text-align: center;
    line-height: 1;
    letter-spacing: 0.01rem;
    text-transform: uppercase;
}

.back-button {
    display: inline-block;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 200ms ease;
    cursor: pointer;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
}

.back-button:hover {
    text-decoration: underline;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.news-link {
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

/* News Page Section */
.news-page-section {
    background: var(--white);
    padding: 80px 0;
}

/* News Article Styles */
.news-article-section {
    background: var(--white);
    padding: 60px 0;
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.article-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(12, 8, 42);
    margin-bottom: 1rem;
    font-family: var(--font-league-spartan);
    line-height: 1.3;
    text-transform: uppercase;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: rgb(68, 68, 68);
    font-size: 0.9rem;
}

.article-date {
    font-weight: 600;
}

.article-category {
    background: rgb(12, 8, 42);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-image {
    width: 100%;
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.article-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.article-content {
    padding: 2rem;
    line-height: 1.7;
    color: rgb(68, 68, 68);
}

.article-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(12, 8, 42);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(12, 8, 42);
    margin: 2rem 0 1rem;
    font-family: var(--font-league-spartan);
}

.article-content ul {
    margin: 1rem 0 2rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.article-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.back-to-news {
    display: inline-block;
    padding: 12px 24px;
    background: rgb(12, 8, 42);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 200ms ease;
}

.back-to-news:hover {
    background: var(--purple-800);
    transform: translateY(-2px);
}

/* Mobile responsive adjustments for news page */
@media (max-width: 768px) {
    .news-page .ticker-wrap {
        height: 50px;
        font-size: 16px;
    }
    
    .news-hero {
        padding-top: 50px;
    }
    
    .news-hero .logo {
        width: 150px;
        margin-bottom: 1.5rem;
    }
    
    .news-hero h1 {
        font-size: 2.5rem;
    }
    
    .news-page-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .news-page .ticker-wrap {
        height: 45px;
        font-size: 14px;
    }
    
    .news-hero {
        padding-top: 45px;
    }
    
    .news-hero .logo {
        width: 120px;
        margin-bottom: 1rem;
    }
    
    .news-hero h1 {
        font-size: 2rem;
    }
    
    .news-page-section {
        padding: 40px 0;
    }
}

/* Mobile responsive for news article */
@media (max-width: 768px) {
    .news-article-section {
        padding: 40px 0;
    }
    
    .article-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-image {
        min-height: 200px;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-image {
        min-height: 180px;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-lead {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.2rem;
    }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }




/* thank you section styles */

.thank-you-visual img { max-width: 550px; width: 90%; height: auto; display:block; }
.thank-you-visual p {
    margin-top: 1rem;
    font-family: "Lexend Deca", "Lexend", sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.06em;
}

/* Reduce size on very small screens so text doesn't overflow */
@media (max-width: 480px) {
    .thank-you-visual p {
        font-size: 20px;
    }
    .thank-you-visual img { max-width: 420px; width: 95%; }
}


/* Tape gallery - Full width */
.simple-tape-gallery {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 220px;
    background: transparent;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
  }
  
  .simple-tape-track {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 25px;
    width: max-content;
    animation: simpleScroll 40s linear infinite;
    padding: 0 20px;
  }
  
  .simple-tape-track img {
    height: 180px;
    width: auto;
    min-width: 280px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    flex-shrink: 0;
    pointer-events: auto;
    display: block;
    position: relative;
  }
  
  /* Wrapper for hover effect */
  .simple-tape-item {
    position: relative;
    display: block;
    cursor: pointer;
    pointer-events: auto;
  }
  
  /* Clickable overlay link */
  .tape-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-family: "Lexend Deca", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
    pointer-events: auto;
  }
  
  .tape-overlay span {
    margin-left: 4px;
    transition: transform 0.2s ease;
  }
  
  .simple-tape-item:hover .tape-overlay {
    opacity: 1;
  }
  
  .simple-tape-item:hover .tape-overlay span {
    transform: translateX(4px);
  }
  
  /* Pause animation on gallery hover */
  .simple-tape-gallery:hover .simple-tape-track {
    animation-play-state: paused;
  }
  
  @keyframes simpleScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .simple-tape-gallery { height: 150px; }
    .simple-tape-track img { 
      height: 120px; 
      min-width: 180px;
    }
    .tape-overlay {
      font-size: 14px;
    }
  }

  /* Gallery Page Styles */
  .gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  /* Thumbnails grid - 3 per row */
  .thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
  }

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

  .thumb:hover img {
    transform: scale(1.05);
  }

  .thumb:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }

  /* Active/selected thumbnail */
  .thumb.active {
    outline: 3px solid #fff;
    outline-offset: -3px;
  }

  .thumb.active img {
    opacity: 0.6;
  }

  /* Featured Section - Middle of gallery */
  .featured-section {
    display: none;
    position: relative;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    padding: 20px;
  }

  .featured-section.active {
    display: block;
  }

  /* Close button */
  .lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid black;
    border-radius: 50%;
    color: black;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding-bottom: 2px;
    z-index: 10;
  }

  .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
  }

  /* Featured image in center */
  .featured-image {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  /* Mobile adjustments for gallery page */
  @media (max-width: 768px) {
    .gallery-container {
      padding: 20px 15px;
    }
    .thumbnails {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
    .featured-section {
      margin: 12px 0;
      padding: 12px;
    }
    .lightbox-close {
      top: 8px;
      right: 8px;
      width: 34px;
      height: 34px;
      font-size: 20px;
    }
    .featured-image {
      max-height: 380px;
    }
  }

  @media (max-width: 480px) {
    .thumbnails {
      gap: 8px;
    }
    .featured-image {
      max-height: 300px;
    }
  }

  /* ========================================
   SAVE THE DATE POPUP MODAL STYLES
   ======================================== */

/* Modal Overlay */
.std-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.std-modal-overlay.active {
    display: flex;
}

/* Modal Container */
.std-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    width: 90%;
    padding: 50px 10px 10px 10px;
    position: relative;
    animation: stdModalSlideIn 0.3s ease-out;
}

@keyframes stdModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close Button */
.std-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.std-close-btn:hover {
    color: #8e01d0;
    transform: scale(1.1);
}

/* Content Card (Dark Background) */
.std-content-card {
    background: 
        radial-gradient(ellipse at top left, rgba(135, 146, 181, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(135, 146, 181, 0.25) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a12 0%, #1a1a2e 100%);
    
    padding: 22px;
    color: #fff;
}

/* Title Section */
.std-title-section {
    margin-bottom: 18px;
}

.std-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 68px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    padding-left: 20px;
}

.std-title span {
    display: block;
}

.std-title-row {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 20px;
    flex-wrap: nowrap;
}

/* Pill Button */
.std-pill-btn {
    background: transparent;
    border: 2px solid #8e01d0;
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.std-pill-btn span {
    display: block;
}

.std-pill-btn:hover {
    background: #8e01d0;
    color: #fff;
}

/* Calendar Card */
.std-calendar-card {
    background: linear-gradient(180deg, #25033c 0%, #42066b 35%, #540e9a 70%, #8e01d0 100%);
    border-radius: 0 0 14px 14px; /* Only bottom corners rounded */
    padding: 18px 20px 25px 20px;
    position: relative;
    max-width: 320px;
    min-height: 260px;
    margin: 0 auto;
}

/* Top Squares Row */
.std-squares-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.std-square {
    width: 8px;
    height: 8px;
    background: #fff;
    display: block;
    flex-shrink: 0;
}

/* Date Content Layout */
.std-date-content {
    display: flex;
    align-items: flex-start;
    position: relative;
    min-height: 120px;
}

.std-date-left {
    display: flex;
    align-items: flex-start;
}

.std-day {
    font-family: 'Montserrat', sans-serif;
    font-size: 150px;
    font-weight: 600;
    line-height: 0.85;
    color: #fff;
}

.std-day-suffix {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-left: 2px;
    margin-top: 8px;
}

.std-date-right {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.std-month {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.std-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-top: 5px;
    letter-spacing: 0.1em;
}

.std-icons {
    margin-top: 8px;
}

.std-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 14px;
    color: #fff;
}

/* Hand Pointer */
.std-hand-pointer {
    position: absolute;
    right: -40px;
    bottom: -10px;
    width: 55px;
    height: auto;
    transform: rotate(-15deg);
}

/* Bottom Text */
.std-bottom-text {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    margin: 18px 0 0 0;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .std-modal {
        padding: 30px 16px 16px 16px;
    }
    
    .std-content-card {
        padding: 16px;
    }
    
    .std-title {
        font-size: 26px;
    }
    
    .std-pill-btn {
        font-size: 8px;
        padding: 4px 8px;
    }
    
    .std-calendar-card {
        max-width: 260px;
        min-height: 200px;
        padding: 14px 16px 20px 16px;
    }
    
    .std-day {
        font-size: 55px;
    }
    
    .std-day-suffix {
        font-size: 12px;
    }
    
    .std-month {
        font-size: 20px;
    }
    
    .std-year {
        font-size: 13px;
    }
    
    .std-hand-pointer {
        width: 40px;
    }
    
    .std-bottom-text {
        font-size: 10px;
    }
    
    .std-squares-row {
        gap: 10px;
    }
    
    .std-square {
        width: 6px;
        height: 6px;
    }
}


/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 1100px) {
  :root {
    --card-width: 280px;
  }
  .short-video .carousel-track {
    gap: 20px;
  }
}

@media (max-width: 850px) {
  :root {
    --card-width: 320px;
  }
  .short-video .header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --card-width: 100%;
  }
  .short-video {
    padding: 60px 16px;
  }
  .short-video .header h1 {
    font-size: 1.9rem;
  }
  .short-video .slider-controls {
    width: 100%;
    justify-content: center;
  }
}

/* ── EVENT VIDEOS SECTION ───────────────────────────────── */
.event-videos {
  background: #ffffff;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  color: #000;
}

.event-videos .container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.event-videos .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.event-videos .header h2 {
  font-size: clamp(2.25rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 0;
}

.event-videos .slider-controls {
  display: flex;
  gap: 12px;
}

.event-videos .slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.event-videos .slider-btn:hover:not(:disabled) {
  background: #333;
  transform: scale(1.1);
}

.event-videos .slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.event-videos .carousel-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 1262px;
  margin: 0 auto;
}

.event-videos .carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.55s cubic-bezier(0.215, 0.61, 0.355, 1);
  gap: 32px;
  padding: 0;
  margin: 0;
  will-change: transform;
}

.event-videos .video-card {
  flex: 0 0 820px;
  min-width: 820px;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 8px rgba(0,0,0,0.1);
  transition: all 0.55s ease;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.event-videos .video-card.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 2;
}

/* Thumbnail + overlay styles remain mostly same */
.event-videos .thumbnail-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  cursor: pointer;
}

.event-videos .video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-videos .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.event-videos .play-overlay:hover {
  background: rgba(0,0,0,0.55);
}

.event-videos .ytp-large-play-button {
  background: none;
  border: none;
  cursor: pointer;
  width: 68px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-videos .ytp-large-play-button svg {
  width: 100%;
  height: 100%;
}

.event-videos .ytp-large-play-button:hover .ytp-large-play-button-bg {
  fill: #cc0000;
}

.event-videos .video-iframe-wrapper {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 3;
}

.event-videos .video-iframe-wrapper.active {
  display: block;
}

.event-videos iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.event-videos .card-content {
  padding: 22px 28px;
}

.event-videos .card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.event-videos .card-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1200px) {
  .event-videos .carousel-track { gap: 28px; padding: 0 15vw; margin: 0 -15vw; }
  .event-videos .video-card { flex: 0 0 720px; min-width: 720px; }
}

@media (max-width: 900px) {
  .event-videos .carousel-track {
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 20px;
  }
  .event-videos .video-card {
    flex: 0 0 88vw;
    min-width: 88vw;
    max-width: 720px;
    transform: scale(1) translateY(0); /* no scale/offset on small screens */
    opacity: 1;
  }
  .event-videos .video-card:not(.active) {
    display: none;   /* hide sides on tablet/mobile */
  }
}