@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("poppins-400.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("poppins-500.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("poppins-600.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("poppins-700.ttf") format("truetype");
}

:root {
  --fb-navy: #02203e;
  --fb-gold: #b8963a;
  --fb-gold-light: #d6c29c;
  --fb-paper: #fbf8f2;
}

.fb-consent,
.fb-consent * {
  box-sizing: border-box;
}

.fb-consent[hidden],
.fb-consent [hidden] {
  display: none !important;
}

.fb-consent {
  position: fixed;
  z-index: 2147483000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 720px;
  margin-left: auto;
  color: var(--fb-navy);
  font-family: Poppins, Arial, sans-serif;
}

.fb-consent__inner {
  padding: 24px;
  border: 1px solid rgba(184, 150, 58, 0.48);
  border-radius: 8px;
  background: var(--fb-paper);
  box-shadow: 0 22px 70px rgba(2, 32, 62, 0.24);
}

.fb-consent__eyebrow {
  margin: 0 0 8px !important;
  color: var(--fb-gold) !important;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fb-consent h2 {
  margin: 0 0 10px;
  color: var(--fb-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.12;
}

.fb-consent p {
  max-width: 640px;
  margin: 0;
  color: rgba(2, 32, 62, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

.fb-consent a {
  color: var(--fb-navy);
  text-decoration-color: var(--fb-gold);
  text-underline-offset: 3px;
}

.fb-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.fb-consent__button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--fb-navy);
  border-radius: 4px;
  cursor: pointer;
  font: 600 11px/1.2 Poppins, Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fb-consent__button--primary {
  background: var(--fb-navy);
  color: var(--fb-paper);
}

.fb-consent__button--secondary {
  background: transparent;
  color: var(--fb-navy);
}

.fb-consent__button--text {
  border-color: transparent;
  background: transparent;
  color: var(--fb-navy);
  text-decoration: underline;
  text-decoration-color: var(--fb-gold);
  text-underline-offset: 4px;
}

.fb-consent__button:hover,
.fb-consent__button:focus-visible {
  border-color: var(--fb-gold);
  outline: 3px solid rgba(184, 150, 58, 0.22);
  outline-offset: 2px;
}

.fb-consent__option {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(184, 150, 58, 0.24);
}

.fb-consent__option:first-of-type {
  margin-top: 18px;
}

.fb-consent__option strong,
.fb-consent__option span {
  display: block;
}

.fb-consent__option strong {
  margin-bottom: 3px;
  color: var(--fb-navy);
  font-size: 14px;
}

.fb-consent__option span span {
  color: rgba(2, 32, 62, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.fb-consent__always {
  flex: 0 0 auto;
  color: var(--fb-gold) !important;
  font-size: 11px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.fb-consent__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.fb-consent__option i {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 26px;
  border: 1px solid rgba(2, 32, 62, 0.34);
  border-radius: 20px;
  background: rgba(2, 32, 62, 0.08);
}

.fb-consent__option i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fb-navy);
  transition: transform 160ms ease;
}

.fb-consent__option input:checked + i {
  border-color: var(--fb-gold);
  background: var(--fb-gold-light);
}

.fb-consent__option input:checked + i::after {
  transform: translateX(20px);
}

.fb-consent__option input:focus-visible + i {
  outline: 3px solid rgba(184, 150, 58, 0.3);
  outline-offset: 3px;
}

.fb-consent .fb-consent__detail {
  margin-top: 12px;
  font-size: 12px;
}

.fb-cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(251, 248, 242, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-align: left;
}

.fb-cookie-settings-link:hover,
.fb-cookie-settings-link:focus-visible {
  color: var(--fb-gold-light);
  outline: 2px solid var(--fb-gold-light);
  outline-offset: 3px;
}

.site-footer .footer-grid {
  grid-template-columns: minmax(230px, 1.15fr) repeat(3, minmax(135px, 0.6fr));
}

.site-footer .container {
  width: min(100% - 40px, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  background: #01162b;
  color: rgba(251, 248, 242, 0.72);
  padding: 58px 0 30px;
}

.site-footer .footer-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}

.site-footer .footer-logo {
  display: inline-block;
}

.site-footer .footer-logo img {
  display: block;
  width: min(230px, 70vw);
  height: auto;
}

.site-footer .footer-copy {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(251, 248, 242, 0.7);
  font-size: 14px;
  line-height: 1.75;
}

.site-footer .footer-nav {
  display: grid;
  gap: 10px;
}

.site-footer .footer-title {
  margin-bottom: 8px;
  color: var(--fb-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer .footer-nav a {
  color: rgba(251, 248, 242, 0.72);
  font-size: 14px;
  text-decoration: none;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible {
  color: var(--fb-gold-light);
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(214, 194, 156, 0.18);
  color: rgba(251, 248, 242, 0.52);
  font-size: 12px;
}

.legal-page {
  margin: 0;
  background: var(--fb-paper);
  color: var(--fb-navy);
  font-family: Poppins, Arial, sans-serif;
}

.legal-page .legal-hero {
  padding: 86px 0 58px;
  background: linear-gradient(135deg, #02203e, #06345f);
  color: var(--fb-paper);
}

.legal-page .legal-container {
  width: min(100% - 40px, 940px);
  margin: 0 auto;
}

.legal-page .container {
  width: min(100% - 40px, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.legal-page .legal-kicker {
  color: var(--fb-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-page .legal-hero h1 {
  max-width: 820px;
  margin: 14px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  line-height: 1;
}

.legal-page .legal-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(251, 248, 242, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.legal-page .legal-content {
  padding: 72px 0 96px;
}

.legal-page .legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.legal-page .legal-section {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(184, 150, 58, 0.24);
}

.legal-page .legal-section:last-child {
  border-bottom: 0;
}

.legal-page .legal-section h2 {
  margin: 0 0 14px;
  color: var(--fb-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.15;
}

.legal-page .legal-section h3 {
  margin: 24px 0 8px;
  color: var(--fb-navy);
  font-size: 17px;
}

.legal-page .legal-section p,
.legal-page .legal-section li {
  color: rgba(2, 32, 62, 0.76);
  font-size: 15px;
  line-height: 1.75;
}

.legal-page .legal-section p {
  margin: 10px 0 0;
}

.legal-page .legal-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-page .legal-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--fb-gold);
  background: rgba(214, 194, 156, 0.18);
}

.legal-page .legal-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.legal-page table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
}

.legal-page th,
.legal-page td {
  padding: 14px;
  border: 1px solid rgba(184, 150, 58, 0.24);
  color: rgba(2, 32, 62, 0.76);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: rgba(214, 194, 156, 0.24);
  color: var(--fb-navy);
  font-weight: 700;
}

.legal-page a {
  color: #765c1f;
  text-underline-offset: 3px;
}

.legal-page .site-header {
  position: static;
  border-bottom: 1px solid rgba(184, 150, 58, 0.2);
  background: var(--fb-paper);
}

.legal-page .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 40px, 1180px);
  min-height: 78px;
  margin: 0 auto;
}

.legal-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fb-navy);
  text-decoration: none;
}

.legal-page .brand-symbol {
  display: inline-flex;
  width: 42px;
  height: 42px;
}

.legal-page .brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal-page .brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.05;
  letter-spacing: 0.16em;
}

.legal-page .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-page .nav-links a {
  color: rgba(2, 32, 62, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-page .nav-links a:hover,
.legal-page .nav-links a:focus-visible {
  color: var(--fb-gold);
}

.legal-page .site-footer .legal-container {
  width: min(100% - 40px, 1180px);
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-page .nav-links {
    display: none;
  }
}

@media (max-width: 620px) {
  .fb-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .fb-consent__inner {
    max-height: calc(100vh - 20px);
    padding: 20px;
    overflow-y: auto;
  }

  .fb-consent h2 {
    font-size: 25px;
  }

  .fb-consent__actions,
  .fb-consent__button {
    width: 100%;
  }

  .fb-consent__option {
    align-items: flex-start;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
  }

  .legal-page .legal-container {
    width: min(100% - 30px, 940px);
  }

  .legal-page .legal-hero {
    padding: 64px 0 44px;
  }

  .legal-page .legal-content {
    padding: 56px 0 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fb-consent__option i::after {
    transition: none;
  }
}
