/*
Theme Name: România Direct
Theme URI: https://romaniadirect.ro/
Author: România Direct
Description: Temă proprie pentru România Direct – știri și ghiduri, direct la subiect. Rapidă, fără jQuery, gândită pentru citit pe mobil.
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: romania-direct
*/

/* ===== Variabile ===== */
:root {
	--rd-navy: #0B2A5B;
	--rd-navy-2: #23447A;
	--rd-red: #C8102E;
	--rd-red-dark: #A00D25;
	--rd-yellow: #FCD116;
	--rd-ink: #141A26;
	--rd-text: #232A38;
	--rd-muted: #5A6478;
	--rd-line: #E3E6EC;
	--rd-soft: #F4F6FA;
	--rd-ph: #DCE1EA;
	--rd-bg: #FFFFFF;
	--rd-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--rd-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--rd-radius: 14px;
	--rd-wrap: 1200px;
}

/* ===== Bază ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--rd-bg);
	color: var(--rd-ink);
	font-family: var(--rd-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--rd-ink); text-decoration: none; }
a:hover { color: var(--rd-red); }
:focus-visible { outline: 3px solid var(--rd-red); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--rd-sans); color: var(--rd-ink); }

.rd-sr, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rd-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--rd-navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.rd-skip:focus { top: 12px; color: #fff; }

.rd-wrap { max-width: var(--rd-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.rd-main { padding-top: 32px; padding-bottom: 64px; }

/* ===== Topbar ===== */
.rd-topbar { background: var(--rd-navy); color: #C9D3E6; font-size: 13px; }
.rd-topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }

/* ===== Header ===== */
.rd-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff; border-bottom: 1px solid var(--rd-line);
	transition: box-shadow .2s ease;
}
.admin-bar .rd-header { top: 32px; }
.rd-header.is-stuck { box-shadow: 0 4px 18px rgba(11, 42, 91, .08); }
.rd-header__inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }

.rd-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.rd-logo__text { font-weight: 800; font-size: 23px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.rd-logo__a { color: var(--rd-navy); }
.rd-logo__b { color: var(--rd-red); }
.rd-logo:hover .rd-logo__a { color: var(--rd-navy); }
.rd-logo--light .rd-logo__a { color: #fff; }
.rd-logo--light .rd-logo__b { color: var(--rd-yellow); }
.rd-logo--light:hover .rd-logo__a { color: #fff; }

.rd-iconbtn {
	width: 44px; height: 44px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--rd-line); border-radius: 10px; background: #fff; color: var(--rd-ink); cursor: pointer;
}
.rd-iconbtn:hover { border-color: var(--rd-navy); color: var(--rd-navy); }
.rd-menu-toggle { display: none; }
.rd-menu-toggle .rd-when-open { display: none; }
.rd-menu-open .rd-menu-toggle .rd-when-open { display: inline-flex; }
.rd-menu-open .rd-menu-toggle .rd-when-closed { display: none; }
.rd-search-toggle { margin-left: auto; }

/* Meniu desktop */
.rd-nav { flex-grow: 1; min-width: 0; }
.rd-menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.rd-menu > li { position: relative; }
.rd-menu a {
	display: flex; align-items: center; gap: 6px;
	padding: 23px 0 20px; border-bottom: 3px solid transparent;
	font-weight: 700; font-size: 15px; white-space: nowrap;
}
.rd-menu > li.current-menu-item > a,
.rd-menu > li.current-category-ancestor > a,
.rd-menu > li.current-post-ancestor > a,
.rd-menu > li.current-menu-parent > a { color: var(--rd-red); border-bottom-color: var(--rd-red); }
.rd-menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.rd-menu .sub-menu {
	position: absolute; top: 100%; right: -12px; z-index: 60;
	min-width: 230px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--rd-line); border-radius: 12px;
	box-shadow: 0 16px 40px rgba(11, 42, 91, .14);
	display: none;
}
.rd-menu li:hover > .sub-menu,
.rd-menu li:focus-within > .sub-menu,
.rd-menu li.is-open > .sub-menu { display: block; }
.rd-menu .sub-menu a { padding: 11px 12px; border: 0; border-radius: 8px; font-size: 15px; }
.rd-menu .sub-menu a:hover { background: var(--rd-soft); }

/* Căutare */
.rd-searchbar { border-top: 1px solid var(--rd-line); background: var(--rd-soft); padding: 16px 0; }
.rd-searchform { display: flex; gap: 10px; }
.rd-searchform__input {
	flex: 1; min-width: 0; height: 48px; padding: 0 16px;
	border: 1px solid #C3CAD6; border-radius: 10px; background: #fff;
	font: inherit; font-size: 16px; color: var(--rd-ink);
}
.rd-searchform__input:focus { border-color: var(--rd-navy); outline: none; box-shadow: 0 0 0 3px rgba(11, 42, 91, .15); }

.rd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
	background: var(--rd-navy); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
}
.rd-btn:hover { background: var(--rd-red); color: #fff; }

/* Categorii pe mobil */
.rd-chips { display: none; border-top: 1px solid var(--rd-line); }
.rd-chips__track { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.rd-chips__track::-webkit-scrollbar { display: none; }
.rd-chip {
	flex-shrink: 0; padding: 8px 14px; border-radius: 999px;
	background: var(--rd-soft); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.rd-chip.is-on { background: var(--rd-navy); color: #fff; }

/* ===== Elemente comune ===== */
.rd-kicker {
	display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--rd-red);
}
.rd-kicker:hover { color: var(--rd-navy); }
.rd-meta { font-size: 13px; color: var(--rd-muted); }

.rd-ph {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: var(--rd-ph);
}
.rd-ph .rd-mark { opacity: .35; }

.rd-sechead {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	border-bottom: 2px solid var(--rd-navy); padding-bottom: 10px; margin-bottom: 20px;
}
.rd-sechead__title { margin: 0; font-size: 22px; font-weight: 800; color: var(--rd-navy); letter-spacing: -0.01em; }
.rd-sechead__more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--rd-red); white-space: nowrap; }
.rd-boxtitle {
	margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--rd-navy);
	font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-navy);
}

.rd-grid { display: grid; gap: 28px 24px; }
.rd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Card */
.rd-card { display: flex; flex-direction: column; gap: 12px; }
.rd-card__img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--rd-ph); }
.rd-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rd-card:hover .rd-card__img img { transform: scale(1.03); }
.rd-card__body { display: flex; flex-direction: column; gap: 6px; }
.rd-card__title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; }
.rd-card__excerpt { margin: 0; color: var(--rd-muted); font-size: 15px; line-height: 1.5; }

/* Liste numerotate */
.rd-numlist { list-style: none; margin: 0; padding: 0; }
.rd-numlist li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rd-line); }
.rd-numlist li:last-child { border-bottom: 0; }
.rd-numlist__n { font-size: 28px; line-height: 1; font-weight: 800; color: var(--rd-red); min-width: 22px; }
.rd-numlist li > div { display: flex; flex-direction: column; gap: 4px; }
.rd-numlist .rd-kicker { color: var(--rd-muted); font-size: 11px; }
.rd-numlist__title { font-size: 17px; font-weight: 700; line-height: 1.3; }

/* ===== Prima pagină ===== */
.rd-home { display: flex; flex-direction: column; gap: 52px; }
.rd-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; }
.rd-lead { display: flex; flex-direction: column; gap: 12px; }
.rd-lead__img { display: block; aspect-ratio: 16 / 9; border-radius: var(--rd-radius); overflow: hidden; background: var(--rd-ph); margin-bottom: 4px; }
.rd-lead__img img { width: 100%; height: 100%; object-fit: cover; }
.rd-lead__title { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.rd-lead__excerpt { margin: 0; font-family: var(--rd-serif); font-size: 19px; line-height: 1.55; color: #3A4560; }

.rd-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.rd-block .rd-sechead { margin-bottom: 16px; }
.rd-block .rd-sechead__title { font-size: 20px; }
.rd-block__lead { display: flex; flex-direction: column; gap: 12px; }
.rd-block__img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--rd-ph); }
.rd-block__img img { width: 100%; height: 100%; object-fit: cover; }
.rd-block__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; }
.rd-block__list { list-style: none; margin: 14px 0 0; padding: 0; }
.rd-block__list li { padding: 12px 0; border-top: 1px solid var(--rd-line); }
.rd-block__list a { font-size: 16px; font-weight: 600; line-height: 1.35; }

.rd-allposts { display: flex; justify-content: center; }

.rd-adslot { display: flex; flex-direction: column; align-items: center; gap: 24px; min-width: 0; }
.rd-sidebar .rd-adslot { align-items: stretch; }
.rd-adslot--wide { padding: 8px 0; }
.rd-widget { max-width: 100%; min-width: 0; }
.rd-widget img, .rd-widget iframe { max-width: 100%; height: auto; margin: 0 auto; }
.rd-widget ul, .rd-widget ol { padding-left: 1.1em; }
.rd-sidebar .rd-widget h2, .rd-sidebar .rd-widget .wp-block-heading {
	margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--rd-navy);
	font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-navy);
}
.rd-widget .wp-block-search__input { height: 44px; border: 1px solid #C3CAD6; border-radius: 10px; padding: 0 12px; font: inherit; }
.rd-widget .wp-block-search__button { min-height: 44px; border: 0; border-radius: 10px; background: var(--rd-navy); color: #fff; font-weight: 700; padding: 0 16px; }
.rd-widget__title { font-size: 12px; font-weight: 600; color: var(--rd-muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; }

/* ===== Arhive ===== */
.rd-pagehead { padding-bottom: 24px; margin-bottom: 32px; border-bottom: 2px solid var(--rd-navy); }
.rd-pagehead--center { text-align: center; border-bottom: 0; }
.rd-pagehead__kicker { font-size: 13px; font-weight: 800; color: var(--rd-red); text-transform: uppercase; letter-spacing: .08em; }
.rd-pagehead__title { margin: 6px 0 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--rd-navy); }
.rd-pagehead__desc { margin-top: 10px; color: var(--rd-muted); font-size: 17px; max-width: 720px; }
.rd-pagehead--center .rd-pagehead__desc { margin-left: auto; margin-right: auto; }
.rd-pagehead__search { margin-top: 20px; max-width: 640px; }
.rd-pagehead--center .rd-pagehead__search { margin-left: auto; margin-right: auto; }
.rd-empty { padding: 32px 0; max-width: 640px; }

.rd-pagination { margin-top: 48px; }
.rd-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rd-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--rd-line); border-radius: 10px; font-weight: 700;
}
.rd-pagination .page-numbers.current { background: var(--rd-navy); border-color: var(--rd-navy); color: #fff; }
.rd-pagination .page-numbers.dots { border: 0; }

/* ===== Articol ===== */
.rd-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.rd-article { min-width: 0; max-width: 760px; }
.rd-article--page { margin: 0 auto; }
.rd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--rd-muted); margin-bottom: 14px; }
.rd-crumbs a { color: var(--rd-muted); }
.rd-crumbs__cat { color: var(--rd-red) !important; font-weight: 700; }
.rd-article__title { margin: 0 0 16px; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.rd-article__lead { margin: 0 0 20px; font-family: var(--rd-serif); font-size: 21px; line-height: 1.5; color: #3A4560; }

.rd-byline {
	display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px;
	padding: 14px 0; margin-bottom: 24px; border-top: 1px solid var(--rd-line); border-bottom: 1px solid var(--rd-line);
}
.rd-byline__avatar {
	width: 40px; height: 40px; border-radius: 50%; background: var(--rd-navy); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.rd-byline__text { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.rd-byline__author { font-weight: 700; font-size: 15px; }

.rd-share { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-share__btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
	border: 1px solid var(--rd-line); border-radius: 999px; background: #fff;
	font-size: 14px; font-weight: 700; color: var(--rd-ink); cursor: pointer;
}
.rd-share__btn--fb:hover { border-color: #1877F2; color: #1877F2; }
.rd-share__btn--wa:hover { border-color: #128C4B; color: #128C4B; }
.rd-copy:hover { border-color: var(--rd-navy); color: var(--rd-navy); }

.rd-article__img { margin: 0 0 28px; }
.rd-article__img img { width: 100%; border-radius: var(--rd-radius); }
.rd-article__img figcaption { margin-top: 8px; font-size: 13px; color: var(--rd-muted); }

.rd-article__share {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 32px; padding: 18px 20px; background: var(--rd-soft); border-radius: var(--rd-radius);
	font-weight: 700;
}

/* Text articol */
.rd-prose { font-family: var(--rd-serif); font-size: 19px; line-height: 1.75; color: var(--rd-text); overflow-wrap: break-word; }
.rd-prose > * { margin-top: 0; margin-bottom: 1.1em; }
.rd-prose h2, .rd-prose h3, .rd-prose h4 { font-family: var(--rd-sans); color: var(--rd-ink); line-height: 1.25; letter-spacing: -0.01em; margin-top: 1.6em; margin-bottom: .6em; }
.rd-prose h2 { font-size: 27px; font-weight: 800; }
.rd-prose h3 { font-size: 22px; font-weight: 700; }
.rd-prose h4 { font-size: 19px; font-weight: 700; }
.rd-prose a { color: var(--rd-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rd-prose a:hover { color: var(--rd-navy); }
.rd-prose ul, .rd-prose ol { padding-left: 1.3em; }
.rd-prose li { margin-bottom: .4em; }
.rd-prose li::marker { color: var(--rd-red); }
.rd-prose blockquote {
	margin-left: 0; margin-right: 0; padding: 18px 22px; background: var(--rd-soft); border-radius: 12px;
	font-style: italic; color: var(--rd-ink);
}
.rd-prose blockquote p:last-child { margin-bottom: 0; }
.rd-prose img { border-radius: 10px; }
.rd-prose figure { margin-left: 0; margin-right: 0; }
.rd-prose figcaption, .rd-prose .wp-element-caption { font-family: var(--rd-sans); font-size: 13px; color: var(--rd-muted); margin-top: 8px; }
.rd-prose table { width: 100%; border-collapse: collapse; font-family: var(--rd-sans); font-size: 15px; display: block; overflow-x: auto; }
.rd-prose th, .rd-prose td { border: 1px solid var(--rd-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.rd-prose th { background: var(--rd-soft); }
.rd-prose iframe { max-width: 100%; }
.rd-prose .alignleft { float: left; margin: 0 1.2em 1em 0; }
.rd-prose .alignright { float: right; margin: 0 0 1em 1.2em; }
.rd-prose .aligncenter { margin-left: auto; margin-right: auto; }
.rd-prose::after { content: ""; display: table; clear: both; }

.rd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.rd-tag { padding: 8px 14px; border: 1px solid var(--rd-line); border-radius: 999px; font-size: 13px; font-weight: 600; }
.rd-tag:hover { border-color: var(--rd-red); }

/* Coloana laterală */
.rd-sidebar { min-width: 0; height: 100%; }
.rd-sidebar__sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 32px; }
.admin-bar .rd-sidebar__sticky { top: 128px; }

/* Citește și */
.rd-related { background: var(--rd-soft); padding: 48px 0 56px; }

/* ===== Footer ===== */
.rd-footer { background: var(--rd-navy); color: #C9D3E6; padding: 52px 0 24px; }
.rd-footer a { color: #C9D3E6; }
.rd-footer a:hover { color: #fff; }
.rd-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.rd-footer__about p { margin: 14px 0 0; max-width: 420px; font-size: 15px; line-height: 1.6; }
.rd-footer__about .rd-logo__text { font-size: 26px; }
.rd-footer__title { margin: 0 0 14px; font-size: 14px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.rd-footer ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.rd-footer li { margin-bottom: 10px; font-size: 15px; break-inside: avoid; }
.rd-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rd-navy-2); font-size: 13px;
}

/* ===== Gutenberg ===== */
.wp-block-image img { height: auto; }
.wp-block-embed { margin-left: 0; margin-right: 0; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
	.rd-menu { gap: 18px; }
	.rd-menu a { font-size: 14px; }
	.rd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rd-single { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
}

@media (max-width: 960px) {
	.rd-wrap { padding-left: 16px; padding-right: 16px; }
	.rd-topbar__tag { display: none; }
	.rd-header__inner { gap: 8px; min-height: 60px; }
	.rd-menu-toggle { display: inline-flex; border-color: transparent; }
	.rd-search-toggle { border-color: transparent; }
	.rd-logo { margin: 0 auto; }
	.rd-logo .rd-mark { width: 32px; height: 32px; }
	.rd-logo__text { font-size: 20px; }
	.rd-search-toggle { margin-left: 0; }
	.rd-chips { display: block; }

	.rd-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--rd-line); box-shadow: 0 16px 30px rgba(11, 42, 91, .12);
		max-height: calc(100vh - 120px); overflow-y: auto; padding: 8px 16px 16px;
	}
	.rd-menu-open .rd-nav { display: block; }
	.rd-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.rd-menu a { padding: 14px 4px; border-bottom: 1px solid var(--rd-line); font-size: 17px; }
	.rd-menu > li.current-menu-item > a { border-bottom-color: var(--rd-line); }
	.rd-menu .menu-item-has-children > a { display: none; }
	.rd-menu .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0; min-width: 0; }
	.rd-menu .sub-menu a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--rd-line); font-size: 17px; }

	.rd-hero, .rd-single { grid-template-columns: minmax(0, 1fr); }
	.rd-lead__title { font-size: 30px; }
	.rd-lead__excerpt { font-size: 17px; }
	.rd-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rd-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rd-sidebar__sticky { position: static; }
	.rd-article__title { font-size: 32px; }
	.rd-article__lead { font-size: 19px; }
	.rd-pagehead__title { font-size: 32px; }
	.rd-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.rd-footer ul { columns: 2; }
}

@media (max-width: 640px) {
	.rd-main { padding-top: 20px; padding-bottom: 48px; }
	.rd-home { gap: 40px; }
	.rd-grid--3, .rd-blocks { grid-template-columns: minmax(0, 1fr); }
	.rd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.rd-grid--4 .rd-card__title { font-size: 15px; }
	.rd-grid--4 .rd-meta { display: none; }
	.rd-blocks { gap: 40px; }
	.rd-lead__title { font-size: 26px; }
	.rd-lead__img { border-radius: 12px; }
	.rd-article__title { font-size: 28px; }
	.rd-prose { font-size: 18px; }
	.rd-share__btn span { display: none; }
	.rd-share__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.rd-article__share .rd-share__btn span { display: none; }
	.rd-searchform { flex-direction: column; }
	.rd-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.rd-pagehead__title { font-size: 28px; }

	/* pe telefon, cardurile din arhive devin rânduri compacte */
	.rd-grid--3 .rd-card { flex-direction: row; gap: 14px; }
	.rd-grid--3 .rd-card__img { width: 112px; flex-shrink: 0; aspect-ratio: 1 / 1; border-radius: 10px; }
	.rd-grid--3 .rd-card__title { font-size: 16px; }
	.rd-grid--3 .rd-card__excerpt { display: none; }
}

@media (max-width: 782px) {
	.admin-bar .rd-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .rd-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rd-card__img img { transition: none; }
}

@media print {
	.rd-topbar, .rd-header, .rd-sidebar, .rd-share, .rd-article__share, .rd-related, .rd-footer, .rd-adslot { display: none !important; }
	.rd-single { display: block; }
}
