/* cgsp.ca review pages + hubs (v1). Loaded after /styles.css; uses its tokens. */
.rv-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 70%, #17305f 100%); color: #fff; padding: 1.6rem 0 2.2rem; }
.rv-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; margin: .7rem 0 .6rem; color: #fff; }
.rv-hero--hub h1 { max-width: 820px; }
.rv-lead { font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.86); max-width: 680px; }
.rv-meta { margin-top: .8rem; font-size: .8rem; color: rgba(255,255,255,.6); }
.rv-meta a { color: var(--teal-light); }
.rv-meta i { margin-right: .3rem; }
.rv-hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; margin-top: .4rem; }
.rv-brand { width: 190px; height: 92px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: .7rem 1rem; box-shadow: none; }
.rv-brand img { max-width: 100%; max-height: 100%; object-fit: contain; }

.rv-score { background: #fff; color: var(--text); border-radius: var(--radius); padding: 1.2rem 1.2rem 1rem; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.rv-score-top { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.rv-ring { --p: 90; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--teal) calc(var(--p) * 1%), var(--border) 0); position: relative; flex: none; }
.rv-ring::before { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.rv-ring span { position: relative; font-size: 1.45rem; font-weight: 800; color: var(--navy); }
.rv-score-lbl { font-weight: 700; font-size: 1rem; }
.rv-score-sub { font-size: .8rem; color: var(--text-muted); }
.rv-bars { display: grid; gap: .45rem; margin-bottom: 1rem; }
.rv-bar { display: grid; grid-template-columns: 108px 1fr 30px; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); }
.rv-bar b { color: var(--text); text-align: right; }
.rv-bar-track { height: 7px; background: var(--surface2); border-radius: 9px; overflow: hidden; }
.rv-bar-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 9px; }
.rv-cta { width: 100%; justify-content: center; }
.rv-score .cv-tc { text-align: center; margin-top: .45rem; font-size: .72rem; color: var(--text-faint); }

.rv-facts-wrap { background: var(--surface); border-bottom: 1px solid var(--border); }
.rv-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.rv-fact { padding: 1rem .9rem; border-right: 1px solid var(--border); }
.rv-fact:last-child { border-right: 0; }
.rv-fact-h { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); font-weight: 700; margin-bottom: .35rem; }
.rv-fact-h i { color: var(--teal); margin-right: .25rem; }
.rv-fact-v { font-size: .88rem; font-weight: 600; color: var(--text); margin-top: .25rem; line-height: 1.35; }
.rv-fact-v small { font-weight: 500; color: var(--text-muted); }

.rv-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; padding: .18rem .55rem; border-radius: 99px; white-space: nowrap; }
.rv-chip--ok { background: #DCFCE7; color: #166534; }
.rv-chip--no { background: #FEE2E2; color: #991B1B; }
.rv-chip--unv { background: #FEF3C7; color: #92400E; }

.rv-sec h2, .rv-verdict h2, #faq h2, .rv-sources h2, #alternatives h2, .rv-how h2 { font-size: 1.35rem; margin-bottom: .8rem; }
.rv-sec p, .rv-verdict p, .rv-how p { line-height: 1.75; margin-bottom: .9rem; }
.rv-sec ul, .rv-sec ol { margin: 0 0 1rem 1.2rem; line-height: 1.7; }
.rv-sec table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.1rem; font-size: .88rem; }
.rv-sec th, .rv-sec td { border: 1px solid var(--border); padding: .5rem .6rem; text-align: left; }
.rv-sec th { background: var(--surface2); }
.rv-verdict { border-left: 4px solid var(--teal); padding-left: 1.2rem; }
.rv-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.rv-pc-col { border-radius: var(--radius-sm); padding: .9rem 1rem; }
.rv-pc-col h3 { font-size: .95rem; margin-bottom: .5rem; }
.rv-pc-col ul { margin: 0 0 0 1.1rem; font-size: .9rem; line-height: 1.6; }
.rv-pc--pro { background: #F0FDF4; border: 1px solid #BBF7D0; }
.rv-pc--pro h3 i { color: var(--green); }
.rv-pc--con { background: #FFF7ED; border: 1px solid #FED7AA; }
.rv-pc--con h3 i { color: #C2410C; }

.rv-shot { margin: 1.1rem 0 1.4rem; }
.rv-shot img { width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.rv-shot figcaption { font-size: .78rem; color: var(--text-muted); margin-top: .4rem; }

.rv-note { font-size: .85rem; color: var(--text-muted); }
.rv-sources ul { margin-left: 1.1rem; font-size: .86rem; line-height: 1.6; }
.rv-sources li { margin-bottom: .35rem; }

.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin: .5rem 0 2rem; }
.rv-grid--3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.rv-card { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.rv-card:hover { box-shadow: var(--shadow-hover); }
.rv-card-logo { background: var(--navy); height: 96px; display: flex; align-items: center; justify-content: center; padding: .8rem 1.2rem; }
.rv-card-logo img { max-height: 100%; max-width: 75%; object-fit: contain; }
.rv-card-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.rv-card-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.rv-card-name { font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.rv-card-score { background: var(--teal); color: #fff; font-weight: 800; font-size: .85rem; padding: .2rem .5rem; border-radius: 6px; }
.rv-card-chips { font-size: .74rem; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.rv-card-bonus { font-size: .86rem; font-weight: 600; }
.rv-card-bonus i { color: var(--gold); }
.rv-card-act { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.rv-link { font-weight: 700; font-size: .86rem; color: var(--blue); }
.btn-sm { padding: .45rem .8rem !important; font-size: .8rem !important; }

.rv-side-facts { width: 100%; font-size: .82rem; border-collapse: collapse; }
.rv-side-facts th { text-align: left; color: var(--text-muted); font-weight: 600; padding: .35rem .3rem .35rem 0; vertical-align: top; width: 42%; }
.rv-side-facts td { padding: .35rem 0; }
.rv-side-facts tr + tr { border-top: 1px solid var(--border); }
.rv-other { list-style: none; font-size: .86rem; }
.rv-other li { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px solid var(--border); }
.rv-other b { color: var(--teal-dark); }
.rv-sitemap { columns: 2; }

.rv-sticky { display: none; }

@media (max-width: 1024px) {
  .rv-facts { grid-template-columns: repeat(3, 1fr); }
  .rv-fact:nth-child(3) { border-right: 0; }
}
@media (max-width: 900px) {
  .rv-hero-grid { grid-template-columns: 1fr; }
  .rv-score { max-width: 460px; }
}
@media (max-width: 640px) {
  .rv-facts { grid-template-columns: 1fr 1fr; }
  .rv-fact { border-right: 0; border-bottom: 1px solid var(--border); }
  .rv-fact:last-child { grid-column: 1 / -1; }
  .rv-pc { grid-template-columns: 1fr; }
  .rv-brand { width: 150px; height: 74px; }
  .rv-sitemap { columns: 1; }
  .rv-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; align-items: center; gap: .6rem;
    background: var(--navy); color: #fff; padding: .55rem .8rem; box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
  .rv-sticky img { height: 30px; width: auto; max-width: 70px; object-fit: contain; }
  .rv-sticky span { flex: 1; font-weight: 700; font-size: .9rem; }
  .rv-sticky b { color: var(--teal-light); margin-left: .3rem; }
  body.page-rv { padding-bottom: 60px; }
}

/* ---------------------------------------------------------------- beginners section */
.bg-hero { background: linear-gradient(180deg, var(--blue-pale) 0%, #fff 100%); border-bottom: 1px solid var(--border-blue); padding: 1.5rem 0 1.8rem; }
.bg-hero .idb-crumbs { color: var(--text-muted); }
.bg-hero .idb-crumbs a { color: var(--blue); }
.bg-hero h1 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin: .5rem 0 .6rem; max-width: 820px; }
.bg-lead { font-size: 1.04rem; line-height: 1.65; color: var(--text-muted); max-width: 720px; }
.bg-hero .info-date { color: var(--text-faint); }
.bg-step { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--border-blue); color: var(--blue-dark);
  font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 99px; margin-top: .4rem; }
.bg-step i { color: var(--teal); }
.bg-body { max-width: none; }
.bg-body h2 { scroll-margin-top: 80px; }
.bg-body table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.2rem; font-size: .9rem; }
.bg-body th, .bg-body td { border: 1px solid var(--border); padding: .5rem .65rem; text-align: left; vertical-align: top; }
.bg-body th { background: var(--surface2); }
.bg-ready { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.2rem .4rem; margin-top: 1.5rem; }
.bg-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.bg-pn a { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem 1rem; color: var(--navy); font-weight: 700; font-size: .92rem; display: flex; flex-direction: column; gap: .2rem; }
.bg-pn a:hover { border-color: var(--teal); }
.bg-pn small { color: var(--text-muted); font-weight: 600; font-size: .75rem; }
.bg-pn-next { text-align: right; }
.bg-list { list-style: none; font-size: .86rem; }
.bg-list li a { display: flex; gap: .5rem; padding: .35rem 0; color: var(--text); border-bottom: 1px solid var(--border); }
.bg-list li span { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--surface2); color: var(--blue-dark); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.bg-list li.cur a { font-weight: 700; color: var(--teal-dark); }
.bg-list li.cur span { background: var(--teal); color: #fff; }
.bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin: .3rem 0 2rem; }
.bg-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .45rem; color: var(--text); background: #fff; box-shadow: var(--shadow-sm); transition: .2s; }
.bg-card:hover { box-shadow: var(--shadow-hover); border-color: var(--border-blue); }
.bg-card > i { font-size: 1.4rem; color: var(--teal); }
.bg-card strong { color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.bg-card span:not(.bg-card-n) { font-size: .86rem; color: var(--text-muted); line-height: 1.5; }
.bg-card em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--blue); font-size: .85rem; }
.bg-card-n { position: absolute; top: .8rem; right: 1rem; font-size: 1.6rem; font-weight: 800; color: var(--surface2); }
@media (max-width: 640px) { .bg-pn { grid-template-columns: 1fr; } .bg-pn-next { text-align: left; } }
