/* ==========================================================================
   Мария Титова — психолог-консультант
   Чистая верстка под последующую интеграцию в WordPress
   Структура
   1. Токены
   2. База
   3. Утилиты и layout
   4. Кнопки, бейджи, чипы
   5. Шапка и мобильное меню
   6. Секции главной
   7. Карточки, цены, отзывы, FAQ, статьи
   8. CTA и формы
   9. Подвал
   10. Внутренние страницы
   11. Адаптив
   ========================================================================== */

/* 1. Токены
   ========================================================================== */
:root {
  --bg: #FBF7F2;
  --white: #FFFFFF;
  --line: #ECE3DA;
  --soft: #F5EEE7;
  --text: #4B4340;
  --muted: #8A7F79;
  --accent: #C49A88;
  --accent-hover: #B58876;
  --placeholder: #B3A8A2;
  --dash: #D9CCC2;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: 32px;
  --section: 64px;
  --gap: 24px;

  --radius-s: 14px;
  --radius-m: 20px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --header-h: 84px;
  --shadow: 0 18px 40px rgba(150, 120, 100, .10);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* 2. База
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Фото-заглушка, пока изображение не загружено */
.img-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--soft), var(--line));
  color: transparent; /* прячет alt-текст, пока фото не загружено */
}

/* Типографика */
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; color: var(--text); letter-spacing: -.01em; }
.h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.08; }
.h1--page { font-size: clamp(38px, 4.4vw, 64px); }
.h1 em { font-style: italic; color: var(--accent); }
.h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; font-weight: 600; }
.eyebrow {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }
.text { color: var(--muted); }

/* 3. Утилиты и layout
   ========================================================================== */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 32px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--row > div { display: grid; gap: 12px; max-width: 640px; }
.stack { display: grid; gap: 20px; }

/* 4. Кнопки, бейджи, чипы
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { border-color: var(--dash); color: var(--text); background: transparent; }
.btn--secondary:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 15px; line-height: 1.3; color: var(--text);
}
.chip--sm { padding: 8px 16px; font-size: 14px; font-weight: 500; }
.chip--active, .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
button.chip { cursor: pointer; transition: border-color .2s var(--ease); }
button.chip:hover { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.link-more { font-size: 15px; font-weight: 600; color: var(--text); transition: color .2s var(--ease); }
.link-more:hover { color: var(--accent-hover); }

/* 5. Шапка и мобильное меню
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: grid; line-height: 1; }
.logo__name { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.logo__role { font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-top: 2px; }
.nav__list { display: flex; gap: 36px; }
.nav__link { font-size: 15px; font-weight: 500; position: relative; padding-block: 6px; transition: color .2s var(--ease); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.breadcrumbs { padding-top: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumbs li { display: flex; gap: 8px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; color: var(--placeholder); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* 6. Секции главной
   ========================================================================== */
.hero { padding-block: 24px var(--section); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 72px; align-items: center; }
.hero__content { display: grid; gap: 24px; justify-items: start; }
.hero__content .lead { max-width: 560px; }
.hero__photo { aspect-ratio: 520 / 640; border-radius: 260px 260px 32px 32px; overflow: hidden; }
.hero__photo--wide { aspect-ratio: 520 / 460; border-radius: var(--radius-xl); }
.hero__photo--short { aspect-ratio: 1 / 1; }

.badges { display: flex; flex-wrap: wrap; gap: 20px 28px; padding-top: 8px; }
.badge { display: grid; gap: 2px; }
.badge + .badge { padding-left: 28px; border-left: 1px solid var(--line); }
.badge__title { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; white-space: nowrap; }
.badge__text { font-size: 13px; color: var(--muted); }

.split { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 72px; align-items: center; }
.split__photo { aspect-ratio: 520 / 600; border-radius: var(--radius-xl); overflow: hidden; }
.split__content { display: grid; gap: 20px; justify-items: start; }

.facts { width: 100%; }
.facts li { display: flex; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.facts li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }

.step { padding: 28px; display: grid; align-content: start; gap: 10px; }
.step__num, .card__num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent); }
.step__title { font-size: 19px; font-weight: 700; line-height: 1.35; }
.step__text { font-size: 15px; line-height: 1.6; color: var(--muted); }

.format { display: grid; gap: 14px; }
.format__photo { aspect-ratio: 588 / 340; border-radius: 28px; overflow: hidden; }
.format__title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; }

/* 7. Карточки, цены, отзывы, FAQ, статьи
   ========================================================================== */
.card {
  display: grid; align-content: start; gap: 12px;
  padding: 28px;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
a.card:hover { border-color: var(--dash); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__num { font-size: 28px; }
.card__title { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; }
.card__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.card .link-more { margin-top: 4px; }

.price { padding: 32px; display: flex; flex-direction: column; gap: 12px; border-radius: 28px; }
.price__title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; }
.price__value { font-size: 36px; font-weight: 700; line-height: 1.2; }
.price__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.price .btn { margin-top: auto; }
.price__text { margin-bottom: 8px; }

.review { padding: 28px; border-radius: var(--radius-l); border: 1px dashed var(--dash); display: grid; gap: 12px; align-content: start; }
.review__text { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--muted); }
.review__author { font-size: 14px; font-weight: 600; }

.faq { display: grid; gap: 12px; width: 100%; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); transition: border-color .2s var(--ease); }
.faq__item[open] { border-color: var(--dash); }
.faq__question {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 28px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; line-height: 1.45;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--soft); position: relative; transition: transform .25s var(--ease), background-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--muted); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s var(--ease); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 28px 24px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 980px; }

.post { display: grid; gap: 12px; align-content: start; }

.post__cover { display: block; aspect-ratio: 384 / 260; border-radius: var(--radius-m); overflow: hidden; }
.post__cover img { transition: transform .5s var(--ease); }
.post:hover .post__cover img { transform: scale(1.03); }
.post__tag { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.post__title { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; }
.post__title a:hover { color: var(--accent-hover); }
.post__meta { font-size: 14px; color: var(--muted); }

/* 8. CTA и формы
   ========================================================================== */
.cta {
  display: grid; grid-template-columns: minmax(0, 1fr) 468px; gap: 56px; align-items: center;
  padding: 56px; border-radius: 40px;
}
.cta__content { display: grid; gap: 18px; justify-items: start; }
.form { display: grid; gap: 12px; }
.form__field {
  width: 100%; min-height: 54px; padding: 15px 20px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s);
  font-size: 15px; transition: border-color .2s var(--ease), background-color .2s;
}
.form__field::placeholder { color: var(--placeholder); }
.form__field:focus { outline: none; border-color: var(--accent); background: var(--white); }
textarea.form__field { min-height: 104px; resize: vertical; }
.form__note { font-size: 12px; line-height: 1.5; color: var(--muted); }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
.form__label { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 10px; }
.form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__options { display: flex; flex-wrap: wrap; gap: 10px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: inline-flex; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--dash);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease);
}
.option input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 9. Подвал
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__brand { display: grid; gap: 10px; align-content: start; }
.footer__brand p { font-size: 14px; color: var(--muted); max-width: 280px; line-height: 1.6; }
.footer__title { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer__list { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.footer__list a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 40px; padding-block: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 13px; line-height: 1.55; color: var(--muted);
}
.footer__bottom p:first-child { max-width: 820px; }

/* 10. Внутренние страницы
   ========================================================================== */
.page-head { padding-block: 24px 40px; }
.page-head__inner { display: grid; gap: 18px; justify-items: start; }
.page-head__inner > * { max-width: 820px; }

/* Услуги — список */
.service-list { display: grid; gap: 14px; }
.service-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: 26px 32px; transition: border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.service-row:hover { border-color: var(--dash); box-shadow: var(--shadow); }
.service-row__num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent); }
.service-row__info { display: grid; gap: 6px; }
.service-row__title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; }
.service-row__text { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.service-row__action { display: grid; gap: 10px; justify-items: end; }
.service-row__price { font-weight: 600; font-size: 17px; white-space: nowrap; }

/* Услуга — текст + сайдбар */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside__box { padding: 26px; display: grid; gap: 12px; }
.aside__photo { aspect-ratio: 284 / 180; border-radius: 16px; overflow: hidden; }
.toc { display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.toc a { color: var(--text); transition: color .2s; }
.toc a:hover { color: var(--accent-hover); }
.aside__title { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.aside__price { font-size: 32px; font-weight: 700; line-height: 1.2; }

/* Контент статьи и SEO-текста */
.prose { display: grid; gap: 20px; font-size: 18px; line-height: 1.75; color: var(--text); max-width: 760px; padding-bottom: 40px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 36px); line-height: 1.18; margin-top: 12px; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin-top: 8px; }
.prose figure { display: grid; gap: 10px; }
.prose figure .img-cover { aspect-ratio: 760 / 420; border-radius: var(--radius-l); }
.prose figcaption { font-size: 13px; color: var(--muted); }
.prose blockquote {
  padding-left: 24px; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.35;
}
.steps-list { padding: 26px 30px; display: grid; gap: 16px; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: s; }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--accent); }
.steps-list strong { display: block; font-size: 17px; line-height: 1.5; }
.steps-list span { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Обо мне */
.story { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 72px; }
.story__text { display: grid; gap: 18px; font-size: 18px; line-height: 1.75; }
.timeline__row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-block: 24px; border-top: 1px solid var(--line); }
.timeline__period { font-size: 16px; font-weight: 600; color: var(--muted); }
.timeline__title { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; margin-bottom: 4px; }
.timeline__text { font-size: 16px; color: var(--muted); }
.quote { display: grid; gap: 14px; margin-bottom: 40px; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25; max-width: 960px; }
.quote cite { font-style: normal; font-size: 15px; font-weight: 600; color: var(--muted); }
.gallery__item { aspect-ratio: 384 / 480; border-radius: var(--radius-l); overflow: hidden; }

/* Статьи — список */
.featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--radius-xl); }
.featured__cover { position: relative; display: block; min-height: 420px; }
.featured__cover img { position: absolute; inset: 0; }
.featured__content { padding: 44px; display: grid; gap: 16px; align-content: center; justify-items: start; }
.featured__title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; }
.pagination { display: flex; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 600; background: var(--white); border: 1px solid var(--line);
}
.pagination [aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.pagination a:hover { border-color: var(--accent); }

/* Статья */
.article-head { display: grid; gap: 18px; justify-items: start; padding-block: 24px 32px; }
.article-head > * { max-width: 900px; }
.author-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; padding-top: 4px; }
.author-meta__avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: 0 0 48px; }
.author-meta__name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.author-meta__role { font-size: 13px; color: var(--muted); }
.author-meta__date { font-size: 14px; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); }
.article-cover { aspect-ratio: 1200 / 540; border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 48px; }
.author-box { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px; margin-top: 12px; }
.author-box__photo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; }
.author-box__name { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.author-box__text { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px;
  border-radius: var(--radius-m); transition: border-color .2s var(--ease), box-shadow .25s var(--ease);
}
a.contact-item:hover { border-color: var(--dash); box-shadow: var(--shadow); }
.contact-item__body { display: grid; gap: 4px; min-width: 0; }
.contact-item__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-item__value { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; word-break: break-word; }
.contact-item__arrow { color: var(--muted); font-size: 20px; }
.contact-form { padding: 36px; border-radius: var(--radius-xl); display: grid; gap: 14px; }
.contact-form__title { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.1; }
.photo-band { display: grid; gap: 12px; }
.photo-band__img { aspect-ratio: 1200 / 440; border-radius: var(--radius-xl); overflow: hidden; }
.photo-band figcaption { font-size: 14px; color: var(--muted); }

/* 11. Адаптив
   ========================================================================== */

/* Ноутбуки */
@media (max-width: 1200px) {
  :root { --gap: 20px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; }
  .split { grid-template-columns: 440px minmax(0, 1fr); gap: 56px; }
  .story { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; }
  .layout-aside { gap: 48px; grid-template-columns: minmax(0, 1fr) 300px; }
  .nav__list { gap: 28px; }
}

/* Планшеты горизонтально */
@media (max-width: 1024px) {
  :root { --section: 56px; --gutter: 28px; --header-h: 76px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 > :nth-child(3):last-child { grid-column: 1 / -1; }
  .posts.grid--3 > :nth-child(3):last-child,
  .reviews.grid--3 > :nth-child(3):last-child { grid-column: auto; }
  .cta { grid-template-columns: 1fr; gap: 32px; padding: 44px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .layout-aside { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose { max-width: none; }
  .timeline__row { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
}

/* Мобильное меню */
@media (max-width: 960px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 16px 0; font-size: 20px; font-family: var(--serif); font-weight: 600; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--accent-hover); }
  .nav__cta-mobile { display: flex; margin-top: 20px; }
  body.menu-open { overflow: hidden; }

  .hero__grid, .split, .story, .featured, .contacts { grid-template-columns: 1fr; }
  .hero__grid { gap: 36px; }
  .hero__photo { max-width: 460px; width: 100%; justify-self: center; }
  .hero__photo--wide { max-width: none; }
  .split { gap: 36px; }
  .split__photo { aspect-ratio: 4 / 3; }
  .story { gap: 24px; }
  .featured__cover { min-height: 0; aspect-ratio: 16 / 10; }
  .featured__content { padding: 32px; }
}

/* Планшеты вертикально и большие телефоны */
@media (max-width: 768px) {
  :root { --section: 48px; --gutter: 20px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .section-head { margin-bottom: 24px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3, .posts.grid--3, .reviews.grid--3 { grid-template-columns: 1fr; }
  .grid--3 > :nth-child(3):last-child { grid-column: auto; }
  .service-row { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .service-row__num { font-size: 32px; }
  .service-row__title { font-size: 26px; }
  .service-row__action { grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
  .aside { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
  .author-box { grid-template-columns: 72px minmax(0, 1fr); }
  .author-box__photo { width: 72px; height: 72px; }
  .author-box .btn { grid-column: 1 / -1; }
  .article-cover { aspect-ratio: 16 / 10; margin-bottom: 32px; }
  .photo-band__img { aspect-ratio: 16 / 10; }
  .gallery.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery.grid--3 > :nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .prose { font-size: 17px; }
  .faq__question { padding: 18px 20px; font-size: 16px; gap: 16px; }
  .faq__answer { padding: 0 20px 20px; font-size: 15px; }
  .faq__icon { flex-basis: 32px; height: 32px; }
}

/* Телефоны */
@media (max-width: 560px) {
  :root { --section: 40px; --header-h: 68px; }
  .logo__name { font-size: 24px; }
  .logo__role { font-size: 11px; }
  .hero { padding-top: 16px; }
  .hero__photo:not(.hero__photo--wide) { border-radius: 200px 200px 24px 24px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .badges { gap: 16px; }
  .badge + .badge { padding-left: 0; border-left: 0; }
  .badges { display: grid; grid-template-columns: 1fr 1fr; }
  .badge:last-child { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: 1fr; }
  .card, .step, .price { padding: 22px; }
  .card { gap: 8px; }
  .card__title { font-size: 25px; }
  .step__num { font-size: 36px; }
  .price__value { font-size: 32px; }
  .cta { padding: 28px 20px; border-radius: 28px; }
  .contact-form { padding: 24px 20px; }
  .contact-item { padding: 18px 20px; }
  .contact-item__value { font-size: 22px; }
  .featured__content { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .author-meta__date { padding-left: 0; border-left: 0; width: 100%; }
  .page-head { padding-bottom: 28px; }
  .review__text { font-size: 20px; }
}

/* Совсем узкие экраны */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .h1 { font-size: 36px; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery.grid--3 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Четыре тарифа в ряд */
.prices.grid--4 .price { padding: 28px; }
.prices.grid--4 .price__title { font-size: 26px; }
.prices.grid--4 .price__value { font-size: 28px; white-space: nowrap; }
@media (max-width: 1200px) { .prices.grid--4 .price__value { font-size: 26px; } }

/* ==========================================================================
   12. Анкета подбора консультации (квиз в попапе)
   ========================================================================== */
.qz-link { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.qz-link:hover { color: var(--text); }

/* Карточка-приглашение */
.qz-teaser {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 340px; max-width: calc(100vw - 32px);
  padding: 24px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(120, 95, 80, .18);
  display: grid; gap: 8px;
  opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.qz-teaser.is-in { opacity: 1; transform: none; }
.qz-teaser[hidden] { display: none; }
.qz-teaser__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hover); }
.qz-teaser__title { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; padding-right: 24px; }
.qz-teaser__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.qz-teaser__row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.qz-teaser__close, .qz-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--soft);
}
.qz-teaser__close::before, .qz-teaser__close::after, .qz-close::before, .qz-close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--muted);
  transform: translate(-50%, -50%) rotate(45deg);
}
.qz-teaser__close::after, .qz-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Модальное окно */
body.qz-open { overflow: hidden; }
.qz-overlay {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px;
  background: rgba(75, 67, 64, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.qz-overlay.is-in { opacity: 1; }
.qz-overlay[hidden] { display: none; }
.qz-dialog {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto;
  background: var(--bg); border-radius: 28px; padding: 40px; box-shadow: 0 30px 80px rgba(75, 60, 50, .25);
  transform: translateY(12px) scale(.98); transition: transform .3s var(--ease);
}
.qz-overlay.is-in .qz-dialog { transform: none; }
.qz-body { display: grid; gap: 14px; }
.qz-h { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; outline: none; padding-right: 32px; }
.qz-lead { font-size: 16px; line-height: 1.65; color: var(--muted); }
.qz-hint { font-size: 15px; color: var(--muted); margin-top: -6px; }
.qz-intro { display: grid; gap: 16px; justify-items: start; }
.qz-perks { display: grid; gap: 8px; margin: 4px 0 8px; }
.qz-perks li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.qz-perks li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.qz-progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 6px; }
.qz-progress i { height: 3px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.qz-progress i.on { background: var(--accent); }

.qz-opts { display: grid; gap: 8px; }
.qz-opts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qz-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 13px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line);
  font-size: 15px; line-height: 1.35; transition: border-color .15s, background-color .15s;
}
.qz-opt:hover { border-color: var(--dash); }
.qz-opt.is-on { border-color: var(--accent); background: #FBF3EF; }
.qz-opt__mark { flex: 0 0 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--dash); position: relative; transition: all .15s; }
.qz-opt[role="checkbox"] .qz-opt__mark { border-radius: 5px; }
.qz-opt.is-on .qz-opt__mark { border-color: var(--accent); background: var(--accent); }
.qz-opt.is-on .qz-opt__mark::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.qz-opt__text { display: grid; gap: 2px; }
.qz-opt__text small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.qz-other { margin-top: 8px; }
.qz-field { display: grid; gap: 10px; }
.qz-textarea { min-height: 130px; }
.qz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.qz-nav .btn[disabled] { opacity: .45; cursor: not-allowed; }

.qz-loading { display: grid; justify-items: center; gap: 16px; padding: 48px 0; color: var(--muted); }
.qz-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: qz-spin .8s linear infinite; }
@keyframes qz-spin { to { transform: rotate(360deg); } }
.qz-done { display: grid; gap: 16px; justify-items: start; }
.qz-advice { width: 100%; padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; }
.qz-advice__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hover); }
.qz-send { display: grid; gap: 14px; width: 100%; }
.qz-copy { min-height: 140px; font-size: 13px; }

@media (max-width: 560px) {
  .qz-teaser { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px; }
  .qz-teaser__title { font-size: 23px; }
  .qz-overlay { padding: 0; place-items: end stretch; }
  .qz-dialog { max-width: none; max-height: 92vh; max-height: 92dvh; border-radius: 24px 24px 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  .qz-opts--grid { grid-template-columns: 1fr; }
  .qz-nav .btn { flex: 1; }
  .qz-done .btn-row .btn { flex: 1 1 100%; }
}
.contact-item--quiz { width: 100%; text-align: left; border-style: dashed; border-color: var(--accent); background: #FBF3EF; cursor: pointer; }
.contact-item--quiz:hover { box-shadow: var(--shadow); }

/* ==========================================================================
   13. Блок записи без формы и шаги записи
   ========================================================================== */
.cta__alt { font-size: 15px; color: var(--muted); }
.cta__alt a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta__alt a:hover { color: var(--accent-hover); }
.cta__steps { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; display: grid; gap: 16px; }
.cta__steps-title { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.booking-steps { display: grid; gap: 16px; counter-reset: bs; }
.booking-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; counter-increment: bs; }
.booking-steps li::before {
  content: counter(bs); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--line);
  font-family: var(--serif); font-size: 20px; color: var(--accent);
}
.booking-steps b { font-size: 16px; line-height: 1.4; padding-top: 1px; }
.booking-steps span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.contact-form .booking-steps { margin: 6px 0 4px; }

/* ==========================================================================
   14. Тест «Твоя нить влияния» — карточка справа снизу и попап (цвета сайта)
   ========================================================================== */
.nt-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hover); }

/* нити-декор */
.nt-strings { display: flex; justify-content: space-between; height: 96px; padding: 0 18px; border-top: 2px solid var(--text); margin-right: 44px; }
.nt-strings span { width: 1.5px; background: var(--dash); position: relative; transform-origin: top; animation: nt-sway 4s ease-in-out infinite; }
.nt-strings span::after { content: ""; position: absolute; bottom: -6px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.nt-strings span:nth-child(1) { height: 70%; }
.nt-strings span:nth-child(2) { height: 95%; animation-delay: -.7s; }
.nt-strings span:nth-child(3) { height: 55%; animation-delay: -1.4s; }
.nt-strings span:nth-child(4) { height: 85%; animation-delay: -2.1s; }
.nt-strings span:nth-child(5) { height: 65%; animation-delay: -2.8s; }
.nt-strings span:nth-child(6) { height: 100%; animation-delay: -3.5s; }
.nt-strings.loading span { animation-duration: 1.2s; }
.nt-strings--sm { height: 42px; padding: 0 10px; margin-right: 0; }
.nt-strings--sm span::after { width: 9px; height: 9px; left: -3.75px; bottom: -4px; }
@keyframes nt-sway { 50% { transform: rotate(3deg); } }

/* карточка */
.nt-teaser {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 340px; max-width: calc(100vw - 32px);
  padding: 22px 24px 24px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(120, 95, 80, .18); display: grid; gap: 8px; justify-items: start;
  opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.nt-teaser.is-in { opacity: 1; transform: none; }
.nt-teaser[hidden] { display: none; }
.nt-teaser .nt-strings--sm { width: calc(100% - 40px); margin-bottom: 8px; }
.nt-teaser__title { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; color: var(--text); }
.nt-teaser__text { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.nt-teaser__row { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.nt-teaser__close, .nt-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); z-index: 1; }
.nt-teaser__close::before, .nt-teaser__close::after, .nt-close::before, .nt-close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--muted); transform: translate(-50%, -50%) rotate(45deg);
}
.nt-teaser__close::after, .nt-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* попап */
body.nt-open { overflow: hidden; }
.nt-overlay {
  position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 24px;
  background: rgba(75, 67, 64, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.nt-overlay.is-in { opacity: 1; }
.nt-overlay[hidden] { display: none; }
.nt-dialog {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto;
  background: var(--bg); color: var(--text); border-radius: 28px; padding: 40px;
  box-shadow: 0 30px 80px rgba(75, 60, 50, .25); transform: translateY(12px) scale(.98); transition: transform .3s var(--ease);
}
.nt-overlay.is-in .nt-dialog { transform: none; }
.nt-app { display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.65; }
.nt-app h1, .nt-app h2, .nt-app h3 { font-family: var(--serif); font-weight: 500; color: var(--text); outline: none; text-wrap: balance; }
.nt-h1 { font-size: clamp(34px, 5.5vw, 46px); line-height: 1.08; padding-right: 36px; }
.nt-h2 { font-size: clamp(26px, 4vw, 32px); line-height: 1.18; padding-right: 36px; }
.nt-app h3 { font-size: 25px; line-height: 1.2; font-weight: 600; }
.nt-lead { font-size: 18px; color: var(--text); }
.nt-muted { color: var(--muted); }
.nt-row { display: flex; flex-wrap: wrap; gap: 12px; }

.nt-progress { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; padding-right: 44px; }
.nt-progress i { height: 3px; border-radius: 2px; background: var(--line); }
.nt-progress i.on { background: var(--accent); }
.nt-opts { display: grid; gap: 10px; }
.nt-opt {
  text-align: left; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: 14px;
  padding: 15px 18px; font: 500 15.5px/1.45 var(--sans); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.nt-opt:hover { border-color: var(--dash); }
.nt-opt.picked { background: #FBF3EF; border-color: var(--accent); }
.nt-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.nt-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.nt-block { display: flex; flex-direction: column; gap: 6px; }
.nt-lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nt-level { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.nt-level b { font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.nt-threads { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; border-top: 2px solid var(--text); }
.nt-threads .th { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.nt-threads .s { width: 1.5px; height: 20px; background: var(--dash); transition: height 1s ease; }
.nt-threads .k { width: 14px; height: 14px; border-radius: 50%; background: var(--dash); margin-top: -8px; }
.nt-threads .main .s { background: var(--accent); width: 2.5px; }
.nt-threads .main .k { background: var(--accent); width: 18px; height: 18px; }
.nt-threads small { font-size: 12px; text-align: center; line-height: 1.25; color: var(--muted); }
.nt-threads .main small { color: var(--text); font-weight: 700; }
.nt-phrase { font-family: var(--serif); font-size: 23px; line-height: 1.35; border-left: 3px solid var(--accent); padding-left: 14px; }
.nt-offer { border-color: var(--accent); gap: 12px; background: #FBF3EF; }
.nt-note { font-size: 13px; }
.nt-toast { font-size: 13px; color: var(--accent-hover); min-height: 1em; margin-top: -8px; }

@media (max-width: 560px) {
  .nt-teaser { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px; }
  .nt-overlay { padding: 0; place-items: end stretch; }
  .nt-dialog { max-width: none; max-height: 94vh; max-height: 94dvh; border-radius: 24px 24px 0 0; padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); }
  .nt-row .btn { flex: 1 1 100%; }
  .nt-threads small { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .nt-strings span { animation: none; } .nt-threads .s { transition: none; } }

/* ==========================================================================
   15. WordPress — контент из редактора, пагинация, служебные классы
   ========================================================================== */
.img-placeholder { display: block; background: linear-gradient(135deg, var(--soft), var(--line)); }

.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 26px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent); }
.prose p a { color: var(--accent, var(--accent)); text-decoration: none; text-underline-offset: 3px; }
.prose a { color: var(--white, var(--accent)); text-decoration: none; text-underline-offset: 3px; }
.prose a:hover { text-decoration: none; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-l, 20px); }
.prose figure img { width: 100%; }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 15px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose iframe, .prose video { max-width: 100%; border-radius: var(--radius-l, 20px); }
.prose .wp-block-embed__wrapper { position: relative; }
.prose strong { font-weight: 700; }

.alignleft { float: left; margin: 6px 24px 12px 0; max-width: 50%; }
.alignright { float: right; margin: 6px 0 12px 24px; max-width: 50%; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 0 0 12px; max-width: 100%; } }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { clip: auto; width: auto; height: auto; margin: 0; padding: 10px 16px; background: var(--white); z-index: 1000; }

.pagination { flex-wrap: wrap; }
.pagination .prev, .pagination .next { width: auto; padding-inline: 18px; border-radius: 999px; }
.pagination .dots { background: transparent; border-color: transparent; }

a.chip { text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
a.chip:hover { border-color: var(--accent); }
a.chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--white); }

.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.hero__photo--wide .img-cover { object-position: 50% 15%; }
