/*
 * No Deposit Casinos USA theme styles.
 * Brand tokens are defined once here. The NDC plugin reads the same
 * --ndc-* names, so changing a color here changes it in the lists too.
 */

:root {
    --ndc-navy: #0A2A66;
    --ndc-red: #C8102E;
    --ndc-red-dark: #A00D25;
    --ndc-ink: #0F1B33;
    --ndc-text: #3B4556;
    --ndc-muted: #4F5A6B;
    --ndc-faint: #6B7689;
    --ndc-line: #D9DEE8;
    --ndc-bg: #F4F6FA;
    --ndc-surface: #FFFFFF;
    --ndc-pale: #E8EEF8;
    --ndc-ticket: #EEF3FB;
    --ndc-ticket-btn: #DCE6F7;
    --ndc-chip: #EEF1F6;
    --ndc-chip-us: #E3EBF8;
    --ndc-hero-soft: #A9C0EC;
    --ndc-focus: #2F6FE0;
    --ndc-font-display: 'Archivo', system-ui, sans-serif;
    --ndc-font-body: 'Source Sans 3', system-ui, sans-serif;
    --ndc-font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ndc-wrap: 1200px;
    --ndc-gutter: 24px;
}

/* =========================================================
   BASE
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--ndc-bg);
    color: var(--ndc-ink);
    font-family: var(--ndc-font-body);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--ndc-navy); text-underline-offset: 2px; }
a:hover { color: var(--ndc-red); }

h1, h2, h3, h4 {
    font-family: var(--ndc-font-display);
    color: var(--ndc-navy);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

:focus-visible { outline: 3px solid var(--ndc-focus); outline-offset: 2px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed !important;
    top: 8px; left: 8px;
    width: auto; height: auto;
    clip: auto;
    margin: 0;
    padding: 12px 18px;
    background: #FFFFFF;
    color: var(--ndc-navy);
    font-weight: 700;
    z-index: 1000;
    border-radius: 8px;
}

.ndc-wrap {
    width: 100%;
    max-width: var(--ndc-wrap);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ndc-gutter);
    padding-right: var(--ndc-gutter);
}

/* Buttons */
.ndc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    text-align: center;
}
.ndc-button-red { background: var(--ndc-red); color: #FFFFFF; }
.ndc-button-red:hover, .ndc-button-red:focus { background: var(--ndc-red-dark); color: #FFFFFF; }
.ndc-button-navy { background: var(--ndc-navy); color: #FFFFFF; }
.ndc-button-navy:hover, .ndc-button-navy:focus { background: #071D49; color: #FFFFFF; }

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: var(--ndc-surface);
    border-top: 5px solid var(--ndc-red);
    border-bottom: 1px solid var(--ndc-line);
    position: relative;
    z-index: 50;
}
.site-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.site-logo { display: block; line-height: 0; }
.ndc-logo-img { display: block; width: 230px; max-width: 100%; height: auto; }

.site-nav-list,
.site-nav-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
}
.site-nav-list > li { position: relative; }
.site-nav-list a {
    display: block;
    padding: 10px 0;
    color: var(--ndc-navy);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}
.site-nav-list a:hover,
.site-nav-list .current-menu-item > a,
.site-nav-list .current-menu-ancestor > a { color: var(--ndc-red); }
.site-nav-list .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Second level: drop-down on desktop */
.site-nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 220px;
    padding: 8px 0;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-top: 3px solid var(--ndc-red);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 24px rgba(10, 42, 102, 0.12);
}
.site-nav-list .sub-menu a { padding: 8px 16px; font-weight: 600; }
.site-nav-list li:hover > .sub-menu,
.site-nav-list li:focus-within > .sub-menu { display: block; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--ndc-navy);
    color: #FFFFFF;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

@media (max-width: 860px) {
    .site-header { border-top-width: 4px; }
    .site-header-inner { padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
    .site-logo .ndc-logo-img { width: 180px; }
    .nav-toggle { display: inline-flex; flex: 0 0 auto; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ndc-surface);
        border-bottom: 3px solid var(--ndc-red);
        box-shadow: 0 12px 24px rgba(10, 42, 102, 0.14);
    }
    .site-nav.is-open { display: block; }
    .site-nav-list { flex-direction: column; gap: 0; padding: 8px var(--ndc-gutter) 16px; }
    .site-nav-list a { padding: 12px 0; border-bottom: 1px solid var(--ndc-line); font-size: 17px; }
    .site-nav-list .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
}

/* =========================================================
   HERO
   ========================================================= */

.hero { padding: 56px 0 8px; }
.hero-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}
.hero-main { flex: 999 1 560px; min-width: 0; }
.hero-eyebrow {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ndc-red);
}
.hero-title {
    margin: 0 0 18px;
    font-weight: 800;
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.hero-intro {
    margin: 0 0 28px;
    max-width: 620px;
    font-size: 19px;
    color: var(--ndc-text);
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stat {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 14px 20px;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-radius: 12px;
}
.hero-stat-value {
    font: 800 30px/1.1 var(--ndc-font-display);
    color: var(--ndc-navy);
}
.hero-stat-label { font-size: 15px; color: var(--ndc-muted); }

.hero-card {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    background: var(--ndc-navy);
    color: #E8EEF8;
    border-radius: 18px;
    border-bottom: 6px solid var(--ndc-red);
}
.hero-card-label {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ndc-hero-soft);
}
.hero-card-casino { display: flex; align-items: center; gap: 14px; }
.hero-card-logo {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #FFFFFF;
    object-fit: contain;
}
.hero-card-logo.ndc-logo-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font: 800 20px/1 var(--ndc-font-display);
    color: var(--ndc-navy);
}
.hero-card-name { font: 700 22px/1.2 var(--ndc-font-display); color: #FFFFFF; }
.hero-card-sw { font-size: 15px; }
.hero-card-amount {
    font: 800 64px/1 var(--ndc-font-display);
    color: #FFFFFF;
}
.hero-card-amount span { font-size: 22px; font-weight: 700; color: var(--ndc-hero-soft); }
.hero-card-ticket {
    display: flex;
    align-items: stretch;
    border: 2px dashed var(--ndc-hero-soft);
    border-radius: 10px;
    overflow: hidden;
}
.hero-card-code {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font: 700 20px/1.3 var(--ndc-font-mono);
    letter-spacing: 0.04em;
    color: #FFFFFF;
    overflow-wrap: anywhere;
}
.hero-card-copy {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    background: #FFFFFF;
    color: var(--ndc-navy);
    font: 700 15px/1 var(--ndc-font-body);
    cursor: pointer;
}
.hero-card-copy:hover { background: var(--ndc-pale); }
.hero-card-cta { width: 100%; min-height: 52px; }
.hero-card :focus-visible { outline-color: #FFFFFF; }

.hero-disclosure {
    margin: 28px 0 0;
    font-size: 15px;
    color: var(--ndc-muted);
}

@media (max-width: 640px) {
    .hero { padding-top: 28px; }
    .hero-inner { gap: 24px; }
    .hero-intro { font-size: 17px; margin-bottom: 18px; }
    .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .hero-stat { min-width: 0; padding: 10px 14px; }
    .hero-stat-value { font-size: 24px; }
    .hero-stat-label { font-size: 14px; }
    .hero-card { padding: 22px; }
    .hero-card-amount { font-size: 52px; }
}

/* =========================================================
   CONTENT
   Text stays at a readable width; lists, tables and full-width
   blocks use the whole container.
   ========================================================= */

.site-main { padding-bottom: 56px; }

.entry { padding-top: 40px; }
.entry-header { margin: 0 0 24px; }
.entry-title {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
}
.entry-meta { margin: 0; font-size: 15px; color: var(--ndc-muted); }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { border-radius: 14px; display: block; }

.entry-content { padding-top: 24px; }
.entry-content-home { padding-top: 36px; }

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > blockquote,
.entry-content > .wp-block-details,
.entry-content > details,
.entry-content > .wp-block-image:not(.alignwide):not(.alignfull) {
    max-width: 820px;
}

.entry-content > h2 {
    margin: 48px 0 14px;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
}
.entry-content > h2:first-child { margin-top: 0; }
/* Scoped to the page's own text with ">" so none of it reaches inside the
   plugin's lists (row titles are h3s, rows are li elements). */
.entry-content > h3 { font-size: 21px; margin: 32px 0 8px; }
.entry-content > p,
.entry-content > ul > li,
.entry-content > ol > li { color: var(--ndc-text); }
.entry-content strong { color: var(--ndc-ink); }
.entry-content > ul > li + li,
.entry-content > ol > li + li { margin-top: 6px; }

.entry-content blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 20px;
    border-left: 4px solid var(--ndc-red);
    color: var(--ndc-ink);
    font-size: 19px;
}

/* Full-width blocks */
.entry-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.entry-content .alignwide { max-width: var(--ndc-wrap); }

/* White band (the "How to claim" pattern, or any group with class ndc-band) */
.ndc-band {
    background: var(--ndc-surface);
    border-top: 1px solid var(--ndc-line);
    border-bottom: 1px solid var(--ndc-line);
    padding: 56px var(--ndc-gutter);
    margin-top: 40px;
    margin-bottom: 40px;
}
/* Doubled class: WordPress's own ".is-layout-constrained > *" rule has the
   same specificity, prints later, and sets max-width from a content-size
   variable a classic theme doesn't define, which leaves it at "none". */
.ndc-band.ndc-band > * {
    max-width: calc(var(--ndc-wrap) - (var(--ndc-gutter) * 2));
    margin-left: auto !important;
    margin-right: auto !important;
}
.ndc-band > h2 { margin-top: 0; margin-bottom: 28px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }

/* Step cards */
.ndc-steps { gap: 20px !important; }
.ndc-step {
    padding: 24px;
    border: 1px solid var(--ndc-line);
    border-radius: 14px;
    background: var(--ndc-bg);
}
.ndc-step h3 { margin: 12px 0 6px; font-size: 20px; }
.ndc-step p { margin: 0; color: var(--ndc-text); }
.ndc-step .ndc-step-num {
    font: 800 40px/1 var(--ndc-font-display);
    color: var(--ndc-red);
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: var(--ndc-surface);
}
.entry-content .wp-block-table,
.entry-content > table {
    margin: 0 0 28px;
    overflow-x: auto;
    border: 1px solid var(--ndc-line);
    border-radius: 14px;
    background: var(--ndc-surface);
}
.entry-content .wp-block-table table { border: 0; }
.entry-content th,
.entry-content td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-top: 1px solid var(--ndc-line);
}
.entry-content thead th {
    background: var(--ndc-navy);
    color: #FFFFFF;
    font-weight: 700;
    border-top: 0;
}
.entry-content tbody tr:nth-child(even) { background: #F7F9FC; }
.entry-content td { color: var(--ndc-text); }
.entry-content .wp-block-table figcaption { padding: 8px 16px; font-size: 14px; color: var(--ndc-muted); }

/* FAQ / details */
.entry-content details {
    margin: 0 0 10px;
    padding: 16px 20px;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-radius: 12px;
}
.entry-content summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    color: var(--ndc-navy);
}
.entry-content details[open] summary { margin-bottom: 10px; }
.entry-content details > :last-child { margin-bottom: 0; }

/* Images */
.entry-content img { border-radius: 10px; }
.entry-content figcaption { font-size: 14px; color: var(--ndc-muted); }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }

.page-links { margin: 24px 0; font-weight: 700; }

/* Post navigation */
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 48px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--ndc-line);
}
.post-navigation a { font-weight: 700; text-decoration: none; }
.post-navigation .nav-dir {
    display: block;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ndc-muted);
}
.post-navigation .nav-next { text-align: right; margin-left: auto; }

/* =========================================================
   CONTENT FROM THE PREVIOUS THEME
   [_section] blocks and the classes used inside them.
   ========================================================= */

.ndc-section { margin: 0 0 48px; }
.ndc-section > * { max-width: 820px; }
.ndc-section > table,
.ndc-section > .ndc-list,
.ndc-section > .row,
.ndc-section > .grid,
.ndc-section > .ndc-trust-grid,
.ndc-section > figure { max-width: none; }
.ndc-section-title {
    margin: 0 0 14px;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
}
.ndc-section h1 {
    margin: 0 0 16px;
    font-weight: 800;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}
.ndc-section p,
.ndc-section li { color: var(--ndc-text); }
.ndc-section h3 { font-size: 20px; margin: 24px 0 8px; }

/* Three-across strip ("row promotions" / "col-md-4") */
.ndc-section .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.ndc-section .row > [class*="col-"] { min-width: 0; }
.ndc-section .promotion {
    height: 100%;
    padding: 20px 22px;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-top: 4px solid var(--ndc-red);
    border-radius: 12px;
}
.ndc-section .promotion h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--ndc-navy);
}
.ndc-section .promotion p { margin: 4px 0 0; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ndc-muted); }

/* Two-column grid */
.ndc-section .grid { display: grid; gap: 20px 32px; margin: 16px 0 24px; }
.ndc-section .grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ndc-section .grid > div {
    padding: 18px 22px;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-radius: 12px;
}
.ndc-section .grid h3 { margin-top: 0; }
.ndc-section .grid ul { margin-bottom: 0; padding-left: 20px; }

/* Callouts */
.ndc-section .tip,
.ndc-section .warning {
    margin: 20px 0;
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--ndc-ink);
}
.ndc-section .tip { background: var(--ndc-pale); border-left: 4px solid var(--ndc-navy); }
.ndc-section .warning { background: #FDEEF0; border-left: 4px solid var(--ndc-red); }
.ndc-section .tip p:last-child,
.ndc-section .warning p:last-child { margin-bottom: 0; }

.ndc-section .kbd {
    display: inline-block;
    padding: 1px 7px;
    font: 700 0.9em/1.4 var(--ndc-font-mono);
    color: var(--ndc-navy);
    background: var(--ndc-ticket);
    border: 1px solid #C9D8F2;
    border-radius: 6px;
}

/* FAQ section: bold question lines followed by answers */
.ndc-section.faq p {
    margin: 0 0 6px;
}
.ndc-section.faq p strong:first-child {
    display: block;
    margin-top: 18px;
    font-size: 18px;
    color: var(--ndc-navy);
}

/* Hand-written tables inside sections */
.ndc-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-radius: 14px;
    overflow: hidden;
    margin: 0 0 28px;
}
.ndc-section th,
.ndc-section td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid var(--ndc-line);
}
.ndc-section thead th {
    background: var(--ndc-navy);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-top: 0;
}
.ndc-section tbody tr:nth-child(even) { background: #F7F9FC; }
.ndc-section td a { font-weight: 700; }
.ndc-section td a.link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--ndc-red);
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}
.ndc-section td a.link:hover { background: var(--ndc-red-dark); color: #FFFFFF; }

@media (max-width: 760px) {
    /* Wide tables scroll sideways inside their own box on phones */
    .ndc-section table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .ndc-section .grid > div,
    .ndc-section .promotion { padding: 16px; }
}

/* =========================================================
   CASINO REVIEW TEMPLATE
   ========================================================= */

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: var(--ndc-muted);
    margin-bottom: 18px;
}
.crumbs a { color: var(--ndc-navy); }

.review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas:
        "head  aside"
        "body  aside";
    column-gap: 56px;
    align-items: start;
}
.review-grid-solo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
.review-header { grid-area: head; margin-bottom: 0; }
.review-aside {
    grid-area: aside;
    position: sticky;
    top: 24px;
}
.admin-bar .review-aside { top: 56px; }
.review-content { grid-area: body; max-width: 760px; }
.review-content > p,
.review-content > ul,
.review-content > ol,
.review-content > h2,
.review-content > h3 { max-width: none; }
.review-content > p:first-child { font-size: 19px; color: var(--ndc-ink); }

@media (max-width: 960px) {
    .review-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "head" "aside" "body";
    }
    .review-aside { position: static; margin-top: 20px; }
    .review-aside .ndc-review-block { max-width: 420px; }
}

/* =========================================================
   POST GRID (blog, archives, search)
   ========================================================= */

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 12px;
}
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-radius: 14px;
    overflow: hidden;
}
.post-card-img { display: block; aspect-ratio: 16 / 9; background: var(--ndc-pale); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 18px 20px 20px; }
.post-card-title { margin: 0 0 6px; font-size: 20px; }
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; }
.post-card-meta { margin: 0 0 8px; font-size: 14px; color: var(--ndc-muted); }
.post-card-excerpt p { margin: 0; color: var(--ndc-text); font-size: 16px; }

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ndc-line);
    border-radius: 10px;
    background: var(--ndc-surface);
    text-decoration: none;
    font-weight: 700;
}
.pagination .page-numbers.current { background: var(--ndc-navy); border-color: var(--ndc-navy); color: #FFFFFF; }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 520px; margin-top: 16px; }
.search-form label { flex: 1; }
.search-field {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1.5px solid #C5CCDA;
    border-radius: 10px;
    font: inherit;
}
.search-submit {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--ndc-navy);
    color: #FFFFFF;
    font: 700 16px/1 var(--ndc-font-body);
    cursor: pointer;
}

.not-found { padding-top: 64px; max-width: 760px; }
.not-found .entry-title { margin-bottom: 14px; }
.not-found p { color: var(--ndc-text); }

/* Comments */
.comments { margin-top: 48px; max-width: 820px; }
.comment-list { padding-left: 20px; }

/* =========================================================
   RESPONSIBLE GAMBLING BAND
   ========================================================= */

.rg-band {
    background: var(--ndc-pale);
    border-top: 4px solid var(--ndc-red);
}
.rg-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
}
.rg-band-text { flex: 1 1 520px; }
.rg-band h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.rg-band p { margin: 0; color: #26324A; }

@media (max-width: 640px) {
    .rg-band-inner { padding-top: 22px; padding-bottom: 22px; }
    .rg-band h2 { font-size: 20px; }
    .rg-band .ndc-button { width: 100%; }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--ndc-navy);
    color: #C8D3E6;
    padding: 44px 0 28px;
}
.site-footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}
.site-footer-brand { flex: 1 1 280px; }
.site-footer-logo {
    display: inline-block;
    padding: 10px 14px;
    margin-bottom: 18px;
    background: #FFFFFF;
    border-radius: 10px;
    line-height: 0;
}
.site-footer-logo .ndc-logo-img { width: 200px; }
.site-footer-label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-footer-seal ul { list-style: none; margin: 0; padding: 0; }
.site-footer-seal img { display: block; }
.site-footer-nav { flex: 2 1 520px; }
.site-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    font-size: 15px;
}
.site-footer a { color: #E8EEF8; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer :focus-visible { outline-color: #FFFFFF; }
.site-footer-list .sub-menu {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.site-footer-heading {
    display: block;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-footer-bottom {
    padding-top: 18px;
    border-top: 1px solid #23427F;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    font-size: 14px;
}
.site-footer-copy,
.site-footer-note { margin: 0; }
.site-footer-note a { font-weight: 700; white-space: nowrap; }

@media (max-width: 640px) {
    .site-footer { padding-top: 28px; }
    .site-footer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .site-footer-logo .ndc-logo-img { width: 170px; }
}

@media (max-width: 640px) {
    :root { --ndc-gutter: 16px; }
    body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================
   AUTHORS
   ========================================================= */

.entry-meta a { color: var(--ndc-navy); font-weight: 600; }
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 40px 0 0;
    padding: 22px;
    background: var(--ndc-surface);
    border: 1px solid var(--ndc-line);
    border-radius: 12px;
}
.author-box-photo { flex: 0 0 auto; line-height: 0; }
.author-box-photo img,
.author-head-photo img { border-radius: 50%; display: block; object-fit: cover; }
.author-box-photo img { width: 88px; height: 88px; }
/* Simple Author Box caps its images at 75px wide; undo that here. */
.author-box-photo img.avatar,
.author-head-photo img.avatar { max-width: none; }
.author-box-text { min-width: 0; }
.author-box-text p { margin: 0 0 8px; }
.author-box-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ndc-faint);
}
.author-box-name { font-family: var(--ndc-font-display); font-size: 20px; font-weight: 800; }
.author-box-name a { color: var(--ndc-ink); text-decoration: none; }
.author-box-more { margin-bottom: 0; font-weight: 600; }

.author-head {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-bottom: 36px;
}
.author-head-photo { flex: 0 0 auto; }
.author-head-photo img { width: 140px; height: 140px; }
.author-head-bio p { max-width: 720px; }
.author-list { margin-bottom: 32px; }
.author-list ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

@media (max-width: 640px) {
    .author-box { flex-direction: column; padding: 18px; }
    .author-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .author-head-photo img { width: 110px; height: 110px; }
}

/* Key facts box at the top of a review */
.entry-content .ndc-facts { margin: 0 0 28px; }
.entry-content .ndc-facts table { border: 2px solid var(--ndc-navy); }
.entry-content .ndc-facts th[colspan] { background: var(--ndc-navy); color: #fff; text-align: left; font-size: 17px; }
.entry-content .ndc-facts td:first-child { width: 38%; font-weight: 700; color: var(--ndc-navy); }

/* FAQ questions written as <details class="ndc-faq-item"> */
.entry-content .ndc-faq { margin: 0 0 24px; }
.entry-content .ndc-faq-item summary::marker { color: var(--ndc-red); }

/* Review index on the Reviews page */
.ndc-review-index { display: grid; gap: 16px; margin: 0 0 32px; }
.ndc-review-item { padding: 18px 20px; background: var(--ndc-surface); border: 1px solid var(--ndc-line); border-radius: 12px; }
.ndc-review-item h3 { margin: 0 0 4px; font-size: 20px; }
.ndc-review-item p { margin: 0; }
.ndc-review-item .ndc-review-item-date { margin-bottom: 8px; font-size: 14px; color: var(--ndc-muted); }

/* "Before you play" guide links at the end of a review */
.review-guides { margin: 32px 0; padding: 20px 24px; background: var(--ndc-surface); border: 1px solid var(--ndc-line); border-radius: 12px; }
.review-guides h2 { margin: 0 0 12px; font-size: 22px; }
.review-guides ul { margin: 0; padding: 0; list-style: none; }
.review-guides li { padding: 8px 0; border-top: 1px solid var(--ndc-line); }
.review-guides li:first-child { border-top: 0; }
.review-guides a { font-weight: 700; }
.review-guides span { display: block; font-size: 15px; color: var(--ndc-muted); }
