/* Legal pages + cookie chrome — Mainpage (DM Sans / Bebasneue, Midnight / Champagne / Cream) */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100000;
  padding: 0.75rem 1.1rem;
  border-radius: var(--_spacing---border-radious--999);
  background: #10192b;
  color: #f8f3e9;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: 2px solid #c9a66b;
  outline-offset: 3px;
}

.legal_section {
  padding-top: 184px;
  padding-bottom: var(--_spacing---section-padding--padding-regular, 150px);
  background: #fff;
  color: #10192b;
}

.legal_hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 42rem;
  margin-bottom: 3.5rem;
}

.legal_hero .heading-style-h3 {
  margin-top: 1.5rem;
  max-width: 18ch;
}

.legal_article {
  max-width: 42rem;
  font-family: var(--_typography---font-family--body-font, "DM Sans", Arial, sans-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #10192b;
}

.legal_article > :first-child {
  margin-top: 0;
}

.legal_article h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--_typography---font-family--heading-font, Bebasneue, Arial, sans-serif);
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #10192b;
}

.legal_article h2:first-child {
  margin-top: 0;
}

.legal_article h3 {
  margin: 1.5rem 0 0.45rem;
  font-family: var(--_typography---font-family--body-font, "DM Sans", Arial, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #10192b;
}

.legal_article p {
  margin: 0 0 0.95rem;
}

.legal_article ul {
  margin: 0 0 0.95rem;
  padding-left: 1.2rem;
}

.legal_article li {
  margin-top: 0.35rem;
}

.legal_article a {
  color: #10192b;
  text-decoration: underline;
  text-decoration-color: #c9a66b;
  text-underline-offset: 0.18em;
}

.legal_article a:hover,
.legal_article a:focus-visible {
  text-decoration-thickness: 2px;
}

.legal_article a:focus-visible {
  outline: 2px solid #c9a66b;
  outline-offset: 3px;
}

.legal_article_inline,
.legal-settings-btn {
  font: inherit;
  color: inherit;
}

.legal_article_inline {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-decoration-color: #c9a66b;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.legal-settings-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0.35rem 0 1rem;
  padding: 0.75rem 1.4rem;
  border: 2px solid #10192b;
  border-radius: var(--_spacing---border-radious--999);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.legal_article_inline:focus-visible,
.legal-settings-btn:focus-visible {
  outline: 2px solid #c9a66b;
  outline-offset: 3px;
}

.legal_updated {
  margin: 0 0 2rem;
  color: #383838;
  font-size: 0.9375rem;
}

.legal_nav_links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e4d9c3;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal_nav_links a {
  color: #10192b;
  text-decoration: none;
}

.legal_nav_links a:hover,
.legal_nav_links a:focus-visible {
  color: #b08d55;
}

.footer_legal_corner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  text-align: right;
}

.footer_legal_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.footer_legal_link {
  appearance: none;
  margin: 0;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: #fffc;
  font: inherit;
  font-size: var(--_typography---font-sizes--body--text-sm, 16px);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.footer_legal_link:hover,
.footer_legal_link:focus-visible {
  color: #c9a66b;
}

.footer_legal_link:focus-visible {
  outline: 2px solid #c9a66b;
  outline-offset: 4px;
}

.footer_cta_form {
  flex-wrap: wrap;
}

.footer_newsletter_consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.35rem;
  color: rgba(248, 243, 233, 0.78);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  cursor: pointer;
}

.footer_newsletter_consent_input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: #c9a66b;
}

.footer_newsletter_consent a {
  color: #f8f3e9;
  text-decoration: underline;
  text-decoration-color: #c9a66b;
  text-underline-offset: 0.15em;
}

.footer_newsletter_consent a:focus-visible {
  outline: 2px solid #c9a66b;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .footer_legal_corner,
  .footer_legal_nav {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .legal_section {
    padding-top: 140px;
  }
}

/* Cookie banner / modal (static mainpage) */
.mwd-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10025;
  padding: 0.5rem 1rem max(1rem, env(safe-area-inset-bottom));
}

.mwd-cookie-banner__panel {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(228, 217, 195, 0.25);
  border-radius: 4px;
  background: #10192b;
  color: #f8f3e9;
  box-shadow: 0 20px 56px -28px rgba(16, 25, 43, 0.75);
}

.mwd-cookie-banner__title {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 650;
}

.mwd-cookie-banner__text {
  margin: 0.5rem 0 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(248, 243, 233, 0.88);
}

.mwd-cookie-banner__text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(201, 166, 107, 0.7);
  text-underline-offset: 0.18em;
}

.mwd-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.mwd-cookie-btn {
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: var(--_spacing---border-radious--999);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.mwd-cookie-btn:focus-visible {
  outline: 2px solid #c9a66b;
  outline-offset: 3px;
}

.mwd-cookie-btn--primary {
  border: 0;
  background: #c9a66b;
  color: #10192b;
}

.mwd-cookie-btn--primary:hover {
  background: #b08d55;
}

.mwd-cookie-btn--ghost {
  border: 1px solid rgba(248, 243, 233, 0.28);
  background: transparent;
  color: #f8f3e9;
}

.mwd-cookie-btn--ghost:hover {
  border-color: rgba(248, 243, 233, 0.45);
}

.form_success-done,
.form_error-fail {
  display: none;
}

.mwd-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.mwd-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 25, 43, 0.88);
  cursor: pointer;
}

.mwd-cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: min(90dvh, 720px);
  overflow: auto;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(228, 217, 195, 0.22);
  border-radius: 4px;
  background: #10192b;
  color: #f8f3e9;
}

.mwd-cookie-modal__panel h2,
.mwd-cookie-modal__panel h3 {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: none;
  color: #f8f3e9;
  -webkit-text-fill-color: #f8f3e9;
  background: none;
}

.mwd-cookie-modal__panel h2 {
  font-size: 1.35rem;
}

.mwd-cookie-modal__panel > p {
  margin: 0.75rem 0 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(248, 243, 233, 0.88);
}

.mwd-cookie-modal__panel > p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(201, 166, 107, 0.7);
}

.mwd-cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}

.mwd-cookie-row h3 {
  font-size: 0.9375rem;
}

.mwd-cookie-row p {
  margin: 0.45rem 0 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(248, 243, 233, 0.8);
}

.mwd-cookie-switch {
  appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 3rem;
  height: 1.75rem;
  margin-top: 0.15rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 243, 233, 0.25);
  border-radius: var(--_spacing---border-radious--999);
  background: #10192b;
  cursor: pointer;
}

.mwd-cookie-switch[aria-checked="true"] {
  border-color: #c9a66b;
  background: rgba(201, 166, 107, 0.25);
}

.mwd-cookie-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: var(--_spacing---border-radious--999);
  background: #f8f3e9;
  transform: translateX(0);
  transition: transform 0.16s ease;
}

.mwd-cookie-switch[aria-checked="true"]::after {
  transform: translateX(1.25rem);
}

.mwd-cookie-switch.is-locked,
.mwd-cookie-switch:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.mwd-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .mwd-cookie-switch::after {
    transition: none;
  }
}
