/* ==========================================================================
   Casino Starter — Footer Styles
   ========================================================================== */

.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-3xl);
}

/* --- Footer Main (widgets area) --- */
.site-footer__main {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-widget__title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget li {
    margin-bottom: var(--space-sm);
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-widget a:hover {
    color: var(--color-cta);
}

/* Widgets the owner adds to the footer (classic and block widgets) look like the footer:
   light headings, muted text and links, lists without bullets, search field + button. */
.footer-widget {
    min-width: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}
.footer-widget h1, .footer-widget h2, .footer-widget h3,
.footer-widget h4, .footer-widget h5, .footer-widget h6,
.footer-widget .wp-block-heading,
.footer-widget .wp-block-search__label {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    line-height: 1.3;
    margin: 0 0 var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-widget p { margin: 0 0 var(--space-sm); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-lg); min-width: 0; } /* widgets of one column */
.footer-widget .wp-block-group > * + * { margin-top: 0; }
.footer-widget ul ul { margin: var(--space-sm) 0 0 var(--space-md); }
.footer-widget li { color: rgba(255, 255, 255, 0.55); }  /* post counts "(3)" next to the links */
.footer-widget .wp-block-latest-comments { padding: 0; margin: 0; }
.footer-widget .wp-block-latest-comments__comment { margin-bottom: var(--space-sm); line-height: 1.5; }
.footer-widget time,
.footer-widget .wp-block-latest-posts__post-date,
.footer-widget .post-date { display: block; font-size: var(--text-xs); color: rgba(255, 255, 255, 0.45); }
.footer-widget select {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    font: inherit;
}
.footer-widget select option { color: #1a1a2e; }

/* Search: classic widget (.search-form) and block (.wp-block-search) */
.footer-widget .search-form,
.footer-widget .wp-block-search__inside-wrapper {
    display: flex;
    gap: 8px;
    width: 100%;
    border: 0;
    padding: 0;
}
.footer-widget .search-form label { flex: 1; min-width: 0; margin: 0; }
.footer-widget .search-form .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.footer-widget .search-field,
.footer-widget .wp-block-search__input,
.footer-widget input[type="search"] {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    font: inherit;
    font-size: var(--text-sm);
}
.footer-widget .search-field::placeholder,
.footer-widget .wp-block-search__input::placeholder { color: rgba(255, 255, 255, 0.45); }
.footer-widget .search-field:focus,
.footer-widget .wp-block-search__input:focus {
    outline: 2px solid var(--color-cta);
    outline-offset: 1px;
    border-color: transparent;
}
.footer-widget .search-submit,
.footer-widget .wp-block-search__button,
.footer-widget input[type="submit"] {
    flex: 0 0 auto;
    height: 40px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-cta);
    color: #1a1a2e;
    font: inherit;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    cursor: pointer;
}
.footer-widget .search-submit:hover,
.footer-widget .wp-block-search__button:hover { filter: brightness(1.05); }

/* --- Responsible Gambling Banner --- */
.responsible-gambling {
    background: var(--color-dark-lighter);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-gambling__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.responsible-gambling__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    opacity: 0.8;
}

.responsible-gambling__text {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.responsible-gambling__text strong {
    color: var(--color-white);
    display: block;
    margin-bottom: var(--space-xs);
}

.responsible-gambling__text a {
    color: var(--color-cta);
    text-decoration: underline;
}

/* --- Footer Bottom (copyright + social) --- */
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
}

.copyright a:hover {
    color: var(--color-cta);
}

/* --- Social Links --- */
.social-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.social-links__title {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-right: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-cta);
    color: var(--color-text);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* --- Footer Nav (for bottom links like privacy, sitemap) --- */
.footer-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-cta);
}

/* --- Responsible Gambling Help Links --- */
.rg-links {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-md) var(--space-md) var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.rg-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.rg-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.rg-link__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.8;
}

.rg-link__label {
    white-space: nowrap;
}

/* ==========================================================================
   Author / Casino Expert Box (E-E-A-T)
   ========================================================================== */
/* Same style as the casino data block: bold heading with an icon above a
   white card with a thin border */
.author-box {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.author-box__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    line-height: 1.25;
    color: var(--color-text);
}

.author-box__header-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-primary);
}

.author-box__body {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    align-items: flex-start;
}

.author-box__avatar {
    flex-shrink: 0;
}

.author-box__img {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--color-border);
}

.author-box__info {
    flex: 1;
    min-width: 0;
}

.author-box__name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.author-box__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.2;
}

.author-box__name:hover {
    color: var(--color-primary);
}

.author-box__verified-icon {
    flex-shrink: 0;
    display: block;
}

.author-box__jobtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    background: var(--color-primary, #0a2463);
    color: var(--color-white, #fff);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.author-box__experience {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-success, #28a745);
    margin-bottom: 10px;
    padding: 4px 12px;
    background: rgba(40, 167, 69, 0.08);
    border-radius: var(--radius-sm);
}

.author-box__experience svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.author-box__bio {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.author-box__expertise {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.author-box__expertise-label {
    font-size: 11px;
    font-weight: var(--weight-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 2px;
}

.author-box__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--weight-semibold);
    padding: 3px 10px;
    background: var(--color-light-bg, #f0f2f8);
    color: var(--color-primary, #0a2463);
    border: 1px solid var(--color-border, #dde0e8);
    border-radius: 100px;
    white-space: nowrap;
    line-height: 1.4;
}

.author-box__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.author-box__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    white-space: nowrap;
}

.author-box__meta-item svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.author-box__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.author-box__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: var(--weight-semibold);
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.author-box__link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.author-box__link svg {
    flex-shrink: 0;
}

.author-box__link--linkedin {
    background: #0077b5;
    color: #fff;
}

.author-box__link--twitter {
    background: #14171a;
    color: #fff;
}

.author-box__link--twitch,
.author-hero__link--twitch {
    background: #9146ff;
    color: #fff;
}

.author-box__link--kick,
.author-hero__link--kick {
    background: #53fc18;
    color: #000;
}

.author-box__link--web {
    background: var(--color-light-bg, #f0f0f0);
    color: var(--color-primary, #0a2463);
    border: 1px solid var(--color-border, #ddd);
}

.author-box__factcheck {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    padding-top: 10px;
    border-top: 1px solid var(--color-border, #eee);
}

.author-box__factcheck svg {
    color: var(--color-success, #28a745);
    flex-shrink: 0;
}

.author-box__factcheck-name {
    font-weight: var(--weight-semibold);
    color: var(--color-primary, #0a2463);
    text-decoration: none;
}

.author-box__factcheck-name:hover {
    text-decoration: underline;
}

.author-box__factcheck-role {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: var(--weight-normal, 400);
}

.author-box__credentials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.author-box__credentials-label {
    font-size: 11px;
    font-weight: var(--weight-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 2px;
}

.author-box__credential-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: var(--weight-semibold);
    padding: 3px 10px;
    background: rgba(245, 166, 35, 0.1);
    color: var(--color-cta, #f5a623);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 100px;
    white-space: nowrap;
    line-height: 1.4;
}

.author-box__credential-tag svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    opacity: 0.7;
    margin: 0;
}

.author-box__workplaces {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.author-box__workplaces-label {
    font-size: 11px;
    font-weight: var(--weight-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 2px;
}

.author-box__workplace-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: var(--weight-semibold);
    padding: 3px 10px;
    background: rgba(10, 36, 99, 0.06);
    color: var(--color-primary, #0a2463);
    border: 1px solid rgba(10, 36, 99, 0.15);
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none !important;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.author-box__workplace-tag:hover {
    background: var(--color-primary, #0a2463);
    color: #fff;
    border-color: var(--color-primary, #0a2463);
}

.author-box__workplace-tag svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    opacity: 0.6;
    margin: 0;
}

.author-box__workplace-tag:hover svg {
    opacity: 1;
    color: #fff;
}

.post-meta-badge__item--reviewed {
    background: rgba(40, 167, 69, 0.08);
    color: var(--color-success, #28a745);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: var(--weight-semibold);
}

/* Corrections / Change Log */
.corrections-log {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.corrections-log__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.corrections-log__header svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.corrections-log__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.corrections-log__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light, rgba(0,0,0,0.05));
}

.corrections-log__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.corrections-log__item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-text-muted);
    opacity: 0.5;
}

@media screen and (max-width: 600px) {
    .author-box__body {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .author-box__img {
        width: 72px;
        height: 72px;
    }

    .author-box__name {
        font-size: var(--text-lg);
    }

    .author-box__meta {
        gap: 8px;
    }

    .author-box__meta-item {
        white-space: normal;
    }
}

/* ==========================================================================
   Author Page (author.php)
   ========================================================================== */

/* --- Hero --- */
.author-hero {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.author-hero__avatar {
    flex-shrink: 0;
}

.author-hero__img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--color-border);
}

.author-hero__info {
    flex: 1;
    min-width: 0;
}

.author-hero__name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.author-hero__name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
}

.author-hero__verified {
    flex-shrink: 0;
}

.author-hero__jobtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    background: var(--color-primary, #0a2463);
    color: var(--color-white, #fff);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.author-hero__experience {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-success, #28a745);
    margin-bottom: 12px;
    padding: 5px 14px;
    background: rgba(40, 167, 69, 0.08);
    border-radius: var(--radius-sm);
}

.author-hero__experience svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.author-hero__bio {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.author-hero__bio p {
    margin: 0 0 8px;
}

.author-hero__bio p:last-child {
    margin-bottom: 0;
}

.author-hero__expertise {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.author-hero__expertise-label {
    font-size: 11px;
    font-weight: var(--weight-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-hero__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: var(--weight-semibold);
    padding: 4px 12px;
    background: var(--color-light-bg, #f0f2f8);
    color: var(--color-primary, #0a2463);
    border: 1px solid var(--color-border, #dde0e8);
    border-radius: 100px;
    white-space: nowrap;
}

.author-hero__credentials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.author-hero__credentials-label {
    font-size: 11px;
    font-weight: var(--weight-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-hero__credential-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: var(--weight-semibold);
    padding: 4px 12px;
    background: rgba(245, 166, 35, 0.1);
    color: var(--color-cta, #f5a623);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 100px;
    white-space: nowrap;
    line-height: 1.4;
}

.author-hero__credential-tag svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    opacity: 0.7;
    margin: 0;
}

.author-hero__workplaces {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.author-hero__workplaces-label {
    font-size: 11px;
    font-weight: var(--weight-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 2px;
}

.author-hero__workplace-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: var(--weight-semibold);
    padding: 4px 12px;
    background: rgba(10, 36, 99, 0.06);
    color: var(--color-primary, #0a2463);
    border: 1px solid rgba(10, 36, 99, 0.15);
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none !important;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.author-hero__workplace-tag:hover {
    background: var(--color-primary, #0a2463);
    color: #fff;
    border-color: var(--color-primary, #0a2463);
}

.author-hero__workplace-tag svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    opacity: 0.6;
    margin: 0;
}

.author-hero__workplace-tag:hover svg {
    opacity: 1;
    color: #fff;
}

/* --- Stats --- */
.author-hero__stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: 16px;
}

.author-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: var(--color-light-bg, #f5f6fa);
    border-radius: var(--radius-md);
    min-width: 80px;
}

.author-hero__stat-num {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--color-primary, #0a2463);
    line-height: 1;
}

.author-hero__stat-label {
    font-size: 11px;
    font-weight: var(--weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* --- Social links --- */
.author-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: var(--weight-semibold);
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.author-hero__link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.author-hero__link svg {
    flex-shrink: 0;
}

.author-hero__link--linkedin {
    background: #0077b5;
    color: #fff;
}

.author-hero__link--twitter {
    background: #14171a;
    color: #fff;
}

.author-hero__link--web {
    background: var(--color-light-bg, #f0f0f0);
    color: var(--color-primary, #0a2463);
    border: 1px solid var(--color-border, #ddd);
}

/* --- Articles section --- */
.author-articles__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary, #0a2463);
}

.author-articles__heading svg {
    color: var(--color-primary, #0a2463);
    flex-shrink: 0;
}

.author-articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

/* --- Article cards --- */
.author-article-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.author-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.author-article-card__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.author-article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.author-article-card:hover .author-article-card__img {
    transform: scale(1.03);
}

.author-article-card__body {
    padding: var(--space-lg);
}

.author-article-card__type {
    display: inline-block;
    font-size: 10px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary, #0a2463);
    background: rgba(10, 36, 99, 0.06);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.author-article-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    line-height: 1.3;
    margin: 0 0 8px;
}

.author-article-card__title a {
    color: var(--color-text);
    text-decoration: none;
}

.author-article-card__title a:hover {
    color: var(--color-primary);
}

.author-article-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0 0 12px;
}

.author-article-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* --- Mobile --- */
@media screen and (max-width: 600px) {
    .author-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .author-hero__img {
        width: 120px;
        height: 120px;
    }

    .author-hero__name-row {
        justify-content: center;
    }

    .author-hero__name {
        font-size: var(--text-xl);
    }

    .author-hero__expertise {
        justify-content: center;
    }

    .author-hero__stats {
        justify-content: center;
    }

    .author-hero__links {
        justify-content: center;
    }

    .author-articles__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   18+ Disclaimer Bar
   ========================================================================== */
.disclaimer-bar {
    background: #1a1a2e;
    color: #e0e0e0;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1000;
}

.disclaimer-bar__inner {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.disclaimer-bar__content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.disclaimer-bar__icon {
    flex-shrink: 0;
    color: #f5a623;
}

.disclaimer-bar__text {
    font-weight: 500;
}

.disclaimer-bar__help {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(245, 166, 35, 0.15);
    color: #f5a623;
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.disclaimer-bar__help:hover {
    background: rgba(245, 166, 35, 0.25);
}

.disclaimer-bar__close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.disclaimer-bar__close:hover {
    color: #fff;
}

/* ==========================================================================
   FAQ Block (Shortcode)
   ========================================================================== */
.faq-block {
    margin: var(--space-xl) 0;
}

.faq-item {
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--color-white, #fff);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--color-text, #1a1a2e);
    text-align: left;
    gap: 12px;
    line-height: 1.4;
}

.faq-item__question:hover {
    color: var(--color-primary, #0a2463);
}

.faq-item__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item__answer > div {
    padding: 0 20px 16px;
    color: var(--color-text-secondary, #555);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed, 1.7);
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   About Us Page
   ========================================================================== */
.about-page .page-title {
    margin-bottom: var(--space-xl);
}

.about-section {
    background: var(--color-white, #fff);
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.about-section__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(10, 36, 99, 0.06);
    color: var(--color-primary, #0a2463);
    margin-bottom: var(--space-md);
}

.about-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin: 0 0 var(--space-md);
}

.about-section__text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

.about-section__text p:last-child {
    margin-bottom: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.team-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-light-bg, #f5f6fa);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border, #e8e8e8);
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.team-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--color-border, #ddd);
}

.team-card__avatar-link {
    flex-shrink: 0;
}

.team-card__info {
    flex: 1;
    min-width: 0;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin: 0 0 4px;
}

.team-card__name a {
    color: var(--color-text);
    text-decoration: none;
}

.team-card__name a:hover {
    color: var(--color-primary);
}

.team-card__role {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    background: var(--color-primary, #0a2463);
    color: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}

.team-card__experience {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-success, #28a745);
    margin-bottom: 6px;
}

.team-card__bio {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0 0 6px;
}

.team-card__links {
    display: flex;
    gap: 6px;
}

.team-card__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--color-primary, #0a2463);
    color: #fff;
    transition: opacity 0.2s;
}

.team-card__social:hover {
    opacity: 0.8;
}

/* Mobile */
@media screen and (max-width: 600px) {
    .disclaimer-bar__inner {
        flex-direction: row;
        padding: 0 var(--space-md);
    }

    .disclaimer-bar__text {
        font-size: 12px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Post Meta Badge (Updated/Published/Author/Read time)
   ========================================================================== */
.post-meta-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 10px 0;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    font-size: 13px;
    color: var(--color-text-muted, #6b7280);
}

.post-meta-badge__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.post-meta-badge__item a {
    color: var(--color-primary, #0a2463);
    text-decoration: none;
    font-weight: 600;
}

.post-meta-badge__item a:hover {
    text-decoration: underline;
}

.post-meta-badge__item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.post-meta-badge__item--updated {
    background: rgba(40, 167, 69, 0.08);
    color: var(--color-success, #16a34a);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.post-meta-badge__item--updated svg {
    opacity: 1;
    color: var(--color-success, #16a34a);
}

/* ==========================================================================
   Casino Comparison Table
   ========================================================================== */
.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-xl) 0;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    background: var(--color-white, #fff);
}

.compare-table__title {
    padding: var(--space-md) var(--space-lg);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    background: var(--color-bg-alt, #f8f9fa);
    text-align: center;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 500px;
}

/* Header */
.compare-table thead tr {
    background: var(--color-light-bg, #f5f6fa);
    border-bottom: 2px solid var(--color-border);
}

.compare-table__casino-head {
    padding: var(--space-lg) var(--space-md);
    vertical-align: middle;
}

.compare-table__logo {
    display: block;
    width: 120px;
    height: 45px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.compare-table__name {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-primary, #0a2463);
    text-decoration: none;
}

.compare-table__name:hover {
    text-decoration: underline;
}

/* Body */
.compare-table tbody tr {
    border-bottom: 1px solid var(--color-border, #eff0f3);
    transition: background 0.15s;
}

.compare-table tbody tr:nth-child(even) {
    background: var(--color-light-bg, #fafbfc);
}

.compare-table tbody tr:hover {
    background: rgba(10, 36, 99, 0.02);
}

.compare-table__label {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: var(--weight-semibold);
    color: var(--color-text-muted, #6b7280);
    white-space: nowrap;
    width: 140px;
    min-width: 120px;
}

.compare-table__cell {
    padding: 12px 16px;
    font-size: var(--text-sm);
    color: var(--color-text);
    vertical-align: middle;
}

.compare-table__cell--highlight {
    font-weight: var(--weight-bold);
    color: var(--color-primary, #0a2463);
    font-size: var(--text-base);
}

/* Rating */
.compare-table__rating {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-primary, #0a2463);
    margin-bottom: 2px;
}

.compare-table__stars {
    display: flex;
    justify-content: center;
    gap: 2px;
}

/* Yes/No indicators */
.compare-table__yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.1);
    color: var(--color-success, #16a34a);
    font-weight: bold;
    font-size: 16px;
}

.compare-table__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    font-weight: bold;
    font-size: 16px;
}

/* Bonus code */
.compare-table__code {
    display: inline-block;
    padding: 3px 10px;
    background: #fff7e6;
    color: #b45309;
    border: 1px dashed #f59e0b;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* CTA Row */
.compare-table__cta-row {
    background: var(--color-light-bg, #f5f6fa) !important;
    border-top: 2px solid var(--color-border);
}

.compare-table__cta-row td {
    padding: var(--space-md) var(--space-md) var(--space-lg);
}

.compare-table__btn {
    display: inline-block;
    width: 100%;
    max-width: 160px;
    padding: 10px 16px;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-align: center;
    border-radius: var(--radius-md);
    text-decoration: none;
    margin-bottom: 6px;
}

.compare-table__review-link {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary, #0a2463);
    text-decoration: none;
}

.compare-table__review-link:hover {
    text-decoration: underline;
}

/* Mobile */
@media screen and (max-width: 600px) {
    .post-meta-badge {
        gap: 4px 10px;
        font-size: 12px;
    }

    .compare-table__label {
        font-size: 12px;
        width: 100px;
        min-width: 90px;
        padding: 10px 8px;
    }

    .compare-table__cell {
        padding: 10px 8px;
        font-size: 12px;
    }

    .compare-table__logo {
        width: 80px;
        height: 32px;
    }
}

/* ============================================================
   Casino Info Tables (basic info, payments, support)
   ============================================================ */
.casino-info-tables {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: var(--space-xl, 32px) var(--space-md, 16px);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg, 24px);
}

/* Same style as the casino data block: bold heading above a white card */
.casino-info-table {
    min-width: 0;
}

.casino-info-table__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    font-family: var(--font-heading);
    font-size: var(--text-xl, 1.25rem);
    font-weight: var(--weight-bold, 700);
    line-height: 1.25;
    color: var(--color-text, #111827);
    background: none;
    border: 0;
}

.casino-info-table__title svg {
    display: none;
}

.casino-info-table__body {
    background: var(--color-white, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.casino-info-table__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.casino-info-table__table th,
.casino-info-table__table td {
    padding: 11px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    vertical-align: middle;
}

.casino-info-table__table tr:last-child th,
.casino-info-table__table tr:last-child td {
    border-bottom: none;
}

.casino-info-table__table th {
    font-weight: var(--weight-semibold, 600);
    color: var(--color-text-muted, #6b7280);
    width: 35%;
    background: transparent;
}

.casino-info-table__table td {
    color: var(--color-text, #111827);
    word-break: break-word;
}

.casino-info-table__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.casino-info-table__table--payments {
    font-size: 0.85rem;
    min-width: 540px;
}

.casino-info-table__table--payments thead th {
    background: var(--color-bg, #f9fafb);
    font-weight: var(--weight-semibold, 600);
    color: var(--color-text-muted, #6b7280);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--color-border, #e5e7eb);
    width: auto;
    white-space: nowrap;
}

.casino-info-table__table--payments tbody td {
    font-weight: var(--weight-medium, 500);
    white-space: nowrap;
}

.casino-info-table__note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--color-text-muted, #6b7280);
    padding: 10px 20px;
    margin: 0;
    border-top: 1px solid var(--color-border, #e5e7eb);
    background: var(--color-bg, #f9fafb);
}

.casino-info-table__note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-warning, #d97706);
}

.casino-info-check {
    color: var(--color-success, #059669);
    font-weight: var(--weight-bold, 700);
    font-size: 1rem;
    margin-right: 4px;
}

.casino-info-cross {
    color: var(--color-danger, #dc2626);
    font-weight: var(--weight-bold, 700);
    font-size: 1rem;
    margin-right: 4px;
}

/* ============================================================
   Casino Test Report Table
   ============================================================ */
.casino-info-table--test-report .casino-info-table__title svg {
    color: var(--color-cta, #f59e0b);
}

.casino-info-table__table--test-report {
    width: 100%;
    border-collapse: collapse;
}

.casino-info-table__table--test-report thead th {
    background: var(--color-bg, #f9fafb);
    font-weight: var(--weight-semibold, 600);
    color: var(--color-text-muted, #6b7280);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 18px;
    border-bottom: 2px solid var(--color-border, #e5e7eb);
}

.casino-info-table__table--test-report th.col-area,
.casino-info-table__table--test-report td.col-area {
    width: 25%;
}

.casino-info-table__table--test-report th.col-result,
.casino-info-table__table--test-report td.col-result {
    width: 25%;
}

.casino-info-table__table--test-report th.col-notes,
.casino-info-table__table--test-report td.col-notes {
    width: 50%;
    color: var(--color-text-secondary, #4b5563);
    line-height: 1.5;
}

.test-report__area-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--weight-semibold, 600);
    color: var(--color-text, #111827);
}

.test-report__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(26, 86, 219, 0.08);
    color: var(--color-primary, #1a56db);
    flex-shrink: 0;
}

.casino-test-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: var(--weight-semibold, 600);
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}

/* Limits table below 600px: a "label → value" list like the facts (five columns do not fit) */
@media screen and (max-width: 600px) {
    .casino-info-table__table--payments { min-width: 0; }
    .casino-info-table__table--payments thead {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    .casino-info-table__table--payments,
    .casino-info-table__table--payments tbody,
    .casino-info-table__table--payments tr { display: block; }
    .casino-info-table__table--payments tbody td {
        display: flex;
        gap: 12px;
        padding: 9px 16px;
        border: 0;
        white-space: normal;
    }
    /* a line between visible rows only (empty ones are hidden) */
    .casino-info-table__table--payments tbody td:not(.is-empty) ~ td:not(.is-empty) {
        border-top: 1px solid var(--color-border, #e5e7eb);
    }
    .casino-info-table__table--payments tbody td::before {
        content: attr(data-label);
        flex: 0 0 40%;
        font-weight: var(--weight-semibold, 600);
        color: var(--color-text-muted, #6b7280);
    }
    .casino-info-table__table--payments tbody td.is-empty { display: none; }
}

/* --- Responsive Tablet / Mobile for Casino Info Tables --- */
@media screen and (max-width: 768px) {
    .casino-info-tables {
        padding: var(--space-md, 16px);
        gap: var(--space-md, 16px);
    }

    .casino-info-table__title {
        font-size: var(--text-lg, 1.125rem);
        margin-bottom: 8px;
    }

    .casino-info-table__table th,
    .casino-info-table__table td {
        padding: 9px 16px;
    }

    .casino-info-table__table th {
        width: 40%;
    }

    .casino-info-table__note {
        padding: 9px 16px;
    }

    .casino-info-table__table--test-report th,
    .casino-info-table__table--test-report td {
        padding: 9px 14px;
    }

    .test-report__icon {
        width: 24px;
        height: 24px;
    }

    .test-report__icon svg {
        width: 14px;
        height: 14px;
    }
}

@media screen and (max-width: 600px) {
    .casino-info-table__title {
        font-size: var(--text-lg, 1.125rem);
    }

    .casino-info-table__table {
        font-size: 0.84rem;
    }

    .casino-info-table__table th,
    .casino-info-table__table td {
        padding: 8px 12px;
    }

    .casino-info-table__table th {
        width: 44%;
    }

    .casino-info-table__table--payments {
        min-width: 480px;
        font-size: 0.8rem;
    }

    .casino-info-table__table--payments thead th,
    .casino-info-table__table--payments tbody td {
        padding: 8px 10px;
    }

    .casino-info-table__table--test-report {
        min-width: 520px;
        font-size: 0.82rem;
    }

    .casino-info-table__table--test-report thead th,
    .casino-info-table__table--test-report tbody td {
        padding: 8px 10px;
    }

    .casino-test-badge {
        font-size: 0.78rem;
        padding: 3px 8px;
    }

    .casino-info-table__note {
        padding: 8px 12px;
        font-size: 0.78rem;
    }
}

@media screen and (max-width: 420px) {
    .casino-info-tables {
        padding: var(--space-sm, 12px) var(--space-xs, 8px);
        gap: var(--space-sm, 12px);
    }

    .casino-info-table__title {
        font-size: var(--text-base, 1rem);
    }

    .casino-info-table__table {
        font-size: 0.8rem;
    }

    .casino-info-table__table th {
        width: 48%;
        font-size: 0.78rem;
    }

    .casino-info-table__table td {
        font-size: 0.8rem;
    }

    .casino-info-table__table--test-report {
        min-width: 480px;
        font-size: 0.8rem;
    }
}


/* ════════════════════════════════════════════════════════════
   SLOT CARD — used in archive-slot.php and related sections
   ════════════════════════════════════════════════════════════ */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.slot-card {
    background: var(--white, #fff);
    border: 1px solid #e5e8ef;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.slot-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10); transform: translateY(-2px); }

.slot-card__inner {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Thumbnail */
.slot-card__thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #f0f3fa;
    overflow: hidden;
}
.slot-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.slot-card__thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; font-weight: 700;
    color: #0a2463; opacity: 0.15;
}

/* Bonus Buy badge on thumb */
.slot-card__bb-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: #f5a623;
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Body */
.slot-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.slot-card__title { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.3; }
.slot-card__provider { font-size: 12px; color: #0a2463; margin: 0; }

.slot-card__stats { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 8px; border-top: 1px solid #f0f3fa; }
.slot-card__stat { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.slot-card__stat-label { color: #777; }
.slot-card__stat-value { font-weight: 600; color: #1a1a2e; }

/* Volatility badge inside card */
.slot-card__vol-badge { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 8px; }
.slot-card__vol-badge.vol-low          { background: #e8f5e9; color: #2e7d32; }
.slot-card__vol-badge.vol-medium       { background: #fff8e1; color: #f57f17; }
.slot-card__vol-badge.vol-medium-high  { background: #fff3e0; color: #e65100; }
.slot-card__vol-badge.vol-high         { background: #fce4ec; color: #c62828; }
.slot-card__vol-badge.vol-very-high    { background: #8b0000; color: #fff; }


/* ════════════════════════════════════════════════════════════
   SLOT ARCHIVE PAGE
   ════════════════════════════════════════════════════════════ */
.slot-archive { max-width: 1200px; }
.slot-archive__intro { color: #555; margin: 0 0 24px; font-size: 15px; }
.slot-archive__count { font-size: 13px; color: #888; margin: 12px 0 4px; }
.slot-archive__no-results { text-align: center; padding: 40px; color: #888; font-size: 15px; }

/* Filters */
.slot-filters { background: #f5f6fa; border-radius: 12px; padding: 20px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 14px; }
.slot-filters__search-input {
    width: 100%; max-width: 400px;
    padding: 10px 14px;
    border: 1px solid #dde1ea;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.slot-filters__search-input:focus { border-color: #0a2463; }

.slot-filters__providers { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.slot-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.slot-filters__label { font-size: 13px; font-weight: 600; color: #555; white-space: nowrap; }

.slot-filter-btn {
    padding: 6px 12px;
    border: 1px solid #dde1ea;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.slot-filter-btn:hover { background: #e9edf7; border-color: #0a2463; }
.slot-filter-btn--active { background: #0a2463; color: #fff; border-color: #0a2463; }
.slot-filter-btn--sm { font-size: 12px; padding: 4px 10px; }
.slot-filter-btn__count { font-size: 10px; background: rgba(255,255,255,0.2); border-radius: 8px; padding: 0 4px; margin-left: 4px; }

.slot-filters__checkbox { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; cursor: pointer; }
.slot-filters__checkbox input { width: 15px; height: 15px; cursor: pointer; }


/* ════════════════════════════════════════════════════════════
   SINGLE SLOT PAGE
   ════════════════════════════════════════════════════════════ */

/* Hero */
.slot-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 16px;
    padding: 28px;
}
.slot-hero__thumb { border-radius: 10px; overflow: hidden; }
.slot-hero__thumb img, .slot-hero__img { width: 100%; height: auto; display: block; border-radius: 10px; }
.slot-hero__placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(135deg, #0a2463, #1a4db3);
    display: flex; align-items: center; justify-content: center;
    font-size: 64px; font-weight: 800; color: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.slot-hero__info { display: flex; flex-direction: column; gap: 12px; }
.slot-hero__provider { font-size: 13px; color: #0a2463; font-weight: 600; margin: 0; }
.slot-hero__provider a { color: inherit; text-decoration: none; }
.slot-hero__provider a:hover { text-decoration: underline; }
.slot-hero__title { font-size: clamp(22px, 3vw, 36px); font-weight: 800; margin: 0; line-height: 1.15; color: #1a1a2e; }

/* Pills */
.slot-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-pill {
    font-size: 13px; font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.slot-pill--rtp    { background: #e8f5e9; color: #2e7d32; }
.slot-pill--maxwin { background: #e3f2fd; color: #1565c0; }
.slot-pill--bb     { background: #fff8e1; color: #f57f17; }
.slot-pill--vol-low         { background: #e8f5e9; color: #2e7d32; }
.slot-pill--vol-medium      { background: #fff8e1; color: #f57f17; }
.slot-pill--vol-medium-high { background: #fff3e0; color: #e65100; }
.slot-pill--vol-high        { background: #fce4ec; color: #c62828; }
.slot-pill--vol-very-high   { background: #8b0000; color: #fff; }

/* CTA button */
.slot-hero__cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: #f5a623; color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px; font-weight: 700;
    text-decoration: none;
    max-width: fit-content;
    transition: background 0.2s, transform 0.1s;
    margin-top: 4px;
}
.slot-hero__cta:hover { background: #e09620; transform: translateY(-1px); }
.slot-hero__cta-arrow { font-size: 18px; }
.slot-hero__disclaimer { font-size: 11px; color: #aaa; margin: 0; }

/* Stats card */
.slot-stats-card {
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.slot-stats-card__title {
    font-size: 18px; font-weight: 700;
    margin: 0 0 20px; color: #1a1a2e;
    border-bottom: 2px solid #0a2463;
    padding-bottom: 10px;
}
.slot-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.slot-stat-item {
    display: flex; flex-direction: column; gap: 4px;
    background: #f5f6fa;
    border-radius: 10px;
    padding: 14px 16px;
}
.slot-stat-item__icon { font-size: 18px; }
.slot-stat-item__label { font-size: 11px; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.slot-stat-item__value { font-size: 16px; font-weight: 700; color: #1a1a2e; }
.slot-stat-item__value a { color: #0a2463; text-decoration: none; }
.slot-stat-item__value a:hover { text-decoration: underline; }

/* Volatility color coding in stats */
.slot-stat-item__value--vol-low         { color: #2e7d32; }
.slot-stat-item__value--vol-medium      { color: #f57f17; }
.slot-stat-item__value--vol-medium-high { color: #e65100; }
.slot-stat-item__value--vol-high        { color: #c62828; }
.slot-stat-item__value--vol-very-high   { color: #8b0000; }

/* Volatility bar */
.slot-vol-bar-wrap {
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.slot-vol-bar-label { font-size: 12px; font-weight: 600; color: #888; white-space: nowrap; }
.slot-vol-bar {
    flex: 1; min-width: 120px;
    display: flex; gap: 4px;
}
.slot-vol-bar__seg {
    flex: 1; height: 12px; border-radius: 6px;
    background: #e5e8ef;
    transition: background 0.3s;
}
.slot-vol-bar__seg--v1.slot-vol-bar__seg--active { background: #2e7d32; }
.slot-vol-bar__seg--v2.slot-vol-bar__seg--active { background: #f9a825; }
.slot-vol-bar__seg--v3.slot-vol-bar__seg--active { background: #ef6c00; }
.slot-vol-bar__seg--v4.slot-vol-bar__seg--active { background: #c62828; }
.slot-vol-bar__seg--v5.slot-vol-bar__seg--active { background: #6a0000; }
.slot-vol-bar-current { font-size: 13px; font-weight: 700; color: #1a1a2e; margin-left: 4px; }

/* Review content */
.slot-review-content {
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

/* Features card */
.slot-features-card {
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.slot-features-card__title { font-size: 18px; font-weight: 700; margin: 0 0 16px; color: #1a1a2e; border-bottom: 2px solid #0a2463; padding-bottom: 10px; }
.slot-features-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.slot-features-list__item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; padding: 8px 12px; background: #f5f6fa; border-radius: 8px; }
.slot-features-list__icon { color: #28a745; font-size: 14px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* Bottom CTA */
.slot-cta-bottom { text-align: center; background: linear-gradient(135deg, #0a2463, #1a4db3); border-radius: 16px; padding: 32px; margin-bottom: 32px; }
.slot-cta-bottom .btn--large { font-size: 18px; padding: 16px 36px; }
.slot-cta-bottom__disclaimer { color: rgba(255,255,255,0.6); font-size: 11px; margin: 12px 0 0; }

/* Related slots */
.slot-related { margin-top: 32px; }
.slot-related__title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.slot-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — SLOTS
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .slot-hero { grid-template-columns: 1fr; gap: 20px; }
    .slot-hero__thumb { max-width: 320px; }
    .slot-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .slot-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .slot-hero { padding: 18px; }
    .slot-stats-card { padding: 18px; }
    .slot-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .slot-stat-item { padding: 10px 12px; }
    .slot-stat-item__value { font-size: 14px; }
    .slot-features-list { grid-template-columns: 1fr; }
    .slot-vol-bar-wrap { padding: 12px 14px; }
    .slot-filters { padding: 14px; }
    .slot-filter-btn { font-size: 12px; padding: 5px 10px; }
}

@media (max-width: 400px) {
    .slot-grid { grid-template-columns: 1fr; }
    .slot-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Closed Casino Explanation Banner & Alternatives
   ============================================================ */
.casino-closed-banner {
    background: #fff8f8;
    border: 2px solid #ef4444;
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    margin: 0 auto 28px;
    max-width: 960px;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.08);
}

.casino-closed-banner__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.casino-closed-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.casino-closed-banner__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #991b1b;
    margin: 0;
    line-height: 1.3;
}

.casino-closed-banner__desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563;
    margin: 0 0 20px;
}

.casino-closed-banner__alternatives {
    background: #ffffff;
    border: 1px solid #fee2e2;
    border-radius: var(--radius-md, 8px);
    padding: 18px;
}

.casino-closed-banner__alt-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #1f2937;
    flex-wrap: wrap;
}

.casino-closed-banner__alt-star {
    color: #f59e0b;
    font-size: 1.1rem;
}

.casino-closed-banner__alt-sub {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: normal;
}

.casino-closed-banner__alt-grid {
    display: grid;
    /* min(…, 100%): a column is never wider than the box (a long bonus must not widen the page) */
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 14px;
}

/* Compact Alternative Casino Card */
.casino-alt-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.casino-alt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.casino-alt-card__logo-wrap {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.casino-alt-card__logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-alt-card__logo-placeholder {
    width: 36px;
    height: 36px;
    background: #0a2463;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
}

.casino-alt-card__details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.casino-alt-card__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-alt-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #6b7280;
}

.casino-alt-card__bonus {
    font-size: 0.78rem;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-alt-card__action {
    flex-shrink: 0;
}

.casino-alt-card__btn {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* Bonus hero closed state */
.bonus-hero--closed {
    border-top: 4px solid #ef4444;
}

.bonus-hero--closed .bonus-hero__logo {
    filter: grayscale(30%);
}

.bonus-hero__closed-hint {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   Closed Casino Pop-up Modal
   ============================================================ */
.casino-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.casino-modal[hidden] {
    display: none !important;
}

.casino-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.casino-modal__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 36, 99, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    z-index: 1;
}

.casino-modal__dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 28px 24px;
    box-sizing: border-box;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.casino-modal.is-open .casino-modal__dialog {
    transform: scale(1) translateY(0);
}

.casino-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f3f4f6;
    border: none;
    font-size: 24px;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.casino-modal__close:hover {
    background: #e5e7eb;
    color: #111827;
}

.casino-modal__header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.casino-modal__status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.casino-modal__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.3;
}

.casino-modal__desc {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

.casino-modal__alt-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #111827;
}

.casino-modal__alt-icon {
    color: #f59e0b;
}

.casino-modal__alt-subtitle {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: normal;
}

.casino-modal__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.casino-modal__item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.casino-modal__item:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.casino-modal__item-media {
    width: 80px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-modal__item-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-modal__item-logo-placeholder {
    width: 44px;
    height: 44px;
    background: #0a2463;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
}

.casino-modal__item-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.casino-modal__item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-modal__item-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #6b7280;
}

.casino-modal__item-bonus {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 600;
    line-height: 1.2;
}

.casino-modal__item-spins {
    display: inline-block;
    background: #e6f4ea;
    color: #137333;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 4px;
}

.casino-modal__item-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.casino-modal__footer {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}

.casino-modal__disclaimer {
    font-size: 11px;
    color: #9ca3af;
    letter-spacing: 0.3px;
}

@media (max-width: 600px) {
    .casino-modal__dialog {
        padding: 24px 18px 18px;
    }
    .casino-modal__item {
        grid-template-columns: 72px minmax(0, 1fr); /* logo column as wide as the logo box: no overlap */
        gap: 10px 12px;
        padding: 12px;
    }
    .casino-modal__item-media { width: 72px; height: 40px; }
    .casino-modal__item-bonus { overflow-wrap: anywhere; }
    .casino-modal__item-action {
        grid-column: 1 / -1;
    }
    .casino-modal__item-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    .casino-closed-banner {
        padding: 18px 14px;
    }
    .casino-closed-banner__alt-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Alternatives on a closed casino page, phones: logo | name, stars, bonus (wraps); the button full width below */
@media (max-width: 480px) {
    .casino-closed-banner__alternatives { padding: 14px 12px; }
    .casino-alt-card {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 10px;
        padding: 12px;
    }
    .casino-alt-card__logo-wrap { width: 64px; height: 40px; }
    .casino-alt-card__bonus { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.3; }
    .casino-alt-card__action { grid-column: 1 / -1; }
    .casino-alt-card__btn { display: block; width: 100%; text-align: center; padding: 10px; font-size: 0.9rem; }
}

/* ============================================================
   Recommended Casinos on Single Slot (Where to Play)
   ============================================================ */
.slot-casinos {
    background: #ffffff;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.slot-casinos__header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.slot-casinos__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: var(--color-text, #111827);
    margin: 0 0 6px;
    line-height: 1.25;
}

.slot-casinos__title svg {
    color: var(--color-primary, #0a2463);
    flex-shrink: 0;
}

.slot-casinos__subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted, #6b7280);
    margin: 0;
    line-height: 1.4;
}

.slot-casinos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.slot-casino-card {
    background: #f8fafc;
    border: 1.5px solid var(--color-border, #e2e8f0);
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.slot-casino-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.slot-casino-card--top {
    background: #ffffff;
    border-color: var(--color-cta, #f5a623);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.12);
}

.slot-casino-card--top:hover {
    border-color: #e09620;
    box-shadow: 0 10px 28px rgba(245, 166, 35, 0.2);
}

.slot-casino-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 24px;
}

.slot-casino-card__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-primary, #0a2463);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.slot-casino-card--top .slot-casino-card__rank {
    background: var(--color-cta, #f5a623);
    color: #ffffff;
}

.slot-casino-card__top-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    padding: 3px 9px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.slot-casino-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    line-height: 1.3;
}

.slot-casino-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    max-height: 70px;
    padding: 6px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    overflow: hidden;
}

.slot-casino-card__logo {
    max-height: 52px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.slot-casino-card__logo-wrap:hover .slot-casino-card__logo {
    transform: scale(1.04);
}

.slot-casino-card__logo-fallback {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-primary, #0a2463);
    text-align: center;
}

.slot-casino-card__name {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.slot-casino-card__name a {
    color: var(--color-text, #111827);
    text-decoration: none;
}

.slot-casino-card__name a:hover {
    color: var(--color-primary, #0a2463);
}

.slot-casino-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
}

.slot-casino-card__stars {
    display: flex;
    align-items: center;
}

.slot-casino-card__stars .star {
    width: 15px;
    height: 15px;
    color: #f59e0b;
}

.slot-casino-card__stars .star--empty {
    color: #cbd5e1;
}

.slot-casino-card__score {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
}

.slot-casino-card__bonus {
    background: #eff6ff;
    border: 1px dashed #bfdbfe;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
}

.slot-casino-card__bonus-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 2px;
}

.slot-casino-card__bonus-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.25;
}

.slot-casino-card__spins {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    margin-top: 2px;
}

.slot-casino-card__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: #475569;
}

.slot-casino-card__perks li {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.slot-casino-card__perks svg {
    color: #10b981;
    flex-shrink: 0;
}

.slot-casino-card__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.slot-casino-card__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(245, 166, 35, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.slot-casino-card__btn:hover {
    transform: translateY(-1px);
}

.slot-casino-card__btn-arrow {
    font-size: 16px;
    transition: transform 0.15s ease;
}

.slot-casino-card__btn:hover .slot-casino-card__btn-arrow {
    transform: translateX(3px);
}

.slot-casino-card__review-link {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    text-decoration: none;
    transition: color 0.15s ease;
}

.slot-casino-card__review-link:hover {
    color: var(--color-primary, #0a2463);
    text-decoration: underline;
}

.slot-casino-card__disclaimer {
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    margin: 0;
}

@media (max-width: 900px) {
    .slot-casinos__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .slot-casino-card {
        padding: 16px;
    }
}

