/* ─────────────────────────────────────────────────────
   resurse.css — secțiunea editorială /resurse/
   Font: Bricolage Grotesque (headings) + DM Sans (body)
   ───────────────────────────────────────────────────── */

:root {
  --res-bg:           #f8f9fb;
  --res-surface:      #ffffff;
  --res-border:       #e4e8ed;
  --res-text:         #1e2a3a;
  --res-muted:        #637182;
  --res-blue:         #2e7cf6;
  --res-blue-dark:    #1a5fd4;
  --res-blue-light:   #ebf2ff;
  --res-green:        #0d9e6e;
  --res-orange:       #e07c2e;
  --res-radius:       12px;
  --res-radius-sm:    8px;
  --res-shadow:       0 2px 12px rgba(30,42,58,.08);
  --res-shadow-hover: 0 8px 32px rgba(30,42,58,.14);
  --res-font-head:    'Bricolage Grotesque', system-ui, sans-serif;
  --res-font-body:    'DM Sans', system-ui, sans-serif;
  --res-font-mono:    'JetBrains Mono', monospace;
}

/* ── Reset / base ── */
.resurse-page *,
.resurse-article-page * { box-sizing: border-box; }

.resurse-page,
.resurse-article-page {
  background: var(--res-bg);
  font-family: var(--res-font-body);
  color: var(--res-text);
  line-height: 1.65;
}

/* ── Container ── */
.res-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.res-container-narrow { max-width: 820px; }

/* ── Breadcrumb ── */
.res-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--res-muted); margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.res-breadcrumb a { color: var(--res-muted); text-decoration: none; }
.res-breadcrumb a:hover { color: var(--res-blue); }

/* ── Badges ── */
.res-badge {
  display: inline-flex; align-items: center;
  padding: .2rem .65rem; border-radius: 20px; font-size: .78rem; font-weight: 600;
  background: var(--res-blue-light); color: var(--res-blue);
  letter-spacing: .02em; text-transform: uppercase;
}
.res-badge-case { background: #fff3e8; color: var(--res-orange); }
.res-badge-svc  { background: #eefaf5; color: var(--res-green); }

/* ═══════════════════════════════════
   ARTICLE PAGE
════════════════════════════════════ */

.resurse-page,
.resurse-article-page {
  --art-ink:          #111827;
  --art-ink-2:        #1e2a3a;
  --art-text:         #2b3645;
  --art-accent:       #649b41;
  --art-accent-dark:  #3d6b18;
  --art-accent-soft:  #eef5e7;
  --art-line:         #e6e9ee;
  --art-nav:          81px;
  background: #fff;
}

/* Bară de progres a citirii */
.art-progress { position: fixed; top: var(--art-nav); left: 0; right: 0; height: 3px; z-index: 999; pointer-events: none; }
.art-progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--art-accent), #9bcf6b);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .1s linear;
}

.art-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--art-accent-dark); margin-bottom: .75rem;
}
.art-label-light { color: #9bcf6b; }

/* ── Hero ── */
.art-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(100,155,65,.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(46,124,246,.18), transparent 60%),
    linear-gradient(160deg, var(--art-ink-2) 0%, var(--art-ink) 70%);
  padding: calc(var(--art-nav) + 2.75rem) 1.5rem 4rem;
}
.art-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.art-hero.has-cover { padding-bottom: clamp(7rem, 14vw, 11rem); }
.art-hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; }

.art-breadcrumb { display: flex; justify-content: center; gap: .55rem; font-size: .85rem; margin-bottom: 1.5rem; color: rgba(255,255,255,.45); }
.art-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.art-breadcrumb a:hover { color: #fff; }

.art-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.art-tag {
  display: inline-flex; align-items: center; padding: .3rem .8rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.14);
  text-decoration: none;
}
.art-tag-svc { background: rgba(100,155,65,.22); border-color: rgba(155,207,107,.35); color: #c9eaa9; }
.art-tag-svc:hover { background: rgba(100,155,65,.35); }
.art-tag-case { background: rgba(224,124,46,.2); border-color: rgba(224,124,46,.4); color: #ffcf9f; }

.art-title {
  font-family: var(--res-font-head); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em;
  margin: 0 0 1.25rem; text-wrap: balance;
}
.art-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,.72);
  max-width: 700px; margin: 0 auto 2rem; text-wrap: pretty;
}

.art-meta { display: inline-flex; align-items: center; gap: .8rem; text-align: left; }
.art-avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--res-font-head); font-weight: 800; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--art-accent), var(--art-accent-dark));
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}
.art-avatar-lg { width: 56px; height: 56px; font-size: 1.05rem; box-shadow: none; }
.art-meta-text { display: flex; flex-direction: column; line-height: 1.35; font-size: .9rem; color: rgba(255,255,255,.6); }
.art-meta-text strong { color: #fff; font-weight: 600; font-size: .95rem; }
.art-dot { margin: 0 .45rem; opacity: .5; }

/* ── Copertă ── */
.art-cover {
  position: relative; z-index: 2; max-width: 1120px;
  margin: calc(-1 * clamp(5.5rem, 11vw, 8.5rem)) auto 0; padding: 0 1.5rem;
}
.art-cover img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover;
  border-radius: 22px; background: #e9edf2;
  box-shadow: 0 30px 60px -20px rgba(17,24,39,.45), 0 0 0 1px rgba(17,24,39,.06);
}

/* ── Layout: cuprins | articol | CTA ── */
.art-layout {
  max-width: 1320px; margin: 0 auto; padding: 4rem 1.5rem 5rem;
  display: grid; grid-template-columns: 230px minmax(0, 720px) 290px;
  justify-content: center; gap: 3.5rem; align-items: start;
}
.art-layout.no-toc { grid-template-columns: minmax(0, 720px) 290px; }

.art-toc, .art-aside { position: sticky; top: calc(var(--art-nav) + 2rem); }
.art-toc { max-height: calc(100vh - var(--art-nav) - 3rem); overflow-y: auto; scrollbar-width: none; }
.art-toc-list { list-style: none; margin: 0 0 2rem; padding: 0; border-left: 2px solid var(--art-line); }
.art-toc-list a {
  display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent;
  font-size: .88rem; line-height: 1.4; color: #6b7686; text-decoration: none;
  transition: color .15s, border-color .15s;
}
.art-toc-list a:hover { color: var(--art-ink); }
.art-toc-list a.is-active { color: var(--art-accent-dark); border-left-color: var(--art-accent); font-weight: 600; }
.art-label-share { margin-top: 0; }

.art-share { display: flex; gap: .5rem; }
.art-share-btn {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--art-line); background: #fff; color: #5b6676; cursor: pointer;
  transition: all .15s; text-decoration: none;
}
.art-share-btn:hover { color: var(--art-accent-dark); border-color: var(--art-accent); background: var(--art-accent-soft); }
.art-share-btn.is-copied { color: #fff; background: var(--art-accent); border-color: var(--art-accent); }

/* ── „Pe scurt” ── */
.art-tldr {
  position: relative; padding: 1.5rem 1.75rem; margin-bottom: 2.75rem;
  background: linear-gradient(135deg, var(--art-accent-soft), #f7faf4);
  border: 1px solid #dcebcf; border-radius: 16px;
}
.art-tldr p { margin: 0; font-size: 1.08rem; line-height: 1.65; color: var(--art-ink-2); font-weight: 500; }

.art-toc-mobile { display: none; margin: -1.25rem 0 2.5rem; border: 1px solid var(--art-line); border-radius: 14px; background: #fff; }
.art-toc-mobile summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1rem 1.25rem; font-family: var(--res-font-head); font-weight: 700; color: var(--art-ink);
}
.art-toc-mobile summary::-webkit-details-marker { display: none; }
.art-toc-mobile summary span { font-family: var(--res-font-body); font-weight: 500; font-size: .85rem; color: #8a94a3; }
.art-toc-mobile summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--art-accent-dark); }
.art-toc-mobile[open] summary::after { content: "−"; }
.art-toc-mobile ol { margin: 0; padding: 0 1.25rem 1rem 2.6rem; color: #8a94a3; }
.art-toc-mobile li { padding: .3rem 0; }
.art-toc-mobile a { color: var(--art-text); text-decoration: none; font-size: .95rem; }
.art-toc-mobile a:hover { color: var(--art-accent-dark); }

/* ── Tipografia articolului ── */
.art-content {
  font-size: 1.125rem; line-height: 1.8; color: var(--art-text);
  font-feature-settings: "kern", "liga";
}
.art-content > p:first-child { font-size: 1.28rem; line-height: 1.7; color: var(--art-ink-2); }
.art-content p { margin: 0 0 1.5rem; }
.art-content h2 {
  font-family: var(--res-font-head); font-weight: 800; color: var(--art-ink);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem); line-height: 1.2; letter-spacing: -.02em;
  margin: 3.25rem 0 1rem; scroll-margin-top: calc(var(--art-nav) + 1.5rem); text-wrap: balance;
}
.art-content h3 {
  font-family: var(--res-font-head); font-weight: 700; color: var(--art-ink);
  font-size: 1.3rem; line-height: 1.3; margin: 2.25rem 0 .75rem;
}
.art-content strong { color: var(--art-ink); font-weight: 700; }
.art-content a {
  color: var(--art-accent-dark); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: rgba(100,155,65,.45);
}
.art-content a:hover { text-decoration-color: currentColor; }

.art-content ul, .art-content ol { margin: 0 0 1.75rem; padding: 0; list-style: none; }
.art-content li { position: relative; margin: 0 0 .8rem; padding-left: 2.1rem; }
.art-content ul > li::before {
  content: ""; position: absolute; left: .55rem; top: .72em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--art-accent); box-shadow: 0 0 0 4px var(--art-accent-soft);
}
.art-content ol { counter-reset: art-ol; }
.art-content ol > li { counter-increment: art-ol; }
.art-content ol > li::before {
  content: counter(art-ol); position: absolute; left: 0; top: .2em;
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; line-height: 1; color: var(--art-accent-dark); background: var(--art-accent-soft);
}

.art-content blockquote {
  margin: 2.25rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--art-accent);
  font-family: var(--res-font-head); font-size: 1.35rem; line-height: 1.5; color: var(--art-ink); font-weight: 500;
}
.art-content blockquote p:last-child { margin: 0; }

.art-table {
  margin: 2rem 0; overflow-x: auto; border: 1px solid var(--art-line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(17,24,39,.04);
}
.art-content table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.55; }
.art-content th, .art-content td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--art-line); }
.art-content th {
  background: #f6f8fa; color: var(--art-ink); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.art-content tr:last-child td { border-bottom: 0; }
.art-content tbody tr:hover td { background: #fafcf8; }
.art-content code {
  font-family: var(--res-font-mono); font-size: .88em;
  background: #f1f3f6; padding: .15em .4em; border-radius: 5px;
}
.art-content hr { border: 0; height: 1px; background: var(--art-line); margin: 3rem 0; }

/* Întrebări frecvente */
.art-faq { margin: 1.5rem 0 0; }
.art-content .art-faq h3 {
  margin: .75rem 0 0; padding: 1.15rem 1.35rem .35rem; font-size: 1.08rem; line-height: 1.4;
  background: #f7f9fb; border: 1px solid var(--art-line); border-bottom: 0; border-radius: 14px 14px 0 0;
}
.art-content .art-faq p {
  margin: 0; padding: 0 1.35rem 1.15rem; font-size: 1rem; line-height: 1.65; color: #4a5565;
  background: #f7f9fb; border: 1px solid var(--art-line); border-top: 0; border-radius: 0 0 14px 14px;
}

/* ── Final articol ── */
.art-end { margin-top: 3.5rem; padding-top: 2.25rem; border-top: 1px solid var(--art-line); }
.art-author { display: flex; gap: 1rem; align-items: center; }
.art-author strong { display: block; font-family: var(--res-font-head); font-size: 1.05rem; color: var(--art-ink); }
.art-author p { margin: .2rem 0 0; font-size: .95rem; color: #6b7686; line-height: 1.5; }
.art-end-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.75rem; font-size: .92rem; color: #6b7686; }
.art-end-share span { margin-right: .35rem; }
.art-pill-btn {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--art-line); background: #fff;
  font: inherit; font-weight: 600; font-size: .88rem; color: var(--art-ink-2); cursor: pointer; text-decoration: none;
  transition: all .15s;
}
.art-pill-btn:hover { border-color: var(--art-accent); color: var(--art-accent-dark); background: var(--art-accent-soft); }

/* ── Card CTA lateral ── */
.art-cta-card {
  padding: 1.75rem; border-radius: 20px; color: #fff; overflow: hidden;
  background:
    radial-gradient(260px 200px at 100% 0%, rgba(100,155,65,.45), transparent 70%),
    linear-gradient(160deg, var(--art-ink-2), var(--art-ink));
  box-shadow: 0 24px 48px -24px rgba(17,24,39,.55);
}
.art-cta-card .art-label { color: #9bcf6b; }
.art-cta-card h3 { font-family: var(--res-font-head); font-size: 1.3rem; line-height: 1.25; font-weight: 800; margin: 0 0 .75rem; color: #fff; letter-spacing: -.01em; }
.art-cta-card p { font-size: .93rem; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0 0 1.5rem; }
.art-cta-secondary { display: block; text-align: center; margin-top: .9rem; font-size: .86rem; color: rgba(255,255,255,.6); }
.art-cta-secondary:hover { color: #fff; }

.art-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
  padding: .9rem 1.25rem; border-radius: 12px; border: 0;
  background: var(--art-accent); color: #fff; font-weight: 700; font-size: .98rem; text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(100,155,65,.8);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.art-btn:hover { background: #578a37; color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(100,155,65,.9); }
.art-btn svg { transition: transform .15s; }
.art-btn:hover svg { transform: translateX(3px); }
.art-btn-lg { width: auto; padding: 1.05rem 1.9rem; font-size: 1.05rem; white-space: nowrap; }

/* ── Bandă CTA ── */
.art-band { padding: 0 1.5rem; }
.art-band-inner {
  max-width: 1120px; margin: 0 auto; padding: 3rem clamp(1.5rem, 4vw, 3.5rem); border-radius: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(100,155,65,.45), transparent 65%),
    radial-gradient(500px 260px at 0% 100%, rgba(46,124,246,.2), transparent 60%),
    linear-gradient(160deg, var(--art-ink-2), var(--art-ink));
}
.art-band h2 { font-family: var(--res-font-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .6rem; color: #fff; }
.art-band p { margin: 0; color: rgba(255,255,255,.7); max-width: 560px; line-height: 1.6; }

/* ── Articole corelate ── */
.art-related { padding: 5rem 1.5rem 5.5rem; }
.art-related-inner { max-width: 1120px; margin: 0 auto; }
.art-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.art-related-head h2 { font-family: var(--res-font-head); font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--art-ink); }
.art-related-head a { color: var(--art-accent-dark); font-weight: 600; text-decoration: none; }
.art-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.art-rel-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--art-line); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.art-rel-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(17,24,39,.3); border-color: transparent; }
.art-rel-img { display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #e9efe3, #eef1f5); overflow: hidden; }
.art-rel-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.art-rel-card:hover .art-rel-img img { transform: scale(1.04); }
.art-rel-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.4rem 1.5rem; }
.art-rel-body .art-tag { align-self: flex-start; background: var(--art-accent-soft); border-color: transparent; color: var(--art-accent-dark); }
.art-rel-body strong { font-family: var(--res-font-head); font-size: 1.15rem; line-height: 1.3; color: var(--art-ink); }
.art-rel-excerpt { font-size: .92rem; line-height: 1.55; color: #6b7686; }

/* ── Buton fix pe mobil ── */
.art-mobile-cta { display: none; }

/* ═══════════════════════════════════
   LISTING PAGE (/resurse)
════════════════════════════════════ */

.lst-hero { padding-bottom: 3.5rem; }
.lst-hero-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
.lst-hero .art-breadcrumb, .lst-hero .art-tags { justify-content: flex-start; }
.lst-hero .art-title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.lst-hero .art-subtitle { margin-left: 0; margin-bottom: 2.25rem; }

.lst-filters { display: flex; flex-direction: column; gap: .75rem; }
.lst-filter-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.lst-pill {
  display: inline-flex; align-items: center; padding: .5rem 1.05rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  transition: background .15s, border-color .15s, color .15s;
}
.lst-pill:hover { background: rgba(255,255,255,.16); color: #fff; }
.lst-pill.is-active { background: var(--art-accent); border-color: var(--art-accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(100,155,65,.8); }
.lst-pill-soft { font-weight: 500; font-size: .86rem; padding: .4rem .9rem; color: rgba(255,255,255,.7); }
.lst-pill-soft.is-active { background: rgba(100,155,65,.25); border-color: rgba(155,207,107,.55); color: #d7f0be; box-shadow: none; }

.lst-body { padding: 3.5rem 1.5rem 4.5rem; }
.lst-inner { max-width: 1120px; margin: 0 auto; }

.lst-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.lst-tag {
  display: inline-flex; align-items: center; padding: .25rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--art-accent-soft); color: var(--art-accent-dark);
}
.lst-tag-plain { background: #f1f3f6; color: #5b6676; }
.lst-tag-case { background: #fff1e5; color: #b85d18; }
.lst-tag-new { background: var(--art-accent); color: #fff; }

.lst-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .5rem; font-size: .85rem; color: #8a94a3; }
.lst-read { color: var(--art-accent-dark); font-weight: 700; white-space: nowrap; }
.lst-read span { display: inline-block; transition: transform .15s; }

/* Articolul principal */
.lst-featured {
  display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 4rem;
  border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--art-line);
  text-decoration: none; color: inherit;
  box-shadow: 0 30px 60px -36px rgba(17,24,39,.45);
  transition: transform .25s, box-shadow .25s;
}
.lst-featured:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -34px rgba(17,24,39,.5); }
.lst-featured:hover .lst-read span, .lst-card:hover .lst-read span { transform: translateX(4px); }
.lst-featured-img { display: block; min-height: 100%; background: linear-gradient(135deg, #e9efe3, #eef1f5); overflow: hidden; }
.lst-featured-img img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .5s; }
.lst-featured:hover .lst-featured-img img { transform: scale(1.03); }
.lst-featured-body { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.75rem, 3.5vw, 3rem); }
.lst-featured-title {
  font-family: var(--res-font-head); font-weight: 800; color: var(--art-ink);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance;
}
.lst-featured-excerpt { font-size: 1.05rem; line-height: 1.65; color: #5b6676; }

.lst-section-title { font-family: var(--res-font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--art-ink); margin: 0 0 1.5rem; }

/* Grila de carduri */
.lst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.lst-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--art-line); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lst-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(17,24,39,.32); border-color: transparent; }
.lst-card-img { display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #e9efe3, #eef1f5); overflow: hidden; }
.lst-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.lst-card:hover .lst-card-img img { transform: scale(1.04); }
.lst-card-body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.lst-card-title { font-family: var(--res-font-head); font-size: 1.2rem; line-height: 1.28; font-weight: 700; color: var(--art-ink); letter-spacing: -.01em; }
.lst-card-excerpt { font-size: .93rem; line-height: 1.6; color: #6b7686; }

.lst-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3.5rem; color: #6b7686; font-size: .92rem; }

.lst-empty { text-align: center; padding: 4rem 1rem; border: 1px dashed #d5dbe3; border-radius: 20px; }
.lst-empty p { font-size: 1.1rem; color: #5b6676; margin: 0 0 1.25rem; }

.lst-band { padding-bottom: 5rem; }

/* Pagina 404 a resurselor */
.res-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.res-404 > div { position: relative; z-index: 1; }
.res-404 .art-label { margin-bottom: .5rem; color: #9bcf6b; }
.res-404 h1 { font-family: var(--res-font-head); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0 0 .75rem; }
.res-404 p { font-size: 1.1rem; color: rgba(255,255,255,.7); margin: 0 0 1.75rem; }
.res-404 .art-btn { width: auto; }

/* ═══════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */

@media (max-width: 1240px) {
  .art-layout, .art-layout.no-toc { grid-template-columns: minmax(0, 720px) 280px; gap: 3rem; }
  .art-toc { display: none; }
  .art-toc-mobile { display: block; }
}

@media (max-width: 1024px) {
  .lst-grid { grid-template-columns: repeat(2, 1fr); }
  .lst-featured { grid-template-columns: 1fr; }
  .lst-featured-img img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .art-layout, .art-layout.no-toc { grid-template-columns: minmax(0, 720px); padding-top: 3rem; }
  .art-aside { display: none; }
  .art-band-inner { flex-direction: column; align-items: flex-start; }
  .art-mobile-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    position: fixed; left: 50%; bottom: 1rem; z-index: 998;
    transform: translate(-50%, 150%); opacity: 0;
    padding: .9rem 1.5rem; border-radius: 999px; background: var(--art-accent); color: #fff;
    font-weight: 700; text-decoration: none; white-space: nowrap;
    box-shadow: 0 12px 30px -8px rgba(17,24,39,.5);
    transition: transform .3s, opacity .3s;
  }
  .art-mobile-cta.is-visible { transform: translate(-50%, 0); opacity: 1; }
}

@media (max-width: 640px) {
  .art-hero { padding: calc(var(--art-nav) + 1.5rem) 1.25rem 3rem; }
  .art-hero.has-cover { padding-bottom: 5.5rem; }
  .art-hero-inner { text-align: left; }
  .art-breadcrumb, .art-tags { justify-content: flex-start; }
  .art-cover { margin-top: -4rem; padding: 0 1rem; }
  .art-cover img { border-radius: 16px; aspect-ratio: 3 / 2; }
  .art-layout, .art-layout.no-toc { padding: 2.25rem 1.25rem 3.5rem; }
  .art-content { font-size: 1.06rem; line-height: 1.75; }
  .art-content > p:first-child { font-size: 1.15rem; }
  .art-tldr { padding: 1.25rem 1.3rem; }
  .art-band { padding: 0 1rem; }
  .art-band-inner { padding: 2.25rem 1.5rem; border-radius: 20px; }
  .art-btn-lg { width: 100%; }
  .art-related { padding: 3.5rem 1.25rem 4rem; }
  .art-related-grid { grid-template-columns: 1fr; }
  .lst-hero { padding-bottom: 2.5rem; }
  .lst-filter-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -1.25rem; padding: 0 1.25rem .25rem; scrollbar-width: none; }
  .lst-filter-row::-webkit-scrollbar { display: none; }
  .lst-body { padding: 2.25rem 1.25rem 3.5rem; }
  .lst-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .lst-featured { margin-bottom: 2.75rem; border-radius: 18px; }
  .lst-featured-img img { aspect-ratio: 3 / 2; }
  .lst-band { padding-bottom: 3.5rem; }
}
