:root {
    --surface: #ffffff;
    --ink: #1f2933;
    --muted: #64748b;
    --line: #d7dde6;
    --soft: #f4f7fb;
    --accent: #0d6efd;
}

body {
    min-height: 100vh;
    background: var(--soft);
    color: var(--ink);
}

.page-shell {
    min-height: 100vh;
}

.hero-band {
    background: linear-gradient(135deg, #e9f2ff 0%, #ffffff 58%, #f3f8f6 100%);
    border-bottom: 1px solid var(--line);
    padding: 5rem 0 4rem;
}

.event-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: inherit;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.event-card:hover,
.event-card:focus {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.event-header {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2rem;
}

.meta-box,
.detail-box {
    height: 100%;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.meta-box span,
.detail-box span {
    display: block;
    color: var(--muted);
    font-size: 0.8125rem;
    margin-bottom: 0.35rem;
}

.detail-box p {
    margin: 0;
}

.measurement-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}

.map-panel {
    position: relative;
    height: 320px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #e5e7eb;
}

.map-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 24rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--ink);
    font-size: 0.9375rem;
    pointer-events: none;
    z-index: 500;
}

@media (max-width: 575.98px) {
    .hero-band {
        padding: 3.25rem 0 2.75rem;
    }

    .event-header {
        padding: 1.25rem;
    }

    .measurement-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
