/* ============ Внутренние страницы (Figma 67:2 «Реконструкция груди · 1440») ============
   Мобильного фрейма нет — адаптив по правилам главной (68:2): столбец, поля 20, заголовки 28/22. */

/* ---- Шапка страницы на ленте (67:36) ---- */
.phero { background: var(--pink); padding-block: 48px 56px; }
.phero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.crumbs { font-size: 13px; line-height: normal; color: var(--ink-mute); }
.crumbs a:hover { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.phero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  color: var(--ink);
  max-width: 557px;
}
.phero__lead { max-width: 612px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

/* Ролик справа в шапке (/diagnostika/ и её подстраницы): розовый ленты запечён в кадр (work/hero-video.sh), фон ролика = --pink,
   прямоугольника нет. Не mix-blend-mode: Safari не смешивает <video> — был чёрный прямоугольник; сменился --pink —
   пересобрать ролик. Высота — вся лента, ширина — от колонки текста (612 + зазор) до правого поля;
   кадр вписан целиком и прижат к низу ленты. isolation — чтобы z-index: -1 не ушёл под фон ленты */
.phero--media { isolation: isolate; }
.phero--media .phero__inner { position: relative; }
.phero__media {
  position: absolute;
  z-index: -1;
  top: -48px;
  bottom: -56px;
  left: calc(var(--gutter) + 644px);
  right: var(--gutter);
  pointer-events: none;
}
.phero__video { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
@media (max-width: 1180px) {
  .phero--media .phero__inner > :not(.phero__media) { max-width: 54%; }
  .phero__media { left: 58%; }
}
@media (max-width: 768px) {
  .phero--media .phero__inner > :not(.phero__media) { max-width: 100%; }
  .phero__media { position: relative; inset: auto; align-self: stretch; margin: 4px calc(-1 * var(--gutter)) -32px; }
  .phero__video { height: auto; }
}

/* ---- Секции: заголовок 30 + сетка 2 колонки (67:54 / 67:87) ---- */
.sec { padding-block: 0 64px; }
.sec--first { padding-top: 64px; }
.sec__head { margin-bottom: 30px; }
.sec__head--tight { margin-bottom: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* Карточка метода (67:59) */
.mcard {
  background: #fff;
  border: 1px solid var(--haze);
  border-radius: var(--r-md);
  padding: 27px 29px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.mcard__title { font-weight: 500; font-size: 18px; line-height: normal; color: var(--ink); }
.mcard__text { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* «Методы восстановления» на /rekonstrukciya-grudi/: «атлас» — схемы с подписью «рис. N», без карточек
   (выбор владельца 11-10-2026). Схемы условные, не конкретная модель импланта: изделие в кадре — только реальное фото. */
.atlas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.atlas__item { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.atlas__plate { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.atlas__ill { display: block; width: 100%; max-width: 190px; height: auto; margin: 0 auto 6px; color: var(--rose); --ill-fill: rgba(255, 182, 193, .45); }
.atlas__title { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--ink); }
.atlas__text { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 1024px) { .atlas { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }

/* «Когда делать» на /rekonstrukciya-grudi/: без полосы, над текстом — схема по времени
   (одномоментная — одна точка, отсроченная — две через пунктир). Выбор владельца 11-10-2026. */
.when {
  background: var(--bg);
  border: 1px solid var(--haze);
  border-radius: var(--r-md);
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.when__label {
  font-weight: 600;
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage);
}
.when__text { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.when__plot { display: flex; align-items: center; height: 14px; margin-top: 4px; }
.when__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--rose); box-sizing: border-box; }
.when__dot--ring { background: var(--bg); border: 2px solid var(--rose); }
.when__dot--pair { width: 22px; border-radius: 7px; }
.when__track { flex: 1; min-width: 0; height: 2px; background: var(--haze); }
.when__track--gap { background: repeating-linear-gradient(90deg, var(--ink-mute) 0 5px, transparent 5px 10px); opacity: .6; }
.when__caps { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 12.5px; line-height: 1.35; color: var(--ink-mute); }
.when__caps span { min-width: 0; }
.when__caps span:nth-child(2) { text-align: center; }
.when__caps span:last-child:not(:first-child) { text-align: right; }

/* Пара заметок под шагами: иконка слева, без фона, колонки через тонкий разделитель.
   Заменила карточки с полосой слева (вариант B, выбор владельца 11-10-2026). */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.note { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 28px; align-items: start; padding: 4px 44px 4px 0; min-width: 0; }
.note + .note { padding: 4px 0 4px 44px; border-left: 1px solid var(--haze); }
.note__ic { width: 96px; height: 72px; color: var(--rose); --ic-fill: #fff; }
.note__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.note__title { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--ink); }
.note__text { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 1024px) {
  .note { column-gap: 20px; padding-right: 28px; }
  .note + .note { padding-left: 28px; }
  .note__ic { width: 72px; height: 54px; }
  .note { grid-template-columns: 72px minmax(0, 1fr); }
}

/* ---- Цитата врача (67:106) ---- */
.quote {
  background: var(--blush);
  border: 1px solid var(--haze);
  border-radius: var(--r-lg);
  padding: 41px 49px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.quote__photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--haze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink-mute);
}
.quote__photo img { width: 100%; height: 100%; object-fit: cover; }
.quote__col { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.quote__text { border-left: 3px solid var(--pink); padding-left: 23px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.quote__meta { padding-left: 23px; font-size: 13.5px; line-height: normal; color: var(--ink-soft); }

/* ---- Частые вопросы (67:121): нативный <details>, без JS ---- */
.faq { max-width: 880px; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--haze); border-radius: 10px; background: #fff; transition: border-color .2s ease; }
.faq__item:hover, .faq__item[open] { border-color: var(--pink); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 23px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  line-height: normal;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url('../assets/icons/chevron-down.svg') center / contain no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a { padding: 0 23px 19px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.faq__a p + p { margin-top: 8px; }
.faq__a a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1024px) {
  .phero__title { font-size: 36px; line-height: 1.25; }
}
@media (max-width: 768px) {
  .phero { padding-block: 28px 32px; }
  .phero__inner { gap: 14px; }
  .crumbs { font-size: 12px; }
  .phero__title { font-size: 28px; line-height: 1.28; max-width: 100%; }
  .phero__lead { font-size: 15px; line-height: 1.55; }
  .phero__actions { flex-direction: column; width: 100%; padding-top: 2px; }
  .phero__actions .btn { width: 100%; white-space: normal; text-align: center; }

  .sec { padding-block: 0 32px; }
  .sec--first { padding-top: 32px; }
  .sec__head, .sec__head--tight { margin-bottom: 16px; }
  .grid2 { grid-template-columns: 1fr; gap: 10px; }
  .mcard { padding: 18px 20px; border-radius: 10px; gap: 6px; }
  .mcard__title { font-size: 16px; }
  .mcard__text { font-size: 14px; line-height: 1.5; }
  .when { padding: 20px 18px 22px; border-radius: 10px; gap: 8px; }
  .when__label { font-size: 12.5px; }
  .when__text { font-size: 14px; line-height: 1.5; }
  .notes { grid-template-columns: 1fr; }
  .note, .note + .note { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 0; border-left: 0; }
  .note + .note { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--haze); }
  .note__ic { width: 64px; height: 48px; }
  .note__body { gap: 6px; }
  .note__title { font-size: 20px; }
  .note__text { font-size: 14px; line-height: 1.5; }
  /* атлас на телефоне: схема слева, подпись-заголовок-текст справа */
  .atlas { grid-template-columns: 1fr; gap: 0; }
  .atlas__item { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-content: start; padding: 18px 0 22px; border-top: 1px solid var(--ink); }
  .atlas__plate { display: contents; }
  .atlas__ill { grid-column: 1; grid-row: 1 / span 2; max-width: none; margin: 2px 0 0; }
  .atlas__title { grid-column: 2; grid-row: 1; font-size: 19px; }
  .atlas__text { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 1.5; margin-top: 2px; }
  .when__caps { margin-bottom: 8px; font-size: 12px; }

  .quote { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; border-radius: var(--r-md); }
  .quote__photo { width: 72px; height: 72px; font-size: 10px; }
  .quote__text { font-size: 15px; line-height: 1.55; padding-left: 16px; }
  .quote__meta { padding-left: 16px; font-size: 13px; }

  .faq { gap: 10px; }
  .faq__q { padding: 14px 16px; font-size: 14.5px; gap: 12px; }
  .faq__a { padding: 0 16px 14px; font-size: 14px; }
}

/* ============ Страницы услуг и хабы разделов (макета нет — из блоков 67:2 и UI-кита 71:2) ============ */

/* Теги и маркеры (UI-кит 71:48) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  background: var(--blush);
  border: 1px solid var(--haze);
  border-radius: var(--r-pill);
  font-size: 13px;
  line-height: normal;
  color: var(--ink-soft);
  white-space: nowrap;
}
.tag--stage { background: var(--sage); border-color: var(--sage); color: #fff; padding: 6px 14px; }

/* Список с галочкой (UI-кит 71:65) */
.check { display: flex; flex-direction: column; gap: 12px; }
.check li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: url('../assets/icons/check.svg') center / contain no-repeat;
}
.check--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }

/* Текстовый блок (UI-кит 71:111: тело 16/1,6 графит, подзаголовок Medium 17, ссылка роза) */
.prose { max-width: 720px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.prose > * + * { margin-top: 14px; }
.prose h3 { font-weight: 500; font-size: 17px; line-height: normal; color: var(--ink); margin-top: 26px; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--rose-dark); }

/* Текст слева + карточка справа */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.split .prose { max-width: 100%; }
.panel {
  background: #fff;
  border: 1px solid var(--haze);
  border-radius: var(--r-md);
  padding: 27px 29px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.panel__title { font-weight: 500; font-size: 18px; line-height: normal; color: var(--ink); }

/* Сетка: три карточки (шаги — плашка .route из components.css) */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 18px; } /* 1296 → 3 колонки, 944 → 2, 390 → 1 */

/* Секция на blush-подложке (смежные услуги) */
.sec--blush { background: var(--blush); padding-block: 64px; }

/* Стоимость: цены — после ответа клиники, пока текст + ссылка на /ceny/ */
.price {
  background: var(--blush);
  border: 1px solid var(--haze);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.price__col { min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 8px; }
.price__title { font-weight: 500; font-size: 18px; line-height: normal; color: var(--ink); }
.price__text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 1024px) {
  .split { gap: 32px; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .check { gap: 8px; }
  .check li { font-size: 15px; line-height: 1.5; padding-left: 24px; }
  .check--cols { grid-template-columns: 1fr; gap: 8px; }
  .prose { font-size: 15px; line-height: 1.55; }
  .prose > * + * { margin-top: 10px; }
  .prose h3 { font-size: 16px; margin-top: 18px; }
  .panel { padding: 18px 20px; border-radius: 10px; gap: 12px; }
  .panel__title { font-size: 16px; }
  .grid3 { gap: 10px; }
  .grid3 { grid-template-columns: 1fr; } /* .svc на мобиле сворачивается в строку — колонок быть не должно */
  .sec--blush { padding-block: 32px; }
  .price { padding: 20px; border-radius: var(--r-md); gap: 16px; }
  .price .btn { width: 100%; }
  .price__title { font-size: 16px; }
  .price__text { font-size: 14px; }
}

/* ---- Результаты «до/после» (.case, партиал case-*.html): кадры build-dark.py — тёмно-серый фон #3A3438, лица за кадром ---- */
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.case + .case { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--haze); }
.case__media { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.case__track {
  position: relative; /* offsetLeft слайдов — от ленты (main.js) */
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--r-md);
}
.case__track::-webkit-scrollbar { display: none; }
.ba { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ba__half { position: relative; background: #3A3438; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 8 / 9; }
.ba__half img { width: 100%; height: 100%; object-fit: cover; }
.ba__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(58, 52, 56, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  line-height: normal;
}
.case__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.case__tab {
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--blush);
  border: 1px solid var(--haze);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: normal;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.case__tab:hover { border-color: var(--pink); color: var(--ink); }
.case__tab[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.case__col { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.case__label { font-weight: 600; font-size: 14px; line-height: normal; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sage); }
.case__title { font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--ink); }
.case__text { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.case__note { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--haze); font-size: 13px; line-height: 1.55; color: var(--ink-mute); }

@media (max-width: 1024px) {
  .case { gap: 32px; }
}
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .case + .case { margin-top: 28px; padding-top: 28px; }
  .case__media { gap: 12px; }
  .case__track, .ba { gap: 6px; }
  .ba__half { border-radius: 10px; }
  .ba__tag { left: 8px; bottom: 8px; padding: 5px 10px; font-size: 12px; }
  .case__tab { padding: 6px 12px; font-size: 12.5px; }
  .case__col { gap: 8px; }
  .case__title { font-size: 18px; }
  .case__text { font-size: 14.5px; line-height: 1.55; }
  .case__note { font-size: 12.5px; padding-top: 10px; }
}

/* ---- Лайтбокс кадров «до/после» (main.js собирает разметку сам): кнопка-лупа на кадре + <dialog class="lb"> ---- */
.ba__open { position: absolute; inset: 0; z-index: 1; cursor: zoom-in; border-radius: inherit; }
.ba__open span {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(58, 52, 56, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
.ba__open svg { width: 18px; height: 18px; }
.ba__open:hover span { background: var(--rose); border-color: var(--rose); }
.ba__open:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }

html.lb-open { overflow: hidden; }
.lb {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lb:focus { outline: none; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
/* Матовое стекло: сайт за лайтбоксом — сильно размытые очертания под тёмной тонировкой (белые кнопки читаются) */
.lb::backdrop {
  background: rgba(35, 31, 34, 0.64);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  backdrop-filter: blur(28px) saturate(1.15);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lb::backdrop { background: rgba(35, 31, 34, 0.94); }
}
.lb__top { display: flex; align-items: center; gap: 8px; padding: 16px 20px 12px 24px; }
.lb__count { flex: 1; min-width: 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.lb__close { margin-left: 8px; }
.lb__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color .2s ease, opacity .2s ease;
}
.lb__btn svg { width: 20px; height: 20px; }
.lb__btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
.lb__btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.lb__btn:disabled { opacity: .3; cursor: default; }
.lb__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 96px;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.lb__img { flex: none; max-width: none; border-radius: var(--r-md); transform-origin: center; will-change: transform; cursor: zoom-in; -webkit-user-drag: none; }
.lb__img.is-anim { transition: transform .25s ease; }
.lb__stage.is-zoomed .lb__img { cursor: grab; }
.lb__stage.is-zoomed.is-drag .lb__img { cursor: grabbing; }
.lb__bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 14px 24px 20px; text-align: center; }
.lb__nav { position: absolute; top: 50%; margin-top: -24px; width: 52px; height: 52px; }
.lb__nav--prev { left: 24px; }
.lb__nav--next { right: 24px; }
.lb__cap { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; font-size: 15px; line-height: 1.3; }
.lb__tag { flex: none; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 13px; }
.lb__view { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.85); }
.lb__hint { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }
.lb__hint--mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .lb__hint--mouse { display: inline; }
  .lb__hint--touch { display: none; }
}

@media (max-width: 768px) {
  .ba__open span { top: 8px; right: 8px; width: 30px; height: 30px; }
  .ba__open svg { width: 16px; height: 16px; }
  .lb__top { padding: 10px 12px 8px 16px; }
  .lb__stage { padding: 0 8px; }
  .lb__img { border-radius: 10px; }
  .lb__bottom { padding: 10px 12px 16px; }
  .lb__nav { position: static; margin: 0; width: 44px; height: 44px; }
  .lb__nav--prev { grid-column: 1; grid-row: 1; }
  .lb__nav--next { grid-column: 3; grid-row: 1; }
  .lb__cap { grid-row: 1; font-size: 14px; gap: 8px; }
  .lb__tag { padding: 4px 10px; font-size: 12px; }
}
