/* Shared header for the classic homepage and tour detail templates on staging. */
.td-page .td-header-wp{padding:20px 0 0;z-index:60;background:none}
.td-page .td-header-wp .td-header-inner{position:relative;display:flex;align-items:center;gap:22px;width:min(1360px,calc(100% - 80px));max-width:none;min-height:88px;margin-inline:auto;padding:8px 22px;background:#fff;border-radius:12px;box-shadow:0 5px 25px #09244914}
.td-page .td-header-wp .td-brand{flex:none;gap:0;padding:0;min-width:0}
.td-page .td-header-wp .td-brand img{width:126px;height:68px;object-fit:contain}
.td-page .td-header-wp .td-brand-caption{display:none}
.td-page .td-header-wp .td-wp-nav{flex:1;min-width:0;display:block;margin-left:auto}
.td-page .td-header-wp ul{list-style:none;padding:0;margin:0}
.td-page .td-header-wp .td-menu-list{display:flex;justify-content:center;align-items:center;gap:5px}
.td-page .td-header-wp .menu-item{position:relative;display:flex;align-items:center;min-width:0}
.td-page .td-header-wp .menu-item>a{display:block;padding:14px 8px;color:#092449;font:600 12px/1.35 var(--td-sans);white-space:nowrap;text-decoration:none;border-radius:6px}
.td-page .td-header-wp .menu-item>a:hover,.td-page .td-header-wp .menu-item>a:focus-visible{background:#f8f6f0;color:#1764a5}
.td-page .td-header-wp .menu-item-has-children>a{padding-right:1px}
.td-page .td-header-wp .td-submenu-toggle{display:grid;place-items:center;flex:none;width:23px;height:44px;border:0;border-radius:6px;background:transparent;color:#092449;padding:0}
.td-page .td-header-wp .td-submenu-toggle:hover,.td-page .td-header-wp .td-submenu-toggle[aria-expanded=true]{background:#f8f6f0;color:#1764a5}
.td-page .td-header-wp .td-submenu-toggle>.td-icon{height:13px;width:13px;stroke-width:2;transition:transform .2s ease-out}
.td-page .td-header-wp .td-submenu-toggle[aria-expanded=true]>.td-icon{transform:rotate(180deg)}
.td-page .td-header-wp .sub-menu{position:absolute;top:100%;left:0;z-index:3;width:max-content;min-width:260px;max-width:340px;padding:8px;background:#fff;border-radius:10px;box-shadow:0 12px 28px #09244924}
.td-page .td-header-wp [hidden]{display:none!important}
.td-page .td-header-wp .sub-menu .menu-item>a{flex:1;padding:12px 13px;font-size:13px;font-weight:500;white-space:normal}
.td-page .td-header-wp .sub-menu .td-submenu-toggle{width:36px}
.td-page .td-header-wp .sub-menu .sub-menu{left:100%;top:0}
.td-page .td-header-wp .td-menu-list>.menu-item:nth-last-child(-n+2)>.sub-menu{left:auto;right:0}
.td-page .td-header-wp .td-header-actions{margin-left:0;gap:13px;flex:none}
.td-page .td-header-wp .td-header-actions>.td-btn{font-size:11px;min-height:42px;padding:12px 16px;gap:8px}
.td-page .td-header-wp .td-language{font-size:11px!important;gap:4px}
.td-page .td-header-wp .td-language .td-icon{width:16px!important;height:16px}
.td-page .td-header-wp .td-menu-toggle,.td-page .td-header-wp .td-menu-quote{display:none}
.td-page .td-header-wp a:focus-visible,.td-page .td-header-wp button:focus-visible{outline:2px solid #1764a5;outline-offset:3px}
.td-page .td-header-wp .td-wp-nav{scrollbar-width:thin;scrollbar-color:#3389d7 #f8f6f0}
.tdt-page .td-header-wp{position:relative;padding:12px 0;background:#fff;border-bottom:1px solid #e6e5df}
.tdt-page .td-header-wp .td-header-inner{box-shadow:none;padding-block:0;max-width:1280px}
@media(max-width:1319px){
 .td-page .td-header-wp .td-header-inner{gap:18px;min-height:84px;padding:8px 18px}
 .td-page .td-header-wp .td-header-actions{margin-left:auto}
 .td-page .td-header-wp .td-menu-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 13px;border:1px solid #c4ccd4;border-radius:8px;background:#fff;color:#092449;font:600 12px/1.4 var(--td-sans)}
 .td-page .td-header-wp .td-menu-toggle .td-icon{width:20px;height:20px}
 .td-page .td-header-wp .td-wp-nav{display:none;position:absolute;top:calc(100% + 9px);left:0;right:0;margin:0;padding:12px 16px;background:#fff;border-radius:12px;box-shadow:0 12px 28px #09244924;max-height:calc(100svh - 130px);overflow:auto;overscroll-behavior:contain}
 .td-page .td-header-wp .td-wp-nav.is-open{display:block}
 .td-page .td-header-wp .td-menu-list{display:block}
 .td-page .td-header-wp .menu-item{display:flex;flex-wrap:wrap;border-bottom:1px solid #e7e9eb}
 .td-page .td-header-wp .menu-item>a{flex:1;min-height:46px;display:flex;align-items:center;padding:11px 10px;font-size:14px;white-space:normal}
 .td-page .td-header-wp .td-submenu-toggle{height:46px;width:44px}
 .td-page .td-header-wp .sub-menu,.td-page .td-header-wp .sub-menu .sub-menu{position:static;flex-basis:100%;min-width:0;max-width:none;width:100%;padding:2px 0 8px 13px;border-radius:0;box-shadow:none;background:#f8f6f0}
 .td-page .td-header-wp .sub-menu .menu-item{border:0}
 .td-page .td-header-wp .sub-menu .menu-item>a{padding:10px 12px;min-height:44px;font-size:13px;line-height:1.45}
 .td-page .td-header-wp .td-menu-quote{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding:11px 14px;background:#092449;color:#fff;border-radius:8px;font:600 13px/1.5 var(--td-sans);min-height:44px}
 .td-page .td-header-wp .td-menu-quote .td-icon{width:20px;height:20px}
}
@media(max-width:1240px){.td-page .td-header-wp .td-header-inner{width:calc(100% - 56px)}}
@media(max-width:640px){
 .td-page .td-header-wp{padding:12px 0 0}
 .td-page .td-header-wp .td-header-inner{width:calc(100% - 36px);min-height:70px;padding:7px 12px;gap:10px}
 .td-page .td-header-wp .td-brand img{width:104px;height:56px}
 .td-page .td-header-wp .td-header-actions{gap:12px}
 .td-page .td-header-wp .td-header-actions>.td-btn{display:none}
 .td-page .td-header-wp .td-wp-nav{padding:10px 12px;max-height:calc(100svh - 108px)}
 .tdt-page .td-header-wp{padding:4px 0}
}
@media(prefers-reduced-motion:reduce){.td-page .td-header-wp .td-submenu-toggle>.td-icon{transition:none}}
