/* Responsive navigation: approved desktop menu and accessible mobile toggle.
   This stylesheet is loaded AFTER the original theme's @media(max-width:1320px).
   At intermediate desktop widths reduce horizontal gap, not the page content. */
@media screen and (min-width: 1181px) {
  .pb-v1 .pb-preview-header { gap:18px!important;padding-left:clamp(20px,2.5vw,48px)!important;padding-right:clamp(20px,2.5vw,48px)!important; }
  .pb-v1 .pb-preview-header > a {flex:0 0 auto!important;}
  .pb-v1 .pb-preview-header img {width:clamp(155px,14vw,200px)!important;}
  .pb-v1 .pb-nav-toggle {display:none!important;}
  .pb-v1 .pb-preview-nav, .pb-v1 .pb-preview-nav.is-open {
    display:flex!important;position:static!important;align-items:center!important;flex-direction:row!important;
    gap:clamp(6px,.82vw,16px)!important;background:transparent!important;
    box-shadow:none!important;padding:0!important;min-width:0!important;width:auto!important;
    max-height:none!important;overflow:visible!important;
  }
  .pb-v1 .pb-nav-group {display:flex!important;align-items:center!important;position:relative!important;}
  .pb-v1 .pb-preview-nav>a,.pb-v1 .pb-preview-nav>.pb-nav-group>a {
    display:inline-block!important;font-size:clamp(11px,.83vw,14px)!important;
    padding:9px 0!important;white-space:nowrap!important;
  }
  .pb-v1 .pb-preview-nav .pb-nav-submenu {position:absolute!important;display:none!important;top:100%!important;
    left:-16px!important;min-width:205px!important;flex-direction:column!important;
    background:#073142!important;padding:10px 16px!important;box-shadow:0 13px 23px rgba(0,0,0,.20)!important;}
  .pb-v1 .pb-nav-group:hover>.pb-nav-submenu,.pb-v1 .pb-nav-group:focus-within>.pb-nav-submenu {display:flex!important;}
  .pb-v1 .pb-preview-nav .pb-nav-submenu a {display:block!important;font-size:clamp(11px,.84vw,14px)!important;line-height:1.3!important;font-weight:600!important;padding:10px 4px!important;color:#fff!important;}
}
/* The screen-width boundary remains at 1180px: preserve the original compact menu. */
@media screen and (min-width:761px) and (max-width:1180px) {
 .pb-v1 .pb-nav-toggle {display:inline-flex!important;}
}
@media screen and (max-width:760px) {
 .pb-v1 .pb-about-hero .pb-hero-media video,
 .pb-v1 .pb-about-hero .pb-hero-media .pb-hero-poster {
   object-fit:cover!important;object-position:left center!important;
 }
}
/* Links distinguishable without relying on colour and keyboard focus. */
.pb-v1 main :is(p,li) a:not(.pb-cta):not(.pb-button) {text-decoration:underline;text-underline-offset:.16em;text-decoration-thickness:.08em;}
.pb-v1 :is(a,button,input,textarea,select):focus-visible {outline:3px solid #f5cb42!important;outline-offset:3px!important;}
/* Supplement original consent layout without changing its approved palette. */
.pb-v1 .pb-consent-detail label,.pb-consent-panel .pb-consent-detail label {font:inherit;line-height:1.5;cursor:pointer;}
.pb-consent-panel .pb-consent-detail input {accent-color:#087b80;}

/* v1.2: fix desktop header at effective 1280px (1920px at 150% Windows scale).
   Override the theme's old max-width:1320 !important breakpoint, and let
   JavaScript collapse only when actual link widths exceed the space available. */
@media screen and (min-width: 1024px) {
 .pb-v1 header.pb-preview-header {gap:12px!important;padding-left:clamp(16px,1.75vw,34px)!important;padding-right:clamp(16px,1.75vw,34px)!important;}
 .pb-v1 header.pb-preview-header>a {flex:0 0 auto!important;min-width:0!important;}
 .pb-v1 header.pb-preview-header>a img {width:clamp(160px,13vw,205px)!important;height:auto!important;max-width:100%!important;}
 .pb-v1 header.pb-preview-header .pb-nav-toggle {display:none!important;}
 .pb-v1 header.pb-preview-header .pb-preview-nav {
  display:flex!important;position:static!important;flex:0 1 auto!important;
  align-items:center!important;flex-direction:row!important;
  gap:clamp(7px,.75vw,12px)!important;margin-left:auto!important;
  width:auto!important;min-width:0!important;max-height:none!important;
  padding:0!important;overflow:visible!important;box-shadow:none!important;background:transparent!important;
 }
 .pb-v1 header.pb-preview-header .pb-preview-nav>.pb-nav-group {display:flex!important;position:relative!important;align-items:center!important;}
 .pb-v1 header.pb-preview-header .pb-preview-nav>a,
 .pb-v1 header.pb-preview-header .pb-preview-nav>.pb-nav-group>a {display:inline-block!important;font-size:clamp(11px,.84vw,14px)!important;white-space:nowrap!important;line-height:1.3!important;padding:9px 0!important;}
 .pb-v1 header.pb-preview-header .pb-preview-nav .pb-nav-submenu {display:none!important;position:absolute!important;top:100%!important;left:-16px!important;min-width:205px!important;flex-direction:column!important;background:#073142!important;padding:10px 16px!important;box-shadow:0 13px 23px rgba(0,0,0,.2)!important;}
 .pb-v1 header.pb-preview-header .pb-nav-group:hover>.pb-nav-submenu,
 .pb-v1 header.pb-preview-header .pb-nav-group:focus-within>.pb-nav-submenu {display:flex!important;}
 .pb-v1 header.pb-preview-header .pb-preview-nav .pb-nav-submenu a {display:block!important;font-size:clamp(11px,.84vw,14px)!important;line-height:1.3!important;font-weight:600!important;padding:10px 4px!important;color:#fff!important;}
 /* The fit-check adds this only when the desktop links genuinely collide. */
 .pb-v1 header.pb-preview-header.pb-v12-compact .pb-nav-toggle {display:inline-flex!important;}
 .pb-v1 header.pb-preview-header.pb-v12-compact .pb-preview-nav {display:none!important;position:absolute!important;top:calc(100% - 1px)!important;left:16px!important;right:16px!important;width:auto!important;max-height:75vh!important;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;background:#073142!important;padding:14px 22px 20px!important;box-shadow:0 18px 30px rgba(0,0,0,.25)!important;}
 .pb-v1 header.pb-preview-header.pb-v12-compact .pb-preview-nav.is-open {display:flex!important;}
 .pb-v1 header.pb-preview-header.pb-v12-compact .pb-preview-nav>.pb-nav-group {display:block!important;}
 .pb-v1 header.pb-preview-header.pb-v12-compact .pb-preview-nav>a,
 .pb-v1 header.pb-preview-header.pb-v12-compact .pb-preview-nav>.pb-nav-group>a {display:block!important;font-size:15px!important;padding:12px 0!important;}
 .pb-v1 header.pb-preview-header.pb-v12-compact .pb-nav-submenu {position:static!important;display:flex!important;flex-direction:column!important;padding:0 0 8px 16px!important;min-width:0!important;background:transparent!important;box-shadow:none!important;}
 }
@media screen and (max-width: 1023px) {
 .pb-v1 header.pb-preview-header .pb-nav-toggle {display:inline-flex!important;}
}
/* The real portrait animation is sourced from the working product pages.
   Preserve the video with the poster visible until playback is ready. */
@media screen and (max-width: 760px) {
 .pb-v1 .pb-about-hero .pb-hero-media .pb-v12-mobile-poster,
 .pb-v1 .pb-about-hero .pb-hero-media .pb-v12-mobile-poster>img {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;}
 .pb-v1 .pb-about-hero .pb-hero-media .pb-v12-mobile-poster>img {object-fit:cover!important;object-position:center center!important;}
 .pb-v1 .pb-about-hero .pb-hero-media video {object-position:center!important;opacity:0;transition:opacity .18s ease;}
 .pb-v1 .pb-about-hero .pb-hero-media video.pb-v12-video-ready {opacity:1;}
}
@media (prefers-reduced-motion: reduce) {
 .pb-v1 .pb-about-hero .pb-hero-media video {display:none!important;}
}

/* v1.3: Ensure dropdown labels match top-level labels when the menu is
   horizontal. Compact menus intentionally use their larger touch targets. */
@media screen and (min-width: 1024px) {
  .pb-v1 header.pb-preview-header:not(.pb-v12-compact) .pb-preview-nav .pb-nav-submenu a {
    font-size:clamp(11px,.84vw,14px)!important;
    line-height:1.3!important; font-weight:600!important; letter-spacing:normal!important;
  }
}
