/* 01. Theme tokens */
:root {
  color-scheme: dark;
  --bg: #160f22;
  --surface: #21172f;
  --raised: #2a1e3a;
  --ink: #faf6ff;
  --muted: #c0b1ce;
  --line: #3c2c50;
  --accent: #d9b6ff;
  --pink: #f6aaca;
  --button: #d9b6ff;
  --button-ink: #21112f;
  --header: #160f22f5;
  --footer: #110b1c;
  --shadow: 0 20px 70px #0005;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff5fa;
  --surface: #fffafd;
  --raised: #f7e8f2;
  --ink: #291637;
  --muted: #705c7f;
  --line: #e5cfdf;
  --accent: #7041a1;
  --pink: #a93568;
  --button: #6e369b;
  --button-ink: #fff;
  --header: #fff5faf5;
  --footer: #f4e5f0;
  --shadow: 0 20px 70px #4124441c;
}

/* 02. Base elements and accessibility */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 Arial, Helvetica, sans-serif;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}
p {
  margin: 0 0 20px;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(27px, 3vw, 40px);
}

h3 {
  font-size: 23px;
}

figure {
  margin: 0;
}

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

[hidden] {
  display: none !important;
}

.wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: var(--button);
  color: var(--button-ink);
}

.skip:focus {
  top: 12px;
}


/* 03. Shared header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  flex-shrink: 0;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--accent);
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--raised);
  font-size: 21px;
  line-height: 1;
}

.icon-button:hover {
  border-color: var(--accent);
}

.menu-button {
  display: none;
}


/* 04. Page heading */
.hero {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}


/* 05. Offerwall: server-readable HTML and visual ratings */
.offerwall {
  padding: 45px 0 56px;
}

.section-heading {
  margin-bottom: 25px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.offer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer {
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.offer-card {
  display: grid;
  grid-template-columns: 26px minmax(135px, 1fr) minmax(175px, 1.1fr) 115px 160px;
  gap: 20px;
  align-items: center;
}

.offer:hover {
  border-color: var(--accent);
}

.rank {
  font-size: 18px;
  font-weight: 800;
  color: var(--muted);
}

.casino-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.casino-logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--raised);
  color: var(--accent);
  font-size: 23px;
  font-weight: 900;
}

.casino-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.offer-value {
  margin: 0;
}

.offer-value strong {
  font-size: 23px;
  letter-spacing: -.7px;
}

.offer-value span {
  color: var(--accent);
}

.offer:first-child {
  padding-block: 29px;
  border-color: var(--accent);
  background: var(--raised);
}

.offer:first-child .rank {
  font-size: 30px;
  font-style: italic;
  color: var(--accent);
}

.offer:first-child .casino-name {
  font-size: 21px;
  font-style: italic;
}

.offer:first-child .offer-value strong {
  font-size: 25px;
  font-style: italic;
}

.rating {
  text-align: center;
  line-height: 1.2;
}

.stars {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font: 20px/1.2 Arial, sans-serif;
  letter-spacing: 2px;
  white-space: nowrap;
}

.stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #ffc95a;
}

.rating-50 .stars-fill {
  width: 100%;
}

.rating-49 .stars-fill {
  width: 98%;
}

.rating-47 .stars-fill {
  width: 94%;
}

.rating-45 .stars-fill {
  width: 90%;
}

:root[data-theme="light"] .stars-fill {
  color: #9b6600;
}

.rating-value {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 800;
}

.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--button);
  color: var(--button-ink);
  font-size: 15px;
  font-weight: 800;
}

.cta:hover {
  color: var(--button-ink);
  filter: brightness(1.08);
}



/* 06. Editorial content and table of contents */
.editorial {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.article-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 60px;
}

.toc {
  min-width: 0;
  max-width: 100%;
  position: sticky;
  top: 121px;
  align-self: start;
}

.toc-title {
  margin-bottom: 15px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

.toc ul {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 10px 0;
  border: 3px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.toc a:hover {
  color: var(--accent);
}

/* A reserved border prevents width changes when the active heading changes. */
.toc a[aria-current="location"] {
  border-color: var(--accent);
  background: var(--raised);
  color: var(--ink);
  font-weight: 800;
}

.toc .subheading {
  padding-left: 16px;
  font-size: 13px;
}

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

.article-content section {
  margin-bottom: 48px;
  scroll-margin-top: 12px;
}

.article-content section:last-child {
  margin-bottom: 0;
}

.article-content h2 {
  margin-bottom: 22px;
}

.article-content h3 {
  margin-bottom: 15px;
}

.article-content p {
  min-height: 48px;
  color: var(--muted);
}


/* 07. FAQ accordion: accessible without JavaScript */
.faq {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.faq-grid {
  max-width: 880px;
  margin-inline: auto;
}

.faq-lead {
  margin-bottom: 30px;
  text-align: center;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 23px 36px;
  list-style: none;
  cursor: pointer;
  text-align: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
}

.faq summary::after {
  position: absolute;
  top: 20px;
  right: 3px;
  content: "+";
  font-size: 23px;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 36px 22px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}


/* 08. Author and social profiles */
.author-section {
  padding: 20px 0 65px;
}

.author {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.avatar {
  display: grid;
  place-items: center;
  width: 150px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--raised);
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.author-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.author-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.author-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.author-links a {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 9px;
  border: 1px solid #ded7e7;
  border-radius: 9px;
  background: #fff;
}

.author-links img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.author p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}


/* 09. Shared footer and two layout variants */
.site-footer {
  padding: 45px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--footer);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.age-note {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 450px;
}

.age-circle {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}

.age-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.age-copy strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 130px 155px minmax(0, 1fr);
  gap: 25px;
  align-items: start;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.footer-copy {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.support-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.org-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 110px;
  height: 63px;
  padding: 8px;
  border: 1px solid #e3dfe8;
  border-radius: 8px;
  background: #fff;
}

.org-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.org-logo[data-tone="dark"] {
  background: #21172f;
  border-color: #4b3b5c;
}

.org-logo[data-tone="symbol"] img {
  width: 47px;
  height: 47px;
  object-fit: cover;
  object-position: left;
}

.responsible-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.responsible-bottom {
  max-width: 130px;
  margin-top: 6px;
}

.copyright {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-layout[data-variant="2"] {
  grid-template-columns: 130px minmax(0, 1fr) 155px;
}

.footer-layout[data-variant="2"] .footer-legal {
  grid-column: 3;
  grid-row: 1;
}

.footer-layout[data-variant="2"] .footer-center {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
}

.footer-layout[data-variant="2"] .support-line {
  justify-content: center;
  margin: 23px 0;
}


/* 10. Cookie preferences */
.cookie {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: min(410px, calc(100% - 32px));
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-title {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -.5px;
}

.cookie p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.cookie-link {
  color: var(--accent);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 19px;
}

.cookie-actions button {
  padding: 11px 10px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

.secondary {
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--ink);
}

.primary {
  border: 1px solid var(--button);
  background: var(--button);
  color: var(--button-ink);
}

.error-page {
  max-width: 650px;
  padding-block: 90px;
}

.error-page h1 {
  margin-bottom: 24px;
}


/* 11. Tablet layout */
@media (max-width: 1080px) {
  .header-inner {
    gap: 20px;
  }

  .nav ul {
    gap: 16px;
  }

  .nav a {
    font-size: 13px;
  }

  .offer-card {
    grid-template-columns: 22px minmax(120px, 1fr) minmax(158px, 1fr) 105px 135px;
    gap: 14px;
  }

  .offer {
    padding-inline: 17px;
  }

  .offer-value strong {
    font-size: 21px;
  }

  .offer:first-child .offer-value strong {
    font-size: 23px;
  }

  .casino-identity {
    gap: 12px;
  }

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

  .stars {
    font-size: 18px;
  }

  .article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 36px;
  }

}

/* 12. Mobile navigation: one vertical column */
@media (max-width: 860px) {
  html {
    scroll-padding-top: 205px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 76px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    padding-block: 15px;
  }

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

  .brand {
    font-size: 25px;
  }

  .menu-button {
    display: grid;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 15px 0 0;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav a {
    padding: 15px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  /* Navigation remains visible if JavaScript is unavailable. */
  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px 20px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .js .nav.open {
    display: block;
  }

  .hero {
    padding: 30px 0;
  }

  .offer-card {
    grid-template-columns: 20px minmax(120px, 1fr) minmax(158px, 1fr) 105px;
  }

  .offer .cta {
    grid-column: 3 / 5;
  }

  .offer .rating {
    grid-column: 4;
    grid-row: 1;
  }

  .offer .offer-value {
    grid-column: 3;
    grid-row: 1;
  }

  .offer .casino-identity {
    grid-column: 2;
    grid-row: 1;
  }

  .offer .rank {
    grid-row: 1;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: sticky;
    top: 76px;
    z-index: 10;
    width: 100%;
    padding-block: 10px;
    background: var(--bg);
  }

  .toc ul {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding: 4px 0 8px;
  }

  .toc li {
    flex: 0 0 auto;
    max-width: 80%;
  }

  .toc a, .toc .subheading {
    padding: 7px 13px;
    border: 3px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .footer-layout, .footer-layout[data-variant="2"] {
    grid-template-columns: 1fr 1fr;
  }

  .footer-center, .footer-layout[data-variant="2"] .footer-center {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-layout[data-variant="2"] .footer-legal {
    grid-column: 2;
    grid-row: 1;
  }

}

/* 13. Compact screens and expanded responsible-play notice */
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .offerwall {
    padding: 32px 0 38px;
  }

  .offer {
    position: relative;
    padding: 20px;
  }

  .offer-card {
    grid-template-columns: minmax(0, 1fr) 106px;
    gap: 18px;
  }

  .offer:first-child {
    padding: 26px 20px;
  }

  .offer .rank {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .offer:first-child .rank {
    top: 16px;
  }

  .offer .casino-identity {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-right: 28px;
  }

  .offer .offer-value {
    grid-column: 1;
    grid-row: 2;
  }

  .offer .rating {
    grid-column: 2;
    grid-row: 2;
  }

  .offer .cta {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .offer-value strong, .offer:first-child .offer-value strong {
    font-size: 21px;
  }

  .stars {
    letter-spacing: 1px;
  }

  .editorial, .faq {
    padding-block: 35px;
  }

  .article-layout {
    gap: 29px;
  }

  .article-content section {
    margin-bottom: 36px;
  }

  .article-content h2 {
    font-size: 29px;
  }

  .author-section {
    padding: 10px 0 40px;
  }

  .author {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 22px;
  }

  .author-heading {
    display: block;
  }

  .author-links {
    margin-top: 18px;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .age-note {
    width: 100%;
    max-width: none;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
  }

  .age-circle {
    flex-basis: 58px;
    height: 58px;
    font-size: 21px;
  }

  .age-copy {
    font-size: 14px;
  }

  .age-copy strong {
    font-size: 17px;
    margin-bottom: 5px;
  }

  .site-footer {
    padding-top: 30px;
  }

  .footer-layout {
    gap: 24px 18px;
  }

  .support-line {
    gap: 9px;
  }

  .org-logo {
    width: calc((100% - 18px) / 3);
    min-width: 80px;
    height: 60px;
  }

  .responsible-bottom {
    width: 100%;
    max-width: none;
    margin-top: 14px;
  }

  .cookie {
    right: 16px;
    bottom: 16px;
    padding: 22px;
  }

}

/* 14. Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

}

/* 15. Error page: vertically centered message between shared header and footer. */
.error-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.error-layout .error-page {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 50vh;
  max-width: none;
  padding-block: 64px;
  text-align: center;
}

.error-message h1 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(64px, 12vw, 112px);
  line-height: 1;
  letter-spacing: -.04em;
}

.error-message p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 23px);
}

/* 16. Intrinsic sizing: the TOC is the only horizontal content scroller. */
.article-layout > *,
.footer-layout > *,
.author > *,
.offer-card > *,
.casino-identity,
.age-copy {
  min-width: 0;
}

.article-content,
.author-body,
.footer-copy,
.casino-name {
  overflow-wrap: anywhere;
}

.cta {
  width: 100%;
  text-align: center;
}

/* Replace the text placeholder with an img using the same bounded logo box. */
.casino-logo {
  width: 76px;
  height: 52px;
  padding: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.5px;
  text-align: center;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 17. WPages preparation: preserve Str_1's purple/pink themes and component layout. */
h1, h2, h3 { text-align: center; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.author-name { text-align: left; }
.hero, .offer-list, .editorial, .table-scroll { min-width: 0; max-width: 100%; }
.article-layout.without-toc { grid-template-columns: minmax(0, 1fr); }
.brand { max-width: 100%; overflow-wrap: anywhere; }
.brand img { max-width: 160px; max-height: 48px; object-fit: contain; }
.nav a, .footer-col a, .responsible-link a, .age-copy, .offer-value { overflow-wrap: anywhere; }
.offer-value { text-align: center; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* An unfilled position has no link, bonus, stars or first-place emphasis. */
.offer.offer-placeholder { background: var(--surface); border-color: var(--line); }
.offer-placeholder .rank, .offer-placeholder .casino-name { color: var(--muted); font-style: normal; }
.offer-placeholder .cta:disabled { background: var(--raised); color: var(--muted); border: 1px solid var(--line); cursor: default; filter: none; }
.offer-placeholder .casino-logo { color: var(--muted); }

/* The Str_1 author has room for all five profiles in one row, including on mobile. */
.author-links ul { flex-wrap: nowrap; }
.author-links li { flex: 0 0 auto; }
.social-placeholder { display: grid; place-items: center; width: 39px; height: 39px; padding: 9px; border: 1px solid #ded7e7; border-radius: 9px; background: #fff; }
.social-placeholder img { width: 21px; height: 21px; object-fit: contain; }
.faq summary::after { top: 50%; transform: translateY(-50%); width: 24px; line-height: 1; text-align: center; }

/* Both cookie actions stay side by side; localized labels remain on one line. */
.cookie { max-height: calc(100dvh - 32px); overflow-y: auto; }
.cookie-title, .cookie p, .cookie-link { overflow-wrap: anywhere; }
.cookie-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cookie-actions button { min-width: 0; white-space: nowrap; }

.table-scroll { overflow-x: auto; margin-block: 24px; background: var(--surface); }
.table-scroll table { width: 100%; border-collapse: collapse; background: var(--surface); }
.table-scroll th, .table-scroll td { border: 1px solid var(--line); padding: 12px; text-align: left; }
.table-scroll th { background: var(--raised); }
.article-content img, .article-content iframe { max-width: 100%; }
.contact-map-block { margin-top: 24px; }
.contact-map-toggle { width: fit-content; margin: 0 auto 18px; border: 0; }
.contact-map-block iframe { display: block; width: 100%; height: 450px; border: 1px solid var(--line); border-radius: 14px; }
.error-back { display: inline-block; margin-top: 24px; color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) {
  .contact-map-block iframe { height: 330px; }
  .cookie-actions button { padding-inline: 8px; }
}
