﻿/**
 * Airport detail page (/airports/{slug}) вЂ” hero composition.
 */
.ep-hero--airport .ep-hero__layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 900px) {
    .ep-hero--airport .ep-hero__layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
        gap: 1.75rem;
        align-items: end;
    }
}

.ep-hero--airport .ep-title {
    margin-bottom: 0.55rem;
}

.ep-hero--airport .ep-lede {
    margin-bottom: 0.85rem;
}

.ep-place {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
    margin: 0 0 0.85rem;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    color: var(--ep-label);
}

.ep-place__flag {
    width: 1.25rem;
    height: 0.85rem;
    border-radius: 2px;
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.ep-place__country {
    color: var(--ep-text);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.ep-place__sep {
    color: var(--ep-label);
    opacity: 0.7;
}

.ep-place__city {
    color: var(--ep-label);
}

/* Quiet live status вЂ” no pill, no glow */
.ep-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ep-label);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.ep-status__dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--ep-accent);
    flex-shrink: 0;
}

.ep-status__text {
    color: var(--ep-text);
    font-weight: 600;
}

.ep-status--quiet {
    color: var(--ep-label);
}

.ep-status--quiet .ep-status__dot {
    background: var(--ep-label);
    opacity: 0.45;
}

.ep-hero--airport .ep-hero__aside {
    margin: 0;
}

.ep-hero--airport .ep-metrics {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.ep-hero--airport .ep-metrics__item {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.7rem 0.75rem;
}

.ep-hero--airport .ep-metrics__value {
    font-size: 0.9rem;
}

@media (max-width: 899px) {
    .ep-hero--airport .ep-hero__aside .ep-metrics {
        width: 100%;
    }
}

.ep-ext-link {
    color: var(--ep-accent);
    text-decoration: none;
    font-weight: 600;
}

.ep-ext-link:hover {
    text-decoration: underline;
}

/* Nearby airports вЂ” compact list, no placeholder cards */
.ep-nearby {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ep-nearby__item {
    margin: 0;
}

.ep-nearby__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: var(--ep-surface);
    border: 0.5px solid var(--ep-separator);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ep-nearby__link:hover,
.ep-nearby__link:focus-visible {
    border-color: color-mix(in srgb, var(--ep-accent) 40%, var(--ep-separator));
    background: color-mix(in srgb, var(--ep-accent) 6%, var(--ep-surface));
    outline: none;
}

.ep-nearby__main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.ep-nearby__title {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--ep-text);
}

.ep-nearby__meta {
    font-size: 0.8125rem;
    color: var(--ep-label);
}

.ep-nearby__distance {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: var(--ep-text);
    white-space: nowrap;
}

/* Hub demand profile notes */
.ep-hub-why {
    margin-top: 0.85rem;
}

.ep-hub-note {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--ep-label);
}
/* Selected Airport pages use the checklist teal for text accents. */
.airport-page {
    --ep-accent: #11877F;
}

:root[data-theme="dark"] .airport-page { --ep-accent: #49C8BF; }

