/*
 * RV Monitor Data — page styles
 *
 * GENERATED FILE — do not edit in place. Edits here are overwritten on the next build.
 * Source:  hostinger/plugin-base/base.css
 *          + sites/rvmonitordata/data/site.json → plugin.palette
 *          + sites/rvmonitordata/wordpress/wp-content/plugins/_src/site.css (appended below, if present)
 * Rebuild: node hostinger/src/build-plugin.js --site=rvmonitordata
 */

/* ─── Design tokens ─────────────────────────────────────── */
/*
 * Values come from this site's palette in data/site.json; the rules that consume them are shared.
 *
 * Two of these are layout rather than colour, and are worth understanding before changing:
 *
 *   --rvd-container  The Hostinger AI theme sets --wp--style--global--content-size to 700px,
 *                    and block themes cap every direct child of an .is-layout-constrained
 *                    wrapper at that value. Our <article> is such a child, so it rendered at
 *                    700px inside a 1313px parent — roughly 600px of dead space, and a
 *                    six-column comparison table squeezed into 652px. Widened here, with
 *                    running prose held to a readable measure separately, so the extra width
 *                    goes to tables and cards rather than to 110-character lines.
 *
 *   --rvd-measure    Text fills the container by default. Set this to a ch value (~78ch) to
 *                    reintroduce a narrower reading column. At a 1120px container, body text
 *                    runs to roughly 110 characters per line — wider than the classic 50-75
 *                    optimum, and a deliberate choice: the container was widened precisely so
 *                    content could use it.
 */

:root {
    --rvd-accent: #8b5cf6; /* violet-500 */
    --rvd-accent-deep: #7c3aed; /* violet-600 */
    --rvd-accent-hover: #6d28d9; /* violet-700 */
    --rvd-accent-dark: #5b21b6; /* violet-800 */
    --rvd-accent-soft: #ede9fe; /* violet-100 */
    --rvd-accent-glow: #ddd6fe; /* violet-200 */
    --rvd-accent-mid: #c4b5fd; /* violet-300 */
    --rvd-hero-bg: #f5f3ff; /* violet-50 */
    --rvd-page-bg: #fcfbff; /* near-white, violet-tinted */
    --rvd-surface: #ffffff;
    --rvd-border: #ddd6fe; /* violet-200 */
    --rvd-border-soft: #ede9fe; /* violet-100 */
    --rvd-heading: #0f172a; /* slate-900 */
    --rvd-heading-accent: #4c1d95; /* violet-900 */
    --rvd-subheading: #5b21b6; /* violet-800 */
    --rvd-body: #1e293b; /* slate-800 */
    --rvd-body-mid: #334155; /* slate-700 */
    --rvd-muted: #475569; /* slate-600 */
    --rvd-muted-light: #64748b; /* slate-500 */
    --rvd-neutral-border: #e2e8f0; /* slate-200 */
    --rvd-table-head-bg: #ede9fe; /* violet-100 */
    --rvd-table-head-text: #4c1d95; /* violet-900 */
    --rvd-table-row-alt: #fcfbff;
    --rvd-callout-bg: #f5f3ff; /* violet-50 */
    --rvd-callout-border: #a78bfa; /* violet-400 */
    --rvd-decision-bg: #fcfbff;
    --rvd-badge: #8b5cf6;
    --rvd-badge-text: #ffffff;
    --rvd-container: 1120px; /* widened from the theme's 700px cap so comparison tables fit */
    --rvd-measure: 100%; /* set to ~78ch on prose blocks by the shared layout rules */
}


/* ─── Force full-width layout (override theme sidebar) ───── */
/*
 * Most WordPress themes reserve space for a sidebar even on pages with no
 * sidebar content, leaving a blank column on the right. These rules expand
 * the theme's primary content area to fill the full container so our
 * article can center itself correctly.
 */

body.rv-monitor-data #primary,
body.rv-monitor-data .content-area,
body.rv-monitor-data #content,
body.rv-monitor-data .site-content,
body.rv-monitor-data .content-wrap,
body.rv-monitor-data .entry-content-wrap,
body.rv-monitor-data .entry-content,
body.rv-monitor-data .single-content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

body.rv-monitor-data #secondary,
body.rv-monitor-data .widget-area,
body.rv-monitor-data .sidebar {
    display: none !important;
}

/* ─── Layout width ───────────────────────────────────────── */
/*
 * The Hostinger AI theme sets --wp--style--global--content-size to 700px, and block
 * themes cap every direct child of an .is-layout-constrained wrapper at that value.
 * Our <article> is such a child, so it rendered at 700px inside a 1313px parent —
 * about 600px of dead space, and a six-column comparison table squeezed into 652px.
 *
 * Measured in-browser at 1440px viewport after this change:
 *   article 1120 · table 1072 · card grid 1072 · prose 835 (~78 characters)
 *
 * !important is needed because the theme's cap comes from the generated global
 * stylesheet at higher specificity.
 */
body.rv-monitor-data .entry-content > .page-content,
body.rv-monitor-data .entry-content > .pillar-page,
body.rv-monitor-data .page-content,
body.rv-monitor-data .pillar-page {
    max-width: var(--rvd-container) !important;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

/*
 * Prose is LEFT-aligned rather than centred, so headings, body copy and callouts all
 * share one left edge. Centring a narrower column inside the wider container gave them
 * three different left edges, which read as broken alignment.
 *
 * Width is governed by --rvd-measure, currently 100% so text fills the container.
 */
.page-content > h1,
.page-content > p,
.page-content > ul,
.page-content > ol,
.page-content > h2,
.page-content > h3,
.page-content > h4,
.page-content > blockquote,
.page-content > .rvd-callout,
.pillar-page > h1,
.pillar-page > p,
.pillar-page > ul,
.pillar-page > ol,
.pillar-page > h2,
.pillar-page > h3,
.pillar-page > h4,
.pillar-page > blockquote,
.pillar-page > .rvd-callout,
.rvd-faq > h2,
.rvd-faq > h3,
.rvd-faq > p {
    max-width: var(--rvd-measure);
    margin-left: 0;
    margin-right: auto;
}

/* The elements the extra width was reclaimed for. */
.page-content > table,
.pillar-page > table,
.page-content > .rvd-hero,
.pillar-page > .rvd-hero,
.page-content > .rvd-card-grid,
.pillar-page > .rvd-card-grid,
.page-content > nav,
.pillar-page > nav {
    max-width: 100%;
}

/*
 * The theme prints the post title as its own <h1> above our content, which already
 * opens with an <h1>. That is two H1s with near-identical text on every page. Ours is
 * the one to keep — it carries the fuller, keyword-bearing headline ("…Compared: 9
 * Sensors by Hub Compatibility" against the theme's bare page title).
 */
/*
 * Matched on the bare block class, NOT on a theme-specific modifier. The original selector
 * required `.hostinger-ai-page-title`, which only exists because water-leak-hub's custom page
 * template adds it — so the rule silently did nothing on any site running a different theme.
 * campgeardata.com is on twentytwentyfive, which emits a plain `.wp-block-post-title`, and shipped
 * two H1s on every page until this was widened.
 *
 * Safe against our own markup: page-pack headings are bare <h1> inside .page-content /
 * .pillar-page and never carry the block class, so only the theme's duplicate is hidden.
 */
body.rv-monitor-data .wp-block-post-title,
body.rv-monitor-data .wp-block-post-title.hostinger-ai-page-title {
    display: none !important;
}

/* The front page is the one place the theme title is the *only* H1 worth keeping if our own
 * hero somehow fails to render — but our home fragment always opens with an <h1>, so it is
 * hidden there too for consistency. Revisit only if a page ships without its own H1. */

/* Below the container width there is nothing to reclaim — let prose use the room. */
@media (max-width: 1180px) {
    .page-content > h1,
    .page-content > p,
    .page-content > ul,
    .page-content > ol,
    .page-content > h2,
    .page-content > h3,
    .page-content > h4,
    .page-content > blockquote,
    .page-content > .rvd-callout,
    .pillar-page > h1,
    .pillar-page > p,
    .pillar-page > ul,
    .pillar-page > ol,
    .pillar-page > h2,
    .pillar-page > h3,
    .pillar-page > h4,
    .pillar-page > blockquote,
    .pillar-page > .rvd-callout,
    .rvd-faq > h2,
    .rvd-faq > h3,
    .rvd-faq > p {
        max-width: 100%;
    }
}

/* ─── Featured image banner ──────────────────────────────── */
/*
 * The theme's page template shipped with only post-title and post-content — no
 * post-featured-image block at all — so featured images were set in the database and
 * never rendered. The template now includes one; these rules make it a banner rather
 * than a 640px-tall wall of image (the sources are 1344x768, which at container width
 * would otherwise push all content below the fold).
 */
.rvd-page-hero {
    /* Match the content column exactly. The article carries 1.5rem of horizontal
       padding, so the banner has to subtract 3rem from the container or it sits 24px
       proud on each side — close enough to alignment to look like a mistake rather
       than a choice. Measured: banner 1120 at x=153 against content 1072 at x=201. */
    max-width: calc(var(--rvd-container) - 3rem);
    margin-left: auto;
    margin-right: auto;
}

.rvd-page-hero img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* The front page shows its banner above the gradient hero card. An earlier version
   hid it here on the theory that two heroes was one too many — that was the wrong
   call for the site's most important page, which was left as the only page with no
   image at all. */

@media (max-width: 640px) {
    .rvd-page-hero img {
        max-height: 180px;
        border-radius: 8px;
    }
}

/* ─── Product thumbnails in comparison tables ────────────── */
/*
 * The thumbnail sits inside the affiliate anchor, so it inherits the rel="nofollow
 * sponsored" already on that link and reads to Amazon as imagery presented in
 * connection with the link it belongs to.
 *
 * Sources are Amazon CDN renders at _AC_SL320_ (~10 KB). Fixed box + object-fit
 * contain keeps a row height stable regardless of the source aspect ratio, and
 * white background matches Amazon's cut-outs so odd-shaped products do not show a
 * grey block behind them.
 */
.rvd-product-cell a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.rvd-product-thumb {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--rvd-border-soft);
    border-radius: 6px;
    padding: 3px;
}

.rvd-product-name {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rvd-product-cell a:hover .rvd-product-name {
    color: var(--rvd-accent-hover);
}

@media (max-width: 640px) {
    .rvd-product-cell a { gap: 0.5rem; }
    .rvd-product-thumb { width: 40px; height: 40px; }
}

/* ─── Contact form (Contact Form 7) ──────────────────────── */
/*
 * CF7 ships almost no styling — raw browser inputs and a default grey submit button,
 * which on this site looked like an unfinished page. These rules put the form in a
 * card that matches the callout treatment used elsewhere and size the controls to the
 * body text rather than the browser default.
 */
.rvd-contact-form {
    background: var(--rvd-page-bg);
    border: 1px solid var(--rvd-border-soft);
    border-radius: 12px;
    padding: 1.75rem 1.75rem 1.5rem;
    margin: 1.5rem 0 2.5rem;
    max-width: 640px;
}

.rvd-contact-form .wpcf7-form p {
    margin: 0 0 1.15rem;
    max-width: 100%;
}

.rvd-contact-form label {
    display: block;
    font-weight: 600;
    color: var(--rvd-heading-accent);
    font-size: 0.9375rem;
    margin-bottom: 0.35rem;
}

.rvd-contact-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0.35rem;
}

.rvd-contact-form input[type="text"],
.rvd-contact-form input[type="email"],
.rvd-contact-form input[type="url"],
.rvd-contact-form input[type="tel"],
.rvd-contact-form select,
.rvd-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 1rem;
    color: var(--rvd-body);
    background: var(--rvd-surface);
    border: 1px solid var(--rvd-border);
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/*
 * Height is set here rather than left to CF7's rows attribute. The shortcode takes its
 * size as COLSxROWS, so a transposed `8x40` yields rows="40" — a 1047px textarea that
 * pushes the submit button off-screen. Fixing it in CSS makes the layout immune to that
 * whichever way round the shortcode is written.
 */
.rvd-contact-form textarea {
    height: 190px;
    min-height: 190px;
    max-height: 60vh;
    resize: vertical;
    line-height: 1.6;
}

.rvd-contact-form input:focus,
.rvd-contact-form select:focus,
.rvd-contact-form textarea:focus {
    outline: none;
    border-color: var(--rvd-accent);
    box-shadow: 0 0 0 3px var(--rvd-accent-glow);
}

.rvd-contact-form .rvd-req {
    font-weight: 500;
    color: var(--rvd-muted);
    font-size: 0.8125rem;
}

.rvd-contact-form .rvd-opt {
    font-weight: 400;
    color: var(--rvd-muted-light);
    font-size: 0.8125rem;
}

.rvd-contact-form .rvd-form-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--rvd-muted);
}

.rvd-contact-form .wpcf7-submit {
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--rvd-accent);
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.6rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.rvd-contact-form .wpcf7-submit:hover {
    background: var(--rvd-accent-hover);
}

.rvd-contact-form .wpcf7-submit:focus-visible {
    outline: 3px solid var(--rvd-accent-glow);
    outline-offset: 2px;
}

/* Validation and submission feedback. CF7's defaults are unstyled red text with a
   full-width border that reads as a broken layout. */
.rvd-contact-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #b91c1c;
}

.rvd-contact-form input.wpcf7-not-valid,
.rvd-contact-form select.wpcf7-not-valid,
.rvd-contact-form textarea.wpcf7-not-valid {
    border-color: #dc2626;
}

.rvd-contact-form .wpcf7-response-output {
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border-width: 1px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.rvd-contact-form form.sent .wpcf7-response-output {
    border-color: var(--rvd-accent);
    background: var(--rvd-callout-bg);
    color: var(--rvd-heading-accent);
}

.rvd-contact-form form.invalid .wpcf7-response-output,
.rvd-contact-form form.failed .wpcf7-response-output {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.rvd-contact-form .wpcf7-spinner {
    margin: 0 0 0 0.75rem;
}

@media (max-width: 640px) {
    .rvd-contact-form {
        padding: 1.25rem 1rem 1rem;
        border-radius: 8px;
    }
    .rvd-contact-form .wpcf7-submit { width: 100%; }
}

/* ─── Header lockup: logo + site name ────────────────────── */
/*
 * The Hostinger AI theme hides the site title as soon as a site logo is set — a
 * "logo OR wordmark" pattern. That is a reasonable default for a logo that already
 * contains the brand name, but ours is a bare droplet mark, so setting it silently
 * removed the site's name from the header entirely.
 *
 * Both are shown here: the mark scaled down to sit beside the name rather than
 * dominating at the theme's 80px.
 */
body.rv-monitor-data .wp-block-site-title,
body.rv-monitor-data .hostinger-ai-site-title {
    display: block !important;
}

body.rv-monitor-data .wp-block-site-title a {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-decoration: none;
    color: var(--rvd-heading) !important;
}

body.rv-monitor-data .wp-block-site-title a:hover {
    color: var(--rvd-accent-hover) !important;
}

/*
 * Constrain the logo by HEIGHT, never by forcing a square.
 *
 * This was `width: 44px; height: 44px`, which is correct only for a bare square mark like
 * water-leak-hub's droplet. campgeardata.com's logo is a 4.75:1 horizontal lockup carrying the
 * wordmark, and the square rule crushed it to 44px wide — unreadable, and it looked like the logo
 * had failed to load rather than been mis-styled.
 *
 * Height-only with `width: auto` serves both: a square mark still renders 44x44, and a wide lockup
 * scales proportionally instead of being squashed. max-width stops an extreme lockup pushing the
 * navigation off the row.
 */
body.rv-monitor-data .wp-block-site-logo img {
    height: 44px !important;
    width: auto !important;
    max-width: 300px;
    border-radius: 8px;
}

body.rv-monitor-data .hostinger-ai-menu-wrapper > .wp-block-group:first-child {
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    body.rv-monitor-data .wp-block-site-title a { font-size: 1.05rem; }
    body.rv-monitor-data .wp-block-site-logo img { height: 36px !important; width: auto !important; }
}

/* ─── Base ───────────────────────────────────────────────── */

.page-content,
.pillar-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.78;
    color: var(--rvd-body);
    background-color: var(--rvd-surface);
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem 3.5rem;
    box-sizing: border-box;
}

/* ─── Hero ───────────────────────────────────────────────── */

.rvd-hero {
    background: linear-gradient(140deg, var(--rvd-hero-bg) 0%, var(--rvd-accent-soft) 100%);
    border: 1px solid var(--rvd-accent-glow);
    border-radius: 12px;
    padding: 3rem 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
}

.rvd-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rvd-heading-accent);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.rvd-hero p {
    font-size: 1.125rem;
    color: var(--rvd-body-mid);
    margin: 0 0 1.75rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.rvd-btn {
    display: inline-block;
    background-color: var(--rvd-accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 1.875rem;
    border-radius: 6px;
    text-decoration: none !important;
    letter-spacing: 0.01em;
    transition: background-color 0.15s ease;
}

.rvd-btn:hover {
    background-color: var(--rvd-accent-hover) !important;
}

/* ─── Typography ─────────────────────────────────────────── */

.page-content h1,
.pillar-page h1 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--rvd-heading);
    margin: 0 0 0.625rem;
    line-height: 1.28;
}

.page-content h2,
.pillar-page h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rvd-heading-accent);
    margin: 2.75rem 0 0.875rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--rvd-accent-glow);
    line-height: 1.35;
}

.page-content h3,
.pillar-page h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rvd-subheading);
    margin: 1.875rem 0 0.5rem;
}

.page-content h4,
.pillar-page h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rvd-heading);
    margin: 1.5rem 0 0.375rem;
}

.page-content p,
.pillar-page p {
    margin: 0 0 1.125rem;
}

.rvd-updated {
    font-size: 0.875rem;
    color: var(--rvd-muted-light);
    margin-bottom: 1.625rem;
}

.rvd-lead {
    font-size: 1.125rem;
    color: var(--rvd-body-mid);
    line-height: 1.72;
    margin-bottom: 2rem;
    border-left: 4px solid var(--rvd-accent-mid);
    padding-left: 1rem;
    background: var(--rvd-hero-bg);
    border-radius: 0 6px 6px 0;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

/* ─── Links ──────────────────────────────────────────────── */

.page-content a,
.pillar-page a {
    color: var(--rvd-accent-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color 0.12s;
}

.page-content a:hover,
.pillar-page a:hover {
    color: var(--rvd-accent-hover);
}

/* ─── Lists ──────────────────────────────────────────────── */

.page-content ul,
.pillar-page ul {
    margin: 0.25rem 0 1.25rem 0;
    padding-left: 1.375rem;
}

.page-content ol,
.pillar-page ol {
    margin: 0.25rem 0 1.25rem 0;
    padding-left: 1.5rem;
}

.page-content li,
.pillar-page li {
    margin-bottom: 0.4rem;
}

.page-content ul > li::marker,
.pillar-page ul > li::marker {
    color: var(--rvd-accent);
}

.page-content ol > li::marker,
.pillar-page ol > li::marker {
    color: var(--rvd-accent-deep);
    font-weight: 700;
}

/* ─── Category cards ─────────────────────────────────────── */

.rvd-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.125rem;
    margin: 1.5rem 0 2.25rem;
}

.rvd-card {
    background: var(--rvd-hero-bg);
    border: 1px solid var(--rvd-accent-glow);
    border-radius: 8px;
    padding: 1.25rem 1.25rem 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rvd-card:hover {
    border-color: var(--rvd-accent-mid);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.14);
}

.rvd-card h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    color: var(--rvd-accent-deep);
    font-weight: 700;
}

.rvd-card h3 a {
    text-decoration: none;
    color: inherit;
}

.rvd-card h3 a:hover {
    color: var(--rvd-accent-hover);
}

.rvd-card p {
    font-size: 0.9375rem;
    color: var(--rvd-body-mid);
    margin: 0;
    line-height: 1.6;
}

/* ─── Tables ─────────────────────────────────────────────── */

.page-content table,
.pillar-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.9375rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--rvd-border-soft);
}

.page-content thead,
.pillar-page thead {
    background-color: var(--rvd-table-head-bg);
}

.page-content th,
.pillar-page th {
    color: var(--rvd-table-head-text);
    font-weight: 700;
    text-align: left;
    padding: 0.7rem 1rem;
    border-bottom: 2px solid var(--rvd-accent-mid);
}

.page-content td,
.pillar-page td {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--rvd-border-soft);
    color: var(--rvd-body);
    vertical-align: top;
}

.page-content tr:last-child td,
.pillar-page tr:last-child td {
    border-bottom: none;
}

.page-content tbody tr:nth-child(even) td,
.pillar-page tbody tr:nth-child(even) td {
    background-color: var(--rvd-table-row-alt);
}

/* ─── Callouts ───────────────────────────────────────────── */

.rvd-callout,
blockquote {
    background: var(--rvd-callout-bg);
    border-left: 4px solid var(--rvd-callout-border);
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.375rem;
    margin: 1.75rem 0;
    color: var(--rvd-body-mid);
}

.rvd-callout p:last-child,
blockquote p:last-child {
    margin-bottom: 0;
}

blockquote {
    font-style: italic;
}

/* ─── Decision box ───────────────────────────────────────── */

.rvd-decision {
    background: var(--rvd-hero-bg);
    border: 1px solid var(--rvd-accent-mid);
    border-radius: 8px;
    padding: 1.375rem 1.5rem;
    margin: 2rem 0;
}

.rvd-decision h3 {
    margin-top: 0;
    color: var(--rvd-accent-hover);
    font-size: 1.0625rem;
}

.rvd-decision p:last-child,
.rvd-decision ul:last-child {
    margin-bottom: 0;
}

/* ─── FAQ section ────────────────────────────────────────── */

.rvd-faq h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--rvd-heading);
    border-top: 1px solid var(--rvd-border-soft);
    padding-top: 1.125rem;
    margin-top: 1.375rem;
}

/* ─── Related pages nav ──────────────────────────────────── */

.rvd-related {
    background: var(--rvd-hero-bg);
    border: 1px solid var(--rvd-accent-glow);
    border-radius: 8px;
    padding: 1.375rem 1.5rem;
    margin-top: 3rem;
}

.rvd-related h2 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--rvd-accent-deep);
    margin: 0 0 0.875rem;
    border: none !important;
    padding: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rvd-related ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rvd-related ul li {
    margin: 0;
}

.rvd-related ul li a {
    display: inline-block;
    background: var(--rvd-surface);
    border: 1px solid var(--rvd-accent-mid);
    color: var(--rvd-accent-deep);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.325rem 0.875rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.13s, color 0.13s, border-color 0.13s;
}

.rvd-related ul li a:hover {
    background-color: var(--rvd-accent);
    color: #fff;
    border-color: var(--rvd-accent);
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 640px) {
    .page-content,
    .pillar-page {
        padding: 1.25rem 1rem 2.5rem;
    }

    .rvd-hero {
        padding: 2rem 1.25rem;
    }

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

    .rvd-hero p {
        font-size: 1rem;
    }

    .page-content h1,
    .pillar-page h1 {
        font-size: 1.5rem;
    }

    .page-content h2,
    .pillar-page h2 {
        font-size: 1.25rem;
    }

    .rvd-card-grid {
        grid-template-columns: 1fr;
    }

    .page-content table,
    .pillar-page table {
        font-size: 0.875rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rvd-lead {
        font-size: 1rem;
    }
}
