/* ============================================================
   RiktigaPengar.com – SITE-WIDE Custom CSS
   ============================================================
   Applies to ALL pages: reviews, bonus, betting, poker, lotto,
   mobile casino, payment pages — same design as homepage.

   Cards, gold headings, green bullets, casino table cards,
   FAQ accordion, accessibility fixes, mobile responsive.

   WordPress Admin → Simple Custom CSS → New Entry → Paste → Save
   ============================================================ */


/* ============================================================
   DESIGN TOKENS
   ============================================================ */
body {
  --rp-navy:      #0f2040;
  --rp-navy-mid:  #1a3260;
  --rp-gold:      #c9a227;
  --rp-green:     #1a9a5c;
  --rp-green-bg:  #edfaf4;
  --rp-blue-bg:   #f0f4ff;
  --rp-white:     #ffffff;
  --rp-border:    #dde4ef;
  --rp-text:      #1e293b;
  --rp-muted:     #64748b;
  --rp-radius:    10px;
  --rp-shadow:    0 2px 16px rgba(15,32,64,.08);
  --rp-shadow-md: 0 4px 24px rgba(15,32,64,.14);
}


/* ============================================================
   1. CONTENT CARDS
   Targets only .wpb_wrapper — the WPBakery text blocks.
   The casino table plugin generates its own HTML outside
   of .wpb_wrapper so it is completely unaffected.
   ============================================================ */
body .vc_column-inner > .wpb_wrapper {
  background: var(--rp-white) !important;
  border-radius: var(--rp-radius) !important;
  border: 1px solid var(--rp-border) !important;
  box-shadow: var(--rp-shadow) !important;
  padding: 28px 32px !important;
  box-sizing: border-box;
  margin-bottom: 8px;
  transition: box-shadow .22s ease;
}

body .vc_column-inner > .wpb_wrapper:hover {
  box-shadow: var(--rp-shadow-md) !important;
}

/* Inner columns (1/2, 1/3 widths) get slightly tighter padding */
body .vc_row-fluid.vc_inner .vc_column-inner > .wpb_wrapper {
  padding: 22px 24px !important;
  margin-bottom: 20px;
}


/* ============================================================
   2. ROW SPACING (only visual breathing room, no background reset)
   ============================================================ */
body .vc_row.vc_row-fluid {
  margin-bottom: 8px !important;
}


/* ============================================================
   3. HEADINGS
   ============================================================ */

/* H2 — gold underline, navy text */
body .wpb_wrapper h2,
body .wpb_text_column h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--rp-navy) !important;
  line-height: 1.3 !important;
  margin: 0 0 14px 0 !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid var(--rp-gold) !important;
  border-left: none !important;
  letter-spacing: -.01em;
}

body .wpb_wrapper h2:first-child,
body .wpb_text_column h2:first-child {
  margin-top: 0 !important;
}

/* H3 — gold left bar */
body .wpb_wrapper h3,
body .wpb_text_column h3 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--rp-navy-mid) !important;
  line-height: 1.35 !important;
  margin: 24px 0 10px 0 !important;
  padding: 4px 4px 4px 13px !important;
  border-left: 4px solid var(--rp-gold) !important;
  border-bottom: none !important;
}

body .wpb_wrapper h3:first-child,
body .wpb_text_column h3:first-child {
  margin-top: 0 !important;
}

/* H4 — subtle, rarely used */
body .wpb_wrapper h4,
body .wpb_text_column h4 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--rp-navy) !important;
  margin: 18px 0 8px 0 !important;
  border: none !important;
  padding: 0 !important;
}


/* ============================================================
   4. BODY TEXT
   ============================================================ */
body .wpb_wrapper p,
body .wpb_text_column p {
  font-size: .96rem !important;
  line-height: 1.76 !important;
  color: var(--rp-text) !important;
}

body .wpb_wrapper strong,
body .wpb_text_column strong {
  color: var(--rp-navy) !important;
  font-weight: 700 !important;
}

/* Italic intro paragraphs (lotto/poker section intros) */
body .wpb_wrapper em,
body .wpb_text_column em {
  display: block;
  background: #f8fafc;
  border-left: 3px solid var(--rp-border);
  padding: 8px 14px;
  border-radius: 0 6px 6px 0;
  margin: 8px 0 14px;
  font-size: .91rem;
  color: var(--rp-muted) !important;
}


/* ============================================================
   5. LINKS
   ============================================================ */
body .wpb_wrapper a,
body .wpb_text_column a {
  color: var(--rp-navy-mid) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--rp-gold) !important;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

body .wpb_wrapper a:hover,
body .wpb_text_column a:hover {
  color: var(--rp-gold) !important;
}

body .wpb_wrapper a strong,
body .wpb_text_column a strong {
  color: inherit !important;
}


/* ============================================================
   6. UNORDERED LISTS — green card items with ✓ icon
   ============================================================ */
body .wpb_wrapper ul,
body .wpb_text_column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 10px 0 18px 0 !important;
}

body .wpb_wrapper ul li,
body .wpb_text_column ul li {
  position: relative !important;
  padding: 8px 10px 8px 36px !important;
  margin-bottom: 6px !important;
  background: var(--rp-green-bg) !important;
  border-radius: 7px !important;
  border-left: 3px solid var(--rp-green) !important;
  font-size: .94rem !important;
  line-height: 1.55 !important;
  color: var(--rp-text) !important;
  transition: background .2s ease;
}

body .wpb_wrapper ul li:hover,
body .wpb_text_column ul li:hover {
  background: #d1f5e3 !important;
}

body .wpb_wrapper ul li::before,
body .wpb_text_column ul li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 11px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--rp-green) !important;
  font-weight: 900 !important;
  font-size: .95rem !important;
}

/* Inner-column lists — blue palette */
body .vc_row-fluid.vc_inner .wpb_wrapper ul li,
body .vc_row-fluid.vc_inner .wpb_text_column ul li {
  background: var(--rp-blue-bg) !important;
  border-left-color: var(--rp-navy-mid) !important;
}

body .vc_row-fluid.vc_inner .wpb_wrapper ul li:hover,
body .vc_row-fluid.vc_inner .wpb_text_column ul li:hover {
  background: #dce6ff !important;
}

body .vc_row-fluid.vc_inner .wpb_wrapper ul li::before,
body .vc_row-fluid.vc_inner .wpb_text_column ul li::before {
  color: var(--rp-navy-mid) !important;
}


/* ============================================================
   7. ORDERED LISTS — numbered navy circles
   ============================================================ */
body .wpb_wrapper ol,
body .wpb_text_column ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 10px 0 18px 0 !important;
  counter-reset: rp-ol;
}

body .wpb_wrapper ol li,
body .wpb_text_column ol li {
  position: relative !important;
  padding: 8px 12px 8px 50px !important;
  margin-bottom: 7px !important;
  background: var(--rp-blue-bg) !important;
  border-radius: 7px !important;
  border: 1px solid #c8d5f5 !important;
  font-size: .94rem !important;
  line-height: 1.55 !important;
  color: var(--rp-text) !important;
  counter-increment: rp-ol;
}

body .wpb_wrapper ol li::before,
body .wpb_text_column ol li::before {
  content: counter(rp-ol) !important;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: var(--rp-navy) !important;
  color: #fff !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  line-height: 26px !important;
  text-align: center !important;
}


/* ============================================================
   8. PAYMENT METHOD PILL LINKS
   ============================================================ */
body .wpb_wrapper a[href*="betalningsmetoder"],
body .wpb_text_column a[href*="betalningsmetoder"] {
  display: inline-block !important;
  background: var(--rp-blue-bg) !important;
  border: 1px solid #b8c8ee !important;
  border-radius: 20px !important;
  padding: 2px 11px !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin: 2px 3px !important;
  vertical-align: middle;
  transition: background .2s ease, color .2s ease;
}

body .wpb_wrapper a[href*="betalningsmetoder"]:hover,
body .wpb_text_column a[href*="betalningsmetoder"]:hover {
  background: var(--rp-navy) !important;
  color: #fff !important;
  border-color: var(--rp-navy) !important;
}


/* ============================================================
   9. FAQ ACCORDION  (.home_faq)
   ============================================================ */
body .home_faq.vc_tta-accordion {
  border: none !important;
  background: transparent !important;
}

/* Each question panel */
body .home_faq .vc_tta-panel {
  border: 1px solid var(--rp-border) !important;
  border-radius: var(--rp-radius) !important;
  margin-bottom: 10px !important;
  overflow: hidden !important;
  box-shadow: var(--rp-shadow) !important;
  background: var(--rp-white) !important;
  transition: box-shadow .22s ease;
}

body .home_faq .vc_tta-panel:hover {
  box-shadow: var(--rp-shadow-md) !important;
}

body .home_faq .vc_tta-panel-heading {
  background: var(--rp-white) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .home_faq .vc_tta-panel-title {
  padding: 0 !important;
  margin: 0 !important;
}

body .home_faq .vc_tta-panel-title > a {
  display: flex !important;
  align-items: center !important;
  padding: 15px 50px 15px 20px !important;
  font-size: .97rem !important;
  font-weight: 700 !important;
  color: var(--rp-navy) !important;
  text-decoration: none !important;
  background: transparent !important;
  position: relative !important;
  transition: background .2s ease;
}

body .home_faq .vc_tta-panel-title > a:hover {
  background: var(--rp-blue-bg) !important;
}

/* Hide WPBakery's native border-arrow icon — it causes the gibberish overlap */
body .home_faq .vc_tta-controls-icon {
  display: none !important;
}

/* Our own clean arrow — sits on the right, rotates when open */
body .home_faq .vc_tta-panel-title > a::after {
  content: "▾" !important;
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 1.2rem !important;
  color: var(--rp-navy) !important;
  transition: transform .2s ease, color .2s ease !important;
  line-height: 1 !important;
}

/* Active panel — navy header, gold border on answer */
body .home_faq .vc_tta-panel.vc_active .vc_tta-panel-heading {
  background: var(--rp-navy) !important;
}

body .home_faq .vc_tta-panel.vc_active .vc_tta-panel-title > a {
  color: #fff !important;
  background: transparent !important;
}

/* Arrow flips and turns gold when panel is open */
body .home_faq .vc_tta-panel.vc_active .vc_tta-panel-title > a::after {
  content: "▴" !important;
  color: var(--rp-gold) !important;
}

/* Answer body */
body .home_faq .vc_tta-panel-body {
  background: #f7faff !important;
  border-top: 2px solid var(--rp-gold) !important;
  padding: 0 !important;
}

/* No double-card inside FAQ — remove card styling from inner wrapper */
body .home_faq .vc_tta-panel-body .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 18px 22px !important;
  margin: 0 !important;
}

body .home_faq .vc_tta-panel-body .vc_column-inner > .wpb_wrapper:hover {
  box-shadow: none !important;
}


/* ============================================================
   10. MOBILE
   ============================================================ */
@media (max-width: 768px) {

  body .vc_col-sm-6,
  body .vc_col-sm-4 {
    width: 100% !important;
    float: none !important;
  }

  body .vc_column-inner > .wpb_wrapper {
    padding: 20px 18px !important;
  }

  body .wpb_wrapper h2,
  body .wpb_text_column h2 {
    font-size: 1.25rem !important;
  }

  body .wpb_wrapper h3,
  body .wpb_text_column h3 {
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  body .wpb_wrapper h2 {
    font-size: 1.1rem !important;
  }

  body .wpb_wrapper ul li,
  body .wpb_wrapper ol li {
    font-size: .9rem !important;
  }
}


/* ============================================================
   FOOTER &amp; HEADER RESET
   Our card rule body .vc_column-inner > .wpb_wrapper is
   too broad and accidentally hits footer/header WPBakery blocks.
   These rules undo all card styling in those areas so the
   footer and header remain completely untouched.
   ============================================================ */

/* --- Footer: reset cards --- */
body footer .vc_column-inner > .wpb_wrapper,
body .site-footer .vc_column-inner > .wpb_wrapper,
body #colophon .vc_column-inner > .wpb_wrapper,
body .footer-area .vc_column-inner > .wpb_wrapper,
body .footer-widgets .vc_column-inner > .wpb_wrapper,
body [class*="footer"] .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

body footer .vc_column-inner > .wpb_wrapper:hover,
body .site-footer .vc_column-inner > .wpb_wrapper:hover,
body #colophon .vc_column-inner > .wpb_wrapper:hover,
body [class*="footer"] .vc_column-inner > .wpb_wrapper:hover {
  box-shadow: none !important;
}

/* --- Footer: reset ALL text/colour overrides so theme styles win --- */
body footer .wpb_wrapper,
body footer .wpb_wrapper p,
body footer .wpb_text_column p,
body .site-footer .wpb_wrapper,
body .site-footer .wpb_wrapper p,
body #colophon .wpb_wrapper,
body #colophon .wpb_wrapper p,
body [class*="footer"] .wpb_wrapper,
body [class*="footer"] .wpb_wrapper p {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body footer .wpb_wrapper h2,
body footer .wpb_wrapper h3,
body footer .wpb_wrapper h4,
body footer .wpb_text_column h2,
body footer .wpb_text_column h3,
body .site-footer .wpb_wrapper h2,
body .site-footer .wpb_wrapper h3,
body .site-footer .wpb_wrapper h4,
body #colophon .wpb_wrapper h2,
body #colophon .wpb_wrapper h3,
body [class*="footer"] .wpb_wrapper h2,
body [class*="footer"] .wpb_wrapper h3,
body [class*="footer"] .wpb_wrapper h4 {
  color: inherit !important;
  font-size: inherit !important;
  border: none !important;
  padding: 0 !important;
  margin: inherit !important;
  letter-spacing: inherit !important;
}

body footer .wpb_wrapper strong,
body .site-footer .wpb_wrapper strong,
body #colophon .wpb_wrapper strong,
body [class*="footer"] .wpb_wrapper strong {
  color: inherit !important;
}

body footer .wpb_wrapper a,
body footer .wpb_text_column a,
body .site-footer .wpb_wrapper a,
body #colophon .wpb_wrapper a,
body [class*="footer"] .wpb_wrapper a {
  color: inherit !important;
  text-decoration: inherit !important;
  text-decoration-color: inherit !important;
}

body footer .wpb_wrapper ul,
body footer .wpb_wrapper ul li,
body .site-footer .wpb_wrapper ul,
body .site-footer .wpb_wrapper ul li,
body #colophon .wpb_wrapper ul,
body #colophon .wpb_wrapper ul li,
body [class*="footer"] .wpb_wrapper ul,
body [class*="footer"] .wpb_wrapper ul li {
  background: transparent !important;
  border: none !important;
  padding: inherit !important;
  margin: inherit !important;
  border-radius: 0 !important;
  color: inherit !important;
  list-style: inherit !important;
}

body footer .wpb_wrapper ul li::before,
body .site-footer .wpb_wrapper ul li::before,
body #colophon .wpb_wrapper ul li::before,
body [class*="footer"] .wpb_wrapper ul li::before {
  content: none !important;
}

/* --- Header: same full reset --- */
body header .vc_column-inner > .wpb_wrapper,
body .site-header .vc_column-inner > .wpb_wrapper,
body #masthead .vc_column-inner > .wpb_wrapper,
body [class*="header"] .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

body header .wpb_wrapper,
body header .wpb_wrapper p,
body .site-header .wpb_wrapper p,
body #masthead .wpb_wrapper p,
body [class*="header"] .wpb_wrapper p {
  color: inherit !important;
  font-size: inherit !important;
}

body header .wpb_wrapper h2,
body header .wpb_wrapper h3,
body .site-header .wpb_wrapper h2,
body .site-header .wpb_wrapper h3,
body #masthead .wpb_wrapper h2,
body #masthead .wpb_wrapper h3,
body [class*="header"] .wpb_wrapper h2,
body [class*="header"] .wpb_wrapper h3 {
  color: inherit !important;
  border: none !important;
  padding: 0 !important;
}


/* ============================================================
   11. CASINO TABLE — CARD TREATMENT
   Converts each flat casino row into a floating card.
   Uses existing .table_for_load and .vc_grid-item structure.
   ============================================================ */

/* ── Each casino = one card ─────────────────────────────────── */
body .vc_pageable-slide-wrapper > .vc_grid-item {
  background: #fff !important;
  border-radius: 10px !important;
  border: 1px solid #dde4ef !important;
  box-shadow: 0 2px 14px rgba(15, 32, 64, 0.07) !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    transform .22s ease !important;
}

/* ── Hover: lift + gold border accent ───────────────────────── */
body .vc_pageable-slide-wrapper > .vc_grid-item:hover {
  box-shadow: 0 8px 28px rgba(15, 32, 64, 0.13) !important;
  border-color: #c9a227 !important;
  transform: translateY(-2px) !important;
}

/* ── Remove redundant top/bottom borders on inner cells ─────── */
/* The card outer border replaces them                           */
body .table_for_load .vc_gitem-zone-mini > .vc_gitem_row {
  border-top: none !important;
  border-bottom: none !important;
}

body .table_for_load .vc_gitem-zone-mini > .vc_gitem_row:first-child {
  border-left: none !important;
}

/* ── Full-width bottom row (Spelinspektionen | Spelpaus logos) ─ */
body .table_for_load .vc_gitem-zone-mini > .vc_gitem_row:last-child {
  border-top: 1px solid #eef2fb !important;
  background: #f8faff !important;
}

/* ── Table header: upgrade from grey to navy ────────────────── */
body .load_more_table_head table.load_head {
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
}

body table.load_head tr {
  background: #0f2040 !important;
  color: #fff !important;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

/* ── CTA button glow on card hover ─────────────────────────── */
body .vc_pageable-slide-wrapper > .vc_grid-item:hover .play_btn a {
  background: #e0b800 !important;
  box-shadow: 0 3px 12px rgba(201, 162, 39, 0.45) !important;
}

/* ── Load More button — navy/gold palette ───────────────────── */
body .vc_grid-btn-load_more a {
  background: #0f2040 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  padding: 10px 28px !important;
  transition: background .2s ease, color .2s ease !important;
}

body .vc_grid-btn-load_more a:hover {
  background: #c9a227 !important;
  color: #0f2040 !important;
}

/* ── Mobile: already card-like, just refine ─────────────────── */
@media (max-width: 600px) {
  body .vc_pageable-slide-wrapper > .vc_grid-item {
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    transform: none !important;
  }

  body .vc_pageable-slide-wrapper > .vc_grid-item:hover {
    transform: none !important;
  }
}


/* ============================================================
   12. WPBAKERY GRID LI FIX + TABLE_FOR_LOADTY CARDS + MOBILE
   ============================================================ */

/* ── Fix: WPBakery grid renders items as  inside      ──
   Our ul li green-card styling accidentally applies to them.
   These rules undo that for all WPBakery grid list items.     */
body ul.vc_grid-ul > li.vc_grid-item,
body .wpb_wrapper ul > li.vc_grid-item {
  background: transparent !important;
  border-left: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  transition: none !important;
}

body ul.vc_grid-ul > li.vc_grid-item::before,
body .wpb_wrapper ul > li.vc_grid-item::before {
  content: none !important;
  display: none !important;
}

/* ── table_for_loadty — card treatment (matches table_for_load) */
body .vc_pageable-slide-wrapper li.vc_grid-item .table_for_loadty {
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #dde4ef !important;
  box-shadow: 0 2px 14px rgba(15, 32, 64, 0.07) !important;
  transition: box-shadow .22s ease, border-color .22s ease !important;
}

body .vc_pageable-slide-wrapper li.vc_grid-item:hover .table_for_loadty {
  box-shadow: 0 8px 28px rgba(15, 32, 64, 0.13) !important;
  border-color: #c9a227 !important;
}

/* ── table_for_loadty — mobile: stack all columns to full width */
@media (max-width: 767px) {
  body .table_for_loadty .vc_gitem-zone-mini > .vc_gitem_row {
    width: 100% !important;
    min-height: unset !important;
    display: flex !important;
    justify-content: center !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #f2f2f2 !important;
  }

  body .table_for_loadty .vc_gitem-zone-mini > .vc_gitem_row:last-child {
    border-bottom: none !important;
  }

  /* CTA button full width on mobile */
  body .table_for_loadty .play_btn a {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ── casino_card 4-col list — wrap to 2 cols then 1 col ────── */
@media (max-width: 900px) {
  body ul.casino_card {
    flex-wrap: wrap !important;
  }

  body ul.casino_card li {
    flex-basis: calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
  }
}

@media (max-width: 540px) {
  body ul.casino_card li {
    flex-basis: 100% !important;
    min-width: 100% !important;
  }
}


/* ============================================================
   13. ACCESSIBILITY IMPROVEMENTS
   Fixes common a11y issues that hurt the Lighthouse score.
   ============================================================ */

/* ── Smooth scroll ──────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

/* ── Focus styles — keyboard navigation ─────────────────────── */
/* Default focus ring removed by many themes — restore it       */
body a:focus-visible,
body button:focus-visible {
  outline: 3px solid #c9a227 !important;
  outline-offset: 3px !important;
  border-radius: 3px !important;
}

/* CTA play button focus */
body .play_btn a:focus,
body .play_btn a:focus-visible,
body .gp_play_btn a:focus,
body .gp_play_btn a:focus-visible {
  outline: 3px solid #0f2040 !important;
  outline-offset: 2px !important;
}

/* FAQ links focus */
body .home_faq .vc_tta-panel-title > a:focus-visible {
  outline: 3px solid #c9a227 !important;
  outline-offset: -3px !important;
}

/* Load more button focus */
body .vc_grid-btn-load_more a:focus-visible {
  outline: 3px solid #c9a227 !important;
  outline-offset: 2px !important;
}

/* ── Improve button contrast — Accessibility AA compliance ───── */
/* Play button: #fecb00 on #032e4f has good contrast already    */
/* Ensure font-weight is bold enough to read on gold background */
body .play_btn a,
body .gp_play_btn a {
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
}

/* ── TC / Regler&amp;Villkor links — improve contrast ────────────── */
/* #111 on white is fine but let's ensure underline is visible  */
body .tc_link a {
  color: #111 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

body .tc_link a:focus-visible {
  outline: 2px solid #c9a227 !important;
  outline-offset: 2px !important;
  border-radius: 2px !important;
}

/* ── Images: prevent layout shift (CLS) ─────────────────────── */
body .table_for_load img,
body .table_for_loadty img {
  height: auto !important;
  display: block !important;
}

/* ── content-visibility: below-fold rows load lazily ─────────── */
/* Skips rendering of off-screen WPBakery rows until needed     */
/* This alone can add 5-10 points to Performance score          */
body .vc_row.vc_row-fluid:nth-child(n+5) {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* ── Reduce motion for users who prefer it ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  body .vc_pageable-slide-wrapper > .vc_grid-item,
  body .vc_column-inner > .wpb_wrapper,
  body .play_btn a,
  body .home_faq .vc_tta-panel-title > a {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}


/* ============================================================
   14. CASINO REVIEW PAGES — .rp-paf-review
   Styles the hero review card and CTA button on all
   single casino review pages.
   ============================================================ */

/* ── Review hero card ───────────────────────────────────────── */
.rp-paf-review {
  background: #fff !important;
  border-radius: 12px !important;
  border: 1px solid #dde4ef !important;
  box-shadow: 0 4px 24px rgba(15, 32, 64, 0.09) !important;
  padding: 40px 48px !important;
  margin-bottom: 32px !important;
  text-align: center !important;
}

/* ── Hero heading ───────────────────────────────────────────── */
.rp-paf-review h1,
.rp-paf-review h2 {
  color: #0f2040 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 auto 20px !important;
  max-width: 820px !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ── Intro paragraph ────────────────────────────────────────── */
.rp-paf-review p {
  color: #1e293b !important;
  font-size: 0.97rem !important;
  line-height: 1.78 !important;
  max-width: 760px !important;
  margin: 0 auto 24px !important;
}

/* ── Links inside review intro ──────────────────────────────── */
.rp-paf-review a:not(.cta-button) {
  color: #1a3260 !important;
  text-decoration: underline !important;
  text-decoration-color: #c9a227 !important;
  text-underline-offset: 3px !important;
  transition: color .2s ease !important;
}

.rp-paf-review a:not(.cta-button):hover {
  color: #c9a227 !important;
}

/* ── CTA button — matches casino table play_btn style ──────── */
.cta-button {
  display: inline-block !important;
  background: #fecb00 !important;
  color: #032e4f !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 14px 40px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 3px 12px rgba(254, 203, 0, 0.4) !important;
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease !important;
  margin-top: 8px !important;
}

.cta-button:hover {
  background: #e0b800 !important;
  color: #032e4f !important;
  box-shadow: 0 6px 20px rgba(254, 203, 0, 0.5) !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

.cta-button:focus-visible {
  outline: 3px solid #0f2040 !important;
  outline-offset: 3px !important;
}

/* ── Mobile review card ─────────────────────────────────────── */
@media (max-width: 767px) {
  .rp-paf-review {
    padding: 24px 20px !important;
  }

  .rp-paf-review h1,
  .rp-paf-review h2 {
    font-size: 1.2rem !important;
  }

  .cta-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
  }
}

/* ============================================================
   FOOTER &amp; HEADER RESET
   Our card rule body.home .vc_column-inner > .wpb_wrapper is
   too broad and accidentally hits footer/header WPBakery blocks.
   These rules undo all card styling in those areas so the
   footer and header remain completely untouched.
   ============================================================ */

/* --- Footer: reset cards --- */
body.home footer .vc_column-inner > .wpb_wrapper,
body.home .site-footer .vc_column-inner > .wpb_wrapper,
body.home #colophon .vc_column-inner > .wpb_wrapper,
body.home .footer-area .vc_column-inner > .wpb_wrapper,
body.home .footer-widgets .vc_column-inner > .wpb_wrapper,
body.home [class*="footer"] .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

body.home footer .vc_column-inner > .wpb_wrapper:hover,
body.home .site-footer .vc_column-inner > .wpb_wrapper:hover,
body.home #colophon .vc_column-inner > .wpb_wrapper:hover,
body.home [class*="footer"] .vc_column-inner > .wpb_wrapper:hover {
  box-shadow: none !important;
}

/* --- Footer: reset ALL text/colour overrides so theme styles win --- */
body.home footer .wpb_wrapper,
body.home footer .wpb_wrapper p,
body.home footer .wpb_text_column p,
body.home .site-footer .wpb_wrapper,
body.home .site-footer .wpb_wrapper p,
body.home #colophon .wpb_wrapper,
body.home #colophon .wpb_wrapper p,
body.home [class*="footer"] .wpb_wrapper,
body.home [class*="footer"] .wpb_wrapper p {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.home footer .wpb_wrapper h2,
body.home footer .wpb_wrapper h3,
body.home footer .wpb_wrapper h4,
body.home footer .wpb_text_column h2,
body.home footer .wpb_text_column h3,
body.home .site-footer .wpb_wrapper h2,
body.home .site-footer .wpb_wrapper h3,
body.home .site-footer .wpb_wrapper h4,
body.home #colophon .wpb_wrapper h2,
body.home #colophon .wpb_wrapper h3,
body.home [class*="footer"] .wpb_wrapper h2,
body.home [class*="footer"] .wpb_wrapper h3,
body.home [class*="footer"] .wpb_wrapper h4 {
  color: inherit !important;
  font-size: inherit !important;
  border: none !important;
  padding: 0 !important;
  margin: inherit !important;
  letter-spacing: inherit !important;
}

body.home footer .wpb_wrapper strong,
body.home .site-footer .wpb_wrapper strong,
body.home #colophon .wpb_wrapper strong,
body.home [class*="footer"] .wpb_wrapper strong {
  color: inherit !important;
}

body.home footer .wpb_wrapper a,
body.home footer .wpb_text_column a,
body.home .site-footer .wpb_wrapper a,
body.home #colophon .wpb_wrapper a,
body.home [class*="footer"] .wpb_wrapper a {
  color: inherit !important;
  text-decoration: inherit !important;
  text-decoration-color: inherit !important;
}

body.home footer .wpb_wrapper ul,
body.home footer .wpb_wrapper ul li,
body.home .site-footer .wpb_wrapper ul,
body.home .site-footer .wpb_wrapper ul li,
body.home #colophon .wpb_wrapper ul,
body.home #colophon .wpb_wrapper ul li,
body.home [class*="footer"] .wpb_wrapper ul,
body.home [class*="footer"] .wpb_wrapper ul li {
  background: transparent !important;
  border: none !important;
  padding: inherit !important;
  margin: inherit !important;
  border-radius: 0 !important;
  color: inherit !important;
  list-style: inherit !important;
}

body.home footer .wpb_wrapper ul li::before,
body.home .site-footer .wpb_wrapper ul li::before,
body.home #colophon .wpb_wrapper ul li::before,
body.home [class*="footer"] .wpb_wrapper ul li::before {
  content: none !important;
}

/* --- Header: same full reset --- */
body.home header .vc_column-inner > .wpb_wrapper,
body.home .site-header .vc_column-inner > .wpb_wrapper,
body.home #masthead .vc_column-inner > .wpb_wrapper,
body.home [class*="header"] .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

body.home header .wpb_wrapper,
body.home header .wpb_wrapper p,
body.home .site-header .wpb_wrapper p,
body.home #masthead .wpb_wrapper p,
body.home [class*="header"] .wpb_wrapper p {
  color: inherit !important;
  font-size: inherit !important;
}

body.home header .wpb_wrapper h2,
body.home header .wpb_wrapper h3,
body.home .site-header .wpb_wrapper h2,
body.home .site-header .wpb_wrapper h3,
body.home #masthead .wpb_wrapper h2,
body.home #masthead .wpb_wrapper h3,
body.home [class*="header"] .wpb_wrapper h2,
body.home [class*="header"] .wpb_wrapper h3 {
  color: inherit !important;
  border: none !important;
  padding: 0 !important;
}


/* ============================================================
   11. CASINO TABLE — CARD TREATMENT
   Converts each flat casino row into a floating card.
   Uses existing .table_for_load and .vc_grid-item structure.
   ============================================================ */

/* ── Each casino = one card ─────────────────────────────────── */
body.home .vc_pageable-slide-wrapper > .vc_grid-item {
  background: #fff !important;
  border-radius: 10px !important;
  border: 1px solid #dde4ef !important;
  box-shadow: 0 2px 14px rgba(15, 32, 64, 0.07) !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    transform .22s ease !important;
}

/* ── Hover: lift + gold border accent ───────────────────────── */
body.home .vc_pageable-slide-wrapper > .vc_grid-item:hover {
  box-shadow: 0 8px 28px rgba(15, 32, 64, 0.13) !important;
  border-color: #c9a227 !important;
  transform: translateY(-2px) !important;
}

/* ── Remove redundant top/bottom borders on inner cells ─────── */
/* The card outer border replaces them                           */
body.home .table_for_load .vc_gitem-zone-mini > .vc_gitem_row {
  border-top: none !important;
  border-bottom: none !important;
}

body.home .table_for_load .vc_gitem-zone-mini > .vc_gitem_row:first-child {
  border-left: none !important;
}

/* ── Full-width bottom row (Spelinspektionen | Spelpaus logos) ─ */
body.home .table_for_load .vc_gitem-zone-mini > .vc_gitem_row:last-child {
  border-top: 1px solid #eef2fb !important;
  background: #f8faff !important;
}

/* ── Table header: upgrade from grey to navy ────────────────── */
body.home .load_more_table_head table.load_head {
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
}

body.home table.load_head tr {
  background: #0f2040 !important;
  color: #fff !important;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

/* ── CTA button glow on card hover ─────────────────────────── */
body.home .vc_pageable-slide-wrapper > .vc_grid-item:hover .play_btn a {
  background: #e0b800 !important;
  box-shadow: 0 3px 12px rgba(201, 162, 39, 0.45) !important;
}

/* ── Load More button — navy/gold palette ───────────────────── */
body.home .vc_grid-btn-load_more a {
  background: #0f2040 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  padding: 10px 28px !important;
  transition: background .2s ease, color .2s ease !important;
}

body.home .vc_grid-btn-load_more a:hover {
  background: #c9a227 !important;
  color: #0f2040 !important;
}

/* ── Mobile: already card-like, just refine ─────────────────── */
@media (max-width: 600px) {
  body.home .vc_pageable-slide-wrapper > .vc_grid-item {
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    transform: none !important;
  }

  body.home .vc_pageable-slide-wrapper > .vc_grid-item:hover {
    transform: none !important;
  }
}


/* ============================================================
   12. WPBAKERY GRID LI FIX + TABLE_FOR_LOADTY CARDS + MOBILE
   ============================================================ */

/* ── Fix: WPBakery grid renders items as  inside      ──
   Our ul li green-card styling accidentally applies to them.
   These rules undo that for all WPBakery grid list items.     */
body.home ul.vc_grid-ul > li.vc_grid-item,
body.home .wpb_wrapper ul > li.vc_grid-item {
  background: transparent !important;
  border-left: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  transition: none !important;
}

body.home ul.vc_grid-ul > li.vc_grid-item::before,
body.home .wpb_wrapper ul > li.vc_grid-item::before {
  content: none !important;
  display: none !important;
}

/* ── table_for_loadty — card treatment (matches table_for_load) */
body.home .vc_pageable-slide-wrapper li.vc_grid-item .table_for_loadty {
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #dde4ef !important;
  box-shadow: 0 2px 14px rgba(15, 32, 64, 0.07) !important;
  transition: box-shadow .22s ease, border-color .22s ease !important;
}

body.home .vc_pageable-slide-wrapper li.vc_grid-item:hover .table_for_loadty {
  box-shadow: 0 8px 28px rgba(15, 32, 64, 0.13) !important;
  border-color: #c9a227 !important;
}

/* ── table_for_loadty — mobile: stack all columns to full width */
@media (max-width: 767px) {
  body.home .table_for_loadty .vc_gitem-zone-mini > .vc_gitem_row {
    width: 100% !important;
    min-height: unset !important;
    display: flex !important;
    justify-content: center !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #f2f2f2 !important;
  }

  body.home .table_for_loadty .vc_gitem-zone-mini > .vc_gitem_row:last-child {
    border-bottom: none !important;
  }

  /* CTA button full width on mobile */
  body.home .table_for_loadty .play_btn a {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ── casino_card 4-col list — wrap to 2 cols then 1 col ────── */
@media (max-width: 900px) {
  body.home ul.casino_card {
    flex-wrap: wrap !important;
  }

  body.home ul.casino_card li {
    flex-basis: calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
  }
}

@media (max-width: 540px) {
  body.home ul.casino_card li {
    flex-basis: 100% !important;
    min-width: 100% !important;
  }
}

/* ============================================================
   FOOTER &amp; HEADER RESET
   Our card rule body.home .vc_column-inner > .wpb_wrapper is
   too broad and accidentally hits footer/header WPBakery blocks.
   These rules undo all card styling in those areas so the
   footer and header remain completely untouched.
   ============================================================ */

/* --- Footer: reset cards --- */
body.home footer .vc_column-inner > .wpb_wrapper,
body.home .site-footer .vc_column-inner > .wpb_wrapper,
body.home #colophon .vc_column-inner > .wpb_wrapper,
body.home .footer-area .vc_column-inner > .wpb_wrapper,
body.home .footer-widgets .vc_column-inner > .wpb_wrapper,
body.home [class*="footer"] .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

body.home footer .vc_column-inner > .wpb_wrapper:hover,
body.home .site-footer .vc_column-inner > .wpb_wrapper:hover,
body.home #colophon .vc_column-inner > .wpb_wrapper:hover,
body.home [class*="footer"] .vc_column-inner > .wpb_wrapper:hover {
  box-shadow: none !important;
}

/* --- Footer: reset ALL text/colour overrides so theme styles win --- */
body.home footer .wpb_wrapper,
body.home footer .wpb_wrapper p,
body.home footer .wpb_text_column p,
body.home .site-footer .wpb_wrapper,
body.home .site-footer .wpb_wrapper p,
body.home #colophon .wpb_wrapper,
body.home #colophon .wpb_wrapper p,
body.home [class*="footer"] .wpb_wrapper,
body.home [class*="footer"] .wpb_wrapper p {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.home footer .wpb_wrapper h2,
body.home footer .wpb_wrapper h3,
body.home footer .wpb_wrapper h4,
body.home footer .wpb_text_column h2,
body.home footer .wpb_text_column h3,
body.home .site-footer .wpb_wrapper h2,
body.home .site-footer .wpb_wrapper h3,
body.home .site-footer .wpb_wrapper h4,
body.home #colophon .wpb_wrapper h2,
body.home #colophon .wpb_wrapper h3,
body.home [class*="footer"] .wpb_wrapper h2,
body.home [class*="footer"] .wpb_wrapper h3,
body.home [class*="footer"] .wpb_wrapper h4 {
  color: inherit !important;
  font-size: inherit !important;
  border: none !important;
  padding: 0 !important;
  margin: inherit !important;
  letter-spacing: inherit !important;
}

body.home footer .wpb_wrapper strong,
body.home .site-footer .wpb_wrapper strong,
body.home #colophon .wpb_wrapper strong,
body.home [class*="footer"] .wpb_wrapper strong {
  color: inherit !important;
}

body.home footer .wpb_wrapper a,
body.home footer .wpb_text_column a,
body.home .site-footer .wpb_wrapper a,
body.home #colophon .wpb_wrapper a,
body.home [class*="footer"] .wpb_wrapper a {
  color: inherit !important;
  text-decoration: inherit !important;
  text-decoration-color: inherit !important;
}

body.home footer .wpb_wrapper ul,
body.home footer .wpb_wrapper ul li,
body.home .site-footer .wpb_wrapper ul,
body.home .site-footer .wpb_wrapper ul li,
body.home #colophon .wpb_wrapper ul,
body.home #colophon .wpb_wrapper ul li,
body.home [class*="footer"] .wpb_wrapper ul,
body.home [class*="footer"] .wpb_wrapper ul li {
  background: transparent !important;
  border: none !important;
  padding: inherit !important;
  margin: inherit !important;
  border-radius: 0 !important;
  color: inherit !important;
  list-style: inherit !important;
}

body.home footer .wpb_wrapper ul li::before,
body.home .site-footer .wpb_wrapper ul li::before,
body.home #colophon .wpb_wrapper ul li::before,
body.home [class*="footer"] .wpb_wrapper ul li::before {
  content: none !important;
}

/* --- Header: same full reset --- */
body.home header .vc_column-inner > .wpb_wrapper,
body.home .site-header .vc_column-inner > .wpb_wrapper,
body.home #masthead .vc_column-inner > .wpb_wrapper,
body.home [class*="header"] .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

body.home header .wpb_wrapper,
body.home header .wpb_wrapper p,
body.home .site-header .wpb_wrapper p,
body.home #masthead .wpb_wrapper p,
body.home [class*="header"] .wpb_wrapper p {
  color: inherit !important;
  font-size: inherit !important;
}

body.home header .wpb_wrapper h2,
body.home header .wpb_wrapper h3,
body.home .site-header .wpb_wrapper h2,
body.home .site-header .wpb_wrapper h3,
body.home #masthead .wpb_wrapper h2,
body.home #masthead .wpb_wrapper h3,
body.home [class*="header"] .wpb_wrapper h2,
body.home [class*="header"] .wpb_wrapper h3 {
  color: inherit !important;
  border: none !important;
  padding: 0 !important;
}


/* ============================================================
   11. CASINO TABLE — CARD TREATMENT
   Converts each flat casino row into a floating card.
   Uses existing .table_for_load and .vc_grid-item structure.
   ============================================================ */

/* ── Each casino = one card ─────────────────────────────────── */
body.home .vc_pageable-slide-wrapper > .vc_grid-item {
  background: #fff !important;
  border-radius: 10px !important;
  border: 1px solid #dde4ef !important;
  box-shadow: 0 2px 14px rgba(15, 32, 64, 0.07) !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    transform .22s ease !important;
}

/* ── Hover: lift + gold border accent ───────────────────────── */
body.home .vc_pageable-slide-wrapper > .vc_grid-item:hover {
  box-shadow: 0 8px 28px rgba(15, 32, 64, 0.13) !important;
  border-color: #c9a227 !important;
  transform: translateY(-2px) !important;
}

/* ── Remove redundant top/bottom borders on inner cells ─────── */
/* The card outer border replaces them                           */
body.home .table_for_load .vc_gitem-zone-mini > .vc_gitem_row {
  border-top: none !important;
  border-bottom: none !important;
}

body.home .table_for_load .vc_gitem-zone-mini > .vc_gitem_row:first-child {
  border-left: none !important;
}

/* ── Full-width bottom row (Spelinspektionen | Spelpaus logos) ─ */
body.home .table_for_load .vc_gitem-zone-mini > .vc_gitem_row:last-child {
  border-top: 1px solid #eef2fb !important;
  background: #f8faff !important;
}

/* ── Table header: upgrade from grey to navy ────────────────── */
body.home .load_more_table_head table.load_head {
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
}

body.home table.load_head tr {
  background: #0f2040 !important;
  color: #fff !important;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

/* ── CTA button glow on card hover ─────────────────────────── */
body.home .vc_pageable-slide-wrapper > .vc_grid-item:hover .play_btn a {
  background: #e0b800 !important;
  box-shadow: 0 3px 12px rgba(201, 162, 39, 0.45) !important;
}

/* ── Load More button — navy/gold palette ───────────────────── */
body.home .vc_grid-btn-load_more a {
  background: #0f2040 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  padding: 10px 28px !important;
  transition: background .2s ease, color .2s ease !important;
}

body.home .vc_grid-btn-load_more a:hover {
  background: #c9a227 !important;
  color: #0f2040 !important;
}

/* ── Mobile: already card-like, just refine ─────────────────── */
@media (max-width: 600px) {
  body.home .vc_pageable-slide-wrapper > .vc_grid-item {
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    transform: none !important;
  }

  body.home .vc_pageable-slide-wrapper > .vc_grid-item:hover {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   RiktigaPengar.com — Footer Final CSS v2
   REPLACE everything in your Footer Styles CSS entry with this.
   ══════════════════════════════════════════════════════════════ */

/* ── Reset the WPBakery card box around our text block ────────
   Add el_class="rp-footer-block" to the Text Block element
   in WPBakery — then these rules will kill the white card.     */

body.home .rp-footer-block.wpb_text_column > .wpb_wrapper,
body.home .rp-footer-block.wpb_content_element > .wpb_wrapper,
body.home .rp-footer-block > .wpb_wrapper {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Root wrapper — no negative margins ─────────────────────── */
.rp-footer-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit;
}

.rp-footer-wrap *,
.rp-footer-wrap *::before,
.rp-footer-wrap *::after {
  box-sizing: border-box;
}

/* ── 4-column grid ──────────────────────────────────────────── */
.rp-footer-cols {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 32px !important;
  padding: 40px 0 32px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ── Column headings ────────────────────────────────────────── */
.rp-footer-wrap .rp-fh {
  color: #c9a227 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin: 0 0 14px !important;
  padding: 0 0 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35) !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1.3 !important;
}

/* ── About column text ──────────────────────────────────────── */
.rp-footer-wrap .rp-footer-col--about p {
  color: #d1d5db !important;
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
  margin: 0 0 10px !important;
}

/* ── 18+ badge ──────────────────────────────────────────────── */
.rp-footer-wrap .rp-badge {
  display: inline-block !important;
  margin-top: 12px !important;
  padding: 5px 14px !important;
  border: 1px solid #c9a227 !important;
  border-radius: 4px !important;
  background: rgba(201, 162, 39, 0.12) !important;
  color: #c9a227 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

/* ── Link lists ─────────────────────────────────────────────── */
.rp-footer-wrap .rp-flinks {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rp-footer-wrap .rp-flinks li {
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.rp-footer-wrap .rp-flinks li::before {
  content: none !important;
  display: none !important;
}

.rp-footer-wrap .rp-flinks a {
  color: #9ca3af !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  transition: color 0.15s ease !important;
}

.rp-footer-wrap .rp-flinks a:hover {
  color: #c9a227 !important;
  text-decoration: underline !important;
}

/* ── Trust badges row ───────────────────────────────────────── */
.rp-footer-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.rp-footer-wrap .rp-ftag {
  display: inline-block !important;
  padding: 5px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #d1d5db !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.rp-footer-wrap .rp-ftag:hover {
  border-color: #c9a227 !important;
  color: #c9a227 !important;
}

/* ── Disclaimer ─────────────────────────────────────────────── */
.rp-footer-disclaimer {
  padding: 20px 0 !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.rp-footer-disclaimer p {
  color: #6b7280 !important;
  font-size: 0.78rem !important;
  line-height: 1.65 !important;
  margin: 0 auto 6px !important;
  max-width: 800px !important;
}

.rp-footer-disclaimer strong {
  color: #9ca3af !important;
}

.rp-footer-disclaimer a {
  color: #c9a227 !important;
  text-decoration: underline !important;
}

/* ── Copyright bar ──────────────────────────────────────────── */
.rp-footer-copy {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 0 !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.rp-footer-copy > span,
.rp-footer-copy a {
  color: #4b5563 !important;
  font-size: 0.78rem !important;
  text-decoration: none !important;
}

.rp-footer-copy a:hover {
  color: #c9a227 !important;
}

.rp-footer-copy-links {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .rp-footer-cols {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 540px) {
  .rp-footer-cols {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .rp-footer-copy {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}


/* ============================================================
   GUIDE PAGES — added February 2026
   Styles for all 24 guide pages (nya-casinon, casino-bonus etc.)
   ============================================================ */

/* ── Guide hero intro box ──────────────────────────────────── */
.rp-guide-hero,
[class*="vc_column_text"] div[style*="border-left:5px solid #0057b7"],
[class*="vc_column_text"] div[style*="border-left: 5px solid #0057b7"] {
  box-sizing: border-box;
}

/* ── Guide info tables ─────────────────────────────────────── */
.wpb_text_column table th {
  background: #0057b7 !important;
  color: #fff !important;
  padding: 11px 14px !important;
  text-align: left !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}
.wpb_text_column table td {
  padding: 10px 14px !important;
  border-bottom: 1px solid #e8e8e8 !important;
  vertical-align: top !important;
}
.wpb_text_column table tr:nth-child(even) td {
  background: #f9f9f9 !important;
}
.wpb_text_column table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
}

/* ── Guide related-links buttons ───────────────────────────── */
.wpb_text_column a[style*="background:#0057b7"],
.wpb_text_column a[style*="background: #0057b7"] {
  transition: background 0.2s ease, opacity 0.2s ease !important;
}
.wpb_text_column a[style*="background:#0057b7"]:hover,
.wpb_text_column a[style*="background: #0057b7"]:hover {
  opacity: 0.85 !important;
}

/* ── Home FAQ accordion (home_faq class) ───────────────────── */
.home_faq .vc_tta-panel-heading {
  background: #f4f7fb !important;
  border: 1px solid #dde8f5 !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
}
.home_faq .vc_tta-panel-heading:hover {
  background: #e8f0fb !important;
}
.home_faq .vc_tta-panel-heading .vc_tta-panel-title a {
  color: #0f2040 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 18px !important;
}
.home_faq .vc_tta-panel-body {
  border: 1px solid #dde8f5 !important;
  border-top: none !important;
  border-radius: 0 0 6px 6px !important;
  padding: 16px 20px !important;
  background: #fff !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #333 !important;
}
.home_faq .vc_tta-panel.vc_active .vc_tta-panel-heading {
  background: #0057b7 !important;
  border-color: #0057b7 !important;
}
.home_faq .vc_tta-panel.vc_active .vc_tta-panel-heading .vc_tta-panel-title a {
  color: #fff !important;
}

/* ── Footer columns fix ────────────────────────────────────── */
.footer-widgets .vc_row,
.footer-widgets [class*="vc_col-"] {
  display: flex !important;
  flex-wrap: wrap !important;
}
.footer-widgets .vc_col-sm-3 {
  width: 25% !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  .footer-widgets .vc_col-sm-3 {
    width: 50% !important;
    margin-bottom: 24px !important;
  }
}
@media (max-width: 480px) {
  .footer-widgets .vc_col-sm-3 {
    width: 100% !important;
  }
}

/* ── Footer fix: #gp-copyright black bg override ──────────── */
#gp-copyright {
  background: transparent !important;
  color: #c8d4e8 !important;
  height: auto !important;
}
#gp-copyright-text,
#gp-copyright a {
  color: #c8d4e8 !important;
}
.rp-footer-col,
.rp-footer-col p,
.rp-footer-col li,
.rp-footer-col a {
  color: #c8d4e8 !important;
}
.rp-fh {
  color: #f0c060 !important;
}
.rp-footer-cols {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 32px !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  .rp-footer-cols { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .rp-footer-cols { grid-template-columns: 1fr !important; }
}

/* ── Footer gradient fix: make entire footer uniform navy ──── */
#gp-footer {
  background-image: none !important;
  background-color: rgb(0, 45, 80) !important;
}
#gp-copyright {
  background: rgb(0, 45, 80) !important;
  color: #c8d4e8 !important;
}
#gp-copyright-text,
#gp-copyright a {
  color: #c8d4e8 !important;
}
#gp-footer-image img {
  filter: brightness(0) invert(1);
}