/* Homepage overrides (loads after main CSS) */

/* Section titles: single canonical pattern for all 6 sections */
.section-tag {
    display: inline-block;
    padding: 10px 24px;
    background: var(--accent-light);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-main);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--medium-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CTA band: date, time, venue in one row */
.cta-band-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}
@media (max-width: 480px) {
    .cta-band-meta {
        flex-direction: row;
        justify-content: center;
        gap: 12px 20px;
    }
    .cta-band-meta-item {
        font-size: 0.8rem;
    }
}

/* CLS: reserve space to avoid layout shift (about section, hero buttons) */
.about-us-intro {
    min-height: 580px;
}
.about-us-intro .section-header {
    min-height: 120px;
}
.about-us-intro-image-wrap {
    min-height: 0;
    background: var(--lighter-gray);
}
@media (max-width: 968px) {
    .about-us-intro {
        min-height: 520px;
    }
}
@media (max-width: 480px) {
    .about-us-intro {
        min-height: 480px;
    }
}
.hero-buttons {
    min-height: 48px;
}

/* Navbar: hamburger white when over dark hero */
.navbar:not(.scrolled) .nav-toggle span {
    background: var(--white);
}

/* Mobile nav drawer: always dark text on white drawer (overrides :not(.scrolled) white) */
@media (max-width: 768px) {
    .navbar .nav-menu .nav-link {
        color: var(--primary-dark);
    }
    .navbar .nav-menu .nav-link:hover,
    .navbar .nav-menu .nav-link.active {
        color: var(--primary-main);
    }
}

/* Testimonials: text-only cards when videos are commented out */
.testimonial-small-card > .testimonial-small-content:first-child {
    padding-top: 28px;
}

/* Footer: As featured in – logos instead of text names */
.footer-as-featured-pubs {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-pub-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-pub-logo:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.footer-pub-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.footer-pub-fallback {
    display: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
}

/* In the News: logos + CTA only (no tiles) */
.in-the-news-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}
.in-the-news-strip .news-logo-wrap {
    width: 56px;
    height: 56px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 12px;
    flex-shrink: 0;
}
.in-the-news-strip .news-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.in-the-news-strip .news-logo-fallback {
    display: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-main);
    text-transform: uppercase;
}
.in-the-news-cta-wrap {
    text-align: center;
}
.in-the-news-cta-wrap .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 576px) {
    .in-the-news-logos { gap: 24px; margin-bottom: 28px; }
    .in-the-news-strip .news-logo-wrap { width: 48px; height: 48px; }
    .in-the-news-strip .news-logo { width: 28px; height: 28px; }
}

/* Stats bar: mobile-friendly */
.stats-bar {
    overflow-x: hidden;
}

.stats-left {
    min-width: 0;
}

@media (max-width: 992px) {
    .stats-left,
    .stats-bar .stats-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .stats-bar .stat-item h3 {
        font-size: 1.75rem;
    }
    .stats-bar .stat-item p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .stats-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    .stats-left,
    .stats-bar .stats-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        width: 100%;
        max-width: 100%;
    }
    .stats-bar .stat-item h3 {
        font-size: 1.75rem;
    }
    .stats-bar .stat-item p {
        font-size: 13px;
    }
}

/* Keep 2x2 grid on small phones; slightly smaller text */
@media (max-width: 480px) {
    .stats-bar .stats-left,
    .stats-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stats-bar .stat-item h3 {
        font-size: 1.5rem;
    }
    .stats-bar .stat-item p {
        font-size: 11px;
    }
}
