/* =========================================================
   archioab.it
   Design: classico — giallo, nero e rosso
   ========================================================= */

:root {
  --black: #120f0e;
  --black-soft: #201a18;
  --red: #a81717;
  --red-dark: #721010;
  --red-soft: #f9e8e5;
  --yellow: #f2c94c;
  --yellow-dark: #b98608;
  --cream: #fbf8f1;
  --white: #ffffff;
  --ink: #211b18;
  --muted: #716861;
  --border: #e2d8cd;
  --green: #17794d;
  --shadow: 0 18px 48px rgba(39, 24, 18, 0.12);
  --shadow-soft: 0 10px 28px rgba(39, 24, 18, 0.08);
  --radius-xl: 24px;
  --radius-lg: 17px;
  --radius-md: 11px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: var(--red);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-dark);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1200;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(168, 23, 23, 0.2);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 24px rgba(39, 24, 18, 0.07);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-logo {
  flex: 0 0 auto;
}

.site-logo img {
  width: 170px;
  max-height: 48px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 21px;
}

.main-nav a {
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--red);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-header {
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--yellow), #f8df7b);
  color: var(--black);
  box-shadow: 0 10px 24px rgba(185, 134, 8, 0.2);
}

.btn-header:hover {
  color: var(--black);
  box-shadow: 0 14px 30px rgba(185, 134, 8, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(168, 23, 23, 0.25);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 15px 31px rgba(168, 23, 23, 0.33);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 58px 0 44px;
  background:
    linear-gradient(135deg, rgba(18, 15, 14, 0.98), rgba(91, 16, 16, 0.95)),
    var(--black);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.1;
  background-image:
    linear-gradient(45deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%);
  background-size: 44px 44px;
}

.hero-accent {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.hero-accent--one {
  width: 340px;
  height: 340px;
  top: -190px;
  right: -80px;
  background: rgba(242, 201, 76, 0.2);
}

.hero-accent--two {
  width: 250px;
  height: 250px;
  bottom: -145px;
  left: -65px;
  background: rgba(168, 23, 23, 0.32);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--red);
}

.hero h1 {
  max-width: 860px;
  margin: 0 0 17px;
  color: var(--white);
  font-size: clamp(38px, 5.2vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-intro p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.72;
}

.hero-intro span {
  color: inherit;
}

.author-box {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-box > img {
  width: 57px;
  height: 57px;
  border: 3px solid rgba(242, 201, 76, 0.8);
  border-radius: 50%;
  object-fit: cover;
}

.author-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.author-name-line strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.verified svg {
  width: 13px;
  height: 13px;
  color: var(--yellow);
}

.author-role,
.author-box time {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.hero-panel {
  padding: 27px;
  border: 1px solid rgba(242, 201, 76, 0.3);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel > strong {
  display: block;
  margin-bottom: 15px;
  font-size: 27px;
  line-height: 1.2;
}

.hero-panel ul {
  margin: 0 0 21px;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--green);
}

.hero-panel .check-icon {
  color: var(--yellow);
}

/* Listing */

.listing-section {
  padding: 57px 0 72px;
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 201, 76, 0.15), transparent 23%),
    radial-gradient(circle at 94% 40%, rgba(168, 23, 23, 0.1), transparent 28%),
    var(--cream);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: clamp(31px, 4.2vw, 47px);
  line-height: 1.12;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.casino-list {
  display: grid;
  gap: 18px;
}

.casino-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(190px, 0.82fr) minmax(290px, 1.25fr) minmax(225px, 0.95fr) auto;
  align-items: center;
  gap: 21px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--black);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.casino-card--featured {
  border: 2px solid var(--yellow);
  border-left: 6px solid var(--red);
  box-shadow: var(--shadow);
}

.editor-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.rank {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.brand-logo-box {
  min-height: 58px;
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}

.brand-logo-box img {
  width: 140px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand-copy h3 {
  margin: 0 0 4px;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.rating strong {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.bonus-label {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.bonus-block p {
  margin: 0;
  color: var(--red-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.34;
}

.features-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.cta-block {
  min-width: 145px;
  text-align: center;
}

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

.cta-block small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
}

/* Main article */

.content-section {
  padding: 76px 0;
  background: var(--white);
}

.article-shell {
  width: min(calc(100% - 40px), 1020px);
  margin-inline: auto;
}

.article-content {
  min-width: 0;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2 {
  margin: 57px 0 17px;
  padding-bottom: 11px;
  border-bottom: 2px solid #f0d8d4;
  color: var(--black);
  font-size: clamp(29px, 3.5vw, 40px);
  line-height: 1.18;
}

.article-content h3 {
  margin: 37px 0 12px;
  color: var(--red-dark);
  font-size: clamp(23px, 2.6vw, 29px);
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 19px;
  color: #413a35;
}

.article-content p span,
.article-content li span,
.article-content td span,
.article-content th span {
  color: inherit;
}

.article-content ul,
.article-content ol {
  margin: 16px 0 25px;
  padding-left: 29px;
}

.article-content li {
  margin: 8px 0;
  color: #413a35;
}

.article-content ul li::marker {
  color: var(--red);
}

.article-content ol li::marker {
  color: var(--red);
  font-weight: 900;
}

.table-scroll {
  width: 100%;
  margin: 25px 0 35px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}

.article-content table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
}

.article-content td,
.article-content th {
  padding: 14px 15px;
  border: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.article-content tr:first-child td,
.article-content th {
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.article-content tr:first-child td span,
.article-content tr:first-child td strong,
.article-content th span,
.article-content th strong {
  color: var(--white);
}

.article-content tr:nth-child(even) td {
  background: #fcf7f4;
}

.article-content td p {
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.5;
}

/* Author profile */

.author-section {
  padding: 52px 0;
  background: #f6eee7;
}

.author-profile {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 29px;
  border: 1px solid var(--border);
  border-left: 6px solid var(--red);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.author-profile > img {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  object-fit: cover;
}

.author-profile h2 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 31px;
}

.author-profile p {
  margin: 0;
  color: var(--muted);
}

/* Responsible gaming */

.responsible-section {
  padding: 37px 0;
  background: var(--red-dark);
  color: var(--white);
}

.responsible-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.age-badge {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 900;
}

.responsible-section h2 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 27px;
}

.responsible-section p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

/* Footer */

.site-footer {
  padding: 51px 0 22px;
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 49px;
}

.footer-brand a {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 10px;
  background: var(--white);
}

.footer-brand img {
  width: 165px;
  max-height: 48px;
  object-fit: contain;
}

.footer-brand p,
.footer-disclaimer p {
  margin: 13px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

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

.footer-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-disclaimer strong {
  color: var(--yellow);
  font-size: 17px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

/* Back to top */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(114, 16, 16, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  cursor: pointer;
  transition: 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* Responsive */

@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .casino-card {
    grid-template-columns: 50px minmax(180px, 0.8fr) minmax(260px, 1.2fr) minmax(205px, 1fr);
  }

  .cta-block {
    grid-column: 2 / -1;
    width: 185px;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    min-height: 66px;
  }

  .btn-header {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero-panel {
    max-width: 550px;
  }

  .casino-card {
    grid-template-columns: 46px minmax(0, 0.9fr) minmax(0, 1.2fr);
  }

  .features-list {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .cta-block {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-logo img {
    width: 122px;
  }

  .btn-header {
    min-height: 42px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .btn-header svg {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding: 27px 0 25px;
  }

  .hero h1 {
    margin-bottom: 11px;
    font-size: 34px;
  }

  .hero-intro p {
    font-size: 14px;
    line-height: 1.52;
  }

  .author-box {
    margin-top: 14px;
  }

  .author-box > img {
    width: 47px;
    height: 47px;
  }

  .author-role {
    display: none;
  }

  .hero-panel {
    padding: 17px;
  }

  .hero-panel > strong {
    font-size: 21px;
  }

  .hero-panel li {
    margin: 5px 0;
    font-size: 12px;
  }

  .listing-section {
    padding: 29px 0 51px;
  }

  .section-heading {
    margin-bottom: 19px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .casino-list {
    gap: 14px;
  }

  .casino-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
    border-radius: 15px;
  }

  .editor-badge {
    top: -9px;
    right: 11px;
    font-size: 9px;
  }

  .rank {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand-logo-box {
    width: 98px;
    min-height: 42px;
    margin: 0;
  }

  .brand-logo-box img {
    width: 94px;
    max-height: 42px;
  }

  .brand-copy h3 {
    font-size: 15px;
  }

  .bonus-block,
  .features-list,
  .cta-block {
    grid-column: 1 / -1;
  }

  .bonus-block p {
    font-size: 17px;
  }

  .features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .features-list li {
    margin: 3px 0;
    font-size: 12px;
  }

  .cta-block {
    width: 100%;
  }

  .content-section {
    padding: 47px 0;
  }

  .article-shell {
    width: calc(100% - 28px);
  }

  .article-content h2 {
    margin-top: 43px;
    font-size: 28px;
  }

  .article-content h3 {
    margin-top: 30px;
    font-size: 22px;
  }

  .article-content p,
  .article-content li {
    font-size: 15px;
  }

  .table-scroll {
    border-radius: 11px;
  }

  .article-content table {
    min-width: 660px;
  }

  .article-content td,
  .article-content th {
    padding: 12px;
  }

  .author-profile {
    align-items: flex-start;
    padding: 22px 18px;
  }

  .author-profile > img {
    width: 72px;
    height: 72px;
  }

  .author-profile h2 {
    font-size: 25px;
  }

  .responsible-inner {
    align-items: flex-start;
  }

  .age-badge {
    width: 52px;
    height: 52px;
    font-size: 17px;
  }

  .responsible-section h2 {
    font-size: 22px;
  }

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

@media (max-width: 390px) {
  .btn-header {
    max-width: 150px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .brand-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .author-profile {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Archioab white layout final fixes */

/* Wider header and navigation distributed across all available space */
:root {
  --container: 1320px;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  width: min(calc(100% - 40px), 1320px);
  min-height: 76px;
  gap: 20px;
}

.site-logo {
  flex: 0 0 auto;
}

.main-nav {
  flex: 1 1 auto;
  margin: 0 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(95px, 1fr));
  align-items: center;
  gap: 8px;
}

.main-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  background: #fff3d1;
  color: var(--red);
}

.btn-header {
  flex: 0 0 auto;
}

/* Small, clearly visible frames around review screenshots */
.casino-review-media {
  width: min(1180px, calc(100vw - 44px));
  margin: 30px 0 56px 50%;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #9f4a3f;
  border-radius: 12px;
  background: #fff8e6;
  box-shadow: 0 8px 22px rgba(58, 34, 25, 0.13);
  transform: translateX(-50%);
}

.casino-review-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 7px 7px 0 0;
  background: transparent;
}

.casino-review-media figcaption {
  margin: 0;
  padding: 9px 10px 7px;
  border: 0;
  background: #fff8e6;
  color: #4e392f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

/* Compact and stable author card */
.author-section {
  padding: 38px 0;
}

.author-profile {
  width: min(100%, 980px);
  max-width: 980px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 21px 24px;
  border: 1px solid var(--border);
  border-left: 6px solid var(--red);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.author-profile > img {
  width: 82px;
  height: 82px;
  align-self: start;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  object-fit: cover;
}

.author-profile__body {
  min-width: 0;
}

.author-profile .eyebrow {
  margin-bottom: 5px;
}

.author-profile h2 {
  margin: 0 0 5px;
  color: var(--black);
  font-size: 29px;
  line-height: 1.2;
}

.author-profile p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.author-profile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
}

.author-profile__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #d9b75f;
  border-radius: 999px;
  background: #fff6d7;
  color: #5a3a26;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* Legal pages: centered hero and readable content card */
.legal-page {
  background: var(--cream);
  color: var(--ink);
}

.legal-page .site-header {
  position: sticky;
  top: 0;
}

.legal-page .legal-hero {
  padding: 50px 0 34px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 85% 15%, rgba(242, 201, 76, 0.16), transparent 28%),
    var(--cream);
}

.legal-page .legal-hero .container {
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
}

.legal-page .legal-hero .eyebrow {
  margin-bottom: 10px;
  color: var(--yellow-dark);
}

.legal-page .legal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--black);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
}

.legal-page .legal-main {
  padding: 48px 0 72px;
  background: var(--cream);
}

.legal-page .legal-content {
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
  padding: 34px 38px;
  border: 1px solid var(--border);
  border-top: 5px solid var(--yellow);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.legal-page .legal-updated {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 6px 11px;
  border: 1px solid #e3c671;
  border-radius: 999px;
  background: #fff6d7;
  color: #65481d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.legal-page .legal-content h2 {
  margin: 38px 0 11px;
  color: var(--black);
  font-size: 29px;
  line-height: 1.25;
}

.legal-page .legal-content h2:first-of-type {
  margin-top: 29px;
}

.legal-page .legal-content p,
.legal-page .legal-content li {
  color: #413a35;
  font-size: 17px;
  line-height: 1.72;
}

.legal-page .legal-content p {
  margin: 0 0 18px;
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
  margin: 14px 0 22px;
  padding-left: 26px;
}

.legal-page .legal-content li {
  margin: 7px 0;
}

@media (max-width: 1040px) {
  .header-inner {
    width: min(calc(100% - 28px), 1320px);
  }

  .main-nav {
    margin-inline: 8px;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
  }

  .main-nav a {
    padding-inline: 7px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .btn-header {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .casino-review-media {
    width: calc(100vw - 22px);
    margin-top: 23px;
    margin-bottom: 40px;
    padding: 3px;
    border-radius: 9px;
  }

  .casino-review-media img {
    border-radius: 5px 5px 0 0;
  }

  .casino-review-media figcaption {
    padding: 8px 9px 6px;
    font-size: 12px;
  }

  .author-section {
    padding: 28px 0;
  }

  .author-profile {
    width: 100%;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 13px;
    padding: 17px 15px;
  }

  .author-profile > img {
    width: 66px;
    height: 66px;
  }

  .author-profile h2 {
    font-size: 23px;
  }

  .author-profile p {
    font-size: 13px;
    line-height: 1.5;
  }

  .author-profile__meta {
    grid-column: 1 / -1;
    gap: 6px;
    margin-top: 9px;
  }

  .author-profile__meta span {
    font-size: 10px;
    white-space: normal;
  }

  .legal-page .legal-hero {
    padding: 34px 0 25px;
  }

  .legal-page .legal-hero .container,
  .legal-page .legal-content {
    width: calc(100% - 24px);
  }

  .legal-page .legal-hero h1 {
    font-size: 36px;
  }

  .legal-page .legal-main {
    padding: 28px 0 48px;
  }

  .legal-page .legal-content {
    padding: 23px 17px;
    border-radius: 14px;
  }

  .legal-page .legal-content h2 {
    margin-top: 31px;
    font-size: 24px;
  }

  .legal-page .legal-content p,
  .legal-page .legal-content li {
    font-size: 15px;
  }
}

/* Fixed header on home page */

.home-page {
  padding-top: 76px;
}

.home-page .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
}

@media (max-width: 900px) {
  .home-page {
    padding-top: 66px;
  }
}

@media (max-width: 640px) {
  .home-page {
    padding-top: 65px;
  }
}
