/* Conservative layout support for five languages; existing palette and logo retained. */
.ifc-language-switch{display:flex;flex-wrap:wrap;gap:4px 8px;max-width:100%;align-items:center}
.ifc-language-switch a{white-space:nowrap;min-height:32px;display:inline-flex;align-items:center;padding:3px 5px}
.ifc-language-switch a[aria-current="page"]{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.ifc-language-switch a:focus-visible,.ifc-air-directory a:focus-visible{outline:3px solid #b34724;outline-offset:3px}
.ifc-air-directory{display:flex;gap:14px 28px;flex-wrap:wrap;margin:20px 0;padding:18px 0;border-block:1px solid currentColor}
.ifc-air-directory a{display:inline-block;text-underline-offset:3px;overflow-wrap:anywhere}
.ifc-localized-page .logo span{max-width:170px;font-size:12px;line-height:1.35;white-space:normal}
.ifc-localized-page :is(h1,h2,h3,p,li,summary,a){overflow-wrap:anywhere}
:lang(zh-Hans),:lang(zh-Hant){font-family:system-ui,-apple-system,"PingFang SC","PingFang TC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;line-height:1.7}
.ifc-localized-page .main-nav{flex-wrap:wrap}
.ifc-localized-page .section p,.ifc-localized-page .section li{max-width:80ch}
@media(min-width:1024px){.nav-wrap{flex-wrap:wrap}.ifc-language-switch{margin-left:auto}.ifc-localized-page .main-nav{width:100%;justify-content:flex-end}}
@media(max-width:1023px){.ifc-language-switch{order:2;margin-left:auto;margin-right:0;justify-content:flex-end;flex:0 1 auto}.menu-toggle{order:3}.main-nav{order:4}.ifc-language-switch a{font-size:13px}.ifc-localized-page .logo span{display:none}}
@media(max-width:420px){.nav-wrap{gap:9px}.ifc-language-switch{flex-basis:100%;justify-content:flex-start;margin:0}.ifc-language-switch a{padding:2px 4px}.menu-toggle{position:static;margin-left:auto}.ifc-localized-page .home-intro h1{font-size:clamp(1.75rem,8vw,2.5rem)}}

/* Override the published two-language fixed header height when five labels wrap. */
.site-header .wrap.nav-wrap{height:auto;min-height:82px;flex-wrap:wrap;padding-block:10px}
.site-header .ifc-language-switch a{min-height:44px}
@media(min-width:1024px){.site-header .main-nav{width:100%;justify-content:flex-end;flex-wrap:wrap}}
@media(max-width:1023px){.site-header .wrap.nav-wrap{min-height:72px;gap:8px}.site-header .logo{order:0}.site-header .menu-toggle{order:1;margin-left:auto}.site-header .ifc-language-switch{order:2;flex:1 0 100%;justify-content:center;margin:0;gap:0 3px}.site-header .main-nav{order:3;top:100%;max-height:calc(100dvh - 180px)}.site-header .ifc-language-switch a{font-size:12px;padding:3px 4px;min-width:40px}}

.site-footer .ifc-air-directory a:focus-visible{outline-color:#fff}

/* Measured five-language header: fixed grid placement avoids legacy flex order. */
html{scroll-padding-top:160px}
@media(max-width:1023px){
 .site-header .wrap.nav-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .site-header .wrap.nav-wrap>.logo{grid-row:1;grid-column:1;min-width:0}
 .site-header .wrap.nav-wrap>.menu-toggle{grid-row:1;grid-column:2;margin:0;justify-self:end;min-height:44px}
 .site-header .wrap.nav-wrap>.ifc-language-switch{grid-row:2;grid-column:1/-1;min-width:0;flex:none;margin:0;gap:0 2px}
 .site-header .wrap.nav-wrap>.ifc-language-switch a{padding-inline:3px}
}

/* Keep the published telephone CTA beside navigation on wide Italian headers. */
@media(min-width:1200px){.site-header .wrap.nav-wrap>.main-nav{width:auto;flex:1 0 calc(100% - 160px)}}

@media(min-width:1024px){.summary-panel{top:160px}}

.ifc-air-page .section p,.ifc-air-page .section li{max-width:80ch}
