/* Keep the new right-aligned artwork clear of the editorial hero copy. */
@media (min-width: 1024px) {
  .page-main > .hero .hero__content { width: 56%; max-width: 740px; }
  .hero__breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
  .promotion-banner__content { width: 62%; }
}


/* Preserve the portrait composition on small screens. */
.hero__breadcrumbs ol { flex-wrap: wrap; }
@media (max-width: 1023px) {
  .page-main > .hero { min-height: 0; background: #181617; }
  .hero .hero__image {
    height: 260px !important; object-fit: cover;
    object-position: right 28% !important;
  }
  .hero .hero__overlay { display: none; }
  .page-main > .hero .hero__content { width: 100%; padding-top: 284px; }
  .main-content .image-copy-section > .image-copy-section__image {
    aspect-ratio: 4 / 5 !important;
    object-position: center 25%;
  }
}

@media (max-width: 1023px) {
  .promotion-banner { height: auto; min-height: 0; background: #181617; }
  .promotion-banner__image { height: 200px !important; bottom: auto !important; object-position: right center; }
  .promotion-banner__overlay { display: none; }
  .promotion-banner__content { width: 100%; padding: 224px 20px 24px; }
}


/* A gradual fade across the full banner avoids an abrupt transparent edge. */
.promotion-banner__overlay {
  background: linear-gradient(90deg,
    rgba(0, 0, 0, .86) 0%,
    rgba(0, 0, 0, .80) 18%,
    rgba(0, 0, 0, .64) 36%,
    rgba(0, 0, 0, .40) 52%,
    rgba(0, 0, 0, .18) 66%,
    rgba(0, 0, 0, .05) 80%,
    transparent 100%);
}

/* The text determines row height; media fills its grid area without stretching it. */
@media (min-width: 901px) {
  .main-content .image-copy-section:not(#anbieter) {
    min-height: 0;
    grid-template-rows: auto auto;
  }
  .main-content .image-copy-section:not(#anbieter) > .image-copy-section__image {
    position: absolute !important;
    inset: 0 !important;
    min-height: 0;
    height: 100% !important;
    object-position: center 20%;
  }
}

.main-content :is(.content-section, .content-subsection, .image-copy-section__copy,
  .subsection-panel, .app-platform-panel, .app-definition-copy, .app-requirements-copy) > :last-child {
  margin-bottom: 0;
}

@media (min-width: 901px) {
  #what-the-app-actually-is { min-height: 0; grid-template-rows: auto auto auto; }
  #what-the-app-actually-is .app-definition-art,
  .main-content .app-install-media { min-height: 0; }
}

/* Keep static table rows quiet and column headings consistent. */
.main-content table th[scope="col"] { color: #00a933 !important; }
.main-content table tbody tr:hover > * { background: transparent !important; }

/* Preserve the top of each portrait in these shallow media slots. */
.boni-code-art img,
.app-benefits-reward-art img { object-position: center top; }

/* Bonus cards: framed copy and existing characters over the shared adventure scene. */
.locale-bonus-grid,
.boni-welcome-grid,
.boni-reload-grid,
.boni-spins-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.main-content .promotion-art-card.info-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 430px;
  height: auto;
  padding: 44px 5%;
  overflow: hidden;
  border: 1px solid #ffc88238;
  border-radius: 6px;
  background: linear-gradient(90deg, #07131f66, #07131f05),
    url('/content/br/bonus-background.webp') center / cover no-repeat !important;
  box-shadow: none;
}
.main-content .promotion-art-card.info-card::after { display: none; }
.main-content .promotion-art-card .promotion-art-card__content {
  z-index: 2;
  flex: 0 0 64%;
  width: 64%;
  height: auto;
  min-height: 0;
  padding: 0;
}
.main-content .promotion-art-card .promotion-art-card__copy {
  position: relative;
  display: block;
  height: auto;
  padding: 30px 54px 30px 34px;
  border: 1px solid #ffc882;
  border-radius: 6px;
  background: linear-gradient(115deg, #292b30dc, #765e44ad) !important;
  backdrop-filter: blur(5px);
}
.main-content .promotion-art-card .promotion-art-card__badge {
  position: absolute;
  left: -25px;
  top: 27px;
  display: grid;
  place-items: center;
  width: 49px;
  height: 54px;
  color: #352821;
  background: #ffc882;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  font-family: national-casino !important;
  font-weight: 400;
  font-size: 29px;
}
.main-content .promotion-art-card h3 {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: #fff !important;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-shadow: none;
}
.main-content .promotion-art-card h3::before { display: none; }
.main-content .promotion-art-card p {
  max-width: none;
  color: #fff !important;
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
  text-shadow: none;
}
.main-content .promotion-art-card .promotion-art-card__copy > p { margin-bottom: 22px !important; }
.main-content .promotion-art-card .promotion-art-card__action {
  align-self: flex-start;
  margin: 0;
  min-width: 146px;
  min-height: 46px;
}
.main-content .promotion-art-card .promotion-art-card__media {
  z-index: 3;
  top: 12px;
  bottom: 0;
  right: 0;
  left: auto;
  width: 40%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  transform: none;
  overflow: visible;
  background: transparent;
}
.main-content .promotion-art-card .promotion-art-card__image {
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 24px #00000066);
}
@media (max-width: 900px) {
  .main-content .promotion-art-card.info-card { min-height: 400px; padding: 32px 28px; }
  .main-content .promotion-art-card .promotion-art-card__content { flex-basis: 65%; width: 65%; }
  .main-content .promotion-art-card .promotion-art-card__copy { padding: 26px 30px; }
  .main-content .promotion-art-card p { font-size: 16px; line-height: 1.6; }
  .main-content .promotion-art-card .promotion-art-card__media { width: 36%; }
}
@media (max-width: 640px) {
  .main-content .promotion-art-card.info-card {
    flex-direction: column;
    padding: 20px 16px;
    min-height: 0;
    background-position: 62% center !important;
  }
  .main-content .promotion-art-card .promotion-art-card__media {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: min(100%, 300px);
    height: 250px;
    flex: none;
    margin: 0 auto -1px;
  }
  .main-content .promotion-art-card .promotion-art-card__content { flex: auto; width: 100%; }
  .main-content .promotion-art-card .promotion-art-card__copy { padding: 25px 20px; }
  .main-content .promotion-art-card .promotion-art-card__badge { left: -13px; top: 23px; width: 34px; height: 38px; font-size: 22px; }
  .main-content .promotion-art-card h3 { padding-left: 12px; font-size: 24px; }
  .main-content .promotion-art-card p { font-size: 16px; }
}

/* Open editorial sections: Figma 26:315, adapted to the Canadian palette. */
:root { --canada-green: #032e1c; --canada-gold-surface: #806741; --structured-header-gradient: #007f2a; }
body, .site-shell, .page-layout { background: var(--canada-green); }
.main-content { gap: 36px; }
.main-content .content-section {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 32px 20px;
}
.main-content .content-section > h2 {
  padding: 0 0 14px;
  margin: 0 0 24px;
  border: 0;
  border-bottom: 1px solid #ffc88299;
  border-radius: 0;
  color: #ffc882;
  background: transparent;
  text-align: left;
  line-height: 1.25;
}
.main-content .image-copy-section:not(#anbieter) {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  isolation: isolate;
  min-height: 510px;
  padding: 48px 20px 64px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--canada-green), #032b19 48%, var(--canada-green));
}
.main-content .image-copy-section:not(#anbieter) > h2,
.main-content .image-copy-section:not(#anbieter) > .image-copy-section__copy {
  position: relative;
  z-index: 1;
  width: 56%;
  max-width: none;
  flex: none;
  margin: 0;
}
.main-content .image-copy-section:not(#anbieter) > h2 {
  padding: 0 0 14px;
  background: transparent;
  border-bottom: 1px solid #ffc88299;
  text-align: left;
}
.main-content .image-copy-section:not(#anbieter) > .image-copy-section__copy {
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: #086035b8;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.main-content .image-copy-section:not(#anbieter) > .image-copy-section__image {
  position: absolute !important;
  inset: 0 0 0 auto !important;
  width: 62% !important;
  height: 100% !important;
  min-height: 0;
  aspect-ratio: auto !important;
  object-fit: cover;
  object-position: center 18%;
  z-index: -1;
  mask-image: linear-gradient(180deg, transparent 0%, #00000014 4%, #0000004d 9%, #000000a6 16%, #000 26%, #000 70%, #000000a6 82%, #0000004d 91%, #00000014 96%, transparent 100%), linear-gradient(90deg, transparent, #000 32%, #000 94%, transparent);
  mask-composite: intersect;
}
.main-content .image-copy-section.air-media-left:not(#anbieter) { align-items: flex-end; }
.main-content .image-copy-section.air-media-left:not(#anbieter) > .image-copy-section__image {
  inset: 0 auto 0 0 !important;
  mask-image: linear-gradient(180deg, transparent 0%, #00000014 4%, #0000004d 9%, #000000a6 16%, #000 26%, #000 70%, #000000a6 82%, #0000004d 91%, #00000014 96%, transparent 100%), linear-gradient(90deg, transparent, #000 8%, #000 48%, #000000a6 58%, #00000026 70%, transparent 87%);
}
.main-content .image-copy-section:not(#anbieter) > .image-copy-section__overlay { display: none; }

/* Ordinary cards use a single warm gold surface; promotion artwork stays intact. */
.main-content :is(.bonus-card, .info-card:not(.promotion-art-card), .list-card,
  .review-card, .subsection-panel, .bonus-option-card, .bonus-terms-list > li,
  .limit-list li, .app-platform-panel, .app-feature-card, .app-benefit-card,
  .app-comparison-card, .responsible-info-card, .self-exclusion-panel,
  .support-link-list li, .player-control-list li, .responsible-principles li,
  .list-media-block) {
  background: var(--canada-gold-surface) !important;
  box-shadow: none !important;
  border-color: #ffc88266;
}
.main-content :is(.bonus-card, .info-card:not(.promotion-art-card), .review-card)::after { display: none; }
.main-content :is(.bonus-card, .info-card:not(.promotion-art-card), .list-card,
  .review-card, .subsection-panel, .bonus-option-card, .app-platform-panel,
  .app-feature-card, .app-benefit-card, .app-comparison-card, .responsible-info-card,
  .self-exclusion-panel) :is(p, li, dd, blockquote) { color: #fff5e5 !important; }
.main-content :is(.bonus-card, .info-card:not(.promotion-art-card), .list-card,
  .review-card, .subsection-panel, .bonus-option-card, .app-platform-panel,
  .app-feature-card, .app-benefit-card, .app-comparison-card, .responsible-info-card,
  .self-exclusion-panel) h3 { color: #fff0d8 !important; }

/* Figma 26:433: compact identity header, our fire icon, and left-aligned copy.
   Source review wording and authors remain intact; no ratings are invented. */
.main-content .reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  padding: 0;
}
.main-content .review-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  min-height: 0;
  height: auto;
  opacity: 1;
  transform: none;
  overflow: visible;
}
.main-content .review-card.review-card--hidden { display: none; }
.main-content .review-card > p {
  order: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.main-content .review-card .review-card__top h3::before {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: url('/icons/fire.svg') center / contain no-repeat;
}
.main-content .review-card .review-card__top {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  text-align: left;
}
.main-content .review-card .review-card__identity { display: block; }
.main-content .review-card .review-card__top h3 { font-size: 17px; line-height: 1.45; }
.main-content .review-card .review-card__top h3 { text-align: left !important; }
.main-content .review-card,
.main-content .image-copy-section:not(#anbieter) > .image-copy-section__copy { border-radius: 12px !important; }
.main-content .content-section,
.main-content .content-section > h2 { border-radius: 0 !important; }
.main-content .review-card blockquote { margin: 0; text-align: left; font-size: 15px; line-height: 1.65; }
@media (max-width: 1100px) {
  .main-content .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .main-content .review-card:is(.review-card--next, .review-card--previous) { display: none; }
}
@media (max-width: 900px) {
  .main-content { gap: 24px; }
  .main-content .content-section { padding: 24px 16px; }
  .main-content .image-copy-section:not(#anbieter) {
    min-height: 0;
    padding: 0 16px 32px;
    gap: 20px;
  }
  .main-content .image-copy-section:not(#anbieter) > .image-copy-section__image {
    position: relative !important;
    inset: auto !important;
    order: -1;
    width: calc(100% + 32px) !important;
    max-width: none;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 5 / 4 !important;
    align-self: center;
    object-position: center 18%;
    mask-image: linear-gradient(180deg, transparent, #00000040 5%, #000000a6 12%, #000 22%, #000 72%, #000000a6 84%, #00000040 94%, transparent) !important;
    margin-bottom: -24px;
  }
  .main-content .image-copy-section:not(#anbieter) > h2,
  .main-content .image-copy-section:not(#anbieter) > .image-copy-section__copy { width: 100%; }
  .main-content .image-copy-section:not(#anbieter) > .image-copy-section__copy { padding: 20px; }
}

/* Review comments: square headings, lighter panels and clearer editorial details. */
body .site-shell .page-main :is(h1, h2, h3, h4, h5, h6),
body .site-shell .page-main :is(h1, h2, h3, h4, h5, h6)::before,
body .site-shell .page-main :is(h1, h2, h3, h4, h5, h6)::after {
  border-radius: 0 !important;
}
body .site-shell .page-layout .page-main .main-content h3 { color: #ffc882 !important; }
body .site-shell .page-layout .page-main .main-content .review-card h3 { color: #fff5e5 !important; }
body .site-shell .page-layout .page-main .main-content :is(ul, ol) li,
body .site-shell .page-layout .page-main .main-content .step-list__text { color: #fff !important; }
.main-content .review-card .review-card__top h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.main-content .review-card > p { margin-top: auto; }
#the-providers-behind-the-floor .standard-split-section__copy > .button {
  margin-top: 20px;
}
#the-providers-behind-the-floor { grid-template-areas: "heading heading" "copy media"; }
#the-scorecard .rating-card-layout__media img { object-position: center top; }
@media (max-width: 900px) {
  #the-providers-behind-the-floor { grid-template-areas: "heading" "copy" "media"; }
}

/* The App definition uses the same open composition as the other editorial blocks. */
.main-content #what-the-app-actually-is { align-items: flex-end; }
#what-the-app-actually-is .app-definition-art { display: contents; }
#what-the-app-actually-is .app-definition-copy {
  position: relative;
  z-index: 1;
  width: 56%;
  padding: 24px;
  border: 0;
  border-radius: 12px !important;
  background: #086035b8;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#what-the-app-actually-is .app-definition-copy > .button { margin-top: 20px; }
#what-the-app-actually-is .app-definition-art img {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 62% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center 18%;
  z-index: -1;
  mask-image: linear-gradient(180deg, transparent 0%, #00000014 4%, #0000004d 9%, #000000a6 16%, #000 26%, #000 70%, #000000a6 82%, #0000004d 91%, #00000014 96%, transparent 100%), linear-gradient(90deg, transparent, #000 8%, #000 48%, #000000a6 58%, #00000026 70%, transparent 87%);
  mask-composite: intersect;
}
@media (max-width: 900px) {
  #what-the-app-actually-is .app-definition-copy { width: 100%; padding: 20px; }
  #what-the-app-actually-is .app-definition-art img {
    position: relative !important;
    inset: auto !important;
    order: -1;
    width: calc(100% + 32px) !important;
    max-width: none;
    height: auto !important;
    aspect-ratio: 5 / 4;
    align-self: center;
    margin-bottom: -24px;
    mask-image: linear-gradient(180deg, transparent, #00000040 5%, #000000a6 12%, #000 22%, #000 72%, #000000a6 84%, #00000040 94%, transparent);
  }
}
