:root{
  --blue:#2b7de9; --blue-d:#1b62c4; --ink:#0b3f80; --orange:#f46e17; --orange-d:#dd5f0c;
  --pink:#fde6e6; --sky:#dcedfb; --mint:#ddf3e5; --lilac:#e9ddfb;
  --dl:#f1eafc; --ds:#e6f1fc; --dm:#e7f5ec; --do:#fdf0e5;
  --helpbg:#e5f4fe; --strip:#e9f2fb; --line:#e9eff7;
  --page:#f2f7fc;          /* фон страницы */
  --sh:0 5px 18px rgba(24,68,126,.06);
  --sh2:0 12px 28px rgba(24,68,126,.12);
}
*{box-sizing:border-box}
body{margin:0;background:var(--page);color:#4a6486;font:15px/1.5 Manrope,system-ui,Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;color:var(--ink);font-weight:800;line-height:1.15;letter-spacing:-.01em}
p{margin:0}
.wrap{max-width:1586px;margin:0 auto;padding:0 26px}

/* ---------- header ---------- */
.hdr{background:#fff;position:sticky;top:0;z-index:50}
.hdr__in{display:flex;align-items:center;gap:9px;max-width:1586px;margin:0 auto;padding:11px 26px}
.logo{display:flex;align-items:center;gap:10px}
.flower{width:52px;height:52px;object-fit:contain;flex:0 0 auto}
.strip__b .flower{width:38px;height:38px}
.logo__tx{font-family:'PT Sans',Manrope,sans-serif;font-size:14.5px;font-weight:700;color:#0a3a80;line-height:1.15;letter-spacing:.01em}
.logo__tx b{display:block;font-size:24px;font-weight:700;letter-spacing:0;line-height:1.1;margin-top:2px}
.logo__sub{flex:0 0 318px;font-size:12.5px;line-height:1.45;color:#5b7fa8;font-weight:500;border-left:1px solid var(--line);padding-left:13px}
.menu{display:flex;align-items:center;gap:2px;margin-left:auto}
.menu a{display:flex;align-items:center;gap:4px;padding:8px;border-radius:9px;font-size:13px;font-weight:600;color:#2f527d;white-space:nowrap}
.menu a:hover{background:#f2f7fd;color:var(--blue-d)}
.menu svg{opacity:.45}
.tel{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap;margin-left:6px}
.tel a{color:inherit;text-decoration:none}
.tel a:hover{color:var(--blue)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;border:0;cursor:pointer;font:inherit;font-weight:700;border-radius:999px;transition:.18s}
.btn-o{background:var(--orange);color:#fff;font-size:13px;padding:11px 17px;box-shadow:0 6px 16px rgba(244,110,23,.3)}
.btn-o:hover{background:var(--orange-d)}
.btn-b{background:var(--blue);color:#fff;font-size:12.5px;padding:9px 16px}
.btn-b:hover{background:var(--blue-d)}
.srch{width:34px;height:34px;display:grid;place-items:center;color:#4a6f9c;background:none;border:0;cursor:pointer}
.brg{display:none}

/* ---------- hero ---------- */
.hero{position:relative;height:min(15.17vw,233px);border-radius:16px;overflow:hidden;background:#e5f3fd;margin-top:7px}
.hero__ph{position:absolute;right:0;top:0;bottom:0;width:49.5%;z-index:1}
.hero__ph img{width:100%;height:100%;object-fit:cover;object-position:left center}
.hero__ph::after{content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,#e5f3fd 0%,rgba(229,243,253,.9) 7%,rgba(229,243,253,.35) 17%,rgba(229,243,253,0) 27%)}
.hero__hand{position:absolute;left:2.3%;top:14%;z-index:4;font-family:Caveat,cursive;font-weight:700;color:#2f7ddc;
  font-size:min(1.36vw,20.5px);line-height:1.15;text-align:center;transform:rotate(-8deg)}
.hero__hh{position:absolute;left:5.6%;top:47%;z-index:4;color:#5aa2ec;width:min(1.85vw,28px)}
.hero__tx{position:absolute;left:11.9%;top:12%;right:51%;z-index:3}
.hero h1{font-size:min(2.02vw,31px);line-height:1.2;margin:0 0 min(.62vw,9px);color:#063c81;white-space:nowrap}
.hero p{font-size:min(.93vw,14px);line-height:1.45;color:#3d6899;margin:0 0 min(1.15vw,17px);white-space:nowrap}
.hero__btns{display:flex;gap:min(.85vw,13px)}
.hero__btns a{display:inline-flex;align-items:center;gap:min(.62vw,9px);border-radius:999px;font-weight:700;
  font-size:min(.87vw,13.2px);padding:min(.53vw,8px) min(1.25vw,19px) min(.53vw,8px) min(.53vw,8px);white-space:nowrap;transition:.18s}
.hero__btns .ic{width:min(1.78vw,27px);height:min(1.78vw,27px);border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.hero__btns .b1{background:var(--orange);color:#fff;box-shadow:0 6px 16px rgba(244,110,23,.3)}
.hero__btns .b1:hover{background:var(--orange-d)}
.hero__btns .b1 .ic{background:rgba(255,255,255,.25);color:#fff}
.hero__btns .b2{background:#fff;color:#1663b8;border:1px solid #cfe3fa}
.hero__btns .b2:hover{border-color:var(--blue)}
.hero__btns .b2 .ic{background:var(--blue);color:#fff}
.hero__btns svg{width:58%;height:58%}

/* ---------- row A ---------- */
.content{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:21px;align-items:start;margin-top:16px}
.colmain{min-width:0}
.rail{display:grid;gap:18px;min-width:0}
.rowA{display:grid;grid-template-columns:254px repeat(4,minmax(0,1fr));gap:21px;align-items:start}
.schoolb{display:block;width:100%;max-width:440px;margin-inline:auto;border-radius:16px;overflow:hidden;
  box-shadow:var(--sh);transition:.2s;background:#eaf2fb}
.schoolb img{display:block;width:100%;height:auto}
.schoolb:hover{transform:translateY(-3px);box-shadow:var(--sh2)}
.schoolb:focus-visible{outline:3px solid #9ec5f5;outline-offset:3px}
html.a11y .schoolb{border:2px solid #000;border-radius:0;box-shadow:none}
.intro h2{font-size:21px;margin-bottom:8px}
.intro p{font-size:12.5px;color:#7f94ab;line-height:1.5;margin-bottom:14px}
.petals{width:80px;height:auto}
.ac{position:relative;height:184px;border-radius:16px;padding:14px;overflow:hidden;display:block;
  border:1px solid rgba(11,63,128,.07);box-shadow:var(--sh);transition:.2s}
.ac:hover{transform:translateY(-3px);box-shadow:var(--sh2)}
.ac.p{background:var(--pink)} .ac.s{background:var(--sky)} .ac.m{background:var(--mint)} .ac.l{background:var(--lilac)}
.ac__ph{position:absolute;z-index:1}
.ac__ph img{width:100%;height:100%;object-fit:contain;object-position:right top}
.chip{width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 3px 9px rgba(24,68,126,.10);position:relative;z-index:2}
.ac h3{position:relative;z-index:2;font-size:15.5px;margin:36px 0 5px}
.ac p{position:relative;z-index:2;font-size:10.5px;line-height:1.4;color:#5b7fa8;max-width:66%}
.arr{position:absolute;right:12px;bottom:11px;z-index:3;width:29px;height:29px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--blue);box-shadow:0 3px 9px rgba(24,68,126,.13);transition:.2s}
.ac:hover .arr{background:var(--blue);color:#fff}

/* right rail A */
.help{height:auto;min-height:186px;border-radius:16px;padding:11px 10px 10px;text-align:center;background:var(--helpbg);box-shadow:var(--sh);position:relative;overflow:hidden}
.help__sh{position:absolute;right:11px;top:9px;color:#a9c9ee}
.help__ic{width:26px;height:26px;margin:0 auto 3px;display:grid;place-items:center;color:var(--blue)}
.help h3{font-size:15px;line-height:1.1}
.help h3 b{display:block;font-size:12px;font-weight:700;color:var(--blue);margin-top:2px}
.help__l{font-size:9.5px;color:#6f8caa;line-height:1.3;margin:6px 0 3px}
.help__n{font-size:18px;letter-spacing:-.03em;font-weight:800;color:var(--ink);letter-spacing:-.02em}
.help__s{font-size:8.5px;color:#8fa3b8;margin:3px 0 8px}
.help .btn-b{width:100%;padding:7px;font-size:11.5px}

/* ---------- row B ---------- */
.secT{font-size:21px;margin:22px 0 12px}
.rowB{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px;align-items:start}
.dc{height:180px;border-radius:16px;padding:15px;display:flex;flex-direction:column;
  border:1px solid rgba(11,63,128,.07);box-shadow:var(--sh);transition:.2s}
.dc:hover{transform:translateY(-3px);box-shadow:var(--sh2)}
.dc.l{background:var(--dl)} .dc.s{background:var(--ds)} .dc.m{background:var(--dm)} .dc.o{background:var(--do)}
.dc h3{font-size:15.5px;margin:11px 0 5px}
.dc p{font-size:11px;line-height:1.4;color:#5b7fa8}
.lnk{margin-top:auto;font-size:12px;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:6px}
.dc.o .lnk{color:var(--orange-d)}
.dc:hover .lnk svg{transform:translateX(3px)}
.lnk svg{transition:.18s}
.sections{border-radius:16px;background:#eaf3fc;padding:15px 13px}
.sections h3{font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#123a6b;margin:2px 0 12px 3px}
.sections a{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-radius:10px;
  padding:9px 11px;margin-bottom:8px;font-size:12.5px;font-weight:600;color:#2f527d;line-height:1.35;
  box-shadow:0 2px 6px rgba(24,68,126,.05);transition:.18s}
.sections a:last-child{margin-bottom:0}
.sections a:hover{color:var(--blue);box-shadow:0 5px 14px rgba(24,68,126,.13)}
.sections .ar{color:#9db7d6;flex:0 0 auto}
.quick h3{font-size:15.5px}
.quick>p{font-size:11px;color:#8fa3b8;margin:3px 0 9px}
.quick a{display:flex;align-items:center;gap:8px;background:#f6fafd;border-radius:10px;padding:6px 9px;margin-bottom:6px;font-size:11.5px;white-space:nowrap;font-weight:600;color:#33557f;transition:.18s}
.quick a:last-child{margin-bottom:0}
.quick a:hover{background:#eaf3fe}
.av{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.quick .ar{margin-left:auto;color:#7ea6d6;transition:.18s}
.quick a:hover .ar{color:var(--blue);transform:translateX(2px)}

/* ---------- news ---------- */
.newsH{display:flex;align-items:baseline;justify-content:space-between;margin:22px 0 12px;max-width:1064px}
.newsH a{font-size:12.5px;font-weight:600;color:var(--blue)}
.news{display:grid;grid-template-columns:436px 339px 229px minmax(0,1fr);gap:20px}
.nf{height:170px;display:grid;grid-template-columns:190px minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:16px;padding:7px;box-shadow:var(--sh);transition:.2s}
.nf:hover{box-shadow:var(--sh2)}
.nf img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.nf__b{padding:8px 4px 4px 14px;display:flex;flex-direction:column}
.dt{font-size:10px;line-height:1.25;color:#93a7bc;font-weight:600;margin-bottom:2px;display:block}
.nf h3{font-size:13.5px;line-height:1.3;margin-bottom:5px}
.nf p{font-size:11px;color:#8296ab;line-height:1.4}
.nf .btn-b{align-self:flex-start;margin-top:auto;font-size:11.5px;padding:7px 14px}
.nl{height:170px;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;padding:3px 14px;box-shadow:var(--sh)}
.ni{display:flex;gap:9px;padding:5px 0;border-bottom:1px solid #eef3f9}
.nl .ni:last-child{border:0}
.ni .ic{width:18px;height:18px;border-radius:6px;background:#eaf3fe;color:var(--blue);display:grid;place-items:center;flex:0 0 auto;margin-top:2px}
.ni a{display:block}
.ni h4{font-size:11px;font-weight:600;color:#2f527d;line-height:1.28}
.ni a:hover h4{color:var(--blue)}
.np{position:relative;height:170px;border-radius:16px;overflow:hidden;box-shadow:var(--sh)}
.np{background:#fff}
.np img{position:absolute;left:0;right:0;top:0;width:100%;height:100px;object-fit:cover;object-position:center 45%}
.np__o{position:absolute;left:0;right:0;top:0;height:100px;background:linear-gradient(0deg,#fff 2%,rgba(255,255,255,.75) 26%,rgba(255,255,255,0) 62%)}
.np__t{position:absolute;left:16px;right:40px;bottom:12px;font-family:Caveat,cursive;font-weight:700;font-size:14.5px;line-height:1.25;color:#2f6fc0}
.np__h{position:absolute;right:14px;bottom:14px;color:#7fb0e8}

/* ---------- flourish + strip ---------- */
.flr{display:flex;justify-content:flex-end;padding:4px 0 2px}
.flrimg{width:246px;height:auto}
.strip{display:grid;grid-template-columns:auto repeat(4,1fr);align-items:center;gap:10px;background:var(--strip);border-radius:16px;padding:10px 22px;height:63px;margin-bottom:24px}
.strip__b{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:800;color:var(--ink);line-height:1.2}
.strip a{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;font-weight:600;color:#2f527d;padding:7px;border-radius:9px}
.strip a:hover{background:#e6f1fc;color:var(--blue-d)}

/* ---------- верхняя служебная полоса ---------- */
.utb{background:#eff6fd;border-bottom:1px solid #e2ecf8}
.utb__in{max-width:1586px;margin:0 auto;padding:0 26px;height:34px;display:flex;align-items:center;gap:14px}
.a11y-btn{display:inline-flex;align-items:center;gap:8px;background:none;border:0;cursor:pointer;font:inherit;
  font-size:12.5px;font-weight:600;color:#2f527d;padding:5px 9px;border-radius:8px}
.a11y-btn:hover{background:#e2eefb;color:var(--blue-d)}
.utb__sp{margin-left:auto;display:flex;align-items:center;gap:10px}
.utb__mod{display:flex;align-items:center;gap:10px;font-size:12.5px;color:#5b7fa8}
.utb__mod .moduletable{margin:0}
.vk{width:26px;height:26px;border-radius:7px;background:#0077ff;color:#fff;display:grid;place-items:center;
  font-size:11px;font-weight:800;letter-spacing:.02em;transition:.18s}
.vk:hover{background:#0061d1;transform:translateY(-1px)}

/* ---------- версия для слабовидящих ---------- */
html.a11y body{font-size:19px;background:#fff;color:#000}
html.a11y .utb{background:#fff;border-bottom:2px solid #000}
html.a11y .a11y-btn{color:#000;font-size:17px;border:2px solid #000}
html.a11y .vk{background:#000;color:#fff;font-size:13px;width:32px;height:32px}
html.a11y h1,html.a11y h2,html.a11y h3,html.a11y h4,html.a11y p,html.a11y a,html.a11y span,html.a11y div,html.a11y b,html.a11y strong{color:#000 !important}
html.a11y .chip,html.a11y .av{display:none}
html.a11y .hdr{border-bottom:2px solid #000}
html.a11y .logo__tx,html.a11y .logo__tx b{font-size:22px}
html.a11y .logo__sub,html.a11y .flower,html.a11y .hero__hand,html.a11y .hero__hh,html.a11y .flr,
html.a11y .intro svg,html.a11y .np__h,html.a11y .help__sh,html.a11y .chip svg,html.a11y .av svg,
html.a11y .srch,html.a11y .ni .ic{display:none}
html.a11y .menu a{font-size:17px;border:2px solid #000;margin:2px}
html.a11y .tel{font-size:17px}
html.a11y .btn,html.a11y .btn-o,html.a11y .btn-b,html.a11y .hero__btns a{background:#000 !important;color:#fff !important;
  border:2px solid #000;border-radius:6px;box-shadow:none;font-size:17px}
html.a11y .btn *,html.a11y .hero__btns a *{color:#fff !important}
html.a11y .hero__btns .ic{background:#fff !important}
html.a11y .hero__btns .ic svg{stroke:#000}
html.a11y img{filter:grayscale(100%) contrast(1.1)}
html.a11y .hero{height:auto;background:#fff;border:2px solid #000;border-radius:0;padding:0}
html.a11y .hero__ph{position:static;width:100%;height:240px}
html.a11y .hero__ph::after{display:none}
html.a11y .hero__tx{position:static;padding:20px}
html.a11y .hero h1{font-size:30px;white-space:normal}
html.a11y .hero p{font-size:19px;white-space:normal;margin-bottom:18px}
html.a11y .hero__btns{flex-wrap:wrap;gap:12px}
html.a11y .hero__btns a{font-size:17px;padding:10px 18px}
html.a11y .rowA,html.a11y .rowB,html.a11y .news,html.a11y .content,html.a11y .rail{grid-template-columns:1fr;gap:16px}
html.a11y .ac,html.a11y .dc,html.a11y .help,html.a11y .sections,html.a11y .nl,html.a11y .nf,html.a11y .np,html.a11y .strip{
  height:auto;min-height:0;background:#fff !important;border:2px solid #000;border-radius:0;box-shadow:none}
html.a11y .ac{padding:16px}
html.a11y .ac__ph{display:none}
html.a11y .np{display:flex;flex-direction:column}
html.a11y .np img{position:static;width:100%;height:auto;max-height:240px;object-fit:cover}
html.a11y .hdr__in,html.a11y .menu{flex-wrap:wrap}
html.a11y .tel svg{stroke:#000}
html.a11y .nf img{width:100%;height:auto;max-height:260px;object-fit:cover;border-radius:0}
html.a11y .hero__ph img{object-position:center 30%}
html.a11y .ac h3{margin:12px 0 6px}
html.a11y .ac p,html.a11y .dc p,html.a11y .ni h4,html.a11y .nf p{font-size:18px;line-height:1.5;max-width:none}
html.a11y .ac h3,html.a11y .dc h3,html.a11y .nf h3,html.a11y .sections h3,html.a11y .help h3{font-size:22px}
html.a11y .dt,html.a11y .help__l,html.a11y .help__s,html.a11y .intro p{font-size:16px}
html.a11y .help__n{font-size:28px}
html.a11y .arr,html.a11y .np__o{display:none}
html.a11y .np__t{position:static;font-family:Manrope,sans-serif;font-size:18px;padding:14px}
html.a11y .nf{grid-template-columns:1fr}
html.a11y .nf img{max-height:260px}
html.a11y .sections a,html.a11y .lnk,html.a11y .newsH a,html.a11y .strip a{font-size:18px;text-decoration:underline}
html.a11y .sections a{background:#fff;border:2px solid #000;border-radius:0;white-space:normal}
html.a11y .strip{grid-template-columns:1fr;gap:8px;padding:14px}
html.a11y .secT,html.a11y .intro h2,html.a11y .newsH h2{font-size:26px}

/* ---------- adaptive ---------- */
@media (max-width:1520px){.logo__sub{flex:0 0 246px;font-size:12px}}
@media (max-width:1400px){.logo__sub{flex:0 0 212px;font-size:11.5px}}
@media (max-width:1240px){.logo__sub{flex:0 0 178px;font-size:11px}}
@media (max-width:900px){.logo__sub{display:none}}
@media (max-width:1340px){.menu a{font-size:12.3px;padding:7px 5px}.menu svg{display:none}}
@media (max-width:1180px){.tel{display:none}}
@media (max-width:1340px){
  .content{grid-template-columns:minmax(0,1fr) 210px;gap:16px}
  .rowA{grid-template-columns:210px repeat(4,minmax(0,1fr));gap:16px}
  .rowB{gap:16px}
  .news{grid-template-columns:1.3fr 1fr .72fr;gap:16px}
  .nf{grid-template-columns:150px minmax(0,1fr)}
}
@media (max-width:1180px){
  .menu a{font-size:12px;padding:7px 6px}.menu svg{display:none}
  .rowA{grid-template-columns:repeat(4,minmax(0,1fr));}
  .intro{grid-column:1/-1}
  .content{grid-template-columns:minmax(0,1fr) 196px}
}
@media (max-width:1100px){
  .menu,.tel,.hdr .btn-o{display:none}.brg{display:grid}
  .hdr__in{position:relative;flex-wrap:nowrap}
  /* выпадающее меню по кнопке-гамбургеру */
  .hdr.nav-on .menu{display:block;position:absolute;left:0;right:0;top:100%;z-index:80;margin:0;
    background:#fff;border-top:1px solid var(--line);box-shadow:var(--sh2);
    padding:6px 14px 14px;max-height:74vh;overflow-y:auto;-webkit-overflow-scrolling:touch}
  .hdr.nav-on .menu ul,.hdr.nav-on .menu .menu-list,.hdr.nav-on .menu .sub{display:block;gap:0}
  .hdr.nav-on .menu li{position:static;width:auto}
  .hdr.nav-on .menu a{display:block;white-space:normal;font-size:14.5px;line-height:1.35;
    padding:11px 6px;border-radius:0;border-bottom:1px solid #f1f6fc}
  .hdr.nav-on .menu li.m-has{position:relative;padding-right:44px}
  .hdr.nav-on .menu li.m-has > ul{display:none}
  .hdr.nav-on .menu li.m-open > ul{display:block}
  .hdr.nav-on .menu .m-tog{position:absolute;right:0;top:3px;width:40px;height:40px;border:1px solid var(--line);
    border-radius:9px;background:#f2f7fd;color:#5b7fa8;display:grid;place-items:center;cursor:pointer;transition:.18s}
  .hdr.nav-on .menu .m-tog svg{display:block;opacity:1}
  .hdr.nav-on .menu .m-tog[aria-expanded="true"]{background:var(--blue);color:#fff;transform:rotate(180deg)}
  .hdr.nav-on .menu ul ul{padding-left:14px;border-left:2px solid #e7f0fa;margin:0 0 6px}
  .hdr.nav-on .menu ul ul a{font-size:13.5px;padding:9px 6px;color:#5b7fa8}
  .hdr.nav-on .menu .nav-header{padding:11px 6px;font-size:14px}
  .hdr.nav-on .brg{background:var(--blue);color:#fff;border-radius:9px}
  html.a11y .hdr.nav-on .menu a{font-size:19px}
  .hero{height:auto;padding:200px 18px 22px}
  .hero__ph{width:100%;height:196px;bottom:auto}
  .hero__ph::after{background:linear-gradient(0deg,#e5f3fd 3%,rgba(229,243,253,.2) 42%,rgba(229,243,253,0) 70%)}
  .hero__tx{position:static;right:auto}
  .hero h1{font-size:25px;white-space:normal}
  .hero p{font-size:14px;white-space:normal;margin-bottom:16px}
  .hero__btns{flex-wrap:wrap;gap:10px}
  .hero__btns a{font-size:13px;padding:7px 17px 7px 7px}
  .hero__btns .ic{width:26px;height:26px}
  .hero__hand{position:static;transform:rotate(-4deg);display:inline-block;font-size:19px;text-align:left;margin:0 0 8px 2px}
  .hero__hh{display:none}
  .content{grid-template-columns:1fr}
  .rail{grid-template-columns:1fr 1fr;align-items:start}
  .rowA,.rowB{grid-template-columns:repeat(2,minmax(0,1fr))}
  .news{grid-template-columns:1fr 1fr}
  .np{grid-column:1/-1}
  }
@media (max-width:640px){
  .wrap{padding:0 14px}
  .utb__in{padding:0 14px}
    .a11y-btn{font-size:11.5px;padding:5px 6px}
  .hdr__in{padding:11px 14px}
  .rowA,.rowB,.news,.rail{grid-template-columns:1fr}
  .ac{height:170px}
  .nf{grid-template-columns:120px minmax(0,1fr);height:160px}
  .strip{grid-template-columns:1fr;height:auto}
  .flrimg{width:185px}}

/* ---------- внутренние страницы ---------- */
.page{max-width:1586px;margin:18px auto 30px;min-height:320px}
.page .breadcrumb,.page ol.breadcrumb{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 14px;font-size:12.5px;color:#8fa3b8}
.page h1,.page h2,.page h3{color:var(--ink);margin:0 0 12px}
.page h1{font-size:28px}
.page h2{font-size:22px;margin-top:22px}
.page p{margin:0 0 12px;font-size:15px;line-height:1.65}
.page .colmain a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.page .sections a,.page .sections summary,.page .rail a{text-decoration:none}
.page img{max-width:100%;height:auto;border-radius:10px}
.page table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:14px}
.page th,.page td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.page th{background:#f4f9fe;color:var(--ink)}
.page ul,.page ol{margin:0 0 14px;padding-left:22px;line-height:1.6}
.page .com-content-article,.page .item-page{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 24px;box-shadow:var(--sh)}
.sidebar-mods{display:grid;gap:18px}
.sidebar-mods .moduletable{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
.sidebar-mods h3{font-size:15.5px;margin-bottom:10px}
@media (max-width:640px){.page h1{font-size:23px}}


/* ---------- меню из модуля Joomla ---------- */
.menu ul,.menu .menu-list{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.menu li{position:relative}
.menu li.has-sub > a{padding-right:8px}
.menu ul ul,.menu .sub{position:absolute;top:calc(100% + 6px);left:0;display:block;min-width:236px;background:#fff;
  border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px rgba(24,68,126,.15);padding:6px;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.16s;z-index:60}
.menu li:hover > ul,.menu li:focus-within > ul{opacity:1;visibility:visible;transform:none}
.menu ul ul li{width:100%}
.menu ul ul a{white-space:normal;width:100%;font-size:13px;padding:8px 10px}
.menu .nav-header{display:flex;align-items:center;gap:5px;padding:8px;font-size:13px;font-weight:700;color:#8fa3b8}
.menu a.active,.menu li.active > a{background:#eaf3fe;color:var(--blue-d)}
.sections .moduletable{background:none;border:0;padding:0}
@media (max-width:1100px){.menu ul ul,.menu .sub{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0}}

/* ---------- подменю второго и третьего уровня ---------- */
.menu .sub{padding:6px}
.menu .sub li{position:relative;width:100%}
.menu .sub > li > a{display:flex;align-items:center;justify-content:space-between;gap:8px}
.menu .sub .sub{top:-6px;left:calc(100% + 4px);min-width:250px}
.menu .sub li.has-sub > a::after{content:"";flex:0 0 auto;width:6px;height:6px;border-right:1.6px solid #9db7d6;
  border-bottom:1.6px solid #9db7d6;transform:rotate(-45deg);margin-left:6px}
.menu .sub li.has-sub:hover > a::after{border-color:var(--blue)}
.menu .sub a{border-radius:9px}
@media (max-width:1100px){.menu .sub .sub{left:0;min-width:0;padding-left:14px}}

/* ---------- «Полезные разделы» как аккордеон ---------- */
.sections .s-link,.sections summary{display:flex;align-items:center;justify-content:space-between;gap:8px;
  background:#fff;border-radius:10px;padding:9px 11px;font-size:12.5px;font-weight:600;color:#2f527d;
  line-height:1.35;box-shadow:0 2px 6px rgba(24,68,126,.05);transition:.18s}
.sections .s-link{margin-bottom:8px}
.sections .s-item{margin-bottom:8px;border-radius:10px;background:#fff;box-shadow:0 2px 6px rgba(24,68,126,.05);overflow:hidden}
.sections .s-item > summary{margin:0;cursor:pointer;list-style:none;box-shadow:none;border-radius:10px}
.sections .s-item > summary::-webkit-details-marker{display:none}
.sections .s-item > summary::marker{content:""}
.sections .s-link:hover,.sections summary:hover{color:var(--blue)}
.sections .s-item[open] > summary{color:var(--blue);border-bottom:1px solid #eef4fb;border-radius:10px 10px 0 0}
.sections .ar svg{transition:transform .18s}
.sections .s-item[open] > summary .ar svg{transform:rotate(90deg)}
.sections .s-sub{padding:8px 10px 10px;display:grid;gap:6px}
.sections .s-sub a{display:block;background:#f6fafd;border-radius:8px;padding:7px 9px;font-size:11.5px;
  font-weight:500;color:#5b7fa8;line-height:1.35;box-shadow:none;margin:0}
.sections .s-sub a:hover{background:#eaf3fe;color:var(--blue)}
.sections .s-sub .s-parent{font-weight:600;color:#2f527d}
html.a11y .sections .s-item,html.a11y .sections .s-link,html.a11y .sections summary{border:2px solid #000;border-radius:0;box-shadow:none}
html.a11y .sections .s-sub a{border:1px solid #000;border-radius:0;background:#fff}

.sections .s-link{justify-content:flex-start}

/* ---------- внутренние страницы: типографика Joomla ---------- */
.page .content{grid-template-columns:minmax(0,1fr) 235px}
.page .colmain{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 26px;box-shadow:var(--sh)}
.page .mod-breadcrumbs__wrapper{margin:0 0 14px}
.page ol.mod-breadcrumbs,.page ol.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;list-style:none;margin:0;padding:0;
  font-size:12.5px;color:#8fa3b8;background:none}
.page .mod-breadcrumbs__item a,.page .breadcrumb-item a{color:var(--blue);text-decoration:none}
.page .mod-breadcrumbs__item a:hover{text-decoration:underline}
.page .mod-breadcrumbs__item.active span{color:#6d8399}
.page .mod-breadcrumbs__divider{display:none}
.page .breadcrumb-item + .breadcrumb-item::before{content:"/";color:#c3d4e6;margin-right:8px}

.page h1{font-size:27px;line-height:1.2;margin:0 0 16px;color:var(--ink)}
.page h2{font-size:19px;line-height:1.3;margin:0 0 8px}
.page h3{font-size:17px;margin:18px 0 8px}
.page .page-header{margin:0 0 6px;border:0}
.page .page-header h2 a{color:var(--ink);text-decoration:none}
.page .page-header h2 a:hover{color:var(--blue)}
.page .category-desc{font-size:14.5px;color:#5b7fa8;line-height:1.6}
.page .category-desc:empty{display:none}

.page .blog-items,.page .com-content-category-blog__items{display:grid;gap:14px;margin:0}
.page .blog-item,.page .com-content-category-blog__item{background:#f8fbfe;border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.page .item-content > *:last-child{margin-bottom:0}
.page .item-content p,.page .com-content-article p{font-size:14.5px;line-height:1.7;color:#4a6486;margin:0 0 10px}
.page .item-content a,.page .com-content-article a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.page .item-content a:hover{color:var(--blue-d)}
.page ul,.page ol{font-size:14.5px;line-height:1.7;color:#4a6486}
.page .article-info{font-size:12px;color:#93a7bc;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:10px;padding:0;list-style:none}
.page .article-info dd{margin:0}
.page .readmore .btn,.page a.readmore,.page .btn-secondary{display:inline-flex;align-items:center;gap:8px;background:var(--blue);color:#fff;
  border:0;border-radius:999px;padding:8px 16px;font-size:12.5px;font-weight:700;text-decoration:none}
.page .readmore .btn:hover,.page a.readmore:hover{background:var(--blue-d)}
.page .pagination{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:18px 0 0;justify-content:center}
.page .pagination .page-link{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:9px;
  border:1px solid var(--line);color:var(--blue);font-size:13px;font-weight:600;text-decoration:none;background:#fff}
.page .pagination .active .page-link,.page .pagination .page-link:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.page .counter{font-size:12px;color:#93a7bc;text-align:center;margin-top:8px}
.page img{max-width:100%;height:auto;border-radius:10px}
.page table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:14px}
.page th,.page td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.page th{background:#f2f8fe;color:var(--ink);font-weight:700}
@media (max-width:1100px){.page .content{grid-template-columns:1fr}}
@media (max-width:640px){.page .colmain{padding:16px 15px;border-radius:14px}.page h1{font-size:22px}}

.page .rail a,.page .sections a{text-decoration:none}
.page .sections h3{font-size:13px;letter-spacing:.05em}

/* ---------- нормализация старой вёрстки внутри материалов ---------- */
.page .colmain .item-content,.page .colmain .com-content-article,
.page .colmain .item-content *,.page .colmain .com-content-article *{
  font-family:Manrope,"PT Sans",system-ui,Arial,sans-serif !important}
.page .colmain .item-content font,.page .colmain .com-content-article font{font-size:inherit !important;color:inherit !important}
.page .colmain .item-content [face],.page .colmain .com-content-article [face]{font-family:Manrope,system-ui,sans-serif !important}
.page .colmain .item-content p,.page .colmain .com-content-article p,
.page .colmain .item-content li,.page .colmain .com-content-article li{line-height:1.7 !important}
.page .colmain .item-content [style*="font-size"],.page .colmain .com-content-article [style*="font-size"]{font-size:inherit !important}
.page .colmain .item-content [size],.page .colmain .com-content-article [size]{font-size:inherit !important}
.page .colmain .item-content b,.page .colmain .item-content strong,
.page .colmain .com-content-article b,.page .colmain .com-content-article strong{font-weight:700;color:var(--ink)}
.page .colmain .item-content em,.page .colmain .com-content-article em{color:#5b7fa8}
.page .colmain .item-content h1,.page .colmain .item-content h2,.page .colmain .item-content h3,
.page .colmain .com-content-article h2,.page .colmain .com-content-article h3{color:var(--ink)}

/* ---------- единый шрифт и цвета во всех материалах ---------- */
.page .colmain,.page .colmain *{
  font-family:Manrope,"PT Sans",system-ui,Arial,sans-serif !important;
  color:#4a6486 !important;
  letter-spacing:normal !important}
.page .colmain h1,.page .colmain h2,.page .colmain h3,.page .colmain h4,.page .colmain h5,.page .colmain h6,
.page .colmain h1 *,.page .colmain h2 *,.page .colmain h3 *,.page .colmain h4 *,
.page .colmain b,.page .colmain strong,.page .colmain b *,.page .colmain strong *,
.page .colmain th,.page .colmain th *{color:var(--ink) !important}
.page .colmain em,.page .colmain i,.page .colmain em *,.page .colmain i *{color:#5b7fa8 !important}
.page .colmain a,.page .colmain a *{color:var(--blue) !important}
.page .colmain a:hover,.page .colmain a:hover *{color:var(--blue-d) !important}
.page .colmain .readmore a,.page .colmain a.readmore,.page .colmain .btn,
.page .colmain .readmore a *,.page .colmain a.readmore *,.page .colmain .btn *{color:#fff !important}
.page .colmain .pagination .active .page-link,.page .colmain .pagination .page-link:hover{color:#fff !important}
.page .colmain .article-info,.page .colmain .article-info *,.page .colmain .counter{color:#93a7bc !important}
/* цветные подложки из редактора убираем, у таблиц оставляем наши */
.page .colmain p[style*="background"],.page .colmain span[style*="background"],
.page .colmain div[style*="background"],.page .colmain font[style*="background"],
.page .colmain li[style*="background"]{background:transparent !important}
.page .colmain th{background:#f2f8fe !important}
.page .colmain .blog-item,.page .colmain .com-content-category-blog__item{background:#f8fbfe !important}
.page .colmain .readmore a,.page .colmain a.readmore{background:var(--blue) !important}

/* ---------- один кегль и один межстрочный интервал во всех материалах ---------- */
.page .colmain,.page .colmain *{
  font-family:Manrope,"PT Sans",system-ui,Arial,sans-serif !important;
  font-size:15px !important;
  line-height:1.7 !important;
  letter-spacing:normal !important;
  word-spacing:normal !important;
  text-indent:0 !important}
/* исключения: заголовки и служебные надписи */
.page .colmain h1,.page .colmain h1 *{font-size:27px !important;line-height:1.25 !important}
.page .colmain h2,.page .colmain h2 *{font-size:20px !important;line-height:1.3 !important}
.page .colmain h3,.page .colmain h3 *{font-size:17px !important;line-height:1.35 !important}
.page .colmain h4,.page .colmain h4 *,.page .colmain h5,.page .colmain h5 *,
.page .colmain h6,.page .colmain h6 *{font-size:15.5px !important;line-height:1.4 !important}
.page .colmain table,.page .colmain table *{font-size:14px !important;line-height:1.55 !important}
.page .colmain .article-info,.page .colmain .article-info *,
.page .colmain .counter,.page .colmain .counter *{font-size:12px !important;line-height:1.5 !important}
.page .colmain .readmore a,.page .colmain a.readmore,.page .colmain .btn,
.page .colmain .pagination,.page .colmain .pagination *{font-size:13px !important;line-height:1.4 !important}
.page .colmain sub,.page .colmain sup{font-size:11px !important;line-height:0 !important}
.page .colmain small,.page .colmain small *{font-size:13px !important}
/* одинаковые отступы между абзацами и списками */
.page .colmain p{margin:0 0 12px !important;padding:0 !important}
.page .colmain ul,.page .colmain ol{margin:0 0 12px !important;padding-left:22px !important}
.page .colmain li{margin:0 0 4px !important;padding-left:0 !important}
.page .colmain li p{margin:0 !important}
.page .colmain br + br{display:none}
.page .colmain p:empty{display:none}
.page .colmain > *:last-child,.page .colmain .item-content > *:last-child{margin-bottom:0 !important}
.page .colmain h2,.page .colmain h3{margin:20px 0 9px !important}
.page .colmain h1{margin:0 0 16px !important}
.page .colmain h2:first-child,.page .colmain h3:first-child{margin-top:0 !important}
.page .colmain img{margin:4px 0 10px}
html.a11y .page .colmain,html.a11y .page .colmain *{font-size:19px !important;line-height:1.75 !important}
html.a11y .page .colmain h1,html.a11y .page .colmain h1 *{font-size:30px !important}
html.a11y .page .colmain h2,html.a11y .page .colmain h2 *{font-size:25px !important}
html.a11y .page .colmain h3,html.a11y .page .colmain h3 *{font-size:22px !important}

/* ---------- фотографии внутри материалов ---------- */
.page .colmain img{max-width:100%;height:auto;border-radius:10px;margin:6px 0 12px}
/* обтекание: даём воздух между фото и текстом */
.page .colmain img[align="left"],.page .colmain img[style*="float:left"],
.page .colmain img[style*="float: left"],.page .colmain .pull-left,.page .colmain .float-start{
  float:left;margin:4px 20px 14px 0 !important}
.page .colmain img[align="right"],.page .colmain img[style*="float:right"],
.page .colmain img[style*="float: right"],.page .colmain .pull-right,.page .colmain .float-end{
  float:right;margin:4px 0 14px 20px !important}
.page .colmain figure,.page .colmain .img_caption{margin:6px 0 14px;max-width:100%}
.page .colmain figure img,.page .colmain .img_caption img{margin:0}
.page .colmain figcaption,.page .colmain .img_caption p{font-size:12.5px !important;line-height:1.45 !important;
  color:#8fa3b8 !important;margin:6px 0 0 !important;text-align:center}
.page .colmain .img_caption.left{float:left;margin:4px 20px 14px 0}
.page .colmain .img_caption.right{float:right;margin:4px 0 14px 20px}
/* таблицы с фотографиями сотрудников */
.page .colmain td img{margin:0 0 6px}
/* закрываем обтекание, чтобы подвал не заезжал на фото */
.page .colmain .item-page::after,.page .colmain .com-content-article::after,
.page .colmain .item-content::after{content:"";display:table;clear:both}
@media (max-width:640px){
  .page .colmain img[align="left"],.page .colmain img[align="right"],
  .page .colmain img[style*="float"],.page .colmain .img_caption{float:none !important;
    margin:8px auto 14px !important;display:block}
}

/* служебная подпись компонента загрузок — на случай, если где-то осталась */
.page a[href*="phoca.cz"],.page a[href*="phoca.cz"] + *{display:none !important}
.page div:has(> a[href*="phoca.cz"]),.page p:has(> a[href*="phoca.cz"]){display:none !important}

/* ---------- кнопка «наверх» ---------- */
.totop{position:fixed;right:22px;bottom:22px;z-index:9999;width:46px;height:46px;border:0;border-radius:50%;
  background:var(--blue);color:#fff;display:grid;place-items:center;cursor:pointer;
  box-shadow:0 8px 22px rgba(24,68,126,.28);opacity:1;visibility:visible;transform:none;
  transition:opacity .2s,transform .2s,visibility .2s,background .18s}
.totop.hide{opacity:0;visibility:hidden;transform:translateY(10px)}
.totop:hover{background:var(--blue-d);transform:translateY(-2px)}
.totop:focus-visible{outline:3px solid #9ec5f5;outline-offset:2px}
html.a11y .totop{background:#000 !important;color:#fff !important;border:2px solid #fff;border-radius:0;width:56px;height:56px}
@media (max-width:640px){.totop{right:14px;bottom:14px;width:42px;height:42px}}
@media (print){.totop{display:none}}

/* ---------- свободные позиции для модулей ---------- */
.heromods,.bottommods{margin:22px 0}
.heromods .moduletable,.bottommods .moduletable{background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:18px 20px;box-shadow:var(--sh);margin:0 0 14px}
.heromods .moduletable:last-child,.bottommods .moduletable:last-child{margin-bottom:0}
.heromods h3,.bottommods h3{font-size:19px;margin:0 0 8px;color:var(--ink)}
html.a11y .heromods .moduletable,html.a11y .bottommods .moduletable{border:2px solid #000;border-radius:0;box-shadow:none}

/* ---------- поиск в верхней полосе ---------- */
.utb__sp{position:relative}
.srchf{display:flex;align-items:center;gap:3px;background:#fff;border:1px solid #cfe0f2;border-radius:999px;
  padding:2px 3px 2px 11px;width:0;opacity:0;visibility:hidden;transform:translateX(8px);overflow:hidden;
  pointer-events:none;transition:width .22s ease,opacity .18s,transform .18s,visibility .18s}
.utb.srch-on .srchf{width:228px;opacity:1;visibility:visible;transform:none;pointer-events:auto}
.srchf input[type="search"]{flex:1 1 auto;min-width:0;border:0;background:none;outline:none;
  font:600 12.5px/1.4 Manrope,system-ui,sans-serif;color:var(--ink);padding:0}
.srchf input[type="search"]::placeholder{color:#9db2c9;font-weight:500}
.srchf input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.srchf button{flex:0 0 auto;width:26px;height:26px;border:0;border-radius:50%;background:var(--blue);color:#fff;
  display:grid;place-items:center;cursor:pointer;transition:background .18s}
.srchf button:hover{background:var(--blue-d)}
.srchf input:focus-visible,.srchf button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.srch-btn{width:26px;height:26px;border-radius:50%;color:#4a6f9c;transition:background .18s,color .18s}
.srch-btn:hover{background:#dfebf9;color:var(--blue)}
.utb.srch-on .srch-btn{background:var(--blue);color:#fff}
html.a11y .srchf{border:2px solid #000;border-radius:0;background:#fff}
html.a11y .utb.srch-on .srchf{width:260px}
html.a11y .srchf input[type="search"]{font-size:17px;color:#000}
html.a11y .srchf button{background:#000;border-radius:0;width:30px;height:30px}
html.a11y .srch-btn{border:2px solid #000;border-radius:0;color:#000}
@media (max-width:700px){
  .utb.srch-on .srchf{position:absolute;right:0;top:calc(100% + 6px);width:min(78vw,300px);z-index:70;
    box-shadow:var(--sh2);padding:4px 4px 4px 13px}
}

/* ---------- контакты ---------- */
.cts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px;margin-top:22px}
.cts .moduletable{display:contents}
.ct{display:flex;gap:11px;align-items:flex-start;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:15px 16px;box-shadow:var(--sh);transition:.2s}
.ct:hover{transform:translateY(-3px);box-shadow:var(--sh2)}
.ct .ci{flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:var(--ds);
  display:grid;place-items:center;color:var(--blue)}
.ct .cb{min-width:0}
.ct h4{font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#8fa3b8;margin:3px 0 6px}
.ct p{font-size:12.5px;line-height:1.45;color:#4a6486}
.ct--img{padding:0;overflow:hidden;display:block}
.ct--img img{width:100%;height:100%;min-height:86px;object-fit:cover;object-position:center}
.ct a{color:var(--blue)}
.ct a:hover{text-decoration:underline}
html.a11y .cts{grid-template-columns:1fr;gap:16px}
html.a11y .ct{border:2px solid #000;border-radius:0;box-shadow:none}
html.a11y .ct h4{font-size:17px;color:#000 !important}
html.a11y .ct p{font-size:18px;color:#000 !important}
html.a11y .ct .ci{background:#fff;border:2px solid #000;border-radius:0;color:#000}
html.a11y .ct--img img{height:auto;min-height:0}
@media (max-width:1240px){.cts{gap:16px}}
@media (max-width:900px){.cts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.cts{grid-template-columns:1fr}}

/* ---------- подвал ---------- */
.ftr{padding:16px 0 26px;text-align:center;font-size:12.5px;line-height:1.6;color:#8fa3b8}
.ftr p{margin:0}
.ftr__adr{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 6px !important;
  font-size:13px;font-weight:600;color:#5b7fa8}
.ftr__adr svg{color:var(--blue);flex:0 0 auto}
.ftr__adr a{color:#5b7fa8;text-decoration:none;border-bottom:1px dashed #b9cde4}
.ftr__adr a:hover{color:var(--blue);border-bottom-color:var(--blue)}
html.a11y .ftr__adr{font-size:18px;color:#000 !important}
html.a11y .ftr__adr a{color:#000 !important;text-decoration:underline;border:0}
@media (max-width:640px){.ftr__adr{font-size:12.5px;align-items:flex-start;text-align:left}}
.ftr a{color:var(--blue);text-decoration:none}
.ftr a:hover{text-decoration:underline}
.ftr .moduletable{margin:0}
html.a11y .ftr{border-top:2px solid #000;font-size:17px;color:#000 !important;padding-top:14px}
@media (max-width:640px){.ftr{padding:12px 0 20px;font-size:12px}}

/* ---------- полезные ссылки ---------- */
.links{margin:26px 0 4px}
.links .secT{margin:0 0 12px}
.links__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.lnk-card{display:flex;flex-direction:row;align-items:flex-start;gap:8px;background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:14px 14px 16px;box-shadow:var(--sh);font-size:12.5px;font-weight:600;line-height:1.4;color:#2f527d;transition:.2s}
.lnk-card:hover{transform:translateY(-3px);box-shadow:var(--sh2);color:var(--blue)}
.lnk-card__ic{width:16px;height:16px;flex:0 0 16px;margin-top:2px;color:var(--blue);
  display:inline-flex;align-items:center;justify-content:center;background:none;border-radius:0}
.lnk-card__ic svg{display:block}
.lnk-card:hover .lnk-card__ic{color:var(--blue-d)}
html.a11y .links__grid{grid-template-columns:1fr}
html.a11y .lnk-card{border:2px solid #000;border-radius:0;box-shadow:none;font-size:17px}
html.a11y .lnk-card__ic{display:none}
@media (max-width:1240px){.links__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.links__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media (max-width:480px){.links__grid{grid-template-columns:1fr}}

/* ---------- баннеры ---------- */
.banners{margin:26px 0 0}
.banners__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch}
.banners__grid > *{min-width:0}
.bnr,.banners .moduletable,.banners .bannergroup{background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:10px;box-shadow:var(--sh);display:flex;align-items:center;justify-content:center;min-height:96px;overflow:hidden;transition:.2s}
.bnr:hover,.banners .moduletable:hover,.banners .bannergroup:hover{transform:translateY(-3px);box-shadow:var(--sh2)}
.banners img{max-width:100%;height:auto;border-radius:10px;display:block}
.banners a{display:block;line-height:0}
.banners .banneritem,.banners .bannerfooter{width:100%}
.bnr--empty{border:1.5px dashed #cfe0f2;background:#f8fbfe;box-shadow:none;color:#9db7d6;font-size:12.5px;font-weight:600}
.bnr--empty:hover{transform:none;box-shadow:none}
html.a11y .banners__grid{grid-template-columns:1fr 1fr}
html.a11y .bnr,html.a11y .banners .moduletable{border:2px solid #000;border-radius:0;box-shadow:none}
@media (max-width:1240px){.banners__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.banners__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media (max-width:480px){.banners__grid{grid-template-columns:1fr}}

/* ---------- баннеры: все плитки одного размера, картинка на всю плитку ---------- */
.banners__grid{grid-auto-rows:1fr}
.banners__grid > .bnr,.banners__grid > div{aspect-ratio:3/2;min-height:0;padding:8px;overflow:hidden;
  display:block;position:relative;border-radius:16px;background:#fff}
.bnr > *,.bnr .bannergroup,.bnr .banneritem,.bnr .moduletable,.bnr p,.bnr div,.bnr span,.bnr a{
  display:block;width:100%;height:100%;margin:0;line-height:0}
/* картинка видна целиком: вписываем её в плитку, не обрезая */
.bnr img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;
  border-radius:6px;display:block}
.bnr__title{display:none}
.bnr--empty{aspect-ratio:3/2;display:flex !important;align-items:center;justify-content:center;line-height:1.4}
html.a11y .banners__grid > .bnr{aspect-ratio:auto;min-height:90px;padding:8px}
html.a11y .bnr img{height:auto;object-fit:contain}
