/*
Theme Name: Explore
Theme URI: https://localhost/2026/cons/
Author: Explore
Author URI: https://localhost/2026/cons/
Description: O temă editorială, rapidă și accesibilă pentru bloguri de consiliere și dezvoltare personală. Instrument Serif și Inter Tight, accente smarald, colțul tăiat ca semn al identității. Copertă cu titlu cinetic, index cu imaginea care urmărește cursorul, manifest care se deschide la derulare, rubrici pe șine care se trag, butoane magnetice, tranziții între pagini. În articol: progres, timp rămas, cuprins, „Următoarea poveste”, „Continuă lectura”. Pozele se încadrează pe fața aleasă în editor. Respectă „reduce motion”. Fără plugin-uri, fără biblioteci externe.
Version: 5.1.1
Requires at least: 6.3
Tested up to: 6.9
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: explore
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, editor-style, accessibility-ready
*/

:root {
	--em: #047857;
	--em-mid: #059669;
	--em-dark: #064e3b;
	--em-deep: #042f24;
	--mint: #ecfdf5;
	--mint-2: #d1fae5;
	--soft: #a7f3d0;
	--ink: #0b1f17;
	--text: #1f2d28;
	--muted: #5b6b64;
	--hair: #e0e8e4;
	--d: "Instrument Serif", "Times New Roman", serif;
	--t: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 4.4vw, 64px);
	--maxw: 1440px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--n: 28px;
	--header-h: 74px;
	--sbw: 0px;
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.6 var(--t); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--d); font-weight: 400; letter-spacing: -.02em; line-height: 1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--em); color: #fff; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.skip-link { position: absolute; left: 12px; top: -70px; z-index: 2000; background: var(--ink); color: #fff; padding: 12px 18px; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* Semnul identității: colțul tăiat */
.notch { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%); }

.kicker { font: 500 13px var(--t); color: var(--em); letter-spacing: .01em; }
.link { font: 500 14px var(--t); color: var(--em); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .25s; }
.link:hover { color: var(--ink); }
.link--light { color: #fff; }
.link--light:hover { color: var(--soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; background: var(--em); color: #fff; padding: 15px 28px; font: 500 15px var(--t); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); transition: background .3s, color .3s, transform .35s var(--ease); }
.btn:hover { background: var(--em-dark); color: #fff; }
.btn--light { background: #fff; color: var(--em-dark); }
.btn--light:hover { background: var(--ink); color: #fff; }

/* ---------- Antet ---------- */
body.admin-bar { --adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --adminbar: 46px; } }
.masthead { position: sticky; top: var(--adminbar, 0px); z-index: 900; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--hair); transition: top .45s var(--ease), background .3s; }
.hdr-hide .masthead { top: calc(var(--adminbar, 0px) - var(--header-h, 74px) - 2px); }
.masthead__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-block: 12px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 30px; height: 30px; flex: none; color: var(--em); }
.brand__name { font: 400 clamp(22px, 2.2vw, 28px)/1 var(--d); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.custom-logo-link { display: block; }
.custom-logo-link img { max-height: 50px; width: auto; }
.nav ul, .nav__list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px clamp(16px, 2.2vw, 32px); }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; font: 500 14px var(--t); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--em); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav .current-menu-item > a::after, .nav .current-cat > a::after { transform: scaleX(1); transform-origin: 0 50%; }
.masthead__tools { display: flex; align-items: center; gap: 14px; }
.tool { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; cursor: pointer; font: 500 14px var(--t); padding: 6px 0; border-bottom: 1.5px solid currentColor; }
.tool:hover { color: var(--em); }
.menu-btn { display: none; width: 44px; height: 44px; background: var(--em); border: 0; cursor: pointer; position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%); }
.menu-btn__bars, .menu-btn__bars::before { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.menu-btn__bars { top: 18px; }
.menu-btn__bars::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(-7px) rotate(-90deg); }

.search-overlay { position: fixed; inset: 0; z-index: 2500; background: var(--em-dark); color: #fff; display: grid; place-items: center; padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom)); opacity: 0; transition: opacity .35s; }
.search-overlay.show { opacity: 1; }
.search-overlay[hidden] { display: none; }
.search-overlay__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: var(--gutter); display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; border-bottom: 1.5px solid #fff; color: #fff; cursor: pointer; font: 500 14px var(--t); padding: 4px 0; }
body.search-open { overflow: hidden; padding-right: var(--sbw); }
.search-form { display: flex; gap: 16px; width: 100%; align-items: flex-end; }
.search-form__input { flex: 1; min-width: 0; font: 400 clamp(30px, 4.6vw, 64px)/1.1 var(--d); padding: 8px 0; border: 0; border-bottom: 1.5px solid currentColor; background: transparent; color: inherit; border-radius: 0; }
.search-form__input:focus { outline: none; }
.search-form__input::placeholder { color: currentColor; opacity: .45; }
.search-form__btn { background: var(--em); color: #fff; border: 0; min-height: 48px; padding: 12px 24px; font: 500 14px var(--t); cursor: pointer; }
.search-overlay .search-form__btn, .archive-head .search-form__btn { background: #fff; color: var(--em-dark); }

.progress { position: fixed; left: 0; right: 0; top: var(--adminbar, 0px); height: 3px; z-index: 950; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--em); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Imagini ---------- */
.media { display: block; position: relative; overflow: hidden; background: var(--mint-2); }
.media > img, .media__inner img { width: 100%; height: 100%; object-fit: cover; }
.media__inner { position: absolute; inset: -5% 0; display: block; will-change: transform; }
.media__inner--static { inset: 0; will-change: auto; }
.media__ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--mint); }
.media__ph .mark { width: 48px; color: var(--em); }

/* ---------- Copertă ---------- */
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--header-h)); background: var(--em-dark); background-image: radial-gradient(120% 90% at 15% 100%, rgba(5, 150, 105, .38), transparent 60%); color: #fff; }
.cover__text { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 5vw, 72px); }
.cover__kicker { font: 500 13px var(--t); color: var(--soft); margin-bottom: 18px; }
.cover__kicker .kicker { color: var(--soft); }
.cover__title { font-size: clamp(38px, 5.6vw, 96px); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.cover__title a:hover { color: var(--soft); }
.cover__dek { margin: 24px 0 0; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 34em; }
.cover__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 32px 0 0; }
.cover__time { font-size: 13px; color: var(--soft); }
.cover__media { --n: 48px; min-height: 420px; margin: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0; }
.cover__media img { transform: scale(1.06); transition: transform 1.8s var(--ease); }

/* ---------- Titluri de secțiune ---------- */
.head { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 32px; align-items: end; margin-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.head__title { font-size: clamp(34px, 5vw, 76px); line-height: .95; }
.head__desc { margin: 0 0 6px; font-size: 15px; color: var(--muted); max-width: 40em; }
.head__tools { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.head__tools .link { margin-left: 14px; }
.arrow { width: 44px; height: 44px; border: 1px solid var(--ink); background: #fff; cursor: pointer; font-size: 17px; transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.arrow:hover { background: var(--em); border-color: var(--em); color: #fff; }
.arrow[disabled] { opacity: .3; cursor: default; pointer-events: none; }

/* ---------- Index ---------- */
.index { padding-block: clamp(56px, 8vw, 120px); position: relative; }
.index__list { list-style: none; border-top: 1px solid var(--hair); }
.index__item { border-bottom: 1px solid var(--hair); }
.index__link { display: grid; grid-template-columns: 180px 1fr 120px; gap: 24px; align-items: baseline; padding: 22px 0; transition: color .3s, padding .45s var(--ease); }
.index__cat { font: 500 13px var(--t); color: var(--em); }
.index__cat .kicker { color: var(--em); }
.index__title { font: 400 clamp(24px, 3vw, 44px)/1.08 var(--d); letter-spacing: -.015em; }
.index__date { font-size: 13px; color: var(--muted); text-align: right; }
.index__thumb { display: none; }
.index__link:hover { color: var(--em); padding-left: 18px; }
.preview { position: fixed; left: 0; top: 0; width: 300px; height: 210px; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .3s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.preview.show { opacity: 1; }
.preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Manifest ---------- */
.manifest { padding-block: 0; }
.manifest__field { background: var(--em-dark); background-image: radial-gradient(90% 120% at 85% 0%, rgba(5, 150, 105, .35), transparent 55%); color: #fff; padding-block: clamp(96px, 16vw, 240px); clip-path: inset(14% 22% 14% 22%); }
.manifest__title { margin: 0; font: italic 400 clamp(38px, 7.6vw, 132px)/.95 var(--d); letter-spacing: -.03em; max-width: 14ch; transform: translateY(calc((1 - var(--p, 1)) * 40px)); }
.manifest__sub { margin: 28px 0 0; font-size: 17px; color: var(--soft); max-width: 40em; }

/* ---------- Rubrici pe șine ---------- */
.rubric { padding-block: clamp(56px, 8vw, 112px); }
.rubric:nth-of-type(even) { background: var(--mint); }
.rubric:nth-of-type(even) .arrow { background: transparent; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 28vw, 420px); gap: 28px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); padding-bottom: 8px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.rail--static { padding-inline: 0; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 56px) / 3); }

/* ---------- Cărți ---------- */
.card__media { aspect-ratio: 4 / 3; --n: 22px; }
.card__media img { transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding-top: 16px; }
.card__meta { margin: 0 0 8px; }
.card__title { font-size: clamp(22px, 2vw, 30px); line-height: 1.08; letter-spacing: -.015em; }
.card__title a { transition: color .25s; }
.card__title a:hover { color: var(--em); }
.card__dek { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.card--lead .card__media { aspect-ratio: var(--ar, 4 / 3); max-height: 76vh; --n: 40px; }
.card--lead .card__title { font-size: clamp(30px, 4vw, 64px); line-height: 1; }
.card--lead .card__dek { font-size: 17px; }
.grid { display: grid; gap: 56px 28px; }
.grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Despre ---------- */
.about { background: #fff; padding-block: clamp(64px, 9vw, 140px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.about__portrait { margin: 0; aspect-ratio: 4 / 5; --n: 48px; }
.about__quote { font-size: clamp(30px, 4.2vw, 64px); line-height: 1.04; margin: 16px 0 24px; }
.about__body { font-size: 18px; color: var(--text); max-width: 36em; margin-bottom: 30px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(56px, 8vw, 110px); align-items: start; }
.tile__img { position: relative; display: block; overflow: hidden; background: var(--mint-2); margin-bottom: 14px; --n: 20px; aspect-ratio: 4 / 3; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.03); }
.tile__title { display: block; font: 400 26px/1.05 var(--d); }
.tile__sub { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.topics { padding-block: 0 clamp(64px, 8vw, 110px); }
.topics__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.topics__list a { display: inline-flex; align-items: center; min-height: 40px; border: 1px solid var(--ink); padding: 7px 14px; font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.topics__list a:hover { background: var(--em); border-color: var(--em); color: #fff; }

/* ---------- Portofoliu ---------- */
.portfolio { background: var(--em-deep); background-image: radial-gradient(100% 120% at 12% 0%, rgba(5, 150, 105, .32), transparent 58%); color: #fff; padding-block: clamp(64px, 9vw, 140px); }
.portfolio .head { border-bottom-color: rgba(255, 255, 255, .24); }
.portfolio .head__title { color: #fff; }
.portfolio .head__desc { color: rgba(255, 255, 255, .74); }
.portfolio .head__tools .link { color: #fff; }
.portfolio .head__tools .link:hover { color: var(--soft); }
.portfolio .portfolio-entry-media { background: rgba(255, 255, 255, .08); }
.portfolio .portfolio-entry-types, .portfolio .portfolio-entry-tags { color: var(--soft); }
.portfolio .portfolio-entry-title a { color: #fff; }
.portfolio .portfolio-entry-title a:hover { color: var(--soft); }
.portfolio .portfolio-entry-content { color: rgba(255, 255, 255, .72); }
.portfolio .portfolio-entry-author { color: rgba(255, 255, 255, .6); }
.portfolio :focus-visible { outline-color: var(--soft); }
@media (max-width: 760px) {
	.portfolio .portfolio-shortcode { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ---------- Arhive ---------- */
.archive-head { background: var(--em-dark); background-image: radial-gradient(110% 120% at 90% 0%, rgba(5, 150, 105, .4), transparent 58%); color: #fff; padding-block: clamp(56px, 9vw, 140px) clamp(40px, 5vw, 72px); }
.archive-head__count { font: 500 13px var(--t); color: var(--soft); margin-bottom: 14px; }
.archive-head__title { font-size: clamp(44px, 9vw, 150px); line-height: .9; letter-spacing: -.03em; text-wrap: balance; }
.archive-head__desc { margin-top: 22px; font-size: 18px; max-width: 40em; color: rgba(255, 255, 255, .88); }
.archive-head__desc p { margin: 0; }
.archive-head__search { margin-top: 28px; max-width: 760px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; border: 1px solid rgba(255, 255, 255, .6); color: #fff; padding: 6px 14px; font-size: 14px; transition: background .25s, color .25s; }
.chip:hover { background: #fff; color: var(--em-dark); }
.section { padding-block: clamp(48px, 7vw, 100px); }
.section--archive { padding-top: clamp(40px, 5vw, 72px); }
.empty { font: italic 400 30px var(--d); }
.pagination { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); padding-top: 24px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-align: center; padding: 8px 14px; font-size: 14px; border: 1px solid transparent; }
.pagination .page-numbers.current { background: var(--em); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); }

.notfound { padding-block: clamp(56px, 10vw, 150px); }
.notfound__code { font: italic 400 clamp(100px, 22vw, 320px)/.85 var(--d); color: var(--em); margin-bottom: 20px; }
.notfound__title { font-size: clamp(32px, 5vw, 64px); margin-bottom: 16px; }
.notfound__text { font-size: 18px; color: var(--text); max-width: 34em; margin-bottom: 28px; }
.notfound__search { max-width: 720px; margin-bottom: 30px; }

/* ---------- Articol ---------- */
.article__head { padding-block: clamp(40px, 7vw, 110px) clamp(28px, 3vw, 44px); }
.article__kick .kicker { font-size: 14px; }
.article__title { font-size: clamp(36px, 6.4vw, 104px); line-height: .96; letter-spacing: -.03em; max-width: 16ch; margin-top: 16px; text-wrap: balance; }
.article__dek { margin: 26px 0 0; font: italic 400 clamp(21px, 2.2vw, 30px)/1.3 var(--d); color: var(--text); max-width: 34em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 26px 0 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--hair); padding-top: 16px; max-width: 760px; }
.article__cover { margin-block: 0 clamp(48px, 6vw, 88px); }
.article__cover-media { aspect-ratio: var(--ar, 1.5); width: min(100%, calc(84vh * var(--ar, 1.5))); --n: 48px; }
.article__cover figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.article__body { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 700px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.article__body--page { grid-template-columns: minmax(0, 1fr) minmax(0, 740px) minmax(0, 1fr); }
.article__body--page .entry-content { grid-column: 2; }
.article__aside { grid-column: 1; align-self: stretch; }
.article__sticky { position: sticky; top: calc(var(--adminbar, 0px) + var(--header-h) + 24px); display: grid; gap: 28px; font-size: 13.5px; }
.article__left { margin: 0; padding: 12px 14px; background: var(--em); color: #fff; font-weight: 500; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.toc__title, .share__title { font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.toc__list { list-style: none; display: grid; gap: 2px; }
.toc__list a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--hair); color: var(--muted); line-height: 1.35; transition: color .25s, border-color .25s; }
.toc__list a:hover, .toc__list a.is-active { color: var(--ink); border-left-color: var(--em); }
.share__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.share__list a, .share__list button { display: inline-flex; align-items: center; min-height: 36px; border: 1px solid var(--ink); background: #fff; padding: 5px 10px; font: 500 12.5px var(--t); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.share__list a:hover, .share__list button:hover { background: var(--em); border-color: var(--em); color: #fff; }
.entry-content { grid-column: 2; font-size: 19px; line-height: 1.75; color: var(--text); min-width: 0; }
.entry-content > * { margin-block: 0 1.3em; }
.entry-content > p:first-of-type { font-size: 22px; line-height: 1.6; color: var(--ink); }
.entry-content > p:first-of-type::first-letter { float: left; font: 400 5.2em/.8 var(--d); margin: .04em .1em 0 0; color: var(--em); }
.entry-content h2 { font-size: clamp(28px, 3.4vw, 48px); margin: 1.9em 0 .5em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.entry-content h3 { font-size: clamp(23px, 2.6vw, 34px); margin: 1.6em 0 .5em; color: var(--ink); }
.entry-content h4 { font: 600 18px var(--t); margin: 1.6em 0 .4em; }
.entry-content a { color: var(--em); border-bottom: 1px solid currentColor; }
.entry-content a:hover { color: var(--ink); }
.entry-content strong, .entry-content b { font-weight: 600; color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li::marker { color: var(--em); }
.entry-content blockquote, .entry-content .wp-block-quote, .entry-content .wp-block-pullquote { margin: 2.2em 0; padding: 30px 34px 34px; border: 0; background: var(--mint); font: italic 400 clamp(24px, 2.6vw, 36px)/1.2 var(--d); color: var(--ink); text-align: left; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.entry-content blockquote p { margin: 0 0 .4em; font: inherit; }
.entry-content blockquote cite { display: block; font: normal 500 13px var(--t); color: var(--em); margin-top: 12px; }
.entry-content hr { border: 0; border-top: 1px solid var(--hair); margin: 3em 0; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--hair); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--mint); }
.entry-content pre, .entry-content code { font-size: 15px; background: #f3f7f5; }
.entry-content pre { padding: 18px; overflow-x: auto; }
.entry-content iframe { width: 100%; }
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; }
.entry-content .wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 56.25%; }
.entry-content .wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-content .wp-block-button__link { background: var(--em); color: #fff; border: 0; border-radius: 0; padding: 14px 26px; font: 500 15px var(--t); }
.entry-content .wp-block-button__link:hover { background: var(--em-dark); }
.page-links { margin-top: 2em; font: 500 14px var(--t); }
.page-links a, .page-links > span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border: 1px solid var(--hair); margin-right: 4px; }
.alignwide { width: min(100vw - 2 * var(--gutter), 1120px); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.aligncenter { margin-inline: auto; display: block; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.article__foot { margin-top: 3em; border-top: 1px solid var(--ink); padding-top: 22px; }
.signoff { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.signoff__name { font: italic 400 26px/1 var(--d); color: var(--em); }

.next { margin-top: clamp(64px, 9vw, 120px); }
.next__link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--em-dark); background-image: radial-gradient(100% 100% at 0% 100%, rgba(5, 150, 105, .38), transparent 60%); color: #fff; min-height: clamp(380px, 70vh, 720px); }
.next__media { position: relative; order: 2; margin: clamp(20px, 3vw, 40px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%); }
.next__media img { transition: transform 1.2s var(--ease); }
.next__link:hover .next__media img { transform: scale(1.04); }
.next__text { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 5vw, 80px) var(--gutter); width: auto; margin: 0; }
.next__label { font: 500 13px var(--t); color: var(--soft); margin-bottom: 16px; }
.next__title { font: 400 clamp(32px, 4.8vw, 80px)/1 var(--d); letter-spacing: -.025em; text-wrap: balance; }
.next__meta { margin-top: 18px; font-size: 13px; color: var(--soft); }
.related__title { font-size: clamp(34px, 5vw, 72px); margin-bottom: clamp(28px, 3vw, 44px); }

/* ---------- Comentarii ---------- */
.comments { padding-block: clamp(48px, 7vw, 96px); }
.comments__title, .comment-reply-title { font-size: clamp(28px, 3.4vw, 48px); margin-bottom: 24px; }
.comments__list { list-style: none; }
.comments__list .comment-body { border-top: 1px solid var(--hair); padding: 20px 0; }
.comments__list .children { list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.comments__list .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comments__list .fn { font: 400 22px var(--d); font-style: normal; }
.comments__list .comment-metadata { font-size: 13px; color: var(--muted); }
.comments__list .comment-content { clear: both; padding-top: 8px; }
.comments__list .reply a { font-size: 13.5px; color: var(--em); }
.comment-form label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.comment-form p { margin-bottom: 16px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; font: 400 16px var(--t); padding: 12px 14px; border: 1px solid #c6d3cd; border-radius: 0; background: #fff; }
.comment-form input[type="text"]:focus, .comment-form input[type="email"]:focus, .comment-form input[type="url"]:focus, .comment-form textarea:focus { border-color: var(--em); outline: 2px solid rgba(4, 120, 87, .25); outline-offset: 1px; }
.comment-form .submit { background: var(--em); color: #fff; border: 0; min-height: 48px; padding: 14px 26px; font: 500 15px var(--t); cursor: pointer; }
.comment-form .submit:hover { background: var(--em-dark); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }

/* ---------- Subsol ---------- */
.footer { background: var(--em-dark); background-image: radial-gradient(80% 100% at 100% 0%, rgba(5, 150, 105, .3), transparent 55%); color: #fff; padding-block: clamp(56px, 9vw, 130px) max(24px, env(safe-area-inset-bottom)); }
.footer__hot { margin: 0; font: 400 clamp(38px, 8.4vw, 150px)/.95 var(--d); letter-spacing: -.03em; text-wrap: balance; }
.footer__hot em { font-style: italic; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; background: #fff; padding: 18px 22px; margin-top: clamp(32px, 5vw, 64px); --n: 18px; color: var(--em-dark); }
.footer__brand .mark { width: 32px; height: 32px; color: var(--em); }
.footer__brand-name { font: 400 clamp(20px, 2vw, 26px)/1 var(--d); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 40px; margin-top: clamp(40px, 6vw, 80px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .3); }
.footer__col--lead { min-width: 0; }
.footer__lead { font-size: 15px; color: rgba(255, 255, 255, .88); max-width: 26em; margin-bottom: 14px; }
.footer__title { font: 500 13px var(--t); color: var(--soft); margin-bottom: 12px; letter-spacing: 0; }
.footer__list { list-style: none; display: grid; gap: 2px; font-size: 15px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 32px; }
.footer__list a:hover { color: var(--soft); }
.footer__widgets { margin-top: 36px; }
.footer__legal { margin: 48px 0 0; font-size: 13px; color: var(--soft); }

/* ---------- Continuă lectura ---------- */
.continue { position: fixed; left: clamp(12px, 2vw, 24px); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 800; display: flex; align-items: center; max-width: min(400px, calc(100vw - 24px)); background: var(--em-dark); color: #fff; box-shadow: 0 18px 50px rgba(4, 47, 36, .45); transform: translateY(150%); transition: transform .6s var(--ease); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.continue.show { transform: none; }
.continue[hidden] { display: none; }
.continue__link { display: flex; align-items: center; gap: 14px; padding: 12px 4px 12px 12px; min-width: 0; }
.continue__media { width: 54px; height: 54px; flex: none; overflow: hidden; background: var(--em-deep); }
.continue__media img { width: 100%; height: 100%; object-fit: cover; }
.continue__text { display: block; min-width: 0; }
.continue__label { display: block; font: 500 12px var(--t); color: var(--soft); }
.continue__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 400 18px/1.15 var(--d); }
.continue__bar { display: block; height: 2px; background: rgba(255, 255, 255, .25); margin-top: 8px; }
.continue__bar i { display: block; height: 100%; background: #fff; }
.continue__close { background: none; border: 0; font-size: 22px; line-height: 1; padding: 10px 14px; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--soft); }

/* ---------- Mișcare ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal]:not(.is-split) { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
	.js [data-reveal]:not(.is-split).is-in { opacity: 1; transform: none; }
	.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
	.is-split .w__i { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms); }
	.is-split.is-in .w__i { transform: none; }
	.js .rail > [data-reveal]:nth-child(2), .js .tiles > [data-reveal]:nth-child(2) { transition-delay: .08s; }
	.js .rail > [data-reveal]:nth-child(3), .js .tiles > [data-reveal]:nth-child(3) { transition-delay: .16s; }
	.cover__media { animation: wipe 1.4s .15s var(--ease) both; }
	@keyframes wipe { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } to { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%); } }
	.cover__media img { animation: settle 2s .15s var(--ease) both; }
	@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.media__inner { inset: 0; }
	.manifest__field { clip-path: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.article__body { grid-template-columns: minmax(0, 1fr); }
	.entry-content { grid-column: 1; max-width: 720px; }
	.article__aside { grid-column: 1; order: 2; max-width: 720px; }
	.article__sticky { position: static; }
	.toc { display: none; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.rail--static { grid-auto-columns: clamp(260px, 42vw, 420px); }
}
@media (max-width: 1000px) {
	.masthead__bar { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
	.brand__name { max-width: 56vw; }
	.masthead__tools { grid-column: 2; }
	.menu-btn { display: block; }

	/* Ținte de atingere confortabile pentru link-urile text. */
	.link { position: relative; }
	.link::after { content: ""; position: absolute; inset: -12px -8px; }

	/* Meniul mobil: sertar sub antet, pe tot ecranul, cu derulare proprie. */
	.nav {
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--adminbar, 0px) + var(--header-h, 74px));
		height: calc(100dvh - var(--adminbar, 0px) - var(--header-h, 74px));
		z-index: 890;
		display: block;
		background: var(--em-dark);
		background-image: radial-gradient(90% 70% at 100% 0%, rgba(5, 150, 105, .35), transparent 60%);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 20px var(--gutter) max(48px, calc(24px + env(safe-area-inset-bottom)));
		visibility: hidden;
		opacity: 0;
		transform: translateY(-10px);
		pointer-events: none;
		transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .35s;
	}
	.nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
	.menu-open .masthead, .search-open .masthead { top: var(--adminbar, 0px); }
	.nav ul, .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav li { border-bottom: 1px solid rgba(255, 255, 255, .16); }
	.nav a { display: flex; align-items: center; min-height: 56px; font: 400 clamp(28px, 7.6vw, 46px)/1.1 var(--d); color: #fff; padding: 10px 0; }
	.nav a::after { display: none; }
	.nav a:hover, .nav .current-menu-item > a { color: var(--soft); }

	.menu-open, .search-open { overflow: hidden; }
	.menu-open { padding-right: var(--sbw); }
	.search-open { padding-right: var(--sbw); }

	.cover { grid-template-columns: 1fr; min-height: 0; }
	.cover__media { order: -1; margin: 0; height: 56svh; min-height: 300px; }
	.cover__text { padding-top: clamp(28px, 6vw, 48px); }
	.next__link { grid-template-columns: 1fr; min-height: 0; }
	.next__media { order: 0; height: 44svh; min-height: 260px; margin: 0; }
	.next__text { padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(36px, 6vw, 64px); }
	.about__grid { grid-template-columns: 1fr; }
	.about__portrait { max-width: 460px; }
	.head { grid-template-columns: 1fr auto; }
	.head__desc { grid-column: 1 / -1; grid-row: 2; }
	.head__tools { grid-column: 2; grid-row: 1; }
	.grid--archive { grid-template-columns: 1fr 1fr; }
	.card--lead { grid-template-columns: 1fr; gap: 20px; }
	.tiles { grid-template-columns: 1fr 1fr; }
	.index__link { grid-template-columns: 1fr 92px; grid-template-areas: "cat thumb" "title thumb" "date thumb"; gap: 6px 18px; align-items: start; }
	.index__cat { grid-area: cat; }
	.index__title { grid-area: title; font-size: 26px; }
	.index__date { grid-area: date; text-align: left; }
	.index__thumb { display: block; grid-area: thumb; width: 92px; aspect-ratio: 1; --n: 12px; }
	.index__link:hover { padding-left: 0; }
}
@media (max-width: 600px) {
	body { font-size: 16.5px; }
	.brand__mark { width: 26px; height: 26px; }
	.brand__name { font-size: 21px; max-width: 52vw; }
	.custom-logo-link img { max-height: 40px; }
	.tool { font-size: 13px; }
	.head__tools .arrow { display: none; }
	.head__tools .link { margin-left: 0; }
	.grid--archive, .tiles { grid-template-columns: 1fr; }
	.rail { grid-auto-columns: 80%; gap: 18px; }
	.rail--static { grid-auto-columns: 80%; }
	.footer__grid { grid-template-columns: 1fr; }
	.footer__brand { margin-top: 28px; }
	.entry-content { font-size: 18px; }
	.entry-content > p:first-of-type { font-size: 19.5px; }
	.entry-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.alignleft, .alignright { float: none; max-width: 100%; margin: 1em 0; }
	.search-form { flex-direction: column; align-items: stretch; }
	.search-form__btn { width: 100%; }
	.article__sticky { gap: 20px; }
	.share__list { gap: 8px; }
	.next { margin-top: 56px; }
	.continue { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); max-width: none; }
}
/* ---------- Lightbox imagini ---------- */
body.lightbox-open { overflow: hidden; padding-right: var(--sbw); }
.entry-content a.is-lightbox { cursor: zoom-in; }
.entry-content a.is-lightbox img { transition: opacity .25s var(--ease); }
@media (hover: hover) {
	.entry-content a.is-lightbox:hover img { opacity: .88; }
}
.lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
	overscroll-behavior: contain;
}
.lightbox[open] { display: block; }
.lightbox::backdrop { background: rgba(4, 47, 36, .94); }
.lightbox__stage {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	width: 100%;
	height: 100%;
	padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
.lightbox__figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; margin: 0; }
.lightbox__media { position: relative; display: grid; place-items: center; min-height: 0; padding: clamp(48px, 7vh, 72px) clamp(52px, 9vw, 104px); }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); transition: opacity .25s var(--ease); }
.lightbox__img.is-ready { opacity: 1; }
.lightbox__img.is-error { opacity: 0; }
.lightbox__caption { display: flex; align-items: baseline; justify-content: center; gap: 4px 18px; min-height: 44px; padding: 6px clamp(56px, 8vw, 96px) 4px; text-align: center; }
.lightbox__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 72ch; font: 400 15px/1.4 var(--t); color: rgba(255, 255, 255, .82); }
.lightbox__text:empty { display: none; }
.lightbox__count { font: 500 13px/1.4 var(--t); letter-spacing: .04em; color: var(--soft); white-space: nowrap; }
.lightbox__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(4, 47, 36, .72); color: #fff; cursor: pointer; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.lightbox__btn:hover { background: var(--em); border-color: var(--em); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: max(10px, env(safe-area-inset-left)); }
.lightbox__next { right: max(10px, env(safe-area-inset-right)); }
.lightbox__prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(2px); }
.lightbox__btn:focus-visible { outline: 2px solid var(--soft); outline-offset: 3px; }
.lightbox [hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
	.lightbox[open] .lightbox__img.is-ready { animation: lb-in .32s var(--ease) both; }
	.lightbox[open]::backdrop { animation: lb-fade .28s ease both; }
	@keyframes lb-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
	@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 600px) {
	.lightbox__media { padding: 58px 8px 8px; }
	.lightbox__caption { padding: 4px 64px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: max(10px, env(safe-area-inset-bottom)); transform: none; }
	.lightbox__prev:hover, .lightbox__next:hover { transform: none; }
}
@media print {
	.masthead, .footer, .related, .comments, .next, .progress, .continue, .article__aside, .lightbox { display: none !important; }
}
