/*
Theme Name: SEO Casino Theme
Theme URI: https://example.com
Author: Custom Development
Description: SEO-optimized WordPress theme with built-in Flexible Content system. No plugins required. Supports unlimited reorderable content blocks on any page.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.txt
Tags: seo, flexible, casino, affiliate, responsive, mobile-first
Text Domain: seo-casino-theme
*/

/* Google Fonts loaded via wp_enqueue_style() in functions.php */

/* ============================================================
   CSS CUSTOM PROPERTIES — LIGHT MODE
   ============================================================ */
:root {
    /* Blues */
    --clr-primary:        #1a5276;
    --clr-primary-light:  #2e86c1;
    --clr-primary-dark:   #0e3451;
    --clr-accent:         #3498db;
    --clr-accent-hover:   #2980b9;

    /* Neutrals */
    --clr-white:          #ffffff;
    --clr-off-white:      #f8f9fa;
    --clr-grey-100:       #f0f4f8;
    --clr-grey-200:       #e9ecef;
    --clr-grey-300:       #dee2e6;
    --clr-grey-400:       #adb5bd;
    --clr-grey-500:       #6c757d;
    --clr-grey-600:       #495057;
    --clr-text:           #212529;
    --clr-text-muted:     #6c757d;

    /* Semantic */
    --clr-bg:             #ffffff;
    --clr-bg-alt:         #f0f4f8;
    --clr-card:           #ffffff;
    --clr-border:         #dee2e6;
    --clr-success:        #27ae60;
    --clr-danger:         #e74c3c;
    --clr-warning:        #f39c12;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.07);
    --shadow-md:  0 4px 12px rgba(0,0,0,.10);
    --shadow-lg:  0 8px 28px rgba(0,0,0,.13);

    /* Layout */
    --radius:     8px;
    --radius-lg:  12px;
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: .28s ease;
    --max-w:      1200px;
    --content-w:  860px;
}

/* ============================================================
   DARK MODE OVERRIDES
   ============================================================ */
[data-theme="dark"] {
    --clr-primary:        #3498db;
    --clr-primary-light:  #5dade2;
    --clr-primary-dark:   #2e86c1;
    --clr-accent:         #5dade2;
    --clr-accent-hover:   #3498db;
    --clr-white:          #1a1a2e;
    --clr-off-white:      #16213e;
    --clr-grey-100:       #0f3460;
    --clr-grey-200:       #1c2844;
    --clr-grey-300:       #2a3a5c;
    --clr-grey-400:       #4a5a7a;
    --clr-grey-500:       #8a9abb;
    --clr-grey-600:       #b0bec5;
    --clr-text:           #e2e8f0;
    --clr-text-muted:     #8a9abb;
    --clr-bg:             #0d1117;
    --clr-bg-alt:         #161b22;
    --clr-card:           #1c2333;
    --clr-border:         #30363d;
    --clr-success:        #2ecc71;
    --clr-danger:         #e74c3c;
    --clr-warning:        #f1c40f;
    --shadow-sm:  0 1px 4px rgba(0,0,0,.35);
    --shadow-md:  0 4px 14px rgba(0,0,0,.35);
    --shadow-lg:  0 8px 30px rgba(0,0,0,.45);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.65;
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--clr-primary-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--clr-accent); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ============================================================
   DARK MODE TOGGLE (fixed bottom-right)
   ============================================================ */
.sct-dark-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--clr-card);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.sct-dark-toggle:hover {
    transform: scale(1.12);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   HEADER
   ============================================================ */
.sct-header {
    background: var(--clr-card);
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background var(--transition);
}
.sct-header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* Logo */
.sct-logo {
    font-size: 21px;
    font-weight: 800;
    color: var(--clr-primary-light);
    white-space: nowrap;
    letter-spacing: -.3px;
}
.sct-logo span { color: var(--clr-text); }

/* Nav */
.sct-nav {
    display: flex;
    align-items: center;
}

/* Top-level menu ul — horizontal row */
.sct-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sct-menu > li {
    position: relative;
}

/* All nav links */
.sct-nav a {
    color: var(--clr-text);
    padding: 7px 14px;
    border-radius: var(--radius);
    font-size: 13.5px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
    display: block;
}
.sct-nav a:hover,
.sct-nav a.active {
    background: var(--clr-bg-alt);
    color: var(--clr-primary-light);
}

/* Dropdown arrow on parent items */
.sct-menu > li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 9px;
    opacity: .6;
}

/* Submenu dropdown — hidden by default */
.sct-menu > li .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% - 1px); /* 1px overlap — kills the sub-pixel gap the mouse falls through */
    left: 0;
    min-width: 190px;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 0 0 var(--radius) var(--radius); /* top flush, only bottom rounded */
    box-shadow: var(--shadow-md);
    padding: 8px 0 5px;
    list-style: none;
    margin: 0;
    z-index: 200;
}

/* Show submenu on parent hover */
.sct-menu > li.menu-item-has-children:hover .sub-menu {
    display: block;
}

/* Submenu links */
.sct-menu > li .sub-menu li a {
    padding: 7px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
}
.sct-menu > li .sub-menu li a:hover {
    background: var(--clr-bg-alt);
    color: var(--clr-primary-light);
}

/* Mobile hamburger */
.sct-mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--clr-text);
}
.sct-mobile-btn span {
    display: block;
    width: 23px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all var(--transition);
}

/* ============================================================
   PAGE HEAD (hero strip)
   ============================================================ */
.sct-page-head {
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 55%, var(--clr-primary-light) 100%);
    padding: 44px 18px 38px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sct-page-head::before {
    content: '';
    position: absolute;
    top: -55%;  right: -18%;
    width: 580px; height: 580px;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 68%);
    pointer-events: none;
}
.sct-page-head::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 65%);
    pointer-events: none;
}
.sct-page-head-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
}


/* Page description */
.sct-page-head-desc {
    font-size: 15px;
    font-weight: 400;
    opacity: .88;
    line-height: 1.7;
    max-width: 100%;
    margin: 0;
}

/* Collapse toggle — "Show more / Show less" */
.sct-head-desc-toggle {
    display: inline;
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    opacity: .7;
    cursor: pointer;
    padding: 0;
    margin-left: 6px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity var(--transition);
}
.sct-head-desc-toggle:hover { opacity: 1; }

/* Breadcrumbs */
.sct-breadcrumbs {
    font-size: 13px;
    margin-bottom: 14px;
    opacity: .82;
}
.sct-breadcrumbs a { color: rgba(255,255,255,.72); }
.sct-breadcrumbs a:hover { color: #fff; }
.sct-breadcrumbs .sep { margin: 0 7px; opacity: .45; }
.sct-breadcrumbs .cur { color: rgba(255,255,255,.9); }

/* Page title */
.sct-page-head h1 {
    font-size: clamp(22px, 3.8vw, 36px);
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 10px;
    color: #fff;
}

/* Meta row */
.sct-head-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    margin-top: 24px;
}
.sct-head-meta .author-row {
    display: flex;
    align-items: center;
    gap: 9px;
}
.sct-head-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.38);
    object-fit: cover;
}
.sct-head-meta .divider { opacity: .38; }
.sct-head-meta .updated-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Social links in head */
.sct-head-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}
.sct-head-socials a {
    color: rgba(255,255,255,.72);
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all var(--transition);
}
.sct-head-socials a:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-color: rgba(255,255,255,.55);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.sct-main {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 44px 18px;
}
.sct-content-wrap {
    max-width: var(--content-w);
    margin: 0 auto;
}

/* ============================================================
   FLEXIBLE BLOCK — shared
   ============================================================ */
.flex-block { margin-bottom: 44px; }
.flex-block:last-child { margin-bottom: 0; }

/* ============================================================
   BLOCK: PROS & CONS
   ============================================================ */
.sct-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.sct-pros-cons .pros,
.sct-pros-cons .cons { padding: 24px; }
.sct-pros-cons .pros { border-right: 1px solid var(--clr-border); }

.sct-pros-cons .section-head {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sct-pros-cons .pros .section-head { color: var(--clr-success); }
.sct-pros-cons .cons .section-head { color: var(--clr-danger); }

.sct-pros-cons .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--clr-border);
    font-size: 14px;
    line-height: 1.5;
}
.sct-pros-cons .item:last-child { border-bottom: none; }
.sct-pros-cons .item-icon {
    min-width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.sct-pros-cons .pros .item-icon {
    background: rgba(39,174,96,.13);
    color: var(--clr-success);
}
.sct-pros-cons .cons .item-icon {
    background: rgba(231,76,60,.13);
    color: var(--clr-danger);
}

/* ============================================================
   BLOCK: CASINO OFFER TABLE
   ============================================================ */
.sct-casino-table {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.sct-casino-table .table-head-bar {
    background: var(--clr-primary-dark);
    color: #fff;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
}
[data-theme="dark"] .sct-casino-table .table-head-bar {
    background: var(--clr-primary);
}
.sct-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.sct-casino-table table { width: 100%; border-collapse: collapse; }
.sct-casino-table th {
    text-align: left;
    padding: 11px 16px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--clr-grey-500);
    border-bottom: 2px solid var(--clr-border);
    background: var(--clr-bg-alt);
    white-space: nowrap;
}
.sct-casino-table td {
    padding: 13px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--clr-border);
    white-space: nowrap;
}
.sct-casino-table tr:last-child td { border-bottom: none; }
.sct-casino-table .casino-name { font-weight: 600; color: var(--clr-text); }
.sct-casino-table .rating { color: var(--clr-warning); font-weight: 600; }
.sct-casino-table .offer-btn {
    display: inline-block;
    background: var(--clr-primary-light);
    color: #fff !important;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.sct-casino-table .offer-btn:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-1px);
}

/* ============================================================
   BLOCK: CASINO CAROUSEL
   ============================================================ */
.sct-carousel { position: relative; }
.sct-carousel-wrap { overflow: hidden; border-radius: var(--radius-lg); }
.sct-carousel-track {
    display: flex;
    transition: transform .38s ease;
}
.sct-carousel-slide { min-width: 100%; padding: 0 6px; }
.sct-carousel-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 30px 24px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sct-carousel-card .card-logo {
    width: 72px; height: 72px;
    border-radius: var(--radius);
    background: var(--clr-bg-alt);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--clr-primary-light);
    letter-spacing: -1px;
    overflow: hidden;
}
.sct-carousel-card .card-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sct-carousel-card .card-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--clr-text);
}
.sct-carousel-card .card-bonus {
    font-size: 14.5px;
    color: var(--clr-text-muted);
    margin-bottom: 16px;
    line-height: 1.45;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
/* Bullet points */
.sct-carousel-card .card-bullets {
    list-style: none;
    margin: 0 auto 20px;
    text-align: left;
    width: 100%;
    max-width: 220px;
    flex-shrink: 0;
}
.sct-carousel-card .card-bullets li {
    font-size: 13px;
    color: var(--clr-text-muted);
    padding: 2.5px 0;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}
.sct-carousel-card .card-bullets li::before {
    content: '✓';
    color: var(--clr-primary-light);
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.4;
}
.sct-carousel-card .card-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-accent));
    color: #fff !important;
    padding: 10px 30px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    transition: transform var(--transition), box-shadow var(--transition);
    margin-top: auto;
}
.sct-carousel-card .card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(46,134,193,.4);
}

.sct-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}
.sct-carousel-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    background: var(--clr-card);
    color: var(--clr-text);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
}
.sct-carousel-btn:hover {
    background: var(--clr-primary-light);
    color: #fff;
    border-color: var(--clr-primary-light);
}
.sct-carousel-dots { display: flex; gap: 7px; }
.sct-carousel-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--clr-border);
    cursor: pointer;
    transition: background var(--transition);
    border: none;
}
.sct-carousel-dot.active { background: var(--clr-primary-light); }

/* Desktop: 3-column grid — no carousel behaviour */
@media (min-width: 769px) {
    .sct-carousel-wrap { overflow: visible; }
    .sct-carousel-track {
        flex-wrap: wrap;
        gap: 18px;
        transform: none !important;
    }
    .sct-carousel-slide {
        min-width: 0 !important;
        flex: 1 1 calc(33.333% - 12px);
        max-width: calc(33.333% - 12px);
        padding: 0;
    }
    .sct-carousel-controls { display: none; }
}

/* ============================================================
   BLOCK: AD INFO (Annonsinformation)
   ============================================================ */
.sct-ad-info {
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 13px 17px;
    font-size: 12px;
    color: var(--clr-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.sct-ad-info .ad-icon {
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: .7;
}

/* ============================================================
   BLOCK: WRITTEN BY
   ============================================================ */
.sct-written-by {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}
.sct-wb-avatar {
    width: 62px; height: 62px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.sct-wb-avatar-ph {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--clr-primary-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}
.sct-wb-info { flex: 1; min-width: 0; }
.sct-wb-info .label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .9px;
    color: var(--clr-grey-500);
    margin-bottom: 3px;
    font-weight: 600;
}
.sct-wb-info .name {
    font-size: 16px;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 4px;
}
.sct-wb-info .updated {
    font-size: 12.5px;
    color: var(--clr-text-muted);
}
.sct-wb-socials { display: flex; gap: 7px; flex-shrink: 0; }
.sct-wb-socials a {
    width: 35px; height: 35px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-size: 14px;
    transition: all var(--transition);
}
.sct-wb-socials a:hover {
    background: var(--clr-primary-light);
    color: #fff;
    border-color: var(--clr-primary-light);
}

/* ============================================================
   BLOCK: QUOTE
   ============================================================ */
.sct-quote {
    border-left: 4px solid var(--clr-primary-light);
    background: var(--clr-bg-alt);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 24px 28px;
}
.sct-quote blockquote {
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    color: var(--clr-text);
    margin-bottom: 10px;
}
.sct-quote cite {
    font-size: 13px;
    color: var(--clr-text-muted);
    font-style: normal;
}
.sct-quote cite::before { content: '— '; }

/* ============================================================
   BLOCK: IMAGE + TEXT
   ============================================================ */
.sct-image-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.sct-image-text.reverse { direction: rtl; }
.sct-image-text.reverse > * { direction: ltr; }

.sct-image-text .it-img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}
.sct-image-text .it-img-ph {
    width: 100%;
    min-height: 240px;
    background: var(--clr-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--clr-grey-400);
}
.sct-image-text .it-content { padding: 30px; }
.sct-image-text .it-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 10px;
    line-height: 1.3;
}
.sct-image-text .it-content p {
    font-size: 14.5px;
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}
.sct-image-text .it-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--clr-primary-light);
    font-weight: 600;
    font-size: 13.5px;
    transition: color var(--transition), gap var(--transition);
}
.sct-image-text .it-link:hover {
    color: var(--clr-accent);
    gap: 9px;
}

/* ============================================================
   BLOCK: TEXT + LINK BUTTONS
   ============================================================ */
.sct-text-block {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 30px 32px;
    box-shadow: var(--shadow-sm);
}
.sct-text-block h2,
.sct-text-block h3,
.sct-text-block h4 {
    color: var(--clr-text);
    margin-bottom: 10px;
    line-height: 1.3;
}
.sct-text-block h2 { font-size: 22px; font-weight: 700; }
.sct-text-block h3 { font-size: 18px; font-weight: 600; }
.sct-text-block h4 { font-size: 16px; font-weight: 600; }
.sct-text-block p {
    font-size: 14.5px;
    color: var(--clr-text-muted);
    line-height: 1.8;
}
.sct-text-block .link-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.sct-text-block .link-btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 22px;
    font-size: 13.5px;
    font-weight: 600;
    background: var(--clr-primary-light);
    color: #fff !important;
    transition: background var(--transition), transform var(--transition);
}
.sct-text-block .link-btn:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-1px);
}
.sct-text-block .link-btn.secondary {
    background: transparent;
    color: var(--clr-primary-light) !important;
    border: 2px solid var(--clr-primary-light);
}
.sct-text-block .link-btn.secondary:hover {
    background: var(--clr-primary-light);
    color: #fff !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.sct-footer {
    background: var(--clr-primary-dark);
    color: rgba(255,255,255,.65);
    padding: 50px 18px 22px;
    margin-top: 56px;
}
[data-theme="dark"] .sct-footer { background: #080c12; }

.sct-footer-inner { max-width: var(--max-w); margin: 0 auto; }
.sct-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 38px;
}
.sct-footer-col h4 {
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 14px;
}
.sct-footer-col p {
    font-size: 13px;
    line-height: 1.7;
}
.sct-footer-col li { margin-bottom: 7px; }
.sct-footer-col a {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    transition: color var(--transition);
}
.sct-footer-col a:hover { color: #fff; }

.sct-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.11);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 8px;
}
.sct-footer-bottom a { color: rgba(255,255,255,.45); }
.sct-footer-bottom a:hover { color: #fff; }

/* ============================================================
   BLOCK: CASINO OFFER CARDS
   ============================================================ */
.sct-casino-offers {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sct-offer-item .offer-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--clr-text);
    margin: 0 0 10px;
}
.offer-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 18px 22px;
}
.offer-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.offer-content {
    flex: 1;
    min-width: 0;
}
.offer-label {
    font-size: 11.5px;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
}
.offer-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--clr-text);
    line-height: 1.35;
}
.offer-card-btn {
    display: inline-block;
    background: var(--clr-primary);
    color: #fff;
    padding: 13px 24px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}
.offer-card-btn:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-1px);
}

/* ============================================================
   BLOCK: FAQ ACCORDION
   ============================================================ */
.sct-faq-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--clr-text);
    margin: 0 0 18px;
}
.sct-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sct-faq-item {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    background: var(--clr-card);
    overflow: hidden;
    transition: border-color var(--transition);
}
.sct-faq-item.open {
    border-color: var(--clr-primary);
}
.sct-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 18px;
    text-align: left;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    color: var(--clr-text);
    cursor: pointer;
    transition: background var(--transition);
}
.sct-faq-q:hover {
    background: var(--clr-bg-alt);
}
.sct-faq-icon {
    font-size: 17px;
    color: var(--clr-primary);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.sct-faq-item.open .sct-faq-icon {
    transform: rotate(180deg);
}
.sct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
    font-size: 14px;
    color: var(--clr-muted);
    line-height: 1.75;
}
.sct-faq-item.open .sct-faq-a {
    max-height: 600px;
    padding: 0 18px 18px;
}

/* ============================================================
   BLOCK: TEXT + IMAGE BELOW
   ============================================================ */
.sct-text-img-below h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--clr-text);
    margin: 0 0 12px;
}
.sct-text-img-below > p {
    font-size: 15px;
    color: var(--clr-muted);
    line-height: 1.75;
    margin: 0 0 20px;
}
.sct-text-img-below .tib-img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

/* ============================================================
   BLOCK: BULLET POINTS
   ============================================================ */
.sct-bullet-list h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--clr-text);
    margin: 0 0 12px;
}
.sct-bullet-list .bl-intro {
    font-size: 15px;
    color: var(--clr-muted);
    line-height: 1.75;
    margin: 0 0 20px;
}
.sct-bullet-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sct-bullet-items li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}
.bullet-marker {
    width: 10px;
    height: 10px;
    background: var(--clr-primary);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 7px;
}
.bullet-body {
    font-size: 15px;
    color: var(--clr-muted);
    line-height: 1.65;
}
.bullet-body strong {
    color: var(--clr-text);
    font-weight: 700;
}

/* ============================================================
   BLOCK: MULTI TEXT AREA
   ============================================================ */
.sct-multi-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.sct-multi-text-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-text);
    margin: 0 0 10px;
    line-height: 1.3;
}
.sct-multi-text-section p {
    font-size: 15px;
    color: var(--clr-muted);
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   BLOCK: SINGLE IMAGE
   ============================================================ */
.sct-single-image {
    width: 100%;
}
.sct-single-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}
.sct-single-image figcaption {
    font-size: 13px;
    color: var(--clr-muted);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* ============================================================
   BLOCK: BIG CTA CARDS
   ============================================================ */
.sct-cta-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sct-cta-card {
    display: grid;
    grid-template-columns: 160px 180px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 28px 28px 24px;
    background: #f9fafb;
    border: 1px solid var(--clr-border);
    border-radius: 12px;
}
/* Logo column */
.cta-logo {
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-logo img {
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
}
/* Title column */
.cta-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1.35;
    text-align: center;
}
/* Bullets column */
.cta-bullets {
    justify-self: center;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cta-bullets li {
    font-size: 15px;
    color: var(--clr-muted);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.cta-bullets li::before {
    content: '✓';
    flex-shrink: 0;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(39,174,96,.13);
    color: var(--clr-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
/* CTA button */
.cta-btn {
    justify-self: center;
    display: block;
    background: var(--clr-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 16px 34px;
    border-radius: 50px;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
}
.cta-btn:hover {
    background: var(--clr-primary-dark, #1a9e5c);
    transform: translateY(-1px);
    color: #fff;
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Header */
    .sct-header-inner { height: auto; padding: 14px 16px; }
    .sct-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--clr-card);
        border-bottom: 1px solid var(--clr-border);
        flex-direction: column;
        padding: 10px;
        gap: 2px;
        box-shadow: var(--shadow-md);
    }
    .sct-nav.open { display: flex; }
    .sct-menu {
        flex-direction: column;
        width: 100%;
    }
    .sct-menu > li { width: 100%; }
    .sct-nav a { text-align: left; }
    .sct-mobile-btn { display: block; }

    /* Mobile submenu: hidden by default, shown when parent li has .open */
    .sct-menu > li .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--clr-border);
        border-radius: 0;
        padding: 4px 0 4px 16px;
        min-width: unset;
        margin: 2px 0 0;
    }
    .sct-menu > li.open .sub-menu { display: block; }

    /* Toggle caret on mobile */
    .sct-menu > li.menu-item-has-children > a::after {
        content: ' ▾';
        float: right;
        transition: transform var(--transition);
    }
    .sct-menu > li.open > a::after {
        transform: rotate(180deg);
    }

    /* Page head */
    .sct-page-head { padding: 30px 16px 26px; }
    .sct-head-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
    .sct-head-meta .divider { display: none; }

    /* Pros/Cons stack */
    .sct-pros-cons { grid-template-columns: 1fr; }
    .sct-pros-cons .pros { border-right: none; border-bottom: 1px solid var(--clr-border); }

    /* Image + Text stack */
    .sct-image-text { grid-template-columns: 1fr; }
    .sct-image-text.reverse { direction: ltr; }
    .sct-image-text .it-img,
    .sct-image-text .it-img-ph { min-height: 200px; }

    /* Written By */
    .sct-written-by { flex-direction: column; text-align: center; }
    .sct-wb-socials { justify-content: center; }

    /* Casino Offer Cards — stack on mobile */
    .offer-card { flex-wrap: wrap; }
    .offer-content { flex: 1 1 calc(100% - 100px); }

    /* Big CTA Cards — stack on mobile */
    .sct-cta-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 24px 20px;
    }
    .cta-logo { width: 120px; }
    .cta-bullets { justify-self: start; }
    .cta-bullets li { text-align: left; }

    /* FAQ — tighter padding */
    .sct-faq-q { padding: 14px 14px; }
    .sct-faq-item.open .sct-faq-a { padding: 0 14px 14px; }

    /* Footer */
    .sct-footer-grid { grid-template-columns: 1fr 1fr; }
    .sct-footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .sct-footer-grid { grid-template-columns: 1fr; }
    .sct-text-block { padding: 22px 18px; }
    .sct-image-text .it-content { padding: 22px 18px; }
    .sct-main { padding: 28px 14px; }
    .sct-casino-table th,
    .sct-casino-table td { padding: 10px 10px; font-size: 13px; }

    /* Offer cards — full stack */
    .offer-card { padding: 14px 16px; gap: 14px; }
    .offer-card-btn { width: 100%; text-align: center; margin-top: 4px; }

    /* Bullet list tighter */
    .sct-bullet-items li { gap: 10px; }
}
