/* Новая главная ERKETAI.KZ (2026) — стили только для body.erk. Макет v2, размеры под экран 1440px */
.erk {
	--navy: #1b2a7a;
	--navy-btn: #12296b;
	--ink: #2f3b66;
	--muted: #6d7899;
	--line: #e5ecf6;
	--bg: #f5f8fd;
	--teal: #17a2a5;
	--teal-2: #1fb8b3;
	--blue: #1f63e0;
	--radius: 16px;
	--shadow: 0 6px 24px rgba(27, 42, 122, .07);
	--shadow-h: 0 14px 34px rgba(27, 42, 122, .13);
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 15px/1.5 Montserrat, "Segoe UI", Arial, sans-serif;
}
.erk *, .erk *::before, .erk *::after { box-sizing: border-box; }
/* внутренние страницы (старые шаблоны) — светлый фон под новую шапку */
body.erk-inner { margin: 0; background: #f5f8fd; }
body.erk-inner #wrapper { display: block; padding-top: 24px; }
.erk :where(a) { color: inherit; text-decoration: none; }
/* старый style.css задаёт a:hover оранжевым — фиксируем цвета ссылок-кнопок при наведении */
.erk .erk-btn--teal:hover, .erk .erk-btn--navy:hover { color: #fff; }
.erk .erk-more:hover, .erk .erk-how:hover, .erk .erk-footer__legal a:hover { color: var(--blue); }
.erk .erk-logo:hover { color: inherit; }
.erk a { transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.erk :where(h1, h2, h3, h4, p, ul) { margin: 0; padding: 0; }
.erk :where(ul) { list-style: none; }
.erk :where(button, input, select) { font: inherit; color: inherit; }
.erk .ei { width: 20px; height: 20px; flex: none; }
.erk-wrap { max-width: 1416px; margin: 0 auto; padding: 0 24px; }

/* Кнопки */
.erk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 28px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.erk-btn .ei { width: 17px; height: 17px; transition: transform .2s; }
.erk-btn:hover .ei { transform: translateX(3px); }
.erk-btn--teal { background: linear-gradient(90deg, var(--teal-2), var(--teal)); color: #fff; box-shadow: 0 8px 20px rgba(23, 162, 165, .28); }
.erk-btn--teal:hover { box-shadow: 0 10px 26px rgba(23, 162, 165, .4); transform: translateY(-1px); }
.erk-btn--navy { background: var(--navy-btn); color: #fff; }
.erk-btn--navy:hover { background: #0c1f55; }
.erk-btn--line { height: 42px; width: 100%; border-color: #4f86ee; color: var(--blue); font-size: 14px; border-radius: 10px; }
.erk-btn--line:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.erk-btn--glass { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); }
.erk-btn--glass:hover { background: #fff; color: var(--navy); }
.erk-go { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #dbe5f5; background: #fff; color: var(--blue); transition: background .2s, color .2s, border-color .2s; }
.erk-go .ei { width: 15px; height: 15px; }

/* Цветные квадраты с иконками */
.erk-sq { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; }
.erk-sq .ei { width: 26px; height: 26px; }
.erk-sq.is-pink { background: #fde9ef; color: #ef4f7d; }
.erk-sq.is-violet { background: #f2eafd; color: #8a4fe6; }
.erk-sq.is-sky { background: #e7f0fd; color: #2b78ee; }
.erk-sq.is-amber { background: #fff4d8; color: #f5ae0c; }
.erk-sq.is-teal { background: #e0f5f3; color: #16a39f; }
.erk-sq.is-blue { background: #e8f0fd; color: #2369e8; }
.erk-sq.is-solid { width: 50px; height: 50px; border-radius: 12px; color: #fff; }
.erk-sq.is-solid.is-blue { background: linear-gradient(135deg, #3d8bff, #1f63e0); }
.erk-sq.is-solid.is-navy { background: #13296b; }
.erk-sq.is-solid.is-teal { background: linear-gradient(135deg, #22c0b8, #139a9c); }

/* Логотип */
.erk-logo { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.erk-logo__mark { display: block; width: auto; height: 42px; }
.erk-logo__text b { display: block; font-size: 24px; line-height: 1; font-weight: 800; color: #0B2D5B; letter-spacing: .1px; }
.erk-logo__text i { font-style: normal; color: #0EA5A0; }
.erk-logo__text small { display: block; margin-top: 5px; font-size: 8.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: #0B2D5B; white-space: nowrap; }

/* Шапка */
.erk-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.erk-header__in { display: flex; align-items: center; gap: 20px; height: 72px; }
.erk-nav { display: flex; align-items: center; gap: 24px; margin: 0 auto; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.erk-nav__top { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 25px 0; transition: color .2s; }
.erk-nav__top .ei { display: none; }
.erk-nav__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s; }
.erk-nav__item:hover .erk-nav__top, .erk-nav__item:focus-within .erk-nav__top { color: var(--blue); }
.erk-nav__item:hover .erk-nav__top::after { transform: scaleX(1); }
.erk-nav__toggle { display: none; }
.erk-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(27, 42, 122, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; white-space: normal; }
.erk-nav__item:hover .erk-mega, .erk-nav__item:focus-within .erk-mega { opacity: 1; visibility: visible; transform: none; }
.erk-mega__in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.erk-mega__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-right: 24px; border-right: 1px solid var(--line); }
.erk-mega__head b { font-size: 24px; font-weight: 700; color: var(--navy); }
.erk-mega__list { columns: 3; column-gap: 24px; }
.erk-mega__list.is-wide { columns: 4; }
.erk-mega__list li { break-inside: avoid; }
.erk-mega__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--navy); transition: background .15s, color .15s; }
.erk-mega__list a:hover { background: #eef4fd; color: var(--blue); }
.erk-mega__list small { flex: none; min-width: 28px; padding: 1px 7px; border-radius: 10px; background: #eef3fa; font-size: 11.5px; color: var(--muted); text-align: center; }
.erk-mega__list a:hover small { background: #fff; color: var(--blue); }
.erk-header__tools { display: flex; align-items: center; gap: 18px; }
.erk-city { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; cursor: pointer; font-weight: 500; font-size: 13.5px; color: var(--navy); transition: border-color .2s; }
.erk-city:hover { border-color: #b9cdf0; }
.erk-city .ei { width: 16px; height: 16px; }
.erk-city .ei:last-child { width: 12px; height: 12px; }
.erk-lang { display: flex; gap: 4px; font-size: 13.5px; font-weight: 700; }
.erk-lang a { display: grid; place-items: center; min-width: 36px; height: 32px; border-radius: 8px; color: #8d97b5; transition: background .2s, color .2s; }
.erk-lang a:hover { color: var(--navy); background: #eef3fb; }
.erk-lang a.is-active { color: var(--navy); background: #e8effb; }
.erk-header__login { height: 44px; padding: 0 28px; font-size: 14px; border-radius: 10px; }
.erk-burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: #eef3fb; color: var(--navy); cursor: pointer; }
.erk-burger .ei { width: 22px; height: 22px; margin: auto; }

/* Первый экран */
.erk-hero { position: relative; overflow: hidden; min-height: 400px; background: linear-gradient(90deg, #eef5fd 0%, #e9f2fc 40%, #dceaf8 100%); }
.erk-hero__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.erk-hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #e9f2fc 0%, rgba(233, 242, 252, .7) 14%, rgba(233, 242, 252, 0) 38%); }
.erk-hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.erk-hero__doodle { position: absolute; z-index: 1; right: max(24px, calc((100vw - 1416px) / 2 + 24px)); top: 14px; width: 290px; height: auto; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35)); }
.erk-hand { font: 500 30px Caveat, "Segoe Print", cursive; fill: #fff; }
.erk-hand-html { font: 500 29px/1.05 Caveat, "Segoe Print", cursive; color: #fff; }
.erk-hero__in { position: relative; z-index: 2; padding-top: 34px; padding-bottom: 30px; }
.erk-hero h1 { font-size: 46px; line-height: 1.1; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.erk-hero h1 span { color: #0b85ad; }
.erk-hero__lead { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.erk-search { display: flex; align-items: center; width: 880px; max-width: 100%; height: 56px; margin-top: 24px; padding: 0 4px 0 0; background: #fff; border-radius: 30px; box-shadow: 0 10px 30px rgba(27, 42, 122, .12); }
.erk-search label { display: flex; align-items: center; gap: 14px; }
.erk-search__q { flex: 1; min-width: 0; padding: 0 22px 0 26px; color: var(--navy); }
.erk-search__q input { width: 100%; height: 48px; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.erk-search__q input::placeholder { color: #8892ae; }
.erk-search__city { height: 34px; padding: 0 16px 0 24px; border-left: 1px solid var(--line); color: var(--navy); }
.erk-search__city .ei { width: 17px; height: 17px; }
.erk-search__city select { height: 34px; border: 0; outline: 0; background: none; font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; }
.erk-search .erk-btn { min-width: 170px; height: 48px; border-radius: 26px; }
.erk-popular { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.erk-popular a { display: inline-flex; align-items: center; height: 40px; padding: 0 24px; border-radius: 22px; background: #fff; border: 1px solid #dfe7f3; box-shadow: 0 2px 8px rgba(27, 42, 122, .05); font-size: 14px; font-weight: 500; color: var(--navy); transition: border-color .2s, color .2s, box-shadow .2s; }
.erk-popular a:hover { border-color: var(--teal); color: var(--teal); box-shadow: 0 4px 12px rgba(23, 162, 165, .15); }

/* Заглушки фото */
.erk-ph { background: linear-gradient(135deg, #e3ecf9, #d3e1f3); }
img.erk-photo { display: block; object-fit: cover; }

/* Кому: родители, педагоги, организации */
.erk-aud { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.erk-aud__card { display: flex; gap: 0; min-height: 240px; padding: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.erk-aud__photo { width: 42%; flex: none; border-radius: 18px; }
.erk-aud__photo { height: auto; min-height: 240px; align-self: stretch; }
.erk-aud__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 18px 18px 24px; }
.erk-aud__body b { margin-top: 16px; font-size: 22px; font-weight: 700; color: var(--navy); }
.erk-aud__body small { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.erk-aud__body .erk-go { margin-top: auto; align-self: flex-end; }
.erk-aud__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }

/* Заголовки секций */
.erk-sec { margin-top: 34px; }
.erk-h2 { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--navy); letter-spacing: -.3px; }
.erk-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.erk-sec__head p { margin-top: 0; font-size: 14.5px; color: var(--muted); }
.erk-sec > .erk-h2 { margin-bottom: 18px; }
.erk .erk-more { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.erk-more .ei { width: 16px; height: 16px; transition: transform .2s; }
.erk-more:hover .ei { transform: translateX(4px); }

/* Быстрые переходы */
.erk-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.erk-quick__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 118px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.erk-quick__item .ei { width: 54px; height: 54px; transition: transform .25s; }
.erk-quick__item b { font-size: 17px; font-weight: 700; color: var(--navy); }
.erk-quick__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.erk-quick__item:hover .ei { transform: scale(1.1); }
.erk-quick__item.is-blue .ei { color: #2b6fe8; }
.erk-quick__item.is-teal .ei { color: #18a3a1; }
.erk-quick__item.is-pink .ei { color: #f0567a; }
.erk-quick__item.is-sky .ei { color: #2f80f0; }
.erk-quick__item.is-amber .ei { color: #f8b81c; }

/* Сравнение школ: школы слева, текст справа */
.erk-compare { display: grid; grid-template-columns: minmax(0, 1fr) 420px; margin-top: 30px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.erk-compare__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 16px 8px 18px 16px; }
.erk-school { display: flex; flex-direction: column; padding: 0 14px; border-right: 1px solid var(--line); }
.erk-school:last-child { border-right: 0; }
.erk-school__photo { width: 100%; height: 118px; border-radius: 10px; }
img.erk-school__photo { transition: transform .4s; }
.erk-school__head { padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.erk-school h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.erk-school__rate { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--navy); }
.erk-school__rate .ei { width: 18px; height: 18px; color: #f5ae0c; }
.erk-school__rows { flex: 1; }
.erk-school__rows li { display: flex; gap: 20px; min-height: 80px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.4; }
.erk-school__rows li:last-child { border-bottom: 0; }
.erk-school__rows .ei { width: 21px; height: 21px; margin-top: 2px; color: var(--navy); }
.erk-school__rows small { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.erk-school .erk-btn--line { margin-top: 10px; }
.erk-compare__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 36px 36px 30px; background: linear-gradient(160deg, #edf4fe 0%, #f6f9ff 60%, #eaf2fd 100%); }
.erk-compare__text h2 { font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--navy); letter-spacing: -.3px; }
.erk-compare__text p { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.erk-compare__text .erk-btn--navy { margin-top: 26px; height: 54px; padding: 0 34px; }
.erk-how { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 15px; font-weight: 500; color: var(--blue); text-decoration: underline !important; text-underline-offset: 4px; }
.erk-how span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #c7d6f2; background: #fff; color: var(--navy); transition: background .2s, color .2s; }
.erk-how span .ei { width: 18px; height: 18px; margin-left: 2px; }
.erk-how:hover span { background: var(--navy); color: #fff; border-color: var(--navy); }
.erk-compare__art { width: 260px; max-width: 100%; margin: auto auto 0; padding-top: 18px; }

/* Карточки-инструменты (калькуляторы, педагоги, семья, статьи) */
.erk-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.erk-tool { display: flex; align-items: center; gap: 14px; min-height: 0; padding: 12px 14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.erk-tool__text { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.erk-tool__text b { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.erk-tool__text small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.erk-tool:hover, .erk-article:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.erk-family__card:hover { transform: translateY(-3px); }
.erk-tool:hover .erk-go, .erk-article:hover .erk-go, .erk-family__card:hover .erk-go, .erk-aud__card:hover .erk-go { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Педагогам */
.erk-teach { margin-top: 34px; }
.erk-teach__banner { position: relative; min-height: 270px; padding: 30px 40px 60px; border-radius: 20px; overflow: hidden; background: linear-gradient(90deg, #0b1d4f 0%, #10306a 45%, #17406f 100%); color: #fff; }
.erk-teach__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; height: 100%; object-position: center 18%; }
.erk-teach__banner::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: 52%; background: linear-gradient(90deg, #10306a 0%, rgba(16, 48, 106, 0) 14%); }
.erk-teach__text { position: relative; z-index: 2; max-width: 620px; }
.erk-teach__text h2 { font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -.3px; }
.erk-teach__text p { margin-top: 12px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.erk-teach__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.erk-teach__btns .erk-btn { min-width: 0; height: 56px; padding: 0 40px; font-size: 16px; }
.erk-teach__hand { position: absolute; z-index: 2; right: 36px; top: 26px; text-align: center; transform: rotate(-10deg); text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.erk-teach__hand .ei { width: 22px; height: 22px; vertical-align: -2px; }
.erk-teach__feats .erk-tool { padding: 16px 18px; }
.erk-teach__feats .erk-tool__text b { font-size: 15px; }
.erk-teach__feats .erk-tool__text small { font-size: 14px; }
.erk-teach__feats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: -40px 16px 0; }

/* Полезное для семьи */
.erk-family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.erk-family__card { display: flex; flex-direction: column; border-radius: 16px; transition: transform .25s; }
.erk-family__photo { width: 100%; height: 112px; border-radius: 16px 16px 0 0; }
.erk-family__photo[src*="family-3-v2.webp"] { object-position: center 25%; }
.erk-family__body { position: relative; display: flex; align-items: center; gap: 18px; margin-top: -18px; padding: 16px 20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); transition: box-shadow .25s; }
.erk-family__body small { font-size: 14px; }
.erk-family__card:hover .erk-family__body { box-shadow: var(--shadow-h); }

/* Статьи */
.erk-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.erk-article { display: flex; align-items: center; gap: 18px; padding: 0 18px 0 0; overflow: hidden; background: #fff; border-radius: 16px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.erk-article__photo { width: 150px; height: auto; min-height: 120px; align-self: stretch; flex: none; border-radius: 16px; }
.erk-article .erk-tool__text b { font-size: 15px; }
.erk-article .erk-tool__text small { font-size: 14px; }

/* Авторы (содержимое старой главной) */
.erk-authors details { padding: 18px 24px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.erk-authors summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 22px; cursor: pointer; list-style: none; }
.erk-authors summary::-webkit-details-marker { display: none; }
.erk-authors summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #dbe5f5; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63e0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.erk-authors details[open] summary::after { transform: rotate(180deg); }
.erk-authors__body { margin-top: 16px; columns: 4 220px; column-gap: 28px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.erk-authors__body a { color: var(--blue); }
.erk-authors__body a:hover { text-decoration: underline; }
.erk-authors__body :is(h2, h3, h4, strong) { break-after: avoid; color: var(--navy); font-size: 14.5px; }
.erk-authors__body p { margin: 0 0 8px; }

/* Футер */
.erk-footer { margin-top: 56px; background: #fff; border-top: 1px solid var(--line); }
.erk-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr .9fr 1.5fr; gap: 36px; padding-top: 40px; padding-bottom: 30px; }
.erk-footer__brand p { margin-top: 14px; max-width: 300px; font-size: 13px; color: var(--muted); }
.erk-footer h4 { margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--navy); }
.erk-footer li { margin-bottom: 7px; }
.erk-footer li a { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.erk-footer li a:hover { color: var(--blue); }
.erk-social { display: flex; gap: 10px; margin-top: 18px; }
.erk-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #eef3fb; color: var(--navy); transition: all .2s; }
.erk-social a:hover { background: var(--blue); color: #fff; }
.erk-social .ei { width: 20px; height: 20px; }
.erk-footer__sub p { font-size: 13px; color: var(--muted); }
.erk-subscribe { display: flex; gap: 8px; margin-top: 14px; }
.erk-subscribe input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; outline: 0; font-size: 14px; }
.erk-subscribe input:focus { border-color: var(--teal); }
.erk-subscribe .erk-btn { height: 46px; padding: 0 18px; font-size: 14px; }
.erk-footer__legal { padding-bottom: 18px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.erk-footer__legal a { color: var(--blue); }
.erk-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.erk-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 28px; margin-left: auto; }
.erk-footer__bottom nav a:hover { color: var(--blue); }

/* Адаптив */
@media (max-width: 1360px) {
	.erk-nav { gap: 18px; font-size: 13.5px; }
	.erk-compare { grid-template-columns: minmax(0, 1fr) 340px; }
	.erk-compare__text h2 { font-size: 26px; }
	.erk-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
	.erk-city { display: none; }
	.erk-aud__card { flex-direction: column; }
	.erk-aud__photo { width: 100%; min-height: 0; height: 170px; }
	.erk-aud__body { padding: 16px 18px 18px; }
	.erk-compare { grid-template-columns: 1fr; }
	.erk-compare__text { order: -1; }
	.erk-compare__art { display: none; }
	.erk-teach__feats { grid-template-columns: 1fr; margin-top: 16px; }
	.erk-articles, .erk-family { grid-template-columns: 1fr 1fr; }
	.erk-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.erk-footer__brand, .erk-footer__sub { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
	.erk-burger { display: grid; }
	.erk-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; max-height: calc(100vh - 72px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; }
	.erk-nav.is-open { display: flex; }
	.erk-nav__item { position: relative; border-bottom: 1px solid var(--line); }
	.erk-nav__top { display: flex; padding: 14px 44px 14px 0; font-weight: 600; }
	.erk-nav__top .ei, .erk-nav__top::after { display: none; }
	.erk-nav__toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #eef3fb; color: var(--navy); cursor: pointer; }
	.erk-nav__toggle .ei { width: 14px; height: 14px; transition: transform .2s; }
	.erk-nav__item.is-open .erk-nav__toggle .ei { transform: rotate(180deg); }
	.erk-mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
	.erk-nav__item:hover .erk-mega, .erk-nav__item:focus-within .erk-mega { display: none; }
	.erk-nav__item.is-open .erk-mega { display: block; }
	.erk-mega__in { display: block; padding: 0 0 12px; }
	.erk-mega__head { display: none; }
	.erk-mega__list, .erk-mega__list.is-wide { columns: 2; column-gap: 8px; }
	.erk-mega__list a { padding: 8px 10px; font-size: 13.5px; }
	.erk-header__tools { margin-left: auto; }
	.erk-hero__visual { width: 62%; opacity: .5; }
	.erk-hero__doodle { display: none; }
	.erk-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.erk-teach__photo, .erk-teach__banner::before, .erk-teach__hand { display: none; }
	.erk-teach__banner { padding-bottom: 34px; }
}
@media (max-width: 760px) {
	.erk-wrap { padding: 0 16px; }
	.erk-header__in { height: 64px; gap: 12px; }
	.erk-nav { top: 64px; max-height: calc(100vh - 64px); padding: 8px 16px 16px; }
	.erk-mega__list, .erk-mega__list.is-wide { columns: 1; }
	.erk-header__login { display: none; }
	.erk-header__tools { gap: 8px; }
	.erk-lang a { min-width: 32px; }
	.erk-logo__mark { width: auto; height: 36px; }
	.erk-logo__text b { font-size: 20px; }
	.erk-logo__text small { font-size: 8.5px; }
	.erk-hero__visual { display: none; }
	.erk-hero__in { padding-top: 26px; padding-bottom: 26px; }
	.erk-hero h1 { font-size: 30px; }
	.erk-hero h1 br, .erk-hero__lead br, .erk-teach__text br { display: none; }
	.erk-hero__lead { font-size: 15px; }
	.erk-search { flex-wrap: wrap; height: auto; padding: 6px; border-radius: 18px; }
	.erk-search__q { flex-basis: 100%; padding: 0 12px; }
	.erk-search__city { flex: 1; height: 46px; padding-left: 12px; border-left: 0; }
	.erk-search .erk-btn { min-width: 120px; }
	.erk-popular { gap: 8px; }
	.erk-popular a { padding: 6px 14px; font-size: 12px; }
	.erk-aud { grid-template-columns: 1fr; gap: 14px; }
	.erk-aud__card { flex-direction: row; min-height: 0; }
	.erk-aud__photo { width: 38%; min-height: 150px; }
	.erk-aud__body b { font-size: 18px; margin-top: 10px; }
	.erk-h2 { font-size: 22px; }
	.erk-sec__head { flex-wrap: wrap; align-items: flex-start; }
	.erk-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.erk-quick__item { height: 100px; }
	.erk-compare__cards { grid-template-columns: 1fr; padding: 8px 16px 16px; }
	.erk-school { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.erk-school__photo { height: 160px; }
	.erk-school__rows li { min-height: 0; }
	.erk-compare__text { padding: 24px 20px; }
	.erk-compare__text h2 { font-size: 23px; }
	.erk-tools, .erk-articles, .erk-family { grid-template-columns: 1fr; gap: 12px; }
	.erk-teach__banner { padding: 24px 20px; }
	.erk-teach__text h2 { font-size: 26px; }
	.erk-teach__text p { font-size: 15px; }
	.erk-teach__btns .erk-btn { min-width: 0; width: 100%; }
	.erk-article__photo { width: 116px; min-height: 100px; }
	.erk-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.erk-footer__bottom nav { margin-left: 0; gap: 14px; }
}
