/* Laurentian Sovereign Casino Review Design System */

:root {
  --sf-bg: #0e212f;
  --sf-surface: #1f313e;
  --sf-text: #ffffff;
  --sf-muted: #d0d7de;
  --sf-accent: #024e87;
  --sf-accent-text: #ffffff;
  --sf-accent-2: #51aa6b;
  --sf-highlight: #719cbc;

  --sf-bg-alt: color-mix(in srgb, var(--sf-bg) 88%, var(--sf-surface));
  --sf-surface-raised: color-mix(in srgb, var(--sf-surface) 82%, white 18%);
  --sf-card-bg: color-mix(in srgb, var(--sf-surface) 92%, white 8%);
  --sf-border: color-mix(in srgb, var(--sf-surface) 65%, var(--sf-bg));

  --sf-header-bg: transparent;
  --sf-header-text: #c0c8d0;
  --sf-header-accent: rgb(234, 243, 251);
  --sf-header-accent-text: #ffffff;
  --sf-header-panel: color-mix(in srgb, var(--sf-bg) 94%, var(--sf-surface));
  --sf-header-panel-text: var(--sf-text);
  --sf-footer-bg: transparent;
  --sf-footer-text: rgb(146, 146, 146);

  --sf-art-materials: "glossy white cards, clean vector badge surfaces, crisp typography, subtle elevation shadows, polished glass highlights";
  --sf-art-lighting: "bright clean studio illumination, vibrant high-contrast foreground, deep royal blue ambient backdrop";
  --sf-art-shapes: "rounded rectangles, crisp 5px card corners, pill badges, star ratings, compact 1-column comparison rows";
  --sf-art-world: "modern Canadian online casino review portal, sleek iGaming comparison, vibrant bonus awards, trustworthy digital sportsbook and casino ranking";

  --card-bg: rgb(255, 255, 255);
  --card-text: rgb(34, 34, 34);
  --card-muted: #334155;
  --card-border: rgb(240, 241, 245);
  --card-shadow: rgba(0, 0, 0, 0.16) 0px 4px 6px 0px;
  --card-radius: 5px;

  --heading-color-1: rgb(174, 208, 230);
  --heading-color-2: rgb(1, 78, 137);
  --heading-color-3: rgb(10, 110, 189);
  --link-color: rgb(192, 57, 43);

  --star-fill: #e67e22;
  --star-empty: #d1d5db;
  --badge-bg: #f0f7ff;
  --badge-border: #d0e3f5;
  --badge-text: #014e89;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Anton", Impact, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--sf-bg);
  color: var(--sf-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main,
.page-shell {
  width: 100%;
  flex: 1 0 auto;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 1.5rem 0;
  width: 100%;
}

figcaption {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--sf-muted);
  padding-top: 0.5rem;
  text-align: center;
}

a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

a:focus-visible {
  outline: 2px solid var(--sf-highlight);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  color: var(--heading-color-1);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

h2 {
  color: var(--heading-color-2);
  font-size: 1.5rem;
  text-transform: capitalize;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}

h3 {
  color: var(--heading-color-3);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: 970px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--narrow {
  max-width: 760px;
}

.container--wide {
  max-width: 1148px;
}

.section {
  padding: 2.5rem 0;
  width: 100%;
}

.section--alt {
  background-color: var(--sf-bg-alt);
}

.section--dark {
  background-color: var(--sf-bg);
}

.site-header {
  width: 100%;
  background: var(--sf-header-bg);
  color: var(--sf-header-text);
  padding: 0.75rem 0;
  position: relative;
  z-index: 50;
}

.site-header--sticky {
  position: sticky;
  top: 0;
  background-color: color-mix(in srgb, var(--sf-bg) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sf-border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--sf-header-accent);
  text-decoration: none;
}

.site-nav__list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-nav__link {
  color: var(--sf-header-accent);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem 0.85rem;
  border-radius: var(--card-radius);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background-color: color-mix(in srgb, var(--sf-surface) 50%, transparent);
  color: #ffffff;
}

.hero {
  padding: 2rem 0 1.5rem;
  width: 100%;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__lead {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--sf-muted);
  max-width: 924px;
}

.btn,
.btn--primary,
.btn--secondary,
.btn--outline,
.btn--ghost,
.btn--gradient,
.btn--cta,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--sf-accent);
  color: var(--sf-accent-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 0.95rem 1.25rem;
  min-height: 54px;
  border-radius: var(--card-radius);
  border: 1px solid transparent;
  cursor: pointer;
  max-width: 100%;
  line-height: 1.2;
  transition: transform 0.15s ease, filter 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn--primary:hover,
.btn--secondary:hover,
.btn--outline:hover,
.btn--ghost:hover,
.btn--gradient:hover,
.btn--cta:hover,
.cta-button:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn:active,
.btn--primary:active,
.btn--secondary:active,
.btn--outline:active,
.btn--ghost:active,
.btn--gradient:active,
.btn--cta:active,
.cta-button:active {
  transform: translateY(0);
  filter: brightness(0.95);
  box-shadow: none;
}

.btn:focus-visible,
.btn--cta:focus-visible,
.cta-button:focus-visible {
  outline: 3px solid var(--sf-highlight);
  outline-offset: 3px;
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 60px;
  padding: 1.15rem 1.75rem;
  font-size: 1.15rem;
}

.btn--block {
  width: 100%;
}

.casino-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.casino-card {
  background-color: var(--card-bg);
  color: var(--card-text);
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 1.25rem;
  gap: 1.25rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.casino-card__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.casino-card__rank {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--card-muted);
  border: 1px solid var(--card-border);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
  background: #f8fafc;
}

.casino-card__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.casino-card__logo-wrap {
  width: 140px;
  max-width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
}

.casino-card__logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.casino-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--card-text);
  text-decoration: none;
  line-height: 1.2;
}

.casino-card__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.casino-card__score {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--card-text);
}

.casino-card__stars {
  display: flex;
  gap: 2px;
  color: var(--star-fill);
  font-size: 0.95rem;
}

.casino-card__bonus {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.casino-card__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--badge-text);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  max-width: 100%;
}

.casino-card__bonus-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--card-text);
  line-height: 1.35;
}

.casino-card__bonus-spins {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-muted);
}

.casino-card__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}

.casino-card__terms {
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--card-muted);
  text-align: center;
}

.casino-card__review-link {
  font-size: 0.8rem;
  color: var(--heading-color-3);
  text-align: center;
  text-decoration: none;
}

.casino-card__review-link:hover {
  text-decoration: underline;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--card-border);
  background-color: #f8fafc;
  color: var(--card-text);
  max-width: 100%;
  line-height: 1.2;
}

.chip--verified {
  border-color: #bbf7d0;
  background-color: #f0fdf4;
  color: #166534;
}

.chip--trust {
  border-color: #bfdbfe;
  background-color: #eff6ff;
  color: #1e40af;
}

.review-hero {
  background-color: var(--card-bg);
  color: var(--card-text);
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  box-shadow: var(--card-shadow);
}

.review-hero h1 {
  color: var(--heading-color-2);
  font-size: 1.75rem;
}

.review-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--card-muted);
  margin-bottom: 0.75rem;
}

.review-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.review-content {
  background-color: var(--card-bg);
  color: var(--card-text);
  padding: 1.5rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  min-width: 0;
}

.review-content h2 {
  color: var(--heading-color-2);
  border-bottom: 2px solid var(--card-border);
  padding-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.review-content h3 {
  color: var(--heading-color-3);
  margin-top: 1.25rem;
}

.review-content p,
.review-content li {
  color: var(--card-text);
  line-height: 1.6;
}

.review-content ul,
.review-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.review-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.sidebar-widget {
  background-color: var(--card-bg);
  color: var(--card-text);
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 1.25rem;
}

.sidebar-widget h3 {
  color: var(--heading-color-2);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.sidebar-widget ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-widget a {
  color: var(--heading-color-3);
  text-decoration: none;
  font-size: 0.9rem;
}

.sidebar-widget a:hover {
  text-decoration: underline;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pros,
.cons {
  border-radius: var(--card-radius);
  padding: 1rem 1.25rem;
  background-color: #fafbfc;
  border: 1px solid var(--card-border);
}

.pros {
  border-left: 4px solid #16a34a;
}

.cons {
  border-left: 4px solid #dc2626;
}

.pros-cons__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.pros .pros-cons__title {
  color: #15803d;
}

.cons .pros-cons__title {
  color: #b91c1c;
}

.pros-cons__list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pros-cons__item {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.925rem;
  color: var(--card-text);
}

.pros .pros-cons__item::before {
  content: "";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
}

.cons .pros-cons__item::before {
  content: "";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}

.verdict-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--card-radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: var(--card-text);
}

.verdict-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.verdict-box__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #166534;
}

.verdict-box__score {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #166534;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.875rem;
}

.spec-item__label {
  color: var(--card-muted);
  font-weight: 500;
}

.spec-item__val {
  color: var(--card-text);
  font-weight: 600;
  text-align: right;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px 0px;
  background-color: var(--card-bg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  color: var(--card-text);
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  min-width: 7.5rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--card-border);
}

.comparison-table th {
  background-color: #f8fafc;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--card-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
  z-index: 2;
}

.comparison-table tr:hover td {
  background-color: #f1f5f9;
}

.filter-bar {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--card-shadow);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-text);
  margin-right: 0.5rem;
}

.form-control {
  width: 100%;
  max-width: 300px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background-color: #ffffff;
  color: var(--card-text);
}

.form-control:focus {
  outline: 2px solid var(--sf-highlight);
  outline-offset: 1px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.faq-item {
  background-color: var(--card-bg);
  color: var(--card-text);
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  box-shadow: rgba(0, 0, 0, 0.05) 0 2px 4px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--heading-color-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--heading-color-3);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question::after,
.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--card-text);
}

.faq-item.is-open .faq-answer,
.faq-question[aria-expanded="true"] + .faq-answer {
  display: block;
}

.author-box {
  background-color: var(--card-bg);
  color: var(--card-text);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 1.25rem;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-border);
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--heading-color-2);
}

.author-role {
  font-size: 0.85rem;
  color: var(--card-muted);
  font-weight: 600;
}

.author-bio {
  font-size: 0.9rem;
  color: var(--card-text);
  line-height: 1.5;
}

.disclosure-box {
  background-color: color-mix(in srgb, var(--sf-bg) 80%, var(--sf-surface));
  border: 1px solid var(--sf-border);
  border-radius: var(--card-radius);
  padding: 0.85rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--sf-muted);
  line-height: 1.4;
}

.responsible-box {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  border-radius: var(--card-radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.responsible-box a {
  color: #9f1239;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  font-size: 0.825rem;
  margin-bottom: 1.25rem;
  color: var(--sf-muted);
}

.breadcrumbs a {
  color: var(--sf-header-accent);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--sf-muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pagination__item a,
.pagination__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: var(--card-radius);
  background-color: var(--card-bg);
  color: var(--card-text);
  border: 1px solid var(--card-border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.pagination__item.is-active a,
.pagination__item.is-active span {
  background-color: var(--sf-accent);
  color: var(--sf-accent-text);
  border-color: var(--sf-accent);
}

.site-footer {
  width: 100%;
  background: var(--sf-footer-bg);
  color: var(--sf-footer-text);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--sf-border);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--sf-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-legal {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.5;
}

.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.is-hidden {
  display: none !important;
}

@media (min-width: 641px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .casino-card {
    grid-template-columns: auto minmax(130px, 1.2fr) minmax(100px, 0.8fr) minmax(170px, 2fr) minmax(160px, 1.5fr);
    padding: 1.25rem 1.75rem;
    gap: 1.5rem;
  }

  .casino-card__cta-wrap {
    align-items: stretch;
  }

  .review-hero {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
  }

  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .author-box {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 861px) {
  .review-layout {
    grid-template-columns: minmax(0, 2.5fr) minmax(260px, 1fr);
  }

  .btn,
  .btn--cta,
  .cta-button {
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  .btn,
  .btn--cta,
  .cta-button {
    white-space: normal;
    word-break: normal;
  }
}

@media (max-width: 640px) {
  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .casino-card__identity {
    justify-content: center;
  }

  .casino-card__rating {
    align-items: center;
  }

  .casino-card__badge {
    align-self: center;
  }

  .casino-card__bonus {
    align-items: center;
  }

  .btn--block-mobile {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --sf-readable-card-text: var(--text-main, var(--color-text, var(--text, #e2e8f0)));
  --sf-readable-card-muted: var(--text-muted, var(--color-text-muted, var(--color-muted, #94a3b8)));
  --sf-readable-card-link: var(--color-link, var(--link, #7cc4ff));
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) {
  color: var(--card-text, var(--color-card-text, var(--sf-readable-card-text)));
}

:is(.section--dark, .section-dark, .dark-section, .theme-dark, [data-theme="dark"]) :is(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) {
  color: var(--card-text, var(--color-card-text, var(--sf-readable-card-text)));
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, td, th, figcaption, .chip, .badge, .tag, .provider-chip, .game-chip) {
  color: inherit;
}

:is(.section--dark, .section-dark, .dark-section, .theme-dark, [data-theme="dark"]) :is(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :is(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, td, th, figcaption, .chip, .badge, .tag, .provider-chip, .game-chip) {
  color: inherit;
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :where(.muted, .meta, .card-meta, .text-muted, .provider-meta, .game-meta) {
  color: var(--card-muted, var(--color-muted, var(--sf-readable-card-muted)));
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :where(a:not(.btn):not(.button):not(.cta):not([class*="button"]):not([class*="btn"])) {
  color: var(--card-link, var(--color-link, var(--sf-readable-card-link)));
}

.content-columns > * {
  min-width: 0;
  max-width: 100%;
}

:where([data-bonus-offer-item]) { align-items: center; gap: 1rem; }
:where([data-bonus-offer-item]) :where([data-field]) { display: block; }
:where([data-bonus-offer-item]) :where([data-field="bonus_title"], [data-field="casino_name"]) { font-weight: 600; }
:where([data-bonus-offer-item]) :where([data-field="bonus_title"], [data-field="bonus_value"], [data-field="terms_short"]) { margin-top: .3rem; }
:where([data-bonus-offer-item]) :where(.btn--cta, .cta-button) { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.25rem; border-radius: 10px; background: var(--color-cta, var(--cta-bg, var(--accent, var(--color-accent, var(--primary, var(--color-primary, #e11d48)))))); color: #fff; font-weight: 700; text-decoration: none; }
:where(button, a) :where(svg:not([width]):not([height])) { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

[data-casino-item] [data-field="logo"]:not(img), [data-bonus-offer-item] [data-field="logo"]:not(img) { display: flex; align-items: center; justify-content: center; overflow: hidden; }
[data-casino-item] [data-field="logo"]:not(img) img, [data-bonus-offer-item] [data-field="logo"]:not(img) img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
[role="tablist"] { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
[role="tablist"] > * { flex: 0 0 auto; white-space: nowrap; }
main table :where(th, td):first-child { min-width: 9rem; }

[data-detail-block="review-header"] :has(> img[data-field="logo"]:only-child) { display: flex; align-items: center; justify-content: center; overflow: hidden; }
[data-detail-block="review-header"] :has(> img[data-field="logo"]:only-child) > img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Hero on phones v1 */
@media (max-width: 640px) {
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]):has(h1),
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]) :where(div, section, article, aside, header):has(h1) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: none !important;
  }
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]):has(h1) > *,
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]) :where(div, section, article, aside, header):has(h1) > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
/* Hero on phones v1 end */

/* Screenshot design v1 */
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-745fcabe33-400-cyrillic-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-352b36b1fb-400-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-a6d4b4d87b-400-greek-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-c7ddc0f547-400-greek.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-0f2fc0609b-400-vietnamese.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-3cc59fde9e-400-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-5464b59805-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-08688e12d3-500-cyrillic-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-e9c0a61f7f-500-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-93dd2e00f1-500-greek-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-05a3a13aeb-500-greek.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-8498871af2-500-vietnamese.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-f86fc5472b-500-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-2416d0a782-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-5d2b0e9d5a-600-cyrillic-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-6842156d70-600-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-972c7f5a5a-600-greek-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-e4fd23394b-600-greek.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-1bae0f28a9-600-vietnamese.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-84e3f78c5b-600-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-e3684338dd-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-d0257652e2-700-cyrillic-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-ad4e09df47-700-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-2b852205b7-700-greek-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-38448dadb4-700-greek.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-83c77874a8-700-vietnamese.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-d2bb1a57b9-700-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/font-027322a02a-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {
  font-family: "Anton";
  src: url("../fonts/font-1e1c72d3be-400-vietnamese.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Anton";
  src: url("../fonts/font-c9809d833b-400-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton";
  src: url("../fonts/font-83129137a3-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --sf-bg: #0e212f;
  --sf-surface: #1f313e;
  --sf-text: #ffffff;
  --sf-muted: #b7bcc1;
  --sf-accent: #024e87;
  --sf-accent-text: #ffffff;
  --sf-accent-2: #51aa6b;
  --sf-highlight: #719cbc;
}
body { font-family: "Inter", sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: "Anton", sans-serif; }
.btn, .button, .btn--cta, .cta-button {
  background: rgb(5, 132, 42);
  color: rgb(255, 255, 255);
  border-radius: 5px;
}
/* Screenshot design v1 end */

/* Standard site header and footer v1 */
.sf-header,
.sf-footer {
  --sf-h-bg: var(--sf-header-bg, color-mix(in srgb, #0e212f 95%, transparent));
  --sf-h-text: var(--sf-header-text, rgb(234, 243, 251));
  --sf-h-accent: var(--sf-header-accent, #024e87);
  --sf-h-accent-text: var(--sf-header-accent-text, rgb(255, 255, 255));
  --sf-h-panel: var(--sf-header-panel, rgb(14, 33, 47));
  --sf-h-panel-text: var(--sf-header-panel-text, rgb(234, 243, 251));
  --sf-h-note-bg: color-mix(in srgb, var(--sf-h-text) 8%, var(--sf-h-panel));
  --sf-h-line: color-mix(in srgb, var(--sf-h-text) 16%, transparent);
  --sf-h-hover: color-mix(in srgb, var(--sf-h-accent) 14%, transparent);
  --sf-h-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --sf-h-radius: 5px;
  --sf-h-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sf-h-brand-font: "Anton", Impact, sans-serif;
  --sf-f-bg: var(--sf-footer-bg, color-mix(in srgb, #0e212f 95%, transparent));
  --sf-f-text: var(--sf-footer-text, rgb(146, 146, 146));
  --sf-f-line: color-mix(in srgb, var(--sf-f-text) 16%, transparent);
}

/* Layout of the standard header, menu, drawer and footer. No colours, fonts or shadows of its own: they come from
   the --sf-h-* and --sf-f-* variables, which take the site's own design values. */
.sf-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--sf-h-bg);
  color: var(--sf-h-text);
  font-family: var(--sf-h-font, inherit);
  border-bottom: 1px solid var(--sf-h-line);
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow-x: clip !important;
}

.sf-header *,
.sf-header *::before,
.sf-header *::after,
.sf-footer *,
.sf-footer *::before,
.sf-footer *::after {
  box-sizing: border-box;
}

.sf-header__note {
  margin: 0;
  padding: 0.35rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  background: var(--sf-h-note-bg);
}

.sf-header__note a {
  color: inherit;
  text-decoration: underline;
}

.sf-header .sf-header__bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 1280px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.sf-header .sf-header__brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: var(--sf-h-brand-font, inherit);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.sf-header .sf-header__brand [data-sf-brand-wordmark],
.sf-header .sf-header__brand .sf-header__wordmark {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-header .sf-header__nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.sf-header .sf-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-header .sf-menu__item {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-header .sf-menu__link {
  display: block;
  margin: 0;
  padding: 0.5rem 0.75rem;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--sf-h-radius);
}

.sf-header .sf-menu__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.sf-header .sf-menu__label::after {
  width: 0.4rem;
  height: 0.4rem;
  content: '';
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.sf-header .sf-menu__item.is-open > .sf-menu__label::after {
  transform: translateY(2px) rotate(225deg);
}

.sf-header .sf-menu__link:hover,
.sf-header .sf-menu__link:focus-visible,
.sf-header .sf-menu__link[aria-current="page"] {
  color: var(--sf-h-accent);
}

.sf-header .sf-menu__more,
.sf-header .sf-drawer__more {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  border-radius: var(--sf-h-radius);
  cursor: pointer;
}

.sf-header .sf-menu__more {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: -0.5rem;
}

.sf-header .sf-drawer__more {
  width: 44px;
  height: 44px;
}

.sf-header .sf-menu__more::before,
.sf-header .sf-drawer__more::before {
  width: 0.45rem;
  height: 0.45rem;
  content: '';
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.sf-header .is-open > .sf-menu__more::before,
.sf-header .is-open > .sf-drawer__row > .sf-drawer__more::before {
  transform: translateY(2px) rotate(225deg);
}

.sf-header .sf-menu__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1010;
  display: none;
  min-width: 240px;
  max-width: min(420px, calc(100vw - 24px));
  margin: 0;
  padding: 0.5rem;
  color: var(--sf-h-panel-text);
  background: var(--sf-h-panel);
  border: 1px solid var(--sf-h-line);
  border-radius: var(--sf-h-radius);
  box-shadow: var(--sf-h-shadow);
}

.sf-header .sf-menu__panel::before {
  position: absolute;
  top: calc(-1 * var(--sf-panel-gap, 12px));
  right: 0;
  left: 0;
  height: var(--sf-panel-gap, 12px);
  content: '';
}

.sf-header .sf-menu__item.is-open > .sf-menu__panel {
  display: block;
}

.sf-header .sf-menu__panel--wide {
  width: min(600px, calc(100vw - 24px));
  max-width: none;
}

.sf-header .sf-menu__sub,
.sf-header .sf-drawer__list,
.sf-header .sf-drawer__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-header .sf-menu__panel--wide .sf-menu__sub {
  columns: 2;
  column-gap: 0.5rem;
}

.sf-header .sf-menu__sub li,
.sf-header .sf-drawer__list li {
  margin: 0;
  padding: 0;
  list-style: none;
  break-inside: avoid;
}

.sf-header .sf-menu__sub a {
  display: block;
  overflow-wrap: anywhere;
  padding: 0.45rem 0.65rem;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: normal;
  text-decoration: none;
  border-radius: var(--sf-h-radius);
}

.sf-header .sf-menu__sub a:hover,
.sf-header .sf-menu__sub a:focus-visible,
.sf-header .sf-menu__sub a[aria-current="page"] {
  color: var(--sf-h-accent);
  background: var(--sf-h-hover);
}

.sf-header .sf-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.sf-header .sf-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 1rem;
  color: var(--sf-h-accent-text);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  background: var(--sf-h-accent);
  border: 1px solid transparent;
  border-radius: var(--sf-h-radius);
}

.sf-header .sf-header__cta--quiet {
  color: inherit;
  background: transparent;
  border-color: var(--sf-h-line);
}

.sf-header .sf-header__toggle {
  display: none;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 1px solid var(--sf-h-line);
  border-radius: var(--sf-h-radius);
  cursor: pointer;
}

.sf-header .sf-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sf-header .sf-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sf-header .sf-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.sf-header .sf-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* While the menu stands in the row, the site name keeps its full width: the menu gives way first. */
.sf-header[data-mode="full"] .sf-header__brand,
.sf-header[data-mode="compact"] .sf-header__brand {
  flex: none;
}

/* Compact: the same one row with less room around the links. */
.sf-header[data-mode="compact"] .sf-header__bar {
  gap: 0.75rem;
}

.sf-header[data-mode="compact"] .sf-menu__link {
  padding: 0.45rem 0.45rem;
  font-size: 0.875rem;
}

/* The menu button instead of the row: on phones, and wherever the runtime found that the row does not fit. */
.sf-header[data-mode="drawer"] .sf-header__nav {
  display: none;
}

.sf-header[data-mode="drawer"] .sf-header__toggle {
  display: inline-flex;
}

.sf-header[data-mode="drawer"] .sf-header__brand {
  flex: 1 1 auto;
}

@media (max-width: 859px) {
  .sf-header .sf-header__nav {
    display: none;
  }

  .sf-header .sf-header__toggle {
    display: inline-flex;
  }

  .sf-header .sf-header__brand {
    flex: 1 1 auto;
  }

  .sf-header .sf-header__bar {
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 559px) {
  .sf-header .sf-header__actions .sf-header__cta {
    display: none;
  }
}

/* The runtime hides header buttons that would cut the site name; the drawer still holds them. */
.sf-header[data-sf-cta="quiet"] .sf-header__actions .sf-header__cta--quiet,
.sf-header[data-sf-cta="hidden"] .sf-header__actions .sf-header__cta {
  display: none;
}

/* A page that opens with a picture banner: the banner spans the screen right under the 18+ line and the menu row lies
   over its picture (owner 2026-11-08). The menu script sets the row height and clears the row while it is over the banner. */
body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > .sf-header {
  border-bottom: 0;
}

body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > .sf-header::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: var(--sf-bar-h, 64px);
  content: '';
  background: var(--sf-h-bg);
  border-bottom: 1px solid var(--sf-h-line);
  pointer-events: none;
}

body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > .sf-header .sf-header__bar {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
}

body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* The banner leaves the content column of main (1440 px on wide screens) and spans the page: the menu script sets
   --sf-page-w to the page width without the scrollbar, so 100vw and its sideways scroll are not needed. */
body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > main > [data-sf-hero-host]:first-child {
  width: auto !important;
  max-width: none !important;
  margin-top: 0 !important;
  margin-inline: calc((100% - var(--sf-page-w, 100%)) / 2) !important;
  padding-top: calc(var(--sf-bar-h, 64px) + clamp(1.25rem, 3.5vw, 3rem)) !important;
  border-radius: 0 !important;
}

@media (min-width: 641px) {
  body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > main > [data-sf-hero-host]:first-child {
    min-height: calc(var(--sf-bar-h, 64px) + clamp(280px, 34vw, 500px));
  }
}

body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > .sf-header[data-sf-over-hero]::after {
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.6) 0%, rgba(5, 8, 15, 0) 100%);
  border-bottom: 0;
}

body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > .sf-header[data-sf-over-hero] .sf-header__bar {
  --sf-h-line: rgba(255, 255, 255, 0.4);
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

body:has(> .sf-header + main > [data-sf-hero-host]:first-child) > .sf-header[data-sf-over-hero] :is(.sf-menu__panel, .sf-header__cta:not(.sf-header__cta--quiet)) {
  text-shadow: none;
}

.sf-header .sf-drawer {
  position: fixed;
  overflow-wrap: anywhere;
  top: var(--sf-h-top, 64px);
  right: 0;
  z-index: 1020;
  width: min(400px, 100vw);
  height: calc(100dvh - var(--sf-h-top, 64px));
  margin: 0;
  padding: 0.75rem 1.25rem 2rem;
  overflow-y: auto;
  color: var(--sf-h-panel-text);
  background: var(--sf-h-panel);
  box-shadow: var(--sf-h-shadow);
}

/* A closed drawer takes no room at all, also when a wrapper of the page is the box of its fixed position. */
.sf-header .sf-drawer:not(.is-open) {
  display: none;
}

.sf-header .sf-drawer.is-open {
  display: block;
  animation: sf-drawer-in 0.2s ease;
}

@keyframes sf-drawer-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: none;
  }
}

.sf-header .sf-drawer__item {
  border-bottom: 1px solid var(--sf-h-line);
}

.sf-header .sf-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sf-header .sf-drawer__link {
  display: block;
  flex: 1 1 auto;
  padding: 0.8rem 0;
  color: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.sf-header .sf-drawer__sub {
  display: none;
  padding: 0 0 0.5rem 0.75rem;
}

.sf-header .sf-drawer__item.is-open > .sf-drawer__sub {
  display: block;
}

.sf-header .sf-drawer__sub a {
  display: block;
  padding: 0.5rem 0;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: none;
}

.sf-header .sf-drawer__link[aria-current="page"],
.sf-header .sf-drawer__sub a[aria-current="page"] {
  color: var(--sf-h-accent);
}

.sf-header .sf-drawer__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sf-header .sf-drawer__actions .sf-header__cta {
  display: flex;
  width: 100%;
}

body.sf-menu-open {
  overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .sf-header .sf-drawer.is-open {
    animation: none;
  }

  .sf-header .sf-header__toggle span {
    transition: none;
  }
}

.sf-footer {
  display: block !important;
  overflow-wrap: anywhere;
  margin: 0 !important;
  padding: 2.5rem 0 1.5rem !important;
  color: var(--sf-f-text);
  font-family: var(--sf-h-font, inherit);
  background: var(--sf-f-bg);
  border-top: 1px solid var(--sf-f-line);
}

.sf-footer .sf-footer__inner {
  display: grid;
  gap: 2rem;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sf-footer .sf-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: inherit;
  font-family: var(--sf-h-brand-font, inherit);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.sf-footer .sf-footer__about {
  max-width: 760px;
}

.sf-footer .sf-footer__about p,
.sf-footer .sf-footer__notes p {
  margin: 0 0 0.6rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.sf-footer .sf-footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
}

.sf-footer .sf-footer__col--long {
  grid-column: 1 / -1;
}

.sf-footer .sf-footer__title {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.sf-footer .sf-footer__list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-footer .sf-footer__col--long .sf-footer__list {
  display: block;
  columns: 4 200px;
  column-gap: 2rem;
}

.sf-footer .sf-footer__list li {
  margin: 0 0 0.35rem;
  padding: 0;
  list-style: none;
  break-inside: avoid;
}

.sf-footer .sf-footer__list a,
.sf-footer .sf-footer__notes a,
.sf-footer .sf-footer__about a {
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
  opacity: 0.85;
}

.sf-footer .sf-footer__list a:hover,
.sf-footer .sf-footer__list a:focus-visible,
.sf-footer .sf-footer__notes a:hover,
.sf-footer .sf-footer__about a:hover {
  color: var(--sf-h-accent);
  text-decoration: underline;
  opacity: 1;
}

.sf-footer .sf-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
}

.sf-footer .sf-footer__badges img {
  width: auto;
  max-width: 140px;
  height: 32px;
  object-fit: contain;
}

.sf-footer .sf-footer__copy {
  margin: 0;
  padding-top: 1rem;
  font-size: 0.8125rem;
  opacity: 0.75;
  border-top: 1px solid var(--sf-f-line);
}

@media (max-width: 559px) {
  .sf-footer .sf-footer__list,
  .sf-footer .sf-footer__col--long .sf-footer__list {
    display: block;
    columns: 2;
    column-gap: 1rem;
  }
}
/* Standard site header and footer v1 end */

/* Final navigation CSS guardrail */
.site-header {
    position: relative;
    z-index: 3000;
}

.site-header > .container {
    position: relative;
}

.site-nav {
    margin-inline-start: auto;
}

.bonus-card__icon:empty {
    display: none;
}

.pros-block h3::before,
.cons-block h3::before {
    content: '' !important;
}

.pros-block li::before,
.cons-block li::before {
    content: '' !important;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    margin-top: 0.45rem;
    flex: 0 0 0.55rem;
}

.pros-block li::before {
    background: var(--color-success, #15803d);
}

.cons-block li::before {
    background: var(--color-error, #b91c1c);
}

@media (min-width: 769px) {
    .site-nav__list {
        display: flex !important;
        align-items: center;
        gap: clamp(0.9rem, 1.8vw, 1.5rem);
        margin: 0;
        padding: 0;
    }

    .site-nav__item--has-submenu {
        position: static !important;
    }

    .site-nav__link,
    .site-nav__link--submenu-toggle {
        white-space: nowrap;
    }

    .site-nav__link--submenu-toggle::after {
        content: '' !important;
        width: 0.45rem;
        height: 0.45rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-inline-start: 0.15rem;
        margin-top: -0.2rem;
    }

    .site-nav__item--has-submenu.is-open .site-nav__link--submenu-toggle::after {
        transform: rotate(225deg);
        margin-top: 0.2rem;
    }

    .site-nav__item--has-submenu > .mega-menu {
        display: block !important;
        position: absolute !important;
        top: calc(100% + 0.75rem) !important;
        inset-inline-end: 0 !important;
        inset-inline-start: auto !important;
        width: min(860px, calc(100vw - 2rem)) !important;
        max-width: none !important;
        padding: 1.25rem 1.5rem !important;
        border: 1px solid rgba(20, 30, 50, 0.12);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(0.5rem) !important;
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease !important;
        z-index: 3100 !important;
    }

    .site-nav__item--has-submenu:hover > .mega-menu,
    .site-nav__item--has-submenu:focus-within > .mega-menu,
    .site-nav__item--has-submenu.is-open > .mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .mega-menu > .container {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mega-menu__column {
        min-width: 0;
    }

    .mega-menu__column a {
        color: var(--color-text-dark, #172033) !important;
        line-height: 1.35;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .site-nav__list {
        display: none !important;
    }

    .site-nav--mobile-toggle {
        display: block !important;
    }

    .site-nav__item--has-submenu > .mega-menu {
        display: none !important;
    }
}

/* Content width on wide screens v1 */
@media (min-width: 1600px) {
  :root body main {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* Content width on wide screens v1 end */

/* SiteForge navigation delivery guard v2 */
.site-header,
.site-header > .container {
    overflow: visible !important;
}

.sf-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: min(100% - 2rem, var(--container-max, 1200px));
    margin: 1rem auto;
    color: var(--text-muted, #667085);
    font-size: 0.875rem;
    line-height: 1.5;
}

.sf-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.sf-breadcrumbs a:hover,
.sf-breadcrumbs a:focus-visible {
    color: var(--color-primary, #0f766e);
    text-decoration: underline;
}

.sf-breadcrumbs__separator {
    opacity: 0.65;
}

@media (min-width: 860px) {
    .site-nav {
        display: block !important;
    }

    .site-nav__toggle,
    .mobile-menu {
        display: none !important;
    }

    .site-nav__item--has-dropdown,
    .site-nav__item--has-submenu {
        position: relative;
    }

    .nav-dropdown-menu::before,
    .mega-menu::before {
        position: absolute;
        top: -18px;
        right: 0;
        left: 0;
        height: 18px;
        content: '';
    }

    .site-nav__item--has-dropdown:hover > .nav-dropdown-menu,
    .site-nav__item--has-dropdown:focus-within > .nav-dropdown-menu,
    .site-nav__item--has-dropdown.is-open > .nav-dropdown-menu,
    .site-nav__item--has-submenu:hover > .mega-menu,
    .site-nav__item--has-submenu:focus-within > .mega-menu,
    .site-nav__item--has-submenu.is-open > .mega-menu,
    .nav-dropdown-menu.is-active,
    .mega-menu.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 859px) {
    .site-nav {
        display: none !important;
    }

    /* Centring alone packed the burger bars into one thick dash; the gap keeps them apart. */
    .site-nav__toggle,
    .site-nav--mobile-toggle,
    [data-sf-menu-toggle] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
    }

    /* The site name gives way on a narrow phone, so the menu button never leaves the screen. */
    header a:has(> [data-sf-brand-wordmark]) {
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }

    [data-sf-brand-wordmark] {
        display: inline-block;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    .mobile-menu,
    [data-sf-mobile-menu] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow-y: auto;
        max-height: calc(100dvh - var(--header-height, 72px));
        z-index: 3200 !important;
    }

    .mobile-menu.is-open,
    [data-sf-mobile-menu].is-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        /* A header with backdrop-filter or transform becomes the box of this fixed panel, so top+bottom
           squeezed it to its padding (34px, one link visible). An explicit height keeps it full-screen. */
        height: calc(100dvh - var(--header-height, 72px)) !important;
        bottom: auto !important;
    }

    .mobile-menu__accordion-panel {
        display: none !important;
    }

    .mobile-menu__accordion-panel.is-open {
        display: flex !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    .sf-breadcrumbs {
        width: min(100% - 1.25rem, var(--container-max, 1200px));
        margin-block: 0.75rem;
        font-size: 0.8125rem;
    }
}

/* SiteForge footer link index v1 */
.sf-footer-link-index,
footer a[data-author-nav] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    width: min(100% - 2rem, var(--container-max, 1200px));
    margin: 1rem auto 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(128, 128, 128, 0.25);
    font-size: 0.8rem;
    line-height: 1.5;
}

footer a[data-author-nav] {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.sf-footer-link-index a,
footer a[data-author-nav] {
    color: inherit;
    opacity: 0.75;
    text-decoration: none;
}

.sf-footer-link-index a:hover,
footer a[data-author-nav]:hover {
    opacity: 1;
    text-decoration: underline;
}

/* SiteForge nav drawer v1 */
@media (max-width: 859px) {
    .site-nav[data-sf-mobile-menu] .site-nav__list {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* SiteForge header fit v1 */
/* Nothing in the header widens the page: a closed dropdown or drawer used to make every page scroll sideways. */
.site-header,
header:has([data-sf-menu-toggle]) {
    overflow-x: clip !important;
}

/* The open menu stands in place, also when the site slides it in with its own class on another element (project 584:
   the runtime opened the panel, the site's slide class stayed off and the menu stayed beside the screen). */
[data-sf-mobile-menu].is-open {
    transform: none !important;
    translate: none !important;
}

/* Measured without motion: a dropdown caught in its slide was moved by the wrong distance. */
html[data-sf-nav-measure] [data-sf-nav-desktop],
html[data-sf-nav-measure] [data-sf-nav-desktop] * {
    transition: none !important;
}

@media (min-width: 860px) {
    [data-sf-nav-row],
    [data-sf-nav-list] {
        flex-wrap: nowrap !important;
    }

    /* The label of an item stays on one line, also a bare label beside its submenu button (project 589). */
    [data-sf-nav-list] > a,
    [data-sf-nav-list] > * > a,
    [data-sf-nav-list] > * > :first-child {
        white-space: nowrap;
    }

    html[data-sf-nav="desktop"] [data-sf-menu-toggle],
    html[data-sf-nav="compact"] [data-sf-menu-toggle] {
        display: none !important;
    }

    /* A nav that holds its items itself stays a row: the delivery guard's display: block stacked them under the
       header (project 582). */
    html[data-sf-nav="desktop"] [data-sf-nav-desktop][data-sf-nav-list],
    html[data-sf-nav="compact"] [data-sf-nav-desktop][data-sf-nav-list] {
        display: flex !important;
        align-items: center;
    }

    html[data-sf-nav="compact"] [data-sf-nav-row] {
        column-gap: 1rem !important;
    }

    html[data-sf-nav="compact"] [data-sf-nav-list] {
        column-gap: 0.5rem !important;
    }

    html[data-sf-nav="compact"] [data-sf-nav-list] > a,
    html[data-sf-nav="compact"] [data-sf-nav-list] > * > a,
    html[data-sf-nav="compact"] [data-sf-nav-list] > * > :first-child > a {
        padding-inline: 0.375rem !important;
        font-size: 0.875rem !important;
        letter-spacing: normal !important;
    }

    html[data-sf-nav="compact"] [data-sf-nav-list] > * > :first-child {
        font-size: 0.875rem !important;
    }

    html[data-sf-nav="drawer"] [data-sf-menu-toggle] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
        visibility: visible !important;
        opacity: 1 !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop]:not([data-sf-mobile-menu]),
    html[data-sf-nav="drawer"] [data-sf-mobile-menu]:not(.is-open) {
        display: none !important;
    }

    html[data-sf-nav="drawer"] [data-sf-mobile-menu].is-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 3200 !important;
    }

    html[data-sf-nav="drawer"] body.menu-open {
        overflow: hidden !important;
    }

    /* The desktop menu that is also the drawer opens as a panel under the header, its submenus open. */
    html[data-sf-nav="drawer"] [data-sf-nav-desktop][data-sf-mobile-menu].is-open {
        position: fixed !important;
        top: var(--sf-nav-top, 72px) !important;
        right: 0 !important;
        bottom: auto !important;
        left: auto !important;
        width: min(400px, 100vw) !important;
        max-width: 100vw !important;
        height: calc(100dvh - var(--sf-nav-top, 72px)) !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 1rem 1.25rem 2rem !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: none !important;
        translate: none !important;
        background: var(--sf-nav-bg, #ffffff) !important;
        box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3) !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-list] {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.25rem !important;
        width: 100% !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-list] > * {
        width: 100%;
        margin: 0 !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-panel] {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        translate: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0.25rem 0 0.5rem !important;
        box-shadow: none !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-panel] * {
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        grid-template-columns: minmax(0, 1fr) !important;
        transform: none !important;
    }
}
