/* Shared layout for all languages. Keep the language layer above the sticky header. */
.bpt-topbar{position:relative;z-index:1100;overflow:visible}
.bpt-topbar>.bpt-shell{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 18px;min-height:44px;padding-block:6px;overflow:visible}
.bpt-topbar>.bpt-shell>span{flex:1 1 220px;min-width:0;max-width:none}
.bpt-topbar .bpt-social-links{display:flex;width:auto;flex:0 0 auto;margin-left:0}
.bpt-languages{position:relative;z-index:2;flex:0 0 auto}
.bpt-languages summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;line-height:1.35;padding:6px 12px}
.bpt-languages ul{z-index:3;right:0;left:auto;top:100%;width:190px;min-width:0;max-width:calc(100vw - 36px);max-height:65vh;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain;margin:6px 0 0;padding:8px;box-sizing:border-box;box-shadow:0 16px 40px #15374a2b}
.bpt-languages li{margin:0;padding:0}
.bpt-languages a{display:flex;align-items:center;min-height:44px;padding:10px 12px;white-space:normal;overflow-wrap:break-word;line-height:1.4}
.bpt-languages a:hover,.bpt-languages a:focus-visible{background:#eaf5ec}
.bpt-header{z-index:1000;overflow:visible}
.bpt-header-inner{grid-template-columns:auto minmax(0,1fr);gap:18px 24px}
.bpt-nav,.bpt-nav>.bpt-menu{min-width:0}
.bpt-nav .bpt-header-cta{width:auto;max-width:100%;min-width:0;min-height:48px;height:auto;white-space:normal;overflow-wrap:break-word;line-height:1.35;text-align:center;gap:10px;padding:13px 20px;flex:0 1 auto}
.bpt-header-cta svg,.bpt-hero-buttons svg{flex:0 0 20px;width:20px}
.bpt-access-bar>.bpt-shell{flex-wrap:wrap;padding-block:6px}
.bpt-access-links{flex-wrap:wrap;max-width:100%}
.bpt-access-links a{white-space:normal;min-width:0;text-align:center}

@media(min-width:1101px){
 .bpt-nav{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;width:auto;gap:12px 20px}
 .bpt-nav>.bpt-menu{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;width:auto;gap:4px 18px;white-space:normal}
 .bpt-menu>li{flex:0 0 auto;width:auto}
 .bpt-menu>li>a,.bpt-menu summary{white-space:nowrap;overflow-wrap:normal;word-break:normal}
}
@media(max-width:1100px){
 .bpt-topbar .bpt-social-links{display:none}
 .bpt-header-inner{grid-template-columns:minmax(0,1fr) auto;gap:0 20px;min-height:82px}
 .bpt-menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:46px;height:46px;padding:10px;border:1px solid #c5d4e2;border-radius:7px;background:#fff!important;color:var(--bpt-primary);cursor:pointer;justify-self:end}
 .bpt-menu-toggle>span:not(.screen-reader-text){display:block;width:20px;height:2px;background:currentColor}
 .bpt-nav{grid-column:1/-1;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;width:100%;gap:16px;padding:12px 0 24px;max-height:calc(100vh - 185px);max-height:calc(100dvh - 185px);overflow-y:auto;overscroll-behavior:contain}
 .bpt-site.bpt-js .bpt-nav:not(.is-open){display:none}
 .bpt-nav>.bpt-menu{display:block;flex:0 0 auto;width:100%;white-space:normal}
 .bpt-menu li{width:100%}
 .bpt-menu>li>a,.bpt-nav summary{padding:12px 8px;font-size:15px;white-space:normal;overflow-wrap:break-word}
 .bpt-menu .menu-item-has-children>a{padding-right:45px}
 .bpt-submenu-toggle{position:absolute;right:0;top:2px;width:42px;height:44px;margin:0}
 .bpt-nav-dropdown ul,.bpt-menu .sub-menu{position:static;width:auto;min-width:0;max-width:none;margin:0 6px 8px;padding:6px 8px;border:0;border-left:2px solid var(--bpt-line);box-shadow:none;border-radius:0}
 .bpt-nav-dropdown ul a,.bpt-menu .sub-menu a{font-size:14px}
 .bpt-nav .bpt-header-cta{align-self:flex-start;width:auto;margin-top:0}
}

/* Translated titles and captions stay in the same structure and can grow naturally. */
.bpt-hero-copy,.bpt-hero-showcase,.bpt-slide-caption,.bpt-editorial-body,.bpt-section-heading>*{min-width:0}
.bpt-site .bpt-hero-copy h1{font-size:clamp(34px,4.4vw,64px)!important;line-height:1.08!important;max-width:100%;text-wrap:balance;overflow-wrap:break-word}
.bpt-hero-buttons .bpt-button{max-width:100%;min-width:0;height:auto;white-space:normal;overflow-wrap:break-word;line-height:1.4;text-align:center}
.bpt-hero-slide{display:grid;align-items:end;height:auto;min-height:550px;isolation:isolate}
.bpt-hero-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.bpt-slide-caption{position:relative;left:auto;right:auto;bottom:auto;z-index:1;margin:22px;max-width:calc(100% - 44px);overflow-wrap:break-word}
.bpt-site .bpt-slide-caption h2{font-size:clamp(23px,2.2vw,28px)!important;line-height:1.2;text-wrap:balance}
.bpt-slide-caption a{display:inline-flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:100%;white-space:normal}
.bpt-slide-caption a svg{flex:0 0 20px;width:20px}
.bpt-site .bpt-section-heading h2,.bpt-detail-hero h1,.bpt-transport-hero h1{overflow-wrap:break-word;text-wrap:balance}
@media(max-width:1100px){.bpt-hero-slide{min-height:470px}}
@media(max-width:700px){
 .bpt-topbar>.bpt-shell{justify-content:space-between;gap:6px 10px}
 .bpt-topbar>.bpt-shell>span{display:none}
 .bpt-languages ul{left:0;right:auto}
 .bpt-access-links{width:100%}
 .bpt-hero-slide{min-height:425px}
 .bpt-slide-caption{margin:16px;max-width:calc(100% - 32px)}
 .bpt-site .bpt-hero-copy h1{font-size:clamp(32px,8.8vw,43px)!important}
}
@media(prefers-reduced-motion:reduce){.bpt-languages *{transition:none!important}}
