/*
Theme Name: Reality Report News
Theme URI: https://realityreportnews.com/
Author: Reality Report News
Author URI: https://realityreportnews.com/
Description: A dark, investigative newsroom block theme for Reality Report News. Full Site Editing templates, a category-driven front page (lead story, latest, investigations, fact checks with verdict badges, commentary, listen, watch, From X, newsletter), bundled Oswald and Inter fonts, and block styles for sources and corrections.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: realityreport
Tags: news, blog, dark, full-site-editing, block-patterns, block-styles, custom-colors, wide-blocks, editor-style, one-column, grid-layout
*/

/* Fonts: Oswald and Inter are bundled in assets/fonts (SIL Open Font License 1.1) and registered in theme.json. */

:root {
	--rr-bg: var(--wp--preset--color--base, #0b0b0d);
	--rr-bg-2: var(--wp--preset--color--base-2, #121216);
	--rr-bg-3: var(--wp--preset--color--base-3, #1a1a20);
	--rr-line: var(--wp--preset--color--line, #26262e);
	--rr-red: var(--wp--preset--color--crimson, #c8102e);
	--rr-red-dark: var(--wp--preset--color--crimson-dark, #9e0c24);
	--rr-blue: var(--wp--preset--color--royal, #2b4fc7);
	--rr-blue-light: var(--wp--preset--color--royal-light, #6f8cf0);
	--rr-white: #fff;
	--rr-text: var(--wp--preset--color--text, #e9e9ee);
	--rr-muted: var(--wp--preset--color--muted, #a2a2ad);
	--rr-green: #2e9e5b;
	--rr-amber: #e0a526;
	--rr-head: var(--wp--preset--font-family--oswald, Oswald, 'Arial Narrow', sans-serif);
	--rr-radius: 6px;
}

body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* Top-level rhythm: sections manage their own spacing. */
.wp-site-blocks > * + *,
.rr-main > * + * { margin-block-start: 0; }
.rr-main { margin-block-start: 0; }
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > .rr-main { flex: 1 0 auto; }
.wp-site-blocks > .rr-site-footer { margin-top: auto; }

/* ---------- Header ---------- */
.rr-site-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .rr-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rr-site-header { top: 0; position: relative; } }
.rr-site-header > * + * { margin-block-start: 0; }

.rr-utility { background: #050506; border-bottom: 1px solid var(--rr-line); font-size: 12.5px; color: var(--rr-muted); }
.rr-utility__inner { min-height: 34px; align-items: center; gap: 16px; }
.rr-utility p { margin: 0; }
.rr-utility__links a { color: var(--rr-muted); text-decoration: none; margin-left: 18px; }
.rr-utility__links a:hover { color: var(--rr-white); }

.rr-header { background: rgba(11, 11, 13, 0.95); backdrop-filter: blur(8px); border-bottom: 3px solid var(--rr-red); }
.rr-header__inner { min-height: 78px; align-items: center; gap: 24px; }
.rr-brand { gap: 12px; align-items: center; flex-shrink: 0; }
.rr-brand .wp-block-image, .rr-brand p { margin: 0; }
.rr-brand__logo img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px var(--rr-red); display: block; }
.rr-brand__text { font-family: var(--rr-head); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.rr-brand__text a { text-decoration: none; }
.rr-brand__text .rr-r { color: var(--rr-red); }
.rr-brand__text .rr-w { color: var(--rr-white); }
.rr-brand__text .rr-b { color: var(--rr-blue-light); }
.rr-header__right { gap: 10px; align-items: center; }
.rr-header__right > * { margin: 0; }

.rr-nav { gap: 2px; font-size: 16px; }
.rr-nav .wp-block-navigation-item__content { padding: 8px 11px; color: #d8d8de; border-bottom: 2px solid transparent; }
.rr-nav .wp-block-navigation-item__content:hover,
.rr-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--rr-white); border-bottom-color: var(--rr-red); }
.rr-nav .wp-block-navigation__responsive-container-open,
.rr-nav .wp-block-navigation__responsive-container-close { color: var(--rr-white); }
.rr-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--rr-bg); color: var(--rr-white); padding: 32px; }
.rr-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 24px; padding: 8px 0; }

.rr-search { margin: 0; }
.rr-search .wp-block-search__inside-wrapper { border: 0; padding: 0; background: transparent; }
.rr-search .wp-block-search__button { width: 40px; height: 40px; min-width: 40px; padding: 0; margin: 0; border-radius: 50%; background: transparent; border: 1px solid var(--rr-line); color: var(--rr-white); display: grid; place-items: center; }
.rr-search .wp-block-search__button:hover { border-color: var(--rr-muted); background: transparent; }
.rr-search .wp-block-search__button svg { width: 20px; height: 20px; fill: currentColor; }
.rr-search .wp-block-search__input { background: var(--rr-bg-3); color: var(--rr-white); border: 1px solid var(--rr-line); border-radius: 20px; padding: 8px 14px; margin-right: 6px; }

.rr-tip-wrap { margin: 0; }
.rr-tip .wp-block-button__link { white-space: nowrap; }

/* ---------- Hero banner ---------- */
.rr-hero { background: #000; border-bottom: 1px solid var(--rr-line); position: relative; overflow: hidden; }
.rr-hero .wp-block-image { margin: 0; }
.rr-hero img { display: block; width: 100%; max-width: 1600px; margin: 0 auto; aspect-ratio: 3 / 1; object-fit: cover; }
.rr-hero::before, .rr-hero::after { content: ""; position: absolute; top: 0; bottom: 0; width: max(0px, calc((100% - 1600px) / 2 + 80px)); z-index: 1; pointer-events: none; }
.rr-hero::before { left: 0; background: linear-gradient(90deg, #000 60%, transparent); }
.rr-hero::after { right: 0; background: linear-gradient(270deg, #000 60%, transparent); }

/* ---------- Sections ---------- */
.rr-section { padding-top: 56px; padding-bottom: 56px; }
.rr-section--lead { padding-top: 44px; padding-bottom: 8px; }
.rr-section--tight { padding-top: 24px; }
.rr-band { background: var(--rr-bg-2); border-top: 1px solid var(--rr-line); border-bottom: 1px solid var(--rr-line); }
.rr-band--blue { background: linear-gradient(135deg, #0d1430 0%, #0b0b0d 70%); border-color: #1d2a5c; }

.rr-section-head { align-items: flex-end; gap: 16px; margin-bottom: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--rr-line); }
.rr-section-head > * { margin: 0; }
.rr-section-title { font-size: 34px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; position: relative; padding-left: 16px; margin: 0; }
.rr-section-title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 5px; background: var(--rr-red); }
.rr-see-all { margin: 0; white-space: nowrap; }
.rr-section-head .rr-legend { margin-left: auto; }
.rr-section-head .rr-legend + .rr-see-all { margin-left: 8px; }
.rr-see-all a { font-family: var(--rr-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--rr-muted); text-decoration: none; }
.rr-see-all a:hover { color: var(--rr-red); }
.rr-x-mark { display: inline-block; background: var(--rr-white); color: var(--rr-bg); padding: 0 8px; border-radius: 3px; margin-left: 4px; }

.rr-kicker, .rr-kicker a { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rr-red); text-decoration: none; margin: 0 0 8px; }
.rr-meta { gap: 6px 12px; font-size: 13px; color: var(--rr-muted); margin: 0; }
.rr-meta > * { margin: 0; color: var(--rr-muted); font-size: 13px; }
.rr-meta__author + .rr-meta__date::before { content: "\00b7"; margin-right: 12px; }
.rr-empty { color: var(--rr-muted); font-size: 15px; border: 1px dashed var(--rr-line); padding: 18px; border-radius: var(--rr-radius); }

/* Post links inside cards */
.rr-main .wp-block-post-title a,
.rr-main .wp-block-post-terms a { text-decoration: none; }
.rr-main .wp-block-post-title a:hover { color: #ffd9df; }

/* Grids (post templates are plain lists styled here, so breakpoints stay in one place) */
.rr-grid { display: grid !important; gap: 24px; list-style: none; padding: 0; margin: 0; }
.rr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rr-grid > li, .rr-grid > .wp-block-post { margin: 0 !important; display: flex; }
.rr-grid > li { min-width: 0; }
.rr-grid > li > .wp-block-group { flex: 1; min-width: 0; }
.rr-grid > .wp-block-group { margin: 0; }

/* Image placeholders: featured image covers a gradient when present */
.rr-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 25% 30%, rgba(200,16,46,.55), transparent 55%), linear-gradient(135deg, #1b0a0e, #0b0b0d); margin: 0; }
.rr-media > * { margin: 0; }
.rr-media .wp-block-post-featured-image { position: absolute; inset: 0; height: 100%; }
.rr-media .wp-block-post-featured-image a, .rr-media .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-block-post:nth-child(6n+2) .rr-media { background: radial-gradient(circle at 70% 35%, rgba(43,79,199,.6), transparent 55%), linear-gradient(135deg, #0b1024, #0b0b0d); }
.wp-block-post:nth-child(6n+3) .rr-media { background: linear-gradient(120deg, #c8102e 0%, #5a0716 40%, #0b0b0d 75%); }
.wp-block-post:nth-child(6n+4) .rr-media { background: radial-gradient(circle at 50% 120%, rgba(255,255,255,.18), transparent 60%), linear-gradient(160deg, #24242c, #0b0b0d); }
.wp-block-post:nth-child(6n+5) .rr-media { background: linear-gradient(120deg, #2b4fc7 0%, #14245e 40%, #0b0b0d 80%); }
.wp-block-post:nth-child(6n+6) .rr-media { background: radial-gradient(circle at 80% 20%, rgba(200,16,46,.45), transparent 45%), radial-gradient(circle at 15% 85%, rgba(43,79,199,.45), transparent 45%), #0e0e12; }

/* Category label on images: first category only */
.rr-tag { position: absolute; left: 14px; top: 14px; z-index: 2; margin: 0; line-height: 1; }
.rr-tag a { display: inline-block; font-family: var(--rr-head); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; background: rgba(0,0,0,.75); color: var(--rr-white); border-left: 3px solid var(--rr-red); border-radius: 2px; }
.rr-tag a ~ a, .rr-tag .wp-block-post-terms__separator { display: none; }
.category-fact-checks .rr-tag a, .category-investigations .rr-tag a { background: var(--rr-red); }
.category-listen .rr-tag a, .category-watch .rr-tag a { background: var(--rr-blue); border-left-color: var(--rr-blue-light); }

/* ---------- Lead story ---------- */
.rr-lead-list { list-style: none; padding: 0; margin: 0; }
.rr-lead-list > li { margin: 0; }
.rr-lead { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--rr-bg-2); border: 1px solid var(--rr-line); border-radius: var(--rr-radius); overflow: hidden; gap: 0; }
.rr-lead > * { margin: 0 !important; }
.rr-lead__media { aspect-ratio: auto; min-height: 440px; }
.rr-lead__media .rr-tag { left: 20px; top: 20px; }
.rr-lead__body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; border-left: 4px solid var(--rr-red); }
.rr-lead__body > * { margin-block: 0 16px; }
.rr-lead__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.rr-lead__dek { color: #cfcfd6; font-size: 16.5px; }
.rr-lead__dek .wp-block-post-excerpt__excerpt { margin: 0; }
a.rr-btn-ghost, .rr-btn-ghost .wp-block-button__link { align-self: flex-start; display: inline-flex; font-family: var(--rr-head); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px; padding: 10px 18px; border: 2px solid var(--rr-white); color: var(--rr-white); background: transparent; border-radius: 4px; text-decoration: none; margin-top: 8px; }
a.rr-btn-ghost:hover, .rr-btn-ghost .wp-block-button__link:hover { background: var(--rr-white); color: var(--rr-bg); }
a.rr-btn-ghost::after { content: " \2192"; margin-left: 8px; }

/* ---------- Latest cards ---------- */
.rr-card { background: var(--rr-bg-2); border: 1px solid var(--rr-line); border-radius: var(--rr-radius); overflow: hidden; transition: border-color .15s, transform .15s; display: flex; flex-direction: column; }
.rr-card:hover { border-color: #3a3a45; transform: translateY(-2px); }
.rr-card > * { margin: 0 !important; }
.rr-card__body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.rr-card__body > * { margin-block: 0 10px; }
.rr-card__body > :last-child { margin-bottom: 0; margin-top: auto; }
.rr-card__title { font-size: 22px; line-height: 1.2; font-weight: 600; }
.rr-card__dek { color: #bdbdc6; font-size: 14.5px; }
.rr-card__dek p { margin: 0; }

/* ---------- Investigations ---------- */
.rr-files { counter-reset: rrfile; }
.rr-files > li { counter-increment: rrfile; }
.rr-inv { background: var(--rr-bg); border: 1px solid var(--rr-line); border-top: 3px solid var(--rr-red); border-radius: 0 0 var(--rr-radius) var(--rr-radius); overflow: hidden; display: flex; flex-direction: column; }
.rr-inv > * { margin: 0 !important; }
.rr-inv__media { aspect-ratio: 4 / 3; background: radial-gradient(circle at 70% 30%, rgba(43,79,199,.4), transparent 55%), linear-gradient(160deg, #1a1a22, #070709); }
.rr-inv__media::after { content: "FILE " counter(rrfile, decimal-leading-zero); position: absolute; right: 12px; bottom: 10px; z-index: 2; font-family: 'Courier New', monospace; font-weight: 700; font-size: 12px; letter-spacing: 0.15em; color: #fff; background: rgba(200,16,46,.92); padding: 3px 7px; }
.rr-inv__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.rr-inv__body > * { margin-block: 0 10px; }
.rr-inv__kicker { font-family: 'Courier New', monospace; font-size: 13px; color: var(--rr-blue-light) !important; }
.rr-inv__title { font-size: 21px; line-height: 1.2; font-weight: 600; }
.rr-inv__dek { color: #bdbdc6; font-size: 14.5px; flex: 1; }
.rr-inv__dek p { margin: 0; }

/* ---------- Fact checks and verdict badges ---------- */
.rr-legend { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.rr-badge, .rr-verdict::before, [class*="is-style-rr-verdict-"] {
	display: inline-block; font-family: var(--rr-head); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 3px; color: #fff; white-space: nowrap; line-height: 1.3;
}
.rr-badge--confirmed, .is-style-rr-verdict-confirmed { background: var(--rr-green); }
.rr-badge--likely, .is-style-rr-verdict-likely { background: var(--rr-blue); }
.rr-badge--unverified, .is-style-rr-verdict-unverified { background: var(--rr-amber); color: #111; }
.rr-badge--not-supported, .is-style-rr-verdict-not-supported { background: var(--rr-red); }
p[class*="is-style-rr-verdict-"] { width: fit-content; }

/* Tag-driven badge: the empty .rr-verdict group shows only when the post has a verdict-* tag. */
.rr-verdict { display: none; margin: 0; }
.tag-verdict-confirmed .rr-verdict,
.tag-verdict-likely .rr-verdict,
.tag-verdict-unverified .rr-verdict,
.tag-verdict-not-supported .rr-verdict { display: block; }
.tag-verdict-confirmed .rr-verdict::before { content: "Confirmed"; background: var(--rr-green); }
.tag-verdict-likely .rr-verdict::before { content: "Likely"; background: var(--rr-blue); }
.tag-verdict-unverified .rr-verdict::before { content: "Unverified"; background: var(--rr-amber); color: #111; }
.tag-verdict-not-supported .rr-verdict::before { content: "Not supported"; background: var(--rr-red); }
/* Hide the raw verdict tags from tag lists; the badge already shows them. */
.wp-block-post-terms a[href*="/verdict-"] { display: none; }

.rr-fc { background: var(--rr-bg-2); border: 1px solid var(--rr-line); border-radius: var(--rr-radius); padding: 22px; display: flex; flex-direction: column; }
.rr-fc > * { margin-block: 0 12px; }
.rr-fc__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rr-muted); margin-bottom: 8px; }
.rr-fc__claim { font-size: 21px; line-height: 1.25; font-weight: 500; }
.rr-fc__note { font-size: 13.5px; color: #bdbdc6; flex: 1; }
.rr-fc__note p { margin: 0; }
.rr-fc__foot { margin: auto 0 0 !important; align-items: center; gap: 10px; border-top: 1px solid var(--rr-line); padding-top: 14px; }
.rr-fc__foot > * { margin: 0; }

/* ---------- Commentary ---------- */
.rr-comm { border-top: 3px solid var(--rr-blue); background: var(--rr-bg-2); padding: 16px 18px 18px; border-radius: 0 0 var(--rr-radius) var(--rr-radius); }
.rr-comm > * { margin-block: 0 8px; }
.rr-comm__cat a { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rr-blue-light); }
.rr-comm__cat a ~ a, .rr-comm__cat .wp-block-post-terms__separator { display: none; }
.rr-comm__title { font-size: 19px; line-height: 1.25; font-weight: 600; }

/* ---------- Listen ---------- */
.rr-audio { display: flex; gap: 16px; background: rgba(18,18,22,.85); border: 1px solid #232a48; border-radius: var(--rr-radius); padding: 16px; align-items: center; }
.rr-audio > * { margin: 0 !important; }
.rr-audio__art { flex: 0 0 92px; height: 92px; border-radius: 4px; overflow: hidden; background: radial-gradient(circle at 70% 35%, rgba(43,79,199,.7), transparent 60%), linear-gradient(135deg, #0b1024, #0b0b0d); position: relative; }
.rr-audio__art::before { content: ""; position: absolute; inset: 0; background: center / 30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Crect x='2' y='14' width='5' height='7' rx='1.5'/%3E%3Crect x='17' y='14' width='5' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.rr-audio__art .wp-block-post-featured-image { position: relative; z-index: 1; margin: 0; height: 100%; }
.rr-audio__art img { width: 100%; height: 100%; object-fit: cover; }
.rr-audio__body { flex: 1; min-width: 0; }
.rr-audio__body > * { margin-block: 0 8px; }
.rr-audio__body .rr-kicker { color: var(--rr-blue-light); margin-bottom: 4px; }
.rr-audio__title { font-size: 19px; line-height: 1.2; font-weight: 600; }
.rr-audio-slot { margin: 0; min-width: 0; }
.rr-audio-slot .wp-block-audio { min-width: 0; }
.rr-audio-slot .wp-block-audio { margin: 0; }
.rr-audio-slot audio, .wp-block-audio audio { width: 100%; min-width: 0; max-width: 100%; height: 40px; color-scheme: dark; border-radius: 20px; }
.rr-listen-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--rr-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: var(--rr-white); text-decoration: none; }
.rr-listen-link::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--rr-red) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4l13 8-13 8z' fill='white'/%3E%3C/svg%3E"); box-shadow: 0 0 0 4px rgba(200,16,46,.2); }

/* ---------- Watch ---------- */
.rr-watch-grid { display: grid !important; grid-template-columns: 2fr 1fr; gap: 24px; list-style: none; padding: 0; margin: 0; }
.rr-watch-grid > li { margin: 0 !important; }
.rr-watch-grid > li:first-child { grid-row: span 2; }
.rr-video > * { margin: 0; }
.rr-video__thumb { border-radius: var(--rr-radius); border: 1px solid var(--rr-line); }
.rr-video__thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2; pointer-events: none; background: rgba(200,16,46,.92) 54% 50% / 26px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4l14 8-14 8z' fill='white'/%3E%3C/svg%3E"); box-shadow: 0 0 0 8px rgba(0,0,0,.35); transition: transform .15s; }
.rr-watch-grid > li:first-child .rr-video__thumb::after { width: 92px; height: 92px; background-size: 34px; }
.rr-video:hover .rr-video__thumb::after { transform: translate(-50%, -50%) scale(1.06); }
.rr-video__title { font-size: 21px; margin-top: 12px !important; font-weight: 600; }
.rr-watch-grid > li:first-child .rr-video__title { font-size: 28px; }

/* ---------- From X ---------- */
.rr-xpost { background: var(--rr-bg); border: 1px solid var(--rr-line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; }
.rr-xpost > * { margin-block: 0 12px; }
.rr-xpost__head { gap: 12px; align-items: center; }
.rr-xpost__head > * { margin: 0; }
.rr-xpost__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.rr-xpost__name { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; }
.rr-xpost__name strong { color: var(--rr-white); }
.rr-xpost__name span { color: var(--rr-muted); font-size: 13.5px; }
.rr-xpost__text { font-size: 15.5px; flex: 1; }
.rr-xpost__link { height: 110px; border-radius: 10px; border: 1px solid var(--rr-line); background: linear-gradient(120deg, #c8102e 0%, #5a0716 40%, #0b0b0d 75%); display: flex; align-items: flex-end; padding: 8px; font-size: 12.5px; }
.rr-xpost:nth-child(3) .rr-xpost__link { background: radial-gradient(circle at 50% 120%, rgba(255,255,255,.18), transparent 60%), linear-gradient(160deg, #24242c, #0b0b0d); }
.rr-xpost__hint { font-size: 12px; color: var(--rr-muted); border-top: 1px solid var(--rr-line); padding-top: 10px; margin-bottom: 0; }
.rr-xgrid .wp-block-embed { margin: 0; }

/* ---------- Newsletter ---------- */
.rr-newsletter { background: linear-gradient(100deg, var(--rr-red-dark) 0%, var(--rr-red) 45%, #7a0a1d 100%); position: relative; overflow: hidden; padding-top: 48px; padding-bottom: 48px; }
.rr-newsletter::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); pointer-events: none; }
.rr-newsletter__inner { position: relative; gap: 32px; }
.rr-newsletter__inner > * { margin: 0; }
.rr-newsletter__copy > * { margin: 0 0 8px; }
.rr-newsletter__title { font-size: 40px; line-height: 1; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; }
.rr-newsletter p { color: #ffe5e9; font-size: 16.5px; }
.rr-newsletter__form { flex: 0 1 520px; }
.rr-newsletter__note { font-size: 13px !important; margin-top: 10px; opacity: .9; }
.rr-btn-white .wp-block-button__link { background: #fff; color: var(--rr-bg); }
.rr-btn-white .wp-block-button__link:hover { background: #f1f1f1; color: var(--rr-bg); }
/* Jetpack / WordPress.com Subscribe block */
.rr-newsletter .wp-block-jetpack-subscriptions { margin: 0; }
.rr-newsletter .wp-block-jetpack-subscriptions form { display: flex; gap: 10px; flex-wrap: wrap; }
.rr-newsletter .wp-block-jetpack-subscriptions input[type="email"] { flex: 1; min-width: 200px; padding: 14px 16px !important; font: inherit; border: 2px solid rgba(255,255,255,.85) !important; border-radius: 4px !important; background: rgba(0,0,0,.25) !important; color: #fff !important; }
.rr-newsletter .wp-block-jetpack-subscriptions button { background: #fff !important; color: var(--rr-bg) !important; font-family: var(--rr-head); text-transform: uppercase; letter-spacing: .08em; border-radius: 4px !important; padding: 14px 24px !important; border: 0 !important; }

/* ---------- Footer ---------- */
.rr-site-footer { margin-top: 0; }
.rr-footer { background: #050506; border-top: 1px solid var(--rr-line); padding-top: 52px; font-size: 14.5px; }
.rr-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 40px; }
.rr-footer__grid > * { margin: 0 !important; }
.rr-footer__logo img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 2px var(--rr-red); }
.rr-footer__brand p { color: var(--rr-muted); max-width: 340px; }
.rr-footer h4 { font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.rr-footer__links a { display: block; color: var(--rr-muted); padding: 4px 0; text-decoration: none; }
.rr-footer__links a:hover { color: var(--rr-white); }
.rr-socials { gap: 10px !important; margin-bottom: 18px; }
.rr-socials .wp-social-link { background: transparent !important; color: var(--rr-white) !important; border: 1px solid var(--rr-line); }
.rr-socials .wp-social-link a { padding: 9px; }
.rr-socials .wp-social-link:hover { background: var(--rr-red) !important; border-color: var(--rr-red); }
.rr-footer__bottom { border-top: 1px solid var(--rr-line); padding: 18px 0 24px; color: #7d7d88; font-size: 13px; gap: 16px; }
.rr-footer__bottom > * { margin: 0; }
.rr-footer__bottom a { color: #9a9aa5; text-decoration: none; }

/* ---------- Single posts and pages ---------- */
.rr-article { padding-top: 48px; padding-bottom: 56px; }
.rr-article__head > * { margin-block: 0 16px; }
.rr-article__cats a { color: var(--rr-red); }
.rr-article__title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; }
.rr-verdict--single::before { font-size: 15px; padding: 7px 14px; }
.rr-byline { gap: 6px 10px; align-items: baseline; font-size: 14px; color: var(--rr-muted); border-top: 1px solid var(--rr-line); border-bottom: 1px solid var(--rr-line); padding: 12px 0; }
.rr-byline > * { margin: 0; font-size: 14px; }
.rr-byline .wp-block-post-author-name a { color: var(--rr-white); font-weight: 600; text-decoration: none; }
.rr-byline__date::before { content: "\00b7"; margin-right: 10px; }
.rr-byline__updated::before { content: "Updated "; }
.rr-byline__updated { opacity: .85; }
.rr-article__image { margin-top: 28px !important; margin-bottom: 28px !important; }
.rr-article__image img { border-radius: var(--rr-radius); max-height: 620px; width: 100%; object-fit: cover; }
.rr-article__content { font-size: 18px; line-height: 1.7; }
.rr-article__content > * { margin-block: 0 1.2em; }
.rr-article__content a { color: var(--rr-white); text-decoration-color: var(--rr-red); text-underline-offset: 3px; }
.rr-article__content h2 { margin-top: 1.6em; }
.rr-article__content table { font-size: 15px; }
.rr-article__content th, .rr-article__content td { border-color: var(--rr-line); padding: 8px 10px; }
.rr-article__content thead { background: var(--rr-bg-3); }
.rr-article__foot { margin-top: 32px; }
.rr-article__foot > * { margin-block: 0 16px; }
.rr-article__tags { font-size: 14px; color: var(--rr-muted); }
.rr-article__tags:not(:has(a:not([href*="/verdict-"]))) { display: none; }
.rr-article__tags a[href*="/verdict-"] + .wp-block-post-terms__separator { display: none; }
.rr-article__tags a { color: var(--rr-text); }
.rr-article__nav { max-width: 760px; margin: 24px auto 0 !important; border-top: 1px solid var(--rr-line); padding-top: 18px; font-family: var(--rr-head); text-transform: uppercase; letter-spacing: .04em; }
.rr-article__nav a { text-decoration: none; }
.rr-related { margin-top: 0; }

/* Sources hook: block style "Sources box" (group) / "Sources list" (list), or add the CSS class rr-sources */
.is-style-rr-sources, .rr-sources { border-top: 3px solid var(--rr-red); padding-top: 18px; margin-top: 40px; font-size: 14.5px; line-height: 1.55; color: #c9c9d1; }
.is-style-rr-sources > h2, .is-style-rr-sources > h3, .rr-sources > h2, .rr-sources > h3 { font-size: 20px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
ol.is-style-rr-sources, .is-style-rr-sources ol, .rr-sources ol { padding-left: 2em; border-top: 0; margin-top: 0; }
ol.is-style-rr-sources li, .is-style-rr-sources li, .rr-sources li { margin-bottom: 8px; word-break: break-word; }
.is-style-rr-sources li::marker, .rr-sources li::marker { color: var(--rr-red); font-weight: 700; }

/* Corrections note style: block style "Correction note" or class rr-correction */
.is-style-rr-correction, .rr-correction { border-left: 4px solid var(--rr-amber); background: rgba(224,165,38,.08); padding: 14px 18px; border-radius: 0 var(--rr-radius) var(--rr-radius) 0; font-size: 15px; color: #e8e2d2; }
.is-style-rr-correction > *, .rr-correction > * { margin: 0; }
.is-style-rr-correction a, .rr-correction a { color: #fff; }
.rr-corrections-note { border-left-color: var(--rr-blue); background: rgba(43,79,199,.08); color: var(--rr-text); }

/* Dark card block style */
.is-style-rr-card { background: var(--rr-bg-2); border: 1px solid var(--rr-line); border-radius: var(--rr-radius); padding: 22px; }
.rr-verdict-box__claim { font-family: var(--rr-head); font-size: 22px; color: #fff; }

/* ---------- Archives, search, 404 ---------- */
.rr-archive-head { margin-bottom: 28px; border-bottom: 1px solid var(--rr-line); padding-bottom: 16px; }
.rr-archive-head > * { margin-block: 0 12px; }
.rr-archive-title { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; letter-spacing: .03em; position: relative; padding-left: 18px; }
.rr-archive-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 6px; background: var(--rr-red); }
.rr-archive-desc { color: var(--rr-muted); max-width: 760px; }
.rr-pagination { margin-top: 36px; font-family: var(--rr-head); text-transform: uppercase; letter-spacing: .06em; }
.rr-pagination a { text-decoration: none; color: var(--rr-text); }
.rr-pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--rr-line); border-radius: 4px; margin: 0 3px; }
.rr-pagination .page-numbers.current { background: var(--rr-red); border-color: var(--rr-red); color: #fff; }
.rr-search-form { max-width: 560px; }
.rr-search-form .wp-block-search__input { background: var(--rr-bg-3); color: #fff; border: 1px solid var(--rr-line); border-radius: 4px; padding: 12px 14px; }
.rr-search-form .wp-block-search__button { margin-left: 8px; }
.rr-rows { list-style: none; padding: 0; margin: 0; }
.rr-rows > li { margin: 0 0 18px; }
.rr-row { display: grid; grid-template-columns: 220px 1fr; gap: 22px; background: var(--rr-bg-2); border: 1px solid var(--rr-line); border-radius: var(--rr-radius); overflow: hidden; }
.rr-row > * { margin: 0 !important; }
.rr-row__media { background: linear-gradient(120deg, #2b4fc7 0%, #14245e 40%, #0b0b0d 80%); min-height: 130px; }
.rr-row__media .wp-block-post-featured-image, .rr-row__media img { height: 100%; width: 100%; object-fit: cover; margin: 0; }
.rr-row__body { padding: 16px 20px 16px 0; }
.rr-row__body > * { margin-block: 0 8px; }
.rr-row__cat a { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rr-red); }
.rr-row__title { font-size: 22px; }
.rr-row__dek { color: #bdbdc6; font-size: 14.5px; }
.rr-404 { padding-top: 80px; padding-bottom: 96px; text-align: left; }
.rr-404 > * { margin-block: 0 18px; }
.rr-404 > .rr-search-form, .rr-404 > .wp-block-buttons { margin-left: max(0px, calc((100% - 1280px) / 2)) !important; }
.rr-404__title { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.rr-brand__text { display: none; }
	.rr-nav { font-size: 14.5px; }
	.rr-nav .wp-block-navigation-item__content { padding: 8px 8px; }
	.rr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.rr-section { padding-top: 40px; padding-bottom: 40px; }
	.rr-utility__tag { display: none; }
	.rr-utility__inner { justify-content: center !important; }
	.rr-header__inner { min-height: 66px; gap: 12px; }
	.rr-brand__logo img { width: 46px; height: 46px; }
	.rr-nav { font-size: 13px; }
	.rr-nav .wp-block-navigation-item__content { padding: 6px 5px; }
	.rr-lead { grid-template-columns: 1fr; }
	.rr-lead__media { min-height: 0; aspect-ratio: 16 / 9; }
	.rr-lead__body { border-left: 0; border-top: 4px solid var(--rr-red); padding: 26px 22px; }
	.rr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rr-watch-grid { grid-template-columns: 1fr 1fr; }
	.rr-watch-grid > li:first-child { grid-column: 1 / -1; grid-row: auto; }
	.rr-newsletter__inner { flex-direction: column; align-items: stretch !important; }
	.rr-newsletter__form { flex: auto; }
	.rr-footer__grid { grid-template-columns: 1fr 1fr; }
	.rr-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.rr-brand__text { display: none; }
	.rr-tip .wp-block-button__link { font-size: 13px; padding: 8px 12px; }
	.rr-grid--3, .rr-grid--4 { grid-template-columns: 1fr; }
	.rr-section-title { font-size: 28px; }
	.rr-legend { display: none; }
	.rr-hero img { aspect-ratio: 2 / 1; object-position: 50% 50%; }
	.rr-inv__media { aspect-ratio: 16 / 9; }
	.rr-q-latest .rr-card { display: grid; grid-template-columns: 118px 1fr; }
	.rr-q-latest .rr-media { aspect-ratio: auto; min-height: 100%; }
	.rr-q-latest .rr-tag { left: 8px; top: 8px; }
	.rr-q-latest .rr-tag a { font-size: 10.5px; padding: 3px 6px; }
	.rr-q-latest .rr-card__body { padding: 12px 14px; }
	.rr-q-latest .rr-card__title { font-size: 18px; }
	.rr-q-latest .rr-card__dek { display: none; }
	.rr-watch-grid { grid-template-columns: 1fr; }
	.rr-watch-grid > li:first-child .rr-video__title { font-size: 23px; }
	.rr-audio__art { flex-basis: 72px; height: 72px; }
	.rr-newsletter__title { font-size: 32px; }
	.rr-footer__grid > :last-child { grid-column: 1 / -1; }
	.rr-row { grid-template-columns: 1fr; }
	.rr-row__body { padding: 0 16px 16px; }
	.rr-article__content { font-size: 17px; }
}
