/* ═══ Каталог PDF и календарь выпусков (макеты «Каталог PDF», «Календарь выпусков») ═══ */
.ct-filters { display: flex; gap: 8px; padding: 16px 0; border-bottom: var(--pp-rule-head); overflow-x: auto; scrollbar-width: none; font-family: var(--pp-sans); }
.ct-filter { flex: none; display: inline-flex; gap: 8px; align-items: baseline; min-height: 40px; padding: 9px 14px; border: 1px solid var(--pp-ink); background: var(--pp-paper); color: var(--pp-ink); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ct-filter[aria-pressed="true"] { background: var(--pp-ink); color: var(--pp-paper); }
.ct-filter-n { font-family: var(--pp-mono); font-size: 12px; font-weight: 400; opacity: .8; }
.pp .ct-note { margin: 0; padding: 12px 0 0; font-family: var(--pp-sans); font-size: 14px; color: var(--pp-muted); }
.ct-grid { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 32px; }
.ct-card { display: flex; flex-direction: column; gap: 14px; border-top: var(--pp-rule-section); padding-top: 14px; min-width: 0; }
.ct-card-top { display: flex; gap: 16px; align-items: flex-start; }
.ct-mini { flex: 0 0 92px; aspect-ratio: 210 / 297; border: 1px solid var(--pp-ink); padding: 8px; display: flex; flex-direction: column; gap: 5px; background: var(--pp-paper); }
.ct-mini-brand { font-size: 9px; font-weight: 700; border-bottom: 1.5px solid var(--pp-ink); padding-bottom: 3px; }
.ct-mini-cat { font-family: var(--pp-sans); font-size: 6px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pp-signal); }
.ct-mini-title { font-size: 8.5px; font-weight: 700; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.ct-mini-fill { flex: 1; }
.ct-mini-date { font-family: var(--pp-mono); font-size: 6.5px; color: var(--pp-muted); }
.ct-card-head { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-card-meta { display: flex; gap: 4px 12px; flex-wrap: wrap; font-family: var(--pp-sans); font-size: 12px; color: var(--pp-muted); }
.ct-card-cat { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pp-signal); }
.pp .ct-card-title { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.pp .ct-card-lead { margin: 0; font-size: 16px; line-height: 1.55; color: var(--pp-body); text-wrap: pretty; }
.ct-card-actions { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; font-family: var(--pp-sans); font-size: 14px; font-weight: 600; margin-top: auto; }
.pp .ct-get { background: var(--pp-signal); color: var(--pp-paper); min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; }
.pp .ct-get:hover { background: var(--pp-signal-dark); color: var(--pp-paper); }
.ct-inside { border-bottom: 2px solid var(--pp-ink); padding: 2px 0; }
.pp .ct-article { color: var(--pp-muted); font-weight: 500; padding: 3px 0; margin: -3px 0; }   /* нажатие ≥24 px */
.ct-more-wrap { display: flex; justify-content: center; padding: 40px 0 0; }
.ct-more, .cl-more { min-height: 48px; padding: 0 28px; border: 1px solid var(--pp-ink); background: var(--pp-paper); font-family: var(--pp-sans); font-size: 15px; font-weight: 600; color: var(--pp-ink); cursor: pointer; }
.ct-cta { margin: 64px 0; background: var(--pp-ink); color: var(--pp-paper); padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.ct-cta-text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 360px; }
.ct-cta-label { font-family: var(--pp-sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pp-signal-on-ink); }
.ct-cta-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 700; text-wrap: balance; }
.pp .ct-cta-btn { background: var(--pp-signal); color: var(--pp-paper); padding: 0 26px; min-height: 48px; display: inline-flex; align-items: center; font-family: var(--pp-sans); font-size: 15px; font-weight: 600; }
.pp .ct-cta-btn:hover { background: var(--pp-paper); color: var(--pp-ink); }

.cl-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px 56px; padding: 32px 0 64px; align-items: start; }
.cl-main { min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.cl-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: var(--pp-rule-head); padding-top: 12px; margin-bottom: 4px; }
.cl-sec-head--strong { border-top: var(--pp-rule-section); margin-bottom: 8px; flex-wrap: wrap; }
.pp .cl-h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; }
.pp .cl-h2--rule { margin: 0 0 4px; border-top: var(--pp-rule-head); padding-top: 12px; }
.cl-sec-count { font-family: var(--pp-mono); font-size: 13px; color: var(--pp-muted); white-space: nowrap; }
.cl-plan { list-style: none; margin: 0; padding: 0; }
.cl-plan li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px 20px; align-items: baseline; padding: 16px 0; border-bottom: var(--pp-rule-item); }
.cl-idx { font-family: var(--pp-mono); font-size: 13px; color: var(--pp-muted); }
.cl-plan-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cl-plan-title { font-size: 20px; line-height: 1.25; font-weight: 600; text-wrap: balance; }
.cl-plan-dir { font-family: var(--pp-sans); font-size: 13px; color: var(--pp-muted); }
.cl-status { justify-self: end; font-family: var(--pp-sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; white-space: nowrap; background: var(--pp-paper); color: var(--pp-ink); border: 1px solid var(--pp-ink); }
.cl-status--work { background: var(--pp-signal); color: var(--pp-paper); border-color: var(--pp-signal); }
.pp .cl-suggest { margin: 14px 0 0; font-family: var(--pp-sans); font-size: 14px; line-height: 1.5; color: var(--pp-body); }
.pp .cl-suggest a { font-weight: 600; color: var(--pp-ink); border-bottom: 1px solid var(--pp-signal); }
.cl-rhythm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0 24px; }
.cl-rhythm-item { border-top: var(--pp-rule-item); padding: 12px 0 14px; display: flex; flex-direction: column; gap: 4px; }
.cl-rhythm-fmt { font-family: var(--pp-sans); font-size: 14px; font-weight: 600; }
.cl-rhythm-freq { font-size: 22px; font-weight: 700; color: var(--pp-signal); }
.cl-rhythm-desc { font-family: var(--pp-sans); font-size: 13px; line-height: 1.45; color: var(--pp-muted); }
.cl-dir { display: flex; gap: 8px; align-items: center; font-family: var(--pp-sans); font-size: 14px; color: var(--pp-muted); }
.cl-dir select { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--pp-ink); border: 1px solid var(--pp-ink); background: var(--pp-paper); min-height: 40px; padding: 0 10px; border-radius: 0; }
.cl-table { width: 100%; border-collapse: collapse; font-family: var(--pp-sans); font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.cl-caption { text-align: left; caption-side: bottom; padding-top: 10px; font-size: 13px; color: var(--pp-muted); }
.cl-table thead tr { border-bottom: var(--pp-rule-head); }
.cl-table th { text-align: left; font-weight: 600; padding: 8px 12px 8px 0; }
.cl-th-n { width: 44px; }
.cl-th-dir { width: 200px; }
.pp .cl-table .cl-th-date { text-align: right; padding: 8px 0; width: 96px; }
.cl-table tbody tr { border-bottom: var(--pp-rule-item); }
.cl-table td { padding: 11px 12px 11px 0; vertical-align: top; }
.cl-td-n { font-family: var(--pp-mono); font-size: 12px; color: var(--pp-muted); }
.cl-pub-title { font-family: var(--pp-serif); font-size: 17px; font-weight: 600; line-height: 1.3; }
.cl-pub-dir { display: none; margin-top: 4px; font-size: 12px; color: var(--pp-muted); }
.cl-td-dir { color: var(--pp-muted); }
.pp .cl-table .cl-td-date { padding: 11px 0; text-align: right; color: var(--pp-muted); white-space: nowrap; }
.cl-more { margin-top: 20px; padding: 0 24px; }
.cl-side { min-width: 0; display: flex; flex-direction: column; gap: 32px; font-family: var(--pp-sans); position: sticky; top: 16px; }
.cl-sub-title { font-size: 22px; line-height: 1.2; font-weight: 700; }
.cl-sub-text { font-size: 14px; line-height: 1.5; color: #d4d4d4; }
.cl-dir-link { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: var(--pp-rule-item); font-size: 15px; }

@media (max-width: 1023px) {
  .cl-body { grid-template-columns: minmax(0, 1fr); }
  .cl-side { position: static; }
}
@media (max-width: 759px) {
  .cl-plan li { grid-template-columns: 28px minmax(0, 1fr); }
  .cl-status { justify-self: start; grid-column: 2; }
  .cl-th-dir, .cl-td-dir, .pp .cl-table .cl-th-date, .pp .cl-table .cl-td-date { display: none; }
  .cl-pub-dir { display: block; }
}

/* ═══ 404 (макет «404») ═══ */
.nf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 64px; padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); align-items: start; }
.nf-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nf-code { font-family: var(--pp-mono); font-size: 14px; color: var(--pp-signal); }
.pp .nf-h1 { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; color: var(--pp-ink); }
.pp .nf-lead { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--pp-body); max-width: 560px; }
.nf-actions { display: flex; gap: 12px 22px; flex-wrap: wrap; align-items: center; font-family: var(--pp-sans); font-size: 15px; font-weight: 600; }
.pp .nf-home { background: var(--pp-signal); color: var(--pp-paper); min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; }
.pp .nf-home:hover { background: var(--pp-signal-dark); color: var(--pp-paper); }
.nf-all { border-bottom: 2px solid var(--pp-ink); padding: 3px 0; }
.nf-fresh { border-top: var(--pp-rule-section); padding-top: 10px; display: flex; flex-direction: column; min-width: 0; }
.pp .nf-fresh-h { margin: 0 0 6px; font-family: var(--pp-sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.nf-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: var(--pp-rule-item); font-size: 21px; font-weight: 700; line-height: 1.2; }
.nf-item:last-child { border-bottom: var(--pp-rule-item); }
.nf-item time { font-family: var(--pp-sans); font-size: 13px; font-weight: 400; color: var(--pp-muted); }
