/* ---- Homepage (desktop enhancements) ---- */

.home-page .hero-lead {
    font-size: 17px;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.55;
}

.home-page .hero--split .hero-lead {
    margin-left: 0;
    margin-right: 0;
}

.hero-beta-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: min(100%, 520px);
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid rgba(225, 29, 46, 0.4);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(225, 29, 46, 0.18), rgba(17, 24, 39, 0.68)),
        rgba(0, 0, 0, 0.28);
    color: var(--color-text);
    box-shadow: 0 16px 36px rgba(225, 29, 46, 0.16);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hero-beta-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(248, 113, 113, 0.75);
    box-shadow: 0 20px 44px rgba(225, 29, 46, 0.26);
}

.hero-beta-cta__icon,
.hero-beta-cta__arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(225, 29, 46, 0.2);
    color: #ff8a96;
}

.hero-beta-cta__arrow {
    width: 34px;
    height: 34px;
    margin-left: auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.hero-beta-cta__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hero-beta-cta__text strong {
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-beta-cta__text small {
    color: var(--color-text-secondary);
    font-size: 0.82rem;
    line-height: 1.35;
}

.hero-event-chip__main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hero-event-chip__meta {
    font-size: 12px;
    line-height: 1.35;
    color: var(--color-text-muted);
}

.hero-event-chip__count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
    white-space: nowrap;
}

.hero-event-chip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-event-chip strong {
    display: block;
    line-height: 1.25;
}

/* ---- Homepage mobile ---- */

@media (max-width: 768px) {
    .home-page {
        overflow-x: clip;
    }

    .home-page .section-title,
    .home-page .home-actions-eyebrow,
    .home-page .home-actions-lead,
    .home-page .home-actions-lead--compact {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .home-page .section-title {
        font-size: 1.35rem;
        margin-bottom: 18px;
        line-height: 1.2;
    }

    .home-page .home-actions-eyebrow {
        margin-bottom: 8px;
    }

    .home-page .home-actions-lead,
    .home-page .home-actions-lead--compact {
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.55;
    }

    .home-page .home-actions,
    .home-page .home-awards,
    .home-page .categories-section,
    .home-page .upcoming-section {
        margin-bottom: 36px;
    }

    .home-page .hero {
        padding: 0;
        margin-bottom: 20px;
        border-radius: 16px;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
        text-align: left;
    }

    .home-page .hero--split {
        display: block;
        padding: 0;
        gap: 0;
    }

    .home-page .hero-mosaic {
        display: none;
    }

    .home-page .hero-content {
        padding: 18px 16px 16px;
    }

    .home-page .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 0.14em;
        margin-bottom: 6px;
    }

    .home-page .hero h1 {
        font-size: 1.85rem;
        line-height: 1.05;
        margin-bottom: 8px;
        letter-spacing: 0.03em;
    }

    .home-page .hero-lead {
        margin: 0 0 18px;
        max-width: none;
        font-size: 14px;
        line-height: 1.5;
    }

    .home-page .hero-beta-cta {
        width: 100%;
        margin-bottom: 16px;
        padding: 12px;
        gap: 10px;
        border-radius: 14px;
    }

    .home-page .hero-beta-cta__icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .home-page .hero-beta-cta__arrow {
        width: 30px;
        height: 30px;
    }

    .home-page .hero-beta-cta__text strong {
        font-size: 0.9rem;
    }

    .home-page .hero-beta-cta__text small {
        font-size: 0.76rem;
    }

    .home-page .hero-events {
        margin-bottom: 14px;
    }

    .home-page .hero-events__label {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .home-page .hero-events__scroll {
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow: visible;
        scroll-snap-type: none;
        padding: 0;
        margin: 0 0 14px;
        max-height: min(42vh, 280px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .home-page .hero-event-chip {
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .home-page .hero-event-chip:hover {
        transform: none;
    }

    .home-page .hero-event-chip strong {
        font-size: 14px;
        white-space: normal;
    }

    .home-page .hero-event-chip__meta {
        font-size: 11px;
    }

    .home-page .hero-event-chip__count {
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(225, 29, 46, 0.12);
        border: 1px solid rgba(225, 29, 46, 0.22);
    }

    .home-page .hero-events .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin: 0;
    }

    .home-page .hero-events .hero-buttons .btn {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13px;
        justify-content: center;
    }

    .home-page .hero-quick-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 14px;
    }

    .home-page .hero-quick-link {
        justify-content: center;
        width: 100%;
        min-height: 40px;
        font-size: 12px;
        padding: 8px 10px;
    }

    .home-page .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .home-page .hero-stat {
        text-align: center;
        padding: 10px 6px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.22);
        border: 1px solid var(--color-border);
    }

    .home-page .hero-stat-value {
        font-size: 1.15rem;
        line-height: 1.1;
    }

    .home-page .hero-stat-label {
        font-size: 9px;
        letter-spacing: 0.06em;
        margin-top: 2px;
    }

    .home-page .home-action-card {
        padding: 18px 16px 16px;
    }

    .home-page .home-action-card__head {
        gap: 12px;
        margin-bottom: 14px;
    }

    .home-page .home-action-card h3 {
        font-size: 1rem;
    }

    .home-page .home-action-list li {
        font-size: 13px;
        padding: 6px 0 6px 26px;
        margin-bottom: 8px;
    }

    .home-page .home-action-list li::before {
        top: 8px;
        left: 2px;
    }

    .home-page .home-action-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .home-page .home-action-card__footer .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .home-page .section-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 16px;
    }

    .home-page .section-title-row .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .home-page .category-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        margin-bottom: 28px;
        scrollbar-width: none;
    }

    .home-page .category-grid::-webkit-scrollbar {
        display: none;
    }

    .home-page .category-card {
        flex-shrink: 0;
    }

    .home-page .events-grid {
        gap: 12px;
        margin-bottom: 28px;
    }

    .home-page .event-card {
        padding: 16px;
    }

    .home-page .event-card h3 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .home-page .event-meta {
        font-size: 12px;
        gap: 8px;
    }

    .home-page .event-card .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .home-page .cta-box {
        padding: 24px 16px;
        border-radius: 16px;
        text-align: left;
    }

    .home-page .cta-box h3 {
        font-size: 1.15rem;
    }

    .home-page .cta-box p {
        font-size: 14px;
        line-height: 1.5;
    }

    .home-page .cta-box .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .cta-box .hero-buttons .btn {
        width: 100%;
        max-width: none;
        min-height: 44px;
        justify-content: center;
    }

    .home-page .alert {
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .home-page .hero-events .hero-buttons {
        grid-template-columns: 1fr;
    }

    .home-page .hero-quick-links {
        grid-template-columns: 1fr;
    }
}

/* ---- Discovery feed ---- */

.home-discovery {
    margin: 48px 0 56px;
    --discovery-media-ratio: 16 / 9;
    --discovery-grid-min: 220px;
}

.home-discovery__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.home-discovery__block + .home-discovery__block {
    margin-top: 28px;
}

.home-discovery__subtitle {
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
}

.home-discovery__subtitle i {
    color: var(--color-accent);
}

.home-discovery-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--discovery-grid-min), 1fr));
    gap: 14px;
    align-items: stretch;
}

.home-discovery-event {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-discovery-event:hover {
    border-color: rgba(225, 29, 46, 0.35);
    transform: translateY(-2px);
}

.home-discovery-event__media {
    position: relative;
    aspect-ratio: var(--discovery-media-ratio);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.home-discovery-event__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-discovery-event__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(225, 29, 46, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.home-discovery-event__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-discovery-event__body strong {
    line-height: 1.25;
}

.home-discovery-event__body span {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.35;
}

.home-discovery-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--discovery-grid-min), 1fr));
    gap: 14px;
    align-items: stretch;
}

.home-discovery-photo {
    position: relative;
    aspect-ratio: var(--discovery-media-ratio);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    text-decoration: none;
}

.home-discovery-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.25s ease;
}

.home-discovery-photo:hover img {
    transform: scale(1.04);
}

.home-discovery-photo__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
}

.home-discovery-photo__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 8px 6px;
    font-size: 11px;
    line-height: 1.25;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .home-discovery {
        margin: 36px 0 44px;
    }

    .home-discovery-events,
    .home-discovery-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
