/*
Theme Name: Curaçao Sports Betting
Description: The editorial frontend for Curaçao Sports Betting.
Version: 1.0.0
Text Domain: curacao-sports-betting
*/

/* Match supporting-page FAQ headings to the article heading scale. */
.interior-faq .section-intro h2 { font-size: 36px; }

@media (max-width: 599px) {
  .section-intro h2 { font-size: 39px; }
  .interior-faq .section-intro h2 { font-size: 32px; }
}

/* Keep the review directory aligned with its introduction and the FAQ compact. */
.reviews-hub .review-card-grid { width: var(--reading-width); max-width: none; grid-auto-rows: 1fr; }
.reviews-hub .review-hub-faq { margin: 40px auto 48px; padding-block: 0; }
.reviews-hub .review-hub-faq .section-intro { padding-top: 24px; margin-bottom: 20px; }
@media (max-width: 1023px) {
  .reviews-hub .review-card-grid { width: 88%; }
}
@media (max-width: 599px) {
  .reviews-hub .review-card-grid { width: calc(100% - 32px); }
  .reviews-hub .review-hub-faq { margin-block: 28px 32px; }
  .reviews-hub .review-hub-faq .section-intro { padding-top: 20px; }
}

/* Individual review introductions and scannable editorial lists. */
.casino-review .review-hero { position: relative; padding-bottom: 32px; margin-bottom: 30px; border-bottom: 1px solid #395345; }
.casino-review .review-hero::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 3px; background: var(--brass); }
.casino-review .review-homepage-capture { width: 80%; }
.casino-review .review-points { margin: 22px 0 0; padding-left: 1.15em; list-style: disc outside; color: #D1D8CB; }
.casino-review .review-points li { padding-left: .25em; margin-bottom: .7em; }
.casino-review .review-points li:last-child { margin-bottom: 0; }
.casino-review .review-points li::marker { color: var(--brass); }
@media (max-width: 1023px) {
  .casino-review .review-homepage-capture { width: 86%; }
}
@media (max-width: 599px) {
  .casino-review .review-hero { padding-bottom: 26px; margin-bottom: 26px; }
  .casino-review .review-hero-heading { display: block; }
  .casino-review .review-hero-logo { display: none; }
  .casino-review .review-homepage-capture { width: calc(100% - 40px); }
}

/* Review heroes: a felt stage, open-track rings and a clear editorial hierarchy. */
.reviews-hub, .casino-review { padding-top: 0; }
.casino-review > .review-breadcrumbs { padding-top: 24px; margin-bottom: 24px; }
.reviews-hub .reviews-hub-hero, .casino-review .review-hero {
  --hero-gutter: 10%;
  position: relative;
  isolation: isolate;
  overflow: clip;
  width: 100%;
  padding: 44px var(--hero-gutter) 58px;
  border-block: 1px solid #45664E;
  background: linear-gradient(115deg, #15392E 0%, #163D30 62%, #1D4835 100%);
}
.reviews-hub .reviews-hub-hero { margin-bottom: 0; }
.casino-review .review-hero { margin-bottom: 38px; }
.reviews-hub-hero::before, .casino-review .review-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 50%;
  right: -235px;
  width: 620px;
  height: 420px;
  border: 1px solid #E2B96938;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, transparent 0 53%, #E2B96940 53.2% 53.5%, transparent 53.7% 65%, #E2B96930 65.2% 65.5%, transparent 65.7%);
  transform: translateY(-40%) rotate(-28deg);
}
.reviews-hub-hero::after, .casino-review .review-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--hero-gutter);
  width: 96px;
  height: 4px;
  background: var(--brass);
}
.reviews-hub .reviews-hub-hero .review-breadcrumbs { margin-bottom: 38px; }
.reviews-hub .reviews-hub-hero h1, .casino-review .review-hero h1 {
  max-width: 15ch;
  font-size: clamp(72px, 7.8vw, 124px);
  line-height: .94;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.reviews-hub .reviews-hub-hero h1 { max-width: 10ch; }
.reviews-hub .reviews-hub-hero > p, .casino-review .review-hero > p {
  max-width: 68ch;
  margin-top: 30px;
  color: #E0E5D8;
  font-size: 21px;
  line-height: 1.65;
}
.casino-review .review-edition { margin-bottom: 32px; padding-bottom: 0; border: 0; color: #CECEB6; }
.casino-review .review-hero-heading { grid-template-columns: minmax(0, 1fr) 156px; gap: 42px; }
.casino-review .review-hero-logo {
  width: 156px;
  min-height: 156px;
  padding: 22px 16px;
  border: 1px solid #BBA36B;
  border-radius: 50%;
  background: #0E251D;
  box-shadow: 0 0 0 9px #0B171440, 0 0 0 10px #E2B96925;
}
@media (max-width: 1023px) {
  .reviews-hub .reviews-hub-hero, .casino-review .review-hero { --hero-gutter: 6%; padding-block: 34px 46px; }
  .reviews-hub .reviews-hub-hero h1, .casino-review .review-hero h1 { font-size: clamp(66px, 8.8vw, 90px); }
  .casino-review .review-hero-heading { grid-template-columns: minmax(0, 1fr) 126px; gap: 30px; }
  .casino-review .review-hero-logo { width: 126px; min-height: 126px; padding: 18px 2px; }
  .reviews-hub .reviews-hub-hero > p, .casino-review .review-hero > p { font-size: 20px; }
}
@media (max-width: 599px) {
  .casino-review > .review-breadcrumbs { padding-top: 21px; margin-bottom: 21px; }
  .reviews-hub .reviews-hub-hero, .casino-review .review-hero { --hero-gutter: 16px; padding-block: 28px 36px; }
  .casino-review .review-hero { margin-bottom: 28px; }
  .reviews-hub .reviews-hub-hero .review-breadcrumbs { margin-bottom: 30px; }
  .reviews-hub .reviews-hub-hero h1, .casino-review .review-hero h1 { max-width: 100%; font-size: clamp(54px, 14vw, 78px); line-height: .98; }
  .reviews-hub .reviews-hub-hero h1 { max-width: 10ch; }
  .reviews-hub .reviews-hub-hero > p, .casino-review .review-hero > p { margin-top: 24px; font-size: 18px; line-height: 1.65; }
  .casino-review .review-edition { margin-bottom: 26px; gap: 9px; }
  .casino-review .review-hero-heading { display: block; }
  .casino-review .review-hero-logo { display: none; }
  .reviews-hub-hero::before, .casino-review .review-hero::before { top: 10%; right: -285px; width: 410px; height: 300px; opacity: .5; }
  .reviews-hub-hero::after, .casino-review .review-hero::after { width: 72px; height: 3px; }
}

/* Shared hero styling; shorter introductions use their natural content height. */
.site-body main > :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) {
  --hero-gutter: 10%;
  --hero-height: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(22px, min-content) auto auto;
  align-content: center;
  gap: 18px;
  width: 100%;
  max-width: none;
  min-height: var(--hero-height);
  margin: 0 0 36px;
  padding: 40px var(--hero-gutter);
  overflow: clip;
  border-block: 1px solid #45664E;
  background: linear-gradient(115deg, #15392E 0%, #163D30 62%, #1D4835 100%);
  text-align: left;
}
.site-body main > .hero { --hero-height: 520px; grid-template-rows: minmax(22px, min-content) auto auto minmax(18px, min-content); padding-block: 24px; }
.site-body main > .reviews-hub-hero { margin-bottom: 0; }
.site-body main > :is(.hero, .interior-header, .reviews-hub-hero, .review-hero)::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 50%;
  right: -235px;
  width: 620px;
  height: 420px;
  border: 1px solid #E2B96938;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, transparent 0 53%, #E2B96940 53.2% 53.5%, transparent 53.7% 65%, #E2B96930 65.2% 65.5%, transparent 65.7%);
  transform: translateY(-40%) rotate(-28deg);
}
.site-body main > :is(.hero, .interior-header, .reviews-hub-hero, .review-hero)::after {
  content: "";
  position: absolute;
  left: var(--hero-gutter);
  bottom: 0;
  width: 88px;
  height: 3px;
  background: var(--brass);
}
.site-body :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) h1 {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  max-width: 15ch;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(64px, 6.2vw, 96px);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.site-body .reviews-hub-hero h1 { max-width: 10ch; }
.site-body :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) > p:not(.hero-kicker) {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  width: 100%;
  max-width: 74ch;
  margin: 0;
  color: #E0E5D8;
  font-size: 20px;
  line-height: 1.6;
}
.site-body :is(.review-edition, .interior-header > .eyebrow, .reviews-hub-hero > .breadcrumbs, .hero-kicker, .hero > .edition-line) {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: #CECEB6;
}
.site-body .review-hero-heading {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  align-items: center;
  gap: 34px;
}
.site-body .review-hero-heading h1 { grid-column: 1; grid-row: 1; }
.site-body .review-hero-logo { grid-column: 2; grid-row: 1; width: 140px; min-height: 140px; padding: 18px 8px; }
.site-body .hero h1 { max-width: calc(100% - 240px); }
.site-body .hero-art { position: absolute; top: 104px; right: var(--hero-gutter); width: 220px; max-width: none; height: auto; margin: 0; }
.site-body .hero > .hero-kicker { width: auto; justify-self: start; font-size: 9px; }
.site-body .hero > .edition-line { width: auto; justify-self: end; gap: 16px; font-size: 9px; letter-spacing: .06em; }
.site-body .hero-meta { grid-column: 1; grid-row: 4; justify-content: flex-start; width: 100%; max-width: none; margin: 0; }
.site-body .interior-rule { display: none; }
.site-body .interior-page { width: 100%; padding-top: 0; }
.site-body .interior-page > :is(.interior-content, .author-section, .interior-faq) { width: var(--reading-width); margin-inline: auto; }
.site-body .interior-page > .breadcrumbs, .site-body .casino-review > .review-breadcrumbs { width: 80%; padding-top: 24px; margin: 0 auto 24px; }
@media (max-width: 1199px) and (min-width: 1024px) {
  .site-body .hero-art { width: 180px; top: 118px; }
  .site-body .hero h1 { max-width: calc(100% - 190px); }
  .site-body .hero > .hero-kicker { max-width: 210px; }
}
@media (max-width: 1023px) {
  .site-body main > :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) { --hero-gutter: 6%; }
  .site-body :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) h1 { font-size: clamp(60px, 8vw, 82px); }
  .site-body .hero-art { top: 104px; width: 180px; }
  .site-body .hero h1 { max-width: calc(100% - 200px); }
  .site-body .review-hero-heading { grid-template-columns: minmax(0, 1fr) 126px; gap: 28px; }
  .site-body .review-hero-logo { width: 126px; min-height: 126px; padding: 18px 2px; }
  .site-body .interior-page > .breadcrumbs, .site-body .casino-review > .review-breadcrumbs { width: 88%; }
}
@media (min-width: 600px) and (max-width: 767px) {
  .site-body main > .hero { --hero-height: 576px; }
}
@media (max-width: 599px) {
  .site-body main > :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) {
    --hero-gutter: 16px;
    grid-template-rows: minmax(22px, min-content) auto auto;
    gap: 14px;
    padding-block: 28px;
    margin-bottom: 28px;
  }
  .site-body main > .hero { --hero-height: clamp(560px, calc(1090px - 130vw), 680px); grid-template-rows: minmax(38px, min-content) auto auto minmax(48px, min-content); padding-block: 24px; }
  .site-body main > .reviews-hub-hero { margin-bottom: 0; }
  .site-body :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) h1 { max-width: 100%; font-size: clamp(48px, 12.5vw, 64px); line-height: .98; }
  .site-body .reviews-hub-hero h1 { max-width: 10ch; }
  .site-body :is(.hero, .interior-header, .reviews-hub-hero, .review-hero) > p:not(.hero-kicker) { font-size: 18px; line-height: 1.6; }
  .site-body .review-hero-heading { display: block; align-self: center; }
  .site-body .review-hero-logo { display: none; }
  .site-body .review-edition { gap: 8px; }
  .site-body .hero > .edition-line { width: 100%; align-self: start; justify-self: stretch; justify-content: space-between; font-size: 8px; }
  .site-body .hero > .edition-line span:last-child { max-width: none; }
  .site-body .hero > .hero-kicker { align-self: end; font-size: 8px; }
  .site-body .hero-art { top: auto; bottom: 22px; width: 112px; }
  .site-body .hero-meta { align-self: center; max-width: calc(100% - 126px); gap: 3px 9px; font-size: 10px; }
  .site-body .hero-meta span:last-child { flex-basis: 100%; }
  .site-body .interior-page > .breadcrumbs, .site-body .casino-review > .review-breadcrumbs { width: calc(100% - 32px); padding-top: 21px; margin-bottom: 21px; }
  .site-body main > :is(.hero, .interior-header, .reviews-hub-hero, .review-hero)::before { top: 10%; right: -285px; width: 410px; height: 300px; opacity: .5; }
  .site-body main > :is(.hero, .interior-header, .reviews-hub-hero, .review-hero)::after { width: 72px; }
}

/* Framed editorial profile, aligned to the existing reading column. */
.site-body .author-section {
  position: relative;
  padding: 32px;
  column-gap: 22px;
  row-gap: 22px;
  border: 1px solid #E2B96966;
  border-radius: 12px;
  background: linear-gradient(135deg, #15392E, #10261F);
  box-shadow: inset 0 1px 0 #F2EFE608, 0 12px 28px #00000018;
}
.site-body .author-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  width: 72px;
  height: 3px;
  border-radius: 0 0 2px 2px;
  background: var(--brass);
  pointer-events: none;
}
.site-body .author-portrait { border: 2px solid #C4A567; box-shadow: 0 0 0 5px #E2B9690D; }
.site-body .author-identity h2 { font-size: 36px; margin-top: 7px; }
.site-body .author-biography { min-width: 0; padding-top: 20px; border-top: 1px solid #E2B96933; }
.site-body .author-section p { color: #CDD8CC; }
.site-body .author-biography .text-link { padding: 9px 13px; border: 1px solid #E2B96955; border-radius: 5px; margin-top: 20px; }
.site-body .author-biography .text-link:hover { color: var(--ivory); border-color: var(--brass); background: #E2B96912; text-decoration: none; }
@media (max-width: 599px) {
  .site-body .author-section { padding: 24px 20px; column-gap: 17px; row-gap: 20px; border-radius: 10px; }
  .site-body .author-section::before { left: 20px; width: 58px; }
  .site-body .author-identity h2 { font-size: 29px; }
  .site-body .author-biography { padding-top: 18px; }
}

/* Shared contributor role and directory spacing. */
.site-body .author-role { display: block; margin-top: 8px; color: #D6C695; font-size: 14px; line-height: 1.45; }
.site-body .review-hub-author { margin-block: 40px; }
#editorial-approach { scroll-margin-top: 100px; }
@media (max-width: 599px) {
  .site-body .author-role { font-size: 12px; margin-top: 6px; }
  .site-body .review-hub-author { margin-block: 30px; }
}
