/* Editoriale: /editoriale/ (toate) și paginile articolelor. Se încarcă după intro.css și predica.css. Fundal alb, text de citit, serif (Newsreader), fără decor. */
.pagina-ed main { background: #fff; }
.pagina-ed .firimituri { padding-top: 24px; }

/* articolul */
.ed-articol { width: min(100% - 32px, 700px); margin-inline: auto; padding: 8px 0 clamp(56px, 8vw, 104px); }
.ed-articol__cap { padding-bottom: clamp(24px, 3vw, 32px); border-bottom: 1px solid #ececec; }
.ed-articol__eticheta, .ed-card__eticheta, .ed-pasaj__eticheta { margin: 18px 0 0; font: 700 .75rem/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--rosu); }
.ed-articol__titlu { margin: 14px 0 0; font: 600 clamp(2.375rem, 7vw, 3.75rem)/1.04 var(--font-serif); letter-spacing: -.025em; color: #141414; text-wrap: balance; }
.ed-articol__autor { margin: 26px 0 0; }
.ed-articol__autor a { color: inherit; text-decoration: none; }
.ed-articol__autor a:hover .ed-semn__nume { color: var(--rosu); }
.ed-articol__text { margin-top: clamp(28px, 4vw, 40px); }
.ed-articol__text p { margin: 0 0 1.2em; font: 400 clamp(1.1875rem, 2.3vw, 1.3125rem)/1.7 var(--font-serif); color: #262626; text-wrap: pretty; }
.ed-articol__text > p:first-child::first-letter { float: left; margin: .06em .1em 0 0; font: 600 3.6em/.82 var(--font-serif); color: #141414; }
.ed-articol__text h2 { margin: 1.6em 0 .6em; font: 600 clamp(1.5rem, 3.4vw, 1.875rem)/1.2 var(--font-serif); color: #141414; }
.ed-articol__text .ed-final { margin-top: 1.6em; padding: 0 0 0 22px; font-style: italic; color: #141414; border-left: 3px solid var(--rosu); }
.ed-citat { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 3px solid var(--rosu); }
.ed-citat p { margin: 0; font: 400 italic clamp(1.25rem, 3vw, 1.5rem)/1.45 var(--font-serif); color: #141414; }
.ed-citat cite { display: block; margin-top: 10px; font: 600 .875rem/1.3 var(--font-text); font-style: normal; color: #777; }

/* semnătura (poză mică, nume, dată, minute de citit) */
.ed-semn { display: inline-flex; align-items: center; gap: 12px; }
.ed-semn__foto { flex: 0 0 auto; width: 48px; height: 48px; object-fit: cover; object-position: 50% 25%; border-radius: 50%; }
.ed-semn__text { display: flex; flex-direction: column; gap: 3px; }
.ed-semn__nume { font: 600 1rem/1.2 var(--font-text); color: #141414; transition: color .2s; }
.ed-semn__meta { font: 400 .875rem/1.3 var(--font-text); color: var(--p-text-3, #6b6b6b); }
.ed-semn--mic { gap: 10px; }
.ed-semn--mic .ed-semn__foto { width: 36px; height: 36px; }
.ed-semn--mic .ed-semn__nume { font-size: .9375rem; }
.ed-semn--mic .ed-semn__meta { font-size: .8125rem; }

/* textul biblic */
.ed-pasaj { margin-top: clamp(36px, 5vw, 52px); padding: clamp(24px, 4vw, 34px); background: #f4f4f4; border-radius: 20px; }
.ed-pasaj__eticheta { margin: 0; }
.ed-pasaj__ref { margin: 8px 0 0; font: 600 1.5rem/1.2 var(--font-serif); color: #141414; }
.ed-pasaj__text { margin: 12px 0 0; font: 400 1.1875rem/1.65 var(--font-serif); color: #333; }
.ed-pasaj__text sup { margin-right: 3px; font: 700 .6875rem/1 var(--font-text); color: var(--rosu); }
.ed-pasaj__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 600 .9375rem/1.3 var(--font-text); color: #141414; text-decoration: none; }
.ed-pasaj__link svg, .ed-card svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ed-pasaj__link:hover { color: var(--rosu); }
.ed-pasaj__link:hover svg { transform: translateX(3px); }

/* despre autor */
.ed-autor { display: flex; align-items: center; gap: 20px; margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid #ececec; }
.ed-autor__foto { flex: 0 0 auto; width: 96px; height: 96px; object-fit: cover; object-position: 50% 25%; border-radius: 50%; }
.ed-autor__nume { margin: 0; font: 600 1.375rem/1.2 var(--font-serif); color: #141414; }
.ed-autor__rol { margin: 4px 0 0; font: 400 .9375rem/1.4 var(--font-text); color: #666; }
.ed-autor__linkuri { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; }
.ed-autor__linkuri a { font: 600 .9375rem/1.3 var(--font-text); color: #141414; text-decoration: underline; text-decoration-color: #cfcfcf; text-underline-offset: 4px; }
.ed-autor__linkuri a:hover { color: var(--rosu); text-decoration-color: currentColor; }

/* cardurile: coperta sus (sau în stânga, la cel mare), apoi eticheta, titlul, rezumatul, semnătura */
.ed-grila { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.ed-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; background: #f4f4f4; border-radius: 20px; transition: background-color .2s; }
.ed-card:hover { background: #ececec; }
.ed-card__poza { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: #111113; }
.ed-card__poza img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ed-card:hover .ed-card__poza img { transform: scale(1.025); }
.ed-card__corp { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 30px); }
.ed-card__eticheta { margin: 0; }
.ed-card__titlu { font: 600 clamp(1.5rem, 2.8vw, 1.875rem)/1.12 var(--font-serif); letter-spacing: -.01em; color: #141414; text-wrap: balance; transition: color .2s; }
.ed-card:hover .ed-card__titlu { color: var(--rosu); }
.ed-card__rezumat { font: 400 1.0625rem/1.6 var(--font-serif); color: #4a4a4a; text-wrap: pretty; }
.ed-card .ed-semn { margin-top: auto; padding-top: 8px; }
.ed-card--mare .ed-card__corp { gap: 16px; padding: clamp(26px, 4.5vw, 52px); }
.ed-card--mare .ed-card__titlu { font-size: clamp(2.125rem, 5vw, 3.25rem); line-height: 1.04; letter-spacing: -.025em; }
.ed-card--mare .ed-card__rezumat { max-width: 36em; font-size: clamp(1.1875rem, 2.2vw, 1.3125rem); line-height: 1.55; }
@media (min-width: 861px) {
  .ed-card--mare.ed-card--poza { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .ed-card--mare .ed-card__poza { height: 100%; aspect-ratio: auto; display: flex; align-items: center; background: #111113; }
  .ed-card--mare .ed-card__poza img { height: auto; aspect-ratio: 1200 / 630; }
  .ed-card--mare .ed-card__corp { justify-content: center; }
}

/* coperta în articol */
.ed-coperta { margin: clamp(24px, 3vw, 32px) 0 0; }
.ed-coperta img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* blocul de pe prima pagină */
.acasa-ed { width: 100%; max-width: 1180px; margin-inline: auto; text-align: left; }

.ed-altele { margin-top: clamp(48px, 6vw, 72px); }
.ed-altele h2 { margin: 0 0 18px; font: 600 1.625rem/1.2 var(--font-serif); color: #141414; }

/* pagina cu toate editorialele */
.ed-index { width: min(100% - 32px, 1080px); margin-inline: auto; padding: 8px 0 clamp(56px, 8vw, 104px); }
.ed-index__titlu { margin: 18px 0 0; font: 600 clamp(2.5rem, 7vw, 4rem)/1.02 var(--font-serif); letter-spacing: -.03em; color: #141414; }
.ed-index__lead { max-width: 38em; margin: 16px 0 clamp(28px, 4vw, 44px); font: 400 clamp(1.125rem, 2.2vw, 1.3125rem)/1.6 var(--font-serif); color: #444; text-wrap: pretty; }
.ed-index__grup { margin: clamp(40px, 5vw, 60px) 0 18px; font: 600 1.625rem/1.2 var(--font-serif); color: #141414; }
.ed-index__gol { font: 400 1.125rem/1.6 var(--font-text); color: #555; }

@media (max-width: 600px) {
  .ed-articol__text p { line-height: 1.65; }
  .ed-autor { align-items: flex-start; gap: 16px; }
  .ed-autor__foto { width: 64px; height: 64px; }
}

/* blocul „Editoriale” de pe /florinianovici/ */
.fi-editoriale .ed-grila { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; }
.fi-editoriale .ed-card { text-align: left; }
.fi-editoriale__toate { margin: 18px 0 0; text-align: center; }
.fi-editoriale__toate a { font: 600 1rem/1.3 var(--font-text); color: #141414; text-decoration: underline; text-decoration-color: #cfcfcf; text-underline-offset: 4px; }
.fi-editoriale__toate a:hover { color: var(--rosu); text-decoration-color: currentColor; }

/* filtrul Toate / Editoriale / Gânduri și lunile de pe /editoriale/ */
.ed-filtru { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(36px, 5vw, 52px) 0 0; }
.ed-filtru__b { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font: 600 .9375rem/1 var(--font-text); color: #141414; background: #fff; border: 1px solid #dcdcdc; border-radius: 999px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ed-filtru__b span { font-weight: 400; color: #888; }
.ed-filtru__b:hover { border-color: #141414; }
.ed-filtru__b[aria-pressed="true"] { color: #fff; background: #141414; border-color: #141414; }
.ed-filtru__b[aria-pressed="true"] span { color: #bbb; }
.ed-luna .ed-index__grup { margin-top: clamp(32px, 4vw, 48px); }
.ed-card[hidden], .ed-luna[hidden] { display: none; }

/* firimiturile (Acasă › Editoriale › …): mai mici și mai estompate */
.pagina-ed .firimituri ol { font-size: .75rem; color: #9a9a9a; }
.pagina-ed .firimituri a { color: #9a9a9a; }
.pagina-ed .firimituri a:hover { color: #141414; }
.pagina-ed .firimituri [aria-current] { color: #6b6b6b; }
.acasa-ed__alte { margin-top: 18px; }

/* legături în text, „Vezi și” și blocul „Mai departe” (story-uri, predici la minut, editoriale pe aceeași temă) */
.ed-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(228, 0, 8, .45); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ed-link:hover { color: var(--rosu); text-decoration-color: currentColor; }
.ed-pasaj__linkuri { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 0; }
.ed-pasaj__linkuri .ed-pasaj__link { margin-top: 0; }
.ed-pasaj__link--mic { color: #666; font-weight: 600; }
.ed-legaturi { margin-top: clamp(36px, 5vw, 52px); }
.ed-legaturi h2 { margin: 0 0 18px; font: 600 1.625rem/1.2 var(--font-serif); color: #141414; }
.ed-legaturi h3 { margin: 26px 0 10px; font: 700 .75rem/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; }
.ed-legaturi__stories { display: grid; gap: 12px; }
.ed-story { display: flex; align-items: center; gap: 18px; padding: 12px; color: inherit; text-decoration: none; background: #f4f4f4; border-radius: 18px; transition: background-color .2s; }
.ed-story:hover { background: #ececec; }
.ed-story__poza { position: relative; flex: 0 0 auto; width: 92px; aspect-ratio: 9 / 16; overflow: hidden; background: #111; border-radius: 12px; }
.ed-story__poza img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-story__play { position: absolute; inset: 0; display: grid; place-items: center; }
.ed-story__play svg { width: 34px; height: 34px; padding: 9px; fill: #fff; background: rgba(0, 0, 0, .45); border-radius: 50%; }
.ed-story__text { display: flex; flex-direction: column; gap: 6px; }
.ed-story__eticheta { font: 700 .75rem/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--rosu); }
.ed-story__titlu { font: 600 1.375rem/1.2 var(--font-serif); color: #141414; }
.ed-story:hover .ed-story__titlu { color: var(--rosu); }
.ed-story__despre { font: italic 400 1rem/1.5 var(--font-serif); color: #555; }
.ed-legaturi__predici, .ed-legaturi__editoriale { margin: 0; padding: 0; list-style: none; }
.ed-predica { display: flex; gap: 14px; padding: 14px 0; color: inherit; text-decoration: none; border-top: 1px solid #ececec; }
.ed-legaturi__predici li:last-child .ed-predica { border-bottom: 1px solid #ececec; }
.ed-predica__ico { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: #141414; border-radius: 50%; transition: background-color .2s; }
.ed-predica__ico svg { width: 14px; height: 14px; fill: currentColor; }
.ed-predica:hover .ed-predica__ico { background: var(--rosu); }
.ed-predica__text { display: flex; flex-direction: column; gap: 3px; }
.ed-predica__titlu { font: 600 1.1875rem/1.3 var(--font-serif); color: #141414; }
.ed-predica:hover .ed-predica__titlu { color: var(--rosu); }
.ed-predica__meta { font: 400 .875rem/1.4 var(--font-text); color: #777; }
.ed-predica__despre { font: 400 1rem/1.5 var(--font-serif); color: #555; }
.ed-legaturi__editoriale li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid #ececec; }
.ed-legaturi__editoriale li:last-child { border-bottom: 1px solid #ececec; }
.ed-legaturi__editoriale a { font: 600 1.1875rem/1.3 var(--font-serif); color: #141414; text-decoration: none; }
.ed-legaturi__editoriale a:hover { color: var(--rosu); }
.ed-legaturi__editoriale span { font: 400 .875rem/1.4 var(--font-text); color: #888; }

/* /florinianovici/: ultimele 4 editoriale pe un rând, fără poză */
@media (min-width: 1000px) { .fi-editoriale .ed-grila { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* story-urile din „Mai departe”: două alăturate; fereastra cu video (editoriale.js) */
@media (min-width: 640px) { .ed-legaturi__stories { grid-template-columns: 1fr 1fr; } }
.ed-legaturi__stories .ed-story { align-items: flex-start; }
.ed-legaturi__stories .ed-story__titlu { font-size: 1.1875rem; }
.ed-legaturi__stories .ed-story__despre { font-size: .9375rem; }
.ed-pop { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 28px); padding: 16px; background: rgba(10, 10, 12, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overscroll-behavior: contain; }
.ed-pop--deschis { display: flex; animation: ed-pop-in .25s ease-out; }
@keyframes ed-pop-in { from { opacity: 0; } to { opacity: 1; } }
.ed-pop__cadru { position: relative; display: flex; flex-direction: column; margin: 0; width: min(420px, calc((100dvh - 150px) * 9 / 16), 100%); animation: ed-pop-sus .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes ed-pop-sus { from { transform: translateY(18px) scale(.97); } to { transform: none; } }
.ed-pop__video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: 18px; cursor: pointer; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.ed-pop__redare { position: absolute; left: 50%; top: calc((100% - 74px) / 2); display: grid; place-items: center; width: 72px; height: 72px; padding: 0; color: #fff; background: rgba(0, 0, 0, .5); border: 0; border-radius: 50%; transform: translate(-50%, -50%); cursor: pointer; transition: opacity .2s; }
.ed-pop__redare svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.ed-pop--ruleaza .ed-pop__redare { opacity: 0; pointer-events: none; }
.ed-pop__bara { position: absolute; left: 14px; right: 14px; top: 10px; height: 3px; overflow: hidden; background: rgba(255, 255, 255, .3); border-radius: 3px; }
.ed-pop__bara i { display: block; width: 0; height: 100%; background: #fff; transition: width .25s linear; }
.ed-pop__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 14px 4px 0; color: #fff; }
.ed-pop__ref { width: 100%; font: 700 .75rem/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: #ff4a50; }
.ed-pop__titlu { flex: 1; font: 600 1.25rem/1.25 var(--font-serif); }
.ed-pop__link { display: inline-flex; align-items: center; gap: 6px; font: 600 .875rem/1.3 var(--font-text); color: rgba(255, 255, 255, .8); text-decoration: none; white-space: nowrap; }
.ed-pop__link svg, .ed-pop__sag svg, .ed-pop__x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ed-pop__link:hover { color: #fff; }
.ed-pop__x { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; cursor: pointer; transition: background-color .2s; }
.ed-pop__x svg { width: 20px; height: 20px; }
.ed-pop__sag { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: #fff; background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; cursor: pointer; transition: background-color .2s; }
.ed-pop__sag svg { width: 22px; height: 22px; }
.ed-pop__x:hover, .ed-pop__sag:hover { background: rgba(255, 255, 255, .24); }
.ed-pop__sag[hidden] { display: grid; visibility: hidden; }
@media (max-width: 600px) {
  .ed-pop { padding: 12px; gap: 0; }
  .ed-pop__sag { position: absolute; top: 42%; z-index: 1; width: 40px; height: 40px; background: rgba(0, 0, 0, .4); }
  .ed-pop__sag--st { left: 18px; } .ed-pop__sag--dr { right: 18px; }
  .ed-pop__cadru { width: min(100%, calc((100dvh - 170px) * 9 / 16)); }
}
@media (prefers-reduced-motion: reduce) { .ed-pop--deschis, .ed-pop__cadru { animation: none; } }
