/* Header presentation inspired by the supplied white navigation reference. */
#top #wrap_all #header:has(.tcn-header),
#top #wrap_all #header #header_main:has(.tcn-header) { height:auto !important; }
#top #wrap_all #header #header_main:has(.tcn-header) > .container { height:90px !important; line-height:90px !important; }
#top #wrap_all #header #header_main:has(.tcn-header) .inner-container { display:flex; align-items:center; gap:24px; }
#top #wrap_all #header #header_main:has(.tcn-header) .logo { position:relative; flex:0 0 120px; width:120px; left:auto; top:0 !important; height:90px !important; max-height:90px !important; }
#top #wrap_all #header #header_main:has(.tcn-header) .logo a { display:flex; align-items:center; height:90px !important; max-height:90px !important; }
#top #wrap_all #header #header_main:has(.tcn-header) .logo img { width:auto !important; height:auto !important; max-width:100%; max-height:80px !important; }
#top #wrap_all #header #header_main:has(.tcn-header) .main_menu { position:static; flex:1 1 auto; min-width:0; height:auto; line-height:normal; float:none; }
#top #wrap_all #header #header_main:has(.tcn-header) .main_menu > .social_bookmarks { position:absolute; top:50%; right:0; margin:-15px 0 0; }
#top .tcn-header { --tcn-header-ink:#5d5d70; font-size:14px; line-height:1.4; text-align:left; }
#top .tcn-header ul, #top .tcn-header li { float:none; list-style:none; margin:0; padding:0; }
#top .tcn-header .tcn__link { height:auto; line-height:1.4; font-size:inherit; }
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row { min-height:44px; border:0; background:#fff; box-shadow:none; overflow:visible; }
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__link,
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__link:visited,
#top .tcn-header .tcn-header__trigger,
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__label {
 position:relative; min-height:44px; padding:0 10px; color:var(--tcn-header-ink); background:transparent;
 font-size:13px; font-weight:700; letter-spacing:.055em; text-transform:uppercase; white-space:nowrap; transform:none;
}
#top .tcn-header .tcn-header__trigger { border:0; gap:4px; }
#top .tcn-header .tcn-header__trigger .tcn__structural-toggle-label { padding:0; min-height:44px; transform:none; }
#top .tcn-header .tcn-header__trigger .tcn__toggle-icon { flex:0 0 20px; width:20px; border:0; transform:none; }
#top .tcn-header .tcn-header__trigger .tcn__toggle-icon::before { width:5px; height:5px; border-width:1.5px; }
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__link::after,
#top .tcn-header .tcn-header__trigger::after {
 position:absolute; left:10px; right:10px; bottom:4px; height:2px; background:var(--tcn-brand); content:'';
 transform:scaleX(0); transform-origin:left; transition:transform var(--tcn-motion);
}
#top .tcn-header .tcn__menu > .current-menu-item > .tcn__row > .tcn__link,
#top .tcn-header .tcn__menu > .current-menu-item > .tcn__row > .tcn__link:visited,
#top .tcn-header .tcn__menu > .current-menu-ancestor > .tcn__row > .tcn-header__trigger,
#top .tcn-header .tcn-header__trigger[aria-expanded='true'],
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__link:hover,
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__link:visited:hover,
#top .tcn-header .tcn-header__trigger:hover { color:var(--tcn-brand); }
#top .tcn-header .tcn__menu > .current-menu-item > .tcn__row > .tcn__link::after,
#top .tcn-header .tcn__menu > .current-menu-ancestor > .tcn__row > .tcn-header__trigger::after,
#top .tcn-header .tcn-header__trigger[aria-expanded='true']::after,
#top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__link:hover::after,
#top .tcn-header .tcn-header__trigger:hover::after { transform:scaleX(1); }
#top .tcn-header .tcn__link:focus-visible, #top .tcn-header button:focus-visible,
#top .tcn-header input:focus-visible, #top .tcn-header .tcn-header__quote a:focus-visible { outline:3px solid var(--tcn-focus); outline-offset:-3px; }
#top .tcn-header .tcn__submenu { padding-inline-start:10px; }
#top .tcn-header .tcn-header__dropdown { padding:12px; border:0; background:#fff; }
#top .tcn-header .tcn-header__catalogue > .tcn__row { border:0; background:#fff; box-shadow:none; }
#top .tcn-header .tcn-header__catalogue > .tcn__row > .tcn__link { min-height:52px; color:var(--tcn-header-ink); font-weight:600; }
#top .tcn-header .tcn-header__catalogue.current-menu-item > .tcn__row > .tcn__link,
#top .tcn-header .tcn-header__catalogue.current-menu-ancestor > .tcn__row > .tcn__link,
#top .tcn-header .tcn-header__catalogue.current-menu-parent > .tcn__row > .tcn__link,
#top .tcn-header .tcn-header__catalogue > .tcn__row:hover > .tcn__link { color:var(--tcn-brand); }
#top .tcn-header .tcn-header__search-toggle { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:var(--tcn-header-ink); cursor:pointer; }
#top .tcn-header .tcn-header__search-toggle:hover { color:var(--tcn-brand); }
#top .tcn-header .tcn-header__search-popup { padding:16px; background:#fff; }
#top .tcn-header .tcn-header__search form { display:flex; gap:6px; margin:0; }
#top .tcn-header .tcn-header__search input { flex:1; width:100%; min-width:0; min-height:44px; margin:0; padding:8px 10px; border:1px solid var(--tcn-border); border-radius:0; font:inherit; background:#fff; color:var(--tcn-text); }
#top .tcn-header .tcn-header__search form button { min-height:44px; padding:8px 12px; border:0; background:var(--tcn-brand); color:#fff; font:inherit; cursor:pointer; }
#top .tcn-header .tcn-header__quote a {
 display:flex; align-items:center; justify-content:center; gap:10px; height:44px !important; min-height:44px; padding:10px 16px;
 border:1px solid var(--tcn-brand); color:var(--tcn-brand); background:#fff; font-size:11px; font-weight:700;
 letter-spacing:.06em; line-height:1.2 !important; text-transform:uppercase; text-decoration:none; white-space:nowrap;
 transition:background-color var(--tcn-motion-fast),color var(--tcn-motion-fast);
}
#top .tcn-header .tcn-header__quote a:hover { background:var(--tcn-brand); color:#fff; }
@media (min-width:990px) {
 .html_header_top.html_header_sticky #top #wrap_all:has(.tcn-header[data-tcn-enhanced='true']) #main { padding-top:90px !important; }
}
@media (min-width:1200px) {
 #top .tcn-header[data-tcn-enhanced='true'] .tcn__menu { display:flex; justify-content:flex-end; align-items:center; gap:14px; padding-inline-end:38px; }
 #top .tcn-header[data-tcn-enhanced='true'] .tcn__menu > li { position:relative; flex:0 0 auto; width:auto; }
 #top .tcn-header[data-tcn-enhanced='true'] .tcn__menu > li > .tcn__submenu,
 #top .tcn-header[data-tcn-enhanced='true'] .tcn-header__search-popup {
  position:absolute; top:calc(100% + 23px); left:0; z-index:10; width:320px; max-width:calc(100vw - 32px);
  max-height:min(650px,calc(100dvh - 150px)); overflow:auto; overscroll-behavior:contain; box-shadow:0 14px 30px rgba(25,31,36,.16);
 }
 /* Continuous pointer path between the trigger and dropdown. */
 #top .tcn-header .tcn-header__equipment::after { position:absolute; top:100%; left:0; width:100%; height:24px; content:''; }
 #top .tcn-header[data-tcn-enhanced='true'] .tcn-header__search-popup { left:auto; right:0; width:320px; }
}
@media (min-width:1200px) and (max-width:1399px) {
 #top .tcn-header[data-tcn-enhanced='true'] .tcn__menu { gap:2px; }
 #top .tcn-header .tcn__menu > .tcn__item > .tcn__row > .tcn__link,
 #top .tcn-header .tcn-header__trigger { padding-inline:8px; font-size:12px; }
 #top .tcn-header .tcn-header__quote a { padding-inline:12px; }
}
@media (max-width:1199px) {
 #top #wrap_all #header #header_main:has(.tcn-header) .inner-container { justify-content:space-between; }
 #top #wrap_all #header #header_main:has(.tcn-header) .main_menu { flex:0 1 auto; margin-right:34px; }
 #top .tcn-header[data-tcn-mode='mobile'] > .tcn__panel-toggle:not([hidden]) { display:flex !important; align-items:center; width:108px; border:1px solid var(--tcn-brand); border-radius:0; background:#fff; color:var(--tcn-brand); box-shadow:none; }
 #top .tcn-header[data-tcn-enhanced='true'] > .tcn__panel:not([hidden]) {
  position:absolute; top:100%; right:0; z-index:10; width:440px; max-width:100%; max-height:calc(100dvh - 160px);
  overflow:auto; overscroll-behavior:contain; padding:12px; border:0; border-radius:0; background:#fff; box-shadow:0 14px 30px rgba(25,31,36,.16);
 }
 #top .tcn-header .tcn__menu > .tcn__item > .tcn__row { min-height:48px; }
 #top .tcn-header .tcn-header__dropdown { padding:6px 0 12px; }
 #top .tcn-header .tcn-header__search-popup { padding:0 0 12px; }
 #top .tcn-header .tcn-header__quote { margin-top:8px; }
}
@media (max-width:400px) {
 #top #wrap_all #header #header_main:has(.tcn-header) .inner-container { gap:8px; }
 #top #wrap_all #header #header_main:has(.tcn-header) .logo { flex-basis:90px; width:90px; }
}

/* Keep the first paint stable while the navigation controls initialise.
 * The short-lived class is set in the head; no-JS and failed-JS visits
 * retain the original expanded, accessible fallback.
 */
@media (min-width:990px) {
 .tcn-booting.html_header_top.html_header_sticky #top #wrap_all:has(.tcn-header) #main { padding-top:90px !important; }
}
@media (min-width:1200px) {
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) .tcn__menu { display:flex; justify-content:flex-end; align-items:center; gap:14px; padding-inline-end:38px; }
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) .tcn__menu > li { position:relative; flex:0 0 auto; width:auto; }
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) .tcn__menu > li > .tcn__submenu,
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) .tcn-header__search-popup { display:none; }
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) .tcn-header__search { width:44px; height:44px; }
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) .tcn-header__equipment > .tcn__row > .tcn__label { padding-right:34px; }
}
@media (min-width:1200px) and (max-width:1399px) {
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) .tcn__menu { gap:2px; }
}
@media (max-width:1199px) {
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) { width:108px; height:44px; }
 .tcn-booting #top .tcn-header:not([data-tcn-enhanced="true"]) > .tcn__panel { display:none; }
}

/* Unenhanced header: compact, wrapping rows with every destination exposed.
 * Keep DOM/tab order intact and let the header grow in normal document flow.
 * Also applies after the boot timeout when enhancement fails; never to the
 * enhanced menu or its temporary first-paint state.
 */
#top #wrap_all #header:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) {
 position:relative !important; top:auto !important;
}
#top #wrap_all #header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) > .container {
 height:auto !important; line-height:normal !important; padding-block:16px;
}
#top #wrap_all #header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) .inner-container {
 display:grid; grid-template-columns:120px minmax(0,1fr); align-items:start; gap:24px;
}
#top #wrap_all #header#header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) .logo {
 position:relative; float:none; margin:0; height:90px !important;
}
#top #wrap_all #header#header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) .logo a {
 height:90px !important; max-height:90px !important; transform:none !important;
}
#top #wrap_all #header#header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) .logo img {
 max-height:90px !important; transform:none !important;
}
#top #wrap_all #header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) .main_menu {
 width:100%; min-width:0; margin:0; padding:0;
}
#top #wrap_all #header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) .main_menu > .social_bookmarks {
 position:static; float:none; margin:8px 0 0; height:30px; display:flex; justify-content:flex-end;
}
#top #header:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) ~ #main { padding-top:0 !important; }
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn__menu {
 display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; padding:0;
}
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn__menu > li {
 position:static; flex:0 1 auto; width:auto; min-width:0; margin:0;
}
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn__menu > .tcn-header__equipment {
 display:flex; flex-wrap:wrap; align-items:center; gap:0 12px; flex:1 0 100%;
}
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn-header__dropdown {
 display:flex; flex-wrap:wrap; flex:1 1 420px; gap:4px 8px; padding:0; width:auto; max-width:100%;
}
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn-header__catalogue {
 flex:1 1 170px; min-width:0;
}
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn-header__catalogue > .tcn__row > .tcn__link {
 min-height:44px; white-space:normal; overflow-wrap:break-word;
}
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn__menu > .tcn-header__search {
 flex:1 1 240px; max-width:360px;
}
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn-header__search-popup { padding:0; }
#top .tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *) .tcn-header__quote a { white-space:normal; }
@media (max-width:767px) {
 #top #wrap_all #header #header_main:has(.tcn-header:not([data-tcn-enhanced='true']):not(.tcn-booting *)) .inner-container {
  grid-template-columns:minmax(0,1fr); gap:12px;
 }
}
