/* ============================================================
   SPILLEVERANDORER HUB — CasinoBonuser.com
   Mirrors cb-tpl-spilleautomater.css design tokens.
   All classes prefixed .cb-sv- to avoid Mercury collisions.
   Scoped to body.cb-spilleverandorer where needed.
   ============================================================ */

body.cb-spilleverandorer main {
  padding-top: 0;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.cb-spilleverandorer footer.cb-footer { display: none !important; }
body.cb-spilleverandorer .cb-u-crosslinks { display: none !important; }
body.cb-spilleverandorer .cb-breadcrumb { display: none !important; }
body.cb-spilleverandorer .cb-conversion-block { display: none !important; }
body.cb-spilleverandorer .cb-crosslinks { display: none !important; }
body.cb-spilleverandorer .cb-sidebar-toplist { display: none !important; }

body.cb-spilleverandorer {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f4f6f9;
  -webkit-font-smoothing: antialiased;
}
body.cb-spilleverandorer *, body.cb-spilleverandorer *::before, body.cb-spilleverandorer *::after { box-sizing: border-box; }
body.cb-spilleverandorer a { text-decoration: none; color: inherit; }
body.cb-spilleverandorer img { max-width: 100%; height: auto; }
body.cb-spilleverandorer h1, body.cb-spilleverandorer h2, body.cb-spilleverandorer h3, body.cb-spilleverandorer h4 {
  font-family: 'Roboto', 'Inter', sans-serif; line-height: 1.25;
}

:root {
  --cb-bg:          #f4f6f9;
  --cb-card-bg:     #ffffff;
  --cb-card-border: #e2e6ec;
  --cb-card-shadow: 0 2px 16px rgba(0,0,0,0.05);
  --cb-card-radius: 14px;
  --cb-text:        #1a1a2e;
  --cb-text-light:  #5a6577;
  --cb-text-muted:  #8a93a2;
  --cb-navy:        #1e3a5f;
  --cb-green:       #11ac84;
  --cb-green-light: #e8f8f3;
  --cb-gold:        #f5a623;
}

body.cb-spilleverandorer a:focus-visible,
body.cb-spilleverandorer button:focus-visible {
  outline: 2px solid var(--cb-green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.cb-sv-breadcrumb {
  max-width: 960px; margin: 0 auto; padding: 0 16px 16px;
  font-size: 13px; color: #6b7d8d;
  position: relative; z-index: 1; text-align: left;
}
.cb-sv-breadcrumb a { color: #6b7d8d; text-decoration: none; }
.cb-sv-breadcrumb a:hover { color: var(--cb-green); }
.cb-sv-breadcrumb .sep { margin: 0 6px; opacity: .5; }

/* ============================================================
   HERO
   ============================================================ */
.cb-sv-hero {
  background: linear-gradient(135deg, #0f1923 0%, #1e3a5f 100%);
  padding: 60px 16px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.cb-spilleverandorer.admin-bar .cb-sv-hero { padding-top: 92px; }

.cb-sv-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(17,172,132,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0,180,216,.08) 0%, transparent 50%);
  pointer-events: none;
}
.cb-sv-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #11ac84, #6aad38);
  opacity: .6;
}

.cb-sv-hero-inner {
  max-width: 720px; margin: 0 auto; position: relative; z-index: 1;
}
.cb-sv-hero h1 {
  color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 10px;
}
.cb-sv-hero-sub {
  color: #94a3b4; font-size: 15px; line-height: 1.7; max-width: 580px; margin: 0 auto 8px;
}

@media (min-width: 768px) {
  .cb-sv-hero { padding: 64px 16px 28px; }
  .cb-sv-hero h1 { font-size: 36px; }
  .cb-sv-hero-sub { font-size: 16px; }
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.cb-sv-section {
  max-width: 960px; margin: 0 auto; padding: 20px 16px;
}
.cb-sv-section-header {
  text-align: center; margin-bottom: 28px;
}
.cb-sv-section-header h2 {
  font-size: 22px; font-weight: 800; color: var(--cb-navy); margin-bottom: 8px;
}
.cb-sv-section-header p {
  font-size: 14px; color: var(--cb-text-light); max-width: 600px; margin: 0 auto; line-height: 1.7;
}
@media (min-width: 768px) {
  .cb-sv-section-header h2 { font-size: 26px; }
  .cb-sv-section-header p { font-size: 15px; }
}

.cb-sv-divider {
  max-width: 960px; margin: 0 auto; padding: 0 16px;
}
.cb-sv-divider hr {
  border: 0; border-top: 1px solid var(--cb-card-border); margin: 0;
}

/* ============================================================
   PROVIDER GRID
   ============================================================ */
.cb-sv-providers-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 640px) { .cb-sv-providers-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 900px) { .cb-sv-providers-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

.cb-sv-provider-card {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 16px;
  align-items: center;
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-card-border);
  border-radius: var(--cb-card-radius);
  padding: 16px;
  box-shadow: var(--cb-card-shadow);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.cb-sv-provider-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--cb-green);
}

.cb-sv-provider-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: #f4f6f9;
  border-radius: 12px;
  padding: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.cb-sv-provider-icon img,
.cb-sv-provider-logo {
  max-width: 100%; max-height: 100%; object-fit: contain; display: block;
}

.cb-sv-provider-info { min-width: 0; }
.cb-sv-provider-info h3 {
  font-size: 17px; font-weight: 700; color: var(--cb-navy);
  margin: 0 0 4px;
  font-family: 'Inter', sans-serif;
}
.cb-sv-provider-tagline {
  font-size: 13px; color: var(--cb-text-light); line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cb-sv-provider-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--cb-text-muted); font-weight: 500;
}
.cb-sv-provider-dot { opacity: .5; }

.cb-sv-provider-arrow {
  color: var(--cb-text-muted);
  transition: color .2s, transform .2s;
}
.cb-sv-provider-card:hover .cb-sv-provider-arrow {
  color: var(--cb-green);
  transform: translateX(2px);
}

@media (min-width: 768px) {
  .cb-sv-provider-card { padding: 18px; }
  .cb-sv-provider-info h3 { font-size: 18px; }
  .cb-sv-provider-tagline { font-size: 14px; }
}

/* ============================================================
   EDITORIAL
   ============================================================ */
.cb-sv-editorial {
  max-width: 760px; margin: 0 auto;
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-card-border);
  border-radius: var(--cb-card-radius);
  padding: 24px;
  box-shadow: var(--cb-card-shadow);
}
.cb-sv-editorial h2 {
  font-size: 22px; font-weight: 800; color: var(--cb-navy);
  margin: 0 0 16px; text-align: center;
}
.cb-sv-editorial h3 {
  font-size: 17px; font-weight: 700; color: var(--cb-navy);
  margin: 24px 0 8px;
}
.cb-sv-editorial p {
  font-size: 15px; color: var(--cb-text); line-height: 1.75;
  margin: 0 0 14px;
}
.cb-sv-editorial p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .cb-sv-editorial { padding: 32px 36px; }
  .cb-sv-editorial h2 { font-size: 26px; }
  .cb-sv-editorial h3 { font-size: 19px; }
  .cb-sv-editorial p { font-size: 16px; }
}

/* ============================================================
   RESPONSIBLE GAMBLING
   ============================================================ */
.cb-sv-rg-box {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 16px;
  background: linear-gradient(135deg, #fff8ec 0%, #fffaf1 100%);
  border: 1px solid #f0d9a1;
  border-radius: var(--cb-card-radius);
  padding: 20px;
}
.cb-sv-rg-icon {
  color: var(--cb-gold);
  flex-shrink: 0;
}
.cb-sv-rg-content h3 {
  font-size: 16px; font-weight: 700; color: var(--cb-navy);
  margin: 0 0 6px;
}
.cb-sv-rg-content p {
  font-size: 14px; color: var(--cb-text); line-height: 1.6; margin: 0;
}
.cb-sv-rg-content a {
  color: var(--cb-navy); font-weight: 600; text-decoration: underline;
}

/* ============================================================
   FAQ
   ============================================================ */
.cb-sv-faq {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.cb-sv-faq-item {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--cb-card-shadow);
}
.cb-sv-faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: transparent; border: 0;
  font-size: 15px; font-weight: 600; color: var(--cb-navy);
  text-align: left; cursor: pointer;
  font-family: inherit;
}
.cb-sv-faq-q svg {
  color: var(--cb-text-muted);
  flex-shrink: 0;
  transition: transform .2s;
  width: 18px; height: 18px;
}
.cb-sv-faq-item.open .cb-sv-faq-q svg {
  transform: rotate(180deg);
  color: var(--cb-green);
}
.cb-sv-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.cb-sv-faq-item.open .cb-sv-faq-a {
  max-height: 600px;
}
.cb-sv-faq-a-inner {
  padding: 0 18px 18px;
  font-size: 14px; color: var(--cb-text); line-height: 1.7;
}

@media (min-width: 768px) {
  .cb-sv-faq-q { font-size: 16px; padding: 18px 22px; }
  .cb-sv-faq-a-inner { padding: 0 22px 22px; font-size: 15px; }
}
