.fl-site-nav {
  position: relative;
  z-index: 1020;
}

.fl-site-nav .navbar-brand {
  max-width: calc(100% - 4.5rem);
}

.fl-site-nav .navbar-brand img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.fl-site-nav .dropdown-menu {
  --bs-dropdown-min-width: 14.75rem;
  --bs-dropdown-border-color: #e8dbd4;
  --bs-dropdown-link-color: #352928;
  --bs-dropdown-link-hover-color: #582331;
  --bs-dropdown-link-hover-bg: #faf3ec;
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #793647;
}

.fl-site-nav .dropdown-item {
  white-space: normal;
}

.fl-site-nav a:focus-visible,
.fl-site-nav button:focus-visible {
  outline: 2px solid #793647;
  outline-offset: 2px;
}

.fl-site-footer {
  --fl-footer-bg: #39282f;
  --fl-footer-text: #e5d9db;
  --fl-footer-heading: #fff8f4;
  --fl-footer-accent: #fbd8cd;
  background: var(--fl-footer-bg);
  color: var(--fl-footer-text);
  font-family: "Roboto", sans-serif;
  margin-top: 2rem;
  padding: clamp(2.5rem, 5.5vw, 4.25rem) 0 1.5rem;
}

.fl-site-footer .container {
  max-width: 1240px;
}

.fl-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr) minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 1.7rem clamp(1.15rem, 4vw, 3.75rem);
}

.fl-footer-brand {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.fl-footer-brand img {
  display: block;
  width: 205px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.fl-footer-intro p {
  max-width: 34ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.fl-site-footer h2 {
  color: var(--fl-footer-heading);
  margin: 0 0 0.85rem;
  font: 700 1.15rem/1.25 "PT Serif", Georgia, serif;
}

.fl-footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fl-footer-links a {
  display: inline-block;
  color: var(--fl-footer-text);
  font-size: 0.95rem;
  line-height: 1.45;
  padding-block: 0.14rem;
  text-underline-offset: 0.22em;
}

.fl-footer-links .fl-footer-tools-link {
  color: var(--fl-footer-accent);
  font-weight: 700;
}

.fl-footer-links a:hover,
.fl-footer-links a:focus-visible {
  color: var(--fl-footer-heading);
  text-decoration: underline;
}

.fl-site-footer a:focus-visible {
  outline: 2px solid var(--fl-footer-accent);
  outline-offset: 3px;
}

.fl-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.55rem 1.4rem;
  border-top: 1px solid rgba(255, 248, 244, 0.22);
  margin-top: clamp(1.8rem, 4vw, 3.2rem);
  padding-top: 1.05rem;
  font-size: 0.86rem;
}

.fl-footer-bottom p {
  margin: 0;
}

.fl-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

.fl-footer-legal a {
  color: var(--fl-footer-text);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.fl-footer-legal a:hover,
.fl-footer-legal a:focus-visible {
  color: var(--fl-footer-heading);
}

.fl-legal-content {
  max-width: 78ch;
  padding-inline: clamp(0rem, 2vw, 1rem);
  overflow: visible;
  line-height: 1.65;
}

.fl-legal-content h1,
.fl-legal-content h2,
.fl-legal-sidebar h2 {
  font-family: 'PT Serif', Georgia, serif;
}

.fl-legal-content h1 {
  margin: 1rem 0 0.6rem;
}

.fl-legal-content h2 {
  font-size: 1.35rem;
  margin: 1.65rem 0 0.65rem;
}

.fl-legal-content a,
.fl-legal-sidebar a {
  color: #793647;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fl-legal-content a:focus-visible,
.fl-legal-sidebar a:focus-visible {
  outline: 2px solid #793647;
  outline-offset: 2px;
}

.fl-legal-breadcrumb {
  color: #625450;
  font-size: 0.9rem;
}

.fl-legal-sidebar {
  background: #faf3ec;
  border: 1px solid #e8dbd4;
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.fl-legal-sidebar h2 {
  font-size: 1.2rem;
  margin: 0 0 0.7rem;
}

.fl-legal-sidebar ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 991.98px) {
  .fl-site-nav .dropdown-menu {
    --bs-dropdown-min-width: 0;
    width: min(100%, 16rem);
  }

  .fl-footer-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .fl-footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .fl-footer-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
