/* PVR redesign, blog articles (EN + ES). 
   Loaded after bridge.css (the live component styles, recoloured), taste.css and review.css. */

/* ── hero ─────────────────────────────────────────────────────────── */
.ar-hero { padding: clamp(28px, 4.5vw, 64px) 0 clamp(32px, 4vw, 52px); }
.ar-head { max-width: 860px; }
.ar-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -0.04em; font-weight: 700; margin: 14px 0 18px; color: var(--text); }
.ar-sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 64ch; line-height: 1.6; }
.ar-extras { margin-top: 32px; }
.ar-extras > * + * { margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .ar-hero .in-1, .ar-hero .in-2, .ar-hero .in-3, .ar-hero .in-4 { animation: rise 700ms var(--ease) both; }
  .ar-hero .in-2 { animation-delay: 70ms; }
  .ar-hero .in-3 { animation-delay: 140ms; }
  .ar-hero .in-4 { animation-delay: 210ms; }
}

/* buttons coming from the live markup */
.ar-page .btn { text-decoration: none; }
.ar-page .btn-outline { border: 1px solid var(--line-2); color: var(--text); background: none; }
.ar-page .btn-outline:hover { border-color: rgba(236, 235, 242, 0.32); }
.ar-page .btn-sm { padding: 9px 16px; font-size: 14px; }
.ar-page .btn-lg { padding: 14px 24px; font-size: 15.5px; }
.ar-page .pvr-cta-btns, .ar-page .pvr-btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.prose .btn-primary, .ar-page .btn-primary { background: var(--accent); color: #fff; border: 0; }
.prose .btn-primary:hover, .ar-page .btn-primary:hover { background: var(--accent-hover); }

/* ── head-to-head cards (vs-duel) ─────────────────────────────────── */
.ar-page .vs-duel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; max-width: 920px; margin: 0; }
.ar-page .vs-card { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 18px; text-align: center; box-shadow: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ar-page .vs-card.is-winner { border-color: rgba(178, 157, 247, 0.45); background: radial-gradient(90% 80% at 50% 0%, rgba(109, 79, 216, 0.2), transparent 70%), var(--bg-2); }
.ar-page .vs-card__badge { position: static; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-ink); background: rgba(109, 79, 216, 0.16); border: 1px solid rgba(178, 157, 247, 0.3); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.ar-page .vs-card__img { display: grid; place-items: center; width: 100%; max-width: 200px; aspect-ratio: 1; background: var(--plate); border-radius: 16px; overflow: hidden; margin: 0 auto 8px; }
.ar-page .vs-card__img img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.ar-page .vs-card__name { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin: 0; }
.ar-page .vs-card__brand { font-size: 13px; color: var(--faint); margin: 0; }
.ar-page .vs-card__tag { font-size: 13px; color: var(--accent-ink); margin: 2px 0 0; }
.ar-page .vs-card__stats { display: flex; gap: 14px; align-items: baseline; justify-content: center; margin: 8px 0 10px; }
.ar-page .vs-card__price { font-size: 20px; font-weight: 700; color: var(--text); }
.ar-page .vs-card__score { font-size: 14px; color: var(--muted); }
.ar-page .vs-card__score b { color: var(--text); font-size: 17px; }
.ar-page .vs-card__btn { display: inline-flex; justify-content: center; width: 100%; padding: 11px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; margin-top: auto; }
.ar-page .vs-card:not(.is-winner) .vs-card__btn { background: none; border: 1px solid var(--line-2); color: var(--text); }
.ar-page .vs-card__more { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.ar-page .vs-duel__vs { align-self: center; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--muted); font-weight: 700; font-size: 13px; }
.ar-page .vs-duel__note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ── top picks list (long reads) ──────────────────────────────────── */
.ar-page .lr-top { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 18px 18px 8px; max-width: 920px; }
.ar-page .lr-top__head { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px; }
.ar-page .lr-top__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ar-page .lr-top__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.ar-page .lr-top__rank { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: rgba(109, 79, 216, 0.2); color: var(--accent-ink); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.ar-page .lr-top__img { width: 52px; height: 52px; border-radius: 12px; background: var(--plate); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.ar-page .lr-top__img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.ar-page .lr-top__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ar-page .lr-top__tag { font-size: 12.5px; color: var(--muted); }
.ar-page .lr-top__name { font-weight: 650; color: var(--text); font-size: 15.5px; }
.ar-page .lr-top__price { font-weight: 700; color: var(--text); white-space: nowrap; }
.ar-page .lr-top__btn { padding: 9px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 13.5px; text-decoration: none; white-space: nowrap; }

/* ── content components: one surface style ───────────────────────── */
.prose :is(.feature-box, .tip-box, .verdict-box, .best-choice, .pvr-quick-answer, .buyer-quote, .scenario-card, .category-card,
  .product-card-featured, .product-row, .product-pick, .lush-pick, .pros-cons, .couples-score, .winner, .guide-stat) {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 22px 24px; margin-top: 1.6em; box-shadow: none; color: #cbc9d6; }
.prose :is(.tip-box, .pvr-quick-answer, .verdict-box, .best-choice) { border-left: 3px solid var(--accent); }
.prose :is(.feature-box, .tip-box, .verdict-box, .best-choice, .pvr-quick-answer, .product-card-featured, .product-row, .product-pick, .lush-pick) > :first-child { margin-top: 0; }
.prose :is(.feature-grid, .pvr-diff-grid) { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 1.6em; }
.prose :is(.feature-grid, .pvr-diff-grid) > * { margin-top: 0; }
.prose .best-for-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: rgba(109, 79, 216, 0.16); border-radius: 999px; padding: 2px 10px; }
.prose .product-card-featured img, .prose .product-row img, .prose .product-pick img, .prose .lush-pick img { background: var(--plate); border-radius: 14px; mix-blend-mode: normal; }
.prose .section-header { display: flex; align-items: center; gap: 10px; margin-top: 2.4em; }
.prose .section-header h2 { margin: 0; }
.prose .section-icon:empty { display: none; }
.prose .check-icon { color: var(--accent-ink); }
.prose .guide-stat-number { display: block; font-size: 1.8rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.prose .guide-stat-label { font-size: 13.5px; color: var(--muted); }
.prose :is(.vs-table-wrap, .pvr-table-wrap) { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-media); margin-top: 1.6em; }
.prose :is(.vs-table-wrap, .pvr-table-wrap) > .table-wrap { border: 0; margin: 0; }
/* FAQ: answers always visible (no toggle script on these pages) */
.prose .faq-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-top: 10px; }
.prose .faq-question { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: var(--text); font-weight: 650; font-size: 16.5px; cursor: default; }
.prose .faq-question::after { display: none !important; }
.prose .faq-answer { max-height: none !important; opacity: 1 !important; display: block !important; overflow: visible !important; padding: 0 !important; margin-top: 8px; }
.prose .faq-answer-inner { padding: 0 !important; color: #cbc9d6; }

/* ── rail + mobile bar with two buttons (head-to-heads) ──────────── */
.price-card .btn + .btn { margin-top: 8px; }
.buybar__btns { display: flex; gap: 8px; flex-shrink: 0; }
.buybar__btns .btn { padding: 10px 14px; font-size: 13.5px; }
@media (max-width: 900px) {
  .ar-page .vs-duel { grid-template-columns: 1fr 1fr; }
  .ar-page .vs-duel__vs { display: none; }
}
@media (max-width: 520px) {
  .ar-page .lr-top__item { flex-wrap: wrap; }
  .ar-page .lr-top__btn { margin-left: auto; }
  .buybar__info b { max-width: 40vw; }
}

/* round 5: top picks as cards, price phrases */
.ar-page .lr-top { padding: 18px; }
.ar-page .lr-top__head { text-align: left; }
.ar-page .lr-top__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ar-page .lr-top__item { position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "img txt" "price btn"; align-items: center; gap: 12px 14px; padding: 16px; text-align: left; }
.ar-page .lr-top__rank { position: absolute; top: -10px; left: -10px; }
.ar-page .lr-top__img { grid-area: img; width: 56px; height: 56px; }
.ar-page .lr-top__txt { grid-area: txt; }
.ar-page .lr-top__tag { font-size: 12.5px; line-height: 1.35; }
.ar-page .lr-top__price { grid-area: price; font-size: 15px; }
.ar-page .lr-top__btn { grid-area: btn; justify-self: end; }
.rail-price-text { font-size: 18px; font-weight: 650; color: var(--text); margin: 4px 0 14px; }

.ar-page .ar-extras .lr-top, .ar-page .ar-extras .vs-duel { margin-left: 0; margin-right: 0; }

/* product shots inside boxes and grids: keep them at card size */
:where(.prose :is(.g2, .g3, .box, .card, .feature-grid, .pvr-diff-grid, .product-card-featured, .product-row, .product-pick, .lush-pick, .scenario-card, .category-card)) img:where(:not(.kf-ico)) {
  display: block; width: auto; max-width: 100%; max-height: 190px; object-fit: contain; margin: 0 auto 12px; }

/* list markers drawn by CSS on empty spans in the live markup */
.prose .check-icon, .prose .cross-icon, .prose .partial-icon { display: inline-block; width: 1.3em; font-weight: 700; background: none !important; border: 0 !important; }
.prose .check-icon::before { content: "\2713"; color: var(--accent-ink); }
.prose .cross-icon::before { content: "\2715"; color: var(--faint); }
.prose .partial-icon::before { content: "~"; color: var(--muted); }
.prose li:has(> .check-icon, > .cross-icon, > .partial-icon) { list-style: none; }

/* round 8: no right column on articles; everything on one centred column */
.ar-page .rv-layout { display: block; max-width: 812px; margin: 0 auto; border-top: 0; padding-top: 8px; }
.ar-page .prose { max-width: none; }
.ar-page .ar-hero .wrap { max-width: 812px; }
.ar-page .ar-head { max-width: none; }
.ar-page .ar-extras { margin-left: 0; margin-right: 0; }
.ar-page .ar-extras .vs-duel, .ar-page .ar-extras .lr-top { max-width: none; }
.ar-page .tocbar-btn, .ar-page .tocbar-panel { max-width: 812px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.ar-page .buybar { justify-content: center; gap: 12px 28px; padding-left: max(16px, calc((100vw - 812px) / 2)); padding-right: max(16px, calc((100vw - 812px) / 2)); }
.ar-page .buybar__info { flex: 1; }
.ar-page footer { padding-bottom: 96px; }
/* product shots anywhere inside article blocks (figures and the video thumbnail keep their width) */
:where(.prose :is(div, li, td)) img:where(:not(.kf-ico):not(.pvr-midbuy__img)) { width: auto; max-width: 100%; max-height: 180px; object-fit: contain; display: block; margin: 0 auto 12px; }
.prose figure img { max-height: none; }
/* two buttons in the buy bar on a phone: they share the width, the label shrinks */
@media (max-width: 560px) {
  .buybar__btns { flex: 1; min-width: 0; }
  .buybar__btns .btn { flex: 1; min-width: 0; justify-content: center; padding: 10px 8px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
  .buybar__btns .btn .arrow { display: none; }
  .buybar:has(.buybar__btns .btn + .btn) .buybar__info { display: none; }
}

/* round 8b: product shots smaller; several shots of one card sit side by side */
:where(.prose :is(div, li, td)) img:where(:not(.kf-ico):not(.pvr-midbuy__img)) { max-height: 120px; }
:where(.prose div:has(> img + img)) { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
:where(.prose div:has(> img + img)) > img { margin: 0 0 12px; }

/* round 9: key-figure strip on one line (no orphan cell), no card per figure */
.ar-page .guide-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 0;
  margin: 1.8em 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ar-page .prose .guide-stat, .ar-page .guide-stat { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 18px 16px; text-align: left; }
.ar-page .guide-stat + .guide-stat { border-left: 1px solid var(--line); }
.ar-page .guide-stat-number { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--text); line-height: 1.15; }
.ar-page .guide-stat-label { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) {
  .ar-page .guide-stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .ar-page .guide-stat:nth-child(odd) { border-left: 0; }
  .ar-page .guide-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* round 9b: card grids pick their column count from their item count (no lone card on the last row) */
.ar-page .prose :is(.feature-grid, .pvr-diff-grid, .scenario-grid, .category-grid, .footer-content) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ar-page .prose :is(.feature-grid, .pvr-diff-grid, .scenario-grid, .category-grid, .footer-content):is(:has(> :nth-child(3):last-child), :has(> :nth-child(6):last-child), :has(> :nth-child(9):last-child)) {
  grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ar-page .prose :is(.feature-grid, .pvr-diff-grid, .scenario-grid, .category-grid, .footer-content) > * { margin-top: 0; }
@media (max-width: 640px) {
  .ar-page .prose :is(.feature-grid, .pvr-diff-grid, .scenario-grid, .category-grid, .footer-content),
  .ar-page .prose :is(.feature-grid, .pvr-diff-grid, .scenario-grid, .category-grid, .footer-content):is(:has(> :nth-child(3):last-child), :has(> :nth-child(6):last-child), :has(> :nth-child(9):last-child)) {
    grid-template-columns: 1fr; }
}

/* round 10: table of contents in the article flow (always there), top picks as one row per toy */
.ar-page .toc-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 20px 24px 14px; margin: 0 0 2em; }
.ar-page .toc-card__title { font-size: 15px; font-weight: 650; color: var(--text) !important; margin: 0 0 10px !important; }
.ar-page .toc-card ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; columns: 2 260px; column-gap: 28px; }
.ar-page .toc-card li { counter-increment: toc; break-inside: avoid; margin: 0 !important; }
.ar-page .toc-card a { display: flex; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; font-size: 15px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.ar-page .toc-card a::before { content: counter(toc); min-width: 1.4em; color: var(--faint); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 1px; }
.ar-page .toc-card a:hover { color: var(--text); background: rgba(236, 235, 242, 0.05); }

.ar-page .lr-top__list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ar-page .lr-top__item { position: static; display: grid; grid-template-columns: 28px 52px minmax(0, 1fr) auto auto; grid-template-areas: "rank img txt price btn"; align-items: center; gap: 14px; padding: 10px 14px; }
.ar-page .lr-top__rank { position: static; grid-area: rank; }
.ar-page .lr-top__img { grid-area: img; width: 52px; height: 52px; }
.ar-page .lr-top__txt { grid-area: txt; }
.ar-page .lr-top__price { grid-area: price; white-space: nowrap; }
.ar-page .lr-top__btn { grid-area: btn; justify-self: end; }
@media (max-width: 640px) {
  .ar-page .lr-top__item { grid-template-columns: 28px 52px minmax(0, 1fr); grid-template-areas: "rank img txt" "price price btn"; row-gap: 10px; }
  .ar-page .lr-top__price { justify-self: start; }
}
.ar-page .lr-top__price { display: flex; align-items: center; gap: 6px; align-self: center; margin: 0; line-height: 1; }
.ar-page .lr-top__price .pvr-off { margin-left: 2px; }

/* round 11: product shots in cards keep their aspect and hug their plate */
:where(.prose :is(div, li, td)) img:where(:not(.kf-ico):not(.pvr-midbuy__img)) { width: auto; height: auto; max-width: min(100%, 200px); max-height: 140px; padding: 8px; box-sizing: border-box; }
.prose figure img, .prose > a > img { max-width: 100%; max-height: none; padding: 0; }
/* top picks: one row per toy whatever the count (longread.css switches 2-item lists to 2 columns) */
.ar-page .lr-top .lr-top__list, .ar-page .lr-top .lr-top__list:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr !important; max-width: none !important; }

/* round 13: desktop articles use the full 1240px container: sticky table of contents on the left, wide reading column */
.ar-page .ar-hero .wrap { max-width: 1240px; }
.ar-page .ar-head { max-width: 1000px; }
.ar-page .ar-extras { max-width: 1000px; }
.ar-page .rv-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; max-width: 1240px; margin: 0 auto; padding-top: 8px; border-top: 0; align-items: start; }
.ar-page .rv-layout:not(:has(.ar-toc)) { grid-template-columns: minmax(0, 1fr); }
.ar-page .prose { max-width: 880px; font-size: 17.5px; }
.ar-page .ar-toc { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; }
.ar-page .ar-toc .rail-toc { padding: 18px 10px 12px 16px; }
.ar-page .ar-toc .rail-toc ol { max-height: calc(100dvh - var(--nav-h) - 150px); }
.ar-page .rv-layout:has(.ar-toc) .toc-card { display: none; }
.ar-page .tocbar { display: none; }
.ar-page .buybar { padding-left: max(16px, calc((100vw - 1240px) / 2 + 40px)); padding-right: max(16px, calc((100vw - 1240px) / 2 + 40px)); }
@media (max-width: 1100px) {
  .ar-page .rv-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ar-page .ar-toc { display: none; }
  .ar-page .rv-layout:has(.ar-toc) .toc-card { display: block; }
  .ar-page .tocbar { display: block; }
  .ar-page .prose { max-width: 820px; margin: 0 auto; font-size: 17px; }
  .ar-page .ar-hero .wrap { max-width: 900px; }
}
@media (max-width: 640px) { .ar-page .prose { font-size: 16px; } }
/* the reading column fills its grid track (auto margins made it shrink-to-fit its widest child, e.g. the 2-column TOC list) */
.ar-page .prose { width: 100%; min-width: 0; }
/* quiz call-to-action box (its padding and centring were inline styles) */
.ar-page .prose .vs-cta { border-radius: var(--r-surface); padding: 28px 24px; text-align: center; margin-top: 2em; background: radial-gradient(80% 120% at 50% 0%, rgba(109, 79, 216, 0.28), transparent 65%), var(--bg-2); border: 1px solid rgba(178, 157, 247, 0.25); }
.ar-page .prose .vs-cta p:first-child { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 0; }
.ar-page .prose .vs-cta p + p { color: var(--muted); margin-top: 6px; }
.ar-page .prose .vs-cta .btn { display: inline-flex; margin-top: 16px; background: var(--accent); color: #fff; }

/* round 14: "Best picks:" lines read as a sentence, each product link is a pill with its photo */
.ar-page .prose .products-for-scenario { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); line-height: 2.5; color: var(--muted); }
.ar-page .prose .products-for-scenario strong { color: var(--text); margin-right: 6px; }
.ar-page .prose .products-for-scenario a { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; margin: 2px 2px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.4; vertical-align: middle; transition: border-color 160ms ease; }
.ar-page .prose .products-for-scenario a:hover { border-color: rgba(178, 157, 247, 0.5); }
.ar-page .prose img.pick-thumb { width: 32px; height: 32px; max-width: none; max-height: none; margin: 0; padding: 3px; border-radius: 999px; background: var(--plate); object-fit: contain; box-sizing: border-box; display: block; }
.ar-page .prose :is(.scenario-card, .category-card, .couples-score, .winner, .guide-stat, .buyer-quote, .pros-cons) > :first-child { margin-top: 0; }

/* ── round 24: product link cards inside article grids (an <a> holding an image, a name and short lines). The live
   pages styled them inline (coloured cards); the conversion left bare underlined links. Lush 4 vs Lush 3 vs Lush Mini,
   Lovense vs We-Vibe, troubleshooting guide (EN + ES). ── */
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):has(> strong) { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 18px 14px; text-align: center; text-decoration: none; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; transition: border-color 160ms ease, background-color 160ms ease; }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):has(> strong):hover { border-color: rgba(178, 157, 247, 0.45); background: var(--bg-3); }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):has(> strong) > img { width: 96px; height: 96px; max-width: none; margin: 0 0 10px; padding: 8px; object-fit: contain; background: var(--plate); border-radius: 14px; }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):has(> strong) > strong { font-size: 15.5px; font-weight: 650; color: var(--text); }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):has(> strong) > span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):has(> span:nth-of-type(3)) > span:last-child { margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600; }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):has(> span:nth-of-type(3)) > span:nth-last-child(2) { color: var(--text); font-weight: 600; }
@media (min-width: 641px) {
  /* three cards in a two-column grid: one row of three */
  .ar-page .prose .g2:has(> a:nth-child(3):last-child > img) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── round 25 (the user, 2026-10-11) ───────────────────────────────────────────────────────────────────────────── */
/* 1. the top of every article centred: date, title, subtitle, cards, links, key figures ("Tu peux centrer a chaque fois
   cette partie sur tous les articles") */
.ar-page .ar-hero { text-align: center; }
.ar-page .ar-head, .ar-page .ar-extras { margin-left: auto; margin-right: auto; }
.ar-page .ar-hero h1 { margin-left: auto; margin-right: auto; text-wrap: balance; }
.ar-page .ar-sub { margin-left: auto; margin-right: auto; text-wrap: pretty; }
.ar-page .ar-extras > * { margin-left: auto; margin-right: auto; }
.ar-page .ar-extras .lr-top { text-align: left; }
.ar-page .ar-extras .guide-stats > * { text-align: center; }
.ar-page .ar-extras > a, .ar-page .ar-extras > p > a:only-child { display: inline-flex; }

/* 2. the "Quick start" box of the app guides (guide-tools.css): no prose h2 gap, dark store buttons, aligned steps */
.ar-page .prose .pvr-qs__title { margin-top: 6px; }
.ar-page .prose .pvr-qs__btn { background: var(--bg-3); color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; }
.ar-page .prose .pvr-qs__btn:hover { background: var(--bg-2); border-color: rgba(178, 157, 247, 0.45); color: var(--text); }
.ar-page .prose .pvr-qs__steps { padding-left: 0; list-style: none; }

/* 3. product link cards in a grid, also those without a bold name (image + two short lines) */
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img) { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 18px 14px; text-align: center; text-decoration: none; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; transition: border-color 160ms ease, background-color 160ms ease; }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):hover { border-color: rgba(178, 157, 247, 0.45); background: var(--bg-3); }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img) > img { width: 96px; height: 96px; max-width: none; margin: 0 0 10px; padding: 8px; object-fit: contain; background: var(--plate); border-radius: 14px; }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img) > span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ar-page .prose :is(.g2, .g3, .grid) > a:has(> img):not(:has(> strong)) > span:first-of-type { font-size: 15.5px; font-weight: 650; color: var(--text); }

/* 4. "read next" links: an icon and a title + description block inside one link */
.ar-page .prose div:has(> a:nth-child(2) > div) { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 1.4em; }
.ar-page .prose a:has(> div) { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; text-decoration: none; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; transition: border-color 160ms ease, background-color 160ms ease; }
.ar-page .prose a:has(> div):hover { border-color: rgba(178, 157, 247, 0.45); background: var(--bg-3); }
.ar-page .prose a:has(> div) > span:first-child { flex: none; font-size: 20px; line-height: 1.3; }
.ar-page .prose a:has(> div) > div > div:first-child { font-weight: 650; color: var(--text); }
.ar-page .prose a:has(> div) > div > div + div { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* 5. FAQs written as bare <details>: the review FAQ look */
.ar-page .prose details:not([class]) { margin: 10px 0 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.ar-page .prose details:not([class]) > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; list-style: none; cursor: pointer; font-weight: 600; color: var(--text); }
.ar-page .prose details:not([class]) > summary::-webkit-details-marker { display: none; }
.ar-page .prose details:not([class]) > summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--accent-ink); transition: transform 200ms var(--ease); }
.ar-page .prose details:not([class])[open] > summary::after { transform: rotate(45deg); }
.ar-page .prose details:not([class]) > :not(summary) { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* ── round 26: components the component audit found broken on the live redesign (2026-10-11) ─────────────────── */
/* .btn-white in .cta-buttons: white text on a white button on ~10 guides; the shop buttons of the vs packs: white */
/* the closing call-to-action box (22 guides): a dark card with a violet glow, like the homepage's last block, instead
   of a flat purple slab; first button violet, the others outlined */
.ar-page .prose .cta-section { margin-top: 2.4em; padding: clamp(28px, 4vw, 48px); text-align: center; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(80% 120% at 100% 0%, rgba(109, 79, 216, 0.3) 0%, transparent 60%), var(--bg-2) !important; box-shadow: none; }
.ar-page .prose .cta-section h2 { margin-top: 0; }
.ar-page .prose .cta-section p { color: var(--muted) !important; max-width: 60ch; margin-left: auto; margin-right: auto; }
.ar-page .cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.ar-page .cta-buttons .btn { border-radius: 999px !important; padding: 12px 20px !important; font-size: 14.5px !important; font-weight: 600 !important; transform: none !important; }
.ar-page .cta-buttons .btn-white { background: var(--accent) !important; color: #fff !important; border: 1px solid transparent !important; }
.ar-page .cta-buttons .btn-white:hover { background: var(--accent-hover) !important; }
.ar-page .cta-buttons .btn-outline-white { background: transparent !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; }
.ar-page .cta-buttons .btn-outline-white:hover { border-color: rgba(236, 235, 242, 0.32) !important; }
.ar-page .vs-pack__btn { background: var(--bg-3) !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; border-radius: 999px !important; font-weight: 600 !important; }
.ar-page .vs-pack__btn:hover { border-color: rgba(178, 157, 247, 0.5) !important; }
.ar-page .is-winner .vs-pack__btn, .ar-page .vs-pack__btns .vs-pack__btn:first-child { background: var(--accent) !important; color: #fff !important; border-color: transparent !important; }
/* the App Store / Google Play buttons kept a dark text colour from guide-tools.css */
.ar-page .prose .pvr-qs__btn { color: var(--text) !important; }
/* labels too dark on the dark page */
.ar-page .budget-label.label-pink { color: #f5b8d8 !important; }
.ar-page .country-status.status-restricted { color: #fca5a5 !important; }
/* quiz options: no native check boxes (the user: "so ugly the check box") */
.ar-page .quiz-option input:is([type="checkbox"], [type="radio"]) { -webkit-appearance: none; appearance: none; flex: none; display: inline-grid; place-content: center; width: 20px; height: 20px; margin: 0; border: 1.5px solid rgba(178, 157, 247, 0.55); border-radius: 6px; background: var(--bg-3); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.ar-page .quiz-option input[type="radio"] { border-radius: 999px; }
.ar-page .quiz-option input:is([type="checkbox"], [type="radio"]):checked { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--accent); }
.ar-page .quiz-option input:is([type="checkbox"], [type="radio"]):focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
