/* Public event detail page (Plan 25). */

.event-detail-page .event-hero {
    margin-bottom: 1.5rem;
}
.event-detail-page .event-hero img,
.event-detail-page .event-hero iframe {
    max-width: 100%;
    border-radius: 6px;
}
.event-detail-page .event-hero iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.event-detail-page h1.event-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.event-detail-page .event-summary {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.event-cancellation-banner,
.event-postpone-banner {
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.event-cancellation-banner { background: #f8d7da; color: #842029; border: 1px solid #f1aeb5; }
.event-postpone-banner    { background: #fff3cd; color: #664d03; border: 1px solid #ffe69c; }

.event-section {
    margin-bottom: 2rem;
}
.event-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #e0e4e8;
    padding-bottom: 0.5rem;
}

.event-occurrences-list {
    list-style: none;
    padding-left: 0;
}
.event-occurrences-list .occurrence-item {
    background: #f6f8fa;
    border-left: 4px solid #0066CC;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0 4px 4px 0;
}
.event-occurrences-list .occurrence-item.past-occurrence {
    opacity: 0.6;
    border-left-color: #888;
}
.event-occurrences-list .occurrence-date {
    font-weight: 600;
    color: #333;
    display: block;
}
.event-occurrences-list .occurrence-time { color: #555; }
.event-occurrences-list .occurrence-location {
    color: #0066CC;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}
.event-occurrences-list .occurrence-notes {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    margin-top: 0.25rem;
}

.event-register-cta {
    background: #e7f1fb;
    border-radius: 6px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.event-register-cta .cta-text { color: #1e5180; font-weight: 600; }
.event-register-cta .cta-button { white-space: nowrap; }

.event-register-cta--closed {
    background: #f4f4f5;
    color: #71717a;
}

.event-related .related-card {
    display: block;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 6px;
    padding: 1rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}
.event-related .related-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.event-related .related-card h5 {
    color: #0066CC;
    margin-bottom: 0.25rem;
}
