/* ==========================================================================
   Home Page Section Styles - Apple Design System (designsystem.md)
   Section: #evento (Sobre o Evento) - Full-Bleed Greyscale Map + Editorial
   ========================================================================== */

#evento.evento-tile {
    background-color: var(--colors-canvas, #ffffff);
    padding: var(--spacing-section, 80px) 0;
    border-bottom: 1px solid var(--colors-hairline, #e0e0e0);
    position: relative;
}

#evento.evento-tile.has-map {
    padding-top: 0;
}

/* ==========================================================================
   Full-Bleed 100% Width Greyscale Map Banner (Antes do Texto)
   ========================================================================== */

.evento-map-bleed {
    position: relative;
    width: 100%;
    margin-top: 0;
    margin-bottom: 64px;
    border-bottom: 1px solid var(--colors-hairline, #e0e0e0);
    background-color: #f2efe9;
    overflow: hidden;
}

.evento-map-iframe {
    width: 100%;
    height: 460px;
    display: block;
    border: none;
}

/* Floating Frosted Venue Badge on Monochrome Map (Canto Inferior Esquerdo) */
.evento-map-overlay-container {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2;
}

.evento-map-badge-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--rounded-pill, 9999px);
    padding: 10px 18px 10px 14px;
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

.evento-map-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--colors-primary, #0066cc);
    flex-shrink: 0;
}

.evento-map-badge-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.evento-map-badge-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--colors-ink, #1d1d1f);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evento-map-badge-sub {
    font-size: 12px;
    color: var(--colors-ink-muted-48, #7a7a7a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evento-map-badge-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--rounded-pill, 9999px);
    background-color: rgba(0, 102, 204, 0.08);
    color: var(--colors-primary, #0066cc);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.evento-map-badge-cta:hover {
    background-color: var(--colors-primary, #0066cc);
    color: #ffffff;
}

/* ==========================================================================
   Editorial Content Section (Texto do Evento)
   ========================================================================== */

.evento-content-container {
    position: relative;
}

/* Header & Eyebrow */
.evento-header {
    margin-bottom: 36px;
}

.evento-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--colors-primary, #0066cc);
    margin-bottom: 8px;
}

.evento-headline {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--colors-ink, #1d1d1f);
    margin: 0;
    word-break: break-word;
}

/* Editorial Layout Without Card */
.evento-editorial-row {
    align-items: flex-start;
}

/* Main Editorial Narrative */
.evento-narrative-text {
    font-size: 17px;
    line-height: 1.68;
    letter-spacing: -0.2px;
    color: var(--colors-ink-muted-80, #333333);
}

.evento-narrative-text > p:first-of-type {
    font-size: clamp(19px, 2.1vw, 22px);
    line-height: 1.5;
    letter-spacing: -0.25px;
    color: var(--colors-ink, #1d1d1f);
    font-weight: 400;
    margin-bottom: 24px;
}

.evento-narrative-text p {
    margin-bottom: 20px;
}

.evento-narrative-text p:last-child {
    margin-bottom: 0;
}

.evento-narrative-text h3,
.evento-narrative-text h4 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
    color: var(--colors-ink, #1d1d1f);
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.evento-narrative-text ul,
.evento-narrative-text ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.evento-narrative-text li {
    margin-bottom: 8px;
}

.evento-narrative-text a {
    color: var(--colors-primary, #0066cc);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.evento-narrative-text a:hover {
    color: var(--colors-primary-focus, #0071e3);
}

/* Sidebar Metadata */
.evento-meta-sidebar {
    border-left: 1px solid var(--colors-hairline, #e0e0e0);
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.evento-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.evento-meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--colors-ink-muted-48, #7a7a7a);
}

.evento-meta-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--colors-ink, #1d1d1f);
}

.evento-meta-action {
    margin-top: 8px;
}

.evento-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--colors-surface-pearl, #fafafc);
    border: 1px solid var(--colors-hairline, #e0e0e0);
    border-radius: var(--rounded-pill, 9999px);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--colors-primary, #0066cc);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.evento-directions-btn:hover {
    background-color: rgba(0, 102, 204, 0.08);
    border-color: var(--colors-primary, #0066cc);
    color: var(--colors-primary-focus, #0071e3);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991.98px) {
    #evento.evento-tile {
        padding: 56px 0;
    }

    #evento.evento-tile.has-map {
        padding-top: 0;
    }

    .evento-map-bleed {
        margin-bottom: 48px;
    }

    .evento-map-iframe {
        height: 380px;
    }

    .evento-meta-sidebar {
        border-left: none;
        border-top: 1px solid var(--colors-hairline, #e0e0e0);
        padding-left: 0;
        padding-top: 28px;
        margin-top: 16px;
    }

    .evento-map-badge-card {
        border-radius: var(--rounded-lg, 18px);
        padding: 12px 14px;
    }
}

@media (max-width: 767.98px) {
    .evento-map-overlay-container,
    .evento-map-badge-card {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    #evento.evento-tile {
        padding: 40px 0;
    }

    #evento.evento-tile.has-map {
        padding-top: 0;
    }

    .evento-map-bleed {
        margin-bottom: 36px;
    }

    .evento-headline {
        font-size: 28px;
    }

    .evento-narrative-text {
        font-size: 16px;
    }

    .evento-narrative-text > p:first-of-type {
        font-size: 18px;
    }

    .evento-map-iframe {
        height: 320px;
    }

    .evento-map-overlay-container,
    .evento-map-badge-card {
        display: none !important;
    }
}
