/* Образование на странице «Обо мне» и иконки соцсетей в подвале. */
body.et-site #education{scroll-margin-top:110px}
body.et-site .education-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;margin-top:4px}
body.et-site .education-item{padding:18px 0;border-top:1px solid var(--line,#e2ddd3);min-width:0}
body.et-site .education-item strong{display:block;font-size:15px;line-height:1.45;font-weight:600;margin-bottom:6px}
body.et-site .education-item span{display:block;font-size:13px;line-height:1.65;color:#475761}
body.et-site .education-block{margin-top:40px}
body.et-site .education-block h3{font-size:22px;line-height:1.3;margin:0 0 16px}
body.et-site .education-block p{font-size:15px;line-height:1.7;margin:0 0 14px;max-width:820px}
body.et-site .training-list{columns:2;column-gap:48px;margin:0;padding:0;list-style:none}
body.et-site .training-list li{position:relative;break-inside:avoid;padding:7px 0 7px 16px;font-size:14px;line-height:1.6}
body.et-site .training-list li:before{content:"";position:absolute;left:0;top:15px;width:5px;height:5px;border-radius:50%;background:#c69744}

body.et-site .social-links{display:flex;gap:10px;margin-top:20px}
body.et-site .social-link{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #52606b;border-radius:50%;color:#e6e9e6;transition:background .2s ease,color .2s ease,border-color .2s ease}
body.et-site .social-link svg{width:17px;height:17px}
body.et-site .social-icon--fill{fill:currentColor}
body.et-site .social-icon--stroke{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.et-site .social-link:hover,body.et-site .social-link:focus-visible{background:#f5f1ea;border-color:#f5f1ea;color:#1e2b35}
body.et-site .social-link:focus-visible{outline:3px solid #f5f1ea;outline-offset:3px}

@media(prefers-reduced-motion:reduce){body.et-site .social-link{transition:none}}
@media(max-width:780px){
  body.et-site #education{scroll-margin-top:110px}
body.et-site .education-grid{grid-template-columns:1fr;gap:0}
  body.et-site .training-list{columns:1}
  body.et-site .education-block{margin-top:30px}
  body.et-site .education-block h3{font-size:20px}
}

/* «Обо мне»: фото в полный рост в первом экране, как на главной. */
body.et-site .hero--full .hero-grid{min-height:0;grid-template-columns:1fr .92fr;align-items:stretch}
body.et-site .hero--full .hero-copy{display:flex;flex-direction:column;justify-content:center;padding:60px 55px 60px 0}
body.et-site .hero--full .hero-media{position:relative;min-height:0;height:auto;aspect-ratio:894/1280;background:var(--cream,#f5f1ea)}
body.et-site .hero--full .hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0}
/* Форма записи заменена контактами. */
body.et-site .booking-contacts{display:flex;flex-direction:column;justify-content:center}
body.et-site .booking-contacts .et-direct-contacts{margin:0}
@media(max-width:1100px){body.et-site .hero--full .hero-copy{padding-right:30px}}
@media(max-width:780px){
  body.et-site .hero--full .hero-grid{grid-template-columns:1fr}
  body.et-site .hero--full .hero-copy{padding:38px 0 28px}
  body.et-site .hero--full .hero-media{aspect-ratio:894/1280}
}

/* «Обо мне»: фото ушло в первый экран — «Подход и ценности» в две колонки, как блок про организации. */
body.et-site .about-values{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:65px;align-items:start}
body.et-site .about-values .text-feature-heading{grid-column:1}
body.et-site .about-values .text-feature-copy{grid-column:2;max-width:none}
@media(max-width:780px){body.et-site .about-values{grid-template-columns:1fr;gap:24px}body.et-site .about-values .text-feature-heading,body.et-site .about-values .text-feature-copy{grid-column:1}}
/* «Обо мне»: блок приглашения в общей сетке страницы, а не в контейнере 1080. */
body.et-site[data-page="about"] .final-enquiry > .shell{width:auto;max-width:1410px;padding-inline:5.2%;margin-inline:auto;box-sizing:border-box}

/* Единая ось: FAQ, подборки статей и приглашение — в общем контейнере страницы.
   Страница статьи сохраняет узкую колонку для чтения. */
body.et-site:not([data-page=article]) .section:has(> .shell > .faq) > .shell,
body.et-site:not([data-page=article]) .section:has(> .shell > .articles-teaser) > .shell,
body.et-site:not([data-page=article]) .final-enquiry > .shell,
body.et-site[data-page=booking] .intro > .shell,
body.et-site[data-page=contacts] .intro > .shell{
  width:auto;max-width:1410px;padding-inline:5.2%;margin-inline:auto;box-sizing:border-box;
}

/* Одиночная карточка в разделе форматов: контейнер общий, карточка по левой оси. */
body.et-site:not([data-page=home]):not([data-page=article]) .section:has(> .shell > .formats > :only-child) > .shell{
  width:auto;max-width:1410px;padding-inline:5.2%;margin-inline:auto;box-sizing:border-box;
}
body.et-site:not([data-page=home]):not([data-page=article]) .section:has(> .shell > .formats > :only-child) .format-box{max-width:1080px}

/* Главная: подборка статей и блок приглашения не слипаются. */
body.et-site[data-page="home"] .section:has(> .shell > .articles-teaser){padding-bottom:76px}
body.et-site[data-page="home"] .final-enquiry > .shell{border-top:1px solid var(--line,#e2ddd3);padding-top:56px}
@media(max-width:780px){
  body.et-site[data-page="home"] .section:has(> .shell > .articles-teaser){padding-bottom:48px}
  body.et-site[data-page="home"] .final-enquiry > .shell{padding-top:36px}
}

/* Реквизиты и адрес в подвале. */
body.et-site .footer-bottom{display:block}
body.et-site .footer-bottom-line{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
body.et-site .footer-legal{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:12px;font-size:11px;line-height:1.7;color:#9fb0b6}
body.et-site .footer-legal a{color:#c3cdd0;text-decoration:underline;text-underline-offset:3px}
body.et-site .footer-legal a:hover{color:#f5f1ea}
@media(max-width:780px){body.et-site .footer-bottom-line{flex-direction:column;align-items:flex-start;gap:8px}body.et-site .footer-legal{gap:4px 14px;margin-top:10px}}

/* Первый экран «Обо мне»: без золотой полосы у фотографии. */
body.et-site .hero--full .hero-media:after{display:none;border:0}

/* «Обо мне»: текст в две колонки перед образованием. */
body.et-site .about-intro{columns:2;column-gap:65px;margin-top:4px}
body.et-site .about-intro p{margin:0 0 16px;break-inside:avoid;font-size:15px;line-height:1.7}
@media(max-width:780px){body.et-site .about-intro{columns:1;column-gap:0}}

/* Контакты: один компактный раздел. */
body.et-site .contacts-compact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px;align-items:start}
body.et-site .contacts-compact .contact-fact{border-bottom:0;padding-bottom:0;margin-bottom:0}
body.et-site .contacts-compact .contact-phone{font-size:20px;font-weight:600;color:var(--ink,#1e2b35);text-decoration:none}
body.et-site .contacts-compact .contact-fact .actions{margin:22px 0 18px}
@media(max-width:780px){body.et-site .contacts-compact{grid-template-columns:1fr;gap:34px}}
body.et-site .contacts-compact .contact-fact p{font-size:15px;line-height:1.6;margin:0}
body.et-site .contacts-compact .contacts-legal h3{font-size:20px;margin:0 0 14px;line-height:1.35}
body.et-site .contacts-compact .contacts-legal p{font-size:15px;line-height:1.6;color:#475761;margin:0 0 4px}

/* Статьи на главной: без синей полосы над карточкой. */
body.et-site .articles-teaser>a{border-top:0}

/* Статья: фото слева от описания. */
body.et-site .article-heading--split{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:52px;align-items:start}
body.et-site .article-heading--split h1{font-size:clamp(30px,3.1vw,46px);line-height:1.16;hyphens:auto;overflow-wrap:break-word}
body.et-site .article-heading--split .article-heading-copy{min-width:0}
body.et-site .article-heading-media{margin:0;overflow:hidden}
body.et-site .article-heading-media img{display:block;width:100%;height:auto;object-fit:cover}
@media(max-width:1000px){
  body.et-site .article-heading--split{grid-template-columns:1fr;gap:26px;padding-top:32px;padding-bottom:32px}
  body.et-site .article-heading-media{order:-1}
}

/* Статья: краткое содержание — сворачиваемый блок. */
body.et-site .toc-details{display:block}
body.et-site .toc-summary{display:none;cursor:pointer;font:600 11px/1.6 Inter,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--ink,#1e2b35);padding:14px 0;border-top:1px solid var(--line,#e2ddd3);border-bottom:1px solid var(--line,#e2ddd3);margin-bottom:8px;list-style:none}
body.et-site .toc-summary::-webkit-details-marker{display:none}
body.et-site .toc-summary:after{content:"⌄";float:right;font-size:14px;transition:transform .15s}
body.et-site .toc-details[open] .toc-summary:after{transform:rotate(180deg)}
body.et-site .toc-list{display:grid;gap:14px}
body.et-site .toc-list a{font-size:13px;line-height:1.5;color:var(--ink,#1e2b35);text-decoration:none}
body.et-site .toc-list a:hover{color:var(--blue,#345d6d)}
body.et-site .toc-list .et-toc-level-3{font-size:12px;color:#475761;padding-left:14px}
body.et-site .toc-list .toc-all{margin-top:6px;font-size:12px;color:#475761;text-decoration:underline;text-underline-offset:3px}
@media(max-width:780px){
  body.et-site .toc{position:static;display:block}
  body.et-site .toc-summary{display:block}
  body.et-site .toc-list{gap:10px;padding:12px 0 4px}
  body.et-site .toc-list .et-toc-level-3{padding-left:10px}
}

/* Скрытый заголовок для доступности (страница статей без шапки). */
body.et-site .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Контакты без вводной строки: компактнее шапка. */
body.et-site[data-page="contacts"] main .intro{padding-bottom:30px !important}
body.et-site[data-page="contacts"] main .final-enquiry > .shell{padding-top:34px}
@media(max-width:780px){body.et-site[data-page="contacts"] main .intro{padding-bottom:22px !important}}

/* Список групп на странице «Групповая терапия». */
body.et-site .group-list{margin-top:10px}
body.et-site .group-item{padding:34px 0;border-top:1px solid var(--line,#e2ddd3)}
body.et-site .group-item:last-child{border-bottom:1px solid var(--line,#e2ddd3)}
body.et-site .group-item h3{font-size:27px;line-height:1.24;letter-spacing:-.03em;margin:0 0 12px;max-width:900px}
body.et-site .group-meta{font-size:13px;line-height:1.5;color:#8b4a31;margin:0 0 18px}
body.et-site .group-body{max-width:820px}
body.et-site .group-body p{font-size:15px;line-height:1.7;margin:0 0 12px}
body.et-site .group-body p:last-child{margin-bottom:0}
@media(max-width:780px){body.et-site .group-item{padding:26px 0}body.et-site .group-item h3{font-size:22px}body.et-site .group-meta{font-size:12px;margin-bottom:14px}}

/* Картинка в карточке группы. */
body.et-site .group-item--media{display:grid;grid-template-columns:360px minmax(0,1fr);gap:44px;align-items:start}
body.et-site .group-media{margin:0;overflow:hidden}
body.et-site .group-media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
body.et-site .group-item--media h3{margin-top:0}
@media(max-width:900px){body.et-site .group-item--media{grid-template-columns:1fr;gap:22px}}

/* Модули курса — карточками, а не списком. */
body.et-site .et-course-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:18px;margin-top:32px;align-items:stretch}
body.et-site .et-course-modules .module{background:var(--paper,#fdfbf7);border:1px solid var(--line,#e2ddd3);padding:26px 26px 6px;min-width:0;height:100%;display:flex;flex-direction:column}
body.et-site .et-course-modules .module summary{padding:0 0 12px;cursor:default;gap:14px;align-items:baseline}
body.et-site .et-course-modules .module summary .icon{display:none}
body.et-site .et-course-modules .module summary .n{color:#8b4a31;font-size:12px;letter-spacing:.08em}
body.et-site .et-course-modules .module summary h3{font-size:18px;line-height:1.35;letter-spacing:-.02em}
body.et-site .et-course-modules .module p{padding:0 0 16px;margin:0;font-size:14px;line-height:1.7}
@media(max-width:900px){body.et-site .et-course-modules{grid-template-columns:1fr;grid-auto-rows:auto;gap:14px}body.et-site .et-course-modules .module{padding:22px 22px 4px}}

/* «Формат и условия работы» — отдельная панель, чтобы не сливалась с блоком выше. */
/* «Условия участия» — отдельная карточка, чтобы не сливалась со следующим блоком. */
body.et-site .et-format-block{background:transparent;border-top:0;padding-top:56px;padding-bottom:56px}
body.et-site .et-format-block .shell{background:var(--paper,#fdfbf7);border:1px solid var(--line,#e2ddd3);padding:38px 5.2%;max-width:1410px;margin-inline:auto}
body.et-site .et-format-block .text-feature-copy p:last-child{margin-bottom:0}
@media(max-width:780px){body.et-site .et-format-block{padding-top:44px;padding-bottom:48px}}

/* Колонки в этих блоках начинаются на одной высоте. */
body.et-site .et-text-section .text-feature-heading h2,
body.et-site .et-format-block .text-feature-heading h2{margin-top:0}
body.et-site .et-text-section .text-feature-copy,
body.et-site .et-format-block .text-feature-copy{border-top:0;padding-top:18px}

/* Два блока услуги — карточками в ряд, одной высоты. */
body.et-site .service-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:stretch}
body.et-site .service-block{background:var(--paper,#fdfbf7);border:1px solid var(--line,#e2ddd3);padding:38px 36px;display:flex;flex-direction:column;min-width:0}
body.et-site .service-block h2{font-size:26px;line-height:1.25;letter-spacing:-.03em;margin:0 0 16px}
body.et-site .service-block-text p{font-size:15px;line-height:1.7;margin:0 0 12px}
body.et-site .service-block-text p:last-child{margin-bottom:0}
@media(max-width:900px){body.et-site .service-blocks{grid-template-columns:1fr;gap:16px}body.et-site .service-block{padding:26px 22px}}

/* В карточке условий одна колонка: заголовок, под ним текст на всю ширину карточки. */
body.et-site .et-format-block .statement-grid{grid-template-columns:minmax(0,1fr);gap:16px}
body.et-site .et-format-block .text-feature-heading h2{font-size:32px;line-height:1.2}
body.et-site .et-format-block .text-feature-copy{max-width:none;padding-top:0}
body.et-site .et-format-block .text-feature-copy p{max-width:none}
@media(max-width:900px){body.et-site .et-format-block .text-feature-heading h2{font-size:26px}}

/* Блок «Кому подходит»: ритм между пунктами, иначе текст липнет. */
body.et-site .fullbleed .text-feature-copy h3{font-size:22px;line-height:1.32;letter-spacing:-.02em;margin:28px 0 6px}
body.et-site .fullbleed .text-feature-copy h3:first-of-type{margin-top:0}
body.et-site .fullbleed .text-feature-copy p{margin:0 0 10px}
body.et-site .fullbleed .text-feature-copy p:last-of-type{margin-bottom:0}
body.et-site .fullbleed .text-feature-copy .actions{margin-top:28px}
@media(max-width:780px){
  body.et-site .fullbleed .text-feature-copy h3{font-size:20px;margin-top:24px}
  body.et-site .fullbleed h2{font-size:29px;line-height:1.22;letter-spacing:-.03em}
}

/* Блок «Кому подходит»: шрифт мельче — заголовок занимал пол-экрана. */
body.et-site .fullbleed h2{font-size:32px;line-height:1.2}
body.et-site .fullbleed .text-feature-copy h3{font-size:18px}
body.et-site .fullbleed .text-feature-copy p{font-size:14px;line-height:1.65}
@media(max-width:780px){
  body.et-site .fullbleed h2{font-size:21px;line-height:1.26}
  body.et-site .fullbleed .text-feature-copy h3{font-size:16px;margin-top:20px}
  body.et-site .fullbleed .text-feature-copy p{font-size:13.5px}
}

/* Блок «Автор и ведущая»: фото слева, текст справа — как в статье. */
body.et-site .leader-compact{display:flex;gap:36px;align-items:flex-start}
body.et-site .leader-compact .client-circle{width:160px;height:160px;flex:0 0 160px;border-radius:50%;object-fit:cover;object-position:50% 18%}
body.et-site .leader-compact h2{font-size:34px;line-height:1.2;margin:12px 0 14px}
body.et-site .leader-compact .eyebrow{margin-bottom:0}
@media(max-width:780px){
  body.et-site .leader-compact{gap:16px;align-items:flex-start}
  body.et-site .leader-compact .client-circle{width:80px;height:80px;flex-basis:80px}
  body.et-site .leader-compact h2{font-size:23px;margin:6px 0 8px}
  body.et-site .leader-compact p{font-size:14px;line-height:1.62}
}
