/* Newsletter: archivo y artículo */
.pagehead__aside .nl-subscribe { padding-right: 36px; }
.nl-subscribe h2 { margin-bottom: 12px; font-size: 1.875rem; }
.nl-subscribe p { margin-bottom: 0; }
.nl-subscribe form { margin-top: 18px; }
.nl-subscribe label { display: block; color: var(--ink); }
.nl-subscribe input { color: var(--ink); border-bottom-color: rgba(21,19,15,.5); }
.nl-subscribe .btn { width: 100%; margin-top: 18px; }
.nl-subscribe .form-alert { margin-bottom: 0; }

.nl-filters { border-bottom: 1px solid var(--border-soft); }
.nl-filters__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 22px; }
.nl-filters__cats { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 520px; }
.nl-filters__cats .tag { color: var(--text-heading); min-height: 44px; padding-block: 6px; }
.nl-filters__cats .tag span { font-size: .8125rem; font-weight: 700; opacity: .7; }
.nl-filters__cats .tag.tag--active { color: var(--ink-dark); }
.nl-filters__tools { display: none; gap: 16px; flex: 0 1 auto; }
html.js .nl-filters__tools { display: flex; }
.nl-filters__tools input,.nl-filters__tools select { width: 220px; min-height: 44px; padding: 8px 2px; border-bottom: 1px solid var(--text-muted); color: var(--text-heading); }
.nl-filters__tools select { width: 160px; background: transparent; }
.nl-filters__tools select option { color: var(--ink); background: var(--cream); }
.nl-filters__count { flex: 1 1 100%; margin: 0; color: var(--text-muted); font-size: .875rem; }

.nl-featured .pliego__copy h2 { margin-bottom: 20px; font-size: clamp(1.9rem,3.4vw,3rem); }
.nl-featured .pliego__copy h2 a { color: inherit; }
.nl-featured .pliego__copy .btn { margin-top: 10px; }
.nl-meta { margin: 0 0 14px; color: var(--terracotta); font: 700 .8125rem/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.nl-cover { box-shadow: 0 24px 60px rgba(10,9,8,.18); background: var(--ink-dark); }
.nl-cover img { object-fit: cover; }

.nl-ledger .ledger__row { grid-template-columns: 120px 112px minmax(0,1fr) 24px; gap: 28px; align-items: center; min-height: 120px; padding-block: 22px; content-visibility: auto; contain-intrinsic-size: auto 120px; }
.nl-row__thumb { width: 112px; height: 72px; overflow: hidden; background: var(--ink-dark); }
.nl-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nl-row__cat { display: block; margin-top: 8px; color: var(--bronze-light); font: 700 .8125rem/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.nl-row:hover .nl-row__cat { color: var(--terracotta); }
.nl-row__text h3 { margin-bottom: 6px; font-size: 1.375rem; }
.nl-row__text p { display: -webkit-box; margin: 0; overflow: hidden; font-size: .9375rem; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; opacity: .82; }
.nl-row[hidden],.nl-featured[hidden] { display: none; }
.nl-empty { padding-block: 60px; text-align: center; }
.nl-empty[hidden] { display: none; }
@media (max-width:1023px) { .pagehead__aside { grid-column: 1/-1; } }
@media (max-width:768px) {
  .nl-filters__tools { width: 100%; }
  .nl-filters__tools input { flex: 1; width: auto; }
  .nl-ledger .ledger__row { grid-template-columns: 1fr 24px; gap: 8px 14px; }
  .nl-ledger .ledger__row > b { grid-column: 1; }
  .nl-row__thumb { display: none; }
  .nl-row__text { grid-column: 1; }
  .nl-ledger .ledger__row > .icon { grid-column: 2; grid-row: 1/3; }
}

/* Artículo */
.read-progress { position: fixed; z-index: 1002; top: 0; left: 0; right: 0; height: 3px; background: var(--bronze); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.pagehead--article .pagehead__copy { grid-column: 1/span 10; }
.pagehead--article h1 { max-width: 22ch; font-size: clamp(2rem,4.6vw,3.875rem); line-height: 1.06; }
.pagehead--article .pagehead__lead { max-width: 62ch; }
.pagehead--article { min-height: 0; }
.article { padding-top: clamp(40px,6vw,88px); }
.article__cover { margin-bottom: clamp(40px,6vw,80px); }
.article__cover .nl-cover { max-width: 980px; margin-inline: auto; }
.article__grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; }
.article__rail { grid-column: 1/span 3; align-self: start; position: sticky; top: 110px; display: grid; gap: 4px; justify-items: start; }
.article__rail a,.article__rail button { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; color: var(--text-heading); background: transparent; font: 700 .9375rem/1.2 var(--font-text); cursor: pointer; }
.article__rail a:hover,.article__rail button:hover { color: var(--accent-text); }
.article__back .icon { transform: rotate(180deg); }
.article__copied { color: var(--accent-text); font-size: .875rem; font-weight: 700; }
.article__copied[hidden] { display: none; }
.article__main { grid-column: 4/span 7; }
.article-body { width: 100%; max-width: 68ch; margin: 0; font-size: 1.125rem; line-height: 1.75; color: var(--text-body); }
.article-body p { max-width: none; margin-bottom: 1.4em; }
.article-body > p:first-child { font-size: 1.3125rem; line-height: 1.6; color: var(--text-heading); }
.article-body h3 { margin: 2.2em 0 .7em; padding-top: .8em; border-top: 1px solid var(--border-soft); color: var(--text-heading); font-size: clamp(1.5rem,2.4vw,1.875rem); font-weight: 600; }
.article-body h2 { margin: 2em 0 .6em; font-size: clamp(1.75rem,3vw,2.25rem); }
.article-body ul,.article-body ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.article-body ul li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--bronze); }
.article-body ol { counter-reset: nl; }
.article-body ol li { position: relative; padding-left: 36px; margin-bottom: .55em; counter-increment: nl; }
.article-body ol li::before { content: counter(nl,decimal); position: absolute; left: 0; top: .15em; color: var(--accent-text); font: 700 .8125rem/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.article-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: .2em; }
.article-footer { max-width: 68ch; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border-soft); font-size: .9375rem; color: var(--text-muted); }
.print-only { display: none; }
.article-nav__row { grid-template-columns: 220px minmax(0,1fr) 24px; min-height: 104px; }
.article-nav__row h3 { font-size: clamp(1.25rem,2vw,1.75rem); }
.article__subscribe { max-width: 720px; margin-inline: auto; }
@media (max-width:1023px) {
  .article__rail { grid-column: 1/-1; position: static; grid-auto-flow: column; justify-content: start; gap: 8px 22px; flex-wrap: wrap; margin-bottom: 18px; }
  .article__main { grid-column: 1/-1; }
  .pagehead--article .pagehead__copy { grid-column: 1/-1; }
}
@media (max-width:768px) { .article-nav__row { grid-template-columns: 1fr 24px; } .article-nav__row > b { grid-column: 1/-1; } }
@media print { .read-progress { display: none; } }

.pliego__media .nl-cover, .pliego--wide .pliego__media .nl-cover, .article__cover .nl-cover { aspect-ratio: auto; background: transparent; }
