/* International Flight News editorial interface. */
:root {
    --ink: #071b2d;
    --ink-2: #102d46;
    --signal: #e43b38;
    --signal-dark: #bd2727;
    --sky: #dff3ff;
    --paper: #ffffff;
    --mist: #eef3f6;
    --line: #cbd6de;
    --muted: #61707c;
    --content: 1240px;
    --wide: 1400px;
    --radius: 4px;
    --shadow: 0 18px 60px rgba(7,27,45,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility; }
body.menu-open, body.search-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.shell-wide { width: min(calc(100% - 48px), var(--wide)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: white; color: var(--ink); transform: translateY(-150%); border: 2px solid var(--signal); }
.skip-link:focus { transform: none; }

.topline { background: var(--ink); color: #e6eff6; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.topline-inner { min-height: 34px; display: flex; align-items: center; gap: 22px; }
.topline-date { margin-left: auto; color: #a9bdca; }
.topline a { font-weight: 800; color: white; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.masthead { min-height: 102px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: center; line-height: .9; letter-spacing: -.035em; }
.brand-mark { width: 46px; height: 46px; fill: var(--signal); stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand span { display: grid; text-transform: uppercase; }
.brand strong { font-size: .78rem; letter-spacing: .17em; }
.brand b { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 700; }
.icon-button { appearance: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px 0; cursor: pointer; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.icon-button > span:first-child { font-size: 1.35rem; line-height: 1; }
.header-actions { justify-self: end; display: flex; gap: 24px; align-items: center; }
.language-menu { position: relative; }
.language-menu summary { cursor: pointer; list-style: none; display: flex; gap: 7px; align-items: center; font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu > div { position: absolute; z-index: 30; right: 0; top: 35px; min-width: 175px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px; }
.language-menu a { display: block; padding: 8px 10px; font-size: .88rem; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: var(--mist); color: var(--signal-dark); }
.primary-nav { border-top: 1px solid var(--line); }
.nav-scroll { min-height: 48px; display: flex; align-items: stretch; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a { white-space: nowrap; padding: 14px 22px 11px; border-bottom: 3px solid transparent; font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .055em; }
.nav-scroll a:hover, .nav-scroll a[aria-current="page"] { color: var(--signal-dark); border-bottom-color: var(--signal); }

.search-panel, .mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(7,27,45,.97); color: white; }
.search-panel[hidden], .mobile-menu[hidden] { display: none; }
.search-inner { padding-top: min(18vh, 160px); }
.search-inner > label { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 700; line-height: 1.05; margin-bottom: 34px; }
.search-control { display: grid; grid-template-columns: 1fr auto; border-bottom: 2px solid rgba(255,255,255,.5); }
.search-control input { width: 100%; border: 0; outline: 0; background: transparent; color: white; padding: 18px 0; font-size: clamp(1.1rem, 2vw, 1.6rem); }
.search-control input::placeholder { color: #98adba; }
.search-close { appearance: none; border: 0; background: transparent; color: white; font-size: .82rem; text-transform: uppercase; font-weight: 900; cursor: pointer; }
.search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; max-height: 46vh; overflow-y: auto; }
.search-result { display: block; padding: 20px; background: rgba(255,255,255,.08); border-top: 3px solid var(--signal); }
.search-result span { color: #9fc0d4; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 900; }
.search-result strong { display: block; margin-top: 7px; line-height: 1.25; }
.search-empty { color: #b9c8d1; }
.mobile-menu nav { padding-top: 12vh; display: grid; }
.mobile-menu a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(1.7rem, 6vw, 3rem); }
.mobile-close { position: absolute; top: 18px; right: 24px; z-index: 2; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; color: white; font-size: 2rem; cursor: pointer; }

.hero { padding-top: 34px; padding-bottom: 34px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr); gap: 28px; }
.hero-main { position: relative; min-height: 640px; overflow: hidden; background: var(--ink); }
.hero-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,45,.92) 0%, rgba(7,27,45,.56) 50%, rgba(7,27,45,.08) 100%), linear-gradient(0deg, rgba(7,27,45,.35), transparent 40%); }
.hero-copy { position: relative; z-index: 2; width: min(640px, 86%); min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: clamp(30px, 6vw, 74px); color: white; }
.eyebrow { margin: 0 0 15px; display: flex; align-items: center; gap: 10px; color: #ffc8bd; font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--signal); }
.eyebrow.dark { color: var(--signal-dark); }
.hero h1 { max-width: 740px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5.1vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 24px 0 30px; color: #e4edf2; font-size: 1.08rem; }
.button { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; padding: 12px 19px; border: 1px solid var(--ink); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .055em; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: white; border-color: white; }
.button-light:hover { background: var(--signal); color: white; border-color: var(--signal); }
.button-dark { background: var(--ink); color: white; }
.hero-side { border-top: 5px solid var(--ink); }
.hero-side-heading { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 900; }
.hero-side-heading a { color: var(--signal-dark); }
.top-story { display: block; padding: 24px 0; border-bottom: 1px solid var(--line); }
.top-story-image { display: block; width: 100%; height: 128px; margin-bottom: 13px; object-fit: cover; }
.category-tag { display: inline-flex; color: var(--signal-dark); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.top-story h2 { margin: 7px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.12; letter-spacing: -.025em; }
.top-story p { margin: 0 0 13px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.top-story small { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .65rem; }
.top-story:hover h2 { color: var(--signal-dark); }

.ticker { overflow: hidden; background: var(--signal); color: white; }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker a { padding: 11px 25px; display: flex; align-items: center; gap: 14px; white-space: nowrap; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 900; }
.ticker a span { font-size: .42rem; color: var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker-track { animation: none; } }

.section { padding-top: 104px; padding-bottom: 104px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); gap: 50px; align-items: end; padding-bottom: 34px; border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.section-heading h2, .about-strip h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 4.7vw, 4.5rem); line-height: 1; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 26px; }
.article-card { min-width: 0; }
.card-image { display: block; position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--mist); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover .card-image img { transform: scale(1.035); }
.card-copy { padding-top: 19px; }
.card-copy h2, .card-copy h3 { margin: 8px 0 11px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; line-height: 1.16; letter-spacing: -.025em; }
.card-copy h2 a:hover, .card-copy h3 a:hover { color: var(--signal-dark); }
.card-copy > p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.card-meta { padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); text-transform: uppercase; font-size: .64rem; letter-spacing: .055em; }
.article-card-wide { grid-column: span 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; border-top: 5px solid var(--ink); padding-top: 20px; }
.article-card-wide .card-image { aspect-ratio: 16/9; }
.article-card-wide .card-copy { padding: 10px 0 0; }
.article-card-wide .card-copy h3 { font-size: clamp(1.75rem, 3vw, 2.65rem); }

.desk-section { padding: 104px 0; color: white; background: var(--ink); }
.section-heading.light { border-bottom-color: rgba(255,255,255,.2); }
.section-heading.light > p { color: #b9c8d1; }
.desk-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.desk-grid a { position: relative; min-height: 235px; padding: 32px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); transition: .2s ease; }
.desk-grid a > span { color: #86a1b2; font-size: .72rem; font-weight: 900; }
.desk-grid h3 { margin: 38px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.desk-grid p { margin: 0; color: #b9c8d1; font-size: .88rem; }
.desk-grid b { position: absolute; right: 28px; top: 26px; color: var(--signal); font-size: 1.3rem; }
.desk-grid a:hover { background: var(--signal); }
.desk-grid a:hover p, .desk-grid a:hover span, .desk-grid a:hover b { color: white; }

.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; border-bottom: 1px solid var(--line); }
.about-strip > div:last-child { padding-top: 36px; }
.about-strip p { color: var(--muted); margin: 0 0 25px; font-size: 1.08rem; }
.text-link { color: var(--signal-dark); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.faq { padding-bottom: 130px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 20px; padding: 25px 0; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--signal-dark); font-size: .7rem; font-weight: 900; }
.faq-list summary strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.faq-list summary i { font-style: normal; font-size: 1.5rem; transition: transform .2s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > p { margin: -8px 55px 28px 75px; color: var(--muted); }

.page-hero { padding-top: 92px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.06em; }
.page-hero > p:last-child { max-width: 650px; margin: 28px 0 0 auto; color: var(--muted); font-size: 1.1rem; }
.category-grid:has(.article-card:only-child) { grid-template-columns: minmax(0, 760px); }

.article-header { max-width: 1040px; padding-top: 78px; padding-bottom: 50px; text-align: center; }
.article-header h1 { margin: 14px auto 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.8vw, 6.5rem); line-height: .94; letter-spacing: -.055em; }
.article-dek { max-width: 830px; margin: 0 auto; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.5; }
.article-byline { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .065em; font-weight: 800; }
.article-lead { margin-top: 15px; }
.article-lead img { width: 100%; max-height: 780px; object-fit: cover; }
.article-lead figcaption { padding: 8px 0; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.article-layout { display: grid; grid-template-columns: 100px minmax(0, 760px); gap: 56px; justify-content: center; padding-top: 68px; padding-bottom: 90px; }
.article-share { position: sticky; top: 20px; align-self: start; display: grid; justify-items: center; gap: 12px; }
.article-share > span { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.article-share button, .article-share a { width: 40px; height: 40px; border: 1px solid var(--line); background: white; display: grid; place-items: center; cursor: pointer; font-weight: 900; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; line-height: 1.82; }
.article-body .standfirst { margin-top: 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); font-size: 1.38rem; line-height: 1.55; color: var(--ink-2); }
.article-body section { padding-top: 25px; }
.article-body h2 { margin: 12px 0 8px; font-size: 2.1rem; line-height: 1.15; letter-spacing: -.03em; }
.takeaways { margin-top: 45px; padding: 30px; background: var(--mist); border-left: 5px solid var(--signal); }
.takeaways h2 { margin-top: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.takeaways ul { margin: 15px 0 0; padding-left: 22px; }
.takeaways li { margin: 8px 0; }
.editorial-note { margin-top: 45px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .78rem; line-height: 1.6; }
.related { border-top: 1px solid var(--line); }
.compact-grid .card-copy h3 { font-size: 1.35rem; }

.static-content { max-width: 820px; padding-top: 65px; padding-bottom: 120px; }
.static-content h2 { margin: 45px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.static-content p { color: #30475a; font-size: 1.08rem; }
.static-content a { color: var(--signal-dark); text-decoration: underline; }
.not-found { padding-top: 16vh; padding-bottom: 20vh; text-align: center; }
.not-found .eyebrow { justify-content: center; }
.not-found h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 8vw, 7rem); }
.not-found p { color: var(--muted); margin-bottom: 30px; }

.site-footer { color: #dfeaf0; background: #04121e; }
.footer-grid { padding-top: 82px; padding-bottom: 68px; display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 60px; }
.brand-light { justify-self: start; color: white; }
.brand-light .brand-mark { stroke: white; }
.footer-brand p { max-width: 340px; margin-top: 24px; color: #94a9b7; }
.footer-grid nav, .footer-editions { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid h2 { margin: 0 0 18px; color: white; font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; }
.footer-grid nav a, .footer-editions a { padding: 3px 0; color: #9db0bd; font-size: .88rem; }
.footer-grid nav a:hover, .footer-editions a:hover { color: white; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; gap: 30px; border-top: 1px solid rgba(255,255,255,.15); color: #8197a5; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-bottom span:nth-child(2) { margin-left: auto; }
.back-to-top { appearance: none; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; cursor: pointer; }

@media (max-width: 1050px) {
    .shell, .shell-wide { width: min(calc(100% - 36px), var(--content)); }
    .hero { grid-template-columns: 1fr; }
    .hero-side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .hero-side-heading { grid-column: 1 / -1; }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-card-wide { grid-column: 1 / -1; }
    .desk-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr repeat(2, .7fr); }
    .footer-editions { grid-column: 2; }
}

@media (max-width: 760px) {
    .shell, .shell-wide { width: min(calc(100% - 28px), var(--content)); }
    .topline-date { display: none; }
    .topline-inner { gap: 14px; }
    .topline-inner a { margin-left: auto; }
    .masthead { min-height: 78px; grid-template-columns: auto 1fr auto; gap: 12px; }
    .brand { justify-self: center; gap: 7px; }
    .brand-mark { width: 34px; height: 34px; }
    .brand strong { font-size: .56rem; }
    .brand b { font-size: 1.08rem; }
    .icon-button > span:last-child, .search-button > span:last-child { display: none; }
    .header-actions { gap: 10px; }
    .primary-nav .shell { width: 100%; }
    .nav-scroll { justify-content: flex-start; }
    .nav-scroll a { padding-inline: 16px; }
    .mobile-menu { display: block; }
    .hero { padding-top: 14px; gap: 18px; }
    .hero-main, .hero-copy { min-height: 560px; }
    .hero-overlay { background: linear-gradient(0deg, rgba(7,27,45,.96), rgba(7,27,45,.12) 80%); }
    .hero-copy { width: 100%; padding: 28px 24px; }
    .hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
    .hero-side { grid-template-columns: 1fr; }
    .top-story { padding: 19px 0; }
    .section, .desk-section { padding-top: 72px; padding-bottom: 72px; }
    .section-heading { grid-template-columns: 1fr; gap: 20px; }
    .article-grid { grid-template-columns: 1fr; }
    .article-card-wide { grid-column: auto; display: block; border-top: 0; padding-top: 0; }
    .desk-grid { grid-template-columns: 1fr; }
    .desk-grid a { min-height: 190px; }
    .about-strip { grid-template-columns: 1fr; gap: 0; }
    .about-strip > div:last-child { padding-top: 20px; }
    .faq-list summary { grid-template-columns: 35px 1fr auto; gap: 10px; }
    .faq-list details > p { margin-left: 45px; margin-right: 20px; }
    .search-results { grid-template-columns: 1fr; }
    .article-header { padding-top: 55px; text-align: left; }
    .article-header h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
    .article-byline { justify-content: flex-start; }
    .article-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 38px; }
    .article-share { position: static; display: flex; align-items: center; }
    .article-share > span { writing-mode: horizontal-tb; transform: none; margin-right: auto; }
    .article-body { font-size: 1.08rem; }
    .article-body .standfirst { font-size: 1.2rem; }
    .article-body h2 { font-size: 1.75rem; }
    .page-hero { padding-top: 58px; }
    .page-hero > p:last-child { margin-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-editions { grid-column: auto; }
    .footer-bottom { flex-wrap: wrap; padding: 20px 0; gap: 10px 20px; }
    .footer-bottom span:nth-child(2) { margin-left: 0; }
    .back-to-top { margin-left: auto; }
}

@media (max-width: 430px) {
    .brand span { max-width: 155px; }
    .language-menu > div { position: fixed; right: 14px; left: 14px; top: 105px; }
    .hero-main, .hero-copy { min-height: 510px; }
    .hero-copy > p:not(.eyebrow) { font-size: .95rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media print {
    .topline, .site-header, .ticker, .article-share, .related, .site-footer { display: none !important; }
    body { color: black; }
    .article-header { text-align: left; }
    .article-layout { display: block; padding-top: 20px; }
}
.article-source { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: .7rem !important; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.article-source img { width: 28px; height: 28px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: white; }
.source-initials { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: #eef3f7; color: var(--ink); font-size: 8px; font-weight: 800; letter-spacing: -.02em; }
.article-source a { font-weight: 800; text-decoration: underline; text-underline-offset: .22em; }

.page-hero-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); align-items: end; gap: clamp(34px, 6vw, 84px); }
.page-hero-visual > div > p:last-child { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: 1.1rem; }
.page-hero-visual figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.page-hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }

.reference-tools { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(280px, 1fr) auto; align-items: center; gap: 18px; padding-top: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.reference-tools label { font-weight: 900; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.reference-tools input { width: 100%; min-height: 50px; padding: 0 18px; border: 1px solid #b7c3ca; background: white; color: var(--ink); font: inherit; }
.reference-tools input:focus { outline: 3px solid rgba(0, 95, 115, .18); border-color: var(--signal-dark); }
.reference-tools p { margin: 0; color: var(--muted); white-space: nowrap; }
.reference-section { padding-top: 74px; padding-bottom: 24px; }
.reference-section > header { display: grid; grid-template-columns: minmax(230px, .55fr) minmax(0, 1fr); gap: 8px 48px; margin-bottom: 30px; }
.reference-section > header .eyebrow { grid-column: 1 / -1; }
.reference-section > header h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.045em; }
.reference-section > header > p:last-child { max-width: 660px; margin: 0; color: var(--muted); align-self: end; }
.table-scroll { overflow-x: auto; border-top: 4px solid var(--ink); }
.reference-section table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9rem; }
.reference-section th { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.reference-section td { padding: 17px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.reference-section tbody tr:hover { background: #f5f7f7; }
.reference-section td small { display: block; margin-top: 3px; color: var(--muted); }
.reference-section td code { font-size: .78rem; }
.reference-section td a { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); font-weight: 900; }
.reference-glossary { padding-bottom: 110px; }
.reference-glossary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin: 0; border-top: 4px solid var(--ink); }
.reference-glossary dl > div { display: grid; grid-template-columns: minmax(110px, .36fr) 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.reference-glossary dt { font-weight: 900; }
.reference-glossary dd { margin: 0; color: var(--muted); }
[data-reference-row][hidden] { display: none !important; }

@media (max-width: 760px) {
    .page-hero-visual { grid-template-columns: 1fr; gap: 32px; }
    .page-hero-visual h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
    .reference-tools { grid-template-columns: 1fr; gap: 10px; }
    .reference-tools p { white-space: normal; }
    .reference-section { padding-top: 58px; }
    .reference-section > header { grid-template-columns: 1fr; gap: 16px; }
    .reference-glossary dl { grid-template-columns: 1fr; }
    .reference-glossary dl > div { grid-template-columns: 1fr; gap: 7px; }
}

.article-source img[src$="airliner-insider.png"] { background: #10263d; }

.reference-source-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .78rem; font-weight: 800; }
.reference-source-links a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 760px) { .reference-source-links { grid-column: 1; } }

.category-context { padding-top: 50px; padding-bottom: 94px; }
.category-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.category-context-grid > section { padding: 28px 30px; border-top: 4px solid var(--ink); background: #f5f7f7; }
.category-context-grid h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.15; }
.category-context-grid p { margin: 0; color: var(--muted); line-height: 1.7; }
.category-context-links { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 28px; }
.reference-reading { padding-bottom: 12px; }
.reference-reading .category-context-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .reference-reading .category-context-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .category-context-grid { grid-template-columns: 1fr; } .category-context-grid > section { padding: 24px; } }
