/**
 * Bookmaker Review CSS — Premium review page design
 * Matches homepage style: Barlow Condensed, dark hero, white cards
 *
 * @since 3.9.0
 */


/* ═══════════════════════════════════════════
   GENERATEPRESS OVERRIDES
   ═══════════════════════════════════════════ */

body:has(.rems-bkr-page) .entry-header,
body:has(.rems-bkr-page) .page-header-content {
    display: none !important;
}

body:has(.rems-bkr-page) .inside-article {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* ═══════════════════════════════════════════
   PAGE CONTAINER
   ═══════════════════════════════════════════ */

.rems-bkr-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 48px;
}


/* ═══════════════════════════════════════════
   SECTION 1 : HERO
   ═══════════════════════════════════════════ */

.rems-bkr-hero {
    background: linear-gradient(145deg, #0a0f1e 0%, #111827 50%, #0f172a 100%);
    border-radius: 16px;
    padding: 40px 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rems-bkr-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rems-team-a, #6366f1), #a855f7, var(--rems-team-b, #f97316));
}

.rems-bkr-hero-inner {
    position: relative;
    z-index: 1;
}

.rems-bkr-hero-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: #ffffff;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.rems-bkr-hero-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rems-bkr-hero-h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
    line-height: 1.15;
    text-transform: uppercase;
}

/* Rating stars */
.rems-bkr-hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 14px;
}

.rems-bkr-star {
    font-size: 1.4rem;
    color: #475569;
    line-height: 1;
}

.rems-bkr-star--filled {
    color: #fbbf24;
}

.rems-bkr-rating-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    margin-left: 8px;
}

.rems-bkr-hero-bonus {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fbbf24;
    margin: 0 0 20px;
}

.rems-bkr-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--rems-cta-color, #1e8b3a);
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(30, 139, 58, 0.35);
}

.rems-bkr-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(30, 139, 58, 0.45);
    color: #ffffff;
    text-decoration: none;
}

.rems-bkr-hero-disclaimer {
    font-size: 0.7rem;
    color: #64748b;
    margin: 14px 0 0;
}


/* ═══════════════════════════════════════════
   SECTION 2 : QUICK STATS
   ═══════════════════════════════════════════ */

.rems-bkr-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.rems-bkr-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.rems-bkr-stat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* CTA stat card */
.rems-bkr-stat-cta {
    background: var(--rems-cta-color, #1e8b3a) !important;
    border-color: var(--rems-cta-color, #1e8b3a) !important;
    text-decoration: none;
    cursor: pointer;
}
.rems-bkr-stat-cta .rems-bkr-stat-label {
    color: rgba(255,255,255,0.85);
}
.rems-bkr-stat-cta .rems-bkr-stat-value {
    color: #ffffff;
}
.rems-bkr-stat-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 24px rgba(30, 139, 58, 0.4) !important;
    text-decoration: none;
    color: #fff;
}

.rems-bkr-stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rems-bkr-stat-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: #1e293b;
}


/* ═══════════════════════════════════════════
   SECTION 3 : LONG DESCRIPTION + GENERIC SECTION
   ═══════════════════════════════════════════ */

.rems-bkr-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 24px;
    margin-bottom: 24px;
}

.rems-bkr-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.rems-bkr-desc-content p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}


/* ═══════════════════════════════════════════
   SECTION 4 : PROS & CONS
   ═══════════════════════════════════════════ */

.rems-bkr-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rems-bkr-proscons-col {
    border-radius: 12px;
    overflow: hidden;
}

.rems-bkr-proscons-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rems-bkr-proscons-header--pros {
    background: #ecfdf5;
    color: #065f46;
}

.rems-bkr-proscons-header--cons {
    background: #fef2f2;
    color: #991b1b;
}

.rems-bkr-proscons-icon {
    font-size: 0.9rem;
    font-weight: 900;
}

.rems-bkr-proscons-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.rems-bkr-proscons-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #334155;
}

.rems-bkr-proscons-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.rems-bkr-proscons-check {
    flex-shrink: 0;
    font-weight: 900;
    font-size: 0.75rem;
    line-height: 1.5;
}

.rems-bkr-proscons-item--pro .rems-bkr-proscons-check {
    color: #16a34a;
}

.rems-bkr-proscons-item--con .rems-bkr-proscons-check {
    color: #dc2626;
}

.rems-bkr-proscons-col--pros {
    border: 1px solid #d1fae5;
}

.rems-bkr-proscons-col--cons {
    border: 1px solid #fecaca;
}


/* ═══════════════════════════════════════════
   SECTION 5 : COMPETITIONS GRID
   ═══════════════════════════════════════════ */

.rems-bkr-comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.rems-bkr-comp-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.15s ease;
}

a.rems-bkr-comp-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: #1e293b;
}

.rems-bkr-comp-card--cup {
    border-left: 3px solid #8b5cf6;
}

.rems-bkr-comp-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.rems-bkr-comp-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.25;
}


/* ═══════════════════════════════════════════
   SECTION 6 : BONUS & PROMO
   ═══════════════════════════════════════════ */

.rems-bkr-bonus-section {
    margin-bottom: 24px;
}

.rems-bkr-bonus-card {
    background: linear-gradient(145deg, #0a0f1e 0%, #111827 50%, #0f172a 100%);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rems-bkr-bonus-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f97316, #fbbf24);
}

.rems-bkr-bonus-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.rems-bkr-bonus-content {
    position: relative;
    z-index: 1;
}

.rems-bkr-bonus-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(251, 191, 36, 0.3);
}

.rems-bkr-bonus-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0 auto 24px;
    max-width: 500px;
    line-height: 1.5;
}

.rems-bkr-bonus-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: var(--rems-cta-color, #1e8b3a);
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(30, 139, 58, 0.35);
}

.rems-bkr-bonus-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(30, 139, 58, 0.45);
    color: #ffffff;
    text-decoration: none;
}

.rems-bkr-bonus-disclaimer {
    font-size: 0.7rem;
    color: #64748b;
    margin: 16px 0 0;
}


/* ═══════════════════════════════════════════
   SECTION 7 : FAQ ACCORDION
   ═══════════════════════════════════════════ */

.rems-bkr-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rems-bkr-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.rems-bkr-faq-item:hover {
    border-color: #cbd5e1;
}

.rems-bkr-faq-item.open {
    border-color: var(--rems-team-a, #1a56db);
}

.rems-bkr-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    transition: background 0.15s ease;
}

.rems-bkr-faq-q:hover {
    background: #f8fafc;
}

.rems-bkr-faq-q span:first-child {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.rems-bkr-faq-arrow {
    font-size: 0.65rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.rems-bkr-faq-item.open .rems-bkr-faq-arrow {
    transform: rotate(180deg);
    color: var(--rems-team-a, #1a56db);
}

.rems-bkr-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.rems-bkr-faq-item.open .rems-bkr-faq-a {
    max-height: 500px;
    padding: 0 20px 16px;
}

.rems-bkr-faq-a p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid #f1f5f9;
}


/* ═══════════════════════════════════════════
   SECTION 8 : FINAL CTA
   ═══════════════════════════════════════════ */

.rems-bkr-final-cta {
    margin-top: 8px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .rems-bkr-page {
        padding: 0 10px 32px;
    }

    .rems-bkr-hero {
        padding: 28px 18px 24px;
        border-radius: 12px;
    }

    .rems-bkr-hero-logo {
        width: 72px;
        height: 72px;
        border-radius: 16px;
        padding: 10px;
    }

    .rems-bkr-hero-h1 {
        font-size: 1.5rem;
    }

    .rems-bkr-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rems-bkr-stat-card {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 16px;
        text-align: left;
    }

    .rems-bkr-section {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .rems-bkr-section-title {
        font-size: 1.1rem;
    }

    .rems-bkr-proscons {
        grid-template-columns: 1fr;
    }

    .rems-bkr-comp-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }

    .rems-bkr-bonus-card {
        padding: 28px 18px;
        border-radius: 12px;
    }

    .rems-bkr-bonus-title {
        font-size: 1.1rem;
    }

    .rems-bkr-bonus-amount {
        font-size: 1.8rem;
    }

    .rems-bkr-faq-q {
        padding: 14px 16px;
    }

    .rems-bkr-faq-q span:first-child {
        font-size: 0.88rem;
    }

    .rems-bkr-faq-item.open .rems-bkr-faq-a {
        padding: 0 16px 14px;
    }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {
    .rems-bkr-hero {
        padding: 24px 14px 20px;
    }

    .rems-bkr-hero-logo {
        width: 60px;
        height: 60px;
        padding: 8px;
    }

    .rems-bkr-hero-h1 {
        font-size: 1.3rem;
    }

    .rems-bkr-star {
        font-size: 1.1rem;
    }

    .rems-bkr-hero-cta {
        padding: 12px 28px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .rems-bkr-comp-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rems-bkr-comp-card {
        padding: 10px 12px;
    }

    .rems-bkr-comp-name {
        font-size: 0.75rem;
    }

    .rems-bkr-bonus-cta {
        padding: 12px 28px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .rems-bkr-proscons-item {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
