/* Shared responsive shell fidelity.
   Sources: post-7958 (header), post-7998 (footer), and the reviewed
   390/768/1280 viewport matrix in research/shared-shell-live-geometry.json.
   Load after site.css. Desktop navigation uses its anonymous source height:
   24px line height plus 30px padding above and below each link. */
@media (min-width: 1025px) {
  .site-header .site-menu {
    height: 84px;
  }

  /* Anonymous live footer measured at 1280px on 13 November 2026.
     The old desktop rule used top padding and omitted Elementor's 15px
     column gutters; it placed Quick Links 34.5px high and 15px left. */
  .site-footer {
    display: flex;
    align-items: center;
    padding: 0 !important;
    min-height: 385px;
    background: #333 !important;
  }
  .site-footer .footer-inner {
    width: 100%;
    max-width: 1000px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .site-footer .footer-inner > div { min-width: 0; padding: 0 15px; }
  .site-footer .footer-contact { position: relative; gap: 0; }
  .site-footer .footer-contact > a { font: 300 13px/13px var(--site-body); }
  .site-footer .consent-reopen {
    position: absolute;
    top: calc(100% + 16px);
    right: 15px;
  }
}

@media (max-width: 1024px) {
  .site-header,
  .site-header.scrolled {
    height: 142px;
    min-height: 0;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  .site-header .site-logo,
  .site-header.scrolled .site-logo {
    width: min(12.952vw, 118.611765px);
    height: 142px;
    background: transparent;
    flex: none;
  }

  .site-header .site-logo img {
    width: 100%;
    height: 142px;
    object-fit: contain;
    object-position: left center;
  }

  .site-header .menu-toggle {
    --shell-bar-offset: 10px;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-width: 0;
    height: 56px;
    padding: 9px;
    gap: 7px;
    border: 1px solid #000;
    background: #f2f2f2;
    color: #000;
  }

  .site-header .menu-toggle svg {
    display: block;
    width: 36px;
    height: 36px;
    flex: none;
    fill: currentColor;
  }

  .site-header .menu-toggle .menu-toggle-close,
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-open {
    display: none;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-close {
    display: block;
  }

  .site-header .site-menu,
  .site-header.scrolled .site-menu {
    top: 156px;
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    gap: 0;
    background: #fff;
  }

  .site-header .site-menu a {
    margin: 0;
    padding: 0 20px;
    font: 700 12px/24px var(--site-body);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
  }

  .site-header .submenu a {
    padding-left: 40px;
    line-height: 20px;
    white-space: normal;
  }

  .site-footer {
    display: flex;
    align-items: center;
    padding: 0 !important;
    min-height: 385px;
    background: #333 !important;
  }

  .site-footer .footer-inner {
    width: 100%;
    max-width: 650px;
    margin: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .site-footer .footer-inner > div {
    min-width: 0;
    padding: 0 15px;
  }

  .site-footer h2 {
    margin: 0 0 20px;
    font: 700 12px/24px var(--site-body);
    letter-spacing: 1.5px;
  }

  .site-footer nav {
    gap: 5px;
  }

  .site-footer nav a {
    font: 400 12px/24px var(--site-body);
    letter-spacing: 2px;
  }

  .site-footer .footer-contact {
    position: relative;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    text-align: right;
  }

  .site-footer .footer-contact > a {
    display: block;
    font: 300 12px/12px var(--site-body);
  }

  .site-footer .social-links {
    gap: 15px;
  }

  /* The source has no consent-reopen control. Keep this existing native
     function in the footer's free space without changing source geometry. */
  .site-footer .consent-reopen {
    position: absolute;
    top: calc(100% + 16px);
    right: 15px;
    font: 11px/13px var(--site-ui);
  }
}

@media (max-width: 767px) {
  .site-header,
  .site-header.scrolled {
    height: 100px;
  }

  .site-header .site-logo,
  .site-header.scrolled .site-logo {
    width: min(30vw, 75.176471px);
    height: 90px;
    /* Keep the full mark above the dropdown, which starts at 59.5px. */
    position: relative;
    z-index: 1;
  }

  .site-header .site-logo img {
    height: 90px;
  }

  .site-header .menu-toggle {
    --shell-bar-offset: 8px;
    top: 16px;
    right: 20px;
    width: 43.5px;
    height: 43.5px;
    padding: 7.25px;
    gap: 5.5px;
    border-width: 0;
    box-shadow: 20px 0 #fff;
  }

  .site-header .menu-toggle svg {
    width: 29px;
    height: 29px;
  }

  .site-header .site-menu,
  .site-header.scrolled .site-menu {
    top: 59.5px;
  }

  /* The original header's 100px height and -142px bottom margin overlap
     the page by 42px. Keep it stable when the existing sticky state changes. */
  .site-header + #main {
    display: flow-root;
    position: relative;
    top: -42px;
    margin-bottom: -42px;
  }

  .site-footer {
    min-height: 70vw;
    padding: 50px 30px 30px !important;
  }

  .site-footer .footer-inner {
    max-width: 768px;
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .site-footer nav {
    gap: 0;
  }

  .site-footer .footer-contact {
    align-items: flex-start;
    text-align: left;
    gap: 50px;
  }

  .site-footer .footer-contact > a {
    font-size: 11px;
    line-height: 11px;
  }

  .site-footer .social-links {
    gap: 32px;
  }

  .site-footer .consent-reopen {
    top: calc(100% + 8px);
    right: auto;
    left: 15px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-header.scrolled {
    height: 80px;
  }

  .site-header + #main {
    top: -62px;
    margin-bottom: -62px;
  }

  .site-header .site-menu {
    padding-top: 40px;
  }

  .site-header .site-menu a {
    justify-content: flex-end;
    padding: 15px 30px 15px 0;
    color: #494c4f;
  }

  .site-header .nav-group {
    display: block;
  }

  /* Source mobile submenu arrows are not drawn. The existing separate
     keyboard control remains available without narrowing the label row. */
  .site-header .submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 54px;
    font-size: 0;
    color: transparent;
  }

  .site-header .nav-group.open > a[aria-current="page"] {
    color: #f43d4b;
  }

  .site-header .submenu a {
    padding: 15px 25px 15px 0;
  }

  .site-header .submenu a:last-child {
    padding: 25px 25px 25px 0;
  }

  .site-header .nav-group.open .submenu {
    padding-bottom: 40px;
  }

  .site-header .site-menu > a:last-child {
    padding: 25px 25px 25px 0;
    color: #fff;
    background: #f43d4b;
  }
}

.unavailable-source-image{display:inline-block;width:16px;height:16px} a[data-link-unavailable]{cursor:default}
