.editorial-page{padding-top:48px}.editorial-hero{min-height:310px;border-radius:32px;padding:56px;display:flex;align-items:flex-end;justify-content:space-between;gap:32px;background:linear-gradient(135deg,#e6f1f1 0%,#f6f9fb 58%,#dae7f0 100%);overflow:hidden;margin-bottom:36px}.editorial-hero--science{background:linear-gradient(135deg,#d8efea 0%,#f4f8f7 55%,#dbe8f0 100%)}.editorial-hero--social{background:linear-gradient(135deg,#f0eee4 0%,#f8f8f5 55%,#dcebee 100%)}.editorial-hero>div{min-width:0}.editorial-hero h1{max-width:900px;margin:10px 0 18px;color:#26333c;font-size:clamp(38px,4.4vw,68px);line-height:1.02;font-weight:500;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.editorial-hero p{max-width:760px;color:#5a6e7c;font-size:18px;line-height:1.5}.editorial-hero__mark{font-size:18px;color:#009294;white-space:nowrap}.editorial-kicker{display:inline-flex;align-items:center;gap:8px;color:#009294;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}.editorial-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#85baaf}.editorial-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 28px}.editorial-filter{display:flex;gap:8px;flex-wrap:wrap}.editorial-filter button,.editorial-pager button,.thanks-nav button{appearance:none;border:1px solid #d8e3e7;background:#fff;color:#40515c;border-radius:100px;padding:10px 16px;cursor:pointer;font:inherit}.editorial-filter button.active{background:#009294;color:#fff;border-color:#009294}.editorial-search{display:grid;gap:6px;color:#6a7a84;font-size:12px}.editorial-search input{width:min(340px,45vw);border:1px solid #d6e0e5;border-radius:14px;padding:12px 14px;background:#fff;font:inherit}.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.editorial-grid--news{grid-template-columns:repeat(3,minmax(0,1fr))}.editorial-card{min-width:0;border-radius:24px;background:#f5f8fa;overflow:hidden;display:flex;flex-direction:column}.editorial-card__media{display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;background:#e6edf0;cursor:zoom-in;overflow:hidden}.editorial-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.editorial-card:hover .editorial-card__media img{transform:scale(1.025)}.editorial-card__placeholder{width:100%;height:100%;background:linear-gradient(135deg,#dce8ea,#edf3f5)}.editorial-card__body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}.editorial-card__meta{color:#009294;font-size:13px;line-height:1.35}.editorial-card h3{font-size:22px;line-height:1.18;font-weight:500;color:#26333c;margin:0}.editorial-card p{color:#5a6e7c;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.editorial-card__link{color:#00878a;text-decoration:none;font-weight:500;margin-top:auto;padding-top:10px}.editorial-card__link--modal{appearance:none;background:none;border:0;font:inherit;font-weight:500;color:#00878a;cursor:pointer;text-align:left;margin-top:auto;padding:10px 0 0}.editorial-loading,.editorial-empty{padding:40px;border-radius:20px;background:#f5f8fa;color:#647681;text-align:center}.editorial-pager{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:30px}.editorial-pager button:disabled{opacity:.4;cursor:default}.editorial-crosslink{margin-top:48px;padding:30px 34px;border-radius:24px;background:#edf5f5;display:flex;align-items:center;justify-content:space-between;gap:24px}.editorial-crosslink h2{margin:8px 0 6px;font-size:30px;color:#26333c}.editorial-crosslink p{margin:0;color:#5a6e7c}.news-widget__head,.thanks-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.news-widget__head .section-title,.thanks-head .section-title{margin:8px 0 0}.thanks-stage{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);gap:42px;align-items:center;padding:28px;border-radius:32px;background:linear-gradient(135deg,#eef6f5,#f5f8fa)}.thanks-media{border:0;padding:0;background:#fff;border-radius:20px;overflow:hidden;min-height:420px;cursor:zoom-in;box-shadow:0 12px 32px rgba(39,45,49,.08)}.thanks-media img{display:block;width:100%;height:100%;max-height:560px;object-fit:contain}.thanks-copy{padding:20px 30px 20px 0}.thanks-copy h3{font-size:clamp(28px,3vw,42px);line-height:1.12;font-weight:500;color:#26333c;margin:12px 0 18px}.thanks-copy p{font-size:17px;line-height:1.55;color:#5a6e7c}.thanks-meta{color:#009294;font-size:14px}.thanks-nav{display:flex;align-items:center;gap:8px}.thanks-nav button{width:44px;height:44px;padding:0}.thanks-nav span{min-width:54px;text-align:center;color:#6a7a84}.impact-showcase{display:grid;grid-template-columns:1fr 1fr;gap:24px}.impact-panel{padding:30px;border-radius:28px;background:#f3f7fa}.impact-panel--science{background:linear-gradient(180deg,#dcefea,#f7fafa)}.impact-panel--social{background:linear-gradient(180deg,#e9f1f5,#f8fafb)}.impact-panel__head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px}.impact-panel__head h2{font-size:32px;line-height:1.1;margin:8px 0 0;color:#26333c}.impact-panel [data-editorial-highlights]{display:grid;grid-template-columns:1fr;gap:14px}.impact-panel .editorial-card{background:rgba(255,255,255,.72)}.impact-panel .editorial-card__media{aspect-ratio:2/1}.editorial-lightbox{border:0;padding:0;background:transparent;max-width:min(1200px,94vw);width:100%;color:#26333c}.editorial-lightbox::backdrop{background:rgba(22,29,34,.76);backdrop-filter:blur(5px)}.editorial-lightbox__inner{position:relative;display:block;background:#fff;border-radius:28px;overflow:auto;max-height:90vh}.editorial-lightbox__inner>img{display:block;width:100%;height:auto;max-height:min(52vh,520px);object-fit:contain;background:#eef2f4}.editorial-lightbox__body{padding:32px 40px 42px;max-width:none}.editorial-lightbox__inner h3{font-size:clamp(24px,2.4vw,34px);line-height:1.15;margin:12px 0 18px}.editorial-lightbox__text p{color:#4f616c;font-size:17px;line-height:1.68;margin:0 0 15px}.editorial-lightbox__text p:last-child{margin-bottom:0}.editorial-lightbox__meta{color:#009294;font-size:13px}.editorial-lightbox__close{position:sticky;float:right;top:14px;margin:0 14px 0 0;width:42px;height:42px;border-radius:50%;border:0;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.1);font-size:26px;z-index:2;cursor:pointer}.editorial-detail{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:42px;align-items:start}.editorial-detail>img{width:100%;max-height:640px;object-fit:contain;border-radius:26px;background:#f1f5f6}.editorial-detail h1{font-size:clamp(34px,4vw,58px);line-height:1.05;margin:14px 0 22px}.editorial-detail__text{white-space:pre-wrap;color:#4f616c;line-height:1.65;font-size:17px}
@media(max-width:1100px){.editorial-grid--news{grid-template-columns:repeat(2,minmax(0,1fr))}.thanks-stage{grid-template-columns:.9fr 1.1fr;gap:24px}.thanks-media{min-height:340px}.impact-showcase{grid-template-columns:1fr}}
@media(max-width:720px){.editorial-page{padding-top:20px}.editorial-hero{min-height:260px;padding:30px 22px;border-radius:24px;align-items:flex-start;flex-direction:column}.editorial-hero h1{font-size:38px}.editorial-hero p{font-size:16px}.editorial-toolbar{align-items:stretch;flex-direction:column}.editorial-search input{width:100%}.editorial-grid,.editorial-grid--news{grid-template-columns:1fr}.thanks-head,.news-widget__head{align-items:flex-start;flex-direction:column}.thanks-stage{grid-template-columns:1fr;padding:16px;gap:12px}.thanks-media{min-height:300px}.thanks-copy{padding:18px 8px}.thanks-copy h3{font-size:27px}.impact-panel{padding:20px;border-radius:22px}.impact-panel__head{align-items:flex-start;flex-direction:column}.editorial-crosslink{align-items:flex-start;flex-direction:column;padding:24px}.editorial-lightbox__body{padding:20px 20px 28px;max-width:none}.editorial-lightbox__inner h3{font-size:23px}.editorial-lightbox__text p{font-size:16px;line-height:1.6}.editorial-detail{grid-template-columns:1fr}.editorial-filter{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.editorial-filter button{white-space:nowrap}}
/* --- Фотогалерея страницы «Медиа» (/media/) --- */
.section-head{margin:0 0 28px;max-width:840px}.section-head h2{margin:0 0 10px;font-size:clamp(30px,3.2vw,44px);line-height:1.08;font-weight:500;color:#26333c}.section-head p{margin:0;color:#5a6e7c;font-size:17px;line-height:1.5}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.media-card{position:relative;margin:0;border-radius:24px;overflow:hidden;background:#e6edf0;aspect-ratio:4/3;cursor:zoom-in;outline-offset:3px;min-width:0}
.media-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.media-card:hover img,.media-card:focus-visible img{transform:scale(1.03)}
.media-card figcaption{position:absolute;left:0;right:0;bottom:0;padding:38px 20px 16px;color:#fff;font-size:15px;line-height:1.3;background:linear-gradient(0deg,rgba(9,26,32,.8),rgba(9,26,32,0))}
.editorial-lightbox__actions{margin-top:24px}.editorial-lightbox__meta:empty{display:none}
@media(max-width:1100px){.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.section-head{margin-bottom:20px}.media-grid{grid-template-columns:1fr;gap:14px}.media-card{border-radius:20px}}
/* === 24.09.2026 (t_eb706908): карточка пресс-центра — ОДИН компонент на четырёх страницах.
   Замер 24.09 (docs/audit/media-1280-20260924/REPORT.md §2) нашёл три реализации одного блока:
   /news/ (`.news-list .news-card`) 387 r24 #fff, шаг сетки 20, дата — плашка #85BAAF h22 r4;
   /science/ /social/ /media/ (`.editorial-card`) 385.66, шаг 22, фон #F5F8FA, дата — текст 13/17.55.
   Здесь `.editorial-card` приведён к канонным значениям `.news-list .news-card` (audit-fixes.css;
   решение владельца 11.09 «вариант Б»: белая карточка, рамка 1px #e3edf0, мягкая тень, плашка даты).
   Селектор привязан к `.editorial-page` — каркас всех четырёх страниц пресс-центра; карточки
   виджетов главной (`[data-editorial-highlights]` в `.impact-showcase`, `[data-news-widget]`)
   остаются прежними. Значения обязаны совпадать с `.news-list .news-card` — при правке одного
   менять оба (гейт tests/editorial_contract.py, раздел «карточка пресс-центра»). */
.editorial-page .editorial-card{height:100%;background:#fff;border:1px solid #e3edf0;border-radius:24px;box-shadow:0 10px 28px rgba(12,38,48,.06);transition:box-shadow .2s ease,transform .2s ease}
.editorial-page .editorial-card:hover{box-shadow:0 16px 40px rgba(12,38,48,.12);transform:translateY(-2px)}
.editorial-page .editorial-card__body{padding:20px 24px 24px;gap:12px}
.editorial-page .editorial-card__labels{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.editorial-page .editorial-card__date{align-self:flex-start;display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:4px;background:#85baaf;color:#fff;font-size:10px;line-height:22px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}
.editorial-page .editorial-card h3{font-size:16px;line-height:18px;font-weight:400;color:#272d31}
.editorial-page .editorial-card p{font-size:15px;line-height:20px;-webkit-line-clamp:3}
.editorial-page .editorial-card__link,.editorial-page .editorial-card__link--modal{color:#009294;font-size:14px;line-height:16px;font-weight:400;text-decoration:underline;text-underline-offset:3px;padding-top:0}
.editorial-page .editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:1023px){.editorial-page .editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
  .editorial-page .editorial-grid{grid-template-columns:1fr;gap:16px}
  /* анонс в 4 строки — как у карточки /news/ (responsive.css: `.news-card__intro`
     с !important именно в блоке max-width:767px). Без этой строки на телефоне
     у /news/ 4 строки, у остальных трёх страниц — 3. */
  .editorial-page .editorial-card p{-webkit-line-clamp:4}
  .editorial-page .editorial-card{border-radius:16px}
  .editorial-page .editorial-card__body{padding:16px;gap:10px}
  .editorial-page .editorial-card h3{font-size:14px;line-height:16px}
  .editorial-page .editorial-card p{font-size:14px;line-height:18px}
}

/* 24.09.2026 (t_000371da): отказ api.php больше не выглядит как пустой раздел.
   Пока идёт запрос — скелетон сетки (те же 3/2/1 колонки, что у карточек), при отказе —
   сообщение с кнопкой «Повторить» (editorial.js). Серверный список материалов раздела
   лежит в HTML внутри <noscript> (пишет tools/add-editorial-fallback.php) и виден
   посетителю без JS — иначе раздел без скриптов не содержал ни одной ссылки. */
.editorial-loading[role=status]{padding:0 0 16px;background:transparent;border-radius:0;text-align:left;font-size:14px;color:#647681}
.editorial-page .editorial-card--skeleton{background:#f5f8fa;border-color:#e9eff2;box-shadow:none}
.editorial-page .editorial-card--skeleton:hover{box-shadow:none;transform:none}
.editorial-card--skeleton .editorial-card__media{background:#e9eff2;cursor:default}
.sk-line{display:block;height:12px;border-radius:6px;background:#e9eff2;animation:editorial-pulse 1.4s ease-in-out infinite}
.sk-line--30{width:30%}.sk-line--60{width:60%}.sk-line--85{width:85%}
@keyframes editorial-pulse{0%,100%{opacity:1}50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.sk-line{animation:none}}
.editorial-error{margin-bottom:20px;padding:20px 24px;border-radius:20px;background:#fdf3f2;border:1px solid #f3d9d6;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.editorial-error p{margin:0;color:#7a3b34;font-size:16px;line-height:1.45}
.editorial-fallback__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
.editorial-fallback__list li{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid #e3edf0;font-size:16px;line-height:22px}
.editorial-fallback__list a{color:#00878a;text-decoration:underline;text-underline-offset:3px}
.editorial-fallback__meta{color:#6a7a84;font-size:13px;line-height:18px}
.editorial-fallback__note{margin:0 0 12px;color:#647681;font-size:14px}
@media(max-width:1023px){.editorial-fallback__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
  .editorial-error{padding:16px 18px;border-radius:16px}
  .editorial-fallback__list{grid-template-columns:1fr}
  .editorial-fallback__list li{font-size:15px;line-height:20px}
}
