/*
Theme Name: Spinoko Child
Theme URI: https://dinomatic.com/spinoko
Author: DinoMatic
Author URI: https://dinomatic.com
Template: spinoko
Description: Spinoko: Child Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spinoko-child
*/

/* =========================
   PAGE & HEADER HEADINGS
   ========================= */

/* CHANGE: Keep page titles left-aligned and add a small top padding for visual breathing room. */
.page-template-default .entry-title{
  text-align: left;
  padding-top: 10px;
}

/* CHANGE: Remove side padding on entry header to align with container edges. */
.entry-header{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* NOTE: Text-shadow was intentionally left commented out for optional use. */
/*
.entry-title {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
*/

/* CHANGE: Unify title sizing across breakpoints (mobile first). */
.entry-title{
  font-size: 2.25rem;  /* ≈ text-4xl on mobile/tablet */
  line-height: 1.2;
}
@media (min-width: 1024px){
  .entry-title{
    font-size: 3.75rem; /* ≈ text-6xl on desktop */
  }
}

/* =========================
   DECORATED SUB-HEADINGS
   ========================= */

/* CHANGE: Create a reusable heading style with a leading icon. */
.icon-heading{
  display: flex;
  align-items: center;
  gap: .4em;
  font-weight: 700;
  font-size: 1.25rem;
}

/* CHANGE: Inline SVG star icon before the heading text; sized and baseline-aligned. */
.icon-heading::before{
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fc4a1a'%3E%3Cpath d='M12 2l2.4 4.9L20 8l-3.9 3.8.9 5.4-4.9-2.6-4.9 2.6.9-5.4L4 8l5.6-.9L12 2z'/%3E%3C/svg%3E");
  width: 42px;
  height: 42px;
  display: inline-block;
  flex-shrink: 0;
  transform: translateY(5px);
}

/* =========================
   MEDIA (IMAGES & CAPTIONS)
   ========================= */

/* CHANGE: Apply shadow only to <img> so captions stay clean. */
.image-shadow img{
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  border-radius: 4px;
}

/* CHANGE: Make sure captions never inherit the shadow. */
.image-shadow figcaption{
  box-shadow: none !important;
}

/* =========================
   CHECKLIST / BENEFITS
   ========================= */

/* CHANGE: Reset list styling and harmonize spacing. */
.casino-benefits{
  list-style: none !important;
  padding-left: 0;
  margin: 1.5em 0;
}

/* CHANGE: Add room for custom checkmark and set comfortable rhythm. */
.casino-benefits li{
  list-style: none !important;
  position: relative;
  margin: .5em 0;
  padding-left: 1.6em;
  font-size: 16px;
  line-height: 1.5;
}

/* CHANGE: Accessible, high-contrast checkmark bullet. */
.casino-benefits li::before{
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #28a745;
  font-weight: 700;
  font-size: 1em;
}

/* MrWin divider: logo centered + faded side lines */
hr.wp-block-separator.is-style-mrwin-divider-fade {
  --h: 32px;                       /* logo height */
  --w: calc(var(--h) * 1.59);      /* logo width (ratio 1.59) */
  --gap: 16px;                     /* space between logo and lines */
  --c: #c9cbd1;                    /* line color */
  --logo: url("/wp-content/uploads/2025/09/mrwin-divider-2.png");

  border: 0;
  margin: 2rem auto;
  height: var(--h);
  max-width: 900px;
  background: var(--logo) center/var(--w) var(--h) no-repeat;
  position: relative;
}

hr.wp-block-separator.is-style-mrwin-divider-fade::before,
hr.wp-block-separator.is-style-mrwin-divider-fade::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc((100% - var(--w) - 2*var(--gap)) / 2);
  height: 2px;
  transform: translateY(-50%);
}

/* Left line: solid near logo → fade outwards */
hr.wp-block-separator.is-style-mrwin-divider-fade::before {
  left: 0;
  background: linear-gradient(to left, var(--c), transparent);
}

/* Right line: solid near logo → fade outwards */
hr.wp-block-separator.is-style-mrwin-divider-fade::after {
  right: 0;
  background: linear-gradient(to right, var(--c), transparent);
}



/* =========================
   QUOTES (BLOCK + PULL)
   ========================= */

/* CHANGE: Card-style quote with accent bar and subtle shadow. */
.wp-block-quote.is-style-mrwin-quote{
  --mq-bg: #ffffff;
  --mq-text: var(--color-dark, #2d3748);
  --mq-accent: var(--color-primary, #3182ce);
  --mq-muted: var(--color-neutral, #a0aec0);

  position: relative;
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  border-radius: 12px;
  background: var(--mq-bg);
  color: var(--mq-text);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

/* CHANGE: Comfortable paragraph sizing inside quotes. */
.wp-block-quote.is-style-mrwin-quote p{
  margin: 0 0 .5rem 0;
  line-height: 1.6;
  font-size: clamp(1rem, .95rem + .4vw, 1.125rem);
}

/* CHANGE: Left accent bar that adapts to theme color. */
.wp-block-quote.is-style-mrwin-quote::before{
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--mq-accent), color-mix(in srgb, var(--mq-accent) 70%, #fff));
}

/* CHANGE: Decorative opening quote mark (non-interactive). */
.wp-block-quote.is-style-mrwin-quote::after{
  content: "“";
  position: absolute;
  left: .8rem;
  top: .3rem;
  font-size: 3rem;
  line-height: 1;
  color: color-mix(in srgb, var(--mq-accent) 35%, var(--mq-bg));
  opacity: .25;
  pointer-events: none;
}

/* CHANGE: Normalize cite/footer style. */
.wp-block-quote.is-style-mrwin-quote cite,
.wp-block-quote.is-style-mrwin-quote footer{
  display: block;
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--mq-muted);
  font-style: normal;
}

/* CHANGE: Dark section (bg-dark) overrides for readability. */
.bg-dark .wp-block-quote.is-style-mrwin-quote{
  --mq-bg: #1f2937;
  --mq-text: #e5e7eb;
  --mq-accent: #60a5fa;
  --mq-muted: #9ca3af;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}

/* CHANGE: Optional pull-quote variant; centered and bolder. */
.wp-block-quote.is-style-mrwin-pull{
  font-weight: 600;
  text-align: center;
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(49,130,206,.10), transparent 60%),
    var(--mq-bg);
  border: 1px solid rgba(0,0,0,.06);
}
.wp-block-quote.is-style-mrwin-pull::before{ display: none; }
.wp-block-quote.is-style-mrwin-pull::after{  display: none; }

/* =========================
   TABLES
   ========================= */

/* CHANGE: Basic responsive table look for “review/comparison” data. */
.mrwin-table{
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  margin: 20px 0;
}

/* CHANGE: High-contrast header row. */
.mrwin-table thead tr{
  background-color: #444;
  color: #fff;
  text-align: left;
}
.mrwin-table thead th{
  padding: 12px 15px;
  font-weight: 600;
  border: none;
}

/* CHANGE: Comfortable cell padding and no grid lines. */
.mrwin-table tbody td{
  padding: 12px 15px;
  vertical-align: middle;
  border: none;
}

/* CHANGE: Zebra stripes for readability. */
.mrwin-table tbody tr:nth-child(even){
  background-color: #f9f9f9;
}

/* CHANGE: Keep logos tidy inside cells. */
.mrwin-table img{
  max-height: 35px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin-right: 8px;
}

/* CHANGE: Emphasize first column (usually the label). */
.mrwin-table tbody td:first-child{
  font-weight: 600;
  white-space: nowrap;
}

/* CHANGE: Subtle hover highlight on rows. */
.mrwin-table tbody tr:hover{
  background-color: #f1f1f1;
}

/* =========================
   SYMBOL LIST (e.g., Starburst)
   ========================= */

/* CHANGE: Flex row with icon + copy block for symbols. */
.symbol-list{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 18px 0;
}
.symbol-list img{
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.symbol-list h4{
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.symbol-list p{
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.45;
}
/* CHANGE: Slight compaction on very small screens. */
@media (max-width: 480px){
  .symbol-list{ gap: 10px; }
  .symbol-list h4{ font-size: 15px; }
  .symbol-list p{ font-size: 13.5px; }
}

/* =========================
   GAME INFO / PROS / CONS CARDS
   ========================= */

/* CHANGE: Softer, neutral cards with an accent stripe on the left. */
.spinoko :where(section.border-info,
                section.border-success,
                section.border-error,
                section.border-neutral){
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid;      /* accent color controlled below */
  box-shadow: var(--spinoko-box-shadow);
}

/* CHANGE: Assign muted accent colors per card type. */
.spinoko section.border-info{    border-left-color:#3b82f6; } /* info: blue   */
.spinoko section.border-success{ border-left-color:#16a34a; } /* pros: green  */
.spinoko section.border-error{   border-left-color:#ef4444; } /* cons: red    */
.spinoko section.border-neutral{ border-left-color:#6b7280; } /* neutral: gray*/

/* CHANGE: Make the section headers light/neutral for readability. */
.spinoko section .spinoko_rounded_top_inner{
  background: #f9fafb;
  color: #111827;
  border-bottom: 1px solid #eef2f7;
}

/* CHANGE: Keep semantic icon colors without over-saturation. */
.spinoko .text-success{ color:#16a34a !important; }
.spinoko .text-error{   color:#ef4444 !important; }
.spinoko .text-info{    color:#3b82f6 !important; }

/* CHANGE: Gentle divider between list items; removed on last. */
.spinoko section ul li{
  padding: 0px 0;
  border-bottom: 1px dashed #eef2f7;
}
.spinoko section ul li:last-child{
  border-bottom: 0;
}

/* =========================
   IMAGE CAPTION
   ========================= */
.wp-block-image figcaption {
  margin-top: .5rem;
  padding: .4rem .6rem;
  background: rgba(0,0,0,.03);   /* diskret toning */
  border-radius: 4px;
  font-size: .9rem;
  color: #444;
  text-align: center;
}
/* =========================
   Paytable using Columns
   ========================= */
.mrwin-paytable-wins.wp-block-columns {
  flex-wrap: wrap;
  gap: 16px;
}

.mrwin-paytable-wins .wp-block-column {
  flex: 0 0 calc(50% - 8px);   /* 2 on mobile */
  background: #f5f7fa;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
@media (min-width:700px){
  .mrwin-paytable-wins .wp-block-column{ flex:0 0 calc(33.333% - 10px); }
}
@media (min-width:1100px){
  .mrwin-paytable-wins .wp-block-column{ flex:0 0 calc(20% - 12px); }
}

.mrwin-paytable-wins .wp-block-column p:first-child {
  font-weight:700;
  margin:0 0 .25rem;
}
.mrwin-paytable-wins .wp-block-column p:last-child {
  margin:0;
  color:#5b6168;
  font-size:.95rem;
}
/* Thin gray separators only inside paytable */
.mrwin-paytable-wins hr.wp-block-separator.is-style-default {
  border: 0 !important;
  height: 1px !important;
  background-color: #ccc !important; /* subtle gray */
  opacity: 1 !important;
  margin: 12px 0 !important;
}




/* Starburst between hero (.entry-header) and content (.entry-content) */
.home .entry-header {
  position: relative;
}

.home .entry-header::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -49px; /* final position */
  width: 98px;
  height: 98px;
  background: url("/wp-content/uploads/2025/09/starburst-icon.webp") no-repeat center / contain;
  z-index: 2;

  /* animation setup */
  opacity: 0;
  transform: translate(-50%, -40px); /* start slightly higher */
  animation: starburstFadeIn 1s ease-out forwards;
}

/* add spacing under the icon for entry-content */
.home .entry-content {
  margin-top: 60px;
}

/* Keyframes for the animation */
@keyframes starburstFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -40px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}



/* === Grid wrapper for cards === */
.mrw-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch; /* ensure equal height */
}

/* === Card === */
.mrw-card {
  display: flex;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mrw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.mrw-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

/* === Media (image area) === */
.mrw-card__media {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #3498db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
}

/* === Body (title + excerpt) === */
.mrw-card__body {
  flex: 1 1 auto; /* pushes footer down */
  padding: 16px;
}

.mrw-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
  text-decoration: none; /* remove underline */
}

.mrw-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* === Footer (date + Read More) === */
.mrw-card__footer {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.mrw-card__date {
  display: flex;
  align-items: center;
  color: #888;
}

.mrw-card__date svg {
  margin-right: 6px;
  width: 14px;
  height: 14px;
}

.mrw-card__more {
  color: #e74c3c;
  font-weight: 600;
  text-decoration: none;
}

.mrw-card__more:hover {
  text-decoration: underline;
}

/* Force wrapping + clamp text so all cards stay equal height */
.mrw-card__title{
  display:-webkit-box;
  -webkit-line-clamp:2;              /* max 2 lines for title */
  -webkit-box-orient:vertical;
  overflow:hidden;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.mrw-card__excerpt,
.mrw-card__body p{
  display:-webkit-box;
  -webkit-line-clamp:4;              /* max 4 lines for excerpt */
  -webkit-box-orient:vertical;
  overflow:hidden;
  word-break:break-word;             /* break very long words */
  overflow-wrap:anywhere;            /* allow wrap without spaces */
  hyphens:auto;
}

.mrw-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fd4528;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.mrw-card {
  position: relative; /* enable badge positioning */
}

/* Remove underlines in news cards */
.mrw-card__link,
.mrw-card__link:hover,
.mrw-card__link:focus,
.mrw-card__title a,
.mrw-card__title a:hover,
.mrw-card__title a:focus {
  text-decoration: none !important;
  border-bottom: none !important;
}
.post-type-archive-news { padding-top: 84px; } /* tweak to clear the fixed header height */

/*.sp-p-4 {
  padding: 0rem!important;
}*/

/* === Casino Table Logos – overflow fix + responsive sizes === */

/* Wrapper: center, give breathing space, and clip anything rogue */
.table-item .bg-light {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;          /* even row height on mobile */
  padding: 1rem;              /* breathing space lives here */
  overflow: hidden;           /* safety net against spillover */
  box-sizing: border-box;
}

/* Image: never stretch out of its cell, no padding on the image */
.table-item .bg-light a > img {
  display: block;
  margin-inline: auto;

  height: auto !important;
  width: auto !important;

  max-width: 100%;            /* <= key: cap to wrapper width */
  max-height: 100px;          /* larger on mobile as requested */
  object-fit: contain;
  object-position: center;

  padding: 0 !important;      /* remove image padding to avoid overflow */
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .table-item {
    display: grid !important;
    grid-template-columns: 160px 1fr 220px;
    align-items: stretch;
    gap: 16px;
  }
  .table-item .bg-light {
    min-height: 100px;
    padding: 0.75rem 1rem;
  }
  .table-item .bg-light a > img {
    max-height: 80px;
  }
  .table-item > div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .table-item {
    display: grid !important;
    grid-template-columns: 180px 1fr 240px;
    align-items: stretch;
    gap: 20px;
  }
  .table-item .bg-light {
    min-height: 90px;
    padding: 0.5rem 0.75rem;
  }
  .table-item .bg-light a > img {
    max-height: 72px;     /* slightly smaller on desktop */
  }
}




/* === Review Hero Styles === */
.single-casino .review-hero {
  position: relative;
  padding: 2rem 1rem;
  border-radius: 6px;
  min-height: 280px;
}

/* Dark overlay for readability */
.single-casino .review-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* darker overlay */
  border-radius: inherit;
  z-index: 1;
}

/* Make sure content is above overlay */
.single-casino .review-hero > * {
  position: relative;
  z-index: 2;
}

/* Logo inside hero */
.single-casino .review-hero img {
  display: block;
  margin-inline: auto;
  height: auto;
  max-height: 140px;
  max-width: min(90%, 640px);
  object-fit: contain;
}

/* Tablet adjustments */
@media (min-width: 768px) {
  .single-casino .review-hero {
    padding: 3rem 2rem;
    min-height: 320px;
  }
  .single-casino .review-hero img {
    max-height: 160px;
  }
}

/* Desktop adjustments */
@media (min-width: 1024px) {
  .single-casino .review-hero {
    padding: 4rem 2.5rem;
    min-height: 360px;
  }
  .single-casino .review-hero img {
    max-height: 180px;
  }
}


/* ================================
   Author archive – header & cards
   ================================ */

/* --- 1) Top author header --- */
.mrw-authorbox{
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 40px 20px 20px;
  background:
    radial-gradient(1200px 120px at 50% 0, rgba(20,30,50,.06), transparent 70%);
}
.mrw-authorbox__avatar img{
  width: 88px; height: 88px;
  border-radius: 999px;
  display:block; margin: 0 auto;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  object-fit: cover;
}
.mrw-authorbox__name{
  font-weight: 700;
  margin-top: .75rem;
}
.mrw-authorbox__bio{
  max-width: 680px;
  margin: .35rem auto 0;
  color: #64748b;             /* slate-500 */
  line-height: 1.6;
  font-size: 0.975rem;
}

/* --- 2) Grid layout --- */
.mrw-authorloop{
  gap: 18px !important;
}

/* --- 3) Card shell --- */
.mrw-card{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e6e8ef;
  box-shadow: 0 4px 16px rgba(2,6,23,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.mrw-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(2,6,23,.10);
  border-color: #dfe3ec;
}
.mrw-card a.block{ display:flex; flex-direction:column; height:100%; }

/* --- 4) Media area --- */
.mrw-card__media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f3f4f7;
  overflow: hidden;
}
.mrw-card__img{ width:100%; height:100%; object-fit: cover; display:block; }
.mrw-card__img--placeholder{
  width:100%; height:100%;
  background: linear-gradient(90deg,#eef1f6 25%,#f6f8fb 37%,#eef1f6 63%);
  background-size: 400% 100%;
  animation: mrwShimmer 1.2s infinite linear;
}
@keyframes mrwShimmer { 
  0%{background-position: 100% 0;} 
  100%{background-position: 0 0;} 
}

/* --- 5) Type badge --- */
.mrw-card__type{
  position: absolute; z-index: 2; top: 10px; left: 10px;
  padding: 4px 9px; font-size: .72rem; font-weight: 700;
  background: #e6eefc; color: #1e40af;
  border-radius: 999px;
  letter-spacing: .02em;
}
.type-casino .mrw-card__type{ background:#e6f6ef; color:#065f46; }
.type-news   .mrw-card__type{ background:#ffe9ec; color:#9f1239; }
.type-page   .mrw-card__type{ background:#f1f5f9; color:#0f172a; }
.type-slotsl .mrw-card__type{ background:#f5ecff; color:#6b21a8; }

/* --- 6) Body content --- */
.mrw-card__body{ padding: 14px 14px 16px; display:flex; flex-direction:column; gap:.4rem; }
.mrw-card__title{
  font-size: 1.05rem; line-height:1.35; font-weight:700; color:#0f172a; margin:0;
  display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden;
  min-height: 2.7em;
}
.mrw-card__date{
  margin-top: 2px; font-size: .82rem; color:#6b7280;
}

/* --- 7) Mobile tweaks --- */
@media (max-width: 767.98px){
  .mrw-authorbox{ padding: 32px 16px 12px; }
  .mrw-card__title{ font-size: 1rem; }
}

.author .sp-mb-8{
  padding-top: 20px;
}

.author .saboxplugin-wrap{
  margin-top: 50px!important;
}

.mrw-sectionhed{
  font-size:1.25rem;             /* ~20px */
  font-weight:700;
  line-height:1.2;
  margin: 14px 0 12px;
}

/* ================================
   HTML Sitemap – layout & styling
   ================================ */

/* --- 1) Wrapper section --- */
.mrw-sitemap{ 
  margin:1rem 0 2rem; 
}

/* --- 2) Main title (e.g. "Sitemap") --- */
.mrw-sitemap__title{ 
  font-size:1.5rem; 
  font-weight:800; 
  margin:.25rem 0 1rem; 
}

/* --- 3) Group container (per post type) --- */
.mrw-sitemap__group{ 
  margin:1rem 0 1.25rem; 
  break-inside:avoid; /* prevents column breaks inside group */
}

/* --- 4) Group heading (e.g. Pages, Posts, News) --- */
.mrw-sitemap__hed{ 
  font-size:1.125rem; 
  font-weight:700; 
  margin:.5rem 0 .5rem; 
}

/* --- 5) Lists (unstyled, clean) --- */
.mrw-sitemap__list{ 
  list-style:none; 
  margin:0; 
  padding:0; 
}
.mrw-sitemap__list li{ 
  margin:.2rem 0; 
}
.mrw-sitemap__list a{ 
  text-decoration:none; 
}
.mrw-sitemap__list a:hover{ 
  text-decoration:underline; 
}

/* --- 6) Nested lists for Pages (hierarchical) --- */
.mrw-sitemap__list--pages ul{ 
  margin-left:1rem; 
}

/* --- 7) Dates (optional) --- */
.mrw-sitemap__date{ 
  opacity:.7; 
  font-size:.875rem; 
  margin-left:.35rem; 
}

/* --- 8) Responsive: two columns on large screens --- */
@media (min-width:900px){
  .mrw-sitemap{ 
    columns:2; 
    column-gap:2rem; 
  }
  .mrw-sitemap__group{ 
    break-inside:avoid; 
  }
}



/* ================================
   News single – prev/next nav
   ================================ */
.mrw-post-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  margin:2rem 0;
  font-size:.95rem;
  font-weight:600;
}
.mrw-post-nav a{
  color:var(--color-link, #e86a22);
  text-decoration:none;
}
.mrw-post-nav a:hover{ text-decoration:underline; }
.mrw-post-nav__prev{ max-width:48%; }
.mrw-post-nav__next{ max-width:48%; text-align:right; }


/* ================================
   Inline author + last updated meta
   ================================ */
.mrw-topmeta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  font-size:0.9rem;
  color:#2d3748;
  margin:0 0 1rem;
}

.mrw-topmeta__item {
  display:flex;
  align-items:center;
  gap:4px;
}

.mrw-topmeta__icon {
  flex-shrink:0;
  color:#555;
}

.mrw-topmeta__item a {
  color:inherit;
  text-decoration:underline;
}
.mrw-topmeta__item a:hover {
  text-decoration:none;
  color:#e74c3c;
}



/* ===== CASINO HERO BACKGROUND (no gradient) ===== */

/* Kill any theme overlay/gradient pseudo-elements on casino pages */
body.single-casino .review-hero::before,
body.single-casino .review-hero::after {
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

/* Desktop/default background.
   Falls back to mobile if desktop var is missing. */
body.single-casino .review-hero {
  background-image: var(--mrw-hero-desktop, var(--mrw-hero-mobile)) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Mobile override: prefer mobile, else fall back to desktop */
@media (max-width: 767px) {
  body.single-casino .review-hero {
    background-image: var(--mrw-hero-mobile, var(--mrw-hero-desktop)) !important;
  }
}




/* Box/card style for Trust section */
.mrw-trust-box {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  padding: 20px 25px;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.mrw-trust-box h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #1a1a1a;
}

.mrw-trust-box p {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
}

.mrw-trust-box ul {
  list-style: none!important;  /* remove default bullets */
  margin: 0;
  padding: 0;
}

.mrw-trust-box li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
}

.mrw-trust-box li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #2a9d8f; /* green check */
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.5;
}


/* ============================
   Breadcrumb Styling (Final)
   ============================ */

/* Wrapper styles for breadcrumbs */
.mrw-breadcrumbs,
.mrw-breadcrumbs nav,
.mrw-breadcrumbs p {
  text-align: left !important;  /* force left alignment */
  font-size: 13px;              /* small, subtle text */
  padding-top: 4px;            /* spacing above breadcrumbs */
}

/* Links inside breadcrumbs 
   - Don't override the theme’s link color, so it keeps your original styling */
.mrw-breadcrumbs a {
  text-decoration: none;        /* remove underline by default */
}

.mrw-breadcrumbs a:hover {
  text-decoration: underline;   /* underline on hover for clarity */
}

/* Separator between items (Rank Math outputs <span class="separator">)
   - Tighten spacing so it’s not too wide
   - Make it light grey so it doesn’t distract */
.mrw-breadcrumbs .separator {
  margin: 0 3px;                /* reduced spacing left/right */
  color: #999;                  /* lighter grey */
  font-size: 13px;              /* same size as text */
}

/* Current page (last breadcrumb)
   - Styled grey
   - Not clickable */
.mrw-breadcrumbs .last,
.mrw-breadcrumbs [aria-current="page"] {
  color: #666;                  /* neutral grey */
  pointer-events: none;         /* disable clicks */
  cursor: default;              /* prevent pointer hover */
  text-decoration: none;        /* no underline */
}

.single-news .mrw-breadcrumbs p, .single-casino .mrw-breadcrumbs p{
  /*margin-block-end: 0!important;*/
  padding-top: 0px!important; 
  margin-top: -30px;  
}

.about-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;              /* space between boxes */
}

.about-authors .saboxplugin-wrap {
  flex: 1 1 300px;        /* grow, shrink, min width */
  max-width: 100%;        /* no overflow */
}






/* ================================
   Rank Math FAQ Styling
   ================================ */

.rank-math-block .rank-math-list-item {
  border-bottom: 1px solid #ddd;
  margin: 0;
  padding: 0;
}

.rank-math-block .rank-math-question {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.rank-math-block .rank-math-question:hover {
  background: #f9f9f9;
}

/* Arrow on right */
.rank-math-block .rank-math-question::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-50%) rotate(-45deg); /* right-pointing */
  transition: transform 0.2s ease;
}

/* Expanded state (will apply via JS later) */
.rank-math-block .rank-math-question.active::after {
  transform: translateY(-50%) rotate(45deg); /* down-pointing */
}

/* Answer hidden by default */
.rank-math-block .rank-math-answer {
  display: none;
  padding: 0 0 1rem 0;
  color: #444;
  line-height: 1.5;
}

/* Visible state (added by JS later) */
.rank-math-block .rank-math-answer.open {
  display: block;
}

.rank-math-block{
  padding-bottom: 30px;
}


/* =========================================================
 *  FIX: Remove duplicate dot separators in Swedish footer
 *  ---------------------------------------------------------
 *  The Spinoko theme already adds "·" separators between 
 *  footer menu items via its own CSS. Our Swedish footer 
 *  customization also injected one, resulting in double dots.
 *  This rule disables the extra one to match the English footer.
 * ========================================================= */
.site-footer [data-sv="1"] .footer-menu li + li::before {
  display: none !important;
  content: none !important;
}


/* Snygg faktaruta längst ner */
.mrw-fact-check{
  position:relative;
  margin-top:1.25rem;
  padding:12px 14px 12px 46px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:10px;
  background:var(--color-light, #f7fafc);
  font-style:normal;
  line-height:1.5;
}
@media (prefers-color-scheme: dark){
  .mrw-fact-check{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.12);
  }
}
/* Ikon till vänster (skydd/bock) */
.mrw-fact-check::before{
  content:"";
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  width:22px; height:22px;
  background-repeat:no-repeat; background-size:22px 22px;
  /* inline SVG – ändra fill om du vill byta färg */
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23146ef5'><path d='M12 2l7 3v6c0 5.55-3.84 10.74-7 12-3.16-1.26-7-6.45-7-12V5l7-3zm-1 12l5-5-1.41-1.41L11 10.17 9.41 8.59 8 10l3 4z'/></svg>");
  opacity:.95;
}

/* Typografisk finputsning, matcha ditt tema */
.mrw-fact-check em{ font-style:normal; }
.mrw-fact-check strong{ font-weight:700; }



