/* ═══════════════════════════════════════════════════════════════════════════
   Тема «Google Сайты» (CMS). Стили Google: Aristotle — размеры сняты с turism (sites.google.com/view/info-tko, 1366 px):
   меню слева 250 px, шапка 310 px, Roboto 45pt с жёлтой чертой, текст Open Sans 12pt, кнопки #F9EE8D с чёрной рамкой;
   Vision — с metod (…/metodsluzbaduc): меню 250 px на #F7F7F7, текущий пункт — белым на чёрном, шапка главной 508 px
   (поля 120 px), заголовок Oswald 80 px прописными, текст Open Sans 13pt, акцент #35868B.
   Цвета — переменные --gs-* (задаются в «Настройках», по умолчанию — по стилю); шрифты и размеры — по классу стиля.
   ═══════════════════════════════════════════════════════════════════════════ */
.gs{
  --gs-font-body: 'Open Sans', Arial, sans-serif;
  --gs-font-head: Roboto, Arial, sans-serif;
  --gs-font-nav: 'Open Sans', Arial, sans-serif;
  --gs-head-weight: 500;
  --gs-head-tt: none;
  --gs-head-ls: normal;
  --gs-text-size: 12pt;
  --gs-text-lh: 1.56;
  --gs-nav-size: 12pt;
  --gs-nav-w: 250px;
  --gs-title-cover: 54pt;
  --gs-title-large: 50pt;
  --gs-title-banner: 45pt;
  --gs-title-only: 36pt;
  --gs-title-bar: 8px;        /* черта под заголовком шапки (Aristotle) */
  --gs-banner-h: 310px;
  --gs-btn-radius: 4px;
  --gs-sec-pad: 24px;
  --gs-max: 1280px;
  --gs-pad-x: 60px;
  --gs-focus: #c98a3d;
  margin: 0;
  background: var(--gs-page-bg);
  color: var(--gs-ink);
  font-family: var(--gs-font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
.gs-style-vision{
  --gs-font-head: Oswald, 'Open Sans', Arial, sans-serif;
  --gs-head-weight: 400;
  --gs-head-tt: uppercase;
  --gs-text-size: 13pt;
  --gs-text-lh: 1.6;
  --gs-title-cover: 80px;
  --gs-title-large: 80px;
  --gs-title-banner: 60px;
  --gs-title-only: 38pt;
  --gs-title-bar: 0px;
  --gs-banner-h: 380px;
  --gs-btn-radius: 0;
  --gs-pad-x: 48px;
  --gs-max: 1107px;
}
.gs-style-simple{ --gs-font-head: Lato, Roboto, Arial, sans-serif; --gs-font-body: Lato, 'Open Sans', Arial, sans-serif; --gs-head-weight: 700; --gs-title-bar: 0px; --gs-btn-radius: 4px; }
.gs-style-diplomat{ --gs-font-head: 'Playfair Display', Georgia, serif; --gs-font-body: Lora, Georgia, serif; --gs-head-weight: 700; --gs-title-bar: 2px; --gs-btn-radius: 0; }
.gs-style-level{ --gs-font-head: Montserrat, Arial, sans-serif; --gs-font-body: Merriweather, Georgia, serif; --gs-head-weight: 700; --gs-head-tt: uppercase; --gs-head-ls: .04em; --gs-text-size: 11.5pt; --gs-title-bar: 6px; --gs-btn-radius: 0; }
.gs-style-impression{ --gs-font-head: Raleway, Arial, sans-serif; --gs-font-body: Raleway, Arial, sans-serif; --gs-head-weight: 500; --gs-title-bar: 0px; --gs-btn-radius: 24px; }
/* «Стиль шрифта» в настройках — поверх стиля темы */
.gs-font-sans{ --gs-font-head: Roboto, Arial, sans-serif; --gs-font-body: 'Open Sans', Arial, sans-serif; --gs-head-tt: none; }
.gs-font-serif{ --gs-font-head: 'Playfair Display', Georgia, serif; --gs-font-body: Lora, Georgia, serif; --gs-head-weight: 700; }   /* регистр заголовков — как у стиля (у Vision прописные, как у museum. на Google) */
.gs-font-light{ --gs-font-head: Raleway, Arial, sans-serif; --gs-font-body: Raleway, Arial, sans-serif; --gs-head-weight: 400; }
.gs-font-geo{ --gs-font-head: Montserrat, Arial, sans-serif; --gs-font-body: Montserrat, Arial, sans-serif; }

.gs *, .gs *::before, .gs *::after{ box-sizing: border-box; }
.gs img{ max-width: 100%; height: auto; }
.gs a{ color: var(--gs-link); }
.gs a:focus-visible, .gs button:focus-visible, .gs input:focus-visible, .gs summary:focus-visible{ outline: 3px solid var(--gs-focus); outline-offset: 2px; }
.sr-only{ position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link{ position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: #ffdd00; color: #0b0c0c; font-weight: 700; text-decoration: underline; border: 2px solid #0b0c0c; outline: 2px solid #fff; }
.skip-link:focus{ top: 12px; }

/* ---- Баннер с объявлением ---- */
.gs-announce{ position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 10px 56px; background: var(--gs-accent); color: var(--gs-btn-text); text-align: center; font-size: 15px; }
.gs-announce[hidden]{ display: none; }
.gs-announce__text{ margin: 0; }
.gs-announce__btn{ padding: 6px 14px; border: 1px solid currentColor; border-radius: var(--gs-btn-radius); color: inherit !important; text-decoration: none; font-weight: 600; }
.gs-announce__close{ position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: inherit; font-size: 18px; cursor: pointer; }

/* ---- Каркас: меню сбоку ---- */
.gs-shell{ display: grid; grid-template-columns: var(--gs-nav-w) minmax(0, 1fr); align-items: start; }
.gs-nav-top .gs-shell{ display: block; }
.gs-side{ position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--gs-nav-bg); border-right: 1px solid color-mix(in srgb, var(--gs-nav) 25%, transparent); padding: 62px 0 32px; }
.gs-style-vision .gs-side{ border-right: 0; padding-top: 20px; }
.gs-main{ min-width: 0; }

/* название и логотип */
.gs-brand{ text-align: center; }
.gs-brand__logo{ display: inline-block; }
.gs-brand__logo img{ display: block; height: 36px; width: auto; margin: 0 auto; }
.gs-brand__title{ display: block; padding: 8px 21.5px 0; font-family: var(--gs-font-head); font-size: 20pt; font-weight: var(--gs-head-weight); text-transform: var(--gs-head-tt); letter-spacing: 1px; line-height: normal; color: var(--gs-heading) !important; text-decoration: none; }
.gs-side .gs-brand::after{ content: ""; display: block; width: 212px; margin: 27px auto 30px; border-bottom: 1px solid currentColor; color: var(--gs-heading); }
.gs-style-vision .gs-side .gs-brand{ display: none; }   /* у Vision в меню только пункты (название — в шапке) */

/* пункты меню (сбоку) */
.gs-menu, .gs-menu__sub{ list-style: none; margin: 0; padding: 0; }
.gs-menu__row{ position: relative; display: flex; align-items: flex-start; }
.gs-nav--side .gs-menu__row > a{ display: block; flex: 1; padding: 8px 12px 8px 40px; font-family: var(--gs-font-nav); font-size: var(--gs-nav-size); line-height: 1.58; color: var(--gs-nav); text-decoration: none; }
.gs-nav--side .gs-menu__row > a:hover, .gs-nav--side .is-current > .gs-menu__row > a{ color: var(--gs-nav-active); }
.gs-nav--side .gs-menu__sub{ display: none; margin-left: 20px; }
.gs-nav--side .is-open > .gs-menu__sub{ display: block; }
.gs-menu__toggle{ position: absolute; left: 12px; top: 8px; width: 24px; height: 25px; padding: 0; border: 0; background: none; color: var(--gs-nav); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gs-menu__toggle::before{ content: ""; width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }   /* как у Google: свёрнут — вниз, раскрыт — вверх */
.is-open > .gs-menu__row > .gs-menu__toggle::before{ margin-top: 3px; transform: rotate(-135deg); }
/* Vision: пункты Open Sans 16 px, текущий — метка «белым на чёрном» только по тексту пункта */
.gs-style-vision .gs-nav--side .gs-menu__row{ margin: 2px 0; }
.gs-style-vision .gs-nav--side .gs-menu__row > a{ padding: 4px 12px 4px 40px; font-size: 16px; line-height: 1.4; }
.gs-style-vision .gs-nav--side .is-current > .gs-menu__row > a{ display: inline-block; flex: 0 1 auto; margin: 4px 0 4px 34px; padding: 0 6px; font-weight: 600; background: var(--gs-nav-active-bg); color: var(--gs-nav-active); }
.gs-nav--side .is-current > .gs-menu__row > a{ background-color: var(--gs-nav-active-bg); }

/* ---- Верхняя полоса: на компьютере при меню сбоку — только значки справа (как у Google), при меню сверху — шапка сайта ---- */
.gs-topbar{ position: absolute; top: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 4px; padding: 12px 16px; }
.gs-topbar__title, .gs-burger{ display: none; }
.gs-tools{ display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gs-search-btn, .gs-tools .a11y-quick{ display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--gs-ink); cursor: pointer; }
.gs-over-img .gs-search-btn, .gs-over-img .gs-tools .a11y-quick{ color: #fff; }   /* поверх картинки шапки — белым, как у Google */
.gs-search-btn:hover, .gs-tools .a11y-quick:hover{ background: rgba(255,255,255,.15); }
.gs-tools .a11y-quick{ display: none; }
.gs-search{ position: absolute; right: 16px; top: 12px; display: flex; align-items: center; gap: 4px; width: min(640px, calc(100vw - 32px)); padding: 4px 4px 4px 16px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.gs-search[hidden]{ display: none; }
.gs-search input{ flex: 1; min-width: 0; height: 40px; border: 0; font: inherit; font-size: 16px; color: #202124; background: none; }
.gs-search input:focus-visible{ outline: none; }
.gs-search button{ width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #5f6368; cursor: pointer; font-size: 16px; }
/* меню сверху: шапка сайта с названием, пунктами и значками */
.gs-nav-top .gs-topbar{ position: sticky; display: flex; gap: 24px; padding: 0 24px; min-height: 64px; background: var(--gs-nav-bg); border-bottom: 1px solid color-mix(in srgb, var(--gs-nav) 20%, transparent); }
.gs-nav-top .gs-brand{ display: flex; align-items: center; gap: 10px; text-align: left; }
.gs-nav-top .gs-brand__logo img{ height: 40px; }
.gs-nav-top .gs-brand__title{ padding: 0; font-size: 16pt; letter-spacing: 0; }
.gs-nav--top{ flex: 1; display: flex; justify-content: flex-end; }
.gs-nav--top > .gs-menu{ display: flex; flex-wrap: wrap; justify-content: flex-end; }
.gs-nav--top .gs-menu__item{ position: relative; }
.gs-nav--top .gs-menu__row > a{ display: block; padding: 20px 12px; font-family: var(--gs-font-nav); font-size: 11pt; color: var(--gs-nav); text-decoration: none; white-space: nowrap; }
.gs-nav--top .gs-menu__row > a:hover, .gs-nav--top .is-current > .gs-menu__row > a{ color: var(--gs-nav-active); box-shadow: inset 0 -3px 0 var(--gs-accent); }
.gs-nav--top .gs-menu__toggle{ position: static; order: 2; width: 20px; height: auto; align-self: stretch; margin-left: -8px; }
.gs-nav--top .gs-menu__sub{ position: absolute; left: 0; top: 100%; z-index: 40; display: none; min-width: 240px; padding: 8px 0; background: var(--gs-nav-bg); box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.gs-nav--top .gs-menu__sub .gs-menu__row > a{ padding: 10px 16px; white-space: normal; }
.gs-nav--top .gs-menu__sub .gs-menu__sub{ left: 100%; top: 0; }
.gs-nav--top .gs-menu__item:hover > .gs-menu__sub, .gs-nav--top .gs-menu__item:focus-within > .gs-menu__sub, .gs-nav--top .gs-menu__item.is-dropped > .gs-menu__sub{ display: block; }
.gs-nav-top .gs-search-btn, .gs-nav-top .gs-tools .a11y-quick{ color: var(--gs-nav); }

/* ---- Шапка страницы: обложка / большой баннер / баннер / только название ---- */
.gs-banner{ position: relative; display: flex; align-items: center; min-height: var(--gs-banner-h); padding: 50px 0; background: var(--gs-banner-overlay) var(--gs-banner-img, none) center / cover no-repeat; color: var(--gs-banner-text); }
.gs-banner--img::before{ content: ""; position: absolute; inset: 0; background: var(--gs-banner-overlay); opacity: var(--gs-banner-op, .5); }
.gs-banner--cover{ min-height: 100vh; }
.gs-banner--large{ min-height: 508px; padding: 120px 0; }
.gs-banner--title{ min-height: 0; padding: 24px 0; }   /* «Только название»: узкая полоса с картинкой (Vision: 126 px, 38pt) */
.gs-banner--title:not(.gs-banner--img){ padding: 56px 0 8px; background: none; color: var(--gs-heading); }
.gs-banner__in{ position: relative; width: 100%; max-width: var(--gs-max); margin: 0 auto; padding: 0 var(--gs-pad-x); display: grid; grid-template-columns: 2fr 8fr 2fr; align-items: center; gap: 24px; }
.gs-banner--title .gs-banner__in{ display: block; }
.gs-banner__title{ grid-column: 2; margin: 0; font-family: var(--gs-font-head); font-size: var(--gs-title-banner); font-weight: var(--gs-head-weight); text-transform: var(--gs-head-tt); letter-spacing: var(--gs-head-ls); line-height: 1.26; text-align: center; color: inherit; overflow-wrap: break-word; }
.gs-banner--cover .gs-banner__title{ font-size: var(--gs-title-cover); }
.gs-banner--large .gs-banner__title{ font-size: var(--gs-title-large); line-height: 1.2; }
.gs-banner--title .gs-banner__title{ font-size: var(--gs-title-only); }
.gs-banner--title:not(.gs-banner--img) .gs-banner__title{ text-align: left; }
.gs-banner__title::after{ content: ""; display: block; width: 100px; margin: 18px auto 0; border-bottom: var(--gs-title-bar) solid var(--gs-accent); }
.gs-banner--title .gs-banner__title::after{ display: none; }
.gs-style-vision .gs-banner__in{ grid-template-columns: 1fr; }
.gs-style-vision .gs-banner__title{ grid-column: 1; }
/* Vision: под заголовком шапки — полоса акцентного цвета на всю ширину (metod., museum. на Google) */
.gs-style-vision .gs-banner:not(.gs-banner--title) .gs-banner__title::after{ width: 100%; margin: 20px 0 0; border-bottom-width: 6px; }
.gs-banner__btn{ grid-column: 2; text-align: center; }
.gs-banner__btn .gs-btn{ display: inline-flex; min-width: 180px; }
.gs-banner__logo{ grid-column: 3; grid-row: 1; }
.gs-banner__logo img{ display: block; width: 100%; height: auto; }

/* ---- Содержимое: секции, ряды, колонки (сетка Google из 12) ---- */
.gs-content{ display: block; font-size: var(--gs-text-size); line-height: var(--gs-text-lh); color: var(--gs-ink); }
.gs-sec{ position: relative; padding: var(--gs-sec-pad) 0; background-position: center; background-size: cover; }
.gs-sec--s2{ background-color: var(--gs-sec2-bg); }
.gs-sec--s3{ background-color: var(--gs-sec3-bg); color: var(--gs-sec3-text); }
.gs-sec--s3 a, .gs-sec--s3 .gs-text h1, .gs-sec--s3 .gs-text h2, .gs-sec--s3 .gs-text h3{ color: inherit; }
.gs-sec--img::before{ content: ""; position: absolute; inset: 0; background: var(--gs-page-bg); opacity: .5; }
.gs-sec--img.gs-ov-0::before{ opacity: 0; }
.gs-sec--img.gs-ov-100::before{ opacity: 1; }
.gs-sec__in{ position: relative; max-width: var(--gs-max); margin: 0 auto; padding: 0 var(--gs-pad-x); }
.gs-row{ display: flex; margin: 0 -12px; }
.gs-row--rev{ flex-direction: row-reverse; }
.gs-col{ padding: 0 12px; min-width: 0; }
.gs-col--img{ display: flex; align-items: center; justify-content: center; }
.gs-sec__in > * + *, .gs-col > * + *{ margin-top: 8px; }
.gs-image + .gs-btn-wrap{ margin-top: 23px !important; }

/* текст */
.gs-text{ padding: 8px; overflow-wrap: break-word; }
.gs-text p{ margin: 16px 0 0; }
.gs-text > :first-child{ margin-top: 0; }
.gs-text h1, .gs-text h2, .gs-text h3, .gs-text h4{ font-family: var(--gs-font-head); font-weight: var(--gs-head-weight); text-transform: var(--gs-head-tt); letter-spacing: var(--gs-head-ls); color: var(--gs-heading); border: 0; padding: 0; }
.gs-text h2{ font-size: 18pt; line-height: 1.4; margin: 20px 0 0; }
.gs-text h3{ font-size: 14pt; line-height: 1.5; margin: 18px 0 0; }
.gs-text h4{ font-size: 12pt; margin: 16px 0 0; }
.gs-text .gs-title{ font-size: 26pt; font-weight: 700; line-height: 1.5; margin: 28px 0 0; }
.gs-text .gs-heading{ font-size: 18pt; font-weight: 700; line-height: 1.56; margin: 20px 0 0; }
.gs-text .gs-subheading{ font-size: 13pt; font-weight: 700; line-height: 1.63; letter-spacing: 1px; margin: 18px 0 0; }
.gs-style-vision .gs-text .gs-title{ font-size: 38pt; font-weight: 400; line-height: 1.23; }
.gs-style-vision .gs-text .gs-heading{ font-size: 29pt; font-weight: 400; line-height: 1.42; }
.gs-style-vision .gs-text .gs-subheading{ font-family: 'Open Sans', Arial, sans-serif; font-size: 18pt; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--gs-accent); }
.gs-text ul, .gs-text ol{ margin: 16px 0 0; padding-left: 40px; }
.gs-text li{ margin: 0; }
.gs-text a{ color: var(--gs-link); text-decoration: underline; }
.gs-text a[style*="inherit"]{ text-decoration: none; }
.gs-text table{ border-collapse: collapse; max-width: 100%; }
.gs-text td, .gs-text th{ border: 1px solid #dadce0; padding: 6px 8px; vertical-align: top; }
.gs-text img{ max-width: 100%; height: auto; }
/* текст не из конструктора (перенесён с другой темы): картинки без своего размера — не шире 420 px, как было в metod */
.gs-sec--auto .gs-text img:not([width]){ max-width: min(420px, 100%) !important; }   /* у картинок metod свой style="max-width:100%" */
.gs-text figure{ margin: 16px 0 0; }

/* кнопки */
.gs-btn-wrap{ margin: 0; padding: 0; }
.gs a.gs-btn, .gs button.gs-btn{ display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 12px; background: var(--gs-btn-bg); border: 1px solid var(--gs-btn-border); border-radius: var(--gs-btn-radius); color: var(--gs-btn-text); font: inherit; font-size: 12pt; line-height: 22px; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease, filter .15s; }
.gs a.gs-btn:hover, .gs button.gs-btn:hover{ filter: brightness(.96); box-shadow: 0 1px 3px rgba(0,0,0,.25); color: var(--gs-btn-text); }
.gs-style-vision a.gs-btn{ font-size: 13pt; }

/* картинки */
.gs-image{ margin: 0; }
.gs-image img{ display: block; width: 100%; height: auto; margin: 0; }
.gs-image--round{ width: 100%; max-width: 228px; }
.gs-image--round img{ aspect-ratio: 1; object-fit: cover; border-radius: 50%; }

/* разделитель, пустое место, свёрнутый текст, оглавление, соцсети */
.gs-divider{ height: 0; margin: 16px 8px; border: 0; border-top: 3px solid var(--gs-accent); }
.gs-style-aristotle .gs-divider{ border-top-width: 1px; border-top-color: #dadce0; }
.gs-spacer{ display: block; }
.gs-collapse{ margin: 8px; border-bottom: 1px solid #dadce0; }
.gs-collapse > summary{ position: relative; padding: 12px 40px 12px 0; font-family: var(--gs-font-head); font-weight: var(--gs-head-weight); font-size: 14pt; color: var(--gs-heading); cursor: pointer; list-style: none; }
.gs-collapse > summary::-webkit-details-marker{ display: none; }
.gs-collapse > summary::after{ content: ""; position: absolute; right: 12px; top: 50%; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.gs-collapse[open] > summary::after{ transform: translateY(-25%) rotate(-135deg); }
.gs-collapse__body{ padding: 0 0 16px; }
.gs-collapse__body > :first-child{ margin-top: 0; }
.gs-toc{ margin: 8px; padding: 12px 16px; border-left: 3px solid var(--gs-accent); }
.gs-toc ul{ list-style: none; margin: 0; padding: 0; }
.gs-toc li{ margin: 4px 0; }
.gs-toc li.gs-toc__h3{ padding-left: 16px; }
.gs-toc a{ color: var(--gs-link); text-decoration: none; }
.gs-toc a:hover{ text-decoration: underline; }
.gs-toc__note{ margin: 0; color: #5f6368; font-size: .9em; }
.gs-social{ display: flex; flex-wrap: wrap; gap: 8px; margin: 8px; }
.gs-social a{ display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 20px; background: #f1f3f4; color: #202124 !important; text-decoration: none !important; font-size: 11pt; }
.gs-social a:hover{ background: #e8eaed; }
.gs-social__vk::before, .gs-social__tg::before{ content: ""; width: 20px; height: 20px; margin-right: 8px; border-radius: 4px; }
.gs-social__vk::before{ background: #0077ff; }
.gs-social__tg::before{ background: #29a9eb; border-radius: 50%; }

/* карусель изображений: автолистание, точки, пауза */
.gs-carousel{ position: relative; margin: 8px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.gs-carousel > figure{ position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.gs-carousel > figure.is-active{ opacity: 1; visibility: visible; transition: opacity .6s ease; }
.gs-carousel > figure img{ width: 100%; height: 100%; object-fit: cover; }
.gs-carousel figcaption{ position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 44px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: 13pt; text-align: center; }
.gs-carousel__dots{ position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; }
.gs-carousel__dots button{ width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.gs-carousel__dots button::before{ content: ""; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%; background: rgba(255,255,255,.55); }
.gs-carousel__dots button[aria-current="true"]::before{ background: #fff; }
.gs-carousel__nav{ position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.gs-carousel__nav--prev{ left: 8px; }
.gs-carousel__nav--next{ right: 8px; }
.gs-carousel__pause{ position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; font-size: 14px; }
.gs-carousel:not(.is-ready) > figure:first-child{ opacity: 1; visibility: visible; }

/* файл Диска — превью и полоса с названием (как у Google) */
.gs a.gs-file{ position: relative; display: block; overflow: hidden; background: #f1f3f4; border: 1px solid #dadce0; color: #212121; text-decoration: none; }
.gs-file__ratio{ display: block; }
.gs-file__thumb{ position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: top center; max-width: none !important; }
.gs-file__bar{ position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-top: 1px solid #dadce0; font-size: 14px; line-height: 1.3; }
.gs-file__name{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs a.gs-file:hover .gs-file__bar{ filter: brightness(.97); }
.gs-file--missing{ background: #fff !important; }
.gs-file__missing{ position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; font-size: 12px; line-height: 1.4; }
.gs-file__missing b{ font-size: 16px; font-weight: 400; margin-top: 24px; }
.gs-file__missing .gs-ico--drive{ width: 32px; height: 32px; }
.gs-ico{ flex: 0 0 auto; display: inline-block; width: 16px; height: 16px; background: url(icons/file.png) center / contain no-repeat; vertical-align: -3px; }
.gs-ico--pdf{ background-image: url(icons/pdf.png); }
.gs-ico--doc{ background-image: url(icons/doc.png); }
.gs-ico--docx{ background-image: url(icons/docx.png); }
.gs-ico--xls{ background-image: url(icons/xls.png); }
.gs-ico--xlsx{ background-image: url(icons/xlsx.png); }
.gs-ico--jpg, .gs-ico--jpeg, .gs-ico--png{ background-image: url(icons/jpg.png); }
.gs-ico--gdoc{ background-image: url(icons/gdoc.png); }
.gs-ico--kml{ background-image: url(icons/kml.png); }
.gs-ico--drive{ background-image: url(icons/drive.png); }

/* папка Диска — таблица файлов (embeddedfolderview Google) */
.gs-folder{ overflow: auto; font-family: Arial, sans-serif; color: #000; background: #fff; border: 1px solid #e0e0e0; }
.gs-folder table{ display: table; width: 100%; border-collapse: collapse; table-layout: fixed; }
.gs-folder th, .gs-folder td{ border: 0; border-bottom: 1px solid #ddd; padding: 10px 5px 7px; vertical-align: middle; text-align: left; }
.gs-folder th{ font-size: 14px; font-weight: 400; color: #777; }
.gs-folder th:first-child{ color: #dd4b39; font-weight: 700; padding-left: 35px; text-transform: uppercase; }
.gs-folder th:last-child{ text-transform: uppercase; }
.gs-folder th:last-child, .gs-folder td:last-child{ width: 34%; }
.gs-folder td{ font-size: 13px; line-height: 1.4; }
.gs-folder__name{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-folder__name .gs-ico{ margin: 0 15px 0 5px; }
.gs-folder tbody tr:hover{ background: #eee; }
.gs .gs-folder a{ color: inherit; text-decoration: none; }
.gs .gs-folder a:hover{ color: #1155cc; }
.gs-folder--grid .gs-folder__head{ font-size: 18px; color: #777; padding: 10px 16px 16px; }
.gs-folder--grid ul{ display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; padding: 0 7px 16px; margin: 0; }
.gs-folder__tile{ width: 190px; margin-bottom: 25px; text-align: center; }
.gs-folder__tile img{ display: block; width: 100%; height: 160px; object-fit: cover; object-position: top; margin: 0 0 8px; border: 1px solid #ddd; border-radius: 3px; box-shadow: 3px 3px 0 -1px #ddd; }
.gs-folder__noth{ display: flex; align-items: center; justify-content: center; height: 160px; margin-bottom: 8px; border: 1px solid #ddd; border-radius: 3px; background: #eee; }
.gs-folder__noth .gs-ico{ width: 32px; height: 32px; }
.gs-folder__tname{ display: block; padding: 0 10px; font-size: 14px; color: #777; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* встраивание (формы, карты), видео */
.gs-embed iframe{ display: block; width: 100%; border: 0; }
.gs-video{ position: relative; aspect-ratio: 16 / 9; background: #000; }
.gs-video iframe, .gs-video video{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gs-video--gone{ display: flex; align-items: center; justify-content: center; background: #f1f3f4; color: #212121; text-align: center; padding: 16px; }
.gs-video--gone p{ margin: 0; }

/* карточки документов metod (doc-card) — как встроенный файл Google Диска: крупное превью, полоса с названием */
.gs .doc-card{ max-width: 820px; margin: 16px auto; }
.gs a.doc-card__link{ position: relative; display: flex; flex-direction: column; overflow: hidden; background: #f1f3f4; border: 1px solid #dadce0; color: #212121; text-decoration: none; }
.gs .doc-card__thumb{ display: block; max-height: 520px; overflow: hidden; background: #fff; }
.gs .doc-card__thumb img{ display: block; width: 100%; height: auto; }
.gs .doc-card__icon{ display: flex; align-items: center; justify-content: center; min-height: 220px; font-size: 28px; font-weight: 700; color: #5f6368; background: #f1f3f4; }
.gs .doc-card__body{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 16px; background: #fff; border-top: 1px solid #dadce0; font-size: 14px; }
.gs .doc-card__title{ flex: 1 1 60%; min-width: 0; font-weight: 600; }
.gs .doc-card__meta{ color: #5f6368; }
.gs .doc-card__action{ padding: 4px 12px; border: 1px solid var(--gs-btn-border); border-radius: var(--gs-btn-radius); background: var(--gs-btn-bg); color: var(--gs-btn-text); }
.gs a.doc-card__link:hover{ box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.gs video.page-video{ display: block; width: 100%; max-width: 820px; margin: 16px auto; background: #000; }

/* ---- Подвал сайта ---- */
.gs-footer{ position: relative; padding: 24px 0; background: var(--gs-footer-bg) var(--gs-footer-img, none) center / cover; color: var(--gs-footer-text); }
.gs-footer__in{ max-width: var(--gs-max); margin: 0 auto; padding: 8px calc(var(--gs-pad-x) + 8px); font-size: var(--gs-text-size); line-height: 1.56; }
.gs-footer--right .gs-footer__in{ text-align: right; }
.gs-footer--center .gs-footer__in{ text-align: center; }
.gs-footer__in p{ margin: 0; }
.gs-footer a{ color: inherit; text-decoration: underline; }

/* ---- Поиск (страница результатов) ---- */
.gs-search-page{ display: flex; gap: 8px; max-width: 640px; margin: 0 0 16px; }
.gs-search-page input{ flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #dadce0; border-radius: 4px; font: inherit; }
.gs-search-page .gs-btn{ min-width: 100px; }
.gs-results{ padding-left: 24px; }
.gs-results li{ margin: 0 0 16px; }
.gs-results a{ font-size: 1.15em; }
.gs-results p{ margin: 4px 0 0; color: #5f6368; }
.gs-results mark{ background: #fff3a0; color: inherit; }

/* ---- Планшет и телефон ---- */
@media (max-width: 1100px){
  .gs{ --gs-pad-x: 36px; }
  .gs-banner__title{ font-size: calc(var(--gs-title-banner) * .85); }
  .gs-banner--large .gs-banner__title, .gs-banner--cover .gs-banner__title{ font-size: calc(var(--gs-title-large) * .8); }
  .gs-banner__in{ grid-template-columns: 1fr 8fr 2fr; }
}
@media (max-width: 1024px){
  .gs-nav-top .gs-topbar{ gap: 12px; padding: 0 12px; }
  .gs-nav-top .gs-nav--top{ display: none; }
  .gs-nav-top .gs-burger{ display: flex; }
}
@media (max-width: 880px){
  .gs-shell{ display: block; }
  .gs-topbar{ position: sticky; top: 0; z-index: 100; display: flex; min-height: 56px; padding: 4px 8px; background: var(--gs-nav-bg); border-bottom: 1px solid color-mix(in srgb, var(--gs-nav) 20%, transparent); }
  .gs-topbar__title{ display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--gs-font-head); font-weight: var(--gs-head-weight); text-transform: var(--gs-head-tt); font-size: 14pt; color: var(--gs-heading) !important; text-decoration: none; }
  .gs-burger{ display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--gs-heading); cursor: pointer; }
  .gs-burger span, .gs-burger span::before, .gs-burger span::after{ display: block; width: 22px; height: 2px; background: currentColor; }
  .gs-burger span{ position: relative; }
  .gs-burger span::before, .gs-burger span::after{ content: ""; position: absolute; left: 0; }
  .gs-burger span::before{ top: -7px; }
  .gs-burger span::after{ top: 7px; }
  .gs .gs-search-btn, .gs .gs-tools .a11y-quick{ display: flex; color: var(--gs-heading); }
  .gs-search-btn:hover, .gs-tools .a11y-quick:hover{ background: rgba(0,0,0,.06); }
  .gs .gs-tools .a11y-quick.active{ background: var(--gs-heading); color: var(--gs-nav-bg); }
  /* меню — выезжает слева целиком */
  .gs-side, .gs-nav-top .gs-nav--top{ position: fixed; inset: 0 auto 0 0; z-index: 120; display: block; width: min(86vw, 320px); height: 100vh; height: 100dvh; padding: 24px 0; overflow-y: auto; background: var(--gs-nav-bg); transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: none; }
  .gs-nav-open .gs-side, .gs-nav-open.gs-nav-top .gs-nav--top{ transform: none; visibility: visible; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); transition: transform .25s ease, visibility 0s; }
  .gs-nav-top .gs-nav--top > .gs-menu{ display: block; }
  .gs-nav-top .gs-nav--top .gs-menu__row > a{ padding: 10px 16px 10px 40px; white-space: normal; box-shadow: none !important; }
  .gs-nav-top .gs-nav--top .gs-menu__toggle{ position: absolute; left: 12px; top: 10px; height: 25px; margin: 0; }
  .gs-nav-top .gs-nav--top .gs-menu__sub{ position: static; display: none; min-width: 0; padding: 0; margin-left: 20px; box-shadow: none; }
  .gs-nav-top .gs-nav--top .is-open > .gs-menu__sub{ display: block; }
  .gs-nav-top .gs-nav--top .gs-menu__item:hover > .gs-menu__sub{ display: none; }
  .gs-nav-top .gs-nav--top .gs-menu__item.is-open:hover > .gs-menu__sub{ display: block; }
  body.gs-nav-open{ overflow: hidden; }
  .gs-style-vision .gs-side .gs-brand{ display: block; }
  .gs-search{ right: 8px; top: 8px; }
  .gs-banner--cover{ min-height: calc(100vh - 56px); }
}
@media (max-width: 767px){
  .gs{ --gs-pad-x: 16px; }
  .gs-banner{ min-height: 0; padding: 40px 0; }
  .gs-banner--large{ padding: 64px 0; min-height: 0; }
  .gs-banner--title{ padding: 32px 0 8px; }
  .gs-banner__in{ display: block; }
  .gs-banner__title, .gs-banner--large .gs-banner__title, .gs-banner--cover .gs-banner__title{ font-size: clamp(26px, 8vw, 40px); }
  .gs-banner--title .gs-banner__title{ font-size: clamp(24px, 7vw, 32px); }
  .gs-banner__btn{ margin-top: 20px; }
  .gs-banner__logo{ width: 120px; margin: 20px auto 0; }
  .gs-row{ display: block; margin: 0; }
  .gs-col{ width: auto !important; padding: 0; }
  .gs-col + .gs-col{ margin-top: 8px; }
  .gs-col--empty{ display: none; }
  .gs-text p[style*="justify"]{ text-align: left !important; }
  .gs-text ul, .gs-text ol{ padding-left: 24px; }
  .gs-text .gs-title{ font-size: 22pt; }
  .gs-style-vision .gs-text .gs-title{ font-size: 28pt; }
  .gs-style-vision .gs-text .gs-heading{ font-size: 21pt; }
  .gs-embed--form iframe{ height: 1100px !important; }
  .gs-text table{ display: block; overflow-x: auto; }
  .gs-announce{ padding: 10px 48px 10px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce){
  .gs *, .gs *::before, .gs *::after{ transition: none !important; animation: none !important; }
}
@media print{
  .gs-side, .gs-topbar, .gs-announce{ display: none !important; }
  .gs-shell{ display: block; }
}

/* записи разделов (lib/entries.php) — цвета темы */
.gs{ --cms-accent: var(--gs-link); --cms-heading: var(--gs-heading); --cms-text: var(--gs-ink); --cms-radius: var(--gs-btn-radius); --cms-card-bg: var(--gs-page-bg); }
.gs .cms-card__title{ font-family: var(--gs-font-head); font-weight: var(--gs-head-weight); text-transform: var(--gs-head-tt); }

/* Спойлеры из других тем (основной сайт: .sveden-details/.ddut-spoiler; «Методслужба»: details.spoiler) — как «Свёрнутый текст» Google */
.gs :is(details.sveden-details, details.spoiler){ margin: 8px 0; border-bottom: 1px solid #dadce0; }
.gs :is(details.sveden-details, details.spoiler) > summary{ position: relative; padding: 12px 40px 12px 0; font-family: var(--gs-font-head); font-weight: var(--gs-head-weight); font-size: 14pt; line-height: 1.35; color: var(--gs-heading); cursor: pointer; list-style: none; }
.gs :is(details.sveden-details, details.spoiler) > summary::-webkit-details-marker{ display: none; }
.gs :is(details.sveden-details, details.spoiler) > summary::after{ content: ""; position: absolute; right: 12px; top: 50%; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.gs :is(details.sveden-details, details.spoiler)[open] > summary::after{ transform: translateY(-25%) rotate(-135deg); }
.gs :is(.ddut-spoiler-body, .spoiler__body){ padding: 0 0 16px; }
.gs :is(.ddut-spoiler-body, .spoiler__body) > :first-child{ margin-top: 0; }
.gs :is(.ddut-spoiler-body, .spoiler__body) > :last-child{ margin-bottom: 0; }
.gs :is(.ddut-spoiler-body, .spoiler__body) table{ display: block; max-width: 100%; overflow-x: auto; }

/* ---- Подвал прижат к низу окна на коротких страницах (28.10) ----
   body — колонка, .gs-shell растягивается; в правой колонке (.gs-main: страница + подвал) страница занимает всё лишнее место.
   Меню сбоку остаётся липким (align-self: start). */
@media screen{
  body.gs{ display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
  .gs-shell{ flex: 1 0 auto; width: 100%; align-items: stretch; }
  .gs-side{ align-self: start; }
  .gs-main{ display: flex; flex-direction: column; }
  .gs-content{ flex: 1 0 auto; }
  .gs-nav-top .gs-shell{ display: flex; flex-direction: column; }
  .gs-nav-top .gs-main{ flex: 1 0 auto; }
}
@media screen and (max-width: 880px){
  .gs-shell{ display: flex; flex-direction: column; }
  .gs-main{ flex: 1 0 auto; }
}
