/* Review CMS – public theme (on top of Bootstrap 5) */
:root {
    --rc-primary: #0d6efd;
    --rc-pro: #198754;
    --rc-con: #dc3545;
    --rc-soft: #f6f8fb;
}

body {
    background: #fff;
    color: #212529;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-rendering: optimizeLegibility;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: #fff;
}
.hero .lead { opacity: .9; }

/* Review cards */
.review-card {
    transition: transform .15s ease, box-shadow .15s ease;
    border: 1px solid #e9ecef;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .08);
}
.review-card .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: var(--rc-soft);
    padding: .75rem;
}
.review-card .img-placeholder {
    aspect-ratio: 16 / 10;
    background: var(--rc-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #adb5bd;
}
.rating-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    font-size: .9rem;
}
.stars { color: #f5a623; white-space: nowrap; }

/* Article */
.article-body { font-size: 1.075rem; line-height: 1.8; }
.article-body h2 { margin-top: 2.25rem; margin-bottom: 1rem; font-weight: 700; scroll-margin-top: 80px; }
.article-body h3 { margin-top: 1.75rem; font-weight: 600; }
.article-body img { max-width: 100%; height: auto; border-radius: .5rem; }
.article-body table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.article-body table th, .article-body table td { border: 1px solid #dee2e6; padding: .5rem .75rem; }
.article-body table thead th { background: var(--rc-soft); }
.article-body blockquote { border-left: 4px solid var(--rc-primary); padding-left: 1rem; color: #495057; }

.tldr-box {
    background: #eef5ff;
    border-left: 5px solid var(--rc-primary);
    border-radius: .5rem;
}
.disclosure-banner {
    background: #fff8e1;
    border: 1px solid #ffe08a;
    border-radius: .5rem;
    font-size: .9rem;
}
.pros-box { border-top: 4px solid var(--rc-pro); }
.cons-box { border-top: 4px solid var(--rc-con); }
.pros-box li::marker { content: "✔  "; color: var(--rc-pro); }
.cons-box li::marker { content: "✘  "; color: var(--rc-con); }

.verdict-card { background: var(--rc-soft); border: 0; }
.verdict-score {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
}
.product-image {
    max-height: 340px;
    object-fit: contain;
    background: var(--rc-soft);
}
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.sticky-sidebar { position: sticky; top: 80px; }

/* Ads – reserve space to limit layout shift (CLS) */
.ad-slot {
    text-align: center;
    margin: 1.75rem auto;
    min-height: 100px;
    overflow: hidden;
}
.ad-label {
    display: block;
    font-size: .7rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .25rem;
}

.legal-page h2 { margin-top: 2rem; font-size: 1.35rem; }

.site-footer a:hover { text-decoration: underline !important; }

@media (max-width: 575.98px) {
    .article-body { font-size: 1rem; }
    .verdict-score { font-size: 2.25rem; }
}

/* Ad-blocker message (assets/js/ab.js) */
.rc-ab { position: fixed; z-index: 2000; font-family: inherit; }
.rc-ab-card { background: #fff; color: #212529; border-radius: .75rem; box-shadow: 0 1rem 3rem rgba(0,0,0,.25); }
.rc-ab-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .5rem; }
.rc-ab-msg { margin: 0 0 1rem; color: #495057; }
.rc-ab-icon { font-size: 2.25rem; margin-bottom: .5rem; }
.rc-ab-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: center; }
.rc-ab-btn { background: #0d6efd; color: #fff; border: 0; border-radius: .5rem; padding: .6rem 1.2rem; font-weight: 600; cursor: pointer; }
.rc-ab-btn:hover { background: #0b5ed7; }
.rc-ab-link { background: none; border: 0; color: #6c757d; text-decoration: underline; cursor: pointer; padding: .25rem; }
.rc-ab-banner { left: 0; right: 0; bottom: 0; padding: 0 12px 12px; }
.rc-ab-banner .rc-ab-card { max-width: 860px; margin: 0 auto; padding: 1rem 1.25rem; }
.rc-ab-banner .rc-ab-actions { justify-content: flex-start; }
.rc-ab-modal, .rc-ab-wall { inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .6); }
.rc-ab-wall { background: rgba(15, 23, 42, .85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rc-ab-modal .rc-ab-card, .rc-ab-wall .rc-ab-card { max-width: 480px; width: 100%; padding: 2rem 1.5rem; text-align: center; }
html.rc-ab-lock, html.rc-ab-lock body { overflow: hidden; }
