/**
 * Theme Name:        Care este?
 * Theme URI:         https://www.careeste.ro/
 * Description:       O temă editorială modernă pentru mica enciclopedie românească Care este?.
 * Version:           1.0.1
 * Author:            CareEste.ro
 * Author URI:        https://www.careeste.ro/
 * Requires at least: 6.6
 * Tested up to:      7.1
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       careeste
 * Domain Path:       /languages
 * Tags:              blog, education, custom-logo, custom-menu, featured-images, translation-ready, wide-blocks
 */

:root {
	color-scheme: light;
	--careeste-ink: #0c1225;
	--careeste-muted: #60697c;
	--careeste-paper: #f3f5fa;
	--careeste-surface: #ffffff;
	--careeste-line: #dfe4ef;
	--careeste-blue: #2447f9;
	--careeste-blue-dark: #162a94;
	--careeste-yellow: #ffdd57;
	--careeste-mint: #69dfc1;
	--careeste-coral: #ff896f;
	--careeste-lilac: #b9adff;
	--careeste-radius-sm: 16px;
	--careeste-radius-md: 24px;
	--careeste-radius-lg: 36px;
	--careeste-shadow: 0 18px 55px rgba(31, 49, 113, .12);
	--careeste-max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	color: var(--careeste-ink);
	background: var(--careeste-paper);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 6% 20%, rgba(185, 173, 255, .20), transparent 26rem),
		radial-gradient(circle at 92% 55%, rgba(105, 223, 193, .14), transparent 28rem);
}

body.admin-bar .site-header { top: 32px; }

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }
button { cursor: pointer; }

:focus-visible {
	outline: 3px solid var(--careeste-yellow);
	outline-offset: 3px;
}

.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;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 16px;
	color: #fff;
	background: var(--careeste-ink);
}

.skip-link {
	position: fixed;
	left: 16px;
	top: 12px;
	z-index: 100001;
	transform: translateY(-170%);
	padding: 10px 14px;
	border-radius: 10px;
	color: #fff;
	background: var(--careeste-ink);
	text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.shell {
	width: min(calc(100% - 40px), var(--careeste-max));
	margin-inline: auto;
}

.narrow-shell { max-width: 880px; }

h1,
h2,
h3,
h4,
p { margin-top: 0; }

h1,
h2,
h3,
h4 {
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(223, 228, 239, .88);
	background: rgba(243, 245, 250, .90);
	backdrop-filter: blur(16px);
}

.header-inner {
	min-height: 78px;
	display: flex;
	align-items: center;
	gap: 26px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 11px;
	flex: 0 0 auto;
}

.header-brand,
.footer-brand {
	color: inherit;
	text-decoration: none;
}

.header-brand {
	display: flex;
	align-items: center;
	gap: 11px;
}

.brand-mark {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	color: #fff;
	background: var(--careeste-blue);
	box-shadow: 0 8px 22px rgba(36, 71, 249, .25);
	font-size: 25px;
	font-weight: 900;
	line-height: 1;
}

.custom-logo-link {
	display: flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-width: 150px;
	max-height: 46px;
}

.brand-copy {
	display: grid;
	line-height: 1.06;
}

.brand-name {
	font-size: 19px;
	font-weight: 850;
	letter-spacing: -.03em;
}

.brand-note {
	margin-top: 4px;
	color: var(--careeste-muted);
	font-size: 12px;
	font-weight: 650;
	letter-spacing: .01em;
}

.primary-nav { margin-left: auto; }

.primary-nav .menu,
.footer-links .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav > .menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.primary-nav .menu-item { position: relative; }

.primary-nav a {
	display: block;
	padding: 10px 12px;
	border-radius: 11px;
	color: #394155;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	color: var(--careeste-blue);
	background: #fff;
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	display: none;
	margin: 0;
	padding: 9px;
	border: 1px solid var(--careeste-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--careeste-shadow);
	list-style: none;
}

.primary-nav .menu-item:hover > .sub-menu,
.primary-nav .menu-item:focus-within > .sub-menu { display: block; }

.mobile-proposal-link { display: none; }

.header-action,
.button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 0;
	border-radius: 14px;
	padding: 11px 17px;
	color: #fff;
	background: var(--careeste-ink);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-action:hover,
.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(12, 18, 37, .16);
}

.button.blue { background: var(--careeste-blue); }
.button.small { min-height: 42px; padding: 9px 14px; }

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	margin-left: auto;
	border: 1px solid var(--careeste-line);
	border-radius: 13px;
	color: var(--careeste-ink);
	background: #fff;
	font-size: 22px;
	line-height: 1;
}

#main-content { overflow: hidden; }

.hero { padding: 30px 0 0; }

.hero-panel {
	position: relative;
	isolation: isolate;
	min-height: 590px;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
	gap: 42px;
	align-items: center;
	overflow: hidden;
	padding: clamp(34px, 5vw, 72px);
	border-radius: var(--careeste-radius-lg);
	color: #fff;
	background:
		linear-gradient(135deg, rgba(255,255,255,.08), transparent 45%),
		var(--careeste-blue);
	box-shadow: 0 25px 80px rgba(31, 61, 209, .22);
}

.hero-panel::before {
	content: "?";
	position: absolute;
	z-index: -1;
	right: -2vw;
	top: -170px;
	color: rgba(255,255,255,.07);
	font-size: min(42vw, 560px);
	font-weight: 950;
	line-height: 1;
	letter-spacing: -.16em;
	transform: rotate(8deg);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 20px;
	color: rgba(255,255,255,.83);
	font-size: 13px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 23px;
	height: 3px;
	border-radius: 999px;
	background: var(--careeste-yellow);
}

.hero h1 {
	max-width: 650px;
	margin-bottom: 18px;
	font-size: clamp(46px, 6vw, 78px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: -.065em;
}

.hero-lede {
	max-width: 580px;
	margin-bottom: 30px;
	color: rgba(255,255,255,.83);
	font-size: clamp(17px, 2vw, 20px);
}

.search-box {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px;
	border: 1px solid var(--careeste-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 15px 35px rgba(12, 18, 37, .12);
}

.hero .search-box {
	max-width: 690px;
	border-color: rgba(255,255,255,.5);
	box-shadow: 0 15px 35px rgba(12, 18, 37, .18);
}

.search-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-left: 8px;
	color: var(--careeste-blue);
}

.search-box input {
	min-width: 0;
	flex: 1;
	border: 0;
	padding: 11px 4px;
	color: var(--careeste-ink);
	background: transparent;
	font-size: 16px;
	outline: 0;
}

.search-box input::placeholder { color: #667085; }

.search-box button {
	min-height: 48px;
	flex: 0 0 auto;
	border: 0;
	border-radius: 14px;
	padding: 0 18px;
	color: var(--careeste-ink);
	background: var(--careeste-yellow);
	font-size: 14px;
	font-weight: 900;
}

.quick-searches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 15px;
	color: rgba(255,255,255,.84);
	font-size: 13px;
}

.quick-searches a {
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 999px;
	padding: 7px 11px;
	color: #fff;
	background: rgba(255,255,255,.09);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.quick-searches a:hover { background: rgba(255,255,255,.18); }

.answer-stage {
	position: relative;
	min-height: 410px;
	display: grid;
	place-items: center;
}

.answer-stage::before,
.answer-stage::after {
	content: "";
	position: absolute;
	border-radius: 24px;
	transform: rotate(-6deg);
}

.answer-stage::before {
	width: 74%;
	height: 74%;
	left: 3%;
	top: 8%;
	background: var(--careeste-mint);
}

.answer-stage::after {
	width: 68%;
	height: 67%;
	right: 2%;
	bottom: 3%;
	background: var(--careeste-yellow);
	transform: rotate(7deg);
}

.answer-card {
	position: relative;
	z-index: 2;
	width: min(100%, 370px);
	display: block;
	padding: 29px;
	border: 1px solid rgba(255,255,255,.7);
	border-radius: 28px;
	color: var(--careeste-ink);
	background: #fff;
	box-shadow: 0 24px 65px rgba(11, 24, 99, .25);
	text-decoration: none;
	transform: rotate(-1.5deg);
	transition: transform .2s ease;
}

a.answer-card:hover { transform: rotate(-1.5deg) translateY(-5px); }

.card-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 19px;
	color: var(--careeste-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .10em;
	text-transform: uppercase;
}

.card-label span:last-child {
	color: #667085;
	font-weight: 750;
	letter-spacing: 0;
	text-transform: none;
}

.answer-question {
	display: block;
	margin-bottom: 25px;
	font-size: clamp(24px, 2.4vw, 31px);
	font-weight: 850;
	line-height: 1.13;
	letter-spacing: -.035em;
}

.short-answer {
	display: block;
	padding-top: 21px;
	border-top: 1px solid var(--careeste-line);
}

.short-answer small {
	display: block;
	margin-bottom: 6px;
	color: var(--careeste-muted);
	font-size: 12px;
	font-weight: 750;
}

.answer-value {
	display: -webkit-box;
	overflow: hidden;
	margin-bottom: 13px;
	color: var(--careeste-blue-dark);
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: -.035em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.source-line {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--careeste-muted);
	font-size: 12px;
	font-weight: 650;
}

.source-line::before {
	content: "✓";
	width: 19px;
	height: 19px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #0c5b47;
	background: #d9f8ef;
	font-size: 12px;
	font-weight: 900;
}

.principles {
	position: relative;
	z-index: 3;
	width: min(calc(100% - 70px), 970px);
	margin: -25px auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	overflow: hidden;
	border: 1px solid var(--careeste-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--careeste-shadow);
}

.principle {
	min-height: 80px;
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 19px 23px;
}

.principle + .principle { border-left: 1px solid var(--careeste-line); }

.principle-number {
	color: var(--careeste-blue);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: .08em;
}

.principle strong { display: block; font-size: 15px; }
.principle span span { display: block; color: var(--careeste-muted); font-size: 13px; }

.content-section { padding: 100px 0 0; }

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
}

.section-kicker {
	margin-bottom: 8px;
	color: var(--careeste-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.section-head h2 {
	margin-bottom: 0;
	font-size: clamp(32px, 4.2vw, 52px);
	line-height: 1.02;
	letter-spacing: -.055em;
}

.section-head > p {
	max-width: 400px;
	margin-bottom: 4px;
	color: var(--careeste-muted);
	font-size: 15px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	padding: 0;
	color: var(--careeste-blue);
	background: transparent;
	font-size: 14px;
	font-weight: 850;
	text-decoration: none;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.question-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.question-card {
	grid-column: span 4;
	min-height: 268px;
	display: flex;
	flex-direction: column;
	padding: 25px;
	border: 1px solid var(--careeste-line);
	border-radius: var(--careeste-radius-md);
	background: #fff;
	box-shadow: 0 1px 0 rgba(12, 18, 37, .02);
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

#intrebari .question-card:nth-child(1),
#intrebari .question-card:nth-child(5) { grid-column: span 6; }

.question-card:hover {
	transform: translateY(-5px);
	border-color: #bdc7f5;
	box-shadow: var(--careeste-shadow);
}

.question-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 35px;
}

.category-pill {
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	border-radius: 999px;
	padding: 5px 10px;
	color: #21306b;
	background: #e9edff;
	font-size: 12px;
	font-weight: 850;
	text-decoration: none;
}

.category-pill.mint { color: #145644; background: #dcf8f0; }
.category-pill.coral { color: #743222; background: #ffebe6; }
.category-pill.yellow { color: #654d00; background: #fff5c5; }
.category-pill.lilac { color: #49388c; background: #eeeaff; }

.question-date {
	flex: 0 0 auto;
	color: #626b7d;
	font-size: 12px;
	font-weight: 650;
}

.question-card-title {
	margin-bottom: 18px;
	font-size: clamp(20px, 2vw, 25px);
	line-height: 1.22;
	letter-spacing: -.035em;
}

.question-card-title a { text-decoration: none; }
.question-card-title a:hover { color: var(--careeste-blue); }
.question-excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: -3px 0 20px;
	color: var(--careeste-muted);
	font-size: 14px;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}
.question-card .text-link { margin-top: auto; align-self: flex-start; }

.categories-wrap {
	display: grid;
	grid-template-columns: minmax(280px, .72fr) minmax(0, 1.55fr);
	gap: 32px;
	align-items: start;
	padding: clamp(28px, 5vw, 56px);
	border-radius: var(--careeste-radius-lg);
	color: #fff;
	background: var(--careeste-ink);
}

.categories-intro {
	position: sticky;
	top: 110px;
}

.categories-intro .section-kicker { color: var(--careeste-yellow); }

.categories-intro h2 {
	margin-bottom: 18px;
	font-size: clamp(36px, 4vw, 52px);
	line-height: 1.03;
	letter-spacing: -.05em;
}

.categories-intro p:last-child {
	max-width: 360px;
	color: #adb5c9;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.category-card {
	min-height: 132px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	border: 1px solid #30384e;
	border-radius: 18px;
	padding: 19px;
	color: #fff;
	background: #171f34;
	text-align: left;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.category-card:hover {
	transform: translateY(-3px);
	border-color: #7587ff;
	background: #1d2843;
}

.category-top { display: flex; justify-content: space-between; gap: 12px; }
.category-index { color: #69738a; font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.category-arrow { color: var(--careeste-yellow); font-size: 20px; line-height: 1; }
.category-name { display: block; font-size: 19px; font-weight: 850; letter-spacing: -.02em; }
.category-count { display: block; margin-top: 3px; color: #929caf; font-size: 13px; }
.category-empty { color: #aab3c6; }

.contribute {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr);
	gap: clamp(30px, 6vw, 70px);
	align-items: start;
	margin-bottom: 94px;
	padding: clamp(30px, 5vw, 57px);
	border: 1px solid #d7ccff;
	border-radius: var(--careeste-radius-lg);
	background:
		linear-gradient(110deg, rgba(255,255,255,.74), rgba(255,255,255,.28)),
		var(--careeste-lilac);
}

.contribute h2 {
	max-width: 700px;
	margin-bottom: 12px;
	font-size: clamp(33px, 4.4vw, 55px);
	line-height: 1.03;
	letter-spacing: -.055em;
}

.contribute-copy > p:last-of-type {
	max-width: 660px;
	margin-bottom: 0;
	color: #4d4a65;
	font-size: 17px;
}

.proposal-form {
	position: relative;
	display: grid;
	gap: 16px;
	padding: 25px;
	border: 1px solid rgba(255,255,255,.58);
	border-radius: 22px;
	background: rgba(255,255,255,.78);
	box-shadow: 0 16px 45px rgba(76, 58, 146, .12);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 800; }

.field input,
.field select,
.field textarea,
.comment-form input,
.comment-form textarea {
	width: 100%;
	border: 1px solid #c9cedc;
	border-radius: 13px;
	padding: 12px 13px;
	color: var(--careeste-ink);
	background: #fff;
	outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--careeste-blue);
	box-shadow: 0 0 0 4px rgba(36, 71, 249, .12);
}

.field textarea { min-height: 105px; resize: vertical; }
.proposal-form .button { justify-self: start; }

.form-honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	margin-top: 22px;
	padding: 14px 16px;
	border-radius: 13px;
	font-size: 14px;
	font-weight: 750;
}

.form-notice.success { color: #114d3e; background: #d9f8ef; }
.form-notice.error { color: #7b2e20; background: #ffebe6; }

.page-banner {
	padding: clamp(70px, 9vw, 120px) 0 75px;
	text-align: center;
}

.page-banner h1 {
	margin-bottom: 15px;
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.02;
	letter-spacing: -.06em;
}

.page-banner > .shell > p,
.archive-description {
	max-width: 680px;
	margin: 0 auto 26px;
	color: var(--careeste-muted);
	font-size: 18px;
}

.page-banner .section-kicker { margin-bottom: 12px; }
.page-banner .search-box { max-width: 720px; margin: 30px auto 0; text-align: left; }

.listing-content { padding: 0 0 100px; }
.archive-grid .question-card { grid-column: span 4; }

.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.page-numbers {
	min-width: 44px;
	height: 44px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--careeste-line);
	border-radius: 12px;
	padding-inline: 12px;
	color: var(--careeste-ink);
	background: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover { color: #fff; border-color: var(--careeste-blue); background: var(--careeste-blue); }

.empty-state {
	grid-column: 1 / -1;
	padding: clamp(28px, 5vw, 52px);
	border: 1px dashed #9ba8ec;
	border-radius: 22px;
	text-align: center;
	background: rgba(255,255,255,.78);
}

.empty-state strong { display: block; margin-bottom: 7px; font-size: 23px; }
.empty-state > p { max-width: 600px; margin: 0 auto 20px; color: var(--careeste-muted); }
.empty-state .search-box { max-width: 700px; margin: 0 auto 18px; text-align: left; }

.single-article { padding: clamp(52px, 7vw, 92px) 0 75px; }
.article-shell { max-width: 900px; }

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 34px;
	color: #596378;
	font-size: 13px;
	font-weight: 700;
}

.breadcrumbs a { color: var(--careeste-blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.article-header { margin-bottom: 33px; }

.article-header h1 {
	max-width: 880px;
	margin: 17px 0 20px;
	font-size: clamp(40px, 6vw, 70px);
	line-height: 1.02;
	letter-spacing: -.06em;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	color: var(--careeste-muted);
	font-size: 13px;
	font-weight: 650;
}

.single-answer {
	margin: 0 0 38px;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid #cfd6ff;
	border-radius: 24px;
	background: #eef1ff;
}

.single-answer .section-kicker { margin-bottom: 8px; }

.single-answer > p:last-child {
	margin: 0;
	color: var(--careeste-blue-dark);
	font-size: clamp(24px, 3.2vw, 35px);
	font-weight: 850;
	line-height: 1.25;
	letter-spacing: -.035em;
}

.entry-content {
	color: #2e3547;
	font-size: 18px;
	line-height: 1.72;
}

.entry-content-auto-answer {
	margin-bottom: 38px;
	color: #2e3547;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.72;
}

.entry-content-auto-answer > :first-child {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid #cfd6ff;
	border-radius: 24px;
	color: var(--careeste-blue-dark);
	background: #eef1ff;
	font-size: clamp(22px, 3vw, 31px);
	font-weight: 750;
	line-height: 1.35;
	letter-spacing: -.025em;
}

.entry-content-auto-answer > :first-child:last-child { margin-bottom: 0; }

.entry-content > * { max-width: 780px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1040px; }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote { margin-top: 0; margin-bottom: 1.5em; }
.entry-content h2 { margin-top: 1.8em; margin-bottom: .65em; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.04em; }
.entry-content h3 { margin-top: 1.6em; margin-bottom: .6em; font-size: 26px; letter-spacing: -.03em; }
.entry-content a { color: var(--careeste-blue); text-underline-offset: 3px; }
.entry-content blockquote { padding: 5px 0 5px 24px; border-left: 4px solid var(--careeste-blue); color: #4c556b; }
.entry-content img { border-radius: 18px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th,
.entry-content td { padding: 11px 13px; border: 1px solid var(--careeste-line); text-align: left; }

.source-card {
	margin: 42px auto 0;
	max-width: 780px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 20px;
	border: 1px solid var(--careeste-line);
	border-radius: 18px;
	background: #fff;
}

.source-card > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.source-card strong,
.source-card small { display: block; }
.source-card small { overflow: hidden; color: var(--careeste-muted); text-overflow: ellipsis; white-space: nowrap; }

.source-icon {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 50%;
	color: #0c5b47;
	background: #d9f8ef;
	font-weight: 900;
}

.post-navigation {
	max-width: 780px;
	margin: 52px auto 0;
	padding-top: 26px;
	border-top: 1px solid var(--careeste-line);
}

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 18px; border: 1px solid var(--careeste-line); border-radius: 16px; background: #fff; text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.post-navigation span { display: block; margin-bottom: 5px; color: var(--careeste-muted); font-size: 12px; font-weight: 700; }
.post-navigation strong { display: block; font-size: 15px; line-height: 1.35; }
.post-navigation a:hover strong { color: var(--careeste-blue); }

.related-section { padding: 80px 0 96px; background: #e9edf6; }
.related-grid .question-card { grid-column: span 4; }

.comments-shell { max-width: 900px; padding-bottom: 90px; }
.comments-area { padding: 35px; border: 1px solid var(--careeste-line); border-radius: 24px; background: #fff; }
.comments-title,
.comment-reply-title { font-size: 27px; letter-spacing: -.035em; }
.comment-list { margin: 25px 0; padding: 0; list-style: none; }
.comment-list .comment { padding: 20px 0; border-top: 1px solid var(--careeste-line); }
.comment-list .children { margin-left: 25px; list-style: none; }
.comment-author { display: flex; align-items: center; gap: 9px; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { margin: 6px 0 12px; color: var(--careeste-muted); font-size: 12px; }
.comment-form > p { display: grid; gap: 7px; }
.comment-form label { font-size: 14px; font-weight: 800; }
.comment-form .submit { min-height: 46px; border: 0; border-radius: 14px; padding: 11px 18px; color: #fff; background: var(--careeste-blue); font-weight: 800; }

.not-found-panel {
	min-height: 650px;
	display: grid;
	place-items: center;
	padding: 70px 0;
	color: #fff;
	background: var(--careeste-blue);
	text-align: center;
}

.error-code { margin-bottom: 0; color: var(--careeste-yellow); font-size: 22px; font-weight: 900; letter-spacing: .18em; }
.not-found-panel h1 { margin: 5px 0 18px; font-size: clamp(45px, 7vw, 78px); line-height: 1; letter-spacing: -.06em; }
.not-found-panel .narrow-shell > p:not(.error-code) { max-width: 620px; margin: 0 auto 28px; color: rgba(255,255,255,.84); font-size: 18px; }
.not-found-panel .search-box { max-width: 700px; margin: 0 auto 22px; text-align: left; }
.light-link { color: #fff; }

.site-footer {
	padding: 42px 0 34px;
	color: #b8c0d2;
	background: var(--careeste-ink);
}

.footer-main {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) auto;
	gap: 36px;
	align-items: start;
	padding-bottom: 34px;
	border-bottom: 1px solid #2a3248;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: #fff;
}

.footer-brand .brand-note { color: #8f99ae; }
.footer-note { max-width: 390px; margin: 17px 0 0; color: #8f99ae; font-size: 14px; }

.footer-links .menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(130px, 1fr));
	gap: 12px 34px;
}

.footer-links a {
	color: #d5daea;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
}

.footer-links a:hover { color: var(--careeste-yellow); }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 23px;
	color: #747f96;
	font-size: 12px;
}

.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { color: var(--careeste-muted); font-size: 13px; }
.sticky { border-color: #aeb9ff; }
.bypostauthor { box-shadow: inset 3px 0 var(--careeste-blue); }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }

@media (max-width: 980px) {
	.header-inner {
		flex-wrap: wrap;
		padding-block: 10px;
	}

	.primary-nav {
		order: 3;
		width: 100%;
		margin-left: 0;
	}

	.primary-nav > .menu { flex-wrap: wrap; }
	.header-action { display: none; }

	.js .header-inner {
		flex-wrap: nowrap;
		padding-block: 0;
	}

	.js .primary-nav,
	.js .header-action { display: none; }

	.js .menu-toggle { display: grid; place-items: center; }

	.js .primary-nav.is-open {
		position: absolute;
		left: 20px;
		right: 20px;
		top: 68px;
		display: block;
		padding: 12px;
		border: 1px solid var(--careeste-line);
		border-radius: 16px;
		background: #fff;
		box-shadow: var(--careeste-shadow);
	}

	.js .primary-nav.is-open > .menu { display: grid; gap: 3px; }
	.js .primary-nav.is-open a { padding: 13px; }
	.primary-nav .sub-menu { position: static; display: block; padding: 0 0 0 15px; border: 0; box-shadow: none; }
	.js .primary-nav.is-open .mobile-proposal-link {
		display: block;
		margin-top: 7px;
		color: #fff;
		background: var(--careeste-blue);
		text-align: center;
	}

	.hero-panel { grid-template-columns: 1fr; gap: 28px; padding-bottom: 46px; }
	.answer-stage { min-height: 330px; }
	.answer-card { width: min(88%, 470px); }
	.answer-stage::before { width: 54%; left: 16%; }
	.answer-stage::after { width: 51%; right: 14%; }

	.question-card,
	#intrebari .question-card:nth-child(1),
	#intrebari .question-card:nth-child(5),
	.archive-grid .question-card { grid-column: span 6; }

	.categories-wrap { grid-template-columns: 1fr; }
	.categories-intro { position: static; }
	.contribute { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
	.shell { width: min(calc(100% - 24px), var(--careeste-max)); }
	.header-inner { min-height: 70px; }
	.brand-note { display: none; }
	.custom-logo { max-width: 120px; max-height: 40px; }
	.hero { padding-top: 12px; }

	.hero-panel {
		min-height: 0;
		gap: 24px;
		border-radius: 25px;
		padding: 30px 20px 32px;
	}

	.hero-panel::before { top: -45px; right: -25px; font-size: 310px; }
	.hero h1 { font-size: clamp(42px, 14.5vw, 58px); }
	.hero-lede { font-size: 16px; }

	.search-box { display: grid; grid-template-columns: auto 1fr; border-radius: 18px; }
	.search-box button { grid-column: 1 / -1; width: 100%; }
	.quick-searches span { width: 100%; }
	.answer-stage { min-height: 305px; }
	.answer-card { width: 92%; padding: 22px; border-radius: 22px; }
	.answer-stage::before { width: 67%; left: 5%; }
	.answer-stage::after { width: 62%; right: 5%; }

	.principles { width: calc(100% - 44px); grid-template-columns: 1fr; margin-top: -18px; }
	.principle { min-height: 0; padding: 16px 18px; }
	.principle + .principle { border-left: 0; border-top: 1px solid var(--careeste-line); }
	.content-section { padding-top: 72px; }
	.section-head { display: grid; gap: 14px; }
	.section-head h2 { font-size: 36px; }

	.question-grid { grid-template-columns: 1fr; }
	.question-card,
	#intrebari .question-card:nth-child(1),
	#intrebari .question-card:nth-child(5),
	.archive-grid .question-card,
	.related-grid .question-card { grid-column: 1; min-height: 225px; }

	.categories-wrap { border-radius: 25px; padding: 29px 20px; }
	.category-grid { grid-template-columns: 1fr; }
	.contribute { border-radius: 25px; }
	.form-row { grid-template-columns: 1fr; }
	.proposal-form { padding: 20px; }

	.page-banner { padding: 55px 0 60px; }
	.page-banner h1 { font-size: 42px; }
	.page-banner > .shell > p,
	.archive-description { font-size: 16px; }

	.single-article { padding-top: 42px; }
	.article-header h1 { font-size: 42px; }
	.single-answer > p:last-child { font-size: 23px; }
	.entry-content { font-size: 17px; }
	.source-card { align-items: stretch; flex-direction: column; }
	.source-card .button { align-self: flex-start; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.comments-area { padding: 23px; }

	.footer-main { grid-template-columns: 1fr; }
	.footer-links .menu { grid-template-columns: 1fr 1fr; }
	.footer-bottom { display: grid; gap: 7px; }
	.alignleft,
	.alignright { float: none; display: block; margin: 1em auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition-duration: .01ms !important; }
}
