/* RoadAheadNow's footer is a compact utility area, not a second hero. */
@media screen{
 .footer{display:flex;flex-direction:column;padding-top:30px;background:#f8fafc;border-top:1px solid #dbe5ec;color:#20394f}
 .footer>.footer-main{order:0;gap:28px;padding-bottom:26px}
 .footer .brand{margin-bottom:10px}
 .footer .footer-main p{margin-bottom:9px;color:#405b70;line-height:1.55}
 .footer .footer-main h2{font-size:15px;line-height:1.35;letter-spacing:0;color:#18364e;margin-bottom:9px}
 .footer .footer-main>div>a:not(.brand){color:#31536b;font-size:14px;min-height:40px;padding-block:7px}
 .footer .footer-main .eyebrow{font-size:12px;letter-spacing:.07em;color:#526b7e}
 .footer>.footer-lang{order:1;position:relative;border-top:1px solid #dbe5ec;padding-block:16px 12px}
 .footer .lang-switch{display:block;font-size:14px;line-height:1.4;color:#24445a}
 .footer .lang-switch-panel{position:relative;display:inline-block;max-width:100%}
 .footer .lang-switch-toggle{display:flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:8px 14px;border:1px solid #cedde8;border-radius:11px;background:#fff;color:#173b56;cursor:pointer;list-style:none;transition:background-color .32s ease,border-color .32s ease,box-shadow .32s ease}
 .footer .lang-switch-toggle::-webkit-details-marker{display:none}
 .footer .lang-switch-toggle::marker{content:''}
 .footer .lang-switch-toggle:hover,.footer .lang-switch-panel[open] .lang-switch-toggle{background:#eef5fa;border-color:#7fa7bc}
 .footer .lang-switch-label{font-weight:700;white-space:nowrap;color:#284c66}
 .footer .lang-switch-current{font-weight:500;white-space:nowrap;color:#3b566a}
 .footer .lang-switch-icon{font-size:17px;line-height:1;flex:none}
 .footer .lang-switch-chevron{width:8px;height:8px;margin:-4px 0 0 5px;flex:none;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .32s ease,margin .32s ease}
 .footer .lang-switch-panel[open] .lang-switch-chevron{transform:rotate(225deg);margin:4px 0 0 5px}
 .footer .lang-switch-list{position:absolute;z-index:15;bottom:calc(100% + 8px);left:0;width:min(350px,calc(100vw - 32px));max-width:calc(100vw - 32px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid #d2e0e9;border-radius:12px;box-shadow:0 14px 40px #152f4726}
 .footer .lang-switch-list li{min-width:0;margin:0;padding:0}
 .footer .lang-switch-list a{display:flex;align-items:center;min-height:44px;padding:8px 10px;border-radius:7px;font-size:14px;font-weight:500;line-height:1.25;color:#254761;overflow-wrap:anywhere;transition:background-color .32s ease,color .32s ease}
 .footer .lang-switch-list a:hover{background:#edf4f8;text-decoration:none}
 .footer .lang-switch-list a[aria-current="true"]{background:#173b60;color:#fff;font-weight:700}
 .footer>.traffic-network-links{order:2;padding-block:3px 18px;min-width:0}
 .footer .traffic-network-links h3{margin:0 0 8px;font-size:14px;font-weight:700;letter-spacing:0;line-height:1.45;color:#213f56}
 .footer .traffic-network-links p{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:14px;line-height:1.35}
 .footer .traffic-network-links p>span[aria-hidden="true"]{display:none}
 .footer .traffic-network-links a{display:inline-flex;align-items:center;gap:5px;min-height:44px;max-width:100%;padding:7px 11px;border:1px solid #dae5ed;border-radius:9px;background:#f0f5f9;color:#264a64;font-size:14px;line-height:1.3;text-decoration:none;overflow-wrap:anywhere;transition:background-color .32s ease,border-color .32s ease}
 .footer .traffic-network-links a:hover{background:#e2eff7;border-color:#a9c9da}
 .footer .traffic-network-links svg{display:inline-block;width:18px;height:18px;flex:none}
 .footer>.footer-bottom{order:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-block:15px 22px;border-top:1px solid #dbe5ec;font-size:14px;line-height:1.45;color:#385368}
 .footer .footer-bottom>div{gap:6px 17px}
 .footer .footer-bottom a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#385368}
 .footer a:focus-visible,.footer summary:focus-visible{outline:3px solid #b57822;outline-offset:3px}
}
@media(max-width:760px){
 .footer>.footer-main{gap:22px}
 .footer>.footer-bottom{flex-direction:column;align-items:flex-start;gap:3px}
 .footer .lang-switch-toggle{max-width:calc(100vw - 32px)}
}
@media(max-width:600px){
 .footer{padding-top:28px}
 .footer>.footer-main{padding-bottom:18px;gap:22px 16px}
 .footer>.footer-lang{padding-block:13px 9px}
 .footer>.traffic-network-links{padding-block:3px 16px}
 .footer .lang-switch-list{grid-template-columns:1fr;width:min(280px,calc(100vw - 32px))}
 .footer>.footer-bottom{padding-block:12px 18px}
}
@media(prefers-reduced-motion:reduce){
 .footer .lang-switch-toggle,.footer .lang-switch-chevron,.footer .lang-switch-list a,.footer .traffic-network-links a{transition:none}
}

/* CJK and long German compounds: allow wrapping inside narrow cards instead of overflowing. */
html:lang(de) h1,html:lang(de) h2,html:lang(de) h3{hyphens:auto;overflow-wrap:anywhere}
html:lang(zh-Hans) body,html:lang(ja) body{line-break:strict;word-break:normal;overflow-wrap:anywhere}
html:lang(zh-Hans) h1,html:lang(ja) h1,html:lang(zh-Hans) h2,html:lang(ja) h2{letter-spacing:0}
/* Translated navigation labels are longer than English: keep the desktop header on one line without scrolling. */
@media(min-width:1261px) and (max-width:1680px){
 html:not(:lang(en)) .header .header-inner{gap:10px!important}
 html:not(:lang(en)) .header nav[aria-label="Main navigation"]{gap:8px!important}
 html:not(:lang(en)) .header nav[aria-label="Main navigation"] a{font-size:13px!important;white-space:nowrap}
 html:not(:lang(en)) .header .header-cta{padding-inline:12px!important;font-size:13px!important;white-space:nowrap}
 html:not(:lang(en)) .header .header-cta svg{display:none!important}
 html:not(:lang(en)) .header .brand-country{display:none}
}
@media(min-width:1261px) and (max-width:1380px){
 html:not(:lang(en)) .header nav[aria-label="Main navigation"]{gap:5px!important}
 html:not(:lang(en)) .header nav[aria-label="Main navigation"] a{font-size:12.5px!important;letter-spacing:-.01em}
 html:not(:lang(en)) .header .brand{font-size:19px}
}
