.hn-cookie-banner,
.hn-cookie-preferences {
  position: fixed;
  z-index: 100000;
  font-family: Inter, Arial, sans-serif;
  color: #111;
}

.hn-cookie-banner {
  right: 22px;
  bottom: 22px;
  width: min(440px, calc(100% - 44px));
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.hn-cookie-banner[hidden],
.hn-cookie-preferences[hidden] { display: none !important; }

.hn-cookie-banner h2,
.hn-cookie-preferences h2 {
  margin: 0 0 9px;
  font: 500 20px/1.25 Rubik, Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hn-cookie-banner p,
.hn-cookie-preferences p,
.hn-cookie-preferences label { font-size: 13px; line-height: 1.55; }
.hn-cookie-banner p { margin: 0 0 16px; }
.hn-cookie-banner a { color: inherit; text-decoration: underline; }
.hn-cookie-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hn-cookie-button {
  padding: 10px 16px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  font: 600 11px/1 Rubik, Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hn-cookie-button--primary { background: #111; color: #fff; }
.hn-cookie-preferences {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .58);
}
.hn-cookie-dialog {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  background: #fff;
}
.hn-cookie-option { padding: 13px 0; border-top: 1px solid #ddd; }
.hn-cookie-option label { display: flex; justify-content: space-between; gap: 20px; font-weight: 600; }
.hn-cookie-option small { display: block; margin-top: 4px; color: #555; font-size: 12px; line-height: 1.45; }
.hn-compliance-links { display: inline; }

/* Keep every public destination visible in the original desktop header. */
@media (min-width: 1025px) {
  #global-navbar .header .navigation {
    display: flex !important;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    visibility: visible !important;
  }

  #global-navbar .header .navigation > ul {
    display: flex !important;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    row-gap: 0;
    visibility: visible !important;
  }

  #global-navbar .header .navigation > ul > li {
    display: flex !important;
    align-items: center;
    visibility: visible !important;
  }

  #global-navbar .header .navigation > ul > li + li::before {
    content: "|";
    flex: 0 0 auto;
  }

  #global-navbar .header .navigation > ul > li > a,
  #global-navbar .header .navigation > ul > li > a.wow,
  #global-navbar .header .navigation > ul > li > a > span {
    display: block !important;
    visibility: visible !important;
  }

  #global-navbar .header .navigation > ul > li > a {
    padding: 5px 4px;
    font-size: clamp(11.5px, 1.25vw, 18px);
    line-height: 1.2;
    letter-spacing: .2px;
    white-space: nowrap;
    color: #fff !important;
  }

  #global-navbar.scroll .header .navigation > ul > li > a {
    color: #000 !important;
  }

  #global-navbar .header .hamburger-component {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .hn-cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
  .hn-cookie-dialog { padding: 22px; }
}
