/*
Theme Name: Citate Românești
Theme URI: https://citateromanesti.ro/
Author: Zestrero
Author URI: https://zestrero.ro/
Description: Temă personalizată pentru Citate Românești: citatul zilei, bancuri pe carduri, perete de citate, rețete și religie. Design verde, tipografic, responsive, cu setări în Personalizare și măsuri de securitate incluse.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: citate-romanesti
Tags: blog, news, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------- Variabile ---------- */
:root {
	--crt-accent: #0B6B45;
	--crt-hl: #C6F24E;
	--crt-dark: #06281C;
	--crt-dark-2: #0E4530;
	--crt-dark-3: #0C3A28;
	--crt-ink: #071A12;
	--crt-ground: #EEF5EC;
	--crt-body: #24362D;
	--crt-muted: #3E5148;
	--crt-muted-dark: #B7CFC0;
	--crt-ph: #CFE0D3;
	--crt-font: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--crt-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
	--crt-wrap: 1200px;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--crt-ground);
	color: var(--crt-ink);
	font-family: var(--crt-font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--crt-accent); outline-offset: 3px; }
.crt-dark :focus-visible,
.crt-header :focus-visible,
.crt-footer :focus-visible,
.crt-joke--dark :focus-visible { outline-color: var(--crt-hl); }

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	left: 12px;
	top: 12px;
	z-index: 100000;
	background: var(--crt-hl);
	color: var(--crt-dark);
	padding: 12px 18px;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
}

.crt-wrap { max-width: var(--crt-wrap); margin-inline: auto; padding-inline: 24px; }
.crt-dark { background: var(--crt-dark); color: #fff; }

/* Clase WordPress de bază */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .gallery-caption { max-width: 100%; font-size: 15px; color: var(--crt-muted); }
.wp-caption-text { font-size: 15px; color: var(--crt-muted); margin-top: 6px; }
.sticky, .bypostauthor { position: relative; }

/* ---------- Butoane ---------- */
.crt-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	font-size: 16px;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease;
}
.crt-btn:hover { transform: translateY(-2px); }
.crt-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.crt-btn--lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
.crt-btn--hl { background: var(--crt-hl); color: var(--crt-dark); }
.crt-btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.crt-btn--dark { background: var(--crt-dark); border-color: var(--crt-ink); color: #fff; }
.crt-btn--outline { background: #fff; border-color: var(--crt-ink); color: var(--crt-ink); }
.crt-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.crt-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 2px solid var(--crt-ink);
	border-radius: 999px;
	color: var(--crt-ink);
	text-decoration: none;
	font-weight: 800;
	transition: transform .15s ease;
}
.crt-pill:hover { transform: translateY(-2px); }
.crt-pill svg { width: 20px; height: 20px; }
.crt-dark .crt-pill { border-color: #fff; color: #fff; }

/* ---------- Antet ---------- */
.crt-header { background: var(--crt-dark); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.crt-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.crt-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; text-decoration: none; }
.crt-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--crt-hl);
	color: var(--crt-dark);
	transform: rotate(-6deg);
}
.crt-brand__mark svg { width: 30px; height: 30px; }
.crt-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.crt-brand__name { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.crt-brand__tag { font-size: 13px; color: var(--crt-muted-dark); font-weight: 500; }
.custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.custom-logo { max-height: 56px; width: auto; }

.crt-nav { flex: 1 1 auto; }
.crt-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crt-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: background-color .15s ease;
}
.crt-nav a:hover { background: rgba(255, 255, 255, .1); }
.crt-nav .current-menu-item > a,
.crt-nav .current-menu-ancestor > a,
.crt-nav .current-post-ancestor > a,
.crt-nav .current-menu-parent > a {
	background: var(--crt-hl);
	color: var(--crt-dark);
	font-weight: 800;
}

.crt-search { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; max-width: 340px; margin: 0; }
.crt-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--crt-ink);
	font: inherit;
	font-size: 16px;
}
.crt-search button {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: var(--crt-hl);
	color: var(--crt-dark);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.crt-search button svg { width: 20px; height: 20px; }
.crt-search--light { max-width: 520px; }
.crt-search--light input[type="search"] { border: 2px solid var(--crt-ink); height: 54px; }
.crt-search--light button { flex-basis: 54px; width: 54px; height: 54px; border: 2px solid var(--crt-ink); }

/* ---------- Citatul zilei (hero) ---------- */
.crt-hero { position: relative; overflow: hidden; }
.crt-hero__bg {
	position: absolute;
	top: -70px;
	right: -50px;
	width: clamp(280px, 54vw, 780px);
	height: auto;
	color: var(--crt-dark-3);
	pointer-events: none;
}
.crt-hero__inner {
	position: relative;
	padding-top: clamp(40px, 6vw, 92px);
	display: flex;
	flex-direction: column;
	gap: clamp(22px, 3vw, 40px);
}
.crt-hero--noticker .crt-hero__inner { padding-bottom: clamp(48px, 6vw, 92px); }
.crt-eyebrow {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border: 1.5px solid var(--crt-hl);
	border-radius: 999px;
	color: var(--crt-hl);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
}
.crt-hero__quote {
	margin: 0;
	max-width: 1040px;
	font-family: var(--crt-serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(46px, 8.6vw, 128px);
	line-height: .98;
	letter-spacing: -.025em;
	overflow-wrap: break-word;
}
.crt-hero__quote--long { font-size: clamp(34px, 5.2vw, 80px); line-height: 1.04; }
.crt-hero__quote a { color: inherit; text-decoration: none; }
.crt-mark {
	display: inline-block;
	padding: 0 .14em;
	border-radius: .14em;
	background: var(--crt-hl);
	color: var(--crt-dark);
	transform: rotate(-2deg);
}
.crt-hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; }
.crt-hero__meta { display: flex; flex-direction: column; gap: 26px; }
.crt-hero__author { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 20px; }
.crt-hero__line { width: 56px; height: 3px; background: var(--crt-hl); }
.crt-hero__author strong { font-size: 24px; font-weight: 800; }
.crt-hero__cat { color: var(--crt-muted-dark); }

.crt-badge { flex: 0 0 auto; width: 156px; height: 156px; color: var(--crt-hl); }
.crt-badge__ring { transform-box: view-box; transform-origin: 100px 100px; animation: crt-spin 36s linear infinite; }
.crt-badge text { font-family: var(--crt-font); font-weight: 700; font-size: 16px; fill: currentColor; }
@keyframes crt-spin { to { transform: rotate(360deg); } }

.crt-ticker {
	position: relative;
	width: 110%;
	margin: clamp(40px, 5vw, 72px) 0 -14px -5%;
	padding: 16px 0;
	transform: rotate(-1.5deg);
	background: var(--crt-hl);
	color: var(--crt-dark);
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(16px, 2.2vw, 32px);
	overflow: hidden;
	white-space: nowrap;
	font-size: clamp(26px, 4.2vw, 58px);
	font-weight: 800;
	letter-spacing: -.035em;
	text-transform: uppercase;
	line-height: 1;
}
.crt-ticker svg { flex: 0 0 auto; width: .7em; height: .7em; }

/* ---------- Casete categorii ---------- */
.crt-tiles-sec { padding-top: 64px; }
.crt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.crt-tile {
	min-height: 220px;
	padding: 20px;
	border-radius: 28px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	transition: transform .2s ease;
}
.crt-tile:hover { transform: translateY(-4px); }
.crt-tile__top { display: flex; align-items: center; justify-content: space-between; }
.crt-tile__num { font-family: var(--crt-serif); font-style: italic; font-size: 30px; }
.crt-tile__go { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 999px; }
.crt-tile__go svg { width: 24px; height: 24px; }
.crt-tile__name { display: block; font-size: clamp(26px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.crt-tile__desc { display: block; margin-top: 4px; font-size: 16px; }
.crt-tile--1 { background: var(--crt-dark); color: #fff; }
.crt-tile--1 .crt-tile__num { color: var(--crt-hl); }
.crt-tile--1 .crt-tile__go { background: var(--crt-hl); color: var(--crt-dark); }
.crt-tile--1 .crt-tile__desc { color: var(--crt-muted-dark); }
.crt-tile--2 { background: var(--crt-hl); color: var(--crt-dark); }
.crt-tile--2 .crt-tile__go { background: var(--crt-dark); color: #fff; }
.crt-tile--2 .crt-tile__desc { color: #1F3A2B; }
.crt-tile--3 { background: var(--crt-accent); color: #fff; }
.crt-tile--3 .crt-tile__num { color: var(--crt-hl); }
.crt-tile--3 .crt-tile__go { background: #fff; color: var(--crt-dark); }
.crt-tile--3 .crt-tile__desc { color: #E3F1E7; }
.crt-tile--4 { background: #fff; color: var(--crt-ink); border: 2px solid var(--crt-ink); }
.crt-tile--4 .crt-tile__num { color: var(--crt-accent); }
.crt-tile--4 .crt-tile__go { background: var(--crt-dark); color: #fff; }
.crt-tile--4 .crt-tile__desc { color: var(--crt-muted); }

/* ---------- Titluri de secțiune ---------- */
.crt-sec { padding-top: 96px; }
.crt-sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; }
.crt-h2 { margin: 0; font-size: clamp(46px, 7vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .92; }
.crt-h2 em, .crt-h1 em, .crt-h3big em {
	font-family: var(--crt-serif);
	font-style: italic;
	font-weight: 500;
	letter-spacing: -.02em;
	color: var(--crt-accent);
}
.crt-dark .crt-h2 em, .crt-dark .crt-h1 em { color: var(--crt-hl); }
.crt-h3big { margin: 0 0 28px; font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: .95; }

/* ---------- Carduri bancuri ---------- */
.crt-jokes { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 28px 24px; padding: 0 8px 8px 0; }
.crt-joke {
	border: 2px solid var(--crt-ink);
	border-radius: 24px;
	box-shadow: 8px 8px 0 var(--crt-ink);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transform: rotate(-1deg);
	transition: transform .2s ease;
}
.crt-joke:nth-child(even) { transform: rotate(1deg); }
.crt-joke:hover { transform: rotate(0) translateY(-3px); }
.crt-joke--light { background: #fff; }
.crt-joke--lime { background: var(--crt-hl); color: var(--crt-ink); }
.crt-joke--dark { background: var(--crt-dark); color: #fff; box-shadow: 8px 8px 0 var(--crt-accent); }
.crt-chip {
	align-self: flex-start;
	padding: 5px 13px;
	border-radius: 999px;
	background: var(--crt-dark);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}
.crt-joke--dark .crt-chip { background: var(--crt-hl); color: var(--crt-dark); }
.crt-joke__title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; overflow-wrap: break-word; }
.crt-joke__title a { color: inherit; text-decoration: none; }
.crt-joke__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crt-joke__lines { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--crt-body); font-size: 17px; }
.crt-joke--lime .crt-joke__lines { color: #14261C; }
.crt-joke--dark .crt-joke__lines { color: #DCEBE1; }
.crt-joke__lines p { margin: 0; overflow-wrap: break-word; }
.crt-joke__lines .crt-punch { margin-top: 4px; padding: 4px 10px; border-radius: 8px; background: var(--crt-hl); color: var(--crt-ink); font-weight: 800; font-size: 19px; }
.crt-joke--lime .crt-punch { background: #fff; }
.crt-joke__foot {
	margin-top: auto;
	padding-top: 14px;
	border-top: 2px solid var(--crt-ink);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: var(--crt-muted);
}
.crt-joke--lime .crt-joke__foot { color: #1F3A2B; }
.crt-joke--dark .crt-joke__foot { border-top-color: rgba(255, 255, 255, .3); color: var(--crt-muted-dark); }
.crt-joke__more { display: inline-flex; align-items: center; min-height: 44px; color: var(--crt-ink); font-weight: 800; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.crt-joke--dark .crt-joke__more { color: var(--crt-hl); }

/* ---------- Publicitate ---------- */
.crt-ad { max-width: 728px; min-height: 90px; margin: 72px auto 0; text-align: center; }
.crt-ad ins { display: block; }
.crt-ad--side { max-width: none; min-height: 250px; margin: 0; }
.crt-ad--single { max-width: none; margin: 0; }

/* ---------- Perete de citate ---------- */
.crt-quotes-sec { position: relative; overflow: hidden; margin-top: 72px; }
.crt-quotes-sec__bg {
	position: absolute;
	bottom: -120px;
	left: -70px;
	width: clamp(240px, 40vw, 580px);
	height: auto;
	color: var(--crt-dark-3);
	transform: rotate(180deg);
	pointer-events: none;
}
.crt-quotes-sec > .crt-wrap { position: relative; padding-block: 96px; }
.crt-quotes { columns: 3 300px; column-gap: 20px; }
.crt-quote {
	break-inside: avoid;
	margin: 0 0 20px;
	border-radius: 28px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.crt-quote__mark { width: 46px; height: 46px; flex: 0 0 auto; }
.crt-quote__text { margin: 0; font-family: var(--crt-serif); font-size: 28px; line-height: 1.16; font-weight: 500; overflow-wrap: break-word; }
.crt-quote__text a { color: inherit; text-decoration: none; }
.crt-quote__text a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.crt-quote figcaption { font-size: 16px; font-weight: 800; }
.crt-quote--xl .crt-quote__text { font-size: 36px; line-height: 1.12; letter-spacing: -.01em; }
.crt-quote--l .crt-quote__text { font-size: 32px; line-height: 1.12; }
.crt-quote--it .crt-quote__text { font-style: italic; }
.crt-quote--long .crt-quote__text { font-size: 23px; line-height: 1.25; }
.crt-quote--deep { background: var(--crt-dark-2); color: #fff; }
.crt-quote--deep .crt-quote__mark, .crt-quote--deep figcaption { color: var(--crt-hl); }
.crt-quote--white { background: #fff; color: var(--crt-ink); }
.crt-quote--white .crt-quote__mark, .crt-quote--white figcaption { color: var(--crt-accent); }
.crt-quote--lime { background: var(--crt-hl); color: var(--crt-dark); }
.crt-quote--outline { border: 2px solid rgba(255, 255, 255, .45); color: #fff; }
.crt-quote--outline .crt-quote__mark, .crt-quote--outline figcaption { color: var(--crt-hl); }
.crt-quote--accent { background: var(--crt-accent); color: #fff; }

/* ---------- Carduri articole / rețete ---------- */
.crt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 36px 24px; }
.crt-card { display: flex; flex-direction: column; gap: 14px; color: var(--crt-ink); text-decoration: none; }
.crt-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border: 2px solid var(--crt-ink);
	border-radius: 28px;
	background: var(--crt-ph);
	overflow: hidden;
}
.crt-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.crt-card:hover .crt-card__media img { transform: scale(1.04); }
.crt-card__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #B3CCB9; }
.crt-card__ph svg { width: 34%; height: auto; }
.crt-card__date {
	position: absolute;
	left: 14px;
	top: 14px;
	z-index: 1;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--crt-dark);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}
.crt-card__go {
	position: absolute;
	right: -2px;
	bottom: -2px;
	z-index: 1;
	width: 68px;
	height: 68px;
	border: 2px solid var(--crt-ink);
	border-radius: 28px 0 26px 0;
	background: var(--crt-hl);
	color: var(--crt-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}
.crt-card__go svg { width: 26px; height: 26px; }
.crt-card__title { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.05; letter-spacing: -.035em; overflow-wrap: break-word; }
.crt-card:hover .crt-card__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.crt-card__excerpt { color: var(--crt-body); }

/* ---------- Religie ---------- */
.crt-faith-sec { background: #fff; border-block: 2px solid var(--crt-ink); margin-top: 96px; }
.crt-faith-sec > .crt-wrap { padding-block: 96px; }
.crt-faith { display: flex; flex-wrap: wrap; gap: 36px 56px; }
.crt-faith__feature { flex: 3 1 420px; min-width: 0; }
.crt-faith__feature .crt-card__media { aspect-ratio: 16 / 10; }
.crt-faith__feature .crt-card__title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.04em; }
.crt-faith__feature .crt-card__excerpt { font-size: 18px; }
.crt-faith__list { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; border-bottom: 2px solid var(--crt-ink); align-self: flex-start; }
.crt-row { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-top: 2px solid var(--crt-ink); color: var(--crt-ink); text-decoration: none; }
.crt-row__num { flex: 0 0 44px; font-family: var(--crt-serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--crt-accent); }
.crt-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.crt-row__title { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; overflow-wrap: break-word; }
.crt-row:hover .crt-row__title { text-decoration: underline; text-underline-offset: 5px; }
.crt-row__date { font-size: 14px; color: var(--crt-muted); }

/* ---------- Etichete ---------- */
.crt-tags-sec { padding-block: 80px 96px; }
.crt-tags { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.crt-tag {
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	padding: 0 24px;
	border: 2px solid var(--crt-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--crt-ink);
	text-decoration: none;
	font-weight: 800;
	font-size: 18px;
	transition: transform .15s ease;
}
.crt-tag:hover { transform: translateY(-2px); }
.crt-tags li:nth-child(5n+1) .crt-tag { background: var(--crt-hl); }
.crt-tags li:nth-child(5n+4) .crt-tag { background: var(--crt-dark); color: #fff; }
.crt-tag--sm { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 700; }

/* ---------- Subsol ---------- */
.crt-footer { background: var(--crt-dark); color: #fff; overflow: hidden; }
.crt-footer__inner { padding-block: 72px 28px; display: flex; flex-direction: column; gap: 40px; }
.crt-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.crt-footer__about {
	flex: 1 1 320px;
	min-width: 0;
	max-width: 520px;
	margin: 0;
	font-family: var(--crt-serif);
	font-style: italic;
	font-size: 28px;
	line-height: 1.2;
	color: #DCEBE1;
}
.crt-footer__col { flex: 0 1 220px; display: flex; flex-direction: column; }
.crt-footer__label { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--crt-hl); }
.crt-footer__col ul { list-style: none; margin: 0; padding: 0; }
.crt-footer__col a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.crt-footer__col a:hover { color: var(--crt-hl); }
.crt-footer__word { font-size: clamp(30px, 8.4vw, 122px); font-weight: 800; letter-spacing: -.055em; line-height: .9; color: var(--crt-hl); overflow-wrap: anywhere; }
.crt-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .2);
	padding-top: 22px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	font-size: 15px;
	color: var(--crt-muted-dark);
}
.crt-footer__bottom a { color: #fff; font-weight: 700; }

/* ---------- Antet de pagină (articol, arhivă) ---------- */
.crt-pagehero { position: relative; overflow: hidden; }
.crt-pagehero__bg {
	position: absolute;
	top: -60px;
	right: -40px;
	width: clamp(240px, 40vw, 560px);
	height: auto;
	color: var(--crt-dark-3);
	pointer-events: none;
}
.crt-pagehero__inner { position: relative; padding-block: 20px 150px; display: flex; flex-direction: column; gap: 20px; }
.crt-pagehero--plain .crt-pagehero__inner { padding-block: 56px 72px; }
.crt-pagehero__desc { max-width: 720px; color: #DCEBE1; font-size: 19px; }
.crt-pagehero__desc p { margin: 0; }

.crt-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: var(--crt-muted-dark); }
.crt-crumbs li { display: inline-flex; align-items: center; }
.crt-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--crt-muted-dark); }
.crt-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--crt-hl); text-decoration: none; font-weight: 700; }
.crt-crumbs a:hover { text-decoration: underline; }

.crt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.crt-meta__cat {
	padding: 6px 16px;
	border: 1.5px solid var(--crt-hl);
	border-radius: 999px;
	color: var(--crt-hl);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
}
.crt-meta__date { font-size: 16px; color: var(--crt-muted-dark); }

.crt-h1 {
	margin: 0;
	max-width: 1000px;
	font-size: clamp(44px, 7.2vw, 108px);
	font-weight: 800;
	letter-spacing: -.05em;
	line-height: .92;
	overflow-wrap: break-word;
}
.crt-h1--long { font-size: clamp(34px, 4.6vw, 68px); line-height: 1; letter-spacing: -.04em; }
.crt-h1--quote { font-family: var(--crt-serif); font-style: italic; font-weight: 500; letter-spacing: -.025em; line-height: 1; font-size: clamp(40px, 6vw, 92px); }
.crt-h1--quote.crt-h1--long { font-size: clamp(30px, 4.2vw, 62px); line-height: 1.06; }
.crt-h1-author { margin: 0; display: flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 800; }

/* ---------- Articol ---------- */
.crt-body { position: relative; margin-top: -110px; padding-bottom: 96px; }
.crt-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px; }
.crt-article {
	flex: 999 1 560px;
	min-width: 0;
	background: #fff;
	border: 2px solid var(--crt-ink);
	border-radius: 32px;
	box-shadow: 10px 10px 0 var(--crt-accent);
	padding: clamp(24px, 4.4vw, 60px);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.crt-article--full { flex-basis: 100%; }
.crt-jokebody { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.3; color: var(--crt-body); }
.crt-jokebody p { margin: 0; overflow-wrap: break-word; }
.crt-jokebody .crt-punchline {
	margin: 12px 0 8px;
	padding: 14px 24px;
	border: 2px solid var(--crt-ink);
	border-radius: 20px;
	background: var(--crt-hl);
	box-shadow: 6px 6px 0 var(--crt-ink);
	color: var(--crt-ink);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 54px);
	letter-spacing: -.04em;
	line-height: 1.05;
	transform: rotate(-2deg);
}
.crt-jokebody .crt-punchline--long { font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.2; transform: rotate(-1deg); }
.crt-featured { margin: 0; border: 2px solid var(--crt-ink); border-radius: 24px; overflow: hidden; }
.crt-featured img { display: block; width: 100%; }
.crt-sep { border-top: 2px solid var(--crt-ink); padding-top: 28px; }
.crt-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crt-tagrow__label { font-size: 15px; color: var(--crt-muted); margin-right: 4px; }
.crt-postnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.crt-postnav a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; text-decoration: none; }
.crt-postnav__prev { background: var(--crt-ground); color: var(--crt-ink); }
.crt-postnav__next { background: var(--crt-dark); color: #fff; align-items: flex-end; text-align: right; }
.crt-postnav__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crt-accent); }
.crt-postnav__next .crt-postnav__label { color: var(--crt-hl); }
.crt-postnav__title { font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: break-word; }

/* Conținut editorial */
.crt-prose { font-size: 19px; line-height: 1.7; color: #1C2D24; overflow-wrap: break-word; }
.crt-prose > * { margin-top: 0; margin-bottom: 1em; }
.crt-prose > *:last-child { margin-bottom: 0; }
.crt-prose h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin-top: 1.4em; }
.crt-prose h3 { font-size: clamp(23px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin-top: 1.3em; }
.crt-prose h4 { font-size: 21px; font-weight: 800; margin-top: 1.2em; }
.crt-prose a { color: var(--crt-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.crt-prose blockquote { margin-inline: 0; padding: 24px 28px; border-radius: 20px; background: var(--crt-ground); font-family: var(--crt-serif); font-style: italic; font-size: 1.2em; line-height: 1.4; }
.crt-prose blockquote p { margin: 0 0 .6em; }
.crt-prose blockquote p:last-child { margin: 0; }
.crt-prose img { border-radius: 18px; }
.crt-prose ul, .crt-prose ol { padding-left: 1.3em; }
.crt-prose li { margin: .3em 0; }
.crt-prose figure { margin-inline: 0; }
.crt-prose figcaption { font-size: 15px; color: var(--crt-muted); margin-top: 6px; }
.crt-prose table { width: 100%; border-collapse: collapse; font-size: 17px; }
.crt-prose th, .crt-prose td { border: 1px solid #C9D9CD; padding: 8px 12px; text-align: left; }
.crt-prose iframe { max-width: 100%; }
.crt-prose hr { border: 0; border-top: 2px solid var(--crt-ink); margin-block: 2em; }
.page-links { font-weight: 700; }

/* ---------- Bara laterală ---------- */
.crt-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.crt-widget { background: #fff; border: 2px solid var(--crt-ink); border-radius: 24px; padding: 22px; }
.crt-widget-title { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.crt-widget ul { list-style: none; margin: 0; padding: 0; }
.crt-widget li { padding: 8px 0; border-top: 1px solid #E1EAE3; }
.crt-widget li:first-child { border-top: 0; }
.crt-widget a { color: var(--crt-ink); font-weight: 600; }
.crt-widget:empty { display: none; }
.crt-widget h2, .crt-widget h3, .crt-widget .wp-block-heading { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.crt-widget .wp-block-search__label { display: block; font-weight: 700; margin-bottom: 6px; }
.crt-widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.crt-widget input[type="search"], .crt-widget input[type="text"] { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 16px; border: 2px solid var(--crt-ink); border-radius: 999px; font: inherit; }
.crt-widget .wp-block-search__button, .crt-widget button, .crt-widget input[type="submit"] { min-height: 46px; padding: 0 18px; border: 2px solid var(--crt-ink); border-radius: 999px; background: var(--crt-dark); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.crt-widget img { border-radius: 14px; }
.crt-widget .tagcloud a, .crt-widget .wp-block-tag-cloud a { display: inline-block; margin: 0 4px 6px 0; padding: 4px 12px; border: 1.5px solid var(--crt-ink); border-radius: 999px; font-size: 14px !important; text-decoration: none; }
.crt-related-cats { padding-block: 64px 96px; }
.crt-side-quote {
	margin: 0;
	background: var(--crt-hl);
	color: var(--crt-dark);
	border: 2px solid var(--crt-ink);
	border-radius: 24px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.crt-side-quote__head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.crt-side-quote__head svg { width: 34px; height: 34px; }
.crt-side-quote blockquote { margin: 0; font-family: var(--crt-serif); font-style: italic; font-size: 32px; line-height: 1.06; font-weight: 500; letter-spacing: -.015em; overflow-wrap: break-word; }
.crt-side-quote blockquote a { color: inherit; text-decoration: none; }
.crt-side-quote figcaption { font-size: 16px; font-weight: 800; }
.crt-side-cats { background: var(--crt-dark); color: #fff; border-radius: 24px; padding: 10px 22px; }
.crt-side-cats ul { list-style: none; margin: 0; padding: 0; }
.crt-side-cats li + li { border-top: 1px solid rgba(255, 255, 255, .2); }
.crt-side-cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; }
.crt-side-cats a:hover, .crt-side-cats .is-current a { color: var(--crt-hl); }
.crt-side-cats svg { width: 20px; height: 20px; flex: 0 0 auto; }

.crt-related { margin-top: 96px; }
.crt-related .crt-h2 { font-size: clamp(42px, 6vw, 84px); margin-bottom: 40px; }

/* ---------- Arhive, căutare ---------- */
.crt-archive { position: relative; margin-top: -80px; padding-bottom: 96px; }
.crt-pagehero--archive .crt-pagehero__inner { padding-bottom: 130px; }
.crt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; align-items: start; padding: 0 8px 8px 0; }
.crt-grid .crt-quote { margin: 0; }
.crt-grid .crt-quote--white { border: 2px solid var(--crt-ink); }
.crt-grid .crt-card { background: #fff; border: 2px solid var(--crt-ink); border-radius: 28px; padding: 12px 12px 22px; box-shadow: 8px 8px 0 var(--crt-ink); }
.crt-grid .crt-card__media { border-radius: 20px; }
.crt-grid .crt-card__title { font-size: 26px; padding-inline: 8px; }
.crt-grid .crt-card__excerpt { padding-inline: 8px; }
.crt-empty { background: #fff; border: 2px solid var(--crt-ink); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 8px 8px 0 var(--crt-ink); display: flex; flex-direction: column; gap: 20px; }
.crt-empty h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.crt-empty p { margin: 0; }

.navigation.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid var(--crt-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--crt-ink);
	text-decoration: none;
	font-weight: 800;
}
.page-numbers.current { background: var(--crt-dark); color: #fff; }
.page-numbers.dots { border: 0; background: transparent; }
a.page-numbers:hover { background: var(--crt-hl); }

.crt-404 { font-size: clamp(120px, 24vw, 320px); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: var(--crt-hl); }

/* ---------- Ajustări mobil și accesibilitate ---------- */
@media (max-width: 600px) {
	.crt-wrap { padding-inline: 18px; }
	.crt-badge { width: 124px; height: 124px; }
	.crt-article { box-shadow: 6px 6px 0 var(--crt-accent); }
	.crt-quote { padding: 26px; }
	.crt-quote--xl .crt-quote__text { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.crt-badge__ring { animation: none; }
}
@media print {
	.crt-header, .crt-footer, .crt-side, .crt-actions, .crt-ad, .crt-related, .crt-ticker { display: none !important; }
	.crt-body { margin-top: 0; }
	.crt-article { box-shadow: none; border: 0; }
}
