/* CMS Suite theme casino-atelier@1.0.1; verified 2026-11-24T16:06:25.671Z */
/* Casino Atelier CMS Suite theme bridge: override the legacy Network theme variables. */
html[data-cms-theme="casino-atelier"] {
  color-scheme: light;
  --cm-color-ink: #17352b;
  --cm-color-muted: #5e6a61;
  --cm-color-surface: #fffcf5;
  --cm-color-canvas: #f8f3e8;
  --cm-color-brand: #0b533d;
  --cm-color-accent: #855806;
  --cm-color-safe: #0b533d;
  --cm-radius-card: 1rem;
  --cm-shadow-card: 0 12px 30px rgba(23, 53, 43, 0.08);
  --cm-content-width: 80rem;
  --bg: var(--cm-color-canvas);
  --surface: var(--cm-color-surface);
  --ink: var(--cm-color-ink);
  --muted: var(--cm-color-muted);
  --accent: var(--cm-color-brand);
  --accent-soft: #e7f0e8;
  --line: #e7ddca;
  --headline: Georgia, "Times New Roman", serif;
  --font-body: var(--font-ui), "Manrope", "Aptos", "Segoe UI", sans-serif;
}
html[data-cms-theme="casino-atelier"] .cm-theme { color: var(--cm-color-ink); background: var(--cm-color-canvas); }

/* Cazino Network Theme v1.0.2 — design tokens derived from Cazino.se v1.0.17. */
html[data-domain]:not([data-domain="casinomulti.com"]),
html[data-domain]:not([data-domain="casinomulti.com"]) body {
  color-scheme: light;
  --cm-cazino-page: #f8f3e8;
  --cm-cazino-surface: #fffcf5;
  --cm-cazino-surface-raised: #fffdf8;
  --cm-cazino-ink: #17352b;
  --cm-cazino-muted: #5e6a61;
  --cm-cazino-line: #e7ddca;
  --cm-cazino-green: #0b533d;
  --cm-cazino-green-hover: #073e2e;
  --cm-cazino-green-soft: #e7f0e8;
  --cm-cazino-gold: #855806;
  --cm-cazino-gold-soft: #f3e5c7;
  --cm-cazino-shadow: 0 12px 30px rgba(23, 53, 43, 0.08);
  --cm-cazino-radius: 16px;
  --bg: var(--cm-cazino-page);
  --surface: var(--cm-cazino-surface-raised);
  --surface-strong: #103b30;
  --ink: var(--cm-cazino-ink);
  --muted: var(--cm-cazino-muted);
  --line: var(--cm-cazino-line);
  --accent: var(--cm-cazino-green);
  --accent-soft: var(--cm-cazino-green-soft);
  --warning: #714900;
  --warning-soft: var(--cm-cazino-gold-soft);
  --radius: var(--cm-cazino-radius);
  --headline: Georgia, "Times New Roman", serif;
  --font-body: var(--font-ui), "Manrope", "Aptos", "Segoe UI", sans-serif;
  --cm-family-accent: var(--cm-cazino-green);
  --cm-family-cta: var(--cm-cazino-green);
  --cm-family-cta-hover: var(--cm-cazino-green-hover);
}

html[data-domain]:not([data-domain="casinomulti.com"]) body {
  color: var(--cm-cazino-ink);
  background: var(--cm-cazino-page);
  font-family: var(--font-body);
}
/* Shared brand shell: retain each domain's name/logo and existing navigation links. */
html[data-domain]:not([data-domain="casinomulti.com"]) :is(h1, h2, h3, h4) {
  color: var(--cm-cazino-ink);
  font-family: var(--headline);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.cm-site__header, .site-header, .channel-nav, .cm-site__nav, .cm-site__mobile-nav) {
  color: var(--cm-cazino-ink);
  background-color: var(--cm-cazino-surface);
  border-color: var(--cm-cazino-line);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.cm-site__nav a, .site-header a, .channel-nav a) {
  color: inherit;
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.primary-button, .table-button:not(.table-button--light), .profile-hero__cta, .hub-operator-card__footer a, .cm-home-card__bonus-actions a:first-child, .cm-bonus-list-card__play, .homepage-tenant-hero__action:not(.homepage-tenant-hero__action--secondary), .hero__action:not(.hero__action--secondary), .cm-family-navigation a.is-active) {
  color: #fffdf6;
  background: var(--cm-cazino-green);
  border-color: var(--cm-cazino-green);
  box-shadow: 0 5px 14px rgba(11, 83, 61, 0.16);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.primary-button, .table-button:not(.table-button--light), .profile-hero__cta, .hub-operator-card__footer a, .cm-home-card__bonus-actions a:first-child, .cm-bonus-list-card__play, .homepage-tenant-hero__action:not(.homepage-tenant-hero__action--secondary), .hero__action:not(.hero__action--secondary), .cm-family-navigation a.is-active):hover {
  color: #fffdf6;
  background: var(--cm-cazino-green-hover);
  border-color: var(--cm-cazino-green-hover);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.secondary-button, .table-button--light, .homepage-tenant-hero__action--secondary, .hero__action--secondary) {
  color: var(--cm-cazino-green);
  background: var(--cm-cazino-surface);
  border-color: var(--cm-cazino-line);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(a, button, input, select, textarea):focus-visible {
  outline-color: var(--cm-cazino-green);
  outline-offset: 3px;
}


/* Shared magazine surfaces; image-led feature panels keep their existing imagery. */
html[data-domain]:not([data-domain="casinomulti.com"]) :is(.page-shell--marketplace .hero, .page-shell--marketplace .profile-hero, .page-shell--marketplace .market-hero, .page-shell--marketplace .section-shell, .page-shell--marketplace .profile-review-card, .page-shell--marketplace .bonus-hub__filter, .page-shell--marketplace .bonus-hub__table-wrap, .page-shell--marketplace .compare-table-wrap, .cm-home-block, .cm-bonus-table-list, .cm-bonus-list-card, .cm-games-article-card, .cm-sports-page__catalog article, .cm-sports-page__league-grid > a, .cm-sports-page__events > article) {
  color: var(--cm-cazino-ink);
  border-color: var(--cm-cazino-line);
  border-radius: var(--cm-cazino-radius);
  background-color: var(--cm-cazino-surface);
  box-shadow: var(--cm-cazino-shadow);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.page-shell--marketplace .hero__eyebrow, .page-shell--marketplace .section-shell__header span, .page-shell--marketplace .magazine-section__header .eyebrow, .magazine-section__header .eyebrow, .cm-games-section__header > span, .cm-sports-page__hero small) {
  color: var(--cm-cazino-gold);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.page-shell--marketplace .bonus-hub__compare-table th, .page-shell--marketplace .compare-table th, .cm-bonus-table-list__header, .cm-sports-page__panel > header, .cm-sports-page__news > header) {
  color: var(--cm-cazino-ink);
  background: var(--cm-cazino-green-soft);
  border-color: var(--cm-cazino-line);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.cm-consent-banner, .cookie-banner, .consent-banner, .engagement-popup) {
  color: var(--cm-cazino-ink);
  border-color: var(--cm-cazino-line);
  background: var(--cm-cazino-surface);
  box-shadow: var(--cm-cazino-shadow);
}


/* Families keep their distinct information architecture; their visual accents share Cazino green/gold. */
html[data-domain]:not([data-domain="casinomulti.com"]) [class*="cm-family-variant--"] {
  --cm-family-accent: var(--cm-cazino-green);
  --cm-family-cta: var(--cm-cazino-green);
  --cm-family-cta-hover: var(--cm-cazino-green-hover);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.cm-family-navigation, .cm-sports-page__sport-nav, .cm-games-nav) :is(a:hover, a:focus-visible, a.is-active) {
  color: var(--cm-cazino-green);
  border-color: var(--cm-cazino-green);
  background: var(--cm-cazino-green-soft);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.cm-sports-page__catalog article > span, .cm-games-article-card__body > span, .cm-family-navigation .eyebrow, .cm-bonus-list-card__label) {
  color: var(--cm-cazino-gold);
}


/* Casino Atelier v1.0.1 accessible hero contrast for non-apex tenants. */
html[data-domain]:not([data-domain="casinomulti.com"])
.cms-public-shell--home-front.cm-family:is(.cm-family--casino-games, .cm-family--sport-odds, .cm-family--trav)
:is(.cm-umbrella-intro, .homepage-tenant-hero) :is(h1, .cm-umbrella-intro__copy > p, .homepage-tenant-hero__copy > p) {
  color: #fffdf6;
}

html[data-domain]:not([data-domain="casinomulti.com"])
.cms-public-shell--home-front.cm-family:is(.cm-family--casino-games, .cm-family--sport-odds, .cm-family--trav)
:is(.cm-umbrella-intro, .homepage-tenant-hero) :is(.cm-umbrella-intro__eyebrow, .homepage-tenant-hero__eyebrow) {
  color: #fffdf6;
}

html[data-domain]:not([data-domain="casinomulti.com"])
.cms-public-shell--home-front.cm-family
:is(.cm-umbrella-intro__action--secondary, .homepage-tenant-hero__action--secondary) {
  color: var(--cm-cazino-green);
  background: var(--cm-cazino-surface);
  border-color: var(--cm-cazino-line);
}

html[data-domain]:not([data-domain="casinomulti.com"])
.cms-public-shell--home-front.cm-family
:is(.cm-umbrella-intro__action--secondary, .homepage-tenant-hero__action--secondary):hover {
  color: var(--cm-cazino-green-hover);
  background: #ffffff;
  border-color: var(--cm-cazino-green-hover);
}


/* Casino Atelier v1.0.3: readable titles on homepage editorial photo cards. */
html[data-domain]:not([data-domain="casinomulti.com"]) :is(.mp-news-hero__lead, .mp-news-hero__card) :is(h2, h3, strong, a) {
  color: #fffdf6 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.76);
}

html[data-domain]:not([data-domain="casinomulti.com"]) :is(.mp-news-hero__lead, .mp-news-hero__card) p {
  color: rgba(255, 253, 246, 0.94) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.76);
}


/* Casino Atelier 1.0.1: restore the real image-led hero hidden by the legacy family stylesheet. */
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr) !important;
  align-items: stretch;
  gap: clamp(16px, 2.4vw, 30px) !important;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  min-width: 0;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__media {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__copy {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "eyebrow" "title" "body" "actions" "highlights" !important;
  align-content: center;
  gap: 10px;
  min-width: 0;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__copy > p {
  display: block;
  max-width: 60ch;
  margin-top: 2px;
  color: var(--cm-cazino-muted, #5e6a61);
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  margin-top: 4px;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__highlights {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* Keep long casino names and score cards inside the profile column. */
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-hero__brand,
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-hero__copy {
  min-width: 0;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-hero__brand {
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: start;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-hero__copy h1 {
  max-width: 100%;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-score-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}
html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-score-card {
  min-width: 0;
  padding: 12px;
}

@media (max-width: 959px) {
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__copy {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "eyebrow" "title" "body" "actions" "highlights" !important;
    gap: 8px;
  }
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__media {
    aspect-ratio: 16 / 9;
  }
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .cms-public-shell--home-front.cm-family .cm-umbrella-intro__media img {
    min-height: 150px;
  }
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-hero__brand {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-domain]:not([data-domain="casinomulti.com"])[data-cms-theme="casino-atelier"] .profile-score-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
