/* Shared brand treatment for the server-rendered SEO and guide pages. */
/* Keep the established colors, typography and accessible navigation pattern. */
body.seo-editorial-page {
  --ui-paper: #f5f5f5;
  --ui-surface: #fff;
  --ui-border: #e3ded6;
  --ui-muted: #555;
  background-color: var(--ui-paper);
  color: var(--ui-ink, #191919);
  font-family: "DM Sans", system-ui, sans-serif;
}
body.seo-editorial-page .navbar-no-shadow {
  position: relative;
  z-index: 50;
  top: auto;
  background: var(--ui-paper, #f5f5f5);
}
body.seo-editorial-page .navbar-no-shadow-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px clamp(16px, 3vw, 32px);
}
body.seo-editorial-page .container-regular {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
body.seo-editorial-page .navbar-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
body.seo-editorial-page .navbar-brand {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
}
body.seo-editorial-page .image-17 {
  display: block;
  width: clamp(150px, 14vw, 240px);
  max-width: 100%;
  height: auto;
}
body.seo-editorial-page .nav-menu {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
}
body.seo-editorial-page .nav-menu > ul {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.seo-editorial-page .nav-link {
  display: block;
  margin: 0 clamp(2px, .45vw, 7px);
  padding: 9px clamp(5px, .6vw, 10px);
  color: #191919;
  font: 500 clamp(12px, .95vw, 15px)/1.4 "DM Sans", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
body.seo-editorial-page .nav-link:hover {
  color: var(--ui-orange-ink, #a54200);
}
body.seo-editorial-page .nav-button-wrapper {
  margin-left: 8px;
  flex-shrink: 0;
}
body.seo-editorial-page .white-button.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--ui-orange, #f47b20);
  color: var(--ui-ink, #191919);
  text-decoration: none;
  white-space: nowrap;
}
body.seo-editorial-page .button-text-wrap {
  height: auto;
  min-height: 20px;
  overflow: visible;
}
body.seo-editorial-page .white-front-text.header-text {
  color: #191919;
  font: 600 14px/1.35 "Space Grotesk", "DM Sans", system-ui, sans-serif;
}
body.seo-editorial-page .white-hidden-text {
  display: none;
}
body.seo-editorial-page .menu-button {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  position: relative;
  padding: 0;
  border: 1px solid #777;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
body.seo-editorial-page .menu-button span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #191919;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
body.seo-editorial-page .menu-button span:nth-child(1) { top: 14px; }
body.seo-editorial-page .menu-button span:nth-child(2) { top: 20px; }
body.seo-editorial-page .menu-button span:nth-child(3) { top: 26px; }
body.seo-editorial-page .menu-button.is-active span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.seo-editorial-page .menu-button.is-active span:nth-child(2) { opacity: 0; }
body.seo-editorial-page .menu-button.is-active span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
@media (max-width: 991px) {
  body.seo-editorial-page .navbar-wrapper { gap: 12px; }
  body.seo-editorial-page .image-17 { width: 180px; }
  body.seo-editorial-page .menu-button { display: block; }
  body.seo-editorial-page .nav-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 16px;
    right: 16px;
    z-index: 100;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #dedede;
    background: #fff;
    box-shadow: 0 8px 24px rgb(0 0 0 / .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  body.seo-editorial-page .nav-menu.nc-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .18s ease, transform .18s ease;
  }
  body.seo-editorial-page .nav-menu > ul {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body.seo-editorial-page .nav-menu li { width: 100%; }
  body.seo-editorial-page .nav-link {
    min-height: 44px;
    margin: 0;
    padding: 12px;
    font-size: 16px;
    white-space: normal;
  }
  body.seo-editorial-page .nav-button-wrapper { margin: 8px 0 0; }
  body.seo-editorial-page .white-button.header-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body.seo-editorial-page .menu-button span,
  body.seo-editorial-page .nav-menu { transition: none; }
}
.seo-editorial {
  width: min(calc(100% - 40px), 72ch);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) 0 80px;
  color: var(--ui-ink, #191919);
  font: 16px/1.65 "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.seo-editorial :is(h1, h2, h3)[id] { scroll-margin-top: 1rem; }
.seo-editorial__breadcrumb {
  margin: 0 0 28px;
  color: var(--ui-muted, #555);
  font-size: 14px;
}
.seo-editorial__breadcrumb [aria-current="page"] { color: var(--ui-ink, #191919); }
.seo-editorial__breadcrumb a,
.seo-editorial a {
  color: var(--ui-orange-ink, #a54200);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.seo-editorial a:hover { color: var(--ui-green-ink, #326b1e); }
.seo-editorial__intro {
  padding: 0 0 24px;
  border-bottom: 2px solid var(--ui-orange, #f47b20);
}
.seo-editorial h1,
.seo-editorial h2 {
  color: var(--ui-ink, #191919);
  font-family: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.seo-editorial h1 {
  max-width: 22ch;
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.seo-editorial h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}
.seo-editorial p,
.seo-editorial ul {
  margin: 0 0 16px;
}
.seo-editorial ul {
  padding-inline-start: 1.35rem;
}
.seo-editorial li + li {
  margin-top: 8px;
}
.seo-editorial__date {
  color: #555;
  font-size: 14px;
}
.seo-editorial__answer {
  font-size: 1.08rem;
  line-height: 1.7;
}
.seo-editorial__disclaimer {
  margin-top: 30px !important;
  padding-top: 18px;
  border-top: 1px solid #d9d9d9;
  color: #3f3f3f;
}
.seo-editorial a:focus-visible {
  outline: 3px solid var(--ui-focus, #164d78);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .seo-editorial {
    width: calc(100% - 40px);
    padding-top: 28px;
    padding-bottom: 56px;
  }
  .seo-editorial h1 { font-size: clamp(1.5rem, 7vw, 2.125rem); }
}
