* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #f5fbff;
    --surface: #ffffff;
    --text-dark: #0b2a44;
    --text-body: #243f57;
    --text-muted: #4d6a85;
    --accent: #0284c7;
    --accent-dark: #0369a1;
    --accent-light: #e0f2fe;
    --accent-soft: #f0f9ff;
    --border: #bae6fd;
    --header-from: #0ea5e9;
    --header-to: #6366f1;
    --shadow-sm: 0 2px 10px rgba(20, 40, 60, 0.07);
    --shadow-md: 0 8px 28px rgba(20, 40, 60, 0.12);
}

body {
    background: var(--bg);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

.film-grain, .ambient-light { display: none; }

/* NAV */
.nav-links {
    background: #ffffff;
    text-align: center;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* HOME HEADER */
header {
    background: linear-gradient(135deg, var(--header-from) 0%, var(--header-to) 100%);
    padding: 80px 24px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
}
header p {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 32px;
    font-weight: 400;
    position: relative;
}
.btn {
    display: inline-block;
    padding: 13px 36px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(20, 40, 60, 0.18);
    position: relative;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* LAYOUT */
.container { max-width: 1180px; margin: 0 auto; padding: 70px 24px; }
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-dark);
}
.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 16px auto 0;
}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

/* CARDS */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform 0.4s; }
.card:hover .card-img { transform: scale(1.04); }
.card-content { padding: 26px 28px 30px; }
.card-content span {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}
.card-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    line-height: 1.4;
}
.card-content p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* FOOTER */
footer {
    background: var(--accent-light);
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    border-top: 1px solid var(--border);
}

/* ARTICLE HEADERS (both naming styles) */
.article-page-header, .article-header {
    background: linear-gradient(135deg, var(--header-from) 0%, var(--header-to) 100%);
    padding: 64px 24px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.article-page-header .label, .article-header span {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    letter-spacing: 3px;
    font-size: 0.78rem;
    display: block;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
}
.article-page-header h1, .article-header h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    letter-spacing: 2px;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 14px;
    position: relative;
}
.article-page-header .meta, .article-meta {
    color: var(--text-muted);
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    position: relative;
}

/* ARTICLE BODY */
.article-container { max-width: 780px; margin: 0 auto; padding: 0 24px 100px; }
.article-body { padding-top: 44px; }
.article-body p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
    text-align: left;
}
.article-body h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    letter-spacing: 1px;
    margin-top: 48px;
    margin-bottom: 18px;
    color: var(--text-dark);
    padding-left: 14px;
    border-left: 4px solid var(--accent);
    line-height: 1.4;
}
.article-body h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--accent-dark);
}

/* GRAPHS */
.graph-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    margin: 36px 0;
    box-shadow: var(--shadow-sm);
}
.graph-box h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}
.graph-box p.caption {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

/* IMAGES */
.article-hero {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    margin: 36px 0;
    box-shadow: var(--shadow-md);
}
.article-inline-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    margin: 36px 0 10px;
    box-shadow: var(--shadow-sm);
}
.img-caption {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 32px;
    text-align: center;
    font-style: italic;
}

/* INTERLINKS */
.interlinks {
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 32px;
    margin: 56px 0 20px;
}
.interlinks h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-dark);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.interlinks ul { list-style: none; }
.interlinks ul li { margin-bottom: 14px; padding-left: 14px; border-left: 3px solid var(--accent); }
.interlinks ul li:last-child { margin-bottom: 0; }
.interlinks ul li a { color: var(--text-dark); text-decoration: none; font-size: 0.97rem; font-weight: 700; transition: color 0.2s; }
.interlinks ul li a:hover { color: var(--accent); }
.interlinks ul li span { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ABOUT */
.about-content { max-width: 780px; margin: 0 auto; padding: 70px 24px; }
.about-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 28px;
    text-transform: uppercase;
    color: var(--text-dark);
}
.about-content p { color: var(--text-body); font-size: 1.05rem; line-height: 1.9; margin-bottom: 22px; }

@media (max-width: 768px) {
    header { padding: 60px 20px 70px; }
    .article-page-header, .article-header { padding: 50px 20px 60px; }
    .article-hero { height: 240px; }
    .article-inline-img { height: 210px; }
    .grid-3 { grid-template-columns: 1fr; }
    .interlinks { padding: 22px 20px; }
}


/* Aero & Altitude: bright, colourful, illustrated */
body { font-family: 'Plus Jakarta Sans', sans-serif; }
.flight-banner {
    position: sticky; top: 0; z-index: 300;
    background: linear-gradient(90deg, #f97316, #ef4444);
    color: #ffffff; text-align: center; padding: 10px 16px;
    font-size: 0.84rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(239,68,68,0.35);
}
.flight-banner span { font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.nav-links {
    position: relative; top: auto;
    background: linear-gradient(90deg, #0ea5e9, #6366f1, #22c55e);
    border-bottom: none; box-shadow: 0 6px 18px rgba(14,165,233,0.25);
}
.nav-links a { color: #ffffff; font-weight: 700; opacity: 0.92; }
.nav-links a.active, .nav-links a:hover { color: #fde047; opacity: 1; }
header, .article-page-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 60%, #a855f7 100%);
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201200%20320%27%20preserveAspectRatio%3D%27none%27%3E%3Ccircle%20cx%3D%271040%27%20cy%3D%2780%27%20r%3D%2746%27%20fill%3D%27%23fde047%27%20opacity%3D%270.95%27/%3E%3Cpath%20d%3D%27M0%20230%20L150%20130%20L290%20210%20L440%2096%20L600%20220%20L760%20118%20L930%20210%20L1080%20140%20L1200%20200%20L1200%20320%20L0%20320Z%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.22%27/%3E%3Cpath%20d%3D%27M0%20275%20L210%20185%20L380%20262%20L560%20180%20L770%20268%20L960%20196%20L1200%20262%20L1200%20320%20L0%20320Z%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.35%27/%3E%3Cpath%20d%3D%27M0%20305%20L240%20250%20L430%20298%20L700%20242%20L980%20300%20L1200%20258%20L1200%20320%20L0%20320Z%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.5%27/%3E%3C/svg%3E");
    background-size: cover; background-position: bottom center;
    padding: 90px 24px 120px;
}
header::before, .article-page-header::before { display: none; }
header h1, .article-page-header h1, .article-header h1 { color: #ffffff; text-shadow: 0 4px 18px rgba(30,27,75,0.25); }
header p, .article-page-header .meta, .article-meta { color: #e0f2fe; }
.article-page-header .label, .article-header span { color: #fde047; }
.btn { background: #f97316; box-shadow: 0 8px 22px rgba(249,115,22,0.35); border-radius: 4px; }
.btn:hover { background: #ea580c; }
.section-title { background: linear-gradient(90deg, #0284c7, #6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title::after { background: linear-gradient(90deg, #f97316, #fde047); }
.card { border: none; border-radius: 16px; box-shadow: 0 10px 30px rgba(14,116,144,0.14); overflow: hidden; border-top: 6px solid transparent; border-image: linear-gradient(90deg, #0ea5e9, #6366f1, #f97316) 1; }
.card:hover { box-shadow: 0 18px 40px rgba(99,102,241,0.25); }
.card-content span { color: #ffffff; background: linear-gradient(90deg, #0ea5e9, #6366f1); display: inline-block; padding: 4px 12px; border-radius: 999px; letter-spacing: 1.5px; }
.card-content h3 { color: #0b2a44; }
.article-body h2 { border-left: 5px solid #f97316; color: #0b2a44; }
.article-body h3 { color: #6366f1; }
.graph-box { border: none; border-top: 6px solid #f97316; box-shadow: 0 10px 28px rgba(14,116,144,0.12); }
.graph-box h4 { color: #0369a1; }
.graph-box table thead tr { background: linear-gradient(90deg, #e0f2fe, #ede9fe) !important; }
.interlinks { background: linear-gradient(135deg, #e0f2fe 0%, #ede9fe 60%, #fff7ed 100%); border: none; box-shadow: 0 10px 28px rgba(99,102,241,0.12); border-radius: 18px; }
.interlinks h4 { color: #6366f1; }
.interlinks ul li { border-left: 4px solid #f97316; }
.article-hero, .article-inline-img { border-radius: 18px; border: 4px solid #ffffff; box-shadow: 0 14px 36px rgba(14,116,144,0.25); }
.about-content h2 { color: #0b2a44; background: linear-gradient(90deg, #0284c7, #6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer { background: linear-gradient(90deg, #0ea5e9, #6366f1); color: #ffffff; }
