/* Галерея запахов НОС — визуальная система варианта 7
   Эталон: materials/site-prototype/v7-combo/
   Док: docs/24-site-visual-system.md
   Child theme: themes/nos-v7/ (основной путь)
   Fallback: Внешний вид → Настроить → Дополнительные стили CSS */

@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;700&display=swap");

:root {
  --nos-bg: #f8f4ea;
  --nos-paper: #fffdf6;
  --nos-accent: #9b1230;
  --nos-accent-hover: #7d0e26;
  --nos-ink: #1a1a1a;
  --nos-muted: #5c5752;
  --nos-line: rgba(26, 26, 26, 0.14);
  --nos-line-strong: rgba(26, 26, 26, 0.28);
  --nos-font: "Onest", system-ui, sans-serif;
  --nos-max: 980px;
  --nos-header-h: 72px;
}

body,
.wp-site-blocks,
.entry-content {
  font-family: var(--nos-font);
  font-weight: 400;
  color: var(--nos-ink);
  background-color: var(--nos-bg);
}

/* Twenty Twenty: body { word-break: break-word } режет слова по буквам
   в узких карточках и таблицах. Сброс на всём v7 — перенос только по словам. */
.nos-v7,
.nos-v7-home,
html.nos-v7,
html.nos-v7-home,
body.page-id-6920,
.nos-v7 *,
.nos-v7-home *,
body.page-id-6920 * {
  word-break: normal;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

h1, h1.wp-block-heading {
  font-family: var(--nos-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h2, h2.wp-block-heading,
h3, h3.wp-block-heading {
  font-family: var(--nos-font);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  word-break: keep-all;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
  text-wrap: pretty;
}

p { font-weight: 400; }

a { color: var(--nos-accent); }
a:hover { color: var(--nos-accent-hover); }

/* Тема Twenty Twenty: H1 шапки только на главной — заголовок живёт в контенте */
body.home .entry-header,
body.home.singular.missing-post-thumbnail .entry-header {
  display: none !important;
}

/* Кнопка брони в меню */
@media (min-width: 769px) {
  li.booking-btn a {
    background-color: #9b1230;
    color: #fffdf6 !important;
    padding: 12px 24px !important;
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    margin-left: 15px;
    box-shadow: none;
    transform: none;
  }
  li.booking-btn a:hover {
    background-color: #7d0e26;
    color: #fffdf6 !important;
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  li.booking-btn { padding: 15px 20px; }
  li.booking-btn a {
    background-color: #9b1230;
    color: #fffdf6 !important;
    padding: 15px !important;
    border-radius: 0;
    text-align: center;
    display: block;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* Gutenberg-кнопки */
.wp-block-button .wp-block-button__link,
.entry-content .wp-block-button__link {
  border-radius: 0 !important;
  font-family: var(--nos-font);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--nos-accent);
  color: #fffdf6 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:active,
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus,
.entry-content .wp-block-button__link:active {
  text-decoration: none !important;
  background-color: var(--nos-accent-hover, #7d0e26) !important;
  filter: brightness(0.96);
}

.wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: var(--nos-accent) !important;
  -webkit-text-fill-color: var(--nos-accent) !important;
  border: 1px solid var(--nos-accent) !important;
  text-decoration: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:focus {
  background-color: var(--nos-accent) !important;
  color: #fffdf6 !important;
  -webkit-text-fill-color: #fffdf6 !important;
  text-decoration: none !important;
  filter: none;
}

.entry-content > .wp-block-buttons { justify-content: flex-start; }
.entry-content > .wp-block-buttons.nos-hero-actions { justify-content: flex-start; }

/* Формы брони (РБ и РФ) и сертификатов — не перевёрстывать, только шрифт/бордеры/submit */
#museum-booking-form,
#alfabank-booking-form,
#gift-certificate-form,
.gift-certificate-form-container {
  font-family: var(--nos-font);
  color: var(--nos-ink);
  max-width: 36em;
}

#museum-booking-form label,
#alfabank-booking-form label,
#gift-certificate-form label,
.gift-certificate-form-container label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--nos-ink);
  display: block;
  margin-bottom: 6px;
}

#museum-booking-form p,
#alfabank-booking-form p,
#gift-certificate-form .form-group,
.gift-certificate-form-container .form-group {
  margin: 0 0 16px;
}

#museum-booking-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#museum-booking-form select,
#museum-booking-form textarea,
#alfabank-booking-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#alfabank-booking-form select,
#alfabank-booking-form textarea,
#gift-certificate-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#gift-certificate-form select,
#gift-certificate-form textarea,
.gift-certificate-form-container input:not([type="submit"]):not([type="hidden"]),
.gift-certificate-form-container select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  border: 1px solid var(--nos-line-strong);
  background: var(--nos-paper);
  color: var(--nos-ink);
  font-family: var(--nos-font);
  font-size: 16px;
  line-height: 1.4;
  padding: 10px 12px;
  min-height: 44px;
  box-shadow: none;
}

#museum-booking-form input[type="submit"],
#museum-booking-form #booking_submit_btn,
#alfabank-booking-form input[type="submit"],
#gift-certificate-form input[type="submit"],
#gift-certificate-form .submit-btn,
.gift-certificate-form-container .submit-btn,
.gift-certificate-form-container input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  min-height: 48px;
  margin: 8px auto 0;
  padding: 0 22px;
  border-radius: 0;
  background-color: var(--nos-accent) !important;
  background: var(--nos-accent) !important;
  color: #fffdf6 !important;
  -webkit-text-fill-color: #fffdf6 !important;
  font-family: var(--nos-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  box-shadow: none;
}

#museum-booking-form input[type="submit"]:hover,
#museum-booking-form #booking_submit_btn:hover,
#alfabank-booking-form input[type="submit"]:hover,
#gift-certificate-form input[type="submit"]:hover,
#gift-certificate-form .submit-btn:hover,
.gift-certificate-form-container .submit-btn:hover,
.gift-certificate-form-container input[type="submit"]:hover {
  background-color: var(--nos-accent-hover) !important;
  background: var(--nos-accent-hover) !important;
}

#gift-certificate-form small,
.gift-certificate-form-container small {
  display: block;
  margin-top: 6px;
  color: var(--nos-muted);
  font-size: 13px;
}

/* Герой: full-bleed фото зала */
.hero-bleed,
.entry-content .hero-bleed,
.entry-content figure.hero-bleed,
.entry-content .wp-block-image.hero-bleed {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: 52vh;
  min-height: 280px;
  max-height: 620px;
  overflow: hidden;
  background: #e7e1d2;
}

.hero-bleed img,
.entry-content .hero-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}

/* Twenty Twenty: снять .thin, колонка как --max в v7 */
body.home .post-inner,
body.home .post-inner.thin {
  max-width: none !important;
  width: 100% !important;
}

body.home .entry-content {
  max-width: none !important;
  width: 100% !important;
}

body.home .entry-content > *:not(.alignfull):not(.hero-bleed):not(.nos-ticker):not(.wp-block-separator):not(.nos-about):not(.faq):not(.nos-journal):not(.nos-route):not(.nos-more):not(#schedule) {
  max-width: min(var(--nos-max), calc(100vw - 40px)) !important;
  width: min(var(--nos-max), calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

body.home .entry-content > .nos-ticker {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home .entry-content > #schedule,
body.home .entry-content > .cards-3,
body.home .entry-content > .nos-mosaic,
body.home .entry-content > h1,
body.home .entry-content > h1.wp-block-heading,
body.home .entry-content > h2.nos-more-title,
body.home .entry-content > h2.nos-reviews-title,
body.home .entry-content > h2.nos-faq-title,
body.home .entry-content > p.nos-lede,
body.home .entry-content > p.nos-note,
body.home .entry-content > .wp-block-buttons.nos-hero-actions {
  max-width: min(980px, calc(100vw - 40px)) !important;
  width: min(980px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

body.home .entry-content > h1,
body.home .entry-content > h1.wp-block-heading {
  font-size: clamp(2.05rem, 7.2vw, 4.4rem);
  font-weight: 700;
  max-width: 14em !important;
  width: auto;
  text-align: left;
  margin: 40px auto 16px;
}

body.home .entry-content > p.nos-lede {
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 500;
  max-width: 38em;
  text-align: left;
  margin: 0 auto 14px;
}

body.home .entry-content > p.nos-note {
  color: var(--nos-muted);
  max-width: 40em;
  text-align: left;
  margin: 0 auto 28px;
}

.nos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.nos-hero-actions .wp-block-button__link {
  min-width: 220px;
}

/* Расписание: две колонки, без excel-рамки.
   margin auto обязателен: селектор #schedule иначе перебивает
   центрирование .entry-content > * и блок уезжает в левый край. */
#schedule {
  margin: 48px auto 64px !important;
}

#schedule > h2,
#schedule h2 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 500;
  text-align: left;
  margin: 0 0 0.5em;
}

.nos-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 12px;
}

#schedule .nos-sheet,
#schedule table {
  background: transparent;
  border: 0;
}

#schedule table {
  width: 100%;
  border-collapse: collapse;
}

#schedule td {
  text-align: left;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--nos-line);
  vertical-align: top;
  font-family: var(--nos-font);
}

#schedule tr:last-child td { border-bottom: 0; }
#schedule td,
#schedule th,
#schedule td:first-child {
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
}
#schedule td:first-child {
  font-weight: 700;
  width: auto;
  min-width: 11.5em;
  white-space: nowrap;
}

#schedule .nos-prices {
  max-width: none;
  margin: 0;
}

#schedule .nos-price {
  grid-template-columns: max-content 1fr;
  padding: 28px 0;
  overflow: visible;
}

#schedule .nos-price .sum {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
}

#schedule .nos-cost-label {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--nos-muted);
}

/* Крупные цены — вариант 2 внутри 7 */
.nos-prices {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 auto 24px;
}

.nos-price {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--nos-line);
  align-items: baseline;
  overflow: visible;
}

.nos-price .sum {
  font-family: var(--nos-font);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--nos-ink);
}

.nos-price p { margin: 0; color: var(--nos-muted); }
.nos-price strong { font-weight: 500; }

/* Тикер чувств. Не 100vw: на мобилке calc(50% - 50vw) уезжает влево и режет первую букву. */
.nos-ticker {
  overflow: hidden;
  border-block: 1px solid var(--nos-line-strong);
  background: var(--nos-paper);
  padding: 10px 16px !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.nos-ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: nos-tick 36s linear infinite;
  will-change: transform;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nos-accent);
}

.nos-ticker:hover .nos-ticker-track,
.nos-ticker:active .nos-ticker-track {
  animation-play-state: paused;
}

@keyframes nos-tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Мобильный тикер: анимация сохраняется; !important бьёт дубль #nos-accent-color в контенте главной */
@media (max-width: 700px) {
  .nos-ticker {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .nos-ticker-track {
    display: flex !important;
    width: max-content !important;
    max-width: none !important;
    gap: 1.5rem !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    animation: nos-tick 48s linear infinite !important;
  }
  .nos-ticker-track span {
    display: inline-block !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 390px) {
  .nos-ticker-track {
    display: flex !important;
    width: max-content !important;
    gap: 1.5rem !important;
    animation: nos-tick 48s linear infinite !important;
  }
}

@media (max-width: 360px) {
  .nos-ticker {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .nos-ticker-track {
    display: flex !important;
    width: max-content !important;
    gap: 1.5rem !important;
    letter-spacing: 0.08em;
    font-size: 11px;
    animation: nos-tick 48s linear infinite !important;
  }
}

/* Мозаика «не только экскурсии» */
.nos-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  grid-template-rows: 200px 220px 160px;
  gap: 10px;
  margin: 28px 0 36px;
}

.nos-tile {
  overflow: hidden;
  position: relative;
  background: #efe6d4;
  min-height: 120px;
}

.nos-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nos-tile .lbl {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--nos-bg);
  color: var(--nos-ink);
  padding: 4px 8px;
}

.nos-tile.sight { grid-column: 1; grid-row: 1 / 3; }
.nos-tile.hear { grid-column: 2; grid-row: 1; background: var(--nos-accent); }
.nos-tile.hear .lbl { background: #fffdf6; color: var(--nos-accent); }
.nos-tile.hear p {
  color: #fffdf6;
  font-family: var(--nos-font);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  padding: 22px;
  line-height: 1.2;
  margin: 0;
}
.nos-tile.smell { grid-column: 3; grid-row: 1 / 3; }
.nos-tile.touch { grid-column: 2; grid-row: 2; background: #fffdf6; border: 1px solid var(--nos-line-strong); }
.nos-tile.touch p {
  padding: 22px;
  margin: 0;
  font-family: var(--nos-font);
  font-weight: 700;
  font-size: 1.5rem;
}
.nos-tile.taste { grid-column: 1 / -1; grid-row: 3; }

/* Три карточки после мозаики */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 36px;
}

.cards-3 .card {
  background: var(--nos-paper);
  border: 1px solid var(--nos-line-strong);
  padding: 28px 24px;
}

.cards-3 .card:nth-child(1) { border-top: 4px solid var(--nos-accent); }
.cards-3 .card:nth-child(2) { border-top: 4px solid #c4a574; }
.cards-3 .card:nth-child(3) { border-top: 4px solid var(--nos-ink); }

.cards-3 .card h2,
.cards-3 .card h3,
.cards-3 .card .card-title,
.nos-card,
.card h2,
.card h3 {
  word-break: keep-all;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
  text-wrap: balance;
}

.cards-3 .card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 500;
}

.cards-3 .card p {
  color: var(--nos-muted);
  margin: 0;
}

.cards-3 .card p.card-cta { margin-top: 18px; }

.cards-3 .card a.nos-card-btn,
.cards-3 .card .nos-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--nos-accent);
  background: transparent;
  color: var(--nos-accent) !important;
  -webkit-text-fill-color: var(--nos-accent) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, -webkit-text-fill-color 0.2s ease;
}

.cards-3 .card a.nos-card-btn:hover,
.cards-3 .card a.nos-card-btn:focus,
.cards-3 .card a.nos-card-btn:active {
  background: var(--nos-accent);
  color: #fffdf6 !important;
  -webkit-text-fill-color: #fffdf6 !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .nos-schedule-grid,
  .cards-3 { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .nos-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 160px 160px 140px;
  }
  .nos-tile.sight { grid-column: 1; grid-row: 1 / 3; }
  .nos-tile.hear { grid-column: 2; grid-row: 1; }
  .nos-tile.smell { grid-column: 2; grid-row: 2 / 4; }
  .nos-tile.touch { grid-column: 1; grid-row: 3; }
  .nos-tile.taste { grid-column: 1 / -1; grid-row: 4; }
}

@media (max-width: 700px) {
  .hero-bleed,
  .entry-content .hero-bleed,
  .entry-content figure.hero-bleed,
  .entry-content .wp-block-image.hero-bleed { height: 48vh; }
  .nos-hero-actions { display: grid; grid-template-columns: 1fr; }
  .nos-hero-actions .wp-block-button__link,
  .nos-hero-actions .wp-block-button { width: 100%; }
}

@media (max-width: 480px) {
  .nos-price,
  #schedule .nos-price { grid-template-columns: 1fr; gap: 6px; }
  body.home #site-header .custom-logo { height: 46px !important; max-height: 46px !important; }
  body.home .nos-meta-row { flex-direction: column; gap: 12px; }
}

/* ——— Шапка Twenty Twenty → как v7 ——— */
body.home #site-header {
  background: var(--nos-bg) !important;
  padding: 0 !important;
  border-bottom: 0;
}

body.home #site-header .header-inner {
  max-width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  min-height: var(--nos-header-h);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center;
}

body.home #site-header .header-titles-wrapper {
  padding: 0 !important;
  margin: 0;
}

body.home #site-header .header-titles {
  padding: 0;
  margin: 0;
}

body.home #site-header .custom-logo {
  height: 52px !important;
  width: auto !important;
  max-height: 52px !important;
  max-width: 180px;
}

body.home #site-header .site-logo,
body.home #site-header .faux-heading {
  margin: 0;
}

body.home #site-header .primary-menu > li > a {
  font-family: var(--nos-font);
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 0 !important;
  color: var(--nos-ink) !important;
}

body.home #site-header .primary-menu > li > a:hover,
body.home #site-header .primary-menu > li > a:focus,
body.home #site-header .primary-menu > li > a:visited:hover,
body.home #site-header .primary-menu > li.current-menu-item > a,
body.home #site-header .primary-menu > li.current-menu-item > a:visited {
  color: var(--nos-accent) !important;
}

body.home #site-header li.booking-btn a {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fffdf6 !important;
  padding: 0 16px !important;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
}

/* ——— Kicker / meta-row (факты с live) ——— */
.nos-kicker,
body.home .entry-content > p.nos-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nos-accent);
  margin: 40px 0 12px;
  text-align: left;
}

.nos-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 28px 0 48px;
  font-size: 14px;
  color: var(--nos-muted);
  text-align: left;
}

.nos-meta-row strong {
  display: block;
  color: var(--nos-ink);
  font-weight: 700;
}

/* ——— «Зачем идти»: split как v7 ——— */
.nos-about,
body.home .entry-content > .nos-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 48px auto;
  text-align: left;
}

.nos-about h2,
.nos-about .nos-about-copy h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 500;
  text-align: left;
  margin: 0 0 0.7em;
  color: var(--nos-ink) !important;
}

.nos-about .nos-about-copy p {
  text-align: left;
  margin: 0 0 16px;
}

.nos-about .about-drop::first-letter {
  font-family: var(--nos-font);
  font-weight: 700;
  float: left;
  font-size: 3.6rem;
  line-height: 0.85;
  padding-right: 10px;
  color: var(--nos-accent);
}

.nos-about-fig,
.nos-about figure {
  overflow: hidden;
  background: #e7e1d2;
  margin: 0;
  aspect-ratio: 3 / 2;
}

.nos-about-fig img,
.nos-about figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ——— FAQ: не центр, как .faq details ——— */
body.home .faq,
body.home .entry-content > .faq {
  text-align: left;
  margin: 12px auto 48px;
}

body.home .faq > h2,
body.home .entry-content > h2.nos-faq-title,
body.home .entry-content > h2.nos-reviews-title,
body.home .entry-content > h2.nos-more-title {
  text-align: left !important;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--nos-ink) !important;
}

body.home .faq details {
  border-top: 1px solid var(--nos-line);
  padding: 16px 0;
  text-align: left;
}

body.home .faq details:last-child {
  border-bottom: 1px solid var(--nos-line);
}

body.home .faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  text-align: left;
}

body.home .faq summary::-webkit-details-marker { display: none; }

body.home .faq details p {
  margin-top: 10px;
  color: var(--nos-muted) !important;
  max-width: 46em;
  text-align: left;
}

/* Отзывы: спокойный H2 слева, виджет как есть */
body.home .nos-reviews,
body.home .entry-content > .nos-reviews {
  text-align: left;
  margin: 36px auto 48px;
}

body.home .nos-reviews-widget {
  width: 100%;
  max-width: 600px;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: 16px 0 0;
}

/* ——— Футер темы ——— */
body.home #site-footer,
body.home #site-footer.header-footer-group {
  background: var(--nos-bg) !important;
  border-top: 1px solid var(--nos-line-strong);
  color: var(--nos-muted);
}

body.home #site-footer a,
body.home #site-footer .footer-copyright a {
  color: var(--nos-accent) !important;
}

body.home #site-footer a:hover {
  color: var(--nos-accent-hover) !important;
}

body.home #site-footer .powered-by-wordpress {
  display: none !important;
}

@media (max-width: 900px) {
  .nos-about,
  body.home .entry-content > .nos-about {
    grid-template-columns: 1fr;
  }
}

/* ——— Child theme: единый вид на всех страницах (не только главная) ——— */
.nos-v7 #site-header {
  background: var(--nos-bg) !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--nos-line);
}

.nos-v7 #site-header .header-inner {
  max-width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  min-height: var(--nos-header-h);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center;
}

.nos-v7 #site-header .header-titles-wrapper,
.nos-v7 #site-header .header-titles {
  padding: 0 !important;
  margin: 0;
}

.nos-v7 #site-header .custom-logo {
  height: 52px !important;
  width: auto !important;
  max-height: 52px !important;
  max-width: 180px;
}

.nos-v7 #site-header .site-logo,
.nos-v7 #site-header .faux-heading {
  margin: 0;
}

.nos-v7 #site-header .primary-menu > li > a {
  font-family: var(--nos-font);
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 0 !important;
  color: var(--nos-ink) !important;
}

.nos-v7 #site-header .primary-menu > li > a:hover,
.nos-v7 #site-header .primary-menu > li > a:focus,
.nos-v7 #site-header .primary-menu > li > a:visited:hover,
.nos-v7 #site-header .primary-menu > li.current-menu-item > a,
.nos-v7 #site-header .primary-menu > li.current-menu-item > a:visited {
  color: var(--nos-accent) !important;
}

.nos-v7 #site-header li.booking-btn a {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fffdf6 !important;
  padding: 0 16px !important;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
}

.nos-v7 #site-footer,
.nos-v7 #site-footer.header-footer-group {
  background: var(--nos-bg) !important;
  border-top: 1px solid var(--nos-line-strong);
  color: var(--nos-muted);
  font-family: var(--nos-font);
}

.nos-v7 #site-footer a,
.nos-v7 #site-footer .footer-copyright a {
  color: var(--nos-accent) !important;
}

.nos-v7 #site-footer a:hover {
  color: var(--nos-accent-hover) !important;
}

.nos-v7 #site-footer .powered-by-wordpress {
  display: none !important;
}

/* Внутренние: крем на всю ширину, колонка 980 по центру экрана.
   Раньше .entry-header / .post-inner сжимались до 980 и оставались
   белой карточкой TT — H1 уезжал влево от Gutenberg 58rem. */
.nos-v7:not(.home):not(.nos-v7-home) {
  --responsive--aligndefault-width: min(var(--nos-max), calc(100vw - 40px));
  --responsive--alignwide-width: min(1120px, calc(100vw - 40px));
}

.nos-v7:not(.home):not(.nos-v7-home) #site-content,
.nos-v7:not(.home):not(.nos-v7-home) #site-content article:not(.card),
.nos-v7:not(.home):not(.nos-v7-home) .post-inner,
.nos-v7:not(.home):not(.nos-v7-home) .entry-header,
.nos-v7:not(.home):not(.nos-v7-home) .entry-header.header-footer-group,
.nos-v7:not(.home):not(.nos-v7-home).singular .entry-header,
.nos-v7:not(.home):not(.nos-v7-home).singular.missing-post-thumbnail .entry-header {
  background: var(--nos-bg) !important;
  background-color: var(--nos-bg) !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-header,
.nos-v7:not(.home):not(.nos-v7-home) .entry-header.header-footer-group,
.nos-v7:not(.home):not(.nos-v7-home).singular .entry-header,
.nos-v7:not(.home):not(.nos-v7-home).singular.missing-post-thumbnail .entry-header {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px 0 0 !important;
  border: 0 !important;
  text-align: left !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-header-inner,
.nos-v7:not(.home):not(.nos-v7-home) .entry-header .section-inner,
.nos-v7:not(.home):not(.nos-v7-home) .entry-header .section-inner.medium {
  max-width: min(var(--nos-max), calc(100vw - 40px)) !important;
  width: min(var(--nos-max), calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  text-align: left !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-header h1,
.nos-v7:not(.home):not(.nos-v7-home) .entry-header .entry-title,
.nos-v7:not(.home):not(.nos-v7-home) h1.entry-title {
  font-family: var(--nos-font) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.08 !important;
  color: var(--nos-ink) !important;
  text-align: left !important;
  /* px: TT html=10px, rem давал «дефолтные 34px» вместо editorial */
  font-size: clamp(28px, 6.4vw, 56px) !important;
  max-width: none !important;
  margin: 0 !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .post-inner,
.nos-v7:not(.home):not(.nos-v7-home) .post-inner.thin {
  max-width: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-top: 12px !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  font-family: var(--nos-font);
  font-size: 17px;
  line-height: 1.55;
  background: transparent !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > *:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: min(var(--nos-max), calc(100vw - 40px)) !important;
  width: min(var(--nos-max), calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .alignwide,
.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .is-style-wide {
  max-width: min(1120px, calc(100vw - 40px)) !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 480px) {
  .nos-v7 #site-header .custom-logo {
    height: 46px !important;
    max-height: 46px !important;
  }
}

/* ——— Шапка: parent CSS + v7 chrome (поиск скрыт, не два меню) ——— */
.nos-v7 #site-header .header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nos-v7 #site-header .header-titles-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  padding: 0 !important;
  text-align: left;
}

.nos-v7 .search-toggle,
.nos-v7 .mobile-search-toggle,
.nos-v7 .desktop-search-toggle,
.nos-v7 .search-untoggle,
.nos-v7 #site-header .search-modal,
.nos-v7 .search-modal,
.nos-v7.enable-search-modal .search-modal {
  display: none !important;
}

.nos-v7 .header-toggles .search-toggle,
.nos-v7 .header-toggles .toggle-wrapper:has(.search-toggle) {
  display: none !important;
}

.nos-v7 .menu-modal {
  display: none;
}

.nos-v7 .menu-modal.show-modal,
.nos-v7 .menu-modal.active {
  display: flex;
}

@media (min-width: 1000px) {
  .nos-v7 #site-header .header-navigation-wrapper {
    display: flex !important;
    align-items: center;
    margin-left: auto;
  }

  .nos-v7 #site-header .primary-menu-wrapper {
    display: block;
  }

  .nos-v7 .mobile-nav-toggle,
  .nos-v7 .mobile-search-toggle {
    display: none !important;
  }

  .nos-v7 .header-toggles {
    display: none !important;
  }

  .nos-v7 .menu-modal {
    display: none !important;
  }
}

@media (max-width: 999px) {
  .nos-v7 #site-header .header-navigation-wrapper {
    display: none !important;
  }

  .nos-v7 .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    background: transparent;
    color: var(--nos-ink);
    border: 0 !important;
    outline: none;
    box-shadow: none;
  }

  .nos-v7 .mobile-nav-toggle .toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .nos-v7 .menu-modal:not(.active):not(.show-modal) {
    display: none !important;
  }
}

/* Gutenberg-таблицы: не excel-рамка Twenty Twenty / block-library */
.nos-v7 .entry-content .wp-block-table,
.nos-v7 .entry-content .wp-block-table table,
.nos-v7 .entry-content table {
  border: 0 !important;
  background: transparent !important;
  width: 100%;
  border-collapse: collapse;
}

.nos-v7 .entry-content .wp-block-table td,
.nos-v7 .entry-content .wp-block-table th,
.nos-v7 .entry-content table td,
.nos-v7 .entry-content table th {
  border: 0 !important;
  border-bottom: 1px solid var(--nos-line) !important;
  background: transparent !important;
  padding: 12px 0 !important;
  text-align: left;
  vertical-align: top;
  font-family: var(--nos-font);
  color: var(--nos-ink);
}

.nos-v7 .entry-content .wp-block-table tr:last-child td,
.nos-v7 .entry-content .wp-block-table tr:last-child th,
.nos-v7 .entry-content table tr:last-child td {
  border-bottom: 0 !important;
}

.nos-v7 .entry-content .wp-block-table td:first-child,
.nos-v7 .entry-content table td:first-child {
  font-weight: 700;
}

.nos-v7 .wp-block-table figcaption {
  color: var(--nos-muted);
}

/* ——— Тестовая стартовая (slug v7-test): те же сетки, что body.home ——— */
body.home .entry-header,
body.home.singular.missing-post-thumbnail .entry-header,
body.nos-v7-home .entry-header,
body.nos-v7-home.singular.missing-post-thumbnail .entry-header,
body.page-id-6920 .entry-header {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

body.home .post-inner,
body.home .post-inner.thin,
body.nos-v7-home .post-inner,
body.nos-v7-home .post-inner.thin,
body.page-id-6920 .post-inner,
body.page-id-6920 .post-inner.thin {
  max-width: none !important;
  width: 100% !important;
  /* Twenty Twenty: .post-inner { padding-top: 5rem } = 50px крем при html=10px.
     На live это прячет reduced-spacing; в Live Preview темы класса нет. */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

body.home .entry-content,
body.nos-v7-home .entry-content,
body.page-id-6920 .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.nos-v7-home .entry-content > *:not(.alignfull):not(.hero-bleed):not(.nos-ticker):not(.wp-block-separator):not(.nos-about):not(.faq):not(.nos-journal):not(.nos-route):not(.nos-more):not(#schedule) {
  max-width: min(var(--nos-max), calc(100vw - 40px)) !important;
  width: min(var(--nos-max), calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

body.nos-v7-home .entry-content > .nos-ticker,
body.page-id-6920 .entry-content > .nos-ticker {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.nos-v7-home .entry-content > #schedule,
body.nos-v7-home .entry-content > .cards-3,
body.nos-v7-home .entry-content > .nos-mosaic,
body.nos-v7-home .entry-content > h1,
body.nos-v7-home .entry-content > h1.wp-block-heading,
body.nos-v7-home .entry-content > p.nos-lede,
body.nos-v7-home .entry-content > p.nos-note,
body.nos-v7-home .entry-content > .wp-block-buttons.nos-hero-actions,
body.nos-v7-home .entry-content > .nos-journal,
body.nos-v7-home .entry-content > .nos-route {
  max-width: min(980px, calc(100vw - 40px)) !important;
  width: min(980px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

body.nos-v7-home .entry-content > h1,
body.nos-v7-home .entry-content > h1.wp-block-heading {
  font-size: clamp(2.05rem, 7.2vw, 4.4rem);
  font-weight: 700;
  max-width: 14em !important;
  width: auto;
  text-align: left;
  margin: 40px auto 16px;
}

body.nos-v7-home .entry-content > p.nos-lede {
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 500;
  max-width: 38em;
  text-align: left;
  margin: 0 auto 14px;
}

body.nos-v7-home .entry-content > p.nos-note {
  color: var(--nos-muted);
  max-width: 40em;
  text-align: left;
  margin: 0 auto 28px;
}

body.nos-v7-home .faq,
body.nos-v7-home .entry-content > .faq {
  text-align: left;
  margin: 12px auto 48px;
}

body.nos-v7-home .faq > h2,
body.nos-v7-home .entry-content > h2.nos-faq-title,
body.nos-v7-home .entry-content > h2.nos-reviews-title,
body.nos-v7-home .entry-content > h2.nos-more-title {
  text-align: left !important;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--nos-ink) !important;
}

body.nos-v7-home .faq details {
  border-top: 1px solid var(--nos-line);
  padding: 16px 0;
  text-align: left;
}

body.nos-v7-home .faq details:last-child {
  border-bottom: 1px solid var(--nos-line);
}

body.nos-v7-home .faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  text-align: left;
}

body.nos-v7-home .faq summary::-webkit-details-marker { display: none; }

body.nos-v7-home .faq details p {
  margin-top: 10px;
  color: var(--nos-muted) !important;
  max-width: 46em;
  text-align: left;
}

body.nos-v7-home .nos-reviews-widget {
  width: 100%;
  max-width: 600px;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: 16px 0 0;
}

/* Журнал + маршрут (есть в v7-combo / site, не было в теме) */
.nos-muted { color: var(--nos-muted); }

.nos-hint {
  margin-top: 18px;
  color: var(--nos-muted);
  font-size: 15px;
}

.nos-quote {
  font-family: var(--nos-font);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.25;
  max-width: 18em;
  margin: 0;
}

.nos-quote cite {
  display: block;
  margin-top: 20px;
  font-family: var(--nos-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: var(--nos-muted);
}

.nos-journal,
.nos-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin: 48px auto;
  text-align: left;
}

.nos-journal h2,
.nos-route h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 500;
  margin: 0 0 0.7em;
}

.nos-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-content ol.nos-steps,
.entry-content .nos-steps {
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
}

.nos-steps li,
body.nos-v7-home .entry-content .nos-steps li,
body.page-id-6920 .entry-content .nos-steps li {
  list-style: none;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 26px;
}

.nos-steps li::marker {
  content: none;
}

/* Старый ::before-счётчик больше не используем — номер в .step-num */
.nos-steps li::before {
  content: none !important;
  display: none !important;
  counter-increment: none;
}

.nos-steps .step-num,
body.nos-v7-home .entry-content .nos-steps .step-num,
body.page-id-6920 .entry-content .nos-steps .step-num {
  flex: 0 0 36px;
  width: 36px;
  box-sizing: border-box;
  font-family: var(--nos-font);
  font-weight: 700;
  font-size: 17px !important;
  line-height: 26px !important;
  color: var(--nos-accent);
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.nos-steps li > p,
.nos-steps li p,
body.nos-v7-home .entry-content .nos-steps li p,
body.page-id-6920 .entry-content .nos-steps li p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 17px !important;
  line-height: 26px !important;
}

.nos-cap {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nos-muted);
  margin-top: 10px;
}

@media (max-width: 900px) {
  .nos-journal,
  .nos-route { grid-template-columns: 1fr; }
}

/* ——— Нативная шапка/футер v7 (header.php / footer.php), не Twenty Twenty ——— */
.nos-v7 {
  --bg: var(--nos-bg);
  --bg-paper: var(--nos-paper);
  --accent: var(--nos-accent);
  --accent-hover: var(--nos-accent-hover);
  --ink: var(--nos-ink);
  --muted: var(--nos-muted);
  --line: var(--nos-line);
  --line-strong: var(--nos-line-strong);
  --header-h: var(--nos-header-h);
  --max: 980px;
}

.nos-v7 #menu-modal,
.nos-v7 .menu-modal,
.nos-v7 #search-modal,
.nos-v7 .search-modal,
.nos-v7 .footer-nav-widgets-wrapper,
.nos-v7 .footer-widgets-outer-wrapper {
  display: none !important;
}

.nos-v7 header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nos-bg);
  border-bottom: 0;
  padding: 0 !important;
  margin: 0;
}

.nos-v7 header.site-header .header-inner {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  min-height: var(--nos-header-h);
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 !important;
  position: relative;
}

.nos-v7 header.site-header .logo {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.nos-v7 header.site-header .logo img {
  height: 52px;
  width: auto;
  max-height: 52px;
  max-width: 180px;
  display: block;
}

.nos-v7 header.site-header .nav-toggle {
  appearance: none;
  -webkit-appearance: none;
  margin: 0 0 0 auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  align-self: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  padding: 0 !important;
  color: var(--nos-ink) !important;
  border-radius: 0;
  box-shadow: none !important;
  box-sizing: border-box;
  line-height: 0;
  font-size: 0;
  text-align: center;
  vertical-align: middle;
}
.nos-v7 header.site-header .nav-toggle:hover,
.nos-v7 header.site-header .nav-toggle:focus,
.nos-v7 header.site-header .nav-toggle:focus-visible,
.nos-v7 header.site-header .nav-toggle:active {
  background: transparent !important;
  color: var(--nos-ink) !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.nos-v7 header.site-header .nav-toggle::before,
.nos-v7 header.site-header .nav-toggle::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

.nos-v7 header.site-header .nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  background: var(--nos-ink);
  pointer-events: none;
}

.nos-v7 header.site-header .site-nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  margin-left: auto;
}

.nos-v7 header.site-header .site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nos-v7 header.site-header .site-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px 22px;
}

.nos-v7 header.site-header .site-nav a,
.nos-v7 header.site-header .site-nav .sub-toggle {
  color: var(--nos-ink);
  text-decoration: none;
  font-family: var(--nos-font);
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 0;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.15s ease, -webkit-text-fill-color 0.15s ease;
}

.nos-v7 header.site-header .site-nav a:hover,
.nos-v7 header.site-header .site-nav .sub-toggle:hover,
.nos-v7 header.site-header .site-nav a.is-active,
.nos-v7 header.site-header .site-nav a[aria-current="page"] {
  color: var(--nos-accent, #9b1230);
}

.nos-v7 header.site-header .has-sub {
  position: relative;
}

.nos-v7 header.site-header .has-sub .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 240px;
  background: var(--nos-paper);
  border: 1px solid var(--nos-line-strong);
  padding: 8px 0;
  z-index: 20;
}

.nos-v7 header.site-header .has-sub.open .submenu,
.nos-v7 header.site-header .has-sub:hover .submenu {
  display: block;
}

.nos-v7 header.site-header .submenu a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
}

.nos-v7 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--nos-accent);
  background: transparent;
  color: var(--nos-accent);
  text-decoration: none !important;
  font-family: var(--nos-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.nos-v7 .btn:hover,
.nos-v7 .btn:focus,
.nos-v7 .btn:active {
  background: var(--nos-accent);
  color: #fffdf6;
  text-decoration: none !important;
}

.nos-v7 .btn-accent {
  background: var(--nos-accent);
  color: #fffdf6;
}

.nos-v7 .btn-accent:hover,
.nos-v7 .btn-accent:focus,
.nos-v7 .btn-accent:active {
  background: var(--nos-accent-hover, #7d0e26);
  color: #fffdf6;
  text-decoration: none !important;
}

.nos-v7 header.site-header .header-book {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 16px;
  margin-left: 8px;
}

.nos-v7 footer.footer {
  border-top: 1px solid var(--nos-line-strong);
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--nos-muted);
  background: var(--nos-bg);
  font-family: var(--nos-font);
}

.nos-v7 footer.footer .wrap {
  width: min(var(--nos-max), calc(100% - 40px));
  margin-inline: auto;
}

.nos-v7 footer.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.nos-v7 footer.footer strong {
  color: var(--nos-ink);
  display: block;
  margin-bottom: 8px;
}

.nos-v7 footer.footer p {
  margin: 0 0 8px;
}

.nos-v7 footer.footer .legal {
  margin-top: 10px;
}

.nos-v7 footer.footer a {
  color: var(--nos-ink);
  text-decoration: none;
}

.nos-v7 footer.footer a:hover {
  color: var(--nos-accent);
}

@media (max-width: 768px) {
  .nos-v7 {
    --header-h: 64px;
    --nos-header-h: 64px;
  }

  .nos-v7 header.site-header .header-inner {
    width: calc(100% - 24px);
    gap: 10px;
    align-items: center !important;
  }

  .nos-v7 header.site-header .logo img {
    height: 46px;
    max-height: 46px;
    max-width: 170px;
  }

  .nos-v7 header.site-header .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch;
    order: 3;
    margin: 0;
    margin-left: 0;
    flex-shrink: 0;
    width: 44px;
    height: auto;
    min-height: 0;
    padding: 0 !important;
  }

  .nos-v7 header.site-header .header-book {
    order: 2;
    margin-left: auto;
    align-self: center;
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .nos-v7.has-mobile-nav-book header.site-header .header-book {
    display: none;
  }

  /* Кнопка брони скрыта в шапке — бургер уезжает вправо и остаётся по центру ряда */
  .nos-v7.has-mobile-nav-book header.site-header .nav-toggle {
    margin-left: auto;
  }

  .nos-v7 header.site-header .site-nav {
    display: none;
    position: fixed;
    inset: var(--nos-header-h) 0 0 0;
    z-index: 40;
    background: var(--nos-bg);
    border-top: 1px solid var(--nos-line-strong);
    padding: 20px 20px 28px;
    margin: 0;
    overflow-y: auto;
  }

  .nos-v7 header.site-header .site-nav.is-open {
    display: block;
  }

  .nos-v7.nav-open {
    overflow: hidden;
  }

  .nos-v7 header.site-header .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nos-v7 header.site-header .site-nav > ul > li {
    border-bottom: 1px solid var(--nos-line);
  }

  .nos-v7 header.site-header .site-nav a,
  .nos-v7 header.site-header .site-nav .sub-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    font-size: 16px;
  }

  .nos-v7 header.site-header .nav-book-cta {
    border-bottom: 1px solid var(--nos-line-strong);
    padding-bottom: 16px;
    margin-bottom: 8px;
  }

  .nos-v7 header.site-header .nav-book-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .nos-v7 header.site-header .has-sub .submenu,
  .nos-v7 header.site-header .has-sub:hover .submenu {
    position: static;
    display: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

  .nos-v7 header.site-header .has-sub.open .submenu {
    display: block;
  }

  .nos-v7 header.site-header .submenu a {
    padding: 10px 0;
    white-space: normal;
  }

  .nos-v7 footer.footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nos-v7 header.site-header .logo img {
    height: 46px;
    max-height: 46px;
    max-width: 170px;
  }
}

/* ——— Pixel-match v7-combo / site: Twenty Twenty html=62.5% ломает rem ———
   Все clamp() ниже в px (эталон: 16px root). Селекторы без зависимости
   от body.home — работают на /v7-test/ при неактивной child theme. */
body.nos-v7-home,
body.page-id-6920,
body.nos-v7-home .entry-content,
body.page-id-6920 .entry-content {
  font-family: "Onest", system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: normal !important;
  color: var(--nos-ink) !important;
  background-color: var(--nos-bg);
}

body.nos-v7-home .entry-content p,
body.nos-v7-home .entry-content h1,
body.nos-v7-home .entry-content h2,
body.nos-v7-home .entry-content h3,
body.nos-v7-home .entry-content li,
body.nos-v7-home .entry-content td,
body.nos-v7-home .entry-content summary,
body.nos-v7-home .entry-content blockquote,
body.page-id-6920 .entry-content p,
body.page-id-6920 .entry-content h1,
body.page-id-6920 .entry-content h2,
body.page-id-6920 .entry-content h3,
body.page-id-6920 .entry-content li,
body.page-id-6920 .entry-content td,
body.page-id-6920 .entry-content summary,
body.page-id-6920 .entry-content blockquote {
  font-family: "Onest", system-ui, sans-serif !important;
}

body.nos-v7-home .entry-header,
body.page-id-6920 .entry-header {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Герой: отступы как .hero-copy (40 / 64), не удвоенный margin у H1 */
body.nos-v7-home .entry-content > .nos-ticker + p.nos-kicker,
body.page-id-6920 .entry-content > .nos-ticker + p.nos-kicker {
  margin-top: 40px !important;
  margin-bottom: 12px !important;
}

body.nos-v7-home .entry-content > h1,
body.nos-v7-home .entry-content > h1.wp-block-heading,
body.page-id-6920 .entry-content > h1,
body.page-id-6920 .entry-content > h1.wp-block-heading {
  font-size: clamp(32.8px, 7.2vw, 70.4px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
  max-width: 14em !important;
  width: auto !important;
  margin: 0 auto 0 !important;
  text-align: left !important;
}

body.nos-v7-home .entry-content > p.nos-lede,
body.page-id-6920 .entry-content > p.nos-lede {
  font-size: clamp(20px, 2.6vw, 26.4px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  max-width: 38em !important;
  margin: 20px auto 14px !important;
  color: var(--nos-ink) !important;
}

body.nos-v7-home .entry-content > p.nos-note,
body.page-id-6920 .entry-content > p.nos-note {
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--nos-muted) !important;
  width: 680px !important;
  max-width: 680px !important;
  margin: 0 auto 28px !important;
  margin-left: max(20px, calc((100vw - 980px) / 2)) !important;
}

.nos-kicker,
body.nos-v7-home .nos-kicker,
body.page-id-6920 .nos-kicker {
  font-family: "Onest", system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--nos-accent) !important;
  margin-bottom: 12px !important;
}

body.nos-v7-home .entry-content > .wp-block-buttons.nos-hero-actions,
body.page-id-6920 .entry-content > .wp-block-buttons.nos-hero-actions {
  margin: 0 auto 0 !important;
}

.nos-hero-actions .wp-block-button__link,
body.nos-v7-home .nos-hero-actions .wp-block-button__link,
body.page-id-6920 .nos-hero-actions .wp-block-button__link {
  font-family: "Onest", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  text-transform: uppercase !important;
}

.nos-hero-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  min-width: 260px;
  background-color: var(--nos-accent) !important;
  color: #fffdf6 !important;
  -webkit-text-fill-color: #fffdf6 !important;
  text-decoration: none !important;
}

.nos-hero-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.nos-hero-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus {
  background-color: var(--nos-accent-hover, #7d0e26) !important;
  text-decoration: none !important;
}

.nos-hero-actions .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: var(--nos-accent) !important;
  -webkit-text-fill-color: var(--nos-accent) !important;
  border: 1px solid var(--nos-accent) !important;
  text-decoration: none !important;
}

.nos-hero-actions .wp-block-button.is-style-outline .wp-block-button__link:hover,
.nos-hero-actions .wp-block-button.is-style-outline .wp-block-button__link:focus {
  background-color: var(--nos-accent) !important;
  color: #fffdf6 !important;
  -webkit-text-fill-color: #fffdf6 !important;
  text-decoration: none !important;
}

.nos-meta-row {
  margin: 28px auto 64px !important;
  font-size: 14px !important;
  color: var(--nos-muted) !important;
}

/* Секции: full-bleed линия + колонка 980, padding 72 как .section */
body.nos-v7-home .entry-content > #schedule,
body.nos-v7-home .entry-content > .nos-about,
body.nos-v7-home .entry-content > .faq,
body.nos-v7-home .entry-content > .nos-journal,
body.nos-v7-home .entry-content > .nos-route,
body.nos-v7-home .entry-content > .nos-more,
body.page-id-6920 .entry-content > #schedule,
body.page-id-6920 .entry-content > .nos-about,
body.page-id-6920 .entry-content > .faq,
body.page-id-6920 .entry-content > .nos-journal,
body.page-id-6920 .entry-content > .nos-route,
body.page-id-6920 .entry-content > .nos-more {
  max-width: 100vw !important;
  width: 100vw !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 72px max(20px, calc((100vw - 980px) / 2)) !important;
  border-top: 1px solid var(--nos-line);
  box-sizing: border-box;
}

body.nos-v7-home .entry-content > .nos-journal,
body.page-id-6920 .entry-content > .nos-journal {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

#schedule > h2,
#schedule h2,
.nos-about h2,
.faq > h2,
.nos-journal h2,
.nos-route h2,
.nos-more h2,
h2.nos-more-title,
h2.nos-reviews-title,
h2.nos-faq-title {
  font-family: "Onest", system-ui, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.08 !important;
  color: var(--nos-ink) !important;
  text-align: left !important;
}

#schedule > h2,
#schedule h2 {
  font-size: clamp(38.4px, 6vw, 67.2px) !important;
  margin: 0 0 0.7em !important;
}

/* Nested section H2: parent already has the column gutter */
.nos-about h2,
.faq > h2,
.nos-journal h2,
.nos-route h2,
.nos-more h2 {
  font-size: clamp(30.4px, 5vw, 48px) !important;
  margin: 0 0 0.7em !important;
}

/* Standalone Gutenberg H2: keep horizontal auto so titles don't stick to the edge.
   Previously margin:0 0 0.7em !important overrode margin-left/right:auto. */
body.home .entry-content > h2.nos-more-title,
body.home .entry-content > h2.nos-reviews-title,
body.home .entry-content > h2.nos-faq-title,
body.nos-v7-home .entry-content > h2.nos-more-title,
body.nos-v7-home .entry-content > h2.nos-reviews-title,
body.nos-v7-home .entry-content > h2.nos-faq-title,
body.page-id-6920 .entry-content > h2.nos-more-title,
body.page-id-6920 .entry-content > h2.nos-reviews-title,
body.page-id-6920 .entry-content > h2.nos-faq-title,
h2.nos-more-title,
h2.nos-reviews-title,
h2.nos-faq-title {
  font-size: clamp(30.4px, 5vw, 48px) !important;
  margin: 0 auto 0.7em !important;
}

#schedule .nos-price .sum,
#schedule .sum {
  font-family: "Onest", system-ui, sans-serif !important;
  font-size: clamp(48px, 6vw, 73.6px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  overflow: visible;
  max-width: none;
}

.nos-about .about-drop,
.about-drop {
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: var(--nos-ink) !important;
}

.nos-about .about-drop::first-letter,
.about-drop::first-letter {
  font-family: "Onest", system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 57.6px !important;
  line-height: 0.85 !important;
  padding-right: 10px;
  color: var(--nos-accent) !important;
}

.cards-3 .card,
.cards-3 .card p,
.cards-3 .card h3 {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.cards-3 .card h3 {
  font-size: 23.2px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
}

.nos-quote {
  font-size: clamp(27.2px, 3.4vw, 38.4px) !important;
  line-height: 1.25 !important;
}

.nos-reviews-widget {
  min-height: 520px;
  height: 520px;
  max-width: none;
}

.nos-reviews-widget iframe {
  height: 520px !important;
}

#schedule .wp-block-button__link {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  line-height: 1 !important;
  color: #fffdf6 !important;
  -webkit-text-fill-color: #fffdf6 !important;
}

@media (max-width: 900px) {
  body.nos-v7-home .entry-content > #schedule,
  body.nos-v7-home .entry-content > .nos-about,
  body.nos-v7-home .entry-content > .faq,
  body.nos-v7-home .entry-content > .nos-journal,
  body.nos-v7-home .entry-content > .nos-route,
  body.page-id-6920 .entry-content > #schedule,
  body.page-id-6920 .entry-content > .nos-about,
  body.page-id-6920 .entry-content > .faq,
  body.page-id-6920 .entry-content > .nos-journal,
  body.page-id-6920 .entry-content > .nos-route,
  body.nos-v7-home .entry-content > .nos-more,
  body.page-id-6920 .entry-content > .nos-more {
    padding: 52px 16px !important;
  }
}

@media (max-width: 480px) {
  body.nos-v7-home,
  body.page-id-6920,
  body.nos-v7-home .entry-content,
  body.page-id-6920 .entry-content {
    font-size: 16px !important;
  }

  .nos-steps li,
  .nos-steps li > p,
  .nos-steps li p,
  body.nos-v7-home .entry-content .nos-steps li,
  body.page-id-6920 .entry-content .nos-steps li {
    font-size: 16px !important;
    line-height: 25px !important;
  }

  .nos-steps .step-num,
  .nos-steps li > p,
  .nos-steps li p,
  body.nos-v7-home .entry-content .nos-steps .step-num,
  body.page-id-6920 .entry-content .nos-steps .step-num,
  body.nos-v7-home .entry-content .nos-steps li p,
  body.page-id-6920 .entry-content .nos-steps li p {
    font-size: 16px !important;
    line-height: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* ——— v7 chrome: поля шапки, текстовое меню, без «Стоимость» ——— */
.nos-cost-label,
#schedule .nos-cost-label {
  display: none !important;
}

.nos-v7 header.site-header .header-inner,
.nos-v7 #site-header .header-inner,
body.home #site-header .header-inner,
body.page-id-6920 #site-header .header-inner {
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Базовый цвет меню. НЕ добавлять отдельный :visited сюда:
   иначе :visited (лишний псевдокласс) перебивает :hover и .is-active. */
.nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book) {
  color: var(--nos-ink) !important;
  -webkit-text-fill-color: var(--nos-ink) !important;
  text-decoration: none !important;
  transition: color 0.15s ease, -webkit-text-fill-color 0.15s ease;
}

.nos-v7 header.site-header .site-nav li:not(.nav-book-cta) > a,
.nos-v7 header.site-header .site-nav li:not(.nav-book-cta) > a:hover,
.nos-v7 header.site-header .site-nav li:not(.nav-book-cta) > a:focus,
.nos-v7 header.site-header .site-nav li:not(.nav-book-cta) > a:focus-visible,
.nos-v7 header.site-header .site-nav li:not(.nav-book-cta) > a:active,
.nos-v7 header.site-header .site-nav li:not(.nav-book-cta) > a.is-active,
.nos-v7 header.site-header .site-nav .sub-toggle,
.nos-v7 header.site-header .site-nav .sub-toggle:hover,
.nos-v7 header.site-header .site-nav .sub-toggle:focus,
.nos-v7 header.site-header .site-nav .sub-toggle:focus-visible,
.nos-v7 header.site-header .site-nav .sub-toggle:active,
.nos-v7 header.site-header .site-nav button.sub-toggle,
.nos-v7 header.site-header .site-nav .dropdown-toggle,
.nos-v7 header.site-header .site-nav li,
.nos-v7 header.site-header .site-nav li.current-menu-item,
.nos-v7 header.site-header .site-nav li.current_page_item,
.nos-v7 header.site-header .site-nav li.current-menu-ancestor,
.nos-v7 header.site-header .site-nav li.current-menu-parent,
.nos-v7 #site-header .primary-menu > li:not(.booking-btn) > a,
.nos-v7 #site-header .primary-menu > li:not(.booking-btn) > a:hover,
.nos-v7 #site-header .primary-menu > li:not(.booking-btn) > a:focus,
.nos-v7 #site-header .primary-menu > li:not(.booking-btn) > a:focus-visible,
.nos-v7 #site-header .primary-menu > li:not(.booking-btn) > a:active,
.nos-v7 #site-header .primary-menu > li.current-menu-item:not(.booking-btn) > a,
.nos-v7 #site-header .primary-menu > li.current_page_item:not(.booking-btn) > a,
.nos-v7 #site-header .primary-menu > li.current-menu-ancestor > a,
.nos-v7 #site-header .primary-menu > li.current-menu-parent > a,
body.home #site-header .primary-menu > li:not(.booking-btn) > a,
body.home #site-header .primary-menu > li:not(.booking-btn) > a:hover,
body.home #site-header .primary-menu > li:not(.booking-btn) > a:focus,
body.home #site-header .primary-menu > li.current-menu-item:not(.booking-btn) > a,
body.home #site-header .primary-menu > li.current_page_item:not(.booking-btn) > a,
body.page-id-6920 #site-header .primary-menu > li:not(.booking-btn) > a,
body.page-id-6920 #site-header .primary-menu > li:not(.booking-btn) > a:hover,
body.page-id-6920 #site-header .primary-menu > li:not(.booking-btn) > a:focus,
body.page-id-6920 #site-header .primary-menu > li.current-menu-item:not(.booking-btn) > a {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.nos-v7 header.site-header .site-nav .sub-toggle,
.nos-v7 header.site-header .site-nav button.sub-toggle,
.nos-v7 header.site-header .site-nav .dropdown-toggle {
  color: var(--nos-ink) !important;
  -webkit-text-fill-color: var(--nos-ink) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  padding: 8px 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: var(--nos-font) !important;
  transition: color 0.15s ease, -webkit-text-fill-color 0.15s ease;
}

/* Hover/active: те же :not(), плюс :visited:* — иначе посещённые пункты «мертвые». */
.nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):hover,
.nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):focus,
.nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):focus-visible,
.nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):visited:hover,
.nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):visited:focus,
.nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):visited:focus-visible,
.nos-v7 header.site-header .site-nav a.is-active:not(.btn):not(.btn-accent):not(.header-book),
.nos-v7 header.site-header .site-nav a.is-active:not(.btn):not(.btn-accent):not(.header-book):visited,
.nos-v7 header.site-header .site-nav a[aria-current="page"]:not(.btn):not(.btn-accent):not(.header-book),
.nos-v7 header.site-header .site-nav a[aria-current="page"]:not(.btn):not(.btn-accent):not(.header-book):visited,
.nos-v7 header.site-header .site-nav .sub-toggle:hover,
.nos-v7 header.site-header .site-nav .sub-toggle:focus,
.nos-v7 header.site-header .site-nav .sub-toggle:focus-visible {
  color: var(--nos-accent, #9b1230) !important;
  -webkit-text-fill-color: var(--nos-accent, #9b1230) !important;
  text-decoration: none !important;
}

.nos-v7 header.site-header .header-book,
.nos-v7 header.site-header a.header-book,
.nos-v7 header.site-header .header-book:hover,
.nos-v7 header.site-header .header-book:focus,
.nos-v7 #site-header li.booking-btn a,
.nos-v7 #site-header li.booking-btn a:hover,
.nos-v7 #site-header li.booking-btn a:focus,
body.home #site-header li.booking-btn a,
body.page-id-6920 #site-header li.booking-btn a {
  background: var(--nos-accent) !important;
  background-color: var(--nos-accent) !important;
  color: #fffdf6 !important;
}

.nos-v7 header.site-header .header-book:hover,
.nos-v7 header.site-header .header-book:focus,
.nos-v7 #site-header li.booking-btn a:hover {
  background: var(--nos-accent-hover) !important;
  background-color: var(--nos-accent-hover) !important;
}

/* Gutenberg leftover: kicker/H2/карточки без секции — тот же столбец 980.
   body.home обязателен: live главная (page-id-6) не имеет nos-v7-home / 6920. */
body.home .entry-content > p.nos-kicker,
body.nos-v7-home .entry-content > p.nos-kicker,
body.page-id-6920 .entry-content > p.nos-kicker,
body.home .entry-content > h2.nos-more-title,
body.nos-v7-home .entry-content > h2.nos-more-title,
body.page-id-6920 .entry-content > h2.nos-more-title,
body.home .entry-content > h2.nos-reviews-title,
body.nos-v7-home .entry-content > h2.nos-reviews-title,
body.page-id-6920 .entry-content > h2.nos-reviews-title,
body.home .entry-content > h2.nos-faq-title,
body.nos-v7-home .entry-content > h2.nos-faq-title,
body.page-id-6920 .entry-content > h2.nos-faq-title,
body.home .entry-content > .nos-mosaic,
body.nos-v7-home .entry-content > .nos-mosaic,
body.page-id-6920 .entry-content > .nos-mosaic,
body.home .entry-content > .cards-3,
body.nos-v7-home .entry-content > .cards-3,
body.page-id-6920 .entry-content > .cards-3 {
  max-width: min(980px, calc(100vw - 40px)) !important;
  width: min(980px, calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .nos-v7 header.site-header .header-inner,
  .nos-v7 #site-header .header-inner,
  body.home #site-header .header-inner,
  body.page-id-6920 #site-header .header-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Расписание: Twenty Twenty body{word-break:break-word} ломает «Длительность» */
  #schedule td,
  #schedule th,
  #schedule td:first-child,
  body.page-id-6920 #schedule td,
  body.page-id-6920 #schedule td:first-child {
    word-break: normal !important;
    overflow-wrap: normal !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
  }

  #schedule td:first-child,
  body.page-id-6920 #schedule td:first-child {
    width: auto !important;
    min-width: 11.5em;
    white-space: nowrap;
  }

  /* Оверлей: пункты ink (не белый от button/current Twenty Twenty).
     Hover/active — акцентный бордовый. Без голого :visited в базовом ink. */
  .nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book),
  .nos-v7 header.site-header .site-nav .sub-toggle,
  .nos-v7 header.site-header .site-nav button.sub-toggle,
  .nos-v7 header.site-header .site-nav .dropdown-toggle,
  .nos-v7 header.site-header .site-nav li.has-dropdown > a:not(.btn),
  .nos-v7 header.site-header .site-nav li.has-dropdown > .sub-toggle,
  .nos-v7 header.site-header .site-nav li.has-sub > .sub-toggle {
    color: var(--nos-ink) !important;
    -webkit-text-fill-color: var(--nos-ink) !important;
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: none !important;
  }

  .nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):hover,
  .nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):focus,
  .nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):visited:hover,
  .nos-v7 header.site-header .site-nav a:not(.btn):not(.btn-accent):not(.header-book):visited:focus,
  .nos-v7 header.site-header .site-nav a.is-active:not(.btn):not(.btn-accent):not(.header-book),
  .nos-v7 header.site-header .site-nav a.is-active:not(.btn):not(.btn-accent):not(.header-book):visited,
  .nos-v7 header.site-header .site-nav a[aria-current="page"]:not(.btn):not(.btn-accent):not(.header-book),
  .nos-v7 header.site-header .site-nav a[aria-current="page"]:not(.btn):not(.btn-accent):not(.header-book):visited,
  .nos-v7 header.site-header .site-nav .sub-toggle:hover,
  .nos-v7 header.site-header .site-nav .sub-toggle:focus,
  .nos-v7 header.site-header .site-nav li.current-menu-item > a:not(.btn),
  .nos-v7 header.site-header .site-nav li.current-menu-item > .sub-toggle,
  .nos-v7 header.site-header .site-nav li.current_page_item > a:not(.btn) {
    color: var(--nos-accent, #9b1230) !important;
    -webkit-text-fill-color: var(--nos-accent, #9b1230) !important;
    text-decoration: none !important;
  }

  .nos-v7 header.site-header .site-nav .sub-toggle,
  .nos-v7 header.site-header .site-nav button.sub-toggle,
  .nos-v7 header.site-header .site-nav .dropdown-toggle {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding: 14px 0 !important;
    font-size: 16px !important;
    min-height: 0 !important;
    border: 0 !important;
  }

  /* Бордовая плашка «Забронировать» в выезжающем меню */
  .nos-v7 header.site-header .nav-book-cta {
    display: block;
    border-bottom: 1px solid var(--nos-line-strong);
    padding-bottom: 16px;
    margin-bottom: 8px;
    list-style: none;
  }

  .nos-v7 header.site-header .nav-book-cta a,
  .nos-v7 header.site-header .nav-book-cta a.btn,
  .nos-v7 header.site-header .nav-book-cta a.btn-accent,
  .nos-v7 header.site-header .nav-book-cta a:visited,
  .nos-v7 header.site-header .nav-book-cta a:hover,
  .nos-v7 header.site-header .nav-book-cta a:focus {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px !important;
    padding: 0 22px !important;
    background: var(--nos-accent) !important;
    background-color: var(--nos-accent) !important;
    color: #fffdf6 !important;
    -webkit-text-fill-color: #fffdf6 !important;
    border: 1px solid var(--nos-accent) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  .nos-v7 header.site-header .nav-book-cta a:hover,
  .nos-v7 header.site-header .nav-book-cta a:focus {
    background: var(--nos-accent-hover) !important;
    background-color: var(--nos-accent-hover) !important;
  }

  .nos-v7 header.site-header:has(.nav-book-cta) .header-book {
    display: none;
  }
}

@media (min-width: 769px) {
  .nos-v7 header.site-header .nav-book-cta {
    display: none !important;
  }
}

/* Знак белорусского рубля (Нацбанк, не российский ₽): число + знак в одной строке */
.nos-money,
.nos-meta-row .nos-money,
.nos-hint .nos-money,
.faq .nos-money,
#schedule .sum.nos-money,
#schedule .nos-price .sum.nos-money {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  white-space: nowrap;
  overflow: visible;
  max-width: none;
  vertical-align: middle;
  word-break: keep-all;
}

.nos-money-num {
  white-space: nowrap;
  line-height: 1;
}

.nos-byn,
.nos-money .nos-byn,
#schedule .sum .nos-byn,
#schedule .nos-price .sum .nos-byn,
body.page-id-6920 .nos-byn,
body.nos-v7-home .nos-byn {
  display: block !important;
  width: 0.37em !important;
  height: 0.46em !important;
  max-width: none !important;
  max-height: none !important;
  flex: 0 0 0.37em;
  align-self: center;
  overflow: visible;
  vertical-align: middle;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background-color: currentColor !important;
  background-image: none !important;
  -webkit-mask: url("byn.svg") center / contain no-repeat;
  mask: url("byn.svg") center / contain no-repeat;
}

#schedule .nos-prices,
#schedule .nos-price,
body.page-id-6920 #schedule .nos-price {
  overflow: visible;
}

/* Модалка касс РБ/РФ — как Additional CSS на live (Twenty Twenty + #nos-booking-modal-js) */
#nos-booking-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#nos-booking-modal[hidden] {
  display: none !important;
}
.nos-booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.nos-booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  background: #fff;
  color: #1a1a1a;
  padding: 40px 24px 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}
.nos-booking-modal__title {
  margin: 0 0 24px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
}
.nos-booking-modal__close,
#nos-booking-modal .nos-booking-modal__close {
  position: absolute;
  top: 4px;
  right: 4px;
  border: 0 !important;
  background: transparent !important;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  padding: 10px 14px;
  min-width: 48px !important;
  min-height: 48px !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}
.nos-booking-modal__close:hover,
.nos-booking-modal__close:focus,
.nos-booking-modal__close:focus-visible,
#nos-booking-modal .nos-booking-modal__close:hover,
#nos-booking-modal .nos-booking-modal__close:focus,
#nos-booking-modal .nos-booking-modal__close:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.nos-booking-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nos-booking-modal__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  padding: 18px 20px;
  min-height: 88px;
  box-sizing: border-box;
  width: 100%;
}
.nos-booking-modal__cta-title {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
}
.nos-booking-modal__cta-note {
  font-size: 15px;
  margin-top: 6px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 1;
  color: inherit;
}
.nos-booking-modal__cta--by {
  background: #9b1230;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.nos-booking-modal__cta--by:hover,
.nos-booking-modal__cta--by:focus {
  background: #7e0e26;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.nos-booking-modal__cta--ru {
  background: #fff;
  color: #9b1230 !important;
  -webkit-text-fill-color: #9b1230;
  border: 2px solid #9b1230;
}
.nos-booking-modal__cta--ru:hover,
.nos-booking-modal__cta--ru:focus {
  background: #f8eef1;
  color: #9b1230 !important;
  -webkit-text-fill-color: #9b1230;
}
body.nos-booking-modal-open {
  overflow: hidden;
}
@media (max-width: 480px) {
  .nos-booking-modal__title {
    font-size: 22px;
  }
  .nos-booking-modal__cta {
    width: 100%;
    padding: 20px 16px;
  }
}

/* ——— Внутренние страницы: типографика, hero, Gutenberg, тестовые копии ——— */
.nos-v7:not(.home):not(.nos-v7-home) #site-content,
.nos-v7.nos-v7-inner #site-content {
  background: var(--nos-bg);
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content p,
.nos-v7.nos-v7-inner .entry-content p {
  font-family: var(--nos-font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--nos-ink);
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > h1,
.nos-v7:not(.home):not(.nos-v7-home) .entry-content > h1.wp-block-heading {
  font-family: var(--nos-font) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.08 !important;
  font-size: clamp(28px, 6.4vw, 56px) !important;
  margin: 0 0 16px;
  text-align: left;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content h2,
.nos-v7:not(.home):not(.nos-v7-home) .entry-content h2.wp-block-heading,
.nos-v7.nos-v7-inner .entry-content h2 {
  font-family: var(--nos-font);
  font-weight: 500;
  font-size: clamp(27px, 4.5vw, 42px);
  letter-spacing: -0.01em;
  margin: 1.4em 0 0.55em;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content h3,
.nos-v7.nos-v7-inner .entry-content h3 {
  font-family: var(--nos-font);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 24px);
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content .wp-block-button__link,
.nos-v7.nos-v7-inner .entry-content .wp-block-button__link {
  border-radius: 0 !important;
  font-family: var(--nos-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  min-height: 48px;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--nos-accent) !important;
  color: #fffdf6 !important;
  border: 1px solid var(--nos-accent) !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content .wp-block-image img,
.nos-v7:not(.home):not(.nos-v7-home) .entry-content .wp-block-gallery img,
.nos-v7:not(.home):not(.nos-v7-home) .entry-content .wp-block-media-text img {
  border-radius: 0;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content .wp-block-columns,
.nos-v7:not(.home):not(.nos-v7-home) .entry-content .wp-block-media-text {
  gap: 32px;
}

/* Три колонки внутренних = карточки главной «Не только экскурсии» (.cards-3).
   Не трогает 1–2 колонки (команда, медиа+текст). */
.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child),
.nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px !important;
  align-items: stretch;
  max-width: min(var(--nos-max), calc(100vw - 40px)) !important;
  width: min(var(--nos-max), calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .cards-3,
.nos-v7.nos-v7-inner .entry-content > .cards-3 {
  max-width: min(var(--nos-max), calc(100vw - 40px)) !important;
  width: min(var(--nos-max), calc(100vw - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .cards-3 .card,
.nos-v7.nos-v7-inner .entry-content > .cards-3 .card {
  background: var(--nos-paper) !important;
  border: 1px solid var(--nos-line-strong);
  padding: 28px 24px;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .cards-3 .card:nth-child(1),
.nos-v7.nos-v7-inner .entry-content > .cards-3 .card:nth-child(1) {
  border-top: 4px solid var(--nos-accent);
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .cards-3 .card:nth-child(2),
.nos-v7.nos-v7-inner .entry-content > .cards-3 .card:nth-child(2) {
  border-top: 4px solid #c4a574;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .cards-3 .card:nth-child(3),
.nos-v7.nos-v7-inner .entry-content > .cards-3 .card:nth-child(3) {
  border-top: 4px solid var(--nos-ink);
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column,
.nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column {
  background: var(--nos-paper);
  border: 1px solid var(--nos-line-strong);
  padding: 28px 24px;
  margin: 0 !important;
  flex-basis: auto !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column:nth-child(1),
.nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column:nth-child(1) {
  border-top: 4px solid var(--nos-accent);
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column:nth-child(2),
.nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column:nth-child(2) {
  border-top: 4px solid #c4a574;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column:nth-child(3),
.nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) > .wp-block-column:nth-child(3) {
  border-top: 4px solid var(--nos-ink);
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) h3,
.nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) h3,
.nos-v7.nos-v7-inner .entry-content > .cards-3 .card h3 {
  margin: 0 0 10px !important;
  font-family: var(--nos-font) !important;
  font-size: 23.2px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  text-align: left !important;
  color: var(--nos-ink) !important;
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) p,
.nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) p,
.nos-v7.nos-v7-inner .entry-content > .cards-3 .card p {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  text-align: left !important;
  color: var(--nos-muted) !important;
}

.nos-v7.nos-v7-inner .entry-content > .cards-3 .card p.card-cta {
  margin-top: 18px !important;
}

@media (max-width: 900px) {
  .nos-v7:not(.home):not(.nos-v7-home) .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child),
  .nos-v7.nos-v7-inner .entry-content > .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) {
    grid-template-columns: 1fr;
  }
}

.nos-v7:not(.home):not(.nos-v7-home) .entry-header .entry-title,
.nos-v7:not(.home):not(.nos-v7-home) h1.entry-title {
  font-family: var(--nos-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 6.4vw, 56px);
  line-height: 1.08;
}

/* TT .entry-header прячем только если в контенте уже есть свой H1.
   Иначе на /booking/ и live-страницах пропадает единственный заголовок. */
.nos-v7:not(.home):not(.nos-v7-home):has(.nos-page-hero) .entry-header,
.nos-v7:not(.home):not(.nos-v7-home):has(.nos-v7-index) .entry-header,
.nos-v7:not(.home):not(.nos-v7-home):has(.entry-content > h1) .entry-header,
body.page-slug-v7-pages .entry-header {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.nos-page-hero {
  padding: 8px 0 20px;
}

.nos-page-hero h1 {
  font-family: var(--nos-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 6.4vw, 56px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.nos-page-hero .nos-kicker,
.nos-v7-inner .nos-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nos-accent);
  margin: 0 0 12px;
}

.nos-v7-banner {
  font-size: 13px;
  color: var(--nos-muted);
  border: 1px solid var(--nos-line);
  background: var(--nos-paper);
  padding: 10px 14px;
  margin: 0 0 28px;
}

.nos-v7-banner a {
  color: var(--nos-accent);
}

.nos-v7-form-note {
  border: 1px solid var(--nos-line-strong);
  background: var(--nos-paper);
  padding: 22px 24px;
  margin: 24px 0 32px;
}

.nos-v7-form-note p {
  margin: 0 0 12px;
}

.nos-v7-form-note p:last-child {
  margin-bottom: 0;
}

.nos-v7-form-note a.nos-v7-form-link,
.nos-v7-form-note .nos-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--nos-accent);
  color: #fffdf6 !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

.nos-v7-form-note a.nos-v7-form-link:hover,
.nos-v7-form-note .nos-card-btn:hover {
  background: var(--nos-accent-hover);
  color: #fffdf6 !important;
}

.nos-v7-index {
  max-width: 720px;
}

.nos-v7-index h1 {
  font-family: var(--nos-font);
  font-weight: 700;
  font-size: clamp(28px, 6.4vw, 56px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.nos-v7-index > p {
  color: var(--nos-muted);
  margin: 0 0 28px;
}

.nos-v7-index ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--nos-line);
}

.nos-v7-index li {
  border-bottom: 1px solid var(--nos-line);
  padding: 14px 0;
  display: grid;
  gap: 4px;
}

.nos-v7-index li a {
  font-weight: 700;
  text-decoration: none;
  color: var(--nos-ink);
}

.nos-v7-index li a:hover {
  color: var(--nos-accent);
}

.nos-v7-index .nos-muted {
  color: var(--nos-muted);
  font-size: 14px;
}

.nos-v7-nav {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--nos-line-strong);
  font-size: 14px;
}

.nos-v7-nav a {
  color: var(--nos-accent);
}

@media (max-width: 700px) {
  #museum-booking-form input[type="submit"],
  #museum-booking-form #booking_submit_btn,
  #alfabank-booking-form input[type="submit"],
  #gift-certificate-form input[type="submit"],
  #gift-certificate-form .submit-btn,
  .gift-certificate-form-container .submit-btn,
  .nos-v7-form-note a.nos-v7-form-link {
    width: 100%;
    min-width: 0;
  }
}

/* ——— Кнопки: без подчёркивания, hover = притухание фона (как «Бронирование») ——— */
.nos-v7 .btn,
.nos-v7 .btn-accent,
.nos-v7 .btn-outline,
.nos-v7 a.btn,
.nos-v7 a.btn-accent,
.nos-v7 a.btn-outline,
.nos-v7 .wp-block-button__link,
.nos-v7 .entry-content .wp-block-button__link,
.nos-v7 .nos-hero-actions .wp-block-button__link,
.nos-v7 .cards-3 .card a.nos-card-btn,
.nos-v7 .cards-3 .card .nos-card-btn,
.nos-v7 header.site-header .header-book,
.nos-v7 #site-header li.booking-btn a,
.wp-block-button .wp-block-button__link,
.entry-content .wp-block-button__link,
.entry-content a.btn,
.entry-content a.btn-accent,
.entry-content a.nos-card-btn {
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.nos-v7 .btn:hover,
.nos-v7 .btn:focus,
.nos-v7 .btn:active,
.nos-v7 .btn-accent:hover,
.nos-v7 .btn-accent:focus,
.nos-v7 .btn-accent:active,
.nos-v7 .btn-outline:hover,
.nos-v7 .btn-outline:focus,
.nos-v7 .btn-outline:active,
.nos-v7 a.btn:hover,
.nos-v7 a.btn:focus,
.nos-v7 a.btn:active,
.nos-v7 a.btn-accent:hover,
.nos-v7 a.btn-accent:focus,
.nos-v7 a.btn-accent:active,
.nos-v7 .wp-block-button__link:hover,
.nos-v7 .wp-block-button__link:focus,
.nos-v7 .wp-block-button__link:active,
.nos-v7 .entry-content .wp-block-button__link:hover,
.nos-v7 .entry-content .wp-block-button__link:focus,
.nos-v7 .entry-content .wp-block-button__link:active,
.nos-v7 .nos-hero-actions .wp-block-button__link:hover,
.nos-v7 .nos-hero-actions .wp-block-button__link:focus,
.nos-v7 .cards-3 .card a.nos-card-btn:hover,
.nos-v7 .cards-3 .card a.nos-card-btn:focus,
.nos-v7 header.site-header .header-book:hover,
.nos-v7 header.site-header .header-book:focus,
.nos-v7 #site-header li.booking-btn a:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:active,
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus,
.entry-content .wp-block-button__link:active,
.entry-content a.btn:hover,
.entry-content a.btn-accent:hover,
.entry-content a.nos-card-btn:hover {
  text-decoration: none !important;
}

/* Залитые кнопки: мягкое затемнение фона на hover */
.nos-v7 .btn-accent:hover,
.nos-v7 .btn-accent:focus,
.nos-v7 a.btn-accent:hover,
.nos-v7 a.btn-accent:focus,
.nos-v7 .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.nos-v7 .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus,
.nos-v7 .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.nos-v7 .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus,
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus {
  background: var(--nos-accent-hover, #7d0e26) !important;
  background-color: var(--nos-accent-hover, #7d0e26) !important;
}
