/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 5rem; overflow-x: hidden; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f8f9fa;
    overflow-x: hidden;
}
a { color: #0066cc; text-decoration: none; transition: color 0.2s; }
a:hover { color: #004499; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* === FLIGHT UNAVAILABLE STATE === */
.flight-unavailable {
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #666;
    margin: 1rem 0;
}
.flight-unavailable .unavailable-icon {
    font-size: 2.5rem;
    color: #e67e22;
    margin-bottom: 0.75rem;
}
.flight-unavailable h3 {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 0.5rem;
}
.flight-unavailable p {
    max-width: 550px;
    margin: 0.5rem auto;
    font-size: 0.9rem;
    line-height: 1.5;
}
.flight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.flight-meta small { color: #888; }

/* === HEADER === */
.site-header {
    background: #1a1a2e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.5rem 1rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; color: #c0c0e0; transition: color 0.2s, filter 0.2s; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.1rem; }
.logo-text small { font-size: 0.7rem; color: #a0a0c0; }
.logo:hover .logo-text strong { color: #f0a050; }

/* Weather */
.weather-widget { flex-shrink: 0; margin-left: auto; }
.weather-widget a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.weather-widget a:hover { background: rgba(255,255,255,0.2); }
.weather-temp { font-weight: 600; }
.weather-desc { display: none; }
@media(min-width:1100px) { .weather-desc { display: inline; } }

/* Nav */
.main-nav {
    flex: 1 1 100%;
    overflow: visible;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0.4rem;
}
.main-nav > ul {
    display: flex;
    gap: 0.25rem;
    flex-wrap: nowrap;
}
.main-nav a {
    color: #c0c0e0;
    padding: 0.45rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
    color: #f0a050;
    background: rgba(240,160,80,0.1);
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.3);
}
.nav-overlay.visible {
    display: block;
}

@media(max-width:900px) {
    .nav-toggle { display: flex; z-index: 102; }
    .main-nav {
        display: none;
        flex: unset;
        overflow-x: visible;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .main-nav.open { display: block; z-index: 101; }
    .main-nav > ul { flex-direction: column; flex-wrap: wrap; gap: 0.25rem; }
    .main-nav a { display: block; padding: 0.6rem 0.75rem; }
}

/* === MAIN CONTENT === */
.site-main { padding: 1.5rem 0 3rem; min-height: 60vh; }

/* === PAGE HEADER === */
.page-header {
    margin-bottom: 2rem;
    padding: 1.35rem 1.45rem 1.25rem;
    border: 1px solid #e4e8f1;
    border-radius: 1rem;
    background:
        radial-gradient(circle at top right, rgba(91, 141, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 24px rgba(18, 31, 53, 0.05);
}
.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.page-header-title-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.page-header-title-row .flag-icon {
    margin-top: -0.1rem;
}
.page-header-title-row h1 {
    margin-bottom: 0.5rem;
}
.page-header .lead {
    font-size: 1.05rem;
    color: #555;
    max-width: 700px;
}

.page-header .entity-kicker {
    margin-bottom: 0.8rem;
}

.page-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.page-header-meta .meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #314c7f;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.entity-metrics-section {
    margin-top: -0.75rem;
}

.entity-metrics-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.entity-metrics-strip .stats-badge {
    flex: 1 1 160px;
    min-width: 160px;
}

/* === HOMEPAGE SEO HUB === */
.hero--home-seo {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(210px, 0.68fr);
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.8rem;
    margin-bottom: 1.25rem;
    border: 1px solid #dfe7f6;
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at top right, rgba(91, 141, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f3f8ff 54%, #eef4ff 100%);
    box-shadow: 0 14px 34px rgba(18, 31, 53, 0.08);
}

.hero--home-seo .hero-content {
    max-width: 760px;
}

.hero--home-seo h1 {
    margin-bottom: 0.85rem;
}

.hero--home-seo p {
    max-width: 62ch;
    color: #4d5970;
}

.hero-clock--expanded {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-self: end;
    width: 100%;
    max-width: 228px;
    min-height: 100%;
    padding: 0.8rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid #d7e0f2;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-clock--expanded .hero-clock-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5d6c89;
}

.hero-clock--expanded .hero-clock-time {
    margin-top: 0.2rem;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.05;
}

.hero-clock--expanded .hero-clock-date {
    margin-top: 0.2rem;
    color: #5d6780;
    font-size: 0.82rem;
}

.hero-clock-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.quick-links--enhanced {
    margin-bottom: 1.25rem;
}

.quick-links--enhanced .quick-link {
    min-height: 86px;
    align-items: flex-start;
}

.quick-links--enhanced .quick-link span:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.quick-links--enhanced .quick-link strong {
    font-size: 0.95rem;
    line-height: 1.3;
}

.quick-links--enhanced .quick-link small {
    color: #657089;
    line-height: 1.45;
}

.home-metrics-strip {
    margin-top: -0.15rem;
    margin-bottom: 0;
}

.home-live-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-live-panel {
    padding: 1.2rem 1.2rem 1.1rem;
}

.entity-metrics-strip--compact {
    margin: 0.5rem 0 1rem;
}

.entity-metrics-strip--compact .stats-badge {
    min-width: 140px;
    padding: 0.85rem 0.95rem;
}

.entity-metrics-strip--compact .stats-number {
    font-size: 1.15rem;
}

.entity-metrics-strip--compact .stats-label {
    font-size: 0.78rem;
}

.home-flight-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 1rem 0 1.1rem;
}

.home-flight-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid #e5ebf5;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.home-flight-item__time {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.home-flight-item__scheduled {
    font-size: 0.98rem;
    font-weight: 700;
    color: #13233d;
}

.home-flight-item__current {
    font-size: 0.78rem;
    color: #66748f;
}

.home-flight-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.home-flight-item__body strong {
    font-size: 0.94rem;
    line-height: 1.25;
    color: #15233c;
}

.home-flight-item__body span {
    display: block;
    color: #5a677f;
    font-size: 0.82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.home-flight-item__status {
    justify-self: end;
}

/* === BREADCRUMB === */
.breadcrumb-nav {
    margin-bottom: 1.25rem;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.82rem;
    color: #666;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.breadcrumb-item::after {
    content: '›';
    margin: 0 0.45rem;
    color: #bbb;
    font-size: 0.95rem;
    font-weight: 300;
}
.breadcrumb-item:last-child::after { content: ''; margin: 0; }
.breadcrumb-item a {
    color: #0066cc;
    padding: 0.1rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.breadcrumb-item a:hover { border-bottom-color: #0066cc; text-decoration: none; }
.breadcrumb-item.current { color: #333; font-weight: 600; }

/* === FLIGHT TABLE === */
/* === FLIGHT STATS STRIP === */
.flight-stats-strip {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e0e0ea;
    border-radius: 0.65rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.stats-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}
.stats-badges-row .stats-badge {
    flex: 1 1 0;
}
.stats-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    min-width: 4.5rem;
}
.stats-badge .stats-number {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.stats-badge .stats-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.stats-total { background: #f0f4ff; }
.stats-total .stats-number { color: #1a1a2e; }
.stats-completed { background: #e8f5e9; }
.stats-completed .stats-number { color: #2e7d32; }
.stats-active { background: #e3f2fd; }
.stats-active .stats-number { color: #1565c0; }
.stats-scheduled { background: #f5f5f5; }
.stats-scheduled .stats-number { color: #555; }
.stats-late { background: #fff3e0; }
.stats-late .stats-number { color: #e65100; }
.stats-cancelled { background: #fce4ec; }
.stats-cancelled .stats-number { color: #c62828; }
.stats-bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}
.stats-mini-bar {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: #edf1f7;
}
.stats-mini-bar span { display: block; height: 100%; }
.stats-bar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    font-size: 0.78rem;
    color: #555;
}
.stats-bar-legend .legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.flight-table-wrapper { margin: 1.5rem 0; }
.flight-filters { margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.flight-search {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem 1rem;
    border: 2px solid #dde;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.flight-search:focus { outline: none; border-color: #0066cc; }
.flight-time-filter {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}
.time-filter-btn {
    padding: 0.35rem 0.85rem;
    border: 1px solid #dde;
    border-radius: 2rem;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.time-filter-btn:hover { border-color: #0066cc; color: #0066cc; }
.time-filter-btn.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}
.flight-filter-label {
    display: none;
    margin-top: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: #fff8f0;
    border-left: 3px solid #f0a050;
    border-radius: 0 0.35rem 0.35rem 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: #8a6020;
}
.flight-filter-label.visible { display: block; }
.table-responsive { overflow-x: auto; }
.flight-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(18, 31, 53, 0.08);
    border: 1px solid #e6ebf4;
}
.flight-table thead {
    background: #1a1a2e;
    color: #fff;
}
.flight-table th {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.flight-table--sticky thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}
.flight-table th.col-current {
    color: #d6ecff;
}
.flight-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #edf1f7;
    font-size: 0.88rem;
    vertical-align: middle;
}
.flight-table tbody tr:nth-child(even) { background: #fbfcff; }
.flight-table tbody tr:hover { background: #f0f4ff; }
.flight-table { min-width: 640px; }
.flight-time { min-width: 4.5rem; }
.flight-number { white-space: nowrap; min-width: 5.5rem; }
.flight-airline { min-width: 6rem; }
.flight-time-cell {
    white-space: nowrap;
}
.flight-time-cell--scheduled .time-scheduled {
    font-weight: 700;
    color: #16233c;
}
.flight-time-cell--current .time-estimated {
    font-weight: 700;
    color: #214f8a;
}
.flight-time-cell .time-muted {
    color: #95a0b4;
    font-weight: 600;
}
.flight-time .time-scheduled { font-weight: 600; }
.flight-time .time-actual { font-weight: 700; display: block; }
.flight-time .time-original {
    display: block;
    font-size: 0.78rem;
    color: #999;
    text-decoration: line-through;
}
.flight-time .time-delay {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
}
.flight-time .delay-late { color: #e65100; }
.flight-time .time-date-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: #7b61a0;
    border-radius: 0.25rem;
    padding: 0.05rem 0.35rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.flight-time .delay-early { color: #2e7d32; }
.flight-number { white-space: nowrap; }
.flight-number strong { color: #1a1a2e; }
.flight-airline a { color: #0066cc; }
.flight-airline a:hover { text-decoration: underline; }
.flight-city { min-width: 7rem; }
.flight-city a { color: #1a1a2e; font-weight: 500; }
.flight-city a:hover { color: #0066cc; text-decoration: underline; }
.flight-country { display: block; color: #999; font-size: 0.75rem; line-height: 1.2; }
.iata-code { color: #888; font-size: 0.78rem; }

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-scheduled { background: #e8f4fd; color: #1a73e8; }
.status-active { background: #e8f5e9; color: #2e7d32; }
.status-landed { background: #e8f5e9; color: #1b5e20; }
.status-cancelled { background: #fdecea; color: #c62828; }
.status-delayed { background: #fff3e0; color: #e65100; }
.status-diverted { background: #f3e5f5; color: #6a1b9a; }
.status-unknown { background: #f5f5f5; color: #666; }

.no-flights { text-align: center; padding: 2rem; color: #888; }
.flight-disclaimer { margin-top: 1rem; color: #888; }

/* === CARDS / CONTENT SECTIONS === */
.content-section { margin-bottom: 2.5rem; }
.content-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}
.content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}
.content-section p { margin-bottom: 0.75rem; color: #444; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}
.card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #1a1a2e; }
.card p { font-size: 0.9rem; color: #555; }
.stat-card-center { text-align: center; }
.stat-card-center .stat-number { font-size: 2rem; font-weight: 700; margin: 0; line-height: 1.3; }
.stat-card-center .stat-desc { font-size: 0.9rem; color: #555; margin: 0; }
a.card-clickable { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.card-clickable:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.stats-summary-grid { grid-template-columns: repeat(3, 1fr) !important; }
.card .card-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hub card grid */
.hub-card-grid { grid-template-columns: repeat(3, 1fr) !important; }
.hub-card { text-align: center; padding: 1.5rem 1.25rem; }
.hub-card-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.hub-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.hub-card p { font-size: 0.88rem; color: #555; line-height: 1.5; margin-bottom: 0; }
.hub-card .card-link { display: inline-block; margin-top: 0.75rem; font-weight: 600; font-size: 0.9rem; color: #0066cc; }
.hub-entity-card {
    text-decoration: none;
    color: inherit;
    border-radius: 1rem;
    border: 1px solid #e4e8f1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 18px rgba(18, 31, 53, 0.05);
    min-height: 100%;
}
.hub-entity-card:hover {
    border-color: #cad8f2;
    box-shadow: 0 12px 24px rgba(18, 31, 53, 0.08);
}
.hub-entity-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.08rem;
    line-height: 1.3;
}
.hub-entity-card p {
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    line-height: 1.5;
}
.hub-entity-card p:last-child { margin-bottom: 0; }
.hub-entity-card strong {
    color: #445068;
}
.country-hub-grid,
.city-hub-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; }

/* Heatmap table */
.heatmap-table td, .heatmap-table th { white-space: nowrap; }

.card-map {
    display: flex;
    flex-direction: column;
}

.card-grid-with-map .card-map-wide {
    grid-column: 1 / -1;
}

.route-map-card,
.airport-map-card {
    border: 1px solid #e3e9f4;
    box-shadow: 0 12px 28px rgba(18, 31, 53, 0.07);
}

.route-map-card .osm-widget-preview iframe {
    height: 420px;
}

.airport-map-card .osm-widget-preview iframe {
    height: 400px;
}

.card-grid.city-overview-grid {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: stretch;
}

.card-grid.country-overview-grid {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: stretch;
}

.card-grid.airport-overview-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    align-items: stretch;
}

.card-grid.airport-overview-grid.airport-overview-grid--with-side-map {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(380px, 1.35fr);
}

.city-summary-card p:last-child {
    margin-bottom: 0;
}

.country-summary-card p:last-child {
    margin-bottom: 0;
}

.city-map-card {
    min-width: 0;
}

.country-map-card {
    min-width: 0;
}

.osm-widget {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.osm-widget-preview {
    position: relative;
    border: 1px solid #d8dee8;
    border-radius: 0.75rem;
    overflow: hidden;
    min-height: 210px;
    background: linear-gradient(135deg, #eef4ef 0%, #f7faf8 100%);
}

.osm-widget-preview iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.card-map-wide .osm-widget-preview iframe {
    height: 360px;
}

.city-map-card .osm-widget-preview iframe {
    height: 320px;
}

.country-map-card .osm-widget-preview iframe {
    height: 320px;
}

.osm-fullscreen-btn {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: rgba(26, 26, 46, 0.78);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
}

.osm-fullscreen-btn:hover {
    background: rgba(26, 26, 46, 0.92);
}

.map-help {
    margin-bottom: 0;
}

.map-overlay iframe {
    background: #fff;
}

/* Info box */
.info-box {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.info-box.highlight {
    border-left: 4px solid #0066cc;
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin: 1rem 0;
}
.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.comparison-table thead th {
    background: #f0f2f5;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}
.comparison-table tbody tr:hover { background: #f8f9ff; }

/* Airline detail page grids */
.airline-overview-grid {
    grid-template-columns: minmax(300px, 1.2fr) minmax(280px, 1fr) !important;
    align-items: start;
}
.airline-fleet-grid {
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr) !important;
    align-items: start;
}

/* Airline list */
.airline-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}
.airline-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.12); }
.airline-iata {
    background: #1a1a2e;
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 0.35rem;
    font-size: 1rem;
    flex-shrink: 0;
    min-width: 3rem;
    text-align: center;
}
.airline-info h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.airline-info p { font-size: 0.85rem; color: #666; margin: 0; }
.airline-info a { font-size: 0.85rem; }

/* Quick links grid */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    font-weight: 600;
    color: #1a1a2e;
    transition: all 0.2s;
}
.quick-link:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); color: #0066cc; }
.quick-link-icon { font-size: 1.5rem; }

/* Hero section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.hero-content { flex: 1; min-width: 0; }
.hero h1 { font-size: 2rem; margin-bottom: 0.75rem; }
.hero p { font-size: 1.05rem; color: #c0c0e0; max-width: 600px; }
.hero-cta {
    display: inline-flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.hero-clock {
    flex-shrink: 0;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}
.hero-clock-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0a0c0;
    margin-bottom: 0.35rem;
}
.hero-clock-time {
    font-size: 2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.hero-clock-date {
    font-size: 0.8rem;
    color: #a0a0c0;
    margin-top: 0.25rem;
}
@media(max-width: 700px) {
    .hero { flex-direction: column; align-items: flex-start; }
    .hero-clock { align-self: stretch; }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    text-decoration: none;
    line-height: 1.2;
}
.hero-cta .btn {
    padding: 0.78rem 1.7rem;
    min-height: 44px;
}
.btn-primary { background: #0066cc; color: #fff; }
.btn-primary:hover { background: #0055b3; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; color: #fff; }

/* === AD SLOTS === */
.ad-slot {
    min-height: 1px;
    margin: 1.5rem 0;
    text-align: center;
}

/* === FAQ SECTION === */
.faq-list { margin: 1rem 0; }
.faq-item {
    background: #fff;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: #1a1a2e;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}
.faq-question::after { content: none; }
.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1rem;
}
.faq-answer p { color: #555; font-size: 0.9rem; }

/* Travelpayouts */
.search-widget {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* === FOOTER === */
.site-footer {
    background: #1a1a2e;
    color: #c0c0d0;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
@media(max-width:900px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
    .footer-col h3 { font-size: 0.88rem; }
    .footer-col a { font-size: 0.8rem; }
}
@media(max-width:600px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.75rem; }
    .footer-col h3 { font-size: 0.82rem; margin-bottom: 0.5rem; }
    .footer-col a { font-size: 0.75rem; }
    .footer-col ul li { margin-bottom: 0.25rem; }
}
.footer-col h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-col ul li { margin-bottom: 0.35rem; }
.footer-col a { color: #a0a0c0; font-size: 0.85rem; }
.footer-col a:hover { color: #fff; }
.footer-meta-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}
.footer-meta-nav a {
    color: #a0a0c0;
    font-size: 0.82rem;
}
.footer-meta-nav a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}
.footer-bottom p { margin: 0; }
.footer-legal {
    font-size: 0.72rem;
    color: #777;
    margin-top: 0.25rem;
}
.legal-small {
    font-size: 0.82rem;
    color: #888;
    margin-top: 0.75rem;
}

.entity-copy {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.entity-copy h3 {
    margin-top: 0;
}

.entity-copy--prominent {
    padding: 1.6rem 1.75rem;
    border: 1px solid #e4e8f1;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,255,0.96) 100%);
    box-shadow: 0 10px 24px rgba(18, 31, 53, 0.06);
}

.entity-copy--prominent p + p {
    margin-top: 0.95rem;
}

.entity-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
    gap: 1rem;
    align-items: start;
}

.entity-story-grid--three {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.8fr) minmax(280px, 1fr);
}

.entity-aside-stack {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.entity-panel {
    background: #fff;
    border: 1px solid #e4e8f1;
    border-radius: 0.85rem;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 4px 14px rgba(18, 31, 53, 0.05);
}

.entity-panel h3,
.entity-panel h4 {
    margin-top: 0;
    margin-bottom: 0.55rem;
    font-size: 1.08rem;
    line-height: 1.3;
    color: #182640;
}

.entity-panel p:last-child,
.entity-panel ul:last-child {
    margin-bottom: 0;
}

.entity-panel-lead {
    color: #4f5a70;
    font-size: 0.93rem;
}

.entity-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #365b9b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: fixed;
}

.summary-table tr + tr td {
    border-top: 1px solid #edf1f7;
}

.summary-table td {
    padding: 0.5rem 0;
    vertical-align: top;
    line-height: 1.45;
}

.summary-table td:first-child {
    width: 38%;
    color: #5e6a82;
    font-weight: 600;
    padding-right: 0.85rem;
    word-break: break-word;
}

.summary-table td:last-child {
    color: #1f2d45;
    word-break: break-word;
}

.summary-table a {
    font-weight: 600;
}

.entity-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.entity-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 132px;
    padding: 1rem 1.05rem;
    border-radius: 0.9rem;
    border: 1px solid #e4e8f1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 6px 16px rgba(18, 31, 53, 0.05);
    color: #1a1a2e;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.entity-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(18, 31, 53, 0.09);
    border-color: #cad8f2;
    color: #1a1a2e;
}

.entity-link-card .entity-link-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.entity-link-card .entity-link-copy {
    display: block;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #5c667c;
}

.entity-link-card .entity-link-meta {
    display: block;
    margin-top: auto;
    font-size: 0.78rem;
    color: #4d6f9d;
    font-weight: 600;
}

.entity-link-card .entity-link-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.entity-link-card .entity-link-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #35588f;
    font-size: 0.74rem;
    font-weight: 600;
}

.related-links--cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.related-links.related-links--cards > a,
.related-links.related-links--cards > span {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 112px;
    padding: 1rem 1.05rem;
    border-radius: 0.9rem;
    border: 1px solid #e4e8f1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 6px 16px rgba(18, 31, 53, 0.05);
    color: #1a1a2e;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.related-links.related-links--cards > a:hover,
.related-links.related-links--cards > span:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(18, 31, 53, 0.09);
    border-color: #cad8f2;
}

.related-links--cta-cards {
    margin-top: 1rem;
}

.related-links--cta-cards > a {
    min-height: 96px;
}

.related-links.related-links--cards .entity-link-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.related-links.related-links--cards .entity-link-copy {
    display: block;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #5c667c;
}

.homepage-airline-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 42px;
}

.homepage-airline-card__logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(18, 31, 53, 0.1);
    padding: 0.25rem;
}

.homepage-airline-card .entity-link-title {
    margin: 0;
}

.section-intro {
    margin: -0.2rem 0 1rem;
    color: #56627a;
    max-width: 760px;
    line-height: 1.6;
}

.section-intro strong {
    color: #22314f;
}

/* === STAT CARDS === */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.stat-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
}
.stat-card .stat-label {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
    display: block;
}

/* === CHARTS === */
.chart-container {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.chart-container h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a2e;
}
.chart-container canvas {
    max-height: 350px;
}
.chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media(max-width:768px) {
    .chart-row { grid-template-columns: 1fr; }
}

/* === INSIGHTS === */
.insight-summary {
    background: #fff;
    border-left: 4px solid #0066cc;
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* === DATE NAV === */
.date-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.date-nav a {
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 500;
    background: #f0f2f5;
    color: #555;
    transition: all 0.2s;
}
.date-nav a:hover, .date-nav a.current {
    background: #1a1a2e;
    color: #fff;
}

/* === RELATED LINKS === */
.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
    list-style: none;
    padding: 0;
}
.related-links li {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e0e0ea;
    border-radius: 0.65rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}
.related-links li:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0,102,204,0.1);
}
.related-links li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    margin-bottom: 0.25rem;
}
.related-links li a:hover { color: #0066cc; }
/* div > a pattern (route pages) */
.related-links > a {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e0e0ea;
    border-radius: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    text-decoration: none;
}
.related-links > a:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0,102,204,0.1);
    color: #0066cc;
}

.nearby-airport-card__name {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.45rem;
}

.nearby-airport-card__meta {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    line-height: 1.5;
}

.nearby-airport-card__meta + .nearby-airport-card__meta {
    margin-top: 0.15rem;
}

.nearby-airport-card-grid > a,
.nearby-airport-card-grid > span {
    min-height: 136px;
    justify-content: flex-start;
}

.nearby-airport-card-grid .nearby-airport-card__meta strong {
    color: #3a4863;
}

.airline-profile-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #dfe7f4;
    box-shadow: 0 12px 28px rgba(18, 31, 53, 0.07);
}

.airline-profile-card__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.airline-profile-card__logo {
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(18, 31, 53, 0.12);
    background: #fff;
}

.airline-profile-card__status {
    margin-top: 0.2rem;
    color: #55627a;
}

.airline-profile-card__facts {
    margin-bottom: 1rem;
}

.airline-profile-card__socials,
.airline-profile-card__description {
    margin-top: 0.9rem;
}

.airline-profile-card__fleet {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5ebf4;
}

.airline-profile-card__fleet h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.airline-profile-card__fleet-note {
    font-size: 0.82rem;
    color: #758097;
    margin-bottom: 0;
}

.punctuality-summary-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #dfe7f4;
    border-top: 4px solid #2e7d32;
    box-shadow: 0 12px 28px rgba(18, 31, 53, 0.07);
}

.punctuality-summary-card.status-unknown {
    border-top-color: #8c8f96;
}

.punctuality-summary-card.status-delayed {
    border-top-color: #e65100;
}

.punctuality-summary-card__lead {
    color: #55627a;
    margin-bottom: 1rem;
}

.punctuality-summary-card__hero {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.punctuality-summary-card__signal {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #55627a;
    font-size: 0.82rem;
    font-weight: 600;
}

.punctuality-summary-card__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}

.punctuality-summary-card.status-active .punctuality-summary-card__signal {
    color: #2e7d32;
}

.punctuality-summary-card.status-unknown .punctuality-summary-card__signal {
    color: #8c8f96;
}

.punctuality-summary-card.status-delayed .punctuality-summary-card__signal {
    color: #e65100;
}

.punctuality-summary-card__percent {
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 800;
    color: #16233c;
}

.punctuality-summary-card__label {
    color: #55627a;
    font-size: 0.9rem;
    font-weight: 600;
}

.punctuality-summary-card__meta {
    margin: 0.85rem 0 0;
    color: #758097;
    font-size: 0.82rem;
}

.punctuality-summary-card__breakdown {
    margin: 0.5rem 0 0.25rem;
    font-size: 0.8rem;
    color: #4a5568;
    letter-spacing: 0.01em;
    text-align: center;
}

.punctuality-summary-card__explanation {
    margin: 0.8rem 0 0;
    color: #55627a;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* === LAZY MAP === */
.map-lazy-container {
    background: #f0f2f5;
    border-radius: 0.75rem;
    padding: 2.5rem;
    text-align: center;
}
.map-help {
    margin: 0.9rem 0 0;
    color: #666;
}
.map-help a {
    color: #0066cc;
    font-weight: 500;
}
.map-help a:hover { text-decoration: underline; }
.map-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.map-overlay-inner {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 80vh;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
}
.map-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    z-index: 10;
    background: #fff;
    border: none;
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.map-close-btn:hover { background: #f0f0f0; }

/* === DROPDOWN MENU === */
.has-dropdown {
    position: relative;
}
.has-dropdown > a .dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 2px;
    vertical-align: middle;
    opacity: 0.7;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    min-width: 220px;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 1100;
    padding: 0.35rem 0;
}
.has-dropdown.open > .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    display: block;
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #c0c0e0;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 0;
}
.dropdown-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

@media(max-width:900px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: 0.35rem;
        margin: 0.25rem 0 0.25rem 0.75rem;
        min-width: unset;
    }
    .has-dropdown.open > .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* === PAGE HERO (2026 SEO) === */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}
.page-hero h1 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
.page-hero .hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 750px;
    line-height: 1.6;
}

/* === TABLE OF CONTENTS === */
.toc-box {
    background: #fff;
    border: 1px solid #e0e0ea;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.toc-header strong {
    font-size: 1rem;
    color: #1a1a2e;
}
.toc-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    width: 1.75rem;
    height: 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #666;
    line-height: 1;
    transition: background 0.2s;
}
.toc-toggle:hover { background: #f5f5fa; }
.toc-box.collapsed .toc-list { display: none; }
.toc-box.collapsed .toc-header { margin-bottom: 0; }
.toc-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: decimal;
}
.toc-list li {
    margin: 0.3rem 0;
    line-height: 1.5;
}
.toc-list a {
    color: #0066cc;
    font-size: 0.9rem;
    text-decoration: none;
}
.toc-list a:hover {
    text-decoration: underline;
}

/* === FAQ ACCORDION === */
.faq-accordion {
    margin: 1rem 0 0.5rem;
}
.faq-item {
    border: 1px solid #e8e8ee;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #fafafe;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    gap: 0.75rem;
    transition: background 0.2s;
    font-family: inherit;
    line-height: 1.4;
}
.faq-question:hover { background: #f0f0f5; }
.faq-toggle-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #888;
    transition: transform 0.25s;
    width: 1.25rem;
    text-align: center;
}
.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
}
.faq-answer {
    display: none;
    padding: 0 1rem 1rem;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-answer p {
    margin: 0.5rem 0 0;
    color: #444;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* === CONTENT PAGE === */
.content-page {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.content-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #f0f0f5;
    scroll-margin-top: 5rem;
}
.content-body h2:first-child {
    margin-top: 0;
}
.content-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.5rem;
}
.content-body p {
    margin: 0.75rem 0;
    line-height: 1.7;
    color: #444;
}
.content-body ul, .content-body ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body li {
    margin: 0.35rem 0;
    line-height: 1.6;
    color: #444;
}
.content-body strong {
    color: #1a1a2e;
}
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.content-body table th,
.content-body table td {
    padding: 0.6rem 0.75rem;
    border: 1px solid #e8e8ee;
    text-align: left;
}
.content-body table th {
    background: #f5f5fa;
    font-weight: 600;
    color: #1a1a2e;
}
.content-body table tr:nth-child(even) {
    background: #fafafe;
}

/* === CONTENT FRESHNESS NOTICE === */
.content-freshness {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f0f4ff;
    border-left: 3px solid #0066cc;
    border-radius: 0 0.35rem 0.35rem 0;
}
.content-freshness small {
    color: #555;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* === SERVICE HUB GRID === */
.service-hub-grid {
    margin-bottom: 2rem;
}
.service-hub-grid h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}
.service-hub-grid .service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.service-hub-grid .service-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    border: 1px solid #e3e8f2;
    background: #fff;
    text-decoration: none;
    color: inherit;
    line-height: 1.3;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}
.service-hub-grid .service-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(18, 31, 53, 0.12);
    border-color: #d0d9ea;
}
.service-hub-grid .service-tile__title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.35rem;
}
.service-hub-grid .service-tile__desc {
    display: block;
    font-size: 0.86rem;
    color: #697386;
}
.content-body .tip-box {
    margin: 0.85rem 0 1rem;
    padding: 0.75rem 0.95rem;
    border-left: 4px solid #1f6fd6;
    background: #f5f8ff;
    border-radius: 0 0.55rem 0.55rem 0;
}
.content-body .tip-box strong {
    color: #1a1a2e;
}
.content-body .contact-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 1.5rem;
}
.content-body .contact-quick-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #f6f8fc;
    border: 1px solid #dbe4f0;
    color: #234677;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.content-body .contact-quick-links a:hover {
    background: #eef3ff;
    border-color: #c5d4ef;
    color: #1f3f6b;
    transform: translateY(-1px);
}
.content-body .contact-panel,
.content-body .contact-note {
    margin: 1.15rem 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid #e8edf5;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}
.content-body .contact-panel h2,
.content-body .contact-note h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.content-body .contact-checklist {
    margin: 0.8rem 0;
    padding-left: 1.2rem;
}
.content-body .contact-checklist li {
    margin: 0.4rem 0;
}
.content-body .contact-cta {
    margin-top: 1rem;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem 0.5rem 1rem;
    border-radius: 999px;
    background: #eef3ff;
    border: 1px solid #d9e4fb;
    color: #234677;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
}
.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #c2d3f7;
    background: #f5f8ff;
    color: #1f3f6b;
}
.card-link h3 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.35rem;
}
.card-link p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* === RELATED PAGES === */
.related-pages {
    margin: 2rem 0;
}
.related-pages h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}
.related-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.related-card:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0,102,204,0.1);
}
.related-card strong {
    color: #1a1a2e;
    font-size: 0.95rem;
}
.related-card span {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}
.country-card__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    min-height: 20px;
}
.country-card__title {
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}
.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

/* === RESPONSIVE === */
@media(max-width:768px) {
    .flight-table th, .flight-table td { padding: 0.4rem 0.5rem; font-size: 0.82rem; }
    .flight-time .time-delay { font-size: 0.68rem; }
    .flight-city .iata-code { display: none; }
    .entity-story-grid,
    .entity-story-grid--three { grid-template-columns: 1fr; }
    .hero--home-seo,
    .home-live-grid { grid-template-columns: 1fr; }
    .hero--home-seo { padding: 1.35rem; }
    .hero-clock--expanded { min-height: 0; }
    .service-hub-grid .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:600px) {
    .page-hero { padding: 1.5rem 1.25rem; }
    .page-hero h1 { font-size: 1.35rem; }
    .page-hero .hero-lead { font-size: 0.92rem; }
    .content-page { padding: 1.25rem; }
    .content-body h2 { font-size: 1.15rem; }
    .content-body h3 { font-size: 1rem; }
    .content-body .contact-panel,
    .content-body .contact-note { padding: 1rem; }
    .content-body .contact-quick-links { gap: 0.5rem; }
    .content-body .contact-quick-links a {
        width: 100%;
        justify-content: center;
    }
    .hero { padding: 1.5rem; }
    .hero h1 { font-size: 1.5rem; }
    .page-header h1 { font-size: 1.3rem; }
    .page-header .lead { font-size: 0.92rem; }
    .service-hub-grid .service-grid { grid-template-columns: 1fr; }
    .flight-table th, .flight-table td { padding: 0.35rem 0.4rem; font-size: 0.78rem; }
    .flight-table th { font-size: 0.7rem; }
    .card-grid { grid-template-columns: 1fr; }
    .hub-card-grid { grid-template-columns: 1fr !important; }
    .stats-summary-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .card-grid.city-overview-grid { grid-template-columns: 1fr; }
    .card-grid.country-overview-grid { grid-template-columns: 1fr; }
    .card-grid.airport-overview-grid,
    .card-grid.airport-overview-grid.airport-overview-grid--with-side-map { grid-template-columns: 1fr; }
    .card-grid.airline-overview-grid { grid-template-columns: 1fr !important; }
    .card-grid.airline-fleet-grid { grid-template-columns: 1fr !important; }
    .hero--home-seo { padding: 1.2rem; border-radius: 0.95rem; }
    .hero-clock--expanded { padding: 1rem; }
    .hero-clock-meta { gap: 0.35rem; }
    .quick-links--enhanced .quick-link { min-height: 0; }
    .home-flight-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        align-items: flex-start;
    }
    .home-flight-item__status { justify-self: start; }
    .card-grid-with-map .card-map-wide { grid-column: auto; }
    .card-map-wide .osm-widget-preview iframe,
    .route-map-card .osm-widget-preview iframe,
    .airport-map-card .osm-widget-preview iframe { height: 260px; }
    .city-map-card .osm-widget-preview iframe { height: 240px; }
    .country-map-card .osm-widget-preview iframe { height: 240px; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .chart-container canvas { max-height: 250px; }
    .breadcrumb { font-size: 0.78rem; }
    .related-links { gap: 0.35rem; }
    .related-links a { font-size: 0.78rem; padding: 0.3rem 0.6rem; }
    .related-links.related-links--cards { grid-template-columns: 1fr; }
    .entity-card-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-meta-nav { justify-content: flex-start; }
}

/* === Repülőjegy modul === */

/* --- Route fő ár blokk --- */
.ticket-price-highlight {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border: 1px solid #c8dff5;
    border-radius: 0.75rem;
    padding: 1.5rem 1.5rem 1.25rem;
    margin-bottom: 2rem;
}
.ticket-price-highlight h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.airline-price-highlight {
    background: linear-gradient(135deg, #eef6ff 0%, #dcecff 100%);
    border-color: #9ec5f0;
    box-shadow: 0 14px 32px rgba(0, 74, 173, 0.12);
}
.airline-price-highlight h2 {
    font-size: 1.2rem;
    font-weight: 800;
}
.country-price-highlight {
    background: linear-gradient(160deg, #f6f9ff 0%, #edf3fb 100%);
    border-color: #d4e2f2;
    box-shadow: 0 8px 24px rgba(18, 40, 80, 0.06);
    padding: 1.75rem 1.75rem 1.5rem;
}
.country-price-highlight h2 {
    font-size: 1.15rem;
    font-weight: 700;
}
.country-price-highlight .flight-table tbody tr {
    cursor: pointer;
}
.table-cta-link {
    font-weight: 600;
    color: #0066cc;
    white-space: nowrap;
}
.table-cta-link:hover {
    color: #0055b3;
}
.price-disclaimer {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: #7a8599;
}
.price-cta-block {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid #d8e4f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
.price-cta-note {
    margin: 0;
    font-size: 0.84rem;
    color: #7a8599;
    font-weight: 400;
}
.continent-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.continent-quick-nav .meta-pill--link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #eef3ff;
    border: 1px solid #d9e4fb;
    color: #234677;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.continent-quick-nav .meta-pill--link:hover {
    background: #dce8fb;
    border-color: #b8cde8;
    color: #1a3a65;
}
.hero-links {
    font-size: 0.88rem;
    margin-top: 0.75rem;
}
.hero-links a {
    font-weight: 600;
}
.continent-overflow-links {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}
.overflow-country-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
}
.overflow-country-link:hover {
    color: #0055b3;
    text-decoration: underline;
}
.entity-link-meta {
    font-size: 0.78rem;
    color: #7a8599;
    margin-top: auto;
}
.card-icon {
    font-size: 1.05em;
    margin-right: 0.3rem;
    vertical-align: -0.05em;
}
.page-header--centered {
    text-align: center;
    padding-bottom: 2.5rem;
}
.page-header--centered .lead {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.th-freshness {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 0.5rem;
    text-transform: none;
    letter-spacing: 0;
}
.page-header-cta {
    margin-top: 1.25rem;
}
.page-header-hint {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #7a8599;
}
.entity-link-card:hover .entity-link-meta {
    color: #0066cc;
}
.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}
.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #0066cc;
    line-height: 1.15;
}
.price-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.88rem;
    color: #555;
}
.price-date-highlight { font-weight: 600; color: #1a1a2e; }
.price-freshness { font-size: 0.78rem; color: #999; }
.price-disclaimer {
    font-size: 0.78rem;
    color: #999;
    margin-top: 0.6rem;
    font-style: italic;
}

/* --- Route kártyák (hub + kapcsolódó) --- */
.route-card-price {
    font-size: 0.95rem;
    color: #1a1a2e;
    margin: 0.2rem 0 0;
    font-weight: 600;
}
.route-card-meta {
    font-size: 0.78rem;
    color: #999;
    margin: 0.15rem 0 0;
}

.monthly-prices-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.monthly-prices-table thead {
    background: #f8f9fa;
}

.monthly-prices-table th {
    padding: 0.65rem 0.75rem;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 2px solid #e0e0e0;
}

.monthly-prices-table td {
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    border-bottom: 1px solid #eee;
    color: #333;
}

.monthly-prices-table tbody tr:hover {
    background: #f0f4ff;
}

.cta-box {
    background: #1a1a2e;
    color: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    text-align: center;
}

.cta-box h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.cta-box p {
    font-size: 0.9rem;
    color: #c0c0e0;
    margin: 0 0 1rem;
}

.cta-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.cta-box li {
    margin: 0;
    width: 100%;
    max-width: 42rem;
}

.cta-box li a {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cta-box li a:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-1px);
}

.alert-box {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.65rem;
    background: #fff7e8;
    border-left: 4px solid #e0a13a;
    color: #6f4d12;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-module-followup {
    margin-top: 1.25rem;
    color: #55627a;
    font-size: 0.92rem;
}

.price-module-followup a {
    font-weight: 600;
}

.stats-note {
    margin: 12px 0 18px;
    padding: 10px 12px;
    border-left: 4px solid #f0c36d;
    background: #fff8e8;
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: 6px;
}

.no-data-notice {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
    color: #e65100;
    font-size: 0.9rem;
}

.no-data-notice p {
    margin: 0;
}

.price-amount-secondary {
    font-size: 0.95rem;
    font-weight: 400;
    color: #999;
    margin-left: 0.4rem;
}

.price-eur-secondary {
    color: #999;
    font-size: 0.78rem;
    font-weight: 400;
    white-space: nowrap;
}

.typical-price-card {
    background: #f8faf8;
    border: 1px solid #d4e8d4;
}

.typical-price-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.typical-price-label {
    font-size: 0.9rem;
    color: #555;
    flex-basis: 100%;
}

.typical-price-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2e7d32;
}

.typical-price-eur {
    font-size: 0.95rem;
    color: #888;
}

.typical-price-change {
    font-size: 0.88rem;
    margin: 0.25rem 0;
}

.price-change-up { color: #c62828; }
.price-change-down { color: #2e7d32; }
.price-change-flat { color: #888; }

.typical-price-range {
    font-size: 0.85rem;
    color: #555;
    margin: 0.25rem 0;
}

.typical-price-range-eur {
    color: #999;
    font-size: 0.8rem;
}

.price-date-highlight {
    font-weight: 600;
    color: #1a1a2e;
}

.price-last-updated {
    font-size: 0.8rem;
    color: #888;
    margin: 0.5rem 0 1rem;
}

.why-watch-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.why-watch-list li {
    margin: 0.4rem 0;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.sparkline-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.sparkline-wrap {
    position: relative;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.sparkline-svg {
    width: 100%;
    height: 80px;
    display: block;
    cursor: crosshair;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.04));
}

.sparkline-svg .spark-vline {
    transition: opacity 0.15s;
}

.sparkline-svg .spark-dot-pulse {
    transition: cx 0.1s, cy 0.1s, opacity 0.15s;
    animation: spark-pulse 1.5s ease-in-out infinite;
}

.sparkline-svg .spark-dot-main {
    transition: cx 0.1s, cy 0.1s, opacity 0.15s;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}

.sparkline-svg .spark-plane {
    transition: opacity 0.15s;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

@keyframes spark-pulse {
    0%, 100% { r: 8; opacity: 0.18; }
    50% { r: 12; opacity: 0.08; }
}

.spark-tooltip {
    position: absolute;
    top: -2.8rem;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2b55 100%);
    color: #fff;
    font-size: 0;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s, top 0.15s;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18), 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.spark-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #2d2b55;
}

.spark-tooltip-date {
    font-size: 0.65rem;
    opacity: 0.7;
    letter-spacing: 0.03em;
}

.spark-tooltip-price {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.sparkline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #888;
    flex-wrap: wrap;
    padding-top: 0.25rem;
    border-top: 1px solid #f0f0f0;
    gap: 0.25rem;
}

.table-controls-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.6rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e8e8ee;
    border-radius: 0.5rem;
}

.table-sort-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #555;
    flex-wrap: wrap;
}

.table-sort-controls > span:first-child,
.table-sort-controls > span {
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #888;
    margin-right: 0.15rem;
}

.table-sort-btn,
.table-filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.35rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    color: #444;
    line-height: 1.3;
}

.table-sort-btn:hover,
.table-filter-btn:hover {
    background: #eef0f5;
    border-color: #bbb;
}

.table-sort-btn.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.table-filter-btn.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.route-row-hidden { display: none; }

/* Frissesség tag */
.freshness-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}
.freshness-today { background: #ecfdf5; color: #16a34a; }
.freshness-yesterday { background: #fffbeb; color: #d97706; }
.freshness-older { background: #f5f5f5; color: #999; }

.card-freshness {
    display: block;
    font-size: 0.72rem;
    color: #aaa;
    margin: 0.1rem 0 0.25rem;
    letter-spacing: 0.01em;
}

/* --- Teljes kattintható kártya --- */
a.route-card, .route-card {
    position: relative !important;
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 0.65rem;
    padding: 1.15rem 1.15rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
    cursor: pointer;
    border: 1px solid #e8e8ee;
}
a.route-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-color: #ccc;
}
a.route-card h3 {
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    padding-right: 3.5rem; /* badge számára hely */
}
a.route-card:hover h3 { color: #0066cc; }

/* Top 2 kiemelés */
a.route-card.route-card--best {
    border-color: #86efac;
    background: linear-gradient(to bottom, #f0fdf4 0%, #fff 50%);
}

/* Trend badge jobb felső sarok */
.trend-corner {
    position: absolute !important;
    top: 0.7rem;
    right: 0.7rem;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.35;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.trend-corner-down { background: #dcfce7; color: #16a34a; }
.trend-corner-up { background: #fee2e2; color: #dc2626; }
.trend-corner-flat { background: #f3f4f6; color: #6b7280; }
.trend-corner-new { background: transparent; color: #c0c0c0; font-weight: 500; font-size: 0.62rem; }

/* Legolcsóbb badge */
.badge-best {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-right: 4px;
}

/* Kattintható táblasor */
.clickable-row { cursor: pointer; transition: background 0.12s ease; }
.clickable-row:hover { background: #f1f5f9 !important; }

.show-more-wrap {
    text-align: center;
    margin: 1rem 0;
}

.best-months-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.best-month-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.best-month-label {
    font-size: 0.85rem;
    color: #555;
    text-transform: capitalize;
}

.best-month-price {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Ár kategória badge-ek */
.price-cat-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: middle;
    margin-left: 0.5rem;
}
.price-cat-olcso { background: #e8f5e9; color: #2e7d32; }
.price-cat-kozepes { background: #fff3e0; color: #e65100; }
.price-cat-draga { background: #fce4ec; color: #c62828; }

/* Trend nyilak */
.price-trend-up { color: #dc2626; font-weight: 600; font-size: 0.82rem; }
.price-trend-down { color: #16a34a; font-weight: 600; font-size: 0.82rem; }
.price-trend-neutral { color: #6b7280; font-size: 0.82rem; }

.trend-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.trend-badge.price-trend-down { background: #e8f5e9; }
.trend-badge.price-trend-up { background: #fce4ec; }
.trend-badge.price-trend-neutral { background: #f5f5f5; }

.trend-fallback {
    font-size: 0.72rem;
    color: #c0c0c0;
}

/* Havi ár grid */
.month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}
.month-grid-item {
    background: #f8f9fa;
    border: 1px solid #e8e8ee;
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    text-align: center;
}
.month-grid-item--best {
    background: #e8f5e9;
    border-color: #a5d6a7;
}
.month-grid-label {
    display: block;
    font-size: 0.78rem;
    color: #555;
    margin-bottom: 0.2rem;
    text-transform: capitalize;
}
.month-grid-price { font-size: 0.9rem; }
.month-grid-badge {
    display: block;
    font-size: 0.68rem;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 0.15rem;
}

/* Szűrő gombok (filter) */
.table-filter-btn {
    background: #f0f0f5;
    border: 1px solid #ddd;
    border-radius: 0.35rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s;
    color: #333;
}
.table-filter-btn:hover { background: #e0e0ea; }
.table-filter-btn.active { background: #0066cc; color: #fff; border-color: #0066cc; }

@media (max-width: 600px) {
    .price-box { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .price-amount { font-size: 1.7rem; }
    .price-amount-secondary { display: block; margin-left: 0; margin-top: 0.1rem; font-size: 0.85rem; }
    .ticket-price-highlight { padding: 1rem; }
    .ticket-price-highlight h2 { font-size: 0.9rem; }
    .country-price-highlight { padding: 1.1rem; }
    .country-price-highlight h2 { font-size: 1rem; }
    .price-cta-block { flex-direction: column; align-items: stretch; text-align: center; }
    .price-cta-block .btn { width: 100%; justify-content: center; }
    .cta-box { padding: 1rem; }
    .cta-box li a { padding: 0.8rem 0.85rem; }
    .typical-price-amount { font-size: 1.2rem; }
    .month-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

    /* Kártyák mobilon */
    a.route-card { padding: 0.9rem 0.9rem 0.75rem; }
    a.route-card h3 { font-size: 0.92rem; padding-right: 3rem; }
    .route-card-price { font-size: 0.9rem; }
    .trend-corner { top: 0.5rem; right: 0.5rem; font-size: 0.6rem; padding: 1px 5px; }
    .badge-best { font-size: 9px; padding: 1px 5px; }

    /* Controls bar mobilon */
    .table-controls-bar { flex-direction: column; gap: 0.4rem; padding: 0.5rem 0.6rem; }
    .table-sort-controls { gap: 0.25rem; }
    .table-sort-controls > span { font-size: 0.7rem; }
    .table-sort-btn, .table-filter-btn { padding: 0.25rem 0.5rem; font-size: 0.72rem; }

    /* Freshness */
    .freshness-tag { font-size: 0.68rem; padding: 0.1rem 0.35rem; }
    .card-freshness { font-size: 0.68rem; }
}
