﻿/* Diary Pages */

.agenda-event-detail {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.agenda-event-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 18px;
    align-items: start;
}

.agenda-event-header-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.agenda-event-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10,168,158,.08);
    border: 1px solid rgba(10,168,158,.16);
    color: #0a6a63;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.agenda-event-date-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 120px;
    padding: 14px 10px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(10,168,158,.14) 0%, rgba(10,168,158,.07) 100%);
    border: 1px solid rgba(10,168,158,.16);
    color: #0a6a63;
    text-align: center;
}

.agenda-event-date-day {
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.05em;
}

.agenda-event-date-month,
.agenda-event-date-year {
    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.agenda-event-hero {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.06);
    background: #f3f6f8;
}

.agenda-event-hero-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.agenda-event-hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.agenda-event-hero-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,.76);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.agenda-event-meta {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.agenda-event-summary-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agenda-event-summary-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(10,168,158,.05);
    border: 1px solid rgba(10,168,158,.1);
}

.agenda-event-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(10,168,158,.12);
    color: #0a6a63;
    font-size: 16px;
}

.agenda-event-summary-value {
    display: block;
    padding-top: 7px;
    font-size: 14px;
    line-height: 1.4;
    color: #22303a;
    overflow-wrap: anywhere;
}

.agenda-event-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10,168,158,.08);
    border: 1px solid rgba(10,168,158,.16);
    color: #0a6a63;
    font-size: 12px;
    font-weight: 700;
}

.agenda-event-extract {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.68;
    color: #31404c;
    font-weight: 600;
}

.agenda-event-body {
    font-size: 15px;
    line-height: 1.72;
    color: #202b33;
}

.agenda-event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.agenda-event-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.agenda-event-aside {
    position: sticky;
    top: 96px;
}

.agenda-event-summary-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,.07);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.agenda-event-summary-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #1f2a33;
}

.agenda-event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agenda-event-actions--footer {
    padding-top: 4px;
    border-top: 1px solid rgba(15,23,42,.07);
}

.agenda-poster-open {
    overflow: hidden;
}

.agenda-poster-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
}

.agenda-poster-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 10, 18, .82);
    cursor: zoom-out;
}

.agenda-poster-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 1100px);
    height: min(90vh, 980px);
    margin: 5vh auto;
    padding: 18px;
}

.agenda-poster-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    object-fit: contain;
    background: #fff;
}

.agenda-poster-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #12202a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

@media (max-width: 900px) {
    .agenda-event-header,
    .agenda-event-layout {
        grid-template-columns: 1fr;
    }

    .agenda-event-date-card {
        width: 100%;
        min-height: 96px;
    }

    .agenda-event-aside {
        position: static;
        top: auto;
    }

    .agenda-event-hero-hint {
        right: 10px;
        bottom: 10px;
        min-height: 28px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .agenda-poster-dialog {
        width: 94vw;
        height: 88vh;
        padding: 12px;
        margin: 6vh auto;
    }
}
