/* Группы «примеры», «справки о несудимости», «нотариат» (24.11.2026): дополнения к tc-clean.css только для страниц
   examples/*, police-clearance-certificates*, notaryservices* (подключается одной строкой в <head> этих страниц; страницы
   пилота и групп 1–3 этот файл не получают). Вид — как у живых страниц Агентства: номер раздела слева от заголовка, жёлтая
   плашка со знаком «i», списки со значками в две колонки, серые карточки с картинкой, таблица цен с жёлтой шапкой. */

/* заголовок раздела с номером (на живой — мелкая цифра слева от H2) */
.sh.hasnum{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px;align-items:start}
.sh.hasnum>*{grid-column:2}
.sh.hasnum>.snum{grid-column:1;grid-row:1;margin:0;padding-top:.75em;font-size:15px;font-weight:600;color:var(--m);text-align:right}
@media (max-width:640px){.sh.hasnum{grid-template-columns:28px minmax(0,1fr);column-gap:10px}}

/* строка преимуществ первого экрана: жёлтая линия-разделитель на всю высоту пункта (замечание владельца по singlestatus) */
/* пункт не уже 8em: слова не рвутся посередине («использова/ния» на 5 узких пунктах в ряд); не влезают — второй ряд */
.hero .feats{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(8em,1fr));gap:10px 0;margin:18px 0 6px;padding:0;max-width:680px}
.hero .feats li{margin:0;padding:4px 12px;font-size:15px;line-height:1.4;border-left:3px solid var(--y);overflow-wrap:normal;word-break:normal;hyphens:manual}
.callout.zc{max-width:none;margin:0 0 1.2em}
.callout.zc p{max-width:54ch}

/* H1 страниц-образцов (на живой H1 нет): только для диктора; без overflow:hidden, чтобы не считаться «обрезанным» текстом */
/* текст 1 px и с переносом — иначе длинный заголовок за рамкой 1 px давал горизонтальную прокрутку на телефоне */
.h1x{position:absolute!important;left:0;top:0;width:1px;height:1px;margin:0;padding:0;border:0;clip-path:inset(50%);font-size:1px;line-height:1px}
.anc{display:block;height:0;scroll-margin-top:96px}
.formsec h2.fh{font-size:clamp(19px,.8vw + 13px,24px);line-height:1.4;font-weight:600;margin:0 0 .8em;max-width:34ch}
.hero .hpic{margin:14px 0 6px}
.hero .hpic img{display:block;width:100%;height:auto}
@media (max-width:640px){.hero .hpic img{max-width:84px}}   /* флаг на телефоне — как на живой (~80 px), не крупнее */

/* жёлтая плашка (t296) со знаком «i» */
.callout.ic{position:relative;padding-left:clamp(56px,5vw,70px)}
.callout.ic::before{content:"i";position:absolute;left:clamp(18px,2.2vw,26px);top:clamp(18px,2.4vw,28px);width:26px;height:26px;border-radius:50%;
  background:var(--k);color:var(--y);font:800 16px/26px Georgia,serif;text-align:center}
.callout.ic p{font-weight:500;max-width:58ch;font-size:clamp(18px,.6vw + 13px,21px)}
.callout.ic ul{margin:.4em 0 .8em;padding-left:1.2em}

/* списки со значками (t820, t1095, t859, t845, t1032) */
.ilist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:22px 40px;max-width:1000px}
.ilist li{display:flex;gap:16px;align-items:flex-start;margin:0;max-width:36em}
.ilist li>div{max-width:46ch}
.ilist .ic{flex:none;width:36px;height:36px;object-fit:contain}
.ilist .it{margin:4px 0 .3em;font-size:clamp(18px,.5vw + 14px,20px);line-height:1.4;font-weight:500}
.ilist li>div>p:not(.it){margin:0 0 .4em;font-size:18px}
@media (max-width:640px){.ilist .it,.ilist li>div>p:not(.it),.steps.zsteps p,.steps.zsteps ul{font-size:17px}}
@media (max-width:1100px){.ilist[style*="--n:4"],.ilist[style*="--n:3"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.ilist,.ilist[style*="--n:4"],.ilist[style*="--n:3"]{grid-template-columns:minmax(0,1fr)}}
.ilist li>div{min-width:0;hyphens:auto}

/* серые карточки «картинка + заголовок + описание» (t858, t1068, t1033) */
.ecards{margin-top:8px}
.card.ecard{background:var(--g);border:0;text-align:center;align-items:center}
.sec.alt .card.ecard{background:#fff}
.card.ecard .cpic{margin:0 0 14px}
.card.ecard .cpic img{width:auto;height:auto;max-width:100%;max-height:150px}
.card.ecard h3{font-size:clamp(17px,.4vw + 15px,20px);line-height:1.35;margin:0 0 .4em}
.card.ecard p,.card.ecard ul{text-align:left;align-self:stretch;font-size:16px}
.card.ecard ul{padding-left:1.15em;margin:.2em 0 0}
.card.ecard li{margin:0 0 .45em}
.ecards.t2 .card.ecard{text-align:left;align-items:stretch}

/* таблица цен (t611): жёлтая шапка, как на живой */
.tblw{overflow-x:auto;max-width:1000px}
.etbl th{background:var(--y);color:var(--k);text-align:center}
.etbl td{text-align:center;vertical-align:middle}
.etbl td:first-child{text-align:left}

/* шаги сеткой (Zero singlestatus «How … is made»): жёлтый кружок с номером, под ним шаг; на телефоне — столбиком */
.steps.zsteps{max-width:none;display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:28px 40px;margin-top:20px}
.steps.zsteps{grid-auto-flow:dense}
.steps.zsteps > li{padding:60px 0 0;grid-column:var(--c,auto);grid-row:var(--r,auto)}
.steps.zsteps > li::after{display:none}
.steps.zsteps h3{font-size:clamp(19px,.5vw + 15px,22px);margin:0 0 .5em}
.steps.zsteps p,.steps.zsteps ul{font-size:18px;margin:0 0 .5em}
.steps.zsteps ul{padding-left:1.15em}
@media (max-width:900px){.steps.zsteps{grid-template-columns:minmax(0,1fr)}.steps.zsteps > li{padding:0 0 18px 64px;grid-column:auto;grid-row:auto}}

/* шаги в ряд (t1370) */
.steps.hsteps{max-width:none;display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));gap:24px}
.steps.hsteps > li{padding:56px 0 0;text-align:center}
.steps.hsteps > li::before{left:50%;transform:translateX(-50%)}
.steps.hsteps > li::after{display:none}
@media (max-width:900px){.steps.hsteps{grid-template-columns:minmax(0,1fr)}.steps.hsteps > li{padding:0 0 22px 64px;text-align:left}.steps.hsteps > li::before{left:0;transform:none}}

/* две колонки пунктов со значками («Many documents are rejected because:» / «Even small mistakes can result in:») */
.xcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 56px;max-width:1100px}
.xcols .ilist .ic{width:30px;height:30px}
.xcols .ilist li p{margin:2px 0 0;font-size:18px}
@media (max-width:760px){.xcols{grid-template-columns:minmax(0,1fr)}}

/* картинка в тексте — в своём размере (не шире, чем на живой), открывается крупно */
.zic{margin:0 0 10px}
.zic img{display:block;width:100%;height:auto}
figure.nat{margin:18px 0 22px}
figure.nat a{display:block;cursor:zoom-in;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
figure.nat img{display:block;width:100%;height:auto}
.split.ill{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);align-items:center}
.split.ill figure.nat{margin:0 0 0 auto}

/* страницы-образцы: картинки крупно и по центру, щелчок — просмотр с листанием */
.gal.exg{grid-template-columns:repeat(var(--n,3),minmax(0,var(--w,360px)));justify-content:center;gap:24px}
.gal.exg figure{box-shadow:0 6px 22px rgba(0,0,0,.08)}
.gal.exg a{cursor:zoom-in;border:0}
@media (max-width:1100px){.gal.exg{--n:2!important;grid-template-columns:repeat(var(--n),minmax(0,var(--w,360px)))}}
@media (max-width:560px){.gal.exg{--n:1!important;grid-template-columns:minmax(0,var(--w,360px))}}
.gal.exg.one{--n:1!important;grid-template-columns:minmax(0,var(--w,960px))}
