/* „De ce mantrailing?” (/ro/de-ce-mantrailing), redesenată 2026-11-21 după macheta din
   claude/de-ce-mantrailing-redesign-2026-11-21/ (macheta.css → aceleași culori, proporții și spațieri).
   Totul e izolat în .dcm. Selectorii au două clase (.dcm .dcm__x) fiindcă tema „mad” din style.css
   are reguli (0,1,1) pe h1/h2/p/a/li și (0,1,3) pe tabele, care bat o clasă simplă; foaia asta se
   încarcă înaintea bundle-ului temei, deci la egalitate pierde.
   Partialele comune „Citește și” / „Vezi și” (markup .dtb-*) sunt restilizate doar aici, prin
   .dcm .dcm__resources .dtb-*. Pagina nu are JavaScript. */
@font-face {
  font-family: 'Inter Display';
  src: url('/assets/fonts/inter/Inter-instructors-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

.dcm {
  --dcm-navy: #0a3a71;
  --dcm-deep: #0b2b4c;
  --dcm-red: #c83021;
  --dcm-ink: #233345;
  --dcm-mist: #f2f5f8;
  --dcm-line: #c9d4df;
  --dcm-serif: Georgia, 'Times New Roman', serif;
  --dcm-gutter: clamp(1.25rem, 5.5vw, 5.5rem);
  --dcm-gap: clamp(2.75rem, 7vw, 7.5rem);
  background: #fff;
  color: var(--dcm-ink);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
.dcm *, .dcm *::before, .dcm *::after { box-sizing: border-box; }
.dcm img { display: block; max-width: 100%; }
.dcm .dcm__nowrap { white-space: nowrap; }

/* Tema șterge conturul de focus cu !important. */
.dcm a:focus-visible { outline: 3px solid currentColor !important; outline-offset: 4px; }

.dcm .dcm__wrap { width: min(calc(100% - 2 * var(--dcm-gutter)), 78rem); margin-inline: auto; }
.dcm .dcm__block { padding-block: clamp(3.25rem, 6.6vw, 6.5rem); }
.dcm .dcm__pair { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--dcm-gap); align-items: start; }
.dcm .dcm__pair--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

/* ---------- tipografie ---------- */
.dcm .dcm__h2 {
  margin: 0; color: var(--dcm-navy); font-family: var(--dcm-serif); font-size: clamp(2.2rem, 4.1vw, 4rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; scroll-margin-top: 1.5rem;
}
.dcm .dcm__eyebrow {
  display: flex; align-items: center; gap: .75rem; margin: 0; color: var(--dcm-navy);
  font-size: .85rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
}
.dcm .dcm__eyebrow::before { content: ""; flex: none; width: 2.4rem; height: 3px; background: var(--dcm-red); }

.dcm .dcm__prose { max-width: 64ch; }
.dcm .dcm__prose p { margin: 0; color: inherit; line-height: inherit; }
.dcm .dcm__prose p + p { margin-top: 1.12em; }
.dcm .dcm__prose a {
  color: var(--dcm-navy); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .19em; transition: color .15s ease;
}
.dcm .dcm__prose a:hover { color: var(--dcm-red); text-decoration-thickness: 2px; }

/* ---------- breadcrumb ---------- */
.dcm .dcm__crumbline { background: #fff; border-bottom: 1px solid var(--dcm-line); }
.dcm .dcm__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .72rem; padding-block: .85rem; color: #46596a; font-size: .825rem; line-height: 1.65; }
.dcm .dcm__crumbs a { color: var(--dcm-navy); font-size: .77rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; }
.dcm .dcm__crumbs a:hover { color: var(--dcm-red); text-decoration: underline; }

/* ---------- hero ---------- */
.dcm .dcm__hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dcm-mist); }
.dcm .dcm__hero::before {
  content: ""; position: absolute; inset: 34% 28% -40% 12%; z-index: -1; opacity: .65;
  background: repeating-radial-gradient(ellipse at 70% 96%, transparent 0 23px, #dae3eb 24px 25px, transparent 26px 40px);
  -webkit-mask-image: linear-gradient(115deg, transparent 9%, #000 88%);
  mask-image: linear-gradient(115deg, transparent 9%, #000 88%);
  transform: rotate(-12deg);
}
.dcm .dcm__hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center;
  gap: clamp(2rem, 3.5vw, 4rem); padding-block: clamp(2rem, 3.8vw, 4.25rem);
}
.dcm .dcm__hero-copy { padding-block: 1.1rem; }
.dcm .dcm__title {
  margin: 1.5rem 0; color: var(--dcm-navy); font-family: 'Inter Display', 'Inter', Arial, sans-serif;
  font-size: clamp(4rem, 6.9vw, 6.6rem); font-weight: 800; line-height: .98; letter-spacing: -.075em; text-wrap: balance;
}
.dcm .dcm__title-em {
  display: block; font-family: var(--dcm-serif); font-size: 1.025em; font-style: italic; font-weight: 500;
  line-height: .99; letter-spacing: -.065em;
}
.dcm .dcm__lead { margin: 0; max-width: 37ch; font-size: clamp(1.08rem, 1.42vw, 1.35rem); line-height: 1.57; }
.dcm .dcm__hero-photo { position: relative; align-self: stretch; min-height: clamp(23rem, 31vw, 31rem); }
.dcm .dcm__hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 52%; }
.dcm .dcm__hero-photo::before, .dcm .dcm__hero-photo::after { content: ""; position: absolute; z-index: 1; width: 1.85rem; height: 1.85rem; pointer-events: none; }
.dcm .dcm__hero-photo::before { top: -7px; left: -7px; border-top: 2px solid var(--dcm-red); border-left: 2px solid var(--dcm-red); }
.dcm .dcm__hero-photo::after { right: -7px; bottom: -7px; border-right: 2px solid var(--dcm-red); border-bottom: 2px solid var(--dcm-red); }

/* ---------- povestea ---------- */
.dcm .dcm__story { padding-block: clamp(3.5rem, 6.8vw, 6.5rem); background: var(--dcm-deep); color: #f2f5f8; }
.dcm .dcm__story-title { padding-top: .2rem; }
.dcm .dcm__story .dcm__h2 { max-width: 14ch; color: #fff; }
.dcm .dcm__story .dcm__prose a { color: #fff; }
.dcm .dcm__trace { position: relative; width: 11rem; height: 3.2rem; margin-top: 2.6rem; color: #96b6d0; }
.dcm .dcm__trace i { display: block; position: absolute; width: 36%; border-top: 2px dashed currentColor; }
.dcm .dcm__trace i:nth-child(1) { top: .6rem; }
.dcm .dcm__trace i:nth-child(2) { top: 1.6rem; left: 33%; width: 23%; transform: rotate(46deg); }
.dcm .dcm__trace i:nth-child(3) { top: 2.5rem; left: 53%; }
.dcm .dcm__trace::before, .dcm .dcm__trace::after { content: ""; position: absolute; z-index: 1; width: .65rem; height: .65rem; border: 2px solid #b8cfe2; border-radius: 50%; background: var(--dcm-deep); }
.dcm .dcm__trace::before { top: .32rem; left: 0; }
.dcm .dcm__trace::after { top: 2.19rem; left: 88%; border-color: #ff8a70; background: #ff8a70; }
.dcm .dcm__prose .dcm__closing {
  margin-top: 2rem; padding-left: 1.35rem; border-left: .2rem solid #ff8a70; color: #fff;
  font-family: var(--dcm-serif); font-size: clamp(1.45rem, 2vw, 2rem); font-style: italic; font-weight: 500; line-height: 1.33;
}

/* ---------- cum găsește ---------- */
.dcm .dcm__science .dcm__h2 { max-width: 20ch; margin-bottom: clamp(2rem, 3.6vw, 3.3rem); }
.dcm .dcm__sample { aspect-ratio: 1.2; padding: 1rem; background: #edf0ed; }
.dcm .dcm__sample img, .dcm .dcm__hobby-image img { width: 100%; height: 100%; object-fit: cover; }
.dcm .dcm__prose .dcm__figure { padding-inline: .15em; background: #e8eff6; color: var(--dcm-navy); font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- hobby + tabel ---------- */
.dcm .dcm__hobby { background: var(--dcm-mist); }
.dcm .dcm__hobby .dcm__prose { margin-top: 1.65rem; }
.dcm .dcm__hobby-image { aspect-ratio: 1.4; }
.dcm .dcm__terrain { margin-top: 2.9rem; }
.dcm .dcm__terrain-lead { margin: 0 0 .85rem; color: var(--dcm-navy); font-weight: 700; }
.dcm .dcm__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: auto; font-size: 1.02rem; text-align: left; overflow: visible; }
.dcm .dcm__table tr { border: 0; }
.dcm .dcm__table th, .dcm .dcm__table td { padding: .95rem 1.2rem; border: 0; font-family: inherit; font-size: inherit; line-height: 1.65; vertical-align: top; overflow-wrap: normal; }
.dcm .dcm__table th { background: var(--dcm-navy); color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.4; }
.dcm .dcm__table td { border-bottom: 1px solid var(--dcm-line); background: #fff; color: var(--dcm-ink); }
.dcm .dcm__table tr:hover td { background: #fff; }
.dcm .dcm__table td:first-child { width: 36%; color: var(--dcm-navy); }
.dcm .dcm__table strong { font-weight: 700; }

/* ---------- trei rânduri editoriale ---------- */
.dcm .dcm__chapter {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--dcm-gap);
  padding-block: 2.4rem; border-top: 1px solid var(--dcm-line);
}
.dcm .dcm__chapter:first-child { border-top: 3px solid var(--dcm-navy); }
.dcm .dcm__chapter:last-child { padding-bottom: 0; }
.dcm .dcm__h2--chapter { font-size: clamp(2.1rem, 3.25vw, 3.2rem); }

/* ---------- întrebări ---------- */
.dcm .dcm__faq { background: #ecf1f6; }
.dcm .dcm__h2--faq { margin-top: 1.2rem; }
.dcm .dcm__qa { padding-block: 1.4rem; border-top: 1px solid #bdccda; }
.dcm .dcm__qa:first-child { border-top: 3px solid var(--dcm-navy); }
.dcm .dcm__qa:last-child { padding-bottom: 0; }
.dcm .dcm__q { margin: 0 0 .5rem; color: var(--dcm-navy); font-family: inherit; font-size: 1.23rem; font-weight: 700; line-height: 1.34; letter-spacing: -.01em; text-wrap: balance; }
.dcm .dcm__a { margin: 0; }

/* ---------- „Citește și” + „Vezi și” (partialele comune, markup .dtb-*) ----------
   Spațierea verticală stă pe secțiuni, nu pe container: dacă lipsesc amândouă, nu rămâne o bandă goală. */
.dcm .dcm__resources { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(2.8rem, 6vw, 6rem); align-items: start; }
.dcm .dcm__resources .dtb-section { padding: clamp(3.25rem, 6.6vw, 6.5rem) 0; background: none; }
.dcm .dcm__resources .dtb-section:only-child { grid-column: 1 / -1; }
.dcm .dcm__resources .dtb-wrap { width: auto; max-width: none; margin: 0; padding: 0; }
.dcm .dcm__resources .dtb-section-head { max-width: none; margin: 0; }
.dcm .dcm__resources .dtb-h2 {
  margin: 0 0 1.05rem; color: var(--dcm-navy); font-family: var(--dcm-serif); font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance;
}
.dcm .dcm__resources .dtb-prose { max-width: none; }
.dcm .dcm__resources .dtb-prose p { margin: 0; color: var(--dcm-ink); line-height: 1.65; }
.dcm .dcm__resources .dtb-prose ul { display: block; margin: 1rem 0 0; padding: 0; list-style: none; }
.dcm .dcm__resources .dtb-prose li { display: block; margin: 0; padding: 0; border-top: 1px solid var(--dcm-line); color: inherit; line-height: 1.65; }
.dcm .dcm__resources .dtb-prose li::before { content: none; }
.dcm .dcm__resources .dtb-prose li .icon { display: none; }
.dcm .dcm__resources .dtb-prose li a {
  display: block; padding-block: .75rem; border: 0; color: var(--dcm-navy); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .19em; transition: color .15s ease;
}
.dcm .dcm__resources .dtb-prose li a:hover { color: var(--dcm-red); text-decoration-thickness: 2px; }
.dcm .dcm__resources .dtb-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.dcm .dcm__resources .dtb-chips a {
  display: inline-flex; align-items: center; padding: .63rem .85rem; border: 1px solid var(--dcm-line); border-radius: .4rem;
  background: var(--dcm-mist); color: var(--dcm-navy); font-size: .95rem; font-weight: 600; line-height: 1.4; text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.dcm .dcm__resources .dtb-chips a:hover { border-color: var(--dcm-navy); color: var(--dcm-red); }

/* ---------- CTA ---------- */
.dcm .dcm__cta { position: relative; isolation: isolate; overflow: hidden; background: var(--dcm-deep); color: #fff; }
.dcm .dcm__cta-image { position: absolute; inset: 0; z-index: -1; }
.dcm .dcm__cta-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.dcm .dcm__cta-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #082340fa 10%, #092744f2 37%, #0b284a33 78%); }
.dcm .dcm__cta-inner { padding-block: clamp(3.5rem, 6vw, 6rem); }
.dcm .dcm__cta-copy { max-width: 33rem; }
.dcm .dcm__cta-title { color: #fff; }
.dcm .dcm__cta-lead { margin: 1.25rem 0 1.55rem; max-width: 44ch; }
.dcm .dcm__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.dcm .dcm__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.25rem;
  border: 1px solid transparent; border-radius: .25rem; color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.3;
  text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease;
}
.dcm .dcm__btn:hover { color: #fff; }
.dcm .dcm__btn--primary { border-color: var(--dcm-red); background: var(--dcm-red); }
.dcm .dcm__btn--primary:hover { border-color: #ad2418; background: #ad2418; }
.dcm .dcm__btn--outline { border-color: #c7d6e2; }
.dcm .dcm__btn--outline:hover { background: #ffffff24; }
.dcm .dcm__cta a:focus-visible { outline-color: #fff !important; }

/* ---------- tabletă și telefon ---------- */
@media (max-width: 52rem) {
  .dcm .dcm__hero-inner, .dcm .dcm__pair, .dcm .dcm__pair--even, .dcm .dcm__chapter, .dcm .dcm__resources { grid-template-columns: minmax(0, 1fr); }
  .dcm .dcm__hero-inner { gap: 1.65rem; padding-block: 2rem; }
  .dcm .dcm__hero-copy { padding: 0; }
  .dcm .dcm__title { margin: 1.05rem 0; font-size: clamp(3.6rem, 10.5vw, 5.6rem); }
  .dcm .dcm__title-em { display: inline; }
  .dcm .dcm__lead { max-width: 52ch; }
  .dcm .dcm__hero-photo { min-height: 0; aspect-ratio: 1.85; }
  .dcm .dcm__pair { gap: 1.9rem; }
  .dcm .dcm__story .dcm__h2 { max-width: 22ch; }
  .dcm .dcm__trace { display: none; }
  .dcm .dcm__sample { width: 100%; max-width: 27rem; aspect-ratio: 1.8; }
  .dcm .dcm__sample img { object-position: 50% 52%; }
  .dcm .dcm__hobby-image { aspect-ratio: 1.85; }
  .dcm .dcm__chapter { gap: 1rem; padding-block: 1.9rem; }
  .dcm .dcm__resources .dtb-section:first-child:not(:only-child) { padding-bottom: 2.2rem; }
  .dcm .dcm__resources .dtb-section + .dtb-section { padding-top: 0; }
  .dcm .dcm__cta-image::after { background: linear-gradient(90deg, #082340f5 0%, #092744db 66%, #0b284aaa); }
}
@media (max-width: 32rem) {
  .dcm { font-size: 1rem; }
  .dcm .dcm__title { font-size: clamp(2.9rem, 15vw, 3.6rem); }
  .dcm .dcm__title-em { display: block; }
  .dcm .dcm__h2 { font-size: 2.15rem; }
  .dcm .dcm__h2--chapter { font-size: 2.1rem; }
  .dcm .dcm__hero-photo { aspect-ratio: 1.58; }
  .dcm .dcm__eyebrow { font-size: .77rem; }
  .dcm .dcm__hero-photo::before, .dcm .dcm__hero-photo::after { width: 1.25rem; height: 1.25rem; }
  .dcm .dcm__terrain { margin-top: 2rem; }
  .dcm .dcm__table { font-size: 1rem; }
  .dcm .dcm__table th, .dcm .dcm__table td { padding: .75rem .65rem; }
  .dcm .dcm__btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .dcm a { transition: none !important; }
}
