:root {
  --brand: #8f1f2f;
  --brand-dark: #5f1723;
  --brand-darkmode: #bf4356;
  --brand-darkmode-hover: #c9495d;
  --brand-strong: #b52a3e;
  --ink: #252223;
  --muted: #675f61;
  --line: #c8c0c1;
  --line-soft: #e7e1e1;
  --paper: #fffaf7;
  --panel: #ffffff;
  --deep: #171415;
  --brass: #947243;
  --shadow: 0 18px 48px rgba(37, 34, 35, 0.14);
  --radius: 8px;
  --content: 1184px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(181, 42, 62, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(23, 20, 21, 0.94);
  color: #fffaf7;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 250, 247, 0.24);
  background: var(--brand);
  border-radius: var(--radius);
  font-weight: 700;
}

.brand-name,
.brand-note {
  display: block;
}

.brand-name {
  font-weight: 700;
  line-height: 1.2;
}

.brand-note {
  color: rgba(255, 250, 247, 0.72);
  font-size: 14px;
  line-height: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  min-height: 48px;
  padding: 12px 14px;
  color: rgba(255, 250, 247, 0.84);
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--radius);
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 250, 247, 0.1);
  color: #fff;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 247, 0.28);
  background: transparent;
  color: #fffaf7;
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: 556px;
  overflow: hidden;
  background: #211719;
  color: #fffaf7;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 82% 74% at 72% 38%, #000 34%, rgba(0, 0, 0, 0.72) 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 74% at 72% 38%, #000 34%, rgba(0, 0, 0, 0.72) 58%, transparent 100%);
}

.hero-overlay {
  background:
    radial-gradient(ellipse at 28% 60%, rgba(191, 67, 86, 0.12), transparent 66%),
    linear-gradient(90deg, rgba(23, 20, 21, 0.92) 0%, rgba(23, 20, 21, 0.68) 46%, rgba(23, 20, 21, 0.18) 100%),
    linear-gradient(180deg, rgba(23, 20, 21, 0.06) 0%, rgba(23, 20, 21, 0.58) 68%, #211719 100%);
}

.hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 160px;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(33, 23, 25, 0.72) 58%, #211719 100%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1540px, calc(100% - 96px));
  min-height: 476px;
  margin: 0 auto;
  padding: 48px 0 32px;
}

.hero-stack {
  display: grid;
  gap: 32px;
  width: min(880px, 58vw);
  max-width: 880px;
  margin-left: clamp(112px, 7vw, 148px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.hero .eyebrow {
  color: rgba(255, 250, 247, 0.88);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 52px;
  line-height: 60px;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.split p,
.criteria-grid p,
.category-card p,
.casino-main p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 250, 247, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  border-color: currentColor;
  color: var(--brand-dark);
  background: transparent;
}

.hero .button-secondary {
  color: #fffaf7;
}

.hero .button-primary,
.casino-section .button-primary,
.dark-section .button-primary {
  background: var(--brand-darkmode);
  box-shadow: 0 0 40px rgba(191, 67, 86, 0.3);
}

.hero .button-primary:hover,
.casino-section .button-primary:hover,
.dark-section .button-primary:hover {
  background: var(--brand-darkmode-hover);
}

.hero-panel {
  width: min(720px, 100%);
  padding: 1px;
  border: 0;
  background:
    linear-gradient(135deg, rgba(191, 67, 86, 0.58), rgba(255, 250, 247, 0.08) 45%, rgba(255, 250, 247, 0.18));
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: 0 0 48px rgba(191, 67, 86, 0.12);
}

.panel-label {
  margin: 0;
  padding: 20px 24px 0;
  color: #fffaf7;
  font-weight: 700;
  background: rgba(15, 13, 14, 0.82);
  border-radius: var(--radius) var(--radius) 0 0;
}

.trust-cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px;
  background: rgba(15, 13, 14, 0.82);
  border-radius: 0 0 var(--radius) var(--radius);
}

.trust-cells div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 247, 0.1);
  background: rgba(255, 250, 247, 0.045);
  border-radius: var(--radius);
}

.trust-cells span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 250, 247, 0.58);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.trust-cells p {
  margin: 0;
  color: rgba(255, 250, 247, 0.88);
  font-size: 16px;
  line-height: 24px;
}

.section {
  padding: 80px clamp(16px, 4vw, 80px);
}

.section-tight {
  padding-top: 24px;
}

.casino-section {
  position: relative;
  background:
    linear-gradient(180deg, #211719 0%, #1b1516 36%, #171415 100%);
  color: #fffaf7;
}

.casino-section .section-heading {
  width: min(960px, 100%);
  margin-bottom: 24px;
  text-align: center;
}

.casino-section .eyebrow,
.casino-section .section-heading p {
  color: rgba(255, 250, 247, 0.74);
}

.casino-section h2 {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  color: #fffaf7;
}

.casino-section .section-heading p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.alt-section {
  background: #f3ece9;
}

.dark-section {
  background: var(--deep);
  color: #fffaf7;
}

.quality-section {
  background: #f3ece9;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 32px;
  text-align: left;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: end;
  width: min(var(--content), 100%);
  margin-bottom: 48px;
}

.section-heading p {
  max-width: 650px;
}

.dark-section .eyebrow,
.dark-section .section-heading p {
  color: rgba(255, 250, 247, 0.72);
}

.dark-section h2 {
  color: #fffaf7;
}

.casino-grid {
  display: grid;
  gap: 16px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.casino-card {
  display: grid;
  grid-template-columns: 44px 112px minmax(0, 1fr) minmax(176px, 220px);
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 247, 0.16);
  background:
    linear-gradient(90deg, rgba(143, 31, 47, 0.18), rgba(143, 31, 47, 0) 46%),
    #241b1d;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.featured-card {
  border-color: rgba(255, 250, 247, 0.32);
}

.rank {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #d7b16c;
  font-weight: 700;
}

.casino-logo {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 250, 247, 0.32);
  background: #fffaf7;
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
}

.casino-main h3,
.casino-main p {
  margin-bottom: 8px;
}

.casino-main h3 {
  color: #fffaf7;
}

.casino-main p {
  max-width: 620px;
  color: rgba(255, 250, 247, 0.76);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.facts div {
  min-width: 128px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 250, 247, 0.16);
  background: rgba(255, 250, 247, 0.08);
  border-radius: var(--radius);
}

.facts dt {
  color: rgba(255, 250, 247, 0.7);
  font-size: 14px;
  line-height: 20px;
}

.facts dd {
  margin: 0;
  color: #fffaf7;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.casino-action {
  display: grid;
  gap: 8px;
}

.score {
  color: #fffaf7;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.casino-card .button-secondary {
  color: #fffaf7;
  border-color: rgba(255, 250, 247, 0.76);
}

.casino-card .button-secondary:hover {
  background: rgba(255, 250, 247, 0.08);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 360px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 247, 0.12);
  background:
    linear-gradient(180deg, rgba(143, 31, 47, 0.22), rgba(23, 20, 21, 0) 62%),
    #2a1117;
  color: #fffaf7;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.category-card:hover {
  border-color: rgba(255, 250, 247, 0.32);
  transform: translateY(-2px);
}

.category-card:focus-visible {
  outline-color: rgba(255, 250, 247, 0.62);
}

.card-number {
  display: block;
  margin-bottom: 40px;
  color: var(--brass);
  font-weight: 700;
}

.card-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 250, 247, 0.24);
  background: rgba(255, 250, 247, 0.08);
  border-radius: var(--radius);
  color: #fffaf7;
  font-weight: 700;
}

.category-card h3 {
  max-width: 260px;
  margin-top: auto;
  color: #fffaf7;
}

.category-card p {
  max-width: 290px;
  color: rgba(255, 250, 247, 0.76);
}

.category-card strong {
  align-self: end;
  margin-top: 32px;
  color: #fffaf7;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.review-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.review-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(37, 34, 35, 0.08);
}

.review-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-feature > div {
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 40px;
}

.review-feature p {
  max-width: 420px;
  color: var(--muted);
}

.review-feature .button {
  width: fit-content;
}

.review-type {
  color: var(--brass);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-list a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.review-list a:hover {
  border-color: rgba(143, 31, 47, 0.32);
  box-shadow: 0 10px 28px rgba(37, 34, 35, 0.08);
}

.review-logo {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fbf6f2;
  border-radius: var(--radius);
}

.review-list em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(var(--content), 100%);
  margin: 0 auto;
  border: 1px solid var(--line-soft);
  background: var(--panel);
}

.criteria-grid article {
  position: relative;
  min-height: 288px;
  padding: 40px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
}

.criteria-grid article:nth-child(2n) {
  border-right: 0;
}

.criteria-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.criteria-symbol {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--brass);
  font-weight: 700;
}

.criteria-grid h3 {
  margin-top: 120px;
}

.criteria-grid p {
  max-width: 420px;
}

.topics-section {
  background: #fffaf7;
}

.topic-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.topic-rail article {
  min-height: 288px;
  padding: 32px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(143, 31, 47, 0.08), rgba(143, 31, 47, 0) 50%),
    var(--panel);
  border-radius: var(--radius);
}

.topic-rail span {
  display: block;
  margin-bottom: 72px;
  color: var(--brass);
  font-weight: 700;
}

.topic-rail p {
  color: var(--muted);
}

.author-section {
  background: var(--paper);
}

.author-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(143, 31, 47, 0.18);
  background:
    linear-gradient(90deg, rgba(143, 31, 47, 0.1), rgba(255, 250, 247, 0) 46%),
    #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(37, 34, 35, 0.08);
}

.author-card h2 {
  margin-bottom: 8px;
}

.author-card p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.author-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(143, 31, 47, 0.24);
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-size: 32px;
  font-weight: 700;
}

.faq-section {
  background: #f3ece9;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius);
}

.faq-list summary {
  min-height: 64px;
  padding: 20px 24px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.faq-list summary:hover {
  color: var(--brand-dark);
}

.faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.page-hero {
  position: relative;
  padding: 96px clamp(16px, 4vw, 80px) 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 24% 44%, rgba(191, 67, 86, 0.16), transparent 62%),
    linear-gradient(135deg, #211719, var(--deep));
  color: #fffaf7;
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(520px, 44vw);
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(191, 67, 86, 0.12)),
    url("latvia-casino-editorial.png") right center / cover no-repeat;
  opacity: 0.32;
  content: "";
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 18%, transparent 72%);
}

.page-hero > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero .eyebrow {
  color: rgba(255, 250, 247, 0.74);
}

.page-hero p:last-child {
  color: rgba(255, 250, 247, 0.86);
}

.page-section {
  background: var(--paper);
}

.parent-hero p:last-child {
  max-width: 700px;
}

.parent-section {
  background:
    radial-gradient(ellipse at 80% 8%, rgba(143, 31, 47, 0.08), transparent 48%),
    var(--paper);
}

.parent-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: end;
  width: min(var(--content), 100%);
  margin: 0 auto 32px;
}

.parent-lead p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.parent-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.parent-panels article,
.structured-grid article,
.mini-link-card {
  border-radius: var(--radius);
}

.parent-panels article {
  min-height: 300px;
  padding: 32px;
  border: 1px solid rgba(143, 31, 47, 0.16);
  background:
    linear-gradient(180deg, rgba(143, 31, 47, 0.08), rgba(255, 250, 247, 0) 54%),
    #fff;
  box-shadow: 0 16px 42px rgba(37, 34, 35, 0.08);
}

.parent-panels span,
.structured-grid span {
  display: block;
  margin-bottom: 56px;
  color: var(--brass);
  font-weight: 700;
}

.parent-panels p,
.structured-grid p {
  color: var(--muted);
}

.parent-dark {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(191, 67, 86, 0.18), transparent 54%),
    var(--deep);
  color: #fffaf7;
}

.parent-dark .eyebrow,
.parent-dark .parent-lead p,
.parent-dark .structured-grid p {
  color: rgba(255, 250, 247, 0.72);
}

.parent-dark h2,
.parent-dark h3 {
  color: #fffaf7;
}

.structured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.structured-grid article {
  min-height: 260px;
  padding: 32px;
  border: 1px solid rgba(255, 250, 247, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 250, 247, 0.07), rgba(255, 250, 247, 0.025)),
    #211719;
}

.related-section {
  background: #f3ece9;
}

.mini-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.mini-link-card {
  display: grid;
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 34, 35, 0.06);
}

.mini-link-card:hover {
  border-color: rgba(143, 31, 47, 0.28);
}

.mini-link-card span {
  color: var(--brass);
  font-weight: 700;
}

.mini-link-card strong {
  margin-top: auto;
  font-size: 20px;
  line-height: 28px;
}

.mini-link-card em {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.category-grid-hub {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.page-grid article {
  min-height: 280px;
  padding: 32px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(143, 31, 47, 0.08), rgba(143, 31, 47, 0) 54%),
    #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(37, 34, 35, 0.06);
}

.page-grid span {
  display: block;
  margin-bottom: 72px;
  color: var(--brass);
  font-weight: 700;
}

.page-grid h2 {
  font-size: 24px;
  line-height: 32px;
}

.page-grid p {
  color: var(--muted);
}

.wp-content {
  width: min(860px, 100%);
  margin: 0 auto;
  color: var(--ink);
}

.wp-content > * {
  max-width: 760px;
}

.wp-content a {
  color: var(--brand-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.wp-content img {
  height: auto;
  border-radius: var(--radius);
}

.site-footer {
  padding: 0 clamp(16px, 4vw, 80px) 40px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(191, 67, 86, 0.18), transparent 54%),
    radial-gradient(ellipse at 86% 18%, rgba(148, 114, 67, 0.12), transparent 48%),
    linear-gradient(180deg, #201416 0%, #151112 48%, #0f0d0e 100%);
  color: #fffaf7;
}

.footer-shell {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 250, 247, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(240px, 0.72fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 247, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 247, 0.07), rgba(255, 250, 247, 0.025)),
    rgba(255, 255, 255, 0.02);
}

.footer-brand strong,
.footer-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 28px;
}

.footer-note {
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 247, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.footer-note span,
.footer-links span {
  display: block;
  margin-bottom: 14px;
  color: #d8b276;
  font-size: 15px;
  font-weight: 800;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 250, 247, 0.74);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 247, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.footer-links nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer a {
  color: #fffaf7;
  width: fit-content;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 250, 247, 0.26);
  text-underline-offset: 4px;
}

.site-footer a:hover {
  border-color: rgba(216, 178, 118, 0.72);
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 247, 0.08);
}

@media (max-width: 980px) {
  .hero-stack {
    width: min(720px, 70vw);
    margin-left: 0;
  }

  .split-heading,
  .review-showcase,
  .author-card,
  .parent-lead,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .casino-card {
    grid-template-columns: 40px 96px minmax(0, 1fr);
  }

  .casino-logo {
    width: 96px;
    height: 96px;
  }

  .casino-action {
    grid-column: 3;
  }

  .category-grid,
  .topic-rail,
  .parent-panels,
  .structured-grid,
  .mini-link-grid,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: 320px;
  }

  .review-feature {
    grid-template-columns: 1fr;
  }

  .review-feature img {
    height: 280px;
  }

  .footer-brand,
  .footer-note,
  .footer-links {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 72px;
    gap: 12px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    background: rgba(255, 250, 247, 0.06);
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-inner {
    width: min(100% - 32px, 720px);
    min-height: auto;
    padding: 28px 0 16px;
  }

  .hero-stack {
    width: 100%;
    gap: 20px;
  }

  .hero-panel {
    width: 100%;
  }

  .panel-label {
    padding: 14px 14px 0;
  }

  .trust-cells {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
  }

  .trust-cells div {
    min-height: 0;
    padding: 12px;
  }

  .trust-cells span {
    margin-bottom: 8px;
  }

  .trust-cells p {
    font-size: 15px;
    line-height: 22px;
  }

  h1 {
    font-size: 38px;
    line-height: 46px;
  }

  .hero-text {
    margin-bottom: 24px;
  }

  h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .casino-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .casino-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    min-width: 0;
    padding: 12px;
  }

  .rank {
    width: 32px;
    height: 32px;
  }

  .casino-logo {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }

  .casino-card h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .casino-main p,
  .facts dt,
  .facts dd,
  .score,
  .casino-card .button {
    font-size: 14px;
    line-height: 20px;
  }

  .casino-main p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .facts {
    display: none;
  }

  .casino-action {
    grid-column: auto;
    width: 100%;
  }

  .casino-card .button {
    width: 100%;
    min-height: 48px;
    padding: 10px 8px;
  }

  .category-grid,
  .criteria-grid,
  .topic-rail,
  .parent-panels,
  .structured-grid,
  .mini-link-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 280px;
    padding: 24px;
  }

  .card-icon {
    top: 24px;
    right: 24px;
  }

  .review-feature {
    min-height: 0;
  }

  .review-feature > div {
    padding: 24px;
  }

  .review-feature .button {
    width: 100%;
  }

  .review-list a {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .review-logo {
    width: 48px;
    height: 48px;
  }

  .review-list em {
    grid-column: 2;
  }

  .criteria-grid article,
  .criteria-grid article:nth-child(2n),
  .criteria-grid article:nth-last-child(-n + 2) {
    min-height: 240px;
    padding: 32px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .criteria-grid article:last-child {
    border-bottom: 0;
  }

  .criteria-symbol {
    top: 24px;
    right: 24px;
  }

  .criteria-grid h3 {
    margin-top: 96px;
  }

  .review-list a {
    align-items: flex-start;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .author-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .author-card .button {
    width: 100%;
  }

  .topic-rail article,
  .parent-panels article,
  .structured-grid article,
  .page-grid article {
    min-height: 240px;
    padding: 24px;
  }

  .topic-rail span,
  .parent-panels span,
  .structured-grid span,
  .page-grid span {
    margin-bottom: 48px;
  }

  .mini-link-card {
    min-height: 148px;
    padding: 20px;
  }

  .page-hero {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .page-hero::after {
    width: 78vw;
    opacity: 0.18;
  }

  .faq-list summary {
    padding: 18px 20px;
  }

  .faq-list p {
    padding: 0 20px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-note {
    display: none;
  }

  .casino-grid {
    gap: 8px;
  }

  .casino-card {
    padding: 10px;
  }
}
