/* Editorial method layer: scoped to method, data and transparency pages. */
:root {
  --tn-method-measure: 74rem;
  --tn-method-reading: 46rem;
}

body:has(.method-editorial),
body:has(.transparency-directory),
body:has(.audit-manual),
body:has(.technical-audit-page),
body:has(.scope-page),
body:has(.publications-main) {
  background: var(--tn-paper, #f8f8f5);
}

.method-editorial,
.transparency-directory,
.audit-manual,
.technical-audit-page,
.scope-page,
.publications-main { max-width: var(--tn-method-measure); margin: 0 auto; }

.method-editorial .page-title,
.transparency-directory .page-title,
.audit-manual .page-title,
.technical-audit-page .page-title,
.scope-page .page-title,
.publications-main .page-title { max-width: var(--tn-method-reading); text-wrap: balance; }

.method-editorial p,
.transparency-directory p,
.audit-manual p,
.technical-audit-page p,
.scope-page p,
.publications-main p { max-width: var(--tn-method-reading); }

.method-editorial section,
.transparency-directory section,
.audit-manual section,
.technical-audit-page section,
.scope-page section,
.publications-main section { border-top: 1px solid var(--tn-line-new, #dedbd2); padding-block: clamp(2rem, 5vw, 4.5rem); }

.method-editorial h2,
.transparency-directory h2,
.audit-manual h2,
.technical-audit-page h2,
.scope-page h2,
.publications-main h2 { max-width: 42rem; margin-bottom: .8rem; }

.method-editorial h3,
.transparency-directory h3,
.audit-manual h3,
.technical-audit-page h3,
.scope-page h3,
.publications-main h3 { color: var(--tn-ink-new, #182126); }

.method-editorial .data-table,
.transparency-directory .data-table,
.audit-manual .data-table,
.technical-audit-page .data-table,
.scope-page .data-table,
.publications-main .data-table { width: 100%; border-collapse: collapse; background: var(--tn-paper-deep, #fff); }

.method-editorial .data-table th,
.method-editorial .data-table td,
.transparency-directory .data-table th,
.transparency-directory .data-table td,
.audit-manual .data-table th,
.audit-manual .data-table td,
.technical-audit-page .data-table th,
.technical-audit-page .data-table td,
.scope-page .data-table th,
.scope-page .data-table td,
.publications-main .data-table th,
.publications-main .data-table td { border-bottom: 1px solid var(--tn-line-new, #dedbd2); padding: .9rem 1rem; text-align: left; vertical-align: top; }

.method-editorial .data-table th,
.transparency-directory .data-table th,
.audit-manual .data-table th,
.technical-audit-page .data-table th,
.scope-page .data-table th,
.publications-main .data-table th { color: var(--tn-gold-ink, #77633e); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.method-editorial .data-table tr:last-child td,
.transparency-directory .data-table tr:last-child td,
.audit-manual .data-table tr:last-child td,
.technical-audit-page .data-table tr:last-child td,
.scope-page .data-table tr:last-child td,
.publications-main .data-table tr:last-child td { border-bottom: 0; }

.method-editorial a,
.transparency-directory a,
.audit-manual a,
.technical-audit-page a,
.scope-page a,
.publications-main a { text-underline-offset: .18em; }

.method-editorial .tn-card-grid,
.transparency-directory .tn-card-grid,
.audit-manual .tn-card-grid,
.technical-audit-page .tn-card-grid,
.scope-page .tn-card-grid,
.publications-main .tn-card-grid { gap: 0; }

.method-editorial .tn-card,
.transparency-directory .tn-card,
.audit-manual .tn-card,
.technical-audit-page .tn-card,
.scope-page .tn-card,
.publications-main .tn-card { border-radius: 0; border: 0; border-top: 1px solid var(--tn-line-new, #dedbd2); background: transparent; padding: 1.35rem 0; box-shadow: none; }

@media (max-width: 720px) {
  .method-editorial .data-table,
  .transparency-directory .data-table,
  .audit-manual .data-table,
  .technical-audit-page .data-table,
  .scope-page .data-table,
  .publications-main .data-table { display: block; overflow-x: auto; }

  .method-editorial .data-table th,
  .method-editorial .data-table td,
  .transparency-directory .data-table th,
  .transparency-directory .data-table td,
  .audit-manual .data-table th,
  .audit-manual .data-table td,
  .technical-audit-page .data-table th,
  .technical-audit-page .data-table td,
  .scope-page .data-table th,
  .scope-page .data-table td,
  .publications-main .data-table th,
  .publications-main .data-table td { min-width: 10rem; }
}
