/* =========================================================
   Анна Пейчева — «Уютная история»
   Универсальная дизайн-система Мастер-страницы v2.6.1
   UTF-8 · 29 июля 2026

   Единственный источник структуры: Мастер-страница v2.5.17.
   Размеры H1–H6 и базового текста задаются настройками темы.
   Фоны и фоновые изображения активных блоков сохранены.
   Карточки общего назначения и серий: 3 → 1.
   Книжные карточки: 3 → 2 → 1.
   ========================================================= */

:root {
  --uh-font-heading: "Philosopher", serif;
  --uh-font-body: "Gentium Book Plus", serif;

  /* Основной текст всех карточек связан с разделом «Базовый шрифт»
     активной темы. При отсутствии переменных темы сохраняются прежние
     значения дизайн-системы. */
  --uh-card-font-family: var(--theme-font-family, var(--uh-font-body));
  /* Кегль текста карточек полностью следует за «Базовым шрифтом» Blocksy. */
  --uh-card-font-size: var(--theme-font-size, 19px);
  --uh-card-font-weight: var(--theme-font-weight, 400);
  --uh-card-line-height: var(--theme-line-height, var(--uh-lead-line-height));
  --uh-card-letter-spacing: var(--theme-letter-spacing, 0);
  --uh-accent: #8A5A52;
  --uh-cozy: #7C4543;
  --uh-romanovs: #76677C;
  --uh-voice: #6F7966;
  --uh-royal: #A96643;
  --uh-emigrant: #2F7E86;
  --uh-people: #668394;
  --uh-women: #8F638B;
  --uh-love: #A95F72;
  --uh-international: #6B7190;
  --uh-choice: #A17043;
  --uh-new: #6F8A55;
  --uh-cta: #9B7A43;
  --uh-cta-dark: #7C5E31;
  --uh-cta-light: #EFE6D6;
  --uh-cta-pale: #FAF4EA;
  --uh-author: #433F86;
  --uh-author-dark: #343166;
  --uh-author-light: #DEDCEC;
  --uh-author-pale: #F3F2F8;
  --uh-author-life: #4B0082;
  --uh-author-life-dark: #370060;
  --uh-author-life-light: #DECDEA;
  --uh-author-life-pale: #F4EEF8;
  --uh-author-life-kicker: #5B168F;
  --uh-author-books: #1F4699;
  --uh-author-books-dark: #173775;
  --uh-author-books-light: #D7E0F2;
  --uh-author-books-pale: #F1F4FA;
  --uh-author-books-kicker: #2855A8;
  --uh-blog: #315F5A;
  --uh-blog-dark: #284D49;
  --uh-blog-light: #DDE8E6;
  --uh-blog-pale: #F0F5F4;
  --uh-heading: #5C5149;
  --uh-body: #5F5650;
  --uh-muted: #807A75;
  --uh-border: #DDD2C2;
  --uh-page: #FBF8F2;
  --uh-panel: #FFFCF7;
  --uh-cream: #FAF7F1;
  /* Кегль основных кнопок задаётся в настройках типографики темы. */
  --uh-font-mini-button: 17px;
  --uh-font-english-link: 18px;
  --uh-font-lead-hero: 22px;
  --uh-lead-hero-offset: 30px;
  --uh-font-lead-section: 20px;
  --uh-font-lead-card: 21px;
  --uh-lead-line-height: 1.54;
  --uh-font-kicker-hero: 17px;
  --uh-font-kicker-section: 16px;
  --uh-font-kicker-card: 15px;

  --uh-hero-overlay-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/chatgpt-image-5-iyulya-2026-g.-21_37_41.png");
  --uh-book-hero-overlay-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/fon-hero-knigi.png");
  --uh-hero-overlay-opacity: 0.56;
  --uh-hero-veil-opacity: 0.70;
  --uh-card: #FFFFFF;
  --uh-soft: #F3EDE3;

  --uh-accent-rgb: 138, 90, 82;
  --uh-cozy-rgb: 124, 69, 67;
  --uh-romanovs-rgb: 118, 103, 124;
  --uh-voice-rgb: 111, 121, 102;
  --uh-royal-rgb: 169, 102, 67;
  --uh-emigrant-rgb: 47, 126, 134;
  --uh-people-rgb: 102, 131, 148;
  --uh-women-rgb: 143, 99, 139;
  --uh-love-rgb: 169, 95, 114;
  --uh-international-rgb: 107, 113, 144;
  --uh-choice-rgb: 161, 112, 67;
  --uh-new-rgb: 111, 138, 85;
  --uh-cta-rgb: 155, 122, 67;
  --uh-author-rgb: 67, 63, 134;
  --uh-author-life-rgb: 75, 0, 130;
  --uh-author-books-rgb: 31, 70, 153;
  --uh-blog-rgb: 49, 95, 90;

  --uh-content-max: 1180px;
  --uh-content-max-narrow: 860px;
  --uh-content-max-wide: 1280px;

  --uh-content-x: clamp(22px, 4.4vw, 64px);
  --uh-content-y: clamp(74px, 7vw, 116px);
  --uh-content-y-compact: clamp(46px, 4.8vw, 70px);

  --uh-content-gap: clamp(30px, 5vw, 72px);
  --uh-card-gap: clamp(20px, 2.6vw, 30px);
  /* Единая ширина медиа блока №7 и свернутых карточек №8/палитры. */
  --uh-collapsed-card-max: 450px;

  --uh-radius-card: 28px;
  --uh-radius-media: 26px;
  --uh-radius-small: 18px;

  --uh-soft-line: rgba(221, 210, 194, 0.54);
  --uh-faint-line: rgba(221, 210, 194, 0.30);

  --uh-card-shadow: 0 15px 34px rgba(47, 41, 37, 0.060);
  --uh-media-shadow: 0 18px 34px rgba(47, 41, 37, 0.100);

  --uh-ill-floral-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/obshhie-elementy-tonkie-czvetochnye-zavitki.png");
  --uh-ill-fan-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/silnye-zhenshhiny-veer.png");
  --uh-ill-star-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/novinka-zvezda.png");
  --uh-ill-letters-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/golos-imperii-stopka-pisem.png");
  --uh-ill-inkwell-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/epoha-romanovyh-chernilnicza-s-perom.png");
  --uh-ill-compass-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/sudba-emigranta-kompas.png");
  --uh-ill-roses-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/istoriya-lyubvi-buket-roz.png");
  --uh-ill-ribbons-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/obshhie-elementy-volnoobraznye-linii.png");
  --uh-ill-lantern-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/vybor-kritikov-dorozhnyj-fonar.png");
  --uh-ill-ticket-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/sudba-emigranta-bilet-na-titanik.png");
  --uh-ill-signpost-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/vybor-kritikov-dorozhnyj-stolb.png");
  --uh-ill-dried-flowers-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyutnaya-istoriya-suhie-czvety.png");
  --uh-ill-cup-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyutnaya-istoriya-kofe-v-chashke.png");
  --uh-actions-gap-desktop: 18px 30px;
  --uh-actions-gap-tablet: 16px 18px;
  --uh-actions-gap-mobile: 13px;
  --uh-ill-candlestick-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/epoha-romanovyh-podsvechnik.png");
  --uh-section-kicker-title-gap: 34px;
  --uh-section-kicker-title-gap-mobile: 26px;

  --uh-section-title-lead-gap: var(--uh-lead-hero-offset);
  --uh-section-title-lead-gap-mobile: 22px;
  --uh-book-single-shift-x: clamp(-84px, -4vw, -38px);
  --uh-section-flow-size: clamp(78px, 7.2vw, 132px);
  --uh-section-flow-size-mobile: 58px;
  --uh-section-flow-color: rgba(251, 248, 242, 0.92);
  --uh-section-flow-color-soft: rgba(251, 248, 242, 0.58);
  --uh-hero-flow-size: clamp(56px, 5.5vw, 96px);
  --uh-hero-flow-color: rgba(251, 248, 242, 0.82);
  --uh-hero-flow-color-strong: rgba(251, 248, 242, 0.94);
  --uh-hero-flow-top: rgba(251, 248, 242, 0.94);
  --uh-hero-flow-mid: rgba(251, 248, 242, 0.56);
  --uh-hero-flow-bottom: rgba(251, 248, 242, 0.96);

  --uh-flow-page: rgba(251, 248, 242, 1);
  --uh-flow-page-strong: rgba(251, 248, 242, 0.96);
  --uh-flow-page-mid: rgba(251, 248, 242, 0.68);
  --uh-flow-page-soft: rgba(251, 248, 242, 0.34);
  --uh-hero-bottom-flow-start: 62%;
  --uh-hero-bottom-flow-soft: rgba(251, 248, 242, 0.34);
  --uh-hero-bottom-flow-mid: rgba(251, 248, 242, 0.72);
  --uh-hero-bottom-flow-strong: rgba(251, 248, 242, 0.96);
  --uh-hero-romantic-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/chatgpt-image-23-iyulya-2026-g.-01_39_10.png");
  --uh-book-hero-engraving-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/book-hero-vintage-quill.png");
  --uh-wc-02-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/2_kompas-s-rozami-scaled.png");
  --uh-wc-04-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/4_chajnaya-chashka-scaled.png");
  --uh-wc-05-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/5_vintazhnyj-fonar-scaled.png");
  --uh-wc-06-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/6_starinnyj-klyuch-scaled.png");
  --uh-wc-08-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/8_parovoz-1-scaled.png");
  --uh-wc-11-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/11_kniga-s-rozoj.png");
  --uh-wc-14-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/14_korona-scaled.png");
  --uh-wc-18-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/18_knigi-s-czvetami.png");
  --uh-wc-22-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/22_botanicheskoe-pismo.png");
  --uh-wc-23-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/23_kot-na-knigah-768x768.png");
  --uh-wc-25-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/25_dnevnik-s-perom.png");
  --uh-wc-42-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/42_veer-s-czvetami-scaled.png");
  --uh-wc-44-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/44_vintazhnyj-chemodan-scaled.png");
  --uh-wc-47-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/47_chasy-s-czvetami-scaled.png");
  --uh-wc-48-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/48_raskrytaya-kniga-s-perom-scaled.png");
  --uh-wc-49-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/pechatnaya-mashinka-s-czvetami.png");
  --uh-wc-50-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/pechatnaya-mashinka-scaled.png");
  --uh-wc-51-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/fonar-scaled.png");
  --uh-wc-52-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/vetka.png");
  --uh-wc-53-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/czvetok.png");
  --uh-wc-54-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/rozy-s-lesnymi-czvetami-scaled.png");
  --uh-wc-55-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/buket-s-lentoj-scaled.png");
  --uh-wc-56-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/buket-roz-scaled.png");
  --uh-wc-57-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/buket-s-lentoj-scaled.png");
  --uh-wc-58-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/knigi-s-polevymi-czvetami-scaled.png");
  --uh-wc-59-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/pero-scaled.png");
}

.uh-card-surface-comparison {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.82), rgba(255,255,255,0) 72%),
    linear-gradient(180deg, #FBF8F2 0%, #F8F2E9 100%) !important;
}

.uh-card-surface-comparison .uh-content-head {
  max-width: 820px;
}

.uh-card-surface-row + .uh-card-surface-row {
  margin-top: var(--uh-card-gap);
}

.wp-block-columns.uh-card-surface-row {
  margin-bottom: 0 !important;
}

.uh-card-surface-test {
  border: 1px solid rgba(190, 169, 143, 0.42) !important;
  box-shadow:
    0 20px 42px rgba(73, 58, 47, 0.078),
    0 4px 12px rgba(73, 58, 47, 0.035),
    inset 0 1px 0 rgba(255,255,255,0.72) !important;
}
.uh-card-surface-test::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      8deg,
      rgba(116, 88, 66, 0.014) 0,
      rgba(116, 88, 66, 0.014) 1px,
      transparent 1px,
      transparent 7px
    ),
    repeating-linear-gradient(
      98deg,
      rgba(255,255,255,0.12) 0,
      rgba(255,255,255,0.12) 1px,
      transparent 1px,
      transparent 9px
    );
  opacity: 0.62;
  mix-blend-mode: multiply;
}

.uh-card-surface-test > * {
  position: relative;
  z-index: 1;
}

.uh-card-surface-test .uh-card-media img {
  filter: saturate(0.94) contrast(0.98);
}
.uh-card-surface-01 {
  background:
    radial-gradient(ellipse 92% 58% at -8% -4%, rgba(255,255,255,0.98) 0 38%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 72% 54% at 108% 106%, rgba(215,165,151,0.13) 0 20%, rgba(215,165,151,0) 72%),
    radial-gradient(ellipse 58% 44% at 42% 110%, rgba(226,201,163,0.10), rgba(226,201,163,0) 70%),
    linear-gradient(145deg, #FFFFFF 0%, #FFFDF9 52%, #F9F1E9 100%) !important;
}
.uh-card-surface-02 {
  background:
    radial-gradient(ellipse 86% 58% at -10% 0%, rgba(255,255,255,0.87) 0 34%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 72% 58% at 112% 104%, rgba(181,139,85,0.16), rgba(181,139,85,0) 72%),
    radial-gradient(ellipse 60% 40% at 72% -8%, rgba(233,205,157,0.17), rgba(233,205,157,0) 70%),
    linear-gradient(145deg, #FFFDF5 0%, #F8EEDC 54%, #F3E2C9 100%) !important;
}
.uh-card-surface-03 {
  background:
    radial-gradient(ellipse 84% 60% at -8% -8%, rgba(255,255,255,0.88) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 82% 58% at 108% 108%, rgba(199,113,112,0.18), rgba(199,113,112,0) 70%),
    radial-gradient(ellipse 66% 46% at 22% 110%, rgba(235,177,169,0.16), rgba(235,177,169,0) 72%),
    linear-gradient(145deg, #FFFDFC 0%, #FBEDEA 52%, #F5DDD9 100%) !important;
}
.uh-card-surface-04 {
  background:
    radial-gradient(ellipse 90% 58% at -12% -6%, rgba(255,255,255,0.85) 0 30%, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 76% 60% at 110% 104%, rgba(144,80,88,0.19), rgba(144,80,88,0) 72%),
    radial-gradient(ellipse 58% 44% at 12% 110%, rgba(199,137,130,0.17), rgba(199,137,130,0) 70%),
    linear-gradient(145deg, #FFF9F7 0%, #F3E2DF 54%, #E9D1D1 100%) !important;
}
.uh-card-surface-05 {
  background:
    radial-gradient(ellipse 88% 58% at -10% -6%, rgba(255,255,255,0.88) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 78% 60% at 108% 106%, rgba(105,126,94,0.18), rgba(105,126,94,0) 72%),
    radial-gradient(ellipse 56% 42% at 18% 110%, rgba(183,166,108,0.11), rgba(183,166,108,0) 70%),
    linear-gradient(145deg, #FFFEFA 0%, #EEF3E8 52%, #DDE8D7 100%) !important;
}
.uh-card-surface-06 {
  background:
    radial-gradient(ellipse 86% 58% at -8% -8%, rgba(255,255,255,0.88) 0 30%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 80% 60% at 110% 108%, rgba(94,117,82,0.19), rgba(94,117,82,0) 72%),
    radial-gradient(ellipse 62% 46% at 18% 110%, rgba(205,166,86,0.16), rgba(205,166,86,0) 70%),
    linear-gradient(145deg, #FFFDF7 0%, #EDF2E2 50%, #D8E2CA 100%) !important;
}
.uh-card-surface-07 {
  background:
    radial-gradient(ellipse 88% 58% at -10% -6%, rgba(255,255,255,0.90) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 80% 62% at 110% 106%, rgba(96,126,143,0.18), rgba(96,126,143,0) 72%),
    radial-gradient(ellipse 58% 42% at 18% 110%, rgba(198,155,149,0.10), rgba(198,155,149,0) 70%),
    linear-gradient(145deg, #FFFEFA 0%, #EAF3F5 52%, #D9E8EC 100%) !important;
}
.uh-card-surface-08 {
  background:
    radial-gradient(ellipse 88% 58% at -10% -6%, rgba(255,255,255,0.89) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 80% 62% at 110% 106%, rgba(112,89,132,0.18), rgba(112,89,132,0) 72%),
    radial-gradient(ellipse 58% 42% at 20% 110%, rgba(204,154,149,0.12), rgba(204,154,149,0) 70%),
    linear-gradient(145deg, #FFFDFB 0%, #F1EAF5 52%, #E4D8EC 100%) !important;
}
.uh-card-surface-09 {
  background:
    radial-gradient(ellipse 88% 58% at -10% -6%, rgba(255,255,255,0.89) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 80% 62% at 110% 106%, rgba(210,137,103,0.18), rgba(210,137,103,0) 72%),
    radial-gradient(ellipse 58% 42% at 16% 110%, rgba(226,178,126,0.14), rgba(226,178,126,0) 70%),
    linear-gradient(145deg, #FFFDF9 0%, #FCECDD 52%, #F4DCC7 100%) !important;
}
.uh-card-surface-10 {
  background:
    radial-gradient(ellipse 84% 56% at -8% -6%, rgba(255,255,255,0.82) 0 30%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 78% 60% at 110% 108%, rgba(136,102,73,0.17), rgba(136,102,73,0) 72%),
    radial-gradient(ellipse 64% 46% at 24% 110%, rgba(193,151,101,0.15), rgba(193,151,101,0) 70%),
    linear-gradient(145deg, #FFFDF5 0%, #F3E6D1 50%, #E8D5B8 100%) !important;
}
.uh-card-surface-11 {
  background:
    radial-gradient(ellipse 86% 58% at -8% -8%, rgba(255,255,255,0.88) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 72% 60% at 108% 106%, rgba(104,126,92,0.17), rgba(104,126,92,0) 72%),
    radial-gradient(ellipse 66% 48% at 6% 108%, rgba(197,118,118,0.16), rgba(197,118,118,0) 72%),
    linear-gradient(145deg, #FFFDF8 0%, #F1EFE4 48%, #E5E8D8 100%) !important;
}
.uh-card-surface-12 {
  background:
    radial-gradient(ellipse 88% 58% at -10% -6%, rgba(255,255,255,0.91) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 78% 62% at 110% 106%, rgba(114,100,132,0.16), rgba(114,100,132,0) 72%),
    radial-gradient(ellipse 58% 42% at 16% 110%, rgba(112,139,143,0.11), rgba(112,139,143,0) 70%),
    linear-gradient(145deg, #FFFFFF 0%, #F0EEF3 52%, #E3DFE8 100%) !important;
}

@media (max-width: 781px) {
  .uh-card-surface-row + .uh-card-surface-row {
    margin-top: clamp(18px, 4vw, 28px);
  }

  .uh-card-surface-test::after {
    opacity: 0.48;
  }
}
.wp-block-button,.wp-block-button.uh-btn-hero-gold,.wp-block-button.uh-btn-hero-light,.wp-block-button.uh-btn-tone-cta {
  --uh-mx-tone: var(--uh-cta);
  --uh-mx-rgb: 155, 122, 67;
  --uh-mx-dark: var(--uh-cta-dark);
  --uh-mx-light: var(--uh-cta-light);
  --uh-mx-pale: var(--uh-cta-pale);
}
.wp-block-button.uh-series-cta,
.wp-block-button.uh-tag-series.uh-series-cta {
  --uh-mx-tone: var(--uh-cta);
  --uh-mx-rgb: 155, 122, 67;
  --uh-mx-dark: var(--uh-cta-dark);
  --uh-mx-light: var(--uh-cta-light);
  --uh-mx-pale: var(--uh-cta-pale);
}
.wp-block-button.uh-theme-royal,
.wp-block-button.uh-tone-royal {
  --uh-mx-tone: var(--uh-royal);
  --uh-mx-rgb: 169, 102, 67;
  --uh-mx-dark: #7E4D31;
  --uh-mx-light: #EBD8CC;
  --uh-mx-pale: #FAF1EA;
}
.wp-block-button.uh-series-cozy,
.wp-block-button.uh-tag-series.uh-series-cozy,
.wp-block-button.uh-btn-tone-cozy {
  --uh-mx-tone: var(--uh-cozy);
  --uh-mx-rgb: 124, 69, 67;
  --uh-mx-dark: #6F2E2E;
  --uh-mx-light: #EDE0DE;
  --uh-mx-pale: #F6EFED;
}

.wp-block-button.uh-series-romanovs,
.wp-block-button.uh-tag-series.uh-series-romanovs {
  --uh-mx-tone: var(--uh-romanovs);
  --uh-mx-rgb: 118, 103, 124;
  --uh-mx-dark: #665672;
  --uh-mx-light: #E8E3EC;
  --uh-mx-pale: #F3F0F6;
}

.wp-block-button.uh-series-voice,
.wp-block-button.uh-tag-series.uh-series-voice,
.wp-block-button.uh-btn-tone-voice {
  --uh-mx-tone: var(--uh-voice);
  --uh-mx-rgb: 111, 121, 102;
  --uh-mx-dark: #5E6D57;
  --uh-mx-light: #E4E9DE;
  --uh-mx-pale: #F1F4EE;
}

.wp-block-button.uh-theme-emigrant {
  --uh-mx-tone: var(--uh-emigrant);
  --uh-mx-rgb: 47, 126, 134;
  --uh-mx-dark: #245F66;
  --uh-mx-light: #D5E9EB;
  --uh-mx-pale: #EFF7F8;
}

.wp-block-button.uh-theme-people {
  --uh-mx-tone: var(--uh-people);
  --uh-mx-rgb: 102, 131, 148;
  --uh-mx-dark: #536C7B;
  --uh-mx-light: #DDE8EE;
  --uh-mx-pale: #F0F6F8;
}

.wp-block-button.uh-theme-women {
  --uh-mx-tone: var(--uh-women);
  --uh-mx-rgb: 143, 99, 139;
  --uh-mx-dark: #6F4A6B;
  --uh-mx-light: #E8D8E6;
  --uh-mx-pale: #F7EFF6;
}

.wp-block-button.uh-theme-love {
  --uh-mx-tone: var(--uh-love);
  --uh-mx-rgb: 169, 95, 114;
  --uh-mx-dark: #854B5B;
  --uh-mx-light: #EDD6DC;
  --uh-mx-pale: #FAEEF2;
}

.wp-block-button.uh-btn-international,
.wp-block-button.uh-btn-tone-international {
  --uh-mx-tone: var(--uh-international);
  --uh-mx-rgb: 107, 113, 144;
  --uh-mx-dark: #565B78;
  --uh-mx-light: #E0E2ED;
  --uh-mx-pale: #F2F3F8;
}

.wp-block-button.uh-status-choice {
  --uh-mx-tone: var(--uh-choice);
  --uh-mx-rgb: 161, 112, 67;
  --uh-mx-dark: #7F5633;
  --uh-mx-light: #E8D8C8;
  --uh-mx-pale: #F7EFE7;
}

.wp-block-button.uh-status-new {
  --uh-mx-tone: var(--uh-new);
  --uh-mx-rgb: 127, 168, 82;
  --uh-mx-dark: #658B3F;
  --uh-mx-light: #E5F0D5;
  --uh-mx-pale: #F3F8EC;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.wp-block-button:not(.is-style-outline) > .wp-element-button,
.wp-element-button:not(.has-background):not(.has-text-color),
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-element-button,
.wp-block-button.uh-btn-series > .wp-block-button__link,
.wp-block-button.uh-btn-series > .wp-element-button,
.wp-block-button.uh-btn-international > .wp-block-button__link,
.wp-block-button.uh-btn-international > .wp-element-button,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-element-button {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  min-height: 52px !important;
  padding: 14px 34px !important;

  font-family: "Philosopher", serif !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  border-radius: 8px !important;
  clip-path: none !important;
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2032%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.4%200%20H32%20V52%20H1.4%20C0.45%2052%200%2051.45%200.28%2050.62%20L14.2%2026%20L0.28%201.38%20C0%200.55%200.45%200%201.4%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L23.35%2025.25%20Q24%2026%2023.35%2026.75%20L0%2052%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  -webkit-mask-size:
    32px 100%,
    calc(100% - 56px) 100%,
    24px 100% !important;
  -webkit-mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  -webkit-mask-position:
    left center,
    32px center,
    right center !important;
  mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2032%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.4%200%20H32%20V52%20H1.4%20C0.45%2052%200%2051.45%200.28%2050.62%20L14.2%2026%20L0.28%201.38%20C0%200.55%200.45%200%201.4%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L23.35%2025.25%20Q24%2026%2023.35%2026.75%20L0%2052%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  mask-size:
    32px 100%,
    calc(100% - 56px) 100%,
    24px 100% !important;
  mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  mask-position:
    left center,
    32px center,
    right center !important;

  transform: translateY(0);
  transition:
    transform 200ms ease,
    filter 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    color 200ms ease,
    border-color 200ms ease !important;
}
.wp-block-button.uh-tag-theme > .wp-block-button__link,
.wp-block-button.uh-tag-theme > .wp-element-button,
.wp-block-button.uh-tag-status > .wp-block-button__link,
.wp-block-button.uh-tag-status > .wp-element-button,
.wp-block-button.uh-tag-series > .wp-block-button__link,
.wp-block-button.uh-tag-series > .wp-element-button,
.wp-block-button.uh-btn-matrix.uh-btn-mini.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link,
.wp-block-button.uh-btn-matrix.uh-btn-mini.uh-btn-shape-tag.uh-btn-metal > .wp-element-button {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;

  min-width: 0 !important;
  min-height: 34px !important;
  padding: 7px 18px 8px !important;

  font-family: "Philosopher", serif !important;
  font-weight: 700 !important;
  font-size: var(--uh-font-mini-button) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.005em !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  border-radius: 8px !important;
  clip-path: none !important;
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.1%200%20H24%20V34%20H1.1%20C0.35%2034%200%2033.55%200.2%2032.85%20L10.8%2017%20L0.2%201.15%20C0%200.45%200.35%200%201.1%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2018%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L17.45%2016.45%20Q18%2017%2017.45%2017.55%20L0%2034%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  -webkit-mask-size:
    24px 100%,
    calc(100% - 42px) 100%,
    18px 100% !important;
  -webkit-mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  -webkit-mask-position:
    left center,
    24px center,
    right center !important;
  mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.1%200%20H24%20V34%20H1.1%20C0.35%2034%200%2033.55%200.2%2032.85%20L10.8%2017%20L0.2%201.15%20C0%200.45%200.35%200%201.1%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2018%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L17.45%2016.45%20Q18%2017%2017.45%2017.55%20L0%2034%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  mask-size:
    24px 100%,
    calc(100% - 42px) 100%,
    18px 100% !important;
  mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  mask-position:
    left center,
    24px center,
    right center !important;

  transform: translateY(0);
  transition:
    transform 200ms ease,
    filter 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    color 200ms ease,
    border-color 200ms ease !important;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.wp-block-button:not(.is-style-outline) > .wp-element-button,
.wp-element-button:not(.has-background):not(.has-text-color),
.wp-block-button.uh-btn-series > .wp-block-button__link,
.wp-block-button.uh-btn-series > .wp-element-button,
.wp-block-button.uh-btn-international > .wp-block-button__link,
.wp-block-button.uh-btn-international > .wp-element-button,
.wp-block-button.uh-tag-theme > .wp-block-button__link,
.wp-block-button.uh-tag-theme > .wp-element-button,
.wp-block-button.uh-tag-status > .wp-block-button__link,
.wp-block-button.uh-tag-status > .wp-element-button,
.wp-block-button.uh-tag-series > .wp-block-button__link,
.wp-block-button.uh-tag-series > .wp-element-button,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-element-button {
  color: #FFFDF8 !important;
  border: 1px solid rgba(47, 41, 37, 0.10) !important;
  background:
    linear-gradient(112deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.16) 14%,
      rgba(255,255,255,.035) 29%,
      rgba(47,41,37,.060) 50%,
      rgba(255,255,255,.12) 67%,
      rgba(255,255,255,0) 84%),
    repeating-linear-gradient(104deg,
      rgba(255,255,255,.035) 0 1px,
      rgba(255,255,255,0) 1px 7px),
    radial-gradient(circle at 28% 16%, rgba(255,255,255,.18), rgba(255,255,255,0) 27%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(47,41,37,.085)),
    linear-gradient(135deg, rgba(var(--uh-mx-rgb), .94), rgba(var(--uh-mx-rgb), .78)) !important;

  box-shadow:
    0 11px 22px rgba(var(--uh-mx-rgb), 0.17),
    0 4px 10px rgba(47, 41, 37, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(47, 41, 37, 0.12) !important;

  text-shadow: 0 1px 1px rgba(47, 41, 37, 0.20) !important;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link::before,
.wp-block-button:not(.is-style-outline) > .wp-element-button::before,
.wp-element-button:not(.has-background):not(.has-text-color)::before,
.wp-block-button.uh-btn-series > .wp-block-button__link::before,
.wp-block-button.uh-btn-series > .wp-element-button::before,
.wp-block-button.uh-btn-international > .wp-block-button__link::before,
.wp-block-button.uh-btn-international > .wp-element-button::before,
.wp-block-button.uh-tag-theme > .wp-block-button__link::before,
.wp-block-button.uh-tag-theme > .wp-element-button::before,
.wp-block-button.uh-tag-status > .wp-block-button__link::before,
.wp-block-button.uh-tag-status > .wp-element-button::before,
.wp-block-button.uh-tag-series > .wp-block-button__link::before,
.wp-block-button.uh-tag-series > .wp-element-button::before,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link::before,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-element-button::before {
  content: "" !important;
  position: absolute !important;
  inset: 6px 20px 6px 11px !important;
  z-index: 0 !important;
  display: block !important;
  border-radius: 5px !important;
  pointer-events: none !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(47,41,37,.020)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(47,41,37,.08) !important;
}

.wp-block-button.uh-tag-theme > .wp-block-button__link::before,
.wp-block-button.uh-tag-theme > .wp-element-button::before,
.wp-block-button.uh-tag-status > .wp-block-button__link::before,
.wp-block-button.uh-tag-status > .wp-element-button::before,
.wp-block-button.uh-tag-series > .wp-block-button__link::before,
.wp-block-button.uh-tag-series > .wp-element-button::before,
.wp-block-button.uh-btn-matrix.uh-btn-mini.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link::before,
.wp-block-button.uh-btn-matrix.uh-btn-mini.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-element-button::before {
  inset: 5px 16px 5px 9px !important;
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-element-button,
.wp-block-button.uh-btn-hero-light > .wp-block-button__link,
.wp-block-button.uh-btn-hero-light > .wp-element-button,
.wp-block-button.uh-tag-light > .wp-block-button__link,
.wp-block-button.uh-tag-light > .wp-element-button {
  color: var(--uh-mx-dark) !important;
  border: 1px solid rgba(var(--uh-mx-rgb), 0.36) !important;
  background:
    linear-gradient(112deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,.62) 15%,
      rgba(255,255,255,.16) 32%,
      rgba(var(--uh-mx-rgb),.075) 50%,
      rgba(255,255,255,.30) 68%,
      rgba(255,255,255,.04) 84%),
    repeating-linear-gradient(104deg,
      rgba(var(--uh-mx-rgb),.035) 0 1px,
      rgba(255,255,255,0) 1px 7px),
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.54), rgba(255,255,255,0) 28%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.08) 40%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--uh-mx-light) 80%, #FFFDF8 20%) 0%,
      color-mix(in srgb, var(--uh-mx-light) 58%, #EDE7DF 42%) 100%) !important;

  box-shadow:
    0 12px 22px rgba(var(--uh-mx-rgb), 0.13),
    0 5px 11px rgba(47, 41, 37, 0.060),
    inset 0 2px 0 rgba(255, 255, 255, 0.72),
    inset 0 -3px 0 rgba(126, 113, 104, 0.16) !important;

  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56) !important;
  border-radius: 8px !important;
  clip-path: none !important;
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2032%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.4%200%20H32%20V52%20H1.4%20C0.45%2052%200%2051.45%200.28%2050.62%20L14.2%2026%20L0.28%201.38%20C0%200.55%200.45%200%201.4%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L23.35%2025.25%20Q24%2026%2023.35%2026.75%20L0%2052%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  -webkit-mask-size:
    32px 100%,
    calc(100% - 56px) 100%,
    24px 100% !important;
  -webkit-mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  -webkit-mask-position:
    left center,
    32px center,
    right center !important;
  mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2032%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.4%200%20H32%20V52%20H1.4%20C0.45%2052%200%2051.45%200.28%2050.62%20L14.2%2026%20L0.28%201.38%20C0%200.55%200.45%200%201.4%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2052%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L23.35%2025.25%20Q24%2026%2023.35%2026.75%20L0%2052%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  mask-size:
    32px 100%,
    calc(100% - 56px) 100%,
    24px 100% !important;
  mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  mask-position:
    left center,
    32px center,
    right center !important;
}

.wp-block-button.uh-tag-light > .wp-block-button__link,
.wp-block-button.uh-tag-light > .wp-element-button {
  clip-path: none !important;
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.1%200%20H24%20V34%20H1.1%20C0.35%2034%200%2033.55%200.2%2032.85%20L10.8%2017%20L0.2%201.15%20C0%200.45%200.35%200%201.1%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2018%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L17.45%2016.45%20Q18%2017%2017.45%2017.55%20L0%2034%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  -webkit-mask-size:
    24px 100%,
    calc(100% - 42px) 100%,
    18px 100% !important;
  -webkit-mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  -webkit-mask-position:
    left center,
    24px center,
    right center !important;
  mask-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M1.1%200%20H24%20V34%20H1.1%20C0.35%2034%200%2033.55%200.2%2032.85%20L10.8%2017%20L0.2%201.15%20C0%200.45%200.35%200%201.1%200%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2018%2034%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%200%20L17.45%2016.45%20Q18%2017%2017.45%2017.55%20L0%2034%20Z%27%20fill%3D%27black%27%2F%3E%3C%2Fsvg%3E") !important;
  mask-size:
    24px 100%,
    calc(100% - 42px) 100%,
    18px 100% !important;
  mask-repeat:
    no-repeat,
    no-repeat,
    no-repeat !important;
  mask-position:
    left center,
    24px center,
    right center !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link::before,
.wp-block-button.is-style-outline > .wp-element-button::before,
.wp-block-button.uh-btn-hero-light > .wp-block-button__link::before,
.wp-block-button.uh-btn-hero-light > .wp-element-button::before,
.wp-block-button.uh-tag-light > .wp-block-button__link::before,
.wp-block-button.uh-tag-light > .wp-element-button::before {
  content: "" !important;
  position: absolute !important;
  inset: 6px 20px 6px 11px !important;
  z-index: 0 !important;
  display: block !important;
  border-radius: 5px !important;
  pointer-events: none !important;
  border: 1px solid rgba(var(--uh-mx-rgb), 0.40) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(47, 41, 37, 0.025)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -1px 0 rgba(126, 113, 104, 0.12) !important;
}

.wp-block-button.uh-tag-light > .wp-block-button__link::before,
.wp-block-button.uh-tag-light > .wp-element-button::before {
  inset: 5px 16px 5px 9px !important;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link::after,
.wp-block-button:not(.is-style-outline) > .wp-element-button::after,
.wp-element-button:not(.has-background):not(.has-text-color)::after,
.wp-block-button.is-style-outline > .wp-block-button__link::after,
.wp-block-button.is-style-outline > .wp-element-button::after,
.wp-block-button.uh-btn-series > .wp-block-button__link::after,
.wp-block-button.uh-btn-series > .wp-element-button::after,
.wp-block-button.uh-btn-international > .wp-block-button__link::after,
.wp-block-button.uh-btn-international > .wp-element-button::after,
.wp-block-button.uh-tag-theme > .wp-block-button__link::after,
.wp-block-button.uh-tag-theme > .wp-element-button::after,
.wp-block-button.uh-tag-status > .wp-block-button__link::after,
.wp-block-button.uh-tag-status > .wp-element-button::after,
.wp-block-button.uh-tag-series > .wp-block-button__link::after,
.wp-block-button.uh-tag-series > .wp-element-button::after,
.wp-block-button.uh-tag-light > .wp-block-button__link::after,
.wp-block-button.uh-tag-light > .wp-element-button::after,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link::after,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-element-button::after {
  content: "" !important;
  position: absolute !important;
  top: -78% !important;
  left: -48% !important;
  z-index: 0 !important;
  display: block !important;
  width: 18% !important;
  height: 245% !important;
  border-radius: 0 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: rotate(18deg) translateX(-140%) !important;
  transition:
    transform 980ms ease,
    opacity 360ms ease !important;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 252, 247, 0.20),
      rgba(255, 255, 255, 0)
    ) !important;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover::after,
.wp-block-button:not(.is-style-outline) > .wp-element-button:hover::after,
.wp-element-button:not(.has-background):not(.has-text-color):hover::after,
.wp-block-button.is-style-outline > .wp-block-button__link:hover::after,
.wp-block-button.is-style-outline > .wp-element-button:hover::after,
.wp-block-button.uh-btn-series > .wp-block-button__link:hover::after,
.wp-block-button.uh-btn-series > .wp-element-button:hover::after,
.wp-block-button.uh-btn-international > .wp-block-button__link:hover::after,
.wp-block-button.uh-btn-international > .wp-element-button:hover::after,
.wp-block-button.uh-tag-theme > .wp-block-button__link:hover::after,
.wp-block-button.uh-tag-theme > .wp-element-button:hover::after,
.wp-block-button.uh-tag-status > .wp-block-button__link:hover::after,
.wp-block-button.uh-tag-status > .wp-element-button:hover::after,
.wp-block-button.uh-tag-series > .wp-block-button__link:hover::after,
.wp-block-button.uh-tag-series > .wp-element-button:hover::after,
.wp-block-button.uh-tag-light > .wp-block-button__link:hover::after,
.wp-block-button.uh-tag-light > .wp-element-button:hover::after,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link:hover::after,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-element-button:hover::after {
  opacity: 0.72 !important;
  transform: rotate(18deg) translateX(470%) !important;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.wp-block-button:not(.is-style-outline) > .wp-element-button,
.wp-element-button:not(.has-background):not(.has-text-color),
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-element-button,
.wp-block-button.uh-btn-hero-light > .wp-block-button__link,
.wp-block-button.uh-btn-hero-light > .wp-element-button,
.wp-block-button.uh-btn-series > .wp-block-button__link,
.wp-block-button.uh-btn-series > .wp-element-button,
.wp-block-button.uh-btn-international > .wp-block-button__link,
.wp-block-button.uh-btn-international > .wp-element-button,
.wp-block-button.uh-tag-theme > .wp-block-button__link,
.wp-block-button.uh-tag-theme > .wp-element-button,
.wp-block-button.uh-tag-status > .wp-block-button__link,
.wp-block-button.uh-tag-status > .wp-element-button,
.wp-block-button.uh-tag-series > .wp-block-button__link,
.wp-block-button.uh-tag-series > .wp-element-button,
.wp-block-button.uh-tag-light > .wp-block-button__link,
.wp-block-button.uh-tag-light > .wp-element-button,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-element-button {
  border: 0 !important;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) > .wp-element-button:hover,
.wp-element-button:not(.has-background):not(.has-text-color):hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-element-button:hover,
.wp-block-button.uh-btn-series > .wp-block-button__link:hover,
.wp-block-button.uh-btn-series > .wp-element-button:hover,
.wp-block-button.uh-btn-international > .wp-block-button__link:hover,
.wp-block-button.uh-btn-international > .wp-element-button:hover,
.wp-block-button.uh-tag-theme > .wp-block-button__link:hover,
.wp-block-button.uh-tag-theme > .wp-element-button:hover,
.wp-block-button.uh-tag-status > .wp-block-button__link:hover,
.wp-block-button.uh-tag-status > .wp-element-button:hover,
.wp-block-button.uh-tag-series > .wp-block-button__link:hover,
.wp-block-button.uh-tag-series > .wp-element-button:hover,
.wp-block-button.uh-tag-light > .wp-block-button__link:hover,
.wp-block-button.uh-tag-light > .wp-element-button:hover,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link:hover,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-element-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.035) brightness(1.012);
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) > .wp-element-button:hover,
.wp-element-button:not(.has-background):not(.has-text-color):hover,
.wp-block-button.uh-btn-series > .wp-block-button__link:hover,
.wp-block-button.uh-btn-series > .wp-element-button:hover,
.wp-block-button.uh-btn-international > .wp-block-button__link:hover,
.wp-block-button.uh-btn-international > .wp-element-button:hover,
.wp-block-button.uh-tag-theme > .wp-block-button__link:hover,
.wp-block-button.uh-tag-theme > .wp-element-button:hover,
.wp-block-button.uh-tag-status > .wp-block-button__link:hover,
.wp-block-button.uh-tag-status > .wp-element-button:hover,
.wp-block-button.uh-tag-series > .wp-block-button__link:hover,
.wp-block-button.uh-tag-series > .wp-element-button:hover,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link:hover,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-element-button:hover {
  box-shadow:
    0 15px 28px rgba(var(--uh-mx-rgb), 0.21),
    0 6px 13px rgba(47, 41, 37, 0.060),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(47, 41, 37, 0.14) !important;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-element-button:hover,
.wp-block-button.uh-btn-hero-light > .wp-block-button__link:hover,
.wp-block-button.uh-btn-hero-light > .wp-element-button:hover,
.wp-block-button.uh-tag-light > .wp-block-button__link:hover,
.wp-block-button.uh-tag-light > .wp-element-button:hover {
  box-shadow:
    0 14px 26px rgba(var(--uh-mx-rgb), 0.16),
    0 6px 13px rgba(47, 41, 37, 0.070),
    inset 0 2px 0 rgba(255, 255, 255, 0.76),
    inset 0 -3px 0 rgba(126, 113, 104, 0.18) !important;
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:active,
.wp-block-button:not(.is-style-outline) > .wp-element-button:active,
.wp-element-button:not(.has-background):not(.has-text-color):active,
.wp-block-button.is-style-outline > .wp-block-button__link:active,
.wp-block-button.is-style-outline > .wp-element-button:active,
.wp-block-button.uh-btn-series > .wp-block-button__link:active,
.wp-block-button.uh-btn-series > .wp-element-button:active,
.wp-block-button.uh-btn-international > .wp-block-button__link:active,
.wp-block-button.uh-btn-international > .wp-element-button:active,
.wp-block-button.uh-tag-theme > .wp-block-button__link:active,
.wp-block-button.uh-tag-theme > .wp-element-button:active,
.wp-block-button.uh-tag-status > .wp-block-button__link:active,
.wp-block-button.uh-tag-status > .wp-element-button:active,
.wp-block-button.uh-tag-series > .wp-block-button__link:active,
.wp-block-button.uh-tag-series > .wp-element-button:active,
.wp-block-button.uh-tag-light > .wp-block-button__link:active,
.wp-block-button.uh-tag-light > .wp-element-button:active,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link:active,
.wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-element-button:active {
  transform: translateY(1px) scale(0.988);
}

.wp-block-button > .wp-block-button__link:focus-visible,
.wp-block-button > .wp-element-button:focus-visible,
.wp-element-button:focus-visible {
  outline: 2px solid rgba(var(--uh-mx-rgb), 0.38);
  outline-offset: 4px;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.wp-block-button:not(.is-style-outline) > .wp-element-button,
.wp-element-button:not(.has-background):not(.has-text-color),
.wp-block-button.uh-btn-series > .wp-block-button__link,
.wp-block-button.uh-btn-series > .wp-element-button,
.wp-block-button.uh-btn-international > .wp-block-button__link,
.wp-block-button.uh-btn-international > .wp-element-button,
.wp-block-button.uh-tag-theme > .wp-block-button__link,
.wp-block-button.uh-tag-theme > .wp-element-button,
.wp-block-button.uh-tag-status > .wp-block-button__link,
.wp-block-button.uh-tag-status > .wp-element-button,
.wp-block-button.uh-tag-series > .wp-block-button__link,
.wp-block-button.uh-tag-series > .wp-element-button,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-element-button {
  box-shadow:
    0 12px 24px rgba(var(--uh-mx-rgb), 0.18),
    0 4px 11px rgba(47, 41, 37, 0.060),
    inset 0 2px 0 rgba(255, 255, 255, 0.30),
    inset 0 -3px 0 rgba(47, 41, 37, 0.17),
    inset 0 -10px 16px rgba(47, 41, 37, 0.045) !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-element-button,
.wp-block-button.uh-btn-hero-light > .wp-block-button__link,
.wp-block-button.uh-btn-hero-light > .wp-element-button,
.wp-block-button.uh-tag-light > .wp-block-button__link,
.wp-block-button.uh-tag-light > .wp-element-button {
  box-shadow:
    0 12px 23px rgba(var(--uh-mx-rgb), 0.15),
    0 5px 12px rgba(47, 41, 37, 0.065),
    inset 0 2px 0 rgba(255, 255, 255, 0.84),
    inset 0 -3px 0 rgba(126, 113, 104, 0.20),
    inset 0 -10px 16px rgba(var(--uh-mx-rgb), 0.045) !important;
}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) > .wp-element-button:hover,
.wp-element-button:not(.has-background):not(.has-text-color):hover,
.wp-block-button.uh-btn-series > .wp-block-button__link:hover,
.wp-block-button.uh-btn-series > .wp-element-button:hover,
.wp-block-button.uh-btn-international > .wp-block-button__link:hover,
.wp-block-button.uh-btn-international > .wp-element-button:hover,
.wp-block-button.uh-tag-theme > .wp-block-button__link:hover,
.wp-block-button.uh-tag-theme > .wp-element-button:hover,
.wp-block-button.uh-tag-status > .wp-block-button__link:hover,
.wp-block-button.uh-tag-status > .wp-element-button:hover,
.wp-block-button.uh-tag-series > .wp-block-button__link:hover,
.wp-block-button.uh-tag-series > .wp-element-button:hover,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link:hover,
.wp-block-button.uh-btn-matrix.uh-btn-color-a.uh-btn-shape-tag.uh-btn-metal > .wp-element-button:hover {
  box-shadow:
    0 16px 30px rgba(var(--uh-mx-rgb), 0.21),
    0 6px 14px rgba(47, 41, 37, 0.065),
    inset 0 2px 0 rgba(255, 255, 255, 0.33),
    inset 0 -3px 0 rgba(47, 41, 37, 0.19),
    inset 0 -10px 16px rgba(47, 41, 37, 0.050) !important;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-element-button:hover,
.wp-block-button.uh-btn-hero-light > .wp-block-button__link:hover,
.wp-block-button.uh-btn-hero-light > .wp-element-button:hover,
.wp-block-button.uh-tag-light > .wp-block-button__link:hover,
.wp-block-button.uh-tag-light > .wp-element-button:hover {
  box-shadow:
    0 15px 28px rgba(var(--uh-mx-rgb), 0.17),
    0 6px 14px rgba(47, 41, 37, 0.070),
    inset 0 2px 0 rgba(255, 255, 255, 0.88),
    inset 0 -3px 0 rgba(126, 113, 104, 0.22),
    inset 0 -10px 16px rgba(var(--uh-mx-rgb), 0.050) !important;
}

/* Универсальная текстовая ссылка в international-палитре. */
.uh-link-international,
a.uh-link-international,
.uh-link-international a {
  color: var(--uh-international) !important;
  text-decoration: none !important;
  text-decoration-color: transparent !important;
  transition: opacity 180ms ease;
}
.uh-link-international:hover,
a.uh-link-international:hover,
.uh-link-international a:hover {
  color: var(--uh-international) !important;
  opacity: 0.68;
  text-decoration: none !important;
}

.uh-english-link,
.uh-english-link a,
a.uh-english-link {
  color: var(--uh-international) !important;
  font-family: "Philosopher", serif;
  font-weight: 700;
  font-size: var(--uh-font-english-link);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none !important;
}

.uh-english-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 2px 5px 3px 4px;
  border-radius: 6px;
  background:
    linear-gradient(
      180deg,
      rgba(107, 113, 144, 0) 0%,
      rgba(107, 113, 144, 0) 56%,
      rgba(107, 113, 144, 0.115) 57%,
      rgba(107, 113, 144, 0.115) 100%
    );
  transition:
    color 190ms ease,
    background 190ms ease,
    transform 190ms ease;
}

.uh-english-link::before {
  content: "🇬🇧";
  font-size: 0.92em;
  line-height: 1;
  transform: translateY(-0.02em);
}

.uh-english-link:hover,
.uh-english-link:hover a,
a.uh-english-link:hover {
  color: #5C637F !important;
}

.uh-english-link:hover {
  background:
    linear-gradient(
      180deg,
      rgba(107, 113, 144, 0) 0%,
      rgba(107, 113, 144, 0) 50%,
      rgba(107, 113, 144, 0.155) 51%,
      rgba(107, 113, 144, 0.155) 100%
    );
  transform: translateY(-1px);
}

.wp-block-buttons.uh-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

@media (max-width: 689px) {
  .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
  .wp-block-button:not(.is-style-outline) > .wp-element-button,
  .wp-element-button:not(.has-background):not(.has-text-color),
  .wp-block-button.is-style-outline > .wp-block-button__link,
  .wp-block-button.is-style-outline > .wp-element-button,
  .wp-block-button.uh-btn-series > .wp-block-button__link,
  .wp-block-button.uh-btn-series > .wp-element-button,
  .wp-block-button.uh-btn-international > .wp-block-button__link,
  .wp-block-button.uh-btn-international > .wp-element-button,
  .wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link,
  .wp-block-button.uh-btn-matrix.uh-btn-shape-tag.uh-btn-metal > .wp-element-button {
    min-height: 50px !important;
    padding: 13px 30px !important;
  }

  .wp-block-button.uh-tag-theme > .wp-block-button__link,
  .wp-block-button.uh-tag-theme > .wp-element-button,
  .wp-block-button.uh-tag-status > .wp-block-button__link,
  .wp-block-button.uh-tag-status > .wp-element-button,
  .wp-block-button.uh-tag-series > .wp-block-button__link,
  .wp-block-button.uh-tag-series > .wp-element-button,
  .wp-block-button.uh-btn-matrix.uh-btn-mini.uh-btn-shape-tag.uh-btn-metal > .wp-block-button__link,
  .wp-block-button.uh-btn-matrix.uh-btn-mini.uh-btn-shape-tag.uh-btn-metal > .wp-element-button {
    min-height: 34px !important;
    padding: 7px 17px 8px !important;
    font-size: var(--uh-font-mini-button) !important;
  }

  .wp-block-buttons.uh-tags-row {
    gap: 8px 9px;
  }

  .uh-english-link {
    padding: 2px 5px 3px 4px;
  }
}

.wp-block-button.uh-status-choice,
.wp-block-button.uh-status-new {
  --uh-dot-x: 30px;
  --uh-dot-r: 3.85px;
  --uh-dot-gold: #EED89A;
  --uh-dot-gold-light: #FFFDF2;
  --uh-dot-gold-deep: #DEC27B;
}
.wp-block-button.uh-status-choice > .wp-block-button__link,
.wp-block-button.uh-status-choice > .wp-element-button,
.wp-block-button.uh-status-new > .wp-block-button__link,
.wp-block-button.uh-status-new > .wp-element-button {
  padding-left: 45px !important;
}
.wp-block-button.uh-tag-status.uh-status-choice,
.wp-block-button.uh-tag-status.uh-status-new {
  --uh-dot-x: 22px;
  --uh-dot-r: 3.05px;
}

.wp-block-button.uh-tag-status.uh-status-choice > .wp-block-button__link,
.wp-block-button.uh-tag-status.uh-status-choice > .wp-element-button,
.wp-block-button.uh-tag-status.uh-status-new > .wp-block-button__link,
.wp-block-button.uh-tag-status.uh-status-new > .wp-element-button {
	
	padding-left: 32px !important;
}
.wp-block-button.uh-status-choice:not(.uh-tag-light) > .wp-block-button__link,
.wp-block-button.uh-status-choice:not(.uh-tag-light) > .wp-element-button,
.wp-block-button.uh-status-new:not(.uh-tag-light) > .wp-block-button__link,
.wp-block-button.uh-status-new:not(.uh-tag-light) > .wp-element-button {
  background:
    radial-gradient(circle var(--uh-dot-r) at var(--uh-dot-x) 50%,
      var(--uh-dot-gold-light) 0 12%,
      var(--uh-dot-gold) 13% 82%,
      var(--uh-dot-gold-deep) 83% 100%,
      rgba(255,255,255,0) calc(100% + 1px)),
    radial-gradient(circle calc(var(--uh-dot-r) + 0.7px) at var(--uh-dot-x) 50%,
      rgba(255, 253, 242, 0.16) 0 58%,
      rgba(255,255,255,0) 59%),
    linear-gradient(112deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.16) 14%,
      rgba(255,255,255,.035) 29%,
      rgba(47,41,37,.060) 50%,
      rgba(255,255,255,.12) 67%,
      rgba(255,255,255,0) 84%),
    repeating-linear-gradient(104deg,
      rgba(255,255,255,.035) 0 1px,
      rgba(255,255,255,0) 1px 7px),
    radial-gradient(circle at 28% 16%, rgba(255,255,255,.18), rgba(255,255,255,0) 27%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(47,41,37,.085)),
    linear-gradient(135deg, rgba(var(--uh-mx-rgb), .94), rgba(var(--uh-mx-rgb), .78)) !important;
}
.wp-block-button.uh-tag-light.uh-status-choice,
.wp-block-button.uh-tag-light.uh-status-new,
.wp-block-button.is-style-outline.uh-status-choice,
.wp-block-button.is-style-outline.uh-status-new {
  --uh-dot-gold: #E3C987;
  --uh-dot-gold-light: #FFF7D8;
  --uh-dot-gold-deep: #D0AC63;
}

.wp-block-button.uh-tag-light.uh-status-choice > .wp-block-button__link,
.wp-block-button.uh-tag-light.uh-status-choice > .wp-element-button,
.wp-block-button.uh-tag-light.uh-status-new > .wp-block-button__link,
.wp-block-button.uh-tag-light.uh-status-new > .wp-element-button,
.wp-block-button.is-style-outline.uh-status-choice > .wp-block-button__link,
.wp-block-button.is-style-outline.uh-status-choice > .wp-element-button,
.wp-block-button.is-style-outline.uh-status-new > .wp-block-button__link,
.wp-block-button.is-style-outline.uh-status-new > .wp-element-button {
  background:
    radial-gradient(circle var(--uh-dot-r) at var(--uh-dot-x) 50%,
      var(--uh-dot-gold-light) 0 12%,
      var(--uh-dot-gold) 13% 82%,
      var(--uh-dot-gold-deep) 83% 100%,
      rgba(255,255,255,0) calc(100% + 1px)),
    radial-gradient(circle calc(var(--uh-dot-r) + 0.7px) at var(--uh-dot-x) 50%,
      rgba(227, 201, 135, 0.13) 0 58%,
      rgba(255,255,255,0) 59%),
    linear-gradient(112deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,.62) 15%,
      rgba(255,255,255,.16) 32%,
      rgba(var(--uh-mx-rgb),.075) 50%,
      rgba(255,255,255,.30) 68%,
      rgba(255,255,255,.04) 84%),
    repeating-linear-gradient(104deg,
      rgba(var(--uh-mx-rgb),.035) 0 1px,
      rgba(255,255,255,0) 1px 7px),
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.54), rgba(255,255,255,0) 28%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.08) 40%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--uh-mx-light) 80%, #FFFDF8 20%) 0%,
      color-mix(in srgb, var(--uh-mx-light) 58%, #EDE7DF 42%) 100%) !important;
}
.wp-block-button.uh-status-choice::after,
.wp-block-button.uh-status-new::after {
  content: none !important;
  display: none !important;
}

::selection,
*::selection {
  color: var(--uh-heading) !important;
  background: rgba(221, 210, 194, 0.62) !important;
  text-shadow: none !important;
}

::-moz-selection,
*::-moz-selection {
  color: var(--uh-heading) !important;
  background: rgba(221, 210, 194, 0.62) !important;
  text-shadow: none !important;
}
.uh-lead-hero {
  margin: var(--uh-lead-hero-offset) 0 0;
  font-size: var(--uh-font-lead-hero);
  line-height: var(--uh-lead-line-height);
}
.uh-lead-hero,.uh-lead-section {

  color: var(--uh-body);

  font-family: "Gentium Book Plus", serif;
  font-weight: 400;
  letter-spacing: 0;
}
.uh-lead-section {
  box-sizing: border-box;
  margin-top: 14px;
  margin-bottom: 0;
  padding-right: 0;
  font-size: var(--uh-font-lead-section);
  line-height: var(--uh-lead-line-height);
}
.uh-lead-card {
  margin: 0;

  color: var(--uh-body);

  font-family: var(--uh-card-font-family);
  font-size: var(--uh-card-font-size);
  font-weight: var(--uh-card-font-weight);
  line-height: var(--uh-card-line-height);
  letter-spacing: var(--uh-card-letter-spacing);
}
.uh-kicker-hero,
.uh-kicker-section,
.uh-kicker-card {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;

  color: var(--uh-kicker-color, var(--uh-cozy));

  font-family: "Philosopher", serif;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.12em;

  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.uh-kicker-hero {
  font-size: var(--uh-font-kicker-hero);
}
.uh-kicker-section {
  font-size: var(--uh-font-kicker-section);
}
.uh-kicker-card {
  font-size: var(--uh-font-kicker-card);
}

.uh-tone-neutral {
  --uh-kicker-color: var(--uh-muted, #807A75);
}


.uh-tone-neutral,.uh-kicker-hero.uh-tone-neutral,.uh-kicker-section.uh-tone-neutral,.uh-kicker-card.uh-tone-neutral {
  color: var(--uh-muted, #807A75);
}

.uh-tone-cozy {
  --uh-kicker-color: var(--uh-cozy);
}

.uh-tone-romanovs {
  --uh-kicker-color: var(--uh-romanovs);
}

.uh-tone-voice {
  --uh-kicker-color: var(--uh-voice);
}

.uh-tone-royal {
  --uh-kicker-color: var(--uh-royal);
}

.uh-tone-international {
  --uh-kicker-color: var(--uh-international);
}

.uh-tone-choice {
  --uh-kicker-color: var(--uh-choice);
}

.uh-tone-new {
  --uh-kicker-color: var(--uh-new);
}

.uh-title-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  max-width: 100%;
  text-align: left;
}
.uh-title-stack > .wp-block-heading,
.uh-title-stack > p {
  margin-left: 0;
  margin-right: 0;
}

.uh-title-stack > .wp-block-heading,.uh-title-stack > .uh-kicker-hero,.uh-title-stack > .uh-kicker-section,.uh-title-stack > .uh-kicker-card {
  margin-top: 0;
  margin-bottom: 0;
}
.uh-title-stack > .uh-kicker-hero + .wp-block-heading {
  margin-top: 42px;
}

.uh-title-stack > .uh-kicker-section + .wp-block-heading {
  margin-top: 22px;
}

.uh-title-stack > .uh-kicker-card + .wp-block-heading {
  margin-top: 32px;
}
.uh-title-stack > .wp-block-heading + .uh-lead-hero {
  margin-top: var(--uh-lead-hero-offset);
}

.uh-title-stack > .wp-block-heading + .uh-lead-card {
  margin-top: 16px;
}

@media (max-width: 689px) {
  .uh-lead-section {
    margin-top: 12px;
  }

  .uh-title-stack > .uh-kicker-hero + .wp-block-heading {
    margin-top: 30px;
  }

  .uh-title-stack > .uh-kicker-section + .wp-block-heading {
    margin-top: 16px;
  }

  .uh-title-stack > .uh-kicker-card + .wp-block-heading {
    margin-top: 19px;
  }

  .uh-title-stack > .wp-block-heading + .uh-lead-hero {
    margin-top: 16px;
  }

  .uh-title-stack > .wp-block-heading + .uh-lead-card {
    margin-top: 12px;
  }
}

body {
  /* Переменные темы вычисляются на самом body: так карточки действительно
     следуют настройке «Базовый шрифт», даже если тема объявляет её не в :root. */
  --uh-card-font-family: var(--theme-font-family, var(--uh-font-body));
  --uh-card-font-size: var(--theme-font-size, 19px);
  --uh-card-font-weight: var(--theme-font-weight, 400);
  --uh-card-line-height: var(--theme-line-height, var(--uh-lead-line-height));
  --uh-card-letter-spacing: var(--theme-letter-spacing, 0);
  overflow-x: hidden;
}

.uh-hero-bg-png {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;

  width: 100vw;
  max-width: 100vw;
  min-height: 560px;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding:
    clamp(88px, 7vw, 118px)
    clamp(34px, 5vw, 72px)
    clamp(60px, 4.8vw, 82px);

  border-top: 1px solid rgba(221, 210, 194, 0.82);
  border-right: 0;
  border-bottom: 1px solid rgba(221, 210, 194, 0.82);
  border-left: 0;
  border-radius: 0;

  box-shadow: none;

  background:
    radial-gradient(700px 460px at 10% 88%, rgba(243, 237, 227, 0.78) 0%, rgba(243, 237, 227, 0) 72%),
    radial-gradient(780px 540px at 100% 42%, rgba(138, 90, 82, 0.115) 0%, rgba(138, 90, 82, 0) 74%),
    radial-gradient(560px 360px at 78% 100%, rgba(250, 247, 241, 0.46) 0%, rgba(250, 247, 241, 0) 80%),
    radial-gradient(560px 360px at 48% 10%, rgba(255, 252, 247, 0.58) 0%, rgba(255, 252, 247, 0) 68%),
    linear-gradient(
      90deg,
      #F7F2EA 0%,
      #FFFCF7 36%,
      #FAF7F1 58%,
      #F4E9E9 100%
    );
}

.uh-hero-bg-png::before,
.uh-hero-bg-png::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  pointer-events: none;
}

.uh-hero-bg-png::before {
  z-index: 0;

  background-image: var(--uh-hero-overlay-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  opacity: var(--uh-hero-overlay-opacity);
  transform-origin: center center;
}
.uh-hero-bg-png::after {

  background:
    radial-gradient(
      820px 330px at 39% 45%,
      rgba(255, 252, 247, 0.64) 0%,
      rgba(255, 252, 247, 0.44) 42%,
      rgba(255, 252, 247, 0.00) 78%
    ),
    radial-gradient(
      520px 260px at 34% 56%,
      rgba(250, 247, 241, 0.30) 0%,
      rgba(250, 247, 241, 0.00) 72%
    ),
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.04) 0%,
      rgba(255, 252, 247, 0.14) 30%,
      rgba(255, 252, 247, 0.22) 49%,
      rgba(250, 247, 241, 0.18) 59%,
      rgba(255, 252, 247, 0.00) 76%
    );

  opacity: var(--uh-hero-veil-opacity);
}

.uh-hero-bg-png > * {
  position: relative;
  z-index: 2;
}

.uh-hero-bg-png > .wp-block-columns.uh-hero-layout,
.uh-hero-bg-png > .uh-hero-layout {
  max-width: min(1280px, calc(100vw - 96px));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .uh-hero-bg-png {
    min-height: 500px;
    padding-top: 66px;
    padding-bottom: 46px;
  }

  .uh-hero-bg-png > .wp-block-columns.uh-hero-layout,
  .uh-hero-bg-png > .uh-hero-layout {
    max-width: calc(100vw - 64px);
  }

  .uh-hero-bg-png::before {
    opacity: calc(var(--uh-hero-overlay-opacity) - 0.04);
  }
}

@media (max-width: 1024px) {
  .uh-hero-bg-png::before {
    background-position: left top !important;
    background-size: auto 100% !important;
    transform-origin: left top;
  }

  .uh-hero-bg-png::after {
    background:
      radial-gradient(
        1200px 760px at 37% 31%,
        rgba(255, 252, 247, 0.62) 0%,
        rgba(255, 252, 247, 0.46) 34%,
        rgba(250, 247, 241, 0.24) 62%,
        rgba(255, 252, 247, 0.00) 92%
      ),
      linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.22) 0%,
        rgba(255, 252, 247, 0.10) 44%,
        rgba(255, 252, 247, 0.00) 78%
      );
  }

  .uh-hero-content,
  .uh-hero-content .uh-lead-hero {
    width: 100%;
    max-width: none !important;
  }

  .uh-hero-content::before {
    display: none;
  }
}

@media (max-width: 689px) {
  .uh-hero-bg-png {
    min-height: 430px;
    padding: 48px 20px 36px;
  }

  .uh-hero-bg-png > .wp-block-columns.uh-hero-layout,
  .uh-hero-bg-png > .uh-hero-layout {
    max-width: none;
  }

  .uh-hero-bg-png::before {
    background-position: left top !important;
    background-size: auto 100% !important;
    opacity: calc(var(--uh-hero-overlay-opacity) - 0.12);
  }

  .uh-hero-bg-png::after {
    background:
      radial-gradient(
        980px 760px at 34% 27%,
        rgba(255, 252, 247, 0.66) 0%,
        rgba(255, 252, 247, 0.48) 36%,
        rgba(250, 247, 241, 0.24) 64%,
        rgba(255, 252, 247, 0.00) 94%
      ),
      linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.24) 0%,
        rgba(255, 252, 247, 0.10) 46%,
        rgba(255, 252, 247, 0.00) 80%
      );

    opacity: 1;
  }
}

.wp-block-columns.uh-hero-layout,
.uh-hero-layout {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: stretch;
  gap: clamp(34px, 4.4vw, 70px);

  width: 100%;
  margin: 0;
}

.wp-block-columns.uh-hero-layout > .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.wp-block-columns.uh-hero-layout > .wp-block-column:first-child {
  flex-basis: 46% !important;
}

.wp-block-columns.uh-hero-layout > .wp-block-column:last-child {
  flex-basis: 54% !important;
}
.wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-media,
.wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-media) {
  flex-basis: 45% !important;
  justify-content: stretch;
}

.wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-content,
.wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-content) {
  flex-basis: 55% !important;
  justify-content: center;
}
@media (min-width: 1025px) {
  .wp-block-columns.uh-hero-layout,
  .uh-hero-layout {
    padding-left: clamp(18px, 2vw, 32px);
    padding-right: clamp(18px, 2vw, 32px);
  }
}
.uh-hero-media {
  position: relative;
  z-index: 2;

  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: clamp(520px, 42vw, 690px);
}

.wp-block-image.uh-hero-media,
.uh-hero-media.wp-block-image {
  margin: 0;
  width: 100%;
}

.uh-hero-media img,
.wp-block-image.uh-hero-media img,
img.uh-hero-media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(520px, 42vw, 690px);
  max-height: none;
  object-fit: cover;
  object-position: center center;

  border-radius: 26px;

  box-shadow:
    0 30px 64px rgba(47, 41, 37, 0.135),
    0 12px 28px rgba(138, 90, 82, 0.085),
    0 0 0 1px rgba(255, 252, 247, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);

  filter: saturate(1.015) contrast(1.015);
}
.uh-hero-content {
  position: relative;
  z-index: 3;
  box-sizing: border-box;

  max-width: 720px;
  padding: 8px 0 10px;
}
.uh-hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -34px -48px -42px -40px;

  border-radius: 34px;

  background:
    radial-gradient(
      560px 300px at 34% 42%,
      rgba(255, 252, 247, 0.66) 0%,
      rgba(255, 252, 247, 0.44) 46%,
      rgba(255, 252, 247, 0.00) 78%
    ),
    radial-gradient(
      440px 230px at 48% 86%,
      rgba(250, 247, 241, 0.42) 0%,
      rgba(250, 247, 241, 0.00) 74%
    );

  pointer-events: none;
}

/* Main and English Version only: a soft desktop veil under the right-hand text.
   The layer extends well to the left and fades there before its own box begins,
   so no vertical edge appears between the photograph and the text. */
@media (min-width: 1025px) {
  .uh-home-page-hero .uh-hero-content.uh-hero-rose-text-veil::after,
  .uh-english-page-hero .uh-hero-content.uh-hero-rose-text-veil::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 10px -12px 8px 24px;
    border-radius: 48% 52% 50% 46%;
    background:
      radial-gradient(66% 72% at 78% 82%,
        rgba(255, 252, 247, 0.20) 0%,
        rgba(255, 252, 247, 0.11) 50%,
        rgba(255, 252, 247, 0) 100%),
      rgba(255, 252, 247, 0.46);
    filter: blur(54px);
    transform: scale(1.08, 1.04);
    transform-origin: center;
    pointer-events: none;
  }
}
.uh-hero-content.uh-title-stack > .uh-kicker-hero + .wp-block-heading {
  margin-top: 34px;
}

.uh-hero-content.uh-title-stack > .wp-block-heading + .uh-lead-hero {
  margin-top: var(--uh-lead-hero-offset);
}

.uh-hero-content .uh-lead-hero {
  max-width: 648px;
}
.uh-hero-actions {
  position: relative;
  z-index: 3;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin-top: 40px;
  gap: 18px 30px;
}

.uh-hero-actions > .wp-block-button {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  justify-self: auto !important;
}

.uh-hero-actions > .wp-block-button > .wp-block-button__link,
.uh-hero-actions > .wp-block-button > .wp-element-button {
  width: auto !important;
  max-width: 100% !important;
  white-space: nowrap;
}
.uh-hero-actions::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16px -22px -18px -22px;

  border-radius: 999px;

  background:
    radial-gradient(
      420px 120px at 42% 52%,
      rgba(255, 252, 247, 0.58) 0%,
      rgba(255, 252, 247, 0.32) 48%,
      rgba(255, 252, 247, 0.00) 82%
    );

  pointer-events: none;
}
@media (max-width: 1024px) and (min-width: 690px) {
  .wp-block-columns.uh-hero-layout,
  .uh-hero-layout {
    gap: clamp(26px, 3.4vw, 42px);
  }

  .wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-media,
  .wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-media) {
    flex-basis: 45% !important;
  }

  .wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-content,
  .wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-content) {
    flex-basis: 55% !important;
  }

  .uh-hero-media,
  .uh-hero-media img,
  .wp-block-image.uh-hero-media img,
  img.uh-hero-media {
    min-height: clamp(470px, 48vw, 620px);
  }

  .uh-hero-content {
    max-width: 648px;
  }

  .uh-hero-content::before {
    inset: -26px -34px -34px -30px;
    border-radius: 30px;
  }

  .uh-hero-content.uh-title-stack > .uh-kicker-hero + .wp-block-heading {
    margin-top: 30px;
  }

  .uh-hero-actions {
    margin-top: 34px;
    gap: 16px 18px;
  }
}
@media (max-width: 1024px) {
  .wp-block-columns.uh-hero-layout,
  .uh-hero-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .wp-block-columns.uh-hero-layout > .wp-block-column:first-child,
  .wp-block-columns.uh-hero-layout > .wp-block-column:last-child {
    flex-basis: auto !important;
  }

  .wp-block-columns.uh-hero-layout {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  .wp-block-columns.uh-hero-layout > .wp-block-column,
  .uh-hero-layout > .wp-block-column {
    width: 100%;
    max-width: 100%;
  }

  .wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-content,
  .wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-content),
  .uh-hero-col-content {
    order: 1 !important;
  }

  .wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-media,
  .wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-media),
  .uh-hero-col-media {
    order: 2 !important;
  }

  .uh-hero-media {
    min-height: clamp(320px, 72vw, 520px);
  }

  .uh-hero-media img,
  .wp-block-image.uh-hero-media img,
  img.uh-hero-media {
    min-height: clamp(320px, 72vw, 520px);
    max-height: none;
    border-radius: 22px;
  }

  .uh-hero-content {
    max-width: 100%;
    padding: 0;
  }

  .uh-hero-content::before {
    inset: -20px -18px -28px -18px;
    border-radius: 24px;
  }

  .uh-hero-content.uh-title-stack > .uh-kicker-hero + .wp-block-heading {
    margin-top: 28px;
  }

  .uh-hero-content.uh-title-stack > .wp-block-heading + .uh-lead-hero {
    margin-top: 16px;
  }

  .uh-hero-actions {
    margin-top: 30px;
    gap: 13px;
  }

  .uh-hero-actions::before {
    inset: -13px -14px -15px -14px;
  }
}

/* Размеры шрифта стандартных элементов WordPress — цитат, выдержек,
   подписей к изображениям и моноширинного текста — задаёт Blocksy. */

.uh-book-hero-bg {
  --uh-book-accent-rgb: 118, 103, 124;
  --uh-book-accent-color: var(--uh-romanovs);
  --uh-book-series-wash-rgb: 118, 103, 124;
  --uh-book-series-wash-opacity: 0.048;
  --uh-book-series-top-opacity: 0.022;
  --uh-book-series-edge-opacity: 0.026;
  --uh-book-overlay-opacity: 0.72;
  --uh-book-overlay-position: center center;
  --uh-book-overlay-size: cover;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  min-height: 560px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding:
    clamp(88px, 7vw, 118px)
    clamp(34px, 5vw, 72px)
    clamp(104px, 7.4vw, 138px);
  border-top: 1px solid rgba(221, 210, 194, 0.64);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background:
    radial-gradient(1040px 660px at 86% 44%, rgba(var(--uh-book-series-wash-rgb), var(--uh-book-series-wash-opacity)) 0%, rgba(var(--uh-book-series-wash-rgb), 0.014) 44%, rgba(var(--uh-book-series-wash-rgb), 0) 84%),
    radial-gradient(980px 340px at 68% 0%, rgba(var(--uh-book-series-wash-rgb), var(--uh-book-series-top-opacity)) 0%, rgba(var(--uh-book-series-wash-rgb), 0) 80%),
    linear-gradient(100deg, #FFFFFF 0%, #FFFFFE 42%, #FDFCFC 74%, #FBFAF8 100%);
}

.uh-book-hero-bg.uh-series-cozy {
  --uh-book-accent-rgb: 124, 69, 67;
  --uh-book-accent-color: var(--uh-cozy);
  --uh-book-series-wash-rgb: 124, 69, 67;
  --uh-book-series-wash-opacity: 0.044;
  --uh-book-series-top-opacity: 0.020;
  --uh-book-series-edge-opacity: 0.024;
}

.uh-book-hero-bg.uh-series-cta {
  --uh-book-accent-rgb: 155, 122, 67;
  --uh-book-accent-color: var(--uh-cta);
  --uh-book-series-wash-rgb: 155, 122, 67;
  --uh-book-series-wash-opacity: 0.038;
  --uh-book-series-top-opacity: 0.018;
  --uh-book-series-edge-opacity: 0.022;
}

.uh-book-hero-bg.uh-series-romanovs {
  --uh-book-accent-rgb: 118, 103, 124;
  --uh-book-accent-color: var(--uh-romanovs);
  --uh-book-series-wash-rgb: 118, 103, 124;
  --uh-book-series-wash-opacity: 0.052;
  --uh-book-series-top-opacity: 0.024;
  --uh-book-series-edge-opacity: 0.028;
  --uh-book-overlay-opacity: 0.62;
}

.uh-book-hero-bg.uh-series-voice {
  --uh-book-accent-rgb: 111, 121, 102;
  --uh-book-accent-color: var(--uh-voice);
  --uh-book-series-wash-rgb: 111, 121, 102;
  --uh-book-series-wash-opacity: 0.044;
  --uh-book-series-top-opacity: 0.020;
  --uh-book-series-edge-opacity: 0.024;
}

.uh-book-hero-bg::before,
.uh-book-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.uh-book-hero-bg::after {
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0%,
      rgba(251, 248, 242, 0) 60%,
      rgba(251, 248, 242, 0.05) 72%,
      rgba(251, 248, 242, 0.16) 83%,
      rgba(251, 248, 242, 0.44) 93%,
      rgba(251, 248, 242, 0.82) 100%
    ),
    radial-gradient(
      1080px 680px at 88% 43%,
      rgba(var(--uh-book-series-wash-rgb), var(--uh-book-series-wash-opacity)) 0%,
      rgba(var(--uh-book-series-wash-rgb), 0.010) 38%,
      rgba(var(--uh-book-series-wash-rgb), 0.003) 68%,
      rgba(var(--uh-book-series-wash-rgb), 0) 90%
    ),
    linear-gradient(
      108deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(var(--uh-book-series-wash-rgb), 0.006) 68%,
      rgba(var(--uh-book-series-wash-rgb), var(--uh-book-series-edge-opacity)) 100%
    ),
    radial-gradient(
      1220px 380px at 57% 0%,
      rgba(var(--uh-book-series-wash-rgb), var(--uh-book-series-top-opacity)) 0%,
      rgba(var(--uh-book-series-wash-rgb), 0.004) 48%,
      rgba(var(--uh-book-series-wash-rgb), 0) 84%
    ),
    radial-gradient(
      780px 470px at 27% 43%,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0.32) 40%,
      rgba(255, 255, 255, 0.08) 68%,
      rgba(255, 255, 255, 0) 84%
    );
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.uh-book-hero-bg::before {
  z-index: 0;

  background-image: var(--uh-book-hero-overlay-image);
  background-repeat: no-repeat;
  background-position: var(--uh-book-overlay-position);
  background-size: var(--uh-book-overlay-size);

  opacity: var(--uh-book-overlay-opacity);
  mix-blend-mode: multiply;
}

.uh-book-hero-bg > * {
  position: relative;
  z-index: 2;
}

.wp-block-image.uh-book-cover,
.uh-book-cover.wp-block-image {
  position: relative;
  z-index: 1;
}

.wp-block-image.uh-book-cover::before,
.uh-book-cover.wp-block-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% -8% 2% -8%;
  pointer-events: none;

  border-radius: 999px;

  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(var(--uh-book-series-wash-rgb), 0.090) 0%,
      rgba(var(--uh-book-series-wash-rgb), 0.042) 42%,
      rgba(var(--uh-book-series-wash-rgb), 0.000) 78%
    );

  filter: blur(10px);
}

.uh-book-subtitle {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(100%, 680px);

  margin: 10px 0 0;
  padding: 0;

  color: var(--uh-book-accent-color);

  font-family: "Philosopher", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.004em;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;

  text-decoration-line: underline;
  text-decoration-color: rgba(var(--uh-book-accent-rgb), 0.14);
  text-decoration-thickness: 0.30em;
  text-underline-offset: -0.14em;
  text-decoration-skip-ink: none;
}

.uh-book-subtitle::before {
  content: none !important;
  display: none !important;
}

.uh-book-subtitle + .uh-lead-hero {
  margin-top: var(--uh-lead-hero-offset);
}

.wp-block-image.uh-book-cover,
.uh-book-cover.wp-block-image {
  margin: 0;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.uh-book-cover img,
.wp-block-image.uh-book-cover img,
img.uh-book-cover {
  display: block;

  width: auto;
  max-width: min(100%, 360px);
  height: auto;
  max-height: none;
  object-fit: contain;

  border: 0 !important;
  border-radius: 0;
  background: transparent !important;

  box-shadow: none !important;

  filter:
    drop-shadow(0 44px 50px rgba(47, 41, 37, 0.23))
    drop-shadow(14px 18px 24px rgba(47, 41, 37, 0.105))
    drop-shadow(0 22px 30px rgba(var(--uh-book-accent-rgb), 0.18))
    drop-shadow(0 5px 8px rgba(47, 41, 37, 0.145))
    drop-shadow(0 0 1px rgba(47, 41, 37, 0.18))
    saturate(1.012)
    contrast(1.008);
}
@media (max-width: 1024px) {
  .uh-book-hero-bg {
    min-height: 500px;
    padding-top: 66px;
    padding-bottom: 72px;
  }

  

  .uh-book-hero-bg::before {
    background-position: 66% center;
    opacity: calc(var(--uh-book-overlay-opacity) - 0.08);
  }

  

  .uh-book-cover img,
  .wp-block-image.uh-book-cover img,
  img.uh-book-cover {
    max-width: min(100%, 320px);
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .uh-book-subtitle {
    font-size: 22px;
  }
}
@media (max-width: 689px) {
  .uh-book-hero-bg {
    min-height: 430px;
    padding: 48px 20px 42px;
  }

  

  .uh-book-hero-bg::before {
    background-position: 76% 40%;
    background-size: auto 100%;
    opacity: calc(var(--uh-book-overlay-opacity) - 0.16);
  }

  

  .uh-book-cover img,
  .wp-block-image.uh-book-cover img,
  img.uh-book-cover {
    max-width: min(100%, 270px);
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .uh-book-subtitle {
    margin-top: 8px;
    padding: 0;
		font-size: 22px;
    line-height: 1.26;

    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;

    text-decoration-thickness: 0.28em;
    text-underline-offset: -0.13em;
  }

  .uh-book-subtitle::before {
    content: none !important;
    display: none !important;
  }

  .uh-book-subtitle + .uh-lead-hero {
    margin-top: var(--uh-lead-hero-offset);
  }

  
}

.wp-block-column:has(.uh-book-cover) > .wp-block-image.uh-book-cover {
  max-width: 455px;
}

@media (max-width: 1024px) {
  
  .wp-block-column:has(.uh-book-cover) > .wp-block-image.uh-book-cover {
    max-width: 400px;
  }
}

@media (max-width: 689px) {
  
  .wp-block-column:has(.uh-book-cover) > .wp-block-image.uh-book-cover {
    max-width: 330px;
  }
}

body {
  overflow-x: clip;
}

.uh-content-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;

  margin-block: 0 !important;
  padding-block: var(--uh-content-y);
  padding-inline: var(--uh-content-x);

  color: var(--uh-body);
  background: var(--uh-page);
}

.uh-content-section.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.uh-content-section > * {
  position: relative;
  z-index: 2;
}

.uh-content-inner,
.uh-content-inner-narrow,
.uh-content-inner-wide {
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
}

.uh-content-inner {
  max-width: var(--uh-content-max);
}

.uh-content-inner-narrow {
  max-width: var(--uh-content-max-narrow);
}

.uh-content-inner-wide {
  max-width: var(--uh-content-max-wide);
}

.uh-content-section :where(.wp-block-group, .wp-block-columns, .wp-block-image, p, h2, h3) {
  box-sizing: border-box;
}

.uh-content-section.uh-bg-page {
  background:
    radial-gradient(880px 520px at 8% 0%, rgba(255,255,255,0.88), rgba(255,255,255,0) 72%),
    radial-gradient(760px 480px at 96% 92%, rgba(250,247,241,0.76), rgba(250,247,241,0) 74%),
    linear-gradient(135deg, #FFFCF7 0%, #FBF8F2 100%);
}

.uh-content-section.uh-bg-white {
  background:
    radial-gradient(860px 520px at 8% 0%, rgba(255,255,255,0.98), rgba(255,255,255,0) 72%),
    linear-gradient(135deg, #FFFFFF 0%, #FFFCF7 100%);
}

.uh-content-section.uh-bg-english {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.88), rgba(255,255,255,0) 72%),
    radial-gradient(760px 480px at 96% 92%, rgba(var(--uh-international-rgb),0.065), rgba(var(--uh-international-rgb),0) 74%),
    linear-gradient(135deg, #FFFCF8 0%, #F6F5FB 100%);
}

.uh-content-section.uh-bg-neutral-1 {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.88), rgba(255,255,255,0) 72%),
    radial-gradient(760px 480px at 96% 92%, rgba(var(--uh-accent-rgb),0.035), rgba(var(--uh-accent-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF8 0%, #FBF4EE 100%);
}

.uh-content-section.uh-bg-neutral-2 {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.88), rgba(255,255,255,0) 72%),
    radial-gradient(760px 480px at 96% 92%, rgba(var(--uh-cta-rgb),0.060), rgba(var(--uh-cta-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF8 0%, #FAF3EA 100%);
}

.uh-content-section.uh-bg-neutral-3 {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(780px 500px at 96% 92%, rgba(var(--uh-romanovs-rgb),0.070), rgba(var(--uh-romanovs-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #F7F2F8 100%);
}

.uh-content-section.uh-bg-neutral-4 {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 480px at 96% 92%, rgba(var(--uh-people-rgb),0.062), rgba(var(--uh-people-rgb),0) 74%),
    radial-gradient(520px 320px at 20% 96%, rgba(var(--uh-voice-rgb),0.035), rgba(var(--uh-voice-rgb),0) 72%),
    linear-gradient(135deg, #FFFDF9 0%, #F3F8F7 100%);
}

.uh-content-section.uh-bg-neutral-5 {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 480px at 96% 92%, rgba(var(--uh-new-rgb),0.075), rgba(var(--uh-new-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #F4FAEE 100%);
}

.uh-content-section.uh-bg-cozy {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-cozy-rgb),0.065), rgba(var(--uh-cozy-rgb),0) 74%),
    radial-gradient(520px 320px at 18% 96%, rgba(var(--uh-love-rgb),0.040), rgba(var(--uh-love-rgb),0) 72%),
    linear-gradient(135deg, #FFFDF9 0%, #FAF1F2 100%);
}

.uh-content-section.uh-bg-romanovs {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-romanovs-rgb),0.080), rgba(var(--uh-romanovs-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #F4F0F8 100%);
}

.uh-content-section.uh-bg-voice {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-voice-rgb),0.078), rgba(var(--uh-voice-rgb),0) 74%),
    radial-gradient(520px 320px at 18% 96%, rgba(var(--uh-new-rgb),0.035), rgba(var(--uh-new-rgb),0) 72%),
    linear-gradient(135deg, #FFFDF9 0%, #F2F8EF 100%);
}

.uh-content-section.uh-bg-royal {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-royal-rgb),0.048), rgba(var(--uh-royal-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #FAF3EA 100%);
}

.uh-content-section.uh-bg-emigrant {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-emigrant-rgb),0.035), rgba(var(--uh-emigrant-rgb),0) 74%),
    radial-gradient(520px 320px at 18% 96%, rgba(var(--uh-international-rgb),0.032), rgba(var(--uh-international-rgb),0) 72%),
    linear-gradient(135deg, #FFFDF9 0%, #F7F4EF 100%);
}

.uh-content-section.uh-bg-people {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-people-rgb),0.082), rgba(var(--uh-people-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #EFF7FA 100%);
}

.uh-content-section.uh-bg-women {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-women-rgb),0.074), rgba(var(--uh-women-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #F8F0F8 100%);
}

.uh-content-section.uh-bg-love {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-love-rgb),0.074), rgba(var(--uh-love-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #FAEEF2 100%);
}

.uh-content-section.uh-bg-choice {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-choice-rgb),0.032), rgba(var(--uh-choice-rgb),0) 74%),
    radial-gradient(520px 320px at 18% 96%, rgba(var(--uh-people-rgb),0.032), rgba(var(--uh-people-rgb),0) 72%),
    linear-gradient(135deg, #FFFDF9 0%, #F4F7F7 100%);
}

.uh-content-section.uh-bg-new {
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    radial-gradient(760px 500px at 96% 92%, rgba(var(--uh-new-rgb),0.085), rgba(var(--uh-new-rgb),0) 74%),
    linear-gradient(135deg, #FFFDF9 0%, #F3FAEE 100%);
}

.uh-content-section[class*="uh-ill-"]::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;

  background-image: var(--uh-ill-image);
  background-repeat: no-repeat;
  background-position: right clamp(-90px, -5vw, -34px) bottom 8%;
  background-size: min(42vw, 560px) auto;

  opacity: var(--uh-ill-opacity, 0.20);
  filter: saturate(0.94) contrast(1.02);
}

.uh-content-head {
  max-width: 860px;
  margin: 0 0 clamp(32px, 4vw, 52px);
  text-align: left;
}

.uh-content-head > :last-child {
  margin-bottom: 0;
}

.wp-block-buttons.uh-content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: clamp(28px, 3.2vw, 40px);
}

.wp-block-columns.uh-content-columns {
  width: 100%;
  margin-block: 0;
  gap: var(--uh-content-gap) !important;
}

.wp-block-columns.uh-content-columns > .wp-block-column {
  min-width: 0;
}

.uh-start-block {
  padding-block: clamp(78px, 7.2vw, 120px);
}

.wp-block-columns.uh-start-columns {
  align-items: center !important;
}

.uh-start-columns > .uh-content-media-col {
  flex-basis: 40% !important;
}

.uh-start-columns > .uh-content-text-col {
  flex-basis: 60% !important;
}

.uh-start-book-block .uh-start-columns > .uh-content-media-col {
  display: flex;
  flex-basis: 44% !important;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.uh-start-book-block .uh-start-columns > .uh-content-text-col {
  flex-basis: 54% !important;
}

.uh-start-content {
  max-width: 690px;
}

.wp-block-image.uh-start-media {
  width: min(100%, 450px);
  margin: 0 auto;
}

.wp-block-image.uh-start-media img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 2.55;
  object-fit: cover;
  border-radius: var(--uh-radius-media);
  box-shadow: var(--uh-media-shadow);
}

.uh-card-block {
  padding-block: clamp(74px, 7vw, 116px);
}

.wp-block-columns.uh-card-columns {
  align-items: stretch;
  gap: var(--uh-card-gap) !important;
}

.wp-block-column.uh-card-col {
  display: flex;
}

.uh-content-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  min-height: 100%;

  text-align: left;
  border: 1px solid rgba(221, 210, 194, 0.58);
  border-radius: var(--uh-radius-card);
  background:
    radial-gradient(520px 280px at 18% 0%, rgba(255,255,255,0.88), rgba(255,255,255,0) 70%),
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,252,247,0.72));
  box-shadow: var(--uh-card-shadow);
}

.uh-content-card,.wp-block-image.uh-card-media {

  width: 100%;
  margin: 0;
}

.wp-block-image.uh-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--uh-radius-card) var(--uh-radius-card) 0 0;
}

.uh-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: clamp(24px, 2.8vw, 34px);
  text-align: left;
}

.uh-card-content > :last-child {
  margin-bottom: 0;
}

.uh-card-content :where(.uh-kicker-card, h3, h5, .uh-lead-card, p) {
  text-align: left !important;
}

.uh-book-card-block {
  padding-block: clamp(74px, 7vw, 116px);
}

.wp-block-columns.uh-book-card-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(52px, 5.4vw, 78px) var(--uh-card-gap) !important;
  width: 100%;
}

.wp-block-columns.uh-book-card-columns > .wp-block-column {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

.uh-book-card {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 250px);
  margin: 0 0 clamp(20px, 2.4vw, 28px);
}

.wp-block-image.uh-book-card-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 18px 22px rgba(47, 41, 37, 0.16));
}

.uh-book-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.uh-book-card-content :where(.uh-kicker-card, h3, h5, .uh-lead-card, p) {
  text-align: left !important;
}

.uh-long-card-block {
  padding-block: clamp(74px, 7vw, 116px);
}

.wp-block-columns.uh-long-card {
  align-items: center !important;
  gap: clamp(24px, 3.5vw, 44px) !important;

  margin-block: 0;
  padding: clamp(20px, 2.4vw, 30px);

  border: 1px solid rgba(221, 210, 194, 0.54);
  border-radius: var(--uh-radius-card);
  background:
    radial-gradient(520px 280px at 18% 0%, rgba(255,255,255,0.88), rgba(255,255,255,0) 70%),
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,252,247,0.62));
  box-shadow: 0 12px 26px rgba(47, 41, 37, 0.048);
}

.wp-block-columns.uh-long-card + .wp-block-columns.uh-long-card {
  margin-top: clamp(18px, 2.4vw, 28px);
}

.uh-long-card-media-col {
  flex-basis: 18% !important;
}

.uh-long-card-text-col {
  flex-basis: 82% !important;
}

.wp-block-image.uh-long-card-media {
  width: min(100%, 150px);
  margin: 0 auto;
}

.wp-block-image.uh-long-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--uh-radius-small);
  box-shadow: 0 9px 18px rgba(47, 41, 37, 0.070);
}

.uh-long-card-content {
  text-align: left;
}

.uh-long-card-content :where(.uh-kicker-card, h3, h5, .uh-lead-card, p) {
  text-align: left !important;
}


/* Блок №12: длинная карточка с настоящим обтеканием на телефоне и планшете. */
.uh-long-card-flow {
  margin-block: 0;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(221, 210, 194, 0.54);
  border-radius: var(--uh-radius-card);
  background:
    radial-gradient(520px 280px at 18% 0%, rgba(255,255,255,0.88), rgba(255,255,255,0) 70%),
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,252,247,0.62));
  box-shadow: 0 12px 26px rgba(47, 41, 37, 0.048);
}

.uh-long-card-flow + .uh-long-card-flow {
  margin-top: clamp(18px, 2.4vw, 28px);
}

.uh-long-card-flow-content {
  display: grid !important;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  grid-template-areas:
    "media kicker"
    "media title"
    "media lead";
  align-items: start;
  column-gap: clamp(24px, 3.5vw, 44px);
  width: 100%;
  text-align: left;
}

.uh-long-card-flow-content > .uh-kicker-card {
  grid-area: kicker;
}

.uh-long-card-flow-content > .wp-block-heading {
  grid-area: title;
  margin-top: 26px !important;
  text-align: left !important;
}

.uh-long-card-flow-content > .uh-lead-card {
  grid-area: lead;
  margin-top: 16px !important;
  text-align: left !important;
}

.wp-block-image.uh-long-card-flow-media {
  grid-area: media;
  align-self: start;
  width: min(100%, 150px);
  margin: 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wp-block-image.uh-long-card-flow-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(47, 41, 37, 0.11));
}

.uh-long-card-flow.uh-award-card .uh-long-card-flow-media,
.uh-long-card-flow.uh-award-card .uh-long-card-flow-media img {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.uh-long-card-flow.uh-award-card .uh-long-card-flow-media img {
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .uh-long-card-flow {
    padding: clamp(20px, 3vw, 26px);
  }

  .uh-long-card-flow-content {
    display: flow-root !important;
  }

  .wp-block-image.uh-long-card-flow-media {
    float: left !important;
    width: clamp(150px, 24vw, 220px);
    margin: 0 clamp(20px, 3vw, 28px) 12px 0 !important;
  }

  .uh-long-card-flow-content > .uh-kicker-card,
  .uh-long-card-flow-content > .wp-block-heading,
  .uh-long-card-flow-content > .uh-lead-card {
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .uh-long-card-flow-content > .uh-kicker-card {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none;
  }

  .uh-long-card-flow-content > .wp-block-heading {
    margin-top: 0 !important;
  }

  .uh-long-card-flow-content > .uh-lead-card {
    margin-top: 12px !important;
  }
}

@media (max-width: 560px) {
  .uh-long-card-flow {
    padding: clamp(16px, 4vw, 22px);
  }

  .wp-block-image.uh-long-card-flow-media {
    width: clamp(88px, 28vw, 126px);
    margin-right: clamp(12px, 3.5vw, 14px) !important;
  }
}

.uh-letter-block {
  padding-block: clamp(82px, 7.6vw, 126px);
}

.uh-letter-content {
  max-width: 820px;
  margin: 0;
  padding-left: clamp(22px, 3vw, 36px);
  border-left: 3px solid rgba(var(--uh-accent-rgb), 0.28);
  text-align: left;
}

.uh-letter-content::before {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  margin-bottom: clamp(22px, 2.8vw, 34px);
  background: rgba(var(--uh-accent-rgb), 0.26);
}

.uh-letter-content :where(.uh-kicker-section, h2, .uh-lead-section, p) {
  text-align: left !important;
}

.uh-gallery-block {
  padding-block: clamp(74px, 7vw, 116px);
}

/* Обычная Gutenberg-галерея: спокойная сетка по умолчанию. Специальный
   блок uyut-history/gallery остаётся отдельным презентационным слайдером. */
.uh-content-section .wp-block-gallery:not(.swiper),
.entry-content .wp-block-gallery:not(.swiper) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.8vw, 20px) !important;
  align-items: start;
}

.uh-content-section .wp-block-gallery:not(.swiper) > .wp-block-image,
.entry-content .wp-block-gallery:not(.swiper) > .wp-block-image {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  margin: 0 !important;
}

.uh-content-section .wp-block-gallery:not(.swiper) > .wp-block-image img,
.entry-content .wp-block-gallery:not(.swiper) > .wp-block-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--uh-radius-media);
  box-shadow: var(--uh-media-shadow);
}

.uh-content-section .wp-block-gallery:not(.swiper) > .wp-block-image figcaption,
.entry-content .wp-block-gallery:not(.swiper) > .wp-block-image figcaption {
  position: static !important;
  width: 100%;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.uh-news-single-copy .wp-block-gallery .wp-block-image figcaption,
.uh-news-single-copy .wp-block-gallery .blocks-gallery-item figcaption {
  font-family: var(--uh-font-body) !important;
  font-size: 17px !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.42 !important;
}

@media (max-width: 560px) {
  .uh-content-section .wp-block-gallery:not(.swiper),
  .entry-content .wp-block-gallery:not(.swiper) {
    grid-template-columns: 1fr !important;
  }
}

/* Нативный лайтбокс WordPress находится внутри изображения, а галерея —
   внутри Swiper. Пока лайтбокс открыт, убираем у его предков transform и
   ограничения стека: иначе position: fixed привязывается к слайдеру и
   следующая секция перекрывает нижнюю часть полноэкранного слоя. */
.uh-content-section:has(.wp-lightbox-overlay.active) {
  z-index: 2147483000 !important;
  isolation: auto !important;
  overflow: visible !important;
}

.uh-content-section:has(.wp-lightbox-overlay.active)
  :where(
    .uh-content-inner,
    .uh-gallery-block,
    .uh-gallery-slider,
    .swiper,
    .swiper-wrapper,
    .swiper-slide,
    .wp-block-image.uh-gallery-media
  ) {
  overflow: visible !important;
  contain: none !important;
  perspective: none !important;
  filter: none !important;
  transform: none !important;
  will-change: auto !important;
}

.uh-content-section:has(.wp-lightbox-overlay.active) .wp-lightbox-overlay.active {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 2147483647 !important;
  background: rgba(35, 31, 28, 0.72) !important;
  backdrop-filter: blur(1.5px);
}

/* Единый более лёгкий фон нативного лайтбокса WordPress — также для
   фотогалерей вне специальных секций. */
.wp-lightbox-overlay.active,
.wp-lightbox-overlay.show-closing-animation {
  background: rgba(35, 31, 28, 0.72) !important;
  backdrop-filter: blur(1.5px);
}

.wp-lightbox-overlay :is(.scrim, .wp-lightbox-overlay__scrim) {
  background: transparent !important;
}

.uh-gallery-item {
  height: 100%;
}

.wp-block-image.uh-gallery-media {
  width: 100%;
  margin: 0;
}

.wp-block-image.uh-gallery-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--uh-radius-media);
  box-shadow: var(--uh-media-shadow);
}

.uh-gallery-caption {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--uh-muted);
  font-family: var(--uh-font-body);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.uh-contact-block {
  padding-block: clamp(82px, 7.4vw, 124px);
}

.wp-block-columns.uh-contact-columns {
  align-items: flex-start;
}

.uh-contact-form-col {
  flex-basis: 58% !important;
}

.uh-contact-info-col {
  flex-basis: 42% !important;
}

.uh-contact-form,
.uh-contact-info {
  margin: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.uh-contact-info {
  padding-left: clamp(26px, 3.4vw, 46px);
  border-left: 1px solid rgba(221, 210, 194, 0.70);
}

.uh-form-demo {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 620px;
}

.uh-form-field-demo {
  min-height: 54px;
  margin: 12px 0 0;
  padding: 15px 18px;
  color: var(--uh-muted);
  border: 1px solid rgba(221, 210, 194, 0.82);
  border-radius: var(--uh-radius-small);
  background: rgba(255,255,255,0.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.46);
}

.uh-form-field-demo-textarea {
  min-height: 138px;
}

.uh-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 2.8vw, 34px);
}

.uh-social-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--uh-heading);
  font-family: "Philosopher", serif;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid rgba(221, 210, 194, 0.72);
  border-radius: 999px;
  background: rgba(255,255,255,0.46);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.uh-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.70);
  border-color: rgba(var(--uh-accent-rgb), 0.24);
}


/* Страница «Контакты»: круглые медальоны социальных сетей. */
.uh-social-medallions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(10px, 1.2vw, 16px) !important;
  width: 100%;
  margin-top: clamp(24px, 3vw, 36px) !important;
}

.uh-social-medallion {
  flex: 0 0 auto;
  width: clamp(64px, 5.2vw, 82px);
  margin: 0 !important;
}

/* На двухколоночном десктопе все пять медальонов всегда остаются
   в одной строке и при необходимости равномерно уменьшаются. */
@media (min-width: 1025px) {
  .uh-social-medallions {
    flex-wrap: nowrap !important;
    gap: clamp(8px, 0.75vw, 12px) !important;
  }

  .uh-social-medallion {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 72px;
  }
}

.uh-social-medallion > a {
  display: block;
  width: 100%;
  border-radius: 50%;
  line-height: 0;
  text-decoration: none !important;
  transition: transform 180ms ease, filter 180ms ease;
}

.uh-social-medallion img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.uh-social-medallion > a:hover,
.uh-social-medallion > a:focus-visible {
  transform: translateY(-3px) scale(1.025);
  filter: brightness(1.035) saturate(1.02);
}

.uh-social-medallion > a:focus-visible {
  outline: 2px solid rgba(var(--uh-accent-rgb), 0.42);
  outline-offset: 4px;
}

@media (max-width: 689px) {
  .uh-social-medallions {
    gap: 10px !important;
  }

  .uh-social-medallion {
    width: clamp(58px, 17vw, 70px);
  }
}

@media (max-width: 1024px) {
  .wp-block-columns.uh-contact-columns {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    row-gap: clamp(42px, 5vw, 58px) !important;
  }

  .wp-block-columns.uh-contact-columns > .uh-contact-form-col,
  .wp-block-columns.uh-contact-columns > .uh-contact-info-col {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 1024px) {
  .uh-content-section {
    padding-block: clamp(64px, 7vw, 92px);
  }

  .wp-block-columns.uh-card-columns {
    flex-wrap: wrap !important;
  }

  .wp-block-columns.uh-card-columns > .wp-block-column {
    flex-basis: calc(50% - 16px) !important;
  }

  .wp-block-columns.uh-book-card-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(44px, 5vw, 62px) clamp(36px, 4.5vw, 48px) !important;
  }

  .wp-block-columns.uh-book-card-columns > .wp-block-column {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section {
    padding-inline: clamp(20px, 5vw, 34px);
  }

  .wp-block-columns.uh-content-columns {
    flex-wrap: wrap !important;
  }

  .wp-block-columns.uh-content-columns > .wp-block-column,
  .uh-start-columns > .uh-content-media-col,
  .uh-start-columns > .uh-content-text-col,
  .wp-block-columns.uh-card-columns > .wp-block-column,
  .uh-long-card-media-col,
  .uh-long-card-text-col,
  .uh-contact-form-col,
  .uh-contact-info-col {
    flex-basis: 100% !important;
  }

  .wp-block-columns.uh-media-right > .uh-content-media-col {
    order: -1;
  }

  .uh-content-head,
  .uh-start-content {
    max-width: none;
  }

  .wp-block-image.uh-start-media {
    width: min(100%, 360px);
  }

  .wp-block-image.uh-long-card-media {
    width: min(100%, 180px);
    margin-inline: 0;
  }

  .uh-contact-info {
    padding-top: clamp(24px, 4vw, 34px);
    border-top: 1px solid rgba(221, 210, 194, 0.70);
  }

  .uh-content-section[class*="uh-ill-"]::before {
    background-position: right -120px bottom 6%;
    background-size: 330px auto;
    opacity: calc(var(--uh-ill-opacity, 0.20) * 0.62);
  }
}

@media (max-width: 480px) {
  .uh-content-section {
    padding-inline: 20px;
  }

  .uh-content-card,
  .wp-block-columns.uh-long-card {
    border-radius: 24px;
  }

  .uh-card-content,
  .wp-block-columns.uh-long-card {
    padding: 24px;
  }

  .uh-letter-content {
    padding-left: 20px;
  }
}

@media (max-width: 689px) {
  .wp-block-columns.uh-book-card-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(48px, 10vw, 64px) !important;
  }

  .wp-block-columns.uh-book-card-columns > .wp-block-column {
    width: 100% !important;
    max-width: 360px !important;
    margin-inline: auto !important;
  }

  .wp-block-image.uh-book-card-cover {
    width: min(100%, 280px);
  }

  .uh-book-card {
    max-width: 360px;
    margin-inline: auto;
  }

  .uh-book-card-content {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 689px) {
  .wp-block-button > .wp-block-button__link::before,
  .wp-block-button > .wp-element-button::before,
  .wp-element-button::before {
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
  }
}

.uh-content-section[class*="uh-ill-"]::before {
  background-size: min(45vw, 620px) auto;
  opacity: var(--uh-ill-opacity, 0.24);
  filter: saturate(1.06) contrast(1.05);
}

.uh-start-content.uh-title-stack > .wp-block-heading + .uh-lead-section {
  margin-top: var(--uh-lead-hero-offset);
}

.uh-start-content .uh-content-actions {
  margin-top: 40px;
}

.uh-start-content.uh-title-stack > .uh-kicker-section + .wp-block-heading {
  margin-top: 26px;
}

@media (max-width: 689px) {
  .uh-start-content.uh-title-stack > .wp-block-heading + .uh-lead-section {
    margin-top: 22px;
  }

  .uh-start-content .uh-content-actions {
    margin-top: 32px;
  }
}

.uh-content-head {
  width: 100%;
  padding-inline: 0;
}

.uh-content-head,.uh-content-head .uh-lead-section,.uh-content-head.uh-title-stack > .uh-lead-section {
  max-width: none;
}

.uh-content-card {
  box-shadow:
    0 16px 34px rgba(47, 41, 37, 0.070),
    inset 0 1px 0 rgba(255,255,255,0.42);
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 310px);
  margin: 0 0 clamp(22px, 2.6vw, 32px);
}

.wp-block-image.uh-book-card-cover img {
  filter: none;
}

.wp-block-image.uh-long-card-media img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(47, 41, 37, 0.11));
}

.uh-letter-content::before {
  display: none;
}

.uh-letter-content {
  border-left-width: 3px;
}

.uh-contact-info {
  padding-left: clamp(22px, 3vw, 36px);
  border-left: 3px solid rgba(var(--uh-people-rgb), 0.28);
}

@media (max-width: 781px) {
  .uh-contact-info {
    padding-left: 0;
    padding-top: clamp(22px, 3vw, 34px);
    border-left: 0;
    border-top: 3px solid rgba(var(--uh-people-rgb), 0.28);
  }
}

.uh-title-stack > .uh-kicker-section + .wp-block-heading {
  margin-top: 30px;
}

.uh-title-stack > .uh-kicker-card + .wp-block-heading {
  margin-top: 26px;
}

@media (max-width: 689px) {
  .uh-title-stack > .uh-kicker-section + .wp-block-heading {
    margin-top: 22px;
  }

  .uh-title-stack > .uh-kicker-card + .wp-block-heading {
    margin-top: 18px;
  }
}

.wp-block-image.uh-start-media-book-single {
  width: min(100%, 560px);
}

.wp-block-image.uh-start-media-book-single img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 24px 34px rgba(47, 41, 37, 0.18));
}

@media (max-width: 781px) {
  .wp-block-image.uh-start-media-book-single {
    width: min(100%, 440px);
  }
}

.uh-book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 330px);
  margin: 0 auto clamp(22px, 2.6vw, 32px);
}

.wp-block-image.uh-book-card-cover img {
  filter: drop-shadow(0 24px 30px rgba(47, 41, 37, 0.18));
}

.uh-book-card-content {
  align-items: center;
  text-align: center;
}

.uh-book-card-content :where(.uh-kicker-card, h3, h5, .uh-lead-card, p) {
  text-align: center !important;
}

.uh-content-card {
  border-color: rgba(221, 210, 194, 0.76);
  box-shadow:
    0 18px 34px rgba(47, 41, 37, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.uh-hero-actions,
.wp-block-buttons.uh-content-actions {
  gap: var(--uh-actions-gap-desktop) !important;
}

.wp-block-buttons.uh-content-actions {
  margin-top: 40px;
}

@media (max-width: 1024px) and (min-width: 690px) {
  .uh-hero-actions,
  .wp-block-buttons.uh-content-actions {
    gap: var(--uh-actions-gap-tablet) !important;
  }

  .wp-block-buttons.uh-content-actions {
    margin-top: 34px;
  }
}

@media (max-width: 689px) {
  .uh-hero-actions,
  .wp-block-buttons.uh-content-actions {
    gap: var(--uh-actions-gap-mobile) !important;
  }

  .wp-block-buttons.uh-content-actions {
    margin-top: 30px;
  }
}

.uh-start-book-block .uh-start-columns > .uh-content-media-col,.uh-start-book-block .uh-start-columns > .uh-content-text-col {
  flex-basis: 50% !important;
}

.wp-block-image.uh-start-media-book-single {
  width: min(100%, 760px);
  margin: 0 auto;
}

.wp-block-image.uh-start-media-book-single img {
  filter: drop-shadow(0 30px 40px rgba(47, 41, 37, 0.20));
}

@media (max-width: 1024px) {
  .wp-block-image.uh-start-media-book-single {
    width: min(100%, 620px);
  }
}

@media (max-width: 781px) {
  .wp-block-image.uh-start-media-book-single {
    width: min(100%, 470px);
  }
}

.uh-content-card {
  background-color: #fffdf9;
  box-shadow:
    0 18px 36px rgba(47, 41, 37, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 305px);
}

.wp-block-image.uh-book-card-cover img {
  filter: drop-shadow(0 18px 24px rgba(47, 41, 37, 0.125));
}

.uh-book-card-content .uh-kicker-card {
  margin-left: auto;
  margin-right: auto;
}

.uh-long-card.uh-award-card .uh-long-card-media {
  width: min(100%, 155px);
}

.uh-long-card.uh-award-card .uh-long-card-media img {
  filter: drop-shadow(0 16px 20px rgba(var(--uh-royal-rgb), 0.18));
}

.uh-contact-info {
  padding-left: 0;
  border-left: 0;
}

.uh-contact-info::before {
  display: none;
}

.uh-start-book-block .uh-start-columns > .uh-content-media-col {
  flex-basis: 58% !important;
}

.uh-start-book-block .uh-start-columns > .uh-content-text-col {
  flex-basis: 42% !important;
}

.wp-block-image.uh-start-media-book-single {
  width: min(100%, 980px);
}

.wp-block-image.uh-start-media-book-single img {
  filter: drop-shadow(0 34px 46px rgba(47, 41, 37, 0.22));
}

@media (max-width: 1180px) {
}

@media (max-width: 781px) {

  .wp-block-image.uh-start-media-book-single {
    width: min(100%, 560px);
  }
}

@media (max-width: 540px) {
}

.uh-book-card-block,
.uh-book-card-block .uh-content-inner,
.uh-book-card-columns,
.uh-book-card-col,
.uh-book-card {
  overflow: visible !important;
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 282px);
  padding-bottom: 18px;
  margin-bottom: clamp(12px, 1.8vw, 22px);
}

.wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 20px 18px rgba(47, 41, 37, 0.12))
    drop-shadow(0 4px 10px rgba(47, 41, 37, 0.08));
}

.uh-contact-form,
.uh-contact-info {
  padding-top: 0 !important;
}

.uh-contact-info .uh-title-stack,.uh-contact-form .uh-title-stack,.uh-contact-info .uh-kicker-section,.uh-contact-form .uh-kicker-section {
  margin-top: 0 !important;
}

.uh-content-card {
  border-color: rgba(221, 210, 194, 0.62);
  box-shadow:
    0 18px 38px rgba(47, 41, 37, 0.072),
    inset 0 1px 0 rgba(255, 255, 255, 0.60);
}
.wp-block-image.uh-start-media-book-single {
  width: min(100%, 820px);
  transform: scale(1.16);
}

.wp-block-image.uh-start-media-book-single img {
  transform: none;
  filter: drop-shadow(0 32px 44px rgba(47, 41, 37, 0.20));
}

@media (max-width: 1180px) {
  .wp-block-image.uh-start-media-book-single {
    transform: scale(1.10);
  }
}

@media (max-width: 781px) {

  .wp-block-image.uh-start-media-book-single {
    width: min(100%, 520px);
  }
}

.uh-book-card-content.uh-title-stack,
.uh-book-card-content {
  align-items: center !important;
  text-align: center !important;
}

.uh-book-card-content > .uh-kicker-card,
.uh-book-card-content .uh-kicker-card {
  align-self: center !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 260px);
  padding-bottom: 30px;
  margin-bottom: clamp(8px, 1.4vw, 18px);
  overflow: visible !important;
}

.wp-block-image.uh-book-card-cover img {
  border-radius: 0;
  filter:
    drop-shadow(0 22px 22px rgba(47, 41, 37, 0.13))
    drop-shadow(0 8px 16px rgba(47, 41, 37, 0.08));
}

.uh-content-card {
  border-color: rgba(221, 210, 194, 0.70);
  box-shadow:
    0 20px 40px rgba(47, 41, 37, 0.085),
    inset 0 1px 0 rgba(255,255,255,0.62);
}

.uh-start-book-block .uh-start-columns > .uh-content-media-col {
  flex-basis: 44% !important;
}

.uh-start-book-block .uh-start-columns > .uh-content-text-col {
  flex-basis: 54% !important;
}
.wp-block-image.uh-start-media-book-single {
  width: min(100%, 900px);
  max-width: none;
  overflow: visible !important;
  transform: scale(1.22);
}

.wp-block-image.uh-start-media-book-single img {
  filter: drop-shadow(0 34px 46px rgba(47, 41, 37, 0.21));
}

@media (max-width: 781px) {
  .uh-start-book-block .uh-start-columns > .uh-content-media-col,
  .uh-start-book-block .uh-start-columns > .uh-content-text-col {
    flex-basis: 100% !important;
  }

  .wp-block-image.uh-start-media-book-single {
    width: min(100%, 540px);
  }
}

.uh-content-card {
  border-color: rgba(221, 210, 194, 0.72);
  box-shadow:
    0 22px 44px rgba(47, 41, 37, 0.092),
    inset 0 1px 0 rgba(255,255,255,0.64);
}
.uh-title-stack > .uh-kicker-section + .wp-block-heading,
.uh-start-content.uh-title-stack > .uh-kicker-section + .wp-block-heading,
.uh-content-head.uh-title-stack > .uh-kicker-section + .wp-block-heading,
.uh-letter-content.uh-title-stack > .uh-kicker-section + .wp-block-heading,
.uh-contact-form .uh-title-stack > .uh-kicker-section + .wp-block-heading,
.uh-contact-info .uh-title-stack > .uh-kicker-section + .wp-block-heading {
  margin-top: var(--uh-section-kicker-title-gap) !important;
}
.uh-title-stack > .wp-block-heading + .uh-lead-section,.uh-start-content.uh-title-stack > .wp-block-heading + .uh-lead-section,.uh-content-head.uh-title-stack > .wp-block-heading + .uh-lead-section,.uh-letter-content.uh-title-stack > .wp-block-heading + .uh-lead-section,.uh-contact-form .uh-title-stack > .wp-block-heading + .uh-lead-section,.uh-contact-info .uh-title-stack > .wp-block-heading + .uh-lead-section,.uh-title-stack > .uh-lead-section {
  margin-top: var(--uh-section-title-lead-gap) !important;
}

@media (max-width: 689px) {
  .uh-title-stack > .uh-kicker-section + .wp-block-heading,
  .uh-start-content.uh-title-stack > .uh-kicker-section + .wp-block-heading,
  .uh-content-head.uh-title-stack > .uh-kicker-section + .wp-block-heading,
  .uh-letter-content.uh-title-stack > .uh-kicker-section + .wp-block-heading,
  .uh-contact-form .uh-title-stack > .uh-kicker-section + .wp-block-heading,
  .uh-contact-info .uh-title-stack > .uh-kicker-section + .wp-block-heading {
    margin-top: var(--uh-section-kicker-title-gap-mobile) !important;
  }

  .uh-title-stack > .wp-block-heading + .uh-lead-section,
  .uh-start-content.uh-title-stack > .wp-block-heading + .uh-lead-section,
  .uh-content-head.uh-title-stack > .wp-block-heading + .uh-lead-section,
  .uh-letter-content.uh-title-stack > .wp-block-heading + .uh-lead-section,
  .uh-contact-form .uh-title-stack > .wp-block-heading + .uh-lead-section,
  .uh-contact-info .uh-title-stack > .wp-block-heading + .uh-lead-section,
  .uh-title-stack > .uh-lead-section {
    margin-top: var(--uh-section-title-lead-gap-mobile) !important;
  }
}
.wp-block-image.uh-start-media-book-single {
  transform: translateX(var(--uh-book-single-shift-x)) scale(1.22);
  transform-origin: center center;
  position: relative;
  z-index: 2;
}
.uh-start-book-block .uh-content-media-col {
  overflow: visible !important;
}

@media (max-width: 781px) {
  .wp-block-image.uh-start-media-book-single {
    transform: none;
  }
}

.uh-content-card {
  border-color: rgba(221, 210, 194, 0.66);
  box-shadow:
    0 22px 42px rgba(47, 41, 37, 0.078),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 286px);
  padding-bottom: 28px;
}

.uh-content-card {
  border-color: rgba(221, 210, 194, 0.68);
  box-shadow:
    0 22px 44px rgba(47, 41, 37, 0.082),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

.wp-block-image.uh-book-card-cover {
  width: min(100%, 296px);
  padding-bottom: 20px;
  margin-bottom: 2px;
}

.wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 23px 24px rgba(47, 41, 37, 0.135))
    drop-shadow(0 8px 16px rgba(47, 41, 37, 0.075));
}
.uh-gallery-slider {
  --wp--custom--carousel-block--navigation-color: var(--uh-people);
  --wp--custom--carousel-block--navigation-hover-color: var(--uh-cozy);
  --wp--custom--carousel-block--pagination-bullet-active-color: var(--uh-cozy);
  --wp--custom--carousel-block--pagination-bullet-inactive-color: var(--uh-border);
  --wp--custom--carousel-block--pagination-bullet-inactive-hover-color: var(--uh-people);
  --wp--custom--carousel-block--pagination-bullet-active-opacity: 0.96;
  --wp--custom--carousel-block--pagination-bullet-inactive-opacity: 0.70;
  --wp--custom--carousel-block--pagination-bullet-inactive-hover-opacity: 0.90;
}

.uh-gallery-caption {
  font-style: italic;
}
.uh-book-card .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 22px rgba(var(--uh-cozy-rgb), 0.115));
}
.uh-book-card:has(.uh-tone-cozy) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 24px rgba(var(--uh-cozy-rgb), 0.155));
}

.uh-book-card:has(.uh-tone-romanovs) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 25px rgba(var(--uh-romanovs-rgb), 0.165));
}

.uh-book-card:has(.uh-tone-voice) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 25px rgba(var(--uh-voice-rgb), 0.165));
}

.uh-book-card:has(.uh-tone-royal) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 24px rgba(var(--uh-royal-rgb), 0.150));
}

.uh-book-card:has(.uh-tone-international) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 24px rgba(var(--uh-international-rgb), 0.155));
}

.uh-book-card:has(.uh-tone-choice) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 22px rgba(var(--uh-choice-rgb), 0.135));
}

.uh-book-card:has(.uh-tone-new) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 24px 24px rgba(47, 41, 37, 0.115))
    drop-shadow(0 10px 18px rgba(47, 41, 37, 0.070))
    drop-shadow(0 0 24px rgba(var(--uh-new-rgb), 0.165));
}

.uh-book-card .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 34px rgba(var(--uh-cozy-rgb), 0.190))
    drop-shadow(0 0 34px rgba(var(--uh-cozy-rgb), 0.170));
}

.uh-book-card:has(.uh-tone-cozy) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 36px rgba(var(--uh-cozy-rgb), 0.245))
    drop-shadow(0 0 36px rgba(var(--uh-cozy-rgb), 0.215));
}

.uh-book-card:has(.uh-tone-romanovs) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 36px rgba(var(--uh-romanovs-rgb), 0.255))
    drop-shadow(0 0 36px rgba(var(--uh-romanovs-rgb), 0.225));
}

.uh-book-card:has(.uh-tone-voice) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 36px rgba(var(--uh-voice-rgb), 0.255))
    drop-shadow(0 0 36px rgba(var(--uh-voice-rgb), 0.225));
}

.uh-book-card:has(.uh-tone-royal) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 36px rgba(var(--uh-royal-rgb), 0.235))
    drop-shadow(0 0 36px rgba(var(--uh-royal-rgb), 0.205));
}

.uh-book-card:has(.uh-tone-international) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 36px rgba(var(--uh-international-rgb), 0.245))
    drop-shadow(0 0 36px rgba(var(--uh-international-rgb), 0.215));
}

.uh-book-card:has(.uh-tone-choice) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 34px rgba(var(--uh-choice-rgb), 0.210))
    drop-shadow(0 0 34px rgba(var(--uh-choice-rgb), 0.185));
}

.uh-book-card:has(.uh-tone-new) .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 26px 26px rgba(47, 41, 37, 0.125))
    drop-shadow(0 12px 20px rgba(47, 41, 37, 0.080))
    drop-shadow(0 12px 36px rgba(var(--uh-new-rgb), 0.255))
    drop-shadow(0 0 36px rgba(var(--uh-new-rgb), 0.225));
}
.uh-book-card .wp-block-image.uh-book-card-cover::before {
  z-index: -1;
  left: 10%;
  right: 10%;
  top: 18%;
  height: 72%;
  border-radius: 46% 54% 50% 50%;
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-cozy-rgb), 0.22),
      rgba(var(--uh-cozy-rgb), 0.10) 48%,
      rgba(var(--uh-cozy-rgb), 0) 76%);
  filter: blur(18px);
  transform: translateY(8px);
}
.uh-book-card .wp-block-image.uh-book-card-cover::after {
  z-index: -1;
  bottom: 16px;
  height: 28px;
  background: rgba(47, 41, 37, 0.105);
  filter: blur(12px);
}
.uh-book-card .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 18px 18px rgba(47, 41, 37, 0.105))
    drop-shadow(0 7px 12px rgba(47, 41, 37, 0.060));
}

.uh-book-card:has(.uh-tone-cozy) .wp-block-image.uh-book-card-cover::before {
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-cozy-rgb), 0.25),
      rgba(var(--uh-cozy-rgb), 0.11) 48%,
      rgba(var(--uh-cozy-rgb), 0) 76%);
}

.uh-book-card:has(.uh-tone-romanovs) .wp-block-image.uh-book-card-cover::before {
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-romanovs-rgb), 0.27),
      rgba(var(--uh-romanovs-rgb), 0.12) 48%,
      rgba(var(--uh-romanovs-rgb), 0) 76%);
}

.uh-book-card:has(.uh-tone-voice) .wp-block-image.uh-book-card-cover::before {
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-voice-rgb), 0.27),
      rgba(var(--uh-voice-rgb), 0.12) 48%,
      rgba(var(--uh-voice-rgb), 0) 76%);
}

.uh-book-card:has(.uh-tone-royal) .wp-block-image.uh-book-card-cover::before {
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-royal-rgb), 0.25),
      rgba(var(--uh-royal-rgb), 0.11) 48%,
      rgba(var(--uh-royal-rgb), 0) 76%);
}

.uh-book-card:has(.uh-tone-international) .wp-block-image.uh-book-card-cover::before {
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-international-rgb), 0.25),
      rgba(var(--uh-international-rgb), 0.11) 48%,
      rgba(var(--uh-international-rgb), 0) 76%);
}

.uh-book-card:has(.uh-tone-choice) .wp-block-image.uh-book-card-cover::before {
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-choice-rgb), 0.20),
      rgba(var(--uh-choice-rgb), 0.09) 48%,
      rgba(var(--uh-choice-rgb), 0) 76%);
}

.uh-book-card:has(.uh-tone-new) .wp-block-image.uh-book-card-cover::before {
  background:
    radial-gradient(closest-side at 50% 52%,
      rgba(var(--uh-new-rgb), 0.27),
      rgba(var(--uh-new-rgb), 0.12) 48%,
      rgba(var(--uh-new-rgb), 0) 76%);
}
.uh-book-card {
  --uh-book-cover-glow-alpha: 0.18;
}

.uh-book-card:has(.uh-tone-cozy) { --uh-book-cover-glow-alpha: 0.19; }
.uh-book-card:has(.uh-tone-romanovs) { --uh-book-cover-glow-alpha: 0.19; }
.uh-book-card:has(.uh-tone-voice) { --uh-book-cover-glow-alpha: 0.19; }
.uh-book-card:has(.uh-tone-royal) { --uh-book-cover-glow-alpha: 0.18; }
.uh-book-card:has(.uh-tone-international) { --uh-book-cover-glow-alpha: 0.18; }
.uh-book-card:has(.uh-tone-choice) { --uh-book-cover-glow-alpha: 0.14; }
.uh-book-card:has(.uh-tone-new) { --uh-book-cover-glow-alpha: 0.19; }

.uh-book-card .wp-block-image.uh-book-card-cover {
  padding-bottom: 22px;
}

.uh-book-card .wp-block-image.uh-book-card-cover::before {
  left: 12%;
  right: 12%;
  top: 17%;
  bottom: 22%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(var(--uh-book-cover-glow), var(--uh-book-cover-glow-alpha)) 0%,
      rgba(var(--uh-book-cover-glow), calc(var(--uh-book-cover-glow-alpha) * 0.48)) 43%,
      rgba(var(--uh-book-cover-glow), 0) 76%) !important;
  filter: blur(16px);
  transform: translate3d(0, 6px, 0);
}
.uh-book-card .wp-block-image.uh-book-card-cover::after {
  bottom: 20px;
  height: 18px;
  background: rgba(47, 41, 37, 0.095);
  filter: blur(9px);
}

.uh-book-card .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 16px 16px rgba(47, 41, 37, 0.105))
    drop-shadow(0 6px 10px rgba(47, 41, 37, 0.058)) !important;
}
.uh-start-book-line {
  margin: clamp(14px, 1.35vw, 19px) 0 0 !important;
  padding-left: 1.32em;
}

.uh-start-book-line::before {
  top: 0.08em;
  font-size: 0.78em;
}

.uh-start-book-line strong,
.uh-start-book-line b {
  color: currentColor !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.uh-start-book-list-desc {
  color: var(--uh-body);
}

.uh-book-card {
  --uh-book-cover-glow-alpha: 0.22;
}
.uh-book-card:has(.uh-tone-cozy) { --uh-book-cover-glow-alpha: 0.24; }
.uh-book-card:has(.uh-tone-romanovs) { --uh-book-cover-glow-alpha: 0.24; }
.uh-book-card:has(.uh-tone-voice) { --uh-book-cover-glow-alpha: 0.24; }
.uh-book-card:has(.uh-tone-royal) { --uh-book-cover-glow-alpha: 0.22; }
.uh-book-card:has(.uh-tone-international) { --uh-book-cover-glow-alpha: 0.22; }
.uh-book-card:has(.uh-tone-choice) { --uh-book-cover-glow-alpha: 0.17; }
.uh-book-card:has(.uh-tone-new) { --uh-book-cover-glow-alpha: 0.24; }
.uh-book-card .wp-block-image.uh-book-card-cover::before {

  left: -12%;
  right: -12%;
  top: 7%;
  bottom: 8%;

  border-radius: 46% 54% 52% 48%;
  background:
    radial-gradient(ellipse at 50% 54%,
      rgba(var(--uh-book-cover-glow), var(--uh-book-cover-glow-alpha)) 0%,
      rgba(var(--uh-book-cover-glow), calc(var(--uh-book-cover-glow-alpha) * 0.58)) 38%,
      rgba(var(--uh-book-cover-glow), calc(var(--uh-book-cover-glow-alpha) * 0.22)) 58%,
      rgba(var(--uh-book-cover-glow), 0) 78%) !important;
  filter: blur(20px);
  transform: translate3d(0, 8px, 0) scaleX(1.02);
}
.uh-book-card .wp-block-image.uh-book-card-cover::after {

  left: 18%;
  right: 18%;
  bottom: 15px;
  height: 22px;
  background: rgba(47, 41, 37, 0.115);
}

.uh-book-card .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 18px 17px rgba(47, 41, 37, 0.110))
    drop-shadow(0 7px 11px rgba(47, 41, 37, 0.062)) !important;
}

.uh-start-book-line {
  position: relative;
  margin: clamp(13px, 1.25vw, 18px) 0 0 !important;
  padding-left: 1.03em !important;

  color: var(--uh-body);
  font-family: "Gentium Book Plus", serif;
  font-size: var(--uh-font-lead-section);
  font-weight: 400;
  line-height: var(--uh-lead-line-height);
}

.uh-start-book-line::before {
  content: "✦";
  position: absolute;
  top: 0.36em;

  color: currentColor;
  font-family: "Philosopher", serif;
  font-size: 0.64em;
  line-height: 1;
}

.uh-start-book-line a,
.uh-start-book-line strong,
.uh-start-book-line b {
  color: currentColor !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.uh-start-book-line a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.17em;
}

.uh-start-book-line a:hover {
  text-decoration: underline;
}

.uh-start-book-line.uh-book-list-cozy {
  color: var(--uh-cozy);
}

.uh-start-book-line.uh-book-list-romanovs {
  color: var(--uh-romanovs);
}

.uh-start-book-line.uh-book-list-voice {
  color: var(--uh-voice);
}

.uh-start-book-line .uh-start-book-list-desc {
  color: var(--uh-body);
}
.uh-book-card,
.uh-book-card-col,
.uh-book-card-block .wp-block-column,
.uh-book-card-block .wp-block-columns {
  overflow: visible !important;
}

.uh-book-card {
  --uh-book-cover-glow: var(--uh-cozy-rgb);
  --uh-book-cover-glow-alpha: 0.24;
}

.uh-book-card:has(.uh-tone-cozy) { --uh-book-cover-glow: var(--uh-cozy-rgb); --uh-book-cover-glow-alpha: 0.27; }
.uh-book-card:has(.uh-tone-romanovs) { --uh-book-cover-glow: var(--uh-romanovs-rgb); --uh-book-cover-glow-alpha: 0.27; }
.uh-book-card:has(.uh-tone-voice) { --uh-book-cover-glow: var(--uh-voice-rgb); --uh-book-cover-glow-alpha: 0.27; }
.uh-book-card:has(.uh-tone-royal) { --uh-book-cover-glow: var(--uh-royal-rgb); --uh-book-cover-glow-alpha: 0.24; }
.uh-book-card:has(.uh-tone-international) { --uh-book-cover-glow: var(--uh-international-rgb); --uh-book-cover-glow-alpha: 0.25; }
.uh-book-card:has(.uh-tone-choice) { --uh-book-cover-glow: var(--uh-choice-rgb); --uh-book-cover-glow-alpha: 0.19; }
.uh-book-card:has(.uh-tone-new) { --uh-book-cover-glow: var(--uh-new-rgb); --uh-book-cover-glow-alpha: 0.27; }

.uh-book-card::before {

  left: 7%;
  right: 7%;
  top: clamp(28px, 3vw, 44px);
  height: clamp(260px, 26vw, 390px);

  border-radius: 48% 52% 54% 46%;
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(var(--uh-book-cover-glow), var(--uh-book-cover-glow-alpha)) 0%,
      rgba(var(--uh-book-cover-glow), calc(var(--uh-book-cover-glow-alpha) * 0.66)) 34%,
      rgba(var(--uh-book-cover-glow), calc(var(--uh-book-cover-glow-alpha) * 0.28)) 56%,
      rgba(var(--uh-book-cover-glow), 0) 78%);
  filter: blur(20px);
  transform: translateY(14px);
}
.uh-book-card::before,.uh-book-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.uh-book-card::after {

  left: 25%;
  right: 25%;
  top: clamp(350px, 34vw, 450px);
  height: 32px;

  border-radius: 999px;
  background: rgba(47, 41, 37, 0.145);
  filter: blur(13px);
}

.uh-book-card > * {
  position: relative;
  z-index: 1;
}
.uh-book-card .wp-block-image.uh-book-card-cover::before,
.uh-book-card .wp-block-image.uh-book-card-cover::after {
  display: none !important;
}

.uh-book-card .wp-block-image.uh-book-card-cover {
  isolation: auto;
  overflow: visible !important;
}

.uh-book-card .wp-block-image.uh-book-card-cover img {
  filter:
    drop-shadow(0 20px 18px rgba(47, 41, 37, 0.120))
    drop-shadow(0 7px 11px rgba(47, 41, 37, 0.065)) !important;
}

@media (max-width: 781px) {
  .uh-book-card::before {
    left: 13%;
    right: 13%;
    top: 24px;
    height: 300px;
    opacity: 0.85;
  }

  .uh-book-card::after {
    top: 300px;
    left: 30%;
    right: 30%;
  }
}

.uh-start-book-line {
  padding-left: 0.88em !important;
}

.uh-start-book-line::before {
  left: 0;
  top: 0.62em !important;
  font-size: 0.58em;
}

.uh-start-book-line a,
.uh-start-book-line .uh-start-book-link {
  color: currentColor !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.uh-start-book-line a:hover,
.uh-start-book-line .uh-start-book-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.uh-book-card::before,
.uh-book-card::after {
  display: none !important;
}
.uh-book-card {
  position: relative;
  overflow: visible !important;
  --uh-book-cover-shadow-rgb: var(--uh-cozy-rgb);
  --uh-book-cover-shadow-alpha: 0.28;
}

.uh-book-card:has(.uh-tone-cozy) { --uh-book-cover-shadow-rgb: var(--uh-cozy-rgb); --uh-book-cover-shadow-alpha: 0.30; }
.uh-book-card:has(.uh-tone-romanovs) { --uh-book-cover-shadow-rgb: var(--uh-romanovs-rgb); --uh-book-cover-shadow-alpha: 0.30; }
.uh-book-card:has(.uh-tone-voice) { --uh-book-cover-shadow-rgb: var(--uh-voice-rgb); --uh-book-cover-shadow-alpha: 0.30; }
.uh-book-card:has(.uh-tone-royal) { --uh-book-cover-shadow-rgb: var(--uh-royal-rgb); --uh-book-cover-shadow-alpha: 0.27; }
.uh-book-card:has(.uh-tone-international) { --uh-book-cover-shadow-rgb: var(--uh-international-rgb); --uh-book-cover-shadow-alpha: 0.28; }
.uh-book-card:has(.uh-tone-choice) { --uh-book-cover-shadow-rgb: var(--uh-choice-rgb); --uh-book-cover-shadow-alpha: 0.22; }
.uh-book-card:has(.uh-tone-new) { --uh-book-cover-shadow-rgb: var(--uh-new-rgb); --uh-book-cover-shadow-alpha: 0.30; }

.uh-book-card,
.uh-book-card-col,
.uh-book-card-block .wp-block-column,
.uh-book-card-block .wp-block-columns,
.uh-book-card .wp-block-image.uh-book-card-cover {
  overflow: visible !important;
}
.uh-book-card .wp-block-image.uh-book-card-cover {
  position: relative;
  isolation: isolate;
  padding-bottom: 24px;
  margin-bottom: 0;
}
.uh-book-card .wp-block-image.uh-book-card-cover::before {
  content: "";
  display: block !important;
  position: absolute;
  z-index: 0;

  left: 8%;
  right: 8%;
  top: 5%;
  bottom: 14%;

  border-radius: 18px;
  background: rgba(var(--uh-book-cover-shadow-rgb), 0.16) !important;
  box-shadow:
    14px 24px 46px rgba(var(--uh-book-cover-shadow-rgb), var(--uh-book-cover-shadow-alpha)),
    0 26px 34px rgba(47, 41, 37, 0.135);
  transform: translate(10px, 12px) scale(0.97);
  filter: blur(2px);
  pointer-events: none;
}
.uh-book-card .wp-block-image.uh-book-card-cover::after {
  content: "";
  display: block !important;
  position: absolute;
  z-index: 0;

  left: 24%;
  right: 24%;
  bottom: 17px;
  height: 24px;

  border-radius: 999px;
  background: rgba(47, 41, 37, 0.17) !important;
  filter: blur(10px);
  pointer-events: none;
}

.uh-book-card .wp-block-image.uh-book-card-cover img {
  position: relative;
  z-index: 1;
  filter: none !important;
  transform: scale(1);
  transform-origin: center center;
  box-shadow:
    0 24px 34px rgba(47, 41, 37, 0.135),
    0 12px 24px rgba(var(--uh-book-cover-shadow-rgb), calc(var(--uh-book-cover-shadow-alpha) * 0.72)) !important;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .uh-book-card .wp-block-image.uh-book-card-cover img,
  .uh-book-card .wp-block-image.uh-book-card-cover .uh-book-ribbon {
    transition: transform 220ms ease;
  }

  .uh-book-card .wp-block-image.uh-book-card-cover > a:hover img,
  .uh-book-card .wp-block-image.uh-book-card-cover > a:focus-visible img {
    transform: scale(1.035);
  }

  .uh-book-card .wp-block-image.uh-book-card-cover:hover .uh-book-ribbon,
  .uh-book-card .wp-block-image.uh-book-card-cover:focus-within .uh-book-ribbon {
    transform: translate(5px, -5px) scale(1.055);
  }
}
.uh-start-book-line {
  padding-left: 0.84em !important;
}

.uh-start-book-line::before {
  transform: translateY(0.74em) !important;

  left: 0 !important;
  font-size: 0.58em !important;
  line-height: 1 !important;
  top: 0 !important;
  transform: translateY(0.92em) !important;
}
.uh-content-section:not(.uh-hero-bg-png):not(.uh-book-hero-bg-png)::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      var(--uh-section-flow-color) 0,
      var(--uh-section-flow-color-soft) calc(var(--uh-section-flow-size) * 0.34),
      rgba(251, 248, 242, 0) var(--uh-section-flow-size),
      rgba(251, 248, 242, 0) calc(100% - var(--uh-section-flow-size)),
      var(--uh-section-flow-color-soft) calc(100% - (var(--uh-section-flow-size) * 0.34)),
      var(--uh-section-flow-color) 100%
    );
}
.uh-content-section:not(.uh-hero-bg-png):not(.uh-book-hero-bg-png) > * {
  position: relative;
  z-index: 2;
}
.uh-content-section:not(.uh-hero-bg-png):not(.uh-book-hero-bg-png)
  + .uh-content-section:not(.uh-hero-bg-png):not(.uh-book-hero-bg-png):not(.uh-home-readers-choice):not(.uh-collection-series-block) {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 34px 48px rgba(251, 248, 242, 0.18);
}

@media (max-width: 781px) {
  .uh-content-section:not(.uh-hero-bg-png):not(.uh-book-hero-bg-png)::after {
    background:
      linear-gradient(
        to bottom,
        var(--uh-section-flow-color) 0,
        var(--uh-section-flow-color-soft) calc(var(--uh-section-flow-size-mobile) * 0.38),
        rgba(251, 248, 242, 0) var(--uh-section-flow-size-mobile),
        rgba(251, 248, 242, 0) calc(100% - var(--uh-section-flow-size-mobile)),
        var(--uh-section-flow-color-soft) calc(100% - (var(--uh-section-flow-size-mobile) * 0.38)),
        var(--uh-section-flow-color) 100%
      );
  }
}
.uh-hero-bg-png,.uh-book-hero-bg {
  border-top-color: rgba(221, 210, 194, 0.18);
  border-bottom-color: rgba(221, 210, 194, 0.18);

  box-shadow:
    inset 0 var(--uh-hero-flow-size) calc(var(--uh-hero-flow-size) * 0.92) calc(var(--uh-hero-flow-size) * -0.58) var(--uh-hero-flow-color-strong),
    inset 0 calc(var(--uh-hero-flow-size) * -1) calc(var(--uh-hero-flow-size) * 0.98) calc(var(--uh-hero-flow-size) * -0.56) var(--uh-hero-flow-color) !important;
}
.uh-hero-bg-png + .uh-content-section,
.uh-book-hero-bg + .uh-content-section {
  box-shadow:
    inset 0 42px 56px rgba(251, 248, 242, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

@media (max-width: 781px) {
  :root {
    --uh-hero-flow-size: 48px;
  }

  .uh-hero-bg-png,
  .uh-book-hero-bg {
    box-shadow:
      inset 0 46px 48px -26px rgba(251, 248, 242, 0.92),
      inset 0 -46px 52px -25px rgba(251, 248, 242, 0.82) !important;
  }
}
.uh-hero-bg-png::after {

  background:
    linear-gradient(
      to bottom,
      var(--uh-hero-flow-top) 0%,
      var(--uh-hero-flow-mid) 7%,
      rgba(251, 248, 242, 0) 18%,
      rgba(251, 248, 242, 0) 78%,
      rgba(251, 248, 242, 0.52) 91%,
      var(--uh-hero-flow-bottom) 100%
    ),
    radial-gradient(
      820px 330px at 39% 45%,
      rgba(255, 252, 247, 0.64) 0%,
      rgba(255, 252, 247, 0.44) 42%,
      rgba(255, 252, 247, 0.00) 78%
    ),
    radial-gradient(
      520px 260px at 34% 56%,
      rgba(250, 247, 241, 0.30) 0%,
      rgba(250, 247, 241, 0.00) 72%
    ),
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.04) 0%,
      rgba(255, 252, 247, 0.14) 30%,
      rgba(255, 252, 247, 0.22) 49%,
      rgba(250, 247, 241, 0.18) 59%,
      rgba(255, 252, 247, 0.00) 76%
    );

  opacity: 1;
  mix-blend-mode: screen;
}

.uh-hero-bg-png,

.uh-hero-bg-png + .uh-content-section::after,
.uh-book-hero-bg + .uh-content-section::after {
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0.96) 0%,
      rgba(251, 248, 242, 0.60) 7%,
      rgba(251, 248, 242, 0) 18%,
      rgba(251, 248, 242, 0) calc(100% - var(--uh-section-flow-size)),
      var(--uh-section-flow-color-soft) calc(100% - (var(--uh-section-flow-size) * 0.34)),
      var(--uh-section-flow-color) 100%
    );
}
@media (max-width: 1024px) {
  .uh-hero-bg-png::after {
    background:
      linear-gradient(
        to bottom,
        rgba(251, 248, 242, 0.94) 0%,
        rgba(251, 248, 242, 0.54) 9%,
        rgba(251, 248, 242, 0) 23%,
        rgba(251, 248, 242, 0) 77%,
        rgba(251, 248, 242, 0.58) 91%,
        rgba(251, 248, 242, 0.98) 100%
      ),
      radial-gradient(
        1200px 760px at 37% 31%,
        rgba(255, 252, 247, 0.62) 0%,
        rgba(255, 252, 247, 0.46) 34%,
        rgba(250, 247, 241, 0.24) 62%,
        rgba(255, 252, 247, 0.00) 92%
      ),
      linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.22) 0%,
        rgba(255, 252, 247, 0.10) 44%,
        rgba(255, 252, 247, 0.00) 78%
      );

    opacity: 1;
  }
}

:where(.entry-content, .wp-block-post-content, .is-layout-flow)
  > :where(.uh-hero-bg-png, .uh-book-hero-bg, .uh-book-hero-bg-png, .uh-content-section) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

:where(.entry-content, .wp-block-post-content, .is-layout-flow)
  > :where(.uh-hero-bg-png, .uh-book-hero-bg, .uh-book-hero-bg-png, .uh-content-section)
  + :where(.uh-hero-bg-png, .uh-book-hero-bg, .uh-book-hero-bg-png, .uh-content-section) {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
body:has(.uh-hero-bg-png),
body:has(.uh-book-hero-bg) {
  --theme-content-vertical-spacing: 0px;
}

/* Blocksy: стандартная область заголовка отключена плагином для обычных
   страниц и новостей автора. Эти правила — резерв на случай стороннего
   шаблона, который обойдёт PHP-фильтр темы. */
body.uhcc-default-title-disabled .hero-section,
body.uhcc-default-title-disabled article > .entry-header,
body.uhcc-default-title-disabled .site-main > .wp-block-post-title {
  display: none !important;
}
body:has(.uh-hero-bg-png) :where(.entry-content, .wp-block-post-content), body:has(.uh-book-hero-bg) :where(.entry-content, .wp-block-post-content) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body:has(.uh-hero-bg-png) :where(main, #main, .site-main, .ct-container-full), body:has(.uh-book-hero-bg) :where(main, #main, .site-main, .ct-container-full) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.uh-hero-bg-png,
.uh-book-hero-bg,
.uh-content-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.uh-hero-bg-png + .uh-content-section,
.uh-book-hero-bg + .uh-content-section,
.uh-content-section + .uh-hero-bg-png,
.uh-content-section + .uh-book-hero-bg {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.uh-content-section:not(.uh-hero-bg-png):not(.uh-book-hero-bg):not(.uh-book-hero-bg-png):not(.uh-home-readers-choice):not(.uh-collection-series-block)::after {
  background:
    linear-gradient(
      to bottom,
      var(--uh-flow-page-strong) 0,
      var(--uh-flow-page-mid) calc(var(--uh-section-flow-size) * 0.22),
      var(--uh-flow-page-soft) calc(var(--uh-section-flow-size) * 0.50),
      rgba(251, 248, 242, 0) var(--uh-section-flow-size),
      rgba(251, 248, 242, 0) calc(100% - var(--uh-section-flow-size)),
      var(--uh-flow-page-soft) calc(100% - (var(--uh-section-flow-size) * 0.50)),
      var(--uh-flow-page-mid) calc(100% - (var(--uh-section-flow-size) * 0.22)),
      var(--uh-flow-page-strong) 100%
    );
}


.uh-hero-bg-png,


.uh-hero-bg-png::after {

  background:
    linear-gradient(
      to bottom,
      var(--uh-flow-page) 0%,
      var(--uh-flow-page-strong) 4%,
      var(--uh-flow-page-mid) 11%,
      var(--uh-flow-page-soft) 22%,
      rgba(251, 248, 242, 0) 34%,
      rgba(251, 248, 242, 0) 64%,
      var(--uh-flow-page-soft) 78%,
      var(--uh-flow-page-mid) 89%,
      var(--uh-flow-page-strong) 96%,
      var(--uh-flow-page) 100%
    ),
    radial-gradient(
      820px 330px at 39% 45%,
      rgba(255, 252, 247, 0.64) 0%,
      rgba(255, 252, 247, 0.44) 42%,
      rgba(255, 252, 247, 0.00) 78%
    ),
    radial-gradient(
      520px 260px at 34% 56%,
      rgba(250, 247, 241, 0.30) 0%,
      rgba(250, 247, 241, 0.00) 72%
    ),
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.04) 0%,
      rgba(255, 252, 247, 0.14) 30%,
      rgba(255, 252, 247, 0.22) 49%,
      rgba(250, 247, 241, 0.18) 59%,
      rgba(255, 252, 247, 0.00) 76%
    );
}

@media (max-width: 1024px) {
  .uh-hero-bg-png::after {
    background:
      linear-gradient(
        to bottom,
        var(--uh-flow-page) 0%,
        var(--uh-flow-page-strong) 5%,
        var(--uh-flow-page-mid) 13%,
        var(--uh-flow-page-soft) 25%,
        rgba(251, 248, 242, 0) 38%,
        rgba(251, 248, 242, 0) 63%,
        var(--uh-flow-page-soft) 77%,
        var(--uh-flow-page-mid) 89%,
        var(--uh-flow-page-strong) 96%,
        var(--uh-flow-page) 100%
      ),
      radial-gradient(
        1200px 760px at 37% 31%,
        rgba(255, 252, 247, 0.62) 0%,
        rgba(255, 252, 247, 0.46) 34%,
        rgba(250, 247, 241, 0.24) 62%,
        rgba(255, 252, 247, 0.00) 92%
      ),
      linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.22) 0%,
        rgba(255, 252, 247, 0.10) 44%,
        rgba(255, 252, 247, 0.00) 78%
      );
  }
}

.uh-hero-bg-png {
  padding-bottom: clamp(86px, 6.2vw, 114px) !important;
}

.uh-hero-bg-png::after {
  z-index: 1;

  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0%,
      rgba(251, 248, 242, 0) var(--uh-hero-bottom-flow-start),
      var(--uh-hero-bottom-flow-soft) 76%,
      var(--uh-hero-bottom-flow-mid) 88%,
      var(--uh-hero-bottom-flow-strong) 100%
    ),
    radial-gradient(
      820px 330px at 39% 45%,
      rgba(255, 252, 247, 0.64) 0%,
      rgba(255, 252, 247, 0.44) 42%,
      rgba(255, 252, 247, 0.00) 78%
    ),
    radial-gradient(
      520px 260px at 34% 56%,
      rgba(250, 247, 241, 0.30) 0%,
      rgba(250, 247, 241, 0.00) 72%
    ),
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.04) 0%,
      rgba(255, 252, 247, 0.14) 30%,
      rgba(255, 252, 247, 0.22) 49%,
      rgba(250, 247, 241, 0.18) 59%,
      rgba(255, 252, 247, 0.00) 76%
    );

  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.uh-hero-bg-png + .uh-content-section::after,
.uh-book-hero-bg + .uh-content-section::after {
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0.98) 0,
      rgba(251, 248, 242, 0.66) calc(var(--uh-section-flow-size) * 0.22),
      rgba(251, 248, 242, 0.28) calc(var(--uh-section-flow-size) * 0.55),
      rgba(251, 248, 242, 0) var(--uh-section-flow-size),
      rgba(251, 248, 242, 0) calc(100% - var(--uh-section-flow-size)),
      var(--uh-flow-page-soft) calc(100% - (var(--uh-section-flow-size) * 0.50)),
      var(--uh-flow-page-mid) calc(100% - (var(--uh-section-flow-size) * 0.22)),
      var(--uh-flow-page-strong) 100%
    );
}

@media (max-width: 1024px) {
  .uh-hero-bg-png {
    padding-bottom: 66px !important;
  }


  .uh-hero-bg-png::after {
    background:
      linear-gradient(
        to bottom,
        rgba(251, 248, 242, 0) 0%,
        rgba(251, 248, 242, 0) 58%,
        rgba(251, 248, 242, 0.34) 74%,
        rgba(251, 248, 242, 0.72) 88%,
        rgba(251, 248, 242, 0.98) 100%
      ),
      radial-gradient(
        1200px 760px at 37% 31%,
        rgba(255, 252, 247, 0.62) 0%,
        rgba(255, 252, 247, 0.46) 34%,
        rgba(250, 247, 241, 0.24) 62%,
        rgba(255, 252, 247, 0.00) 92%
      ),
      linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.22) 0%,
        rgba(255, 252, 247, 0.10) 44%,
        rgba(255, 252, 247, 0.00) 78%
      );

    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }
}

.uh-hero-bg-png,

.uh-hero-bg-png + .uh-content-section,
.uh-book-hero-bg + .uh-content-section {
  border-top: 0 !important;
  outline: 0 !important;
  margin-top: -1px !important;
  padding-top: calc(var(--uh-content-y) + 1px);
}

.uh-hero-bg-png::after {
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0%,
      rgba(251, 248, 242, 0) var(--uh-hero-bottom-flow-start),
      rgba(251, 248, 242, 0.30) 76%,
      rgba(251, 248, 242, 0.64) 88%,
      rgba(251, 248, 242, 0.90) 100%
    ),
    radial-gradient(
      820px 330px at 39% 45%,
      rgba(255, 252, 247, 0.64) 0%,
      rgba(255, 252, 247, 0.44) 42%,
      rgba(255, 252, 247, 0.00) 78%
    ),
    radial-gradient(
      520px 260px at 34% 56%,
      rgba(250, 247, 241, 0.30) 0%,
      rgba(250, 247, 241, 0.00) 72%
    ),
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.04) 0%,
      rgba(255, 252, 247, 0.14) 30%,
      rgba(255, 252, 247, 0.22) 49%,
      rgba(250, 247, 241, 0.18) 59%,
      rgba(255, 252, 247, 0.00) 76%
    );
}

.uh-book-hero-bg .uh-book-cover img,
.uh-book-hero-bg .wp-block-image.uh-book-cover img,
.uh-book-hero-bg img.uh-book-cover {
  filter:
    drop-shadow(0 24px 32px rgba(47, 41, 37, 0.115))
    drop-shadow(10px 14px 20px rgba(47, 41, 37, 0.075))
    drop-shadow(0 12px 22px rgba(var(--uh-book-accent-rgb), 0.095))
    drop-shadow(0 2px 5px rgba(47, 41, 37, 0.090))
    drop-shadow(0 0 1px rgba(47, 41, 37, 0.14))
    saturate(1.012)
    contrast(1.008) !important;
}

.uh-start-book-block:has(.uh-start-media-book-single) {
  padding-bottom: calc(var(--uh-content-y) + clamp(22px, 2.6vw, 42px)) !important;
}
.uh-start-book-block:has(.uh-start-media-book-single)::after {
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0.78) 0,
      rgba(251, 248, 242, 0.36) calc(var(--uh-section-flow-size) * 0.32),
      rgba(251, 248, 242, 0) var(--uh-section-flow-size),
      rgba(251, 248, 242, 0) 56%,
      rgba(251, 248, 242, 0.15) 68%,
      rgba(251, 248, 242, 0.36) 78%,
      rgba(251, 248, 242, 0.68) 90%,
      rgba(251, 248, 242, 0.94) 100%
    ) !important;
}

.uh-hero-bg-png.uh-hero-bg-romantic {
  --uh-hero-overlay-image: var(--uh-hero-romantic-image);
  --uh-hero-overlay-opacity: 0.96;
  --uh-romantic-adaptive-veil: 0;
  --uh-romantic-text-x: 72%;
  --uh-romantic-side-veil:
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.08) 0%,
      rgba(255, 252, 247, 0.11) 38%,
      rgba(255, 252, 247, 0.18) 68%,
      rgba(255, 252, 247, 0.24) 100%
    );
}
.uh-hero-bg-png.uh-hero-bg-romantic.uh-hero-photo-right {
  --uh-romantic-text-x: 27%;
  --uh-romantic-side-veil:
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.24) 0%,
      rgba(255, 252, 247, 0.18) 32%,
      rgba(255, 252, 247, 0.11) 62%,
      rgba(255, 252, 247, 0.08) 100%
    );
}
.uh-hero-bg-png.uh-hero-bg-romantic.uh-hero-photo-left {
  --uh-romantic-text-x: 72%;
  --uh-romantic-side-veil:
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.08) 0%,
      rgba(255, 252, 247, 0.11) 38%,
      rgba(255, 252, 247, 0.18) 68%,
      rgba(255, 252, 247, 0.24) 100%
    );
}

.uh-hero-bg-png.uh-hero-bg-romantic::before {
  background-image: var(--uh-hero-romantic-image) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;

  opacity: var(--uh-hero-overlay-opacity) !important;
  mix-blend-mode: normal !important;
  transform: none !important;
}
.uh-hero-bg-png.uh-hero-bg-romantic::after {
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0%,
      rgba(251, 248, 242, 0) 66%,
      rgba(251, 248, 242, 0.10) 76%,
      rgba(251, 248, 242, 0.32) 86%,
      rgba(251, 248, 242, 0.64) 95%,
      rgba(251, 248, 242, 0.88) 100%
    ),
    linear-gradient(
      rgba(255, 252, 247, 0.05),
      rgba(255, 252, 247, 0.05)
    ),
    radial-gradient(
      ellipse 58% 60% at 0% 0%,
      rgba(255, 252, 247, 0.30) 0%,
      rgba(255, 252, 247, 0.22) 34%,
      rgba(255, 252, 247, 0.10) 66%,
      rgba(255, 252, 247, 0.00) 100%
    ),
    var(--uh-romantic-side-veil),
    radial-gradient(
      760px 540px at var(--uh-romantic-text-x) 48%,
      rgba(255, 252, 247, 0.10) 0%,
      rgba(255, 252, 247, 0.04) 48%,
      rgba(255, 252, 247, 0.00) 76%
    ) !important;

  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
.uh-hero-bg-png.uh-hero-bg-romantic .uh-hero-content::before,.uh-hero-bg-png.uh-hero-bg-romantic .uh-hero-actions::before {
  display: none !important;
}

.uh-book-hero-bg.uh-book-hero-bg-engraving {
  --uh-book-hero-overlay-image: var(--uh-book-hero-engraving-image);
  --uh-book-overlay-opacity: 0.92;
  --uh-book-overlay-position: center center;
  --uh-book-overlay-size: cover;
}

.uh-book-hero-bg.uh-book-hero-bg-engraving::before {
  background-image: var(--uh-book-hero-engraving-image) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;

  opacity: var(--uh-book-overlay-opacity) !important;
  mix-blend-mode: normal !important;
  transform: none !important;
}
.uh-book-hero-bg.uh-book-hero-bg-engraving::after {
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0%,
      rgba(251, 248, 242, 0) 58%,
      rgba(251, 248, 242, 0.08) 70%,
      rgba(251, 248, 242, 0.22) 80%,
      rgba(251, 248, 242, 0.48) 90%,
      rgba(251, 248, 242, 0.78) 97%,
      rgba(251, 248, 242, 0.90) 100%
    ),
    linear-gradient(
      rgba(255, 252, 247, 0.10),
      rgba(255, 252, 247, 0.10)
    ),
    radial-gradient(
      ellipse 58% 42% at 25% 46%,
      rgba(255, 252, 247, 0.32) 0%,
      rgba(255, 252, 247, 0.25) 46%,
      rgba(255, 252, 247, 0.12) 72%,
      rgba(255, 252, 247, 0.00) 100%
    ),
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.28) 0%,
      rgba(255, 252, 247, 0.18) 12%,
      rgba(255, 252, 247, 0.08) 28%,
      rgba(255, 252, 247, 0.00) 42%,
      rgba(255, 252, 247, 0.00) 58%,
      rgba(255, 252, 247, 0.08) 72%,
      rgba(255, 252, 247, 0.18) 88%,
      rgba(255, 252, 247, 0.28) 100%
    ),
    radial-gradient(
      900px 660px at 88% 44%,
      rgba(var(--uh-book-series-wash-rgb), 0.075) 0%,
      rgba(var(--uh-book-series-wash-rgb), 0.025) 52%,
      rgba(var(--uh-book-series-wash-rgb), 0.000) 86%
    ),
    radial-gradient(
      ellipse 62% 84% at 24% 54%,
      rgba(255, 252, 247, 0.42) 0%,
      rgba(255, 252, 247, 0.32) 44%,
      rgba(255, 252, 247, 0.16) 70%,
      rgba(255, 252, 247, 0.00) 100%
    ) !important;

  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.uh-book-hero-bg.uh-book-hero-bg-engraving .uh-hero-actions::before {
  display: none !important;
}

@media (max-width: 1024px) {
  .uh-hero-bg-png.uh-hero-bg-romantic::before,
  .uh-book-hero-bg.uh-book-hero-bg-engraving::before {
    background-position: center center !important;
    background-size: cover !important;
    transform: none !important;
  }

  .uh-hero-bg-png.uh-hero-bg-romantic::before {
    opacity: 0.90 !important;
  }

  .uh-book-hero-bg.uh-book-hero-bg-engraving::before {
    opacity: 0.86 !important;
  }
}
.uh-book-hero-bg + .uh-content-section::after {
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0.96) 0,
      rgba(251, 248, 242, 0.70) calc(var(--uh-section-flow-size) * 0.24),
      rgba(251, 248, 242, 0.36) calc(var(--uh-section-flow-size) * 0.56),
      rgba(251, 248, 242, 0) calc(var(--uh-section-flow-size) * 1.08),
      rgba(251, 248, 242, 0) calc(100% - var(--uh-section-flow-size)),
      var(--uh-flow-page-soft) calc(100% - (var(--uh-section-flow-size) * 0.50)),
      var(--uh-flow-page-mid) calc(100% - (var(--uh-section-flow-size) * 0.22)),
      var(--uh-flow-page-strong) 100%
    ) !important;
}

.uh-content-section.uh-watercolor-test::before {
  inset: auto !important;
  right: var(
    --uh-watercolor-right,
    clamp(-70px, -4vw, -28px)
  ) !important;
  bottom: var(--uh-watercolor-bottom, 8%) !important;

  width: var(
    --uh-watercolor-box-width,
    min(40vw, 520px)
  ) !important;
  height: var(
    --uh-watercolor-box-height,
    min(40vw, 520px)
  ) !important;

  background-image: var(--uh-ill-image) !important;
  background-repeat: no-repeat !important;
  background-position: right bottom !important;
  background-size: contain !important;

  opacity: var(--uh-ill-opacity, 0.28) !important;
  filter: saturate(0.94) contrast(0.99) !important;
  transform: none !important;
}
.uh-content-section.uh-watercolor-test > * {
  position: relative;
  z-index: 2;
}
.uh-watercolor-test + .uh-watercolor-test {
  border-top-color: rgba(221, 210, 194, 0.42);
}

/* 26 акварельных фоновых иллюстраций:
   текстовая группа и лид используют всю ширину текстовой колонки. */
.uh-watercolor-test .uh-start-content {
  width: 100%;
  max-width: none;
}

.uh-watercolor-test .uh-start-content > .uh-lead-section,
.uh-watercolor-test .uh-start-content.is-layout-constrained > .uh-lead-section {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.uh-ill-wc-02 {
  --uh-ill-image: var(--uh-wc-02-image);
  --uh-ill-opacity: 0.30;
  --uh-watercolor-box-width: min(37vw, 480px);
  --uh-watercolor-box-height: min(37vw, 480px);
}

.uh-ill-wc-04 {
  --uh-ill-image: var(--uh-wc-04-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(35vw, 450px);
  --uh-watercolor-box-height: min(35vw, 450px);
}

.uh-ill-wc-05 {
  --uh-ill-image: var(--uh-wc-05-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(34vw, 430px);
  --uh-watercolor-box-height: min(34vw, 430px);
}

.uh-ill-wc-06 {
  --uh-ill-image: var(--uh-wc-06-image);
  --uh-ill-opacity: 0.29;
  --uh-watercolor-box-width: min(28vw, 360px);
  --uh-watercolor-box-height: min(28vw, 360px);
  --uh-watercolor-bottom: 12%;
  --uh-watercolor-right: clamp(-34px, -2vw, -14px);
}

.uh-ill-wc-08 {
  --uh-ill-image: var(--uh-wc-08-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(40vw, 520px);
  --uh-watercolor-box-height: min(40vw, 520px);
}

.uh-ill-wc-11 {
  --uh-ill-image: var(--uh-wc-11-image);
  --uh-ill-opacity: 0.26;
  --uh-watercolor-box-width: min(20vw, 260px);
  --uh-watercolor-box-height: min(35vw, 460px);
  --uh-watercolor-bottom: 10%;
  --uh-watercolor-right: clamp(-24px, -1.4vw, -8px);
}

.uh-ill-wc-14 {
  --uh-ill-image: var(--uh-wc-14-image);
  --uh-ill-opacity: 0.25;
  --uh-watercolor-box-width: min(35vw, 450px);
  --uh-watercolor-box-height: min(35vw, 450px);
}

.uh-ill-wc-18 {
  --uh-ill-image: var(--uh-wc-18-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(30vw, 390px);
  --uh-watercolor-box-height: min(25vw, 330px);
  --uh-watercolor-bottom: 12%;
  --uh-watercolor-right: clamp(-34px, -2vw, -14px);
}

.uh-ill-wc-22 {
  --uh-ill-image: var(--uh-wc-22-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(33vw, 430px);
  --uh-watercolor-box-height: min(33vw, 430px);
}

.uh-ill-wc-23 {
  --uh-ill-image: var(--uh-wc-23-image);
  --uh-ill-opacity: 0.27;
  --uh-watercolor-box-width: min(34vw, 440px);
  --uh-watercolor-box-height: min(34vw, 440px);
}

.uh-ill-wc-25 {
  --uh-ill-image: var(--uh-wc-25-image);
  --uh-ill-opacity: 0.27;
  --uh-watercolor-box-width: min(38vw, 500px);
  --uh-watercolor-box-height: min(38vw, 500px);
}

.uh-ill-wc-42 {
  --uh-ill-image: var(--uh-wc-42-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(40vw, 520px);
  --uh-watercolor-box-height: min(40vw, 520px);
}

.uh-ill-wc-44 {
  --uh-ill-image: var(--uh-wc-44-image);
  --uh-ill-opacity: 0.26;
  --uh-watercolor-box-width: min(39vw, 510px);
  --uh-watercolor-box-height: min(39vw, 510px);
}

.uh-ill-wc-47 {
  --uh-ill-image: var(--uh-wc-47-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(37vw, 480px);
  --uh-watercolor-box-height: min(37vw, 480px);
}

.uh-ill-wc-48 {
  --uh-ill-image: var(--uh-wc-48-image);
  --uh-ill-opacity: 0.25;
  --uh-watercolor-box-width: min(40vw, 520px);
  --uh-watercolor-box-height: min(40vw, 520px);
}

.uh-ill-wc-49 {
  --uh-ill-image: var(--uh-wc-49-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(38vw, 500px);
  --uh-watercolor-box-height: min(38vw, 500px);
}

.uh-ill-wc-50 {
  --uh-ill-image: var(--uh-wc-50-image);
  --uh-ill-opacity: 0.28;
  --uh-watercolor-box-width: min(36vw, 470px);
  --uh-watercolor-box-height: min(36vw, 470px);
}

.uh-ill-wc-51 {
  --uh-ill-image: var(--uh-wc-51-image);
  --uh-ill-opacity: 0.26;
  --uh-watercolor-box-width: min(32vw, 420px);
  --uh-watercolor-box-height: min(40vw, 520px);
}

.uh-ill-wc-52 {
  --uh-ill-image: var(--uh-wc-52-image);
  --uh-ill-opacity: 0.26;
  --uh-watercolor-box-width: min(44vw, 580px);
  --uh-watercolor-box-height: min(26vw, 340px);
  --uh-watercolor-bottom: 10%;
  --uh-watercolor-right: clamp(-28px, -1.5vw, -10px);
}

.uh-ill-wc-53 {
  --uh-ill-image: var(--uh-wc-53-image);
  --uh-ill-opacity: 0.25;
  --uh-watercolor-box-width: min(30vw, 390px);
  --uh-watercolor-box-height: min(34vw, 440px);
}

.uh-ill-wc-54,
.uh-ill-wc-55,
.uh-ill-wc-56 {
  --uh-ill-opacity: 0.26;
  --uh-watercolor-box-width: min(32vw, 420px);
  --uh-watercolor-box-height: min(38vw, 500px);
}

.uh-ill-wc-54 {
  --uh-ill-image: var(--uh-wc-54-image);
}

.uh-ill-wc-55 {
  --uh-ill-image: var(--uh-wc-55-image);
}

.uh-ill-wc-56 {
  --uh-ill-image: var(--uh-wc-56-image);
}

.uh-ill-wc-57 {
  --uh-ill-image: var(--uh-wc-57-image);
  --uh-ill-opacity: 0.26;
  --uh-watercolor-box-width: min(35vw, 460px);
  --uh-watercolor-box-height: min(35vw, 460px);
}

.uh-ill-wc-58 {
  --uh-ill-image: var(--uh-wc-58-image);
  --uh-ill-opacity: 0.27;
  --uh-watercolor-box-width: min(38vw, 500px);
  --uh-watercolor-box-height: min(38vw, 500px);
}

.uh-ill-wc-59 {
  --uh-ill-image: var(--uh-wc-59-image);
  --uh-ill-opacity: 0.26;
  --uh-watercolor-box-width: min(22vw, 290px);
  --uh-watercolor-box-height: min(40vw, 520px);
  --uh-watercolor-right: clamp(-8px, -0.5vw, 0px);
}

@media (max-width: 1024px) {
  .uh-content-section.uh-watercolor-test::before {
    right: -92px !important;
    bottom: 5% !important;
    width: min(58vw, 430px) !important;
    height: min(58vw, 430px) !important;
    opacity: calc(var(--uh-ill-opacity, 0.28) * 0.72) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-06::before {
    right: -28px !important;
    bottom: 10% !important;
    width: min(42vw, 300px) !important;
    height: min(42vw, 300px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-11::before {
    right: -20px !important;
    bottom: 9% !important;
    width: min(32vw, 230px) !important;
    height: min(56vw, 405px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-18::before {
    right: 10px !important;
    bottom: 10% !important;
    width: min(46vw, 330px) !important;
    height: min(39vw, 280px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-22::before {
    width: min(54vw, 390px) !important;
    height: min(54vw, 390px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-23::before {
    width: min(56vw, 400px) !important;
    height: min(56vw, 400px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-52::before {
    width: min(72vw, 520px) !important;
    height: min(42vw, 300px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-59::before {
    right: -18px !important;
    width: min(36vw, 260px) !important;
    height: min(64vw, 460px) !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-watercolor-test::before {
    top: clamp(118px, 28vw, 160px) !important;
    right: -110px !important;
    bottom: auto !important;
    width: min(78vw, 340px) !important;
    height: min(78vw, 340px) !important;
    opacity: calc(var(--uh-ill-opacity, 0.28) * 0.54) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-06::before {
    right: -42px !important;
    bottom: auto !important;
    width: min(62vw, 250px) !important;
    height: min(62vw, 250px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-11::before {
    right: -30px !important;
    bottom: auto !important;
    width: min(47vw, 190px) !important;
    height: min(83vw, 335px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-18::before {
    right: -52px !important;
    bottom: auto !important;
    width: min(69vw, 280px) !important;
    height: min(59vw, 240px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-22::before {
    width: min(74vw, 300px) !important;
    height: min(74vw, 300px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-23::before {
    width: min(76vw, 310px) !important;
    height: min(76vw, 310px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-51::before {
    right: -44px !important;
    width: min(58vw, 235px) !important;
    height: min(78vw, 315px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-52::before {
    right: -76px !important;
    width: min(88vw, 355px) !important;
    height: min(52vw, 210px) !important;
  }

  .uh-content-section.uh-watercolor-test.uh-ill-wc-59::before {
    right: -20px !important;
    width: min(42vw, 170px) !important;
    height: min(78vw, 315px) !important;
  }
}

.uh-card-surface-comparison .wp-block-columns.uh-card-surface-row {
  margin-top: 0 !important;
  margin-bottom: clamp(28px, 3.2vw, 46px) !important;
  row-gap: clamp(24px, 2.8vw, 34px) !important;
}

.uh-card-surface-comparison .wp-block-columns.uh-card-surface-row:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 781px) {
  .uh-card-surface-comparison .wp-block-columns.uh-card-surface-row {
    margin-bottom: clamp(26px, 6vw, 38px) !important;
    row-gap: clamp(22px, 5vw, 30px) !important;
  }
}

.uh-section-surface-test {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(330px, 30vw, 420px);
  padding-block: clamp(76px, 7vw, 108px) !important;
}

.uh-section-surface-test .uh-content-head {
  max-width: 860px;
}
.uh-section-surface-test::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      7deg,
      rgba(107, 80, 60, 0.012) 0,
      rgba(107, 80, 60, 0.012) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(
      97deg,
      rgba(255,255,255,0.10) 0,
      rgba(255,255,255,0.10) 1px,
      transparent 1px,
      transparent 10px
    );
  opacity: 0.54;
  mix-blend-mode: multiply;
}
.uh-section-surface-01 {
  background:
    radial-gradient(ellipse 72% 112% at -8% -12%, rgba(255,255,255,0.98) 0 36%, rgba(255,255,255,0) 76%),
    radial-gradient(ellipse 58% 100% at 108% 108%, rgba(214,174,151,0.095), rgba(214,174,151,0) 74%),
    radial-gradient(ellipse 48% 70% at 56% -16%, rgba(231,211,177,0.075), rgba(231,211,177,0) 72%),
    linear-gradient(112deg, #FFFFFF 0%, #FFFDFA 50%, #FAF4EC 100%) !important;
}
.uh-section-surface-02 {
  background:
    radial-gradient(ellipse 70% 108% at -10% -14%, rgba(255,255,255,0.96) 0 34%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 60% 102% at 110% 110%, rgba(200,151,132,0.115), rgba(200,151,132,0) 74%),
    radial-gradient(ellipse 44% 72% at 58% -18%, rgba(227,195,155,0.105), rgba(227,195,155,0) 72%),
    linear-gradient(112deg, #FFFDF9 0%, #FBF5EC 52%, #F5EBDD 100%) !important;
}
.uh-section-surface-06 {
  background:
    radial-gradient(ellipse 70% 108% at -10% -12%, rgba(255,255,255,0.94) 0 34%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 62% 104% at 110% 108%, rgba(101,124,89,0.135), rgba(101,124,89,0) 74%),
    radial-gradient(ellipse 48% 76% at 42% 116%, rgba(187,163,100,0.085), rgba(187,163,100,0) 72%),
    linear-gradient(112deg, #FFFDF9 0%, #F0F4EA 52%, #DFE9D8 100%) !important;
}
.uh-section-surface-08 {
  background:
    radial-gradient(ellipse 72% 110% at -10% -12%, rgba(255,255,255,0.95) 0 34%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 62% 104% at 110% 108%, rgba(93,124,142,0.135), rgba(93,124,142,0) 74%),
    radial-gradient(ellipse 48% 76% at 42% 116%, rgba(193,149,142,0.065), rgba(193,149,142,0) 72%),
    linear-gradient(112deg, #FFFEFB 0%, #EBF3F5 52%, #DDE9EC 100%) !important;
}
.uh-section-surface-10 {
  background:
    radial-gradient(ellipse 72% 110% at -10% -12%, rgba(255,255,255,0.96) 0 34%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 62% 104% at 110% 108%, rgba(103,125,135,0.115), rgba(103,125,135,0) 74%),
    radial-gradient(ellipse 48% 76% at 42% 116%, rgba(132,112,145,0.070), rgba(132,112,145,0) 72%),
    linear-gradient(112deg, #FFFFFF 0%, #F1F3F3 52%, #E4E9EA 100%) !important;
}

@media (max-width: 781px) {
  .uh-section-surface-test {
    min-height: 300px;
    padding-block: clamp(66px, 12vw, 86px) !important;
  }

  .uh-section-surface-test::before {
    opacity: 0.42;
  }
}

.uh-section-surface-test.uh-section-surface-legacy::before {
  content: "" !important;
  display: block !important;
  opacity: 0.54 !important;
}

.uh-section-surface-divider {
  padding-block: clamp(78px, 7vw, 108px) !important;
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(255,255,255,0.92), rgba(255,255,255,0) 72%),
    linear-gradient(135deg, #FFFDF9 0%, #F7F0E7 100%) !important;
}

.uh-section-surface-divider .uh-content-head {
  max-width: 860px;
}

@media (max-width: 781px) {
  .uh-section-surface-test.uh-section-surface-legacy::before {
    opacity: 0.42 !important;
  }
}

@media (max-width: 1024px) {
  .uh-hero-bg-png.uh-hero-bg-romantic {
    --uh-romantic-adaptive-veil: 0.40;
  }

  .uh-book-hero-bg.uh-book-hero-bg-engraving::before {
    background-position: left bottom !important;
  }
  .uh-hero-bg-png.uh-hero-bg-romantic.uh-hero-photo-left::after {
    background:
      linear-gradient(
        rgba(255,252,247,var(--uh-romantic-adaptive-veil)),
        rgba(255,252,247,var(--uh-romantic-adaptive-veil))
      ),
      linear-gradient(
        to bottom,
        rgba(255,252,247,0.76) 0%,
        rgba(255,252,247,0.72) 18%,
        rgba(255,252,247,0.64) 40%,
        rgba(255,252,247,0.40) 58%,
        rgba(255,252,247,0.16) 74%,
        rgba(255,252,247,0.05) 100%
      ),
      radial-gradient(
        ellipse 116% 62% at 46% 30%,
        rgba(255,252,247,0.42) 0%,
        rgba(255,252,247,0.26) 50%,
        rgba(255,252,247,0) 100%
      ),
      linear-gradient(
        90deg,
        rgba(255,252,247,0.16) 0%,
        rgba(255,252,247,0.05) 18%,
        rgba(255,252,247,0.05) 82%,
        rgba(255,252,247,0.16) 100%
      ) !important;
    opacity: 1 !important;
  }
  .uh-hero-bg-png.uh-hero-bg-romantic.uh-hero-photo-right::after {
    background:
      linear-gradient(
        rgba(255,252,247,var(--uh-romantic-adaptive-veil)),
        rgba(255,252,247,var(--uh-romantic-adaptive-veil))
      ),
      linear-gradient(
        to bottom,
        rgba(255,252,247,0.62) 0%,
        rgba(255,252,247,0.58) 18%,
        rgba(255,252,247,0.52) 36%,
        rgba(255,252,247,0.44) 48%,
        rgba(255,252,247,0.50) 62%,
        rgba(255,252,247,0.64) 82%,
        rgba(255,252,247,0.72) 100%
      ),
      radial-gradient(
        ellipse 116% 58% at 54% 27%,
        rgba(255,252,247,0.23) 0%,
        rgba(255,252,247,0.12) 50%,
        rgba(255,252,247,0) 100%
      ),
      linear-gradient(
        90deg,
        rgba(255,252,247,0.12) 0%,
        rgba(255,252,247,0.04) 18%,
        rgba(255,252,247,0.04) 82%,
        rgba(255,252,247,0.12) 100%
      ) !important;
    opacity: 1 !important;
  }
  .uh-book-hero-bg.uh-book-hero-bg-engraving::after {
    background:
      linear-gradient(
        to bottom,
        rgba(255,252,247,0.24) 0%,
        rgba(255,252,247,0.28) 24%,
        rgba(255,252,247,0.58) 36%,
        rgba(255,252,247,0.74) 48%,
        rgba(255,252,247,0.78) 76%,
        rgba(255,252,247,0.68) 92%,
        rgba(255,252,247,0.58) 100%
      ),
      radial-gradient(
        ellipse 118% 64% at 50% 66%,
        rgba(255,252,247,0.46) 0%,
        rgba(255,252,247,0.28) 54%,
        rgba(255,252,247,0) 100%
      ),
      linear-gradient(
        90deg,
        rgba(255,252,247,0.20) 0%,
        rgba(255,252,247,0.07) 18%,
        rgba(255,252,247,0.07) 82%,
        rgba(255,252,247,0.20) 100%
      ) !important;
    opacity: 1 !important;
  }
}

.uh-section-surface-shabby {
  background-color: #f8f0e4 !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}
.uh-section-surface-shabby::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 112% at 50% 50%, rgba(255,253,248,0.08) 0 48%, rgba(255,253,248,0) 82%),
    linear-gradient(90deg, rgba(255,251,245,0.055), rgba(255,251,245,0.015) 24% 76%, rgba(255,251,245,0.055));
}

.uh-section-surface-shabby-01 {
  background-image:
    linear-gradient(rgba(255,252,247,0.06), rgba(255,252,247,0.06)),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/schabby_1.png") !important;
}

.uh-section-surface-shabby-02 {
  background-image:
    linear-gradient(rgba(255,252,247,0.07), rgba(255,252,247,0.07)),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/schabby_2.png") !important;
}

.uh-section-surface-shabby-03 {
  background-image:
    linear-gradient(rgba(255,252,247,0.065), rgba(255,252,247,0.065)),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/schabby_3.png") !important;
}

.uh-section-surface-shabby-04 {
  background-image:
    linear-gradient(rgba(255,252,247,0.075), rgba(255,252,247,0.075)),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/schabby_4.png") !important;
}

.uh-section-surface-shabby-05 {
  background-image:
    linear-gradient(rgba(255,252,247,0.07), rgba(255,252,247,0.07)),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/schabby_5.png") !important;
}

@media (max-width: 781px) {
  .uh-section-surface-shabby {
    background-size: auto 100% !important;
  }

  .uh-section-surface-shabby-01,
  .uh-section-surface-shabby-03,
  .uh-section-surface-shabby-05 {
    background-position: left center !important;
  }

  .uh-section-surface-shabby-02,
  .uh-section-surface-shabby-04 {
    background-position: right center !important;
  }

  .uh-section-surface-shabby::after {
    background: rgba(255,252,247,0.10);
  }
}

.uh-card-combination-set {
  position: relative;
}

.uh-card-combination-set + .uh-card-combination-set {
  margin-top: clamp(52px, 5vw, 76px) !important;
  padding-top: clamp(38px, 4vw, 56px) !important;
  border-top: 1px solid rgba(177, 153, 126, 0.26);
}

.uh-card-combination-label {
  margin: 0 0 clamp(20px, 2.2vw, 30px) !important;
}

@media (max-width: 781px) {
  .uh-card-combination-set + .uh-card-combination-set {
    margin-top: 44px !important;
    padding-top: 36px !important;
  }

  .uh-card-combination-label {
    margin-bottom: 20px !important;
  }
}

.uh-home-series-block {
  padding-block: clamp(78px, 7.2vw, 118px);
}

.wp-block-columns.uh-home-series-grid {
  align-items: stretch;
  gap: clamp(22px, 2.4vw, 34px) !important;
  margin: 0 !important;
}

.uh-home-series-grid > .wp-block-column {
  display: flex;
  min-width: 0;
}

.uh-home-series-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.uh-home-series-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 46px rgba(73, 58, 47, 0.092),
    0 6px 16px rgba(73, 58, 47, 0.040),
    inset 0 1px 0 rgba(255,255,255,0.76) !important;
}

.uh-home-series-card:focus-within {
  outline: 2px solid rgba(var(--uh-cta-rgb), 0.72);
  outline-offset: 4px;
}

.uh-home-series-card .uh-card-media {
  overflow: hidden;
  background: rgba(255,255,255,0.44);
}

.uh-home-series-card .uh-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2 !important;
  object-fit: cover !important;
  object-position: 50% 50%;
  border-radius: var(--uh-radius-card) var(--uh-radius-card) 0 0;
  filter: none !important;
  transform: scale(1.001);
  transition: transform 380ms ease;
}

.uh-home-series-card:hover .uh-card-media img {
  transform: scale(1.018);
}

.uh-home-series-card .uh-card-content {
  gap: 0;
  padding: clamp(24px, 2.4vw, 32px);
}

.uh-home-series-card .uh-series-card-kicker {
  margin: 0 0 14px !important;
}

.uh-home-series-card h3 {
  margin: 0 0 16px !important;
}

.uh-home-series-card h3 a,
.uh-home-series-card h3 a:visited {
  color: var(--uh-heading);
  text-decoration: none;
}
.uh-home-series-card .uh-series-card-link::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
}

.uh-home-series-card .uh-lead-card {
  margin: 0 !important;
}

.uh-series-card-cozy {
  border-color: rgba(154, 93, 91, 0.24) !important;
}

.uh-series-card-romanovs {
  border-color: rgba(118, 103, 124, 0.22) !important;
}

.uh-series-card-voice {
  border-color: rgba(111, 121, 102, 0.22) !important;
}
.uh-starter-kit-block {
  padding-block: clamp(78px, 7.2vw, 120px);
}

.wp-block-columns.uh-starter-kit-columns {
  align-items: center !important;
  gap: clamp(38px, 5vw, 78px) !important;
}

.uh-starter-kit-columns > .uh-content-media-col {
  flex-basis: 44% !important;
}

.uh-starter-kit-columns > .uh-content-text-col {
  flex-basis: 54% !important;
}

.wp-block-image.uh-starter-kit-media {
  width: min(100%, 520px);
  margin: 0 auto !important;
  overflow: hidden;
  border: 1px solid rgba(190, 169, 143, 0.34);
  border-radius: clamp(20px, 2.2vw, 30px);
  background: #F7F0E5;
  box-shadow:
    0 18px 38px rgba(73, 58, 47, 0.080),
    0 4px 12px rgba(73, 58, 47, 0.035);
}

.wp-block-image.uh-starter-kit-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  object-position: center center;
  border-radius: inherit;
  filter: none !important;
  box-shadow: none !important;
}

.uh-starter-kit-block .uh-start-content {
  max-width: 700px;
}

.uh-starter-kit-block .uh-starter-intro {
  margin-bottom: clamp(24px, 2.8vw, 34px) !important;
}

.uh-starter-kit-block .uh-start-book-line:last-of-type {
  margin-bottom: 0 !important;
}
@media (max-width: 1024px) {
  .wp-block-columns.uh-home-series-grid {
    flex-wrap: wrap !important;
  }

  .wp-block-columns.uh-home-series-grid > .wp-block-column {
    width: 100%;
  }
}

@media (max-width: 781px) {
  .uh-home-series-block,
  .uh-starter-kit-block {
    padding-block: clamp(58px, 11vw, 78px);
  }

  .wp-block-columns.uh-home-series-grid {
    gap: 24px !important;
  }

  .uh-home-series-card:hover {
    transform: none;
  }

  .uh-home-series-card:hover .uh-card-media img {
    transform: scale(1.001);
  }

  .wp-block-columns.uh-starter-kit-columns {
    gap: 38px !important;
  }

  .uh-starter-kit-columns > .uh-content-media-col,
  .uh-starter-kit-columns > .uh-content-text-col {
    flex-basis: 100% !important;
  }

  .wp-block-image.uh-starter-kit-media {
    width: min(100%, 470px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-home-series-card,
  .uh-home-series-card .uh-card-media img {
    transition: none !important;
  }
}

.uh-soon-block {
  padding-block: clamp(80px, 7.4vw, 122px);
}

.uh-soon-block .uh-content-inner-narrow {
  max-width: 930px;
}

.uh-cta-block {
  padding-block: clamp(74px, 6.8vw, 108px);
}

.uh-cta-block .uh-cta-actions {
  gap: 14px 16px;
  margin-top: 0;
}

.uh-cta-block .uh-cta-actions .wp-block-button {
  margin: 0 !important;
}

.uh-cta-block .uh-cta-actions .wp-block-button__link {
  white-space: nowrap;
}

.uh-cta-invitation::before {
  background-position: right clamp(-120px, -5vw, -46px) bottom 4% !important;
  background-size: min(42vw, 510px) auto !important;
  opacity: 0.12 !important;
}

.uh-cta-invitation .uh-cta-invitation-inner {
  max-width: 880px;
  text-align: center;
}

.uh-cta-invitation .uh-cta-invitation-inner :where(.uh-kicker-section, h2, .uh-lead-section) {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.uh-cta-invitation .uh-lead-section {
  max-width: 740px;
}

/* Только лид финальной секции «Авторская библиотека» становится уже.
   Общая ширина контейнера и заголовка остаётся штатной — 880 px. */
.uh-author-library-cta .uh-lead-section,
.uh-book-collection-cta .uh-lead-section {
  max-width: 590px;
}

.uh-cta-invitation .uh-cta-actions {
  justify-content: center;
  margin-top: clamp(28px, 3.4vw, 40px);
}

.uh-cta-ornament {
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  gap: 15px;
  width: min(100%, 250px);
  margin: 6px auto clamp(18px, 2.5vw, 28px);
  color: rgba(var(--uh-romanovs-rgb), 0.62);
}

.uh-cta-ornament::before,
.uh-cta-ornament::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg,
    rgba(var(--uh-romanovs-rgb),0),
    rgba(var(--uh-romanovs-rgb),0.42));
}

.uh-cta-ornament::after {
  transform: scaleX(-1);
}

.uh-cta-ornament span {
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 1024px) {
}

@media (max-width: 781px) {
  .uh-soon-block {
    padding-block: clamp(62px, 12vw, 82px);
  }

  .uh-cta-block {
    padding-block: clamp(58px, 11vw, 78px);
  }

  .uh-cta-invitation::before {
    background-position: right -112px bottom 2% !important;
    background-size: min(82vw, 390px) auto !important;
    opacity: 0.085 !important;
  }
}

@media (max-width: 560px) {
  .uh-cta-block .uh-cta-actions,
  .uh-cta-invitation .uh-cta-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100%;
  }

  .uh-cta-block .uh-cta-actions .wp-block-button,
  .uh-cta-block .uh-cta-actions .wp-block-button__link {
    width: auto !important;
    max-width: 100%;
  }

  .uh-cta-invitation .uh-cta-actions {
    margin-right: auto;
    margin-left: auto;
  }
}

.uh-soon-orbit {
  padding-block: clamp(82px, 7.8vw, 126px);
}

.uh-soon-orbit-head {
  max-width: 1040px;
}

.uh-soon-orbit .uh-soon-subtitle {
  max-width: 900px;
}

.uh-soon-orbit .uh-soon-annotation {
  max-width: 760px;
  font-size: var(--uh-font-lead-card);
  line-height: var(--uh-lead-line-height);
}
.uh-cta-invitation .uh-kicker-section.uh-tone-cta {
  color: rgb(var(--uh-cta-rgb)) !important;
}

.uh-cta-invitation .uh-cta-ornament {
  color: rgba(var(--uh-cta-rgb), 0.72);
}

.uh-cta-invitation .uh-cta-ornament::before,
.uh-cta-invitation .uh-cta-ornament::after {
  background: linear-gradient(90deg,
    rgba(var(--uh-cta-rgb),0),
    rgba(var(--uh-cta-rgb),0.54));
}

@media (max-width: 781px) {
  .uh-soon-orbit {
    padding-block: clamp(62px, 12vw, 84px);
  }

  .uh-soon-orbit .uh-soon-annotation {
    font-size: var(--uh-font-lead-card);
    line-height: var(--uh-lead-line-height);
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-soon-block *,
  .uh-cta-block * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
}

@media (max-width: 781px) {
}

.uh-soon-orbit {
  padding-block: clamp(88px, 8vw, 132px);
}

.uh-soon-orbit .uh-content-inner {
  max-width: 1180px;
}

.uh-soon-orbit-head,
.uh-soon-flow {
  max-width: 1040px !important;
}

@media (min-width: 1025px) {
  .uh-soon-orbit .uh-content-inner {
    max-width: var(--uh-content-max-narrow);
    padding-inline: clamp(22px, 3vw, 36px);
    border-left: 0;
  }

  .uh-soon-orbit-head,
  .uh-soon-flow {
    width: 100%;
    max-width: none !important;
  }
}

.uh-soon-orbit .uh-soon-subtitle {
  width: 100%;
  max-width: none;
  margin-top: clamp(24px, 3vw, 34px) !important;
  color: var(--uh-heading);
  font-family: "Gentium Book Plus", serif;
  font-size: var(--uh-font-lead-section);
  font-style: italic;
  font-weight: 400;
  line-height: var(--uh-lead-line-height);
}

.uh-soon-flow {
  margin: clamp(28px, 3vw, 40px) 0 0 !important;
}

.wp-block-buttons.uh-soon-tags {
  justify-content: flex-start;
  gap: 8px 12px;
  margin: 0 0 clamp(22px, 2.4vw, 30px) !important;
}

.uh-soon-orbit .uh-soon-annotation {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  color: var(--uh-body);
  font-family: var(--uh-font-body);
  font-size: var(--uh-font-lead-card);
  font-weight: 400;
  line-height: var(--uh-lead-line-height);
  letter-spacing: 0;
}

.uh-progress-line {
  --uh-progress-number: 0;
  --uh-progress-rgb: var(--uh-cta-rgb, 155, 122, 67);
  width: 100%;
  max-width: 1040px;
  margin-top: clamp(34px, 3.6vw, 46px);
}

.uh-progress-line-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
}

.uh-progress-line-label {
  margin: 0 0 9px !important;
  color: rgb(var(--uh-progress-rgb));
  font-family: "Philosopher", serif;
  font-size: var(--uh-font-kicker-section);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.165em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.uh-progress-line-status {
  margin: 0 !important;
  color: rgba(var(--uh-progress-rgb), 0.86) !important;
  font-family: "Gentium Book Plus", serif;
  font-size: 20px !important;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
}

.uh-progress-line-value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 !important;
  white-space: nowrap;
}

.uh-progress-line-value strong {
  color: rgb(var(--uh-progress-rgb));
  font-family: "Gentium Book Plus", serif;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 600;
  line-height: 0.82;
}

.uh-progress-line-value span {
  color: rgb(var(--uh-progress-rgb));
  font-family: "Philosopher", serif;
  font-size: var(--uh-font-kicker-card) !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.150em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.uh-progress-line-track {
  position: relative;
  height: 3px;
  margin-top: 30px;
  background: rgba(var(--uh-progress-rgb), 0.14);
}

.uh-progress-line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--uh-progress-number) * 1%);
  background: linear-gradient(90deg,
    rgba(var(--uh-progress-rgb), 0.70),
    rgb(var(--uh-progress-rgb)));
}

.uh-progress-line-marker {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(var(--uh-progress-number) * 1%);
  width: 42px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 5px 8px rgba(var(--uh-progress-rgb), 0.16));
}

.uh-progress-line-marker svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.uh-progress-line-marker circle {
  fill: rgb(var(--uh-progress-rgb));
  stroke: rgba(255, 253, 248, 0.90);
  stroke-width: 1.2;
}

.uh-progress-line-next {
  margin: 17px 0 0 !important;
  color: rgba(var(--uh-progress-rgb), 0.62);
  font-size: 20px !important;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  text-align: right;
}

.uh-progress-line-next span {
  color: rgba(var(--uh-progress-rgb), 0.86);
  font-weight: 400;
}
.uh-cta-invitation .uh-lead-section {
  font-size: var(--uh-font-lead-section);
}

@media (max-width: 781px) {
  .uh-soon-orbit {
    padding-block: clamp(64px, 12vw, 86px);
  }

  .uh-soon-flow {
    margin-top: 30px !important;
  }

  .wp-block-buttons.uh-soon-tags {
    margin-bottom: 24px !important;
  }

  .uh-soon-orbit .uh-soon-annotation {
    font-size: var(--uh-font-lead-card);
    line-height: var(--uh-lead-line-height);
  }

  .uh-progress-line {
    margin-top: 34px;
  }

  .uh-progress-line-head {
    gap: 22px;
  }

  .uh-progress-line-value strong {
    font-size: clamp(44px, 8vw, 56px);
  }
}

@media (max-width: 560px) {
  .uh-progress-line-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .uh-progress-line-value {
    justify-content: flex-start;
  }

  .uh-progress-line-track {
    margin-top: 25px;
  }

  .uh-progress-line-marker {
    width: 36px;
  }

  .uh-progress-line-next {
    margin-top: 18px !important;
    text-align: left;
  }
}

.uh-book-hero-editorial .uh-book-subtitle {
  display: block;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  padding: 0;

  color: var(--uh-book-accent-color);
  font-family: "Gentium Book Plus", serif;
  font-size: var(--uh-font-lead-hero);
  font-style: italic;
  font-weight: 400;
  line-height: var(--uh-lead-line-height);
  letter-spacing: 0;

  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

.uh-book-hero-editorial .uh-book-subtitle::before,
.uh-book-hero-editorial .uh-book-subtitle::after {
  content: none !important;
  display: none !important;
}

.uh-book-hero-editorial .uh-book-annotation {
  width: 100%;
  max-width: none;
  margin: 38px 0 0 !important;

  font-family: "Gentium Book Plus", serif;
  font-size: var(--uh-font-lead-hero);
  font-style: normal;
  font-weight: 400;
  line-height: var(--uh-lead-line-height);
  letter-spacing: 0;
}

.uh-book-hero-editorial .wp-block-buttons.uh-book-hero-cta {
  margin-top: 48px !important;
  margin-bottom: 10px !important;
  gap: 16px 20px;
}

@media (max-width: 689px) {
  .uh-book-hero-editorial .uh-book-subtitle {
    margin-top: 14px;
    font-size: var(--uh-font-lead-hero);
    line-height: var(--uh-lead-line-height);
  }

  .uh-book-hero-editorial .uh-book-annotation {
    margin-top: 30px !important;
  }

  .uh-book-hero-editorial .wp-block-buttons.uh-book-hero-cta {
    margin-top: 38px !important;
    margin-bottom: 6px !important;
    gap: 13px;
  }
}
.uh-tone-cta,
.uh-kicker-hero.uh-tone-cta,
.uh-kicker-section.uh-tone-cta,
.uh-kicker-card.uh-tone-cta {
  --uh-kicker-color: rgb(var(--uh-cta-rgb, 155, 122, 67));
  color: rgb(var(--uh-cta-rgb, 155, 122, 67)) !important;
}
.uh-letter-content .uh-letter-quote {
  font-family: "Gentium Book Plus", serif;
  font-size: 20px !important;
  font-style: italic;
  font-weight: 400;
  font-synthesis: none;
  line-height: var(--uh-lead-line-height);
  letter-spacing: 0;
}
.uh-contact-info::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 781px) {
  .wp-block-columns.uh-content-columns.uh-long-card {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: clamp(14px, 3.5vw, 24px) !important;
    padding: clamp(16px, 3.5vw, 24px) !important;
  }

  .wp-block-columns.uh-long-card > .uh-long-card-media-col {
    flex: 0 0 clamp(96px, 24vw, 150px) !important;
    width: clamp(96px, 24vw, 150px) !important;
    max-width: 150px !important;
    min-width: 0 !important;
  }

  .wp-block-columns.uh-long-card > .uh-long-card-text-col {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .wp-block-columns.uh-long-card .wp-block-image.uh-long-card-media {
    width: 100% !important;
    max-width: 150px !important;
    margin: 0 !important;
  }

  .wp-block-columns.uh-long-card .wp-block-image.uh-long-card-media img {
    display: block;
    width: 100%;
    height: auto;
  }
  .wp-block-columns.uh-contact-columns {
    row-gap: clamp(42px, 7vw, 58px) !important;
  }

  .uh-contact-info-col,
  .uh-contact-info {
    border-top: 0 !important;
  }

  .uh-contact-info {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .wp-block-columns.uh-content-columns.uh-long-card {
    gap: 12px !important;
    padding: 16px !important;
  }

  .wp-block-columns.uh-long-card > .uh-long-card-media-col {
    flex-basis: clamp(76px, 24vw, 110px) !important;
    width: clamp(76px, 24vw, 110px) !important;
  }
}
.uh-progress-line-marker {
  width: 34px;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--uh-progress-rgb), 0.64);
  border-radius: 50%;
  background: #FFF9F2;
  box-shadow:
    0 0 0 4px rgba(var(--uh-progress-rgb), 0.075),
    0 4px 10px rgba(var(--uh-progress-rgb), 0.14);
  filter: none;
}

.uh-progress-line-marker::before {
  content: "★";
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgb(var(--uh-progress-rgb));
  font-family: "Gentium Book Plus", serif;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-0.5px);
}
.uh-progress-line-marker > svg {
  display: none !important;
}

@media (max-width: 560px) {
  .uh-progress-line-marker {
    width: 32px;
  }

  .uh-progress-line-marker::before {
    font-size: 13px;
  }
}
.uh-kicker-hero,
.uh-kicker-section,
.uh-kicker-card {
  color: var(--uh-kicker-color, rgb(var(--uh-cta-rgb, 155, 122, 67)));
}
.uh-long-card-content .uh-lead-card,
.uh-long-card-content > p:not(.uh-kicker-card) {
  font-family: var(--uh-card-font-family);
  font-size: var(--uh-card-font-size) !important;
  font-weight: var(--uh-card-font-weight);
  line-height: var(--uh-card-line-height);
  letter-spacing: var(--uh-card-letter-spacing);
}
.uh-letter-content {
  border-left-color: rgba(var(--uh-cta-rgb, 155, 122, 67), 0.52) !important;
}

.uh-letter-content > .uh-kicker-section {
  --uh-kicker-color: rgb(var(--uh-cta-rgb, 155, 122, 67));
  color: rgb(var(--uh-cta-rgb, 155, 122, 67)) !important;
  font-style: normal;
}

.uh-letter-content p:not(.uh-kicker-section) {
  font-family: "Gentium Book Plus", serif;
  font-style: italic;
  font-weight: 400;
  font-synthesis: none;
}
.uh-gallery-slider {
  --wp--custom--carousel-block--navigation-color: rgb(var(--uh-cta-rgb, 155, 122, 67));
  --wp--custom--carousel-block--navigation-hover-color: #7F6033;
  --wp--custom--carousel-block--pagination-bullet-active-color: rgb(var(--uh-cta-rgb, 155, 122, 67));
  --wp--custom--carousel-block--pagination-bullet-inactive-color: rgba(var(--uh-cta-rgb, 155, 122, 67), 0.30);
  --wp--custom--carousel-block--pagination-bullet-inactive-hover-color: rgba(var(--uh-cta-rgb, 155, 122, 67), 0.64);
}

.uh-gallery-slider :is(.swiper-button-prev, .swiper-button-next) {
  color: rgb(var(--uh-cta-rgb, 155, 122, 67)) !important;
}

.uh-gallery-slider .swiper-pagination-bullet {
  background-color: rgba(var(--uh-cta-rgb, 155, 122, 67), 0.34) !important;
}

.uh-gallery-slider .swiper-pagination-bullet-active {
  background-color: rgb(var(--uh-cta-rgb, 155, 122, 67)) !important;
  opacity: 1 !important;
}
.uh-progress-line-marker {
  display: grid;
  place-items: center;
  color: rgb(var(--uh-progress-rgb));
}

.uh-progress-line-marker::before {
  content: "";
  display: block;
  width: 56%;
  height: 56%;
  clip-path: polygon(
    50% 0%, 58% 39%, 100% 50%, 58% 61%,
    50% 100%, 42% 61%, 0% 50%, 42% 39%
  );
  transform: none;
}

@media (max-width: 1024px) {
  .wp-block-columns.uh-card-columns {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .wp-block-columns.uh-card-columns > .wp-block-column {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: min(100%, var(--uh-collapsed-card-max)) !important;
    max-width: var(--uh-collapsed-card-max) !important;
    margin-inline: auto !important;
  }

  .wp-block-columns.uh-card-columns > .wp-block-column > .uh-content-card {
    width: 100% !important;
    max-width: none !important;
  }

  /* Блок №9 без иллюстраций: после сворачивания каждая карточка
     занимает всю ширину внутреннего контейнера. */
  .uh-text-card-block .wp-block-columns.uh-card-columns {
    align-items: stretch !important;
  }

  .uh-text-card-block .wp-block-columns.uh-card-columns > .wp-block-column {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  .wp-block-columns.uh-home-series-grid {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .wp-block-columns.uh-home-series-grid > .wp-block-column {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* В блоке №8, карточках без иллюстраций и «Оттенках карточек»
     уменьшается вся карточка, а не только её изображение. */
  .wp-block-columns.uh-card-columns .wp-block-image.uh-card-media {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: var(--uh-radius-card) var(--uh-radius-card) 0 0;
  }

  .wp-block-columns.uh-card-columns .wp-block-image.uh-card-media > img {
    display: block;
    width: 100% !important;
    height: auto;
    border-radius: inherit !important;
  }

  /* Карточки книжных серий (#10) после сворачивания вновь занимают
     всю ширину контейнера вместе с иллюстрацией. */
  .wp-block-columns.uh-home-series-grid .uh-home-series-card,
  .wp-block-columns.uh-home-series-grid .wp-block-image.uh-card-media {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .wp-block-columns.uh-home-series-grid .wp-block-image.uh-card-media > img {
    display: block;
    width: 100% !important;
    height: auto;
    border-radius: var(--uh-radius-card) var(--uh-radius-card) 0 0 !important;
  }
}

@media (max-width: 781px) {
  :root {
    --uh-collapsed-card-max: 360px;
  }

  .uh-start-universal .uh-start-columns,
  .uh-watercolor-test .uh-start-columns {
    row-gap: clamp(50px, 9vw, 68px) !important;
  }

  .uh-start-universal .wp-block-image.uh-start-media,
  .uh-watercolor-test .wp-block-image.uh-start-media {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  .uh-illustrated-card-block .wp-block-columns.uh-card-columns,
  .uh-card-surface-comparison .wp-block-columns.uh-card-columns {
    align-items: stretch !important;
  }

  .uh-illustrated-card-block .wp-block-columns.uh-card-columns > .wp-block-column,
  .uh-card-surface-comparison .wp-block-columns.uh-card-columns > .wp-block-column {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
}

@media (max-width: 1024px) {
  .uh-start-book-block .uh-start-columns,
  .uh-starter-kit-block .uh-starter-kit-columns {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .uh-start-book-block .uh-start-columns > .uh-content-text-col,
  .uh-starter-kit-block .uh-starter-kit-columns > .uh-content-text-col {
    order: 1 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .uh-start-book-block .uh-start-columns > .uh-content-media-col,
  .uh-starter-kit-block .uh-starter-kit-columns > .uh-content-media-col {
    order: 2 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .uh-start-book-block .uh-start-columns > .uh-content-media-col {
    display: flex;
    justify-content: center;
  }
}

.uh-progress-line-marker {
  color: #FFF9F2 !important;
  border-color: rgba(var(--uh-progress-rgb), 0.92) !important;
  background: rgb(var(--uh-progress-rgb)) !important;
  box-shadow:
    0 0 0 4px rgba(var(--uh-progress-rgb), 0.10),
    0 5px 11px rgba(var(--uh-progress-rgb), 0.20) !important;
}

.uh-progress-line-marker::before {
  background: currentColor;
}

.uh-progress-line-marker::before,
.uh-progress-line-marker::after {
  content: none !important;
  display: none !important;
}

.uh-progress-line-marker > svg.uh-progress-marker-icon {
  position: relative;
  z-index: 3;
  display: block !important;
  width: 74% !important;
  height: 74% !important;
  overflow: visible;
  filter: none;
}

.uh-progress-marker-icon .uh-marker-light {
  fill: #FFF9F2;
}

@media (max-width: 560px) {
  .uh-progress-line-marker > svg.uh-progress-marker-icon {
    width: 76% !important;
    height: 76% !important;
  }
}
figure.wp-block-image.uh-starter-kit-media {
  overflow: hidden !important;
  overflow: clip !important;
  border: 1px solid rgba(190, 169, 143, 0.34) !important;
  border-radius: var(--uh-radius-media) !important;
  background: #F7F0E5;
  box-shadow: var(--uh-media-shadow) !important;
  isolation: isolate;
}

figure.wp-block-image.uh-starter-kit-media > img {
  border-radius: inherit !important;
}

@media (max-width: 1024px) {
  .uh-start-block .wp-block-columns.uh-start-columns {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .uh-start-block .uh-start-columns > .uh-content-text-col {
    order: 1 !important;
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .uh-start-block .uh-start-columns > .uh-content-media-col {
    order: 2 !important;
    display: flex;
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    justify-content: center;
  }
  .uh-start-book-block:has(.uh-start-media-book-single)
  .uh-content-media-col .wp-block-image.uh-start-media-book-single {
    width: min(100%, 370px) !important;
    max-width: 370px !important;
    margin-inline: auto !important;
    transform: none !important;
  }

  /* В стартовом комплекте при сворачивании изображение занимает всю
     доступную ширину колонки, как медиа в hero. */
  .uh-starter-kit-block .uh-content-media-col
  .wp-block-image.uh-starter-kit-media {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 560px) {
  .uh-start-book-block:has(.uh-start-media-book-single)
  .uh-content-media-col .wp-block-image.uh-start-media-book-single {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    transform: none !important;
  }
}

/* БСКП «Новинка» / «Книга месяца»: прозрачная крупная обложка.
   Тень состоит из лёгкого воздушного слоя и короткой контактной опоры:
   книга сохраняет объём, но ореол не доходит до нижнего перехода секции. */
.uh-start-book-block .wp-block-image.uh-start-media-book-single {
  width: min(100%, 470px) !important;
  max-width: 470px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  transform: none !important;
  transform-origin: center center !important;
}

/* Блок №4: уменьшаем обложку только на десктопе.
   Планшетные и мобильные значения 370/300 px остаются без изменений. */
@media (min-width: 1025px) {
  .uh-start-book-block .wp-block-image.uh-start-media-book-single {
    width: min(100%, 400px) !important;
    max-width: 400px !important;
  }
}

.uh-start-book-block .wp-block-image.uh-start-media-book-single img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 15px 18px rgba(47, 41, 37, 0.105))
    drop-shadow(6px 8px 11px rgba(47, 41, 37, 0.050))
    drop-shadow(0 2px 3px rgba(47, 41, 37, 0.075)) !important;
}

@media (max-width: 1024px) {
  .uh-start-book-block .wp-block-image.uh-start-media-book-single img {
    filter:
      drop-shadow(0 13px 16px rgba(47, 41, 37, 0.100))
      drop-shadow(5px 6px 9px rgba(47, 41, 37, 0.045))
      drop-shadow(0 2px 3px rgba(47, 41, 37, 0.070)) !important;
  }
}

@media (max-width: 560px) {
  .uh-start-book-block .wp-block-image.uh-start-media-book-single img {
    filter:
      drop-shadow(0 11px 14px rgba(47, 41, 37, 0.095))
      drop-shadow(4px 5px 8px rgba(47, 41, 37, 0.040))
      drop-shadow(0 2px 3px rgba(47, 41, 37, 0.065)) !important;
  }
}
.uh-contact-email {
  display: inline-block;
  width: fit-content;
  margin-top: clamp(18px, 2.2vw, 28px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgb(var(--uh-cta-rgb, 155, 122, 67)) !important;
  font-family: "Philosopher", serif;
  font-size: clamp(24px, 1.9vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.012em;
  text-decoration: none;
}
.uh-contact-email::before {
  content: none;
  display: none;
}
.uh-contact-email a {
  color: inherit !important;
  text-decoration: none;
}

/* =========================================================
   ГЛАВНАЯ — локальные модификаторы выбранных фонов
   23 июля 2026
   ========================================================= */

/* Hero Главной: утверждённая удлинённая иллюстрация теперь назначена
   общей переменной --uh-hero-romantic-image и поэтому используется
   также двумя основными Hero Мастер-страницы. */
.uh-hero-bg-png.uh-hero-bg-romantic.uh-home-hero-flow {
  --uh-home-hero-overlap: clamp(100px, 8vw, 150px);
  --uh-romantic-desktop-canvas-height:
    calc(
      clamp(88px, 7vw, 118px)
      + clamp(520px, 42vw, 690px)
      + clamp(86px, 6.2vw, 114px)
      + clamp(100px, 8vw, 150px)
    );

  z-index: 0;
  margin-bottom: calc(0px - var(--uh-home-hero-overlap)) !important;
  padding-bottom: calc(clamp(86px, 6.2vw, 114px) + var(--uh-home-hero-overlap)) !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;

  /* Нижняя часть базовой поверхности приходит точно к цвету страницы.
     Этот слой находится ПОД иллюстрацией и не закрывает ленты. */
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0%,
      rgba(251, 248, 242, 0) 72%,
      rgba(251, 248, 242, 0.20) 84%,
      rgba(251, 248, 242, 0.62) 94%,
      var(--uh-page) 100%
    ),
    radial-gradient(700px 460px at 10% 88%, rgba(243, 237, 227, 0.78) 0%, rgba(243, 237, 227, 0) 72%),
    radial-gradient(780px 540px at 100% 42%, rgba(138, 90, 82, 0.115) 0%, rgba(138, 90, 82, 0) 74%),
    radial-gradient(560px 360px at 78% 100%, rgba(250, 247, 241, 0.46) 0%, rgba(250, 247, 241, 0) 80%),
    radial-gradient(560px 360px at 48% 10%, rgba(255, 252, 247, 0.58) 0%, rgba(255, 252, 247, 0) 68%),
    linear-gradient(
      90deg,
      #F7F2EA 0%,
      #FFFCF7 36%,
      #FAF7F1 58%,
      #F4E9E9 100%
    ) !important;
}

.uh-hero-bg-png.uh-hero-bg-romantic.uh-home-hero-flow::before {
  background-position: center center !important;
  background-size: cover !important;
}

.uh-hero-bg-png.uh-hero-bg-romantic.uh-home-hero-flow::after {
  background:
    linear-gradient(
      rgba(255, 252, 247, var(--uh-romantic-adaptive-veil)),
      rgba(255, 252, 247, var(--uh-romantic-adaptive-veil))
    ),
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0%,
      rgba(251, 248, 242, 0) 88%,
      rgba(251, 248, 242, 0.02) 93%,
      rgba(251, 248, 242, 0.06) 97%,
      rgba(251, 248, 242, 0.10) 100%
    ),
    linear-gradient(
      rgba(255, 252, 247, 0.05),
      rgba(255, 252, 247, 0.05)
    ),
    radial-gradient(
      ellipse 58% 60% at 0% 0%,
      rgba(255, 252, 247, 0.30) 0%,
      rgba(255, 252, 247, 0.22) 34%,
      rgba(255, 252, 247, 0.10) 66%,
      rgba(255, 252, 247, 0.00) 100%
    ),
    var(--uh-romantic-side-veil),
    radial-gradient(
      760px 540px at var(--uh-romantic-text-x) 48%,
      rgba(255, 252, 247, 0.10) 0%,
      rgba(255, 252, 247, 0.04) 48%,
      rgba(255, 252, 247, 0.00) 76%
    ) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

@media (min-width: 1025px) {
  .uh-hero-bg-png.uh-hero-bg-romantic.uh-home-hero-flow::before {
    /* Единый холст не зависит от количества текста и кнопок на странице:
       иллюстрация больше не меняет масштаб и кадрирование от Hero к Hero. */
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: var(--uh-romantic-desktop-canvas-height) !important;
    background-position: center center !important;
    background-size: cover !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 93%,
      rgba(0, 0, 0, 0.96) 95%,
      rgba(0, 0, 0, 0.62) 98%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 93%,
      rgba(0, 0, 0, 0.96) 95%,
      rgba(0, 0, 0, 0.62) 98%,
      transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}

/* «Новинка» и «Книга месяца» поднимаются на мягкий нижний шлейф Hero.
   Светлая поверхность сохраняется за композицией и растворяется в точный
   фон страницы только в короткой нижней зоне самой секции. */
.uh-home-hero-flow + .uh-start-book-block {
  --uh-home-hero-overlap: clamp(100px, 8vw, 150px);
  --uh-featured-section-surface: var(--uh-panel);
  --uh-featured-section-flow-size: clamp(72px, 5.6vw, 96px);

  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0,
      rgba(251, 248, 242, 0) calc(var(--uh-home-hero-overlap) - 1px),
      var(--uh-featured-section-surface) var(--uh-home-hero-overlap),
      var(--uh-featured-section-surface) calc(100% - var(--uh-featured-section-flow-size)),
      #FEFBF6 calc(100% - (var(--uh-featured-section-flow-size) * 0.72)),
      #FDF9F4 calc(100% - (var(--uh-featured-section-flow-size) * 0.42)),
      #FCF9F3 calc(100% - (var(--uh-featured-section-flow-size) * 0.18)),
      var(--uh-page) 100%
    ) !important;
  box-shadow: none !important;
}

.uh-home-hero-flow + .uh-buy-format-block,
.uh-home-hero-flow + .uh-contact-page-block,
.uh-home-hero-flow + .uh-about-biography-block,
.uh-home-hero-flow + .uh-blog-subscribe-clean,
.uh-home-hero-flow + .uh-reviews-page-block {
  --uh-home-hero-overlap: clamp(100px, 8vw, 150px);
  --uh-featured-section-surface: var(--uh-page);
  --uh-featured-section-flow-size: var(--uh-section-flow-size);

  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0) 0,
      rgba(251, 248, 242, 0) calc(var(--uh-home-hero-overlap) - 1px),
      var(--uh-featured-section-surface) var(--uh-home-hero-overlap),
      var(--uh-featured-section-surface) calc(100% - var(--uh-featured-section-flow-size)),
      var(--uh-page) 100%
    ) !important;
  box-shadow: none !important;
}

.uh-home-hero-flow + .uh-start-book-block::after,
.uh-home-hero-flow + .uh-buy-format-block::after,
.uh-home-hero-flow + .uh-contact-page-block::after,
.uh-home-hero-flow + .uh-about-biography-block::after,
.uh-home-hero-flow + .uh-blog-subscribe-clean::after,
.uh-home-hero-flow + .uh-reviews-page-block::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(251, 248, 242, 0.10) 0,
      rgba(251, 248, 242, 0.22) calc(var(--uh-home-hero-overlap) * 0.30),
      rgba(251, 248, 242, 0.52) calc(var(--uh-home-hero-overlap) * 0.62),
      rgba(251, 248, 242, 0.82) calc(var(--uh-home-hero-overlap) * 0.86),
      var(--uh-page) var(--uh-home-hero-overlap),
      var(--uh-page) calc(var(--uh-home-hero-overlap) * 1.08),
      rgba(251, 248, 242, 0.58) calc(var(--uh-home-hero-overlap) * 1.24),
      rgba(251, 248, 242, 0) calc(var(--uh-home-hero-overlap) * 1.48),
      rgba(251, 248, 242, 0) 100%
    ) !important;
}

/* Блоки 4–6 находятся внутри одной общей группы. Фарфоровый фон
   принадлежит только обёртке, а не повторяется на каждой секции. */
.uh-home-porcelain-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-top: 0 !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  background:
    linear-gradient(
      to bottom,
      var(--uh-page) 0,
      rgba(251, 248, 242, 0.68) 34px,
      rgba(251, 248, 242, 0) 126px,
      rgba(251, 248, 242, 0) calc(100% - 126px),
      rgba(251, 248, 242, 0.68) calc(100% - 34px),
      var(--uh-page) 100%
    ),
    radial-gradient(
      ellipse 86% 112% at -10% 50%,
      rgba(255,255,255,0.54) 0 34%,
      rgba(255,255,255,0) 74%
    ),
    radial-gradient(
      ellipse 72% 112% at 110% 50%,
      rgba(200,151,132,0.10),
      rgba(200,151,132,0) 74%
    ),
    linear-gradient(112deg, #FFFDF9 0%, #FBF5EC 52%, #F5EBDD 100%) !important;
}

.uh-home-porcelain-band > .uh-content-section {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.uh-home-porcelain-band > .uh-content-section::after {
  content: none !important;
  display: none !important;
}

.uh-home-porcelain-band > .uh-content-section
  + .uh-content-section {
  margin-top: 0 !important;
}

/* Вариант 02 «Компас с розами»: левая колонка блока №2. */
.uh-content-section.uh-watercolor-test.uh-watercolor-left::before {
  right: auto !important;
  left: clamp(-70px, -4vw, -28px) !important;
  background-position: left bottom !important;
}

/* На широком экране компас расположен ниже: под кнопкой остаётся
   только его верхняя часть, а не вся иллюстрация. */
@media (min-width: 690px) {
  .uh-content-section.uh-watercolor-test.uh-watercolor-left::before {
    bottom: clamp(-24px, -1.2vw, -6px) !important;
  }
}

/* Блок «Скоро»: две самостоятельные акварельные кулисы
   располагаются по внешним краям секции. Центральная область
   остаётся свободной для текста, CSS-размытие не используется. */
.uh-content-section.uh-home-shabby-frame {
  background-color: var(--uh-page) !important;
  background-image:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251, 248, 242, 0.58) 6%,
      rgba(251, 248, 242, 0) 14%,
      rgba(251, 248, 242, 0) 86%,
      rgba(251, 248, 242, 0.58) 94%,
      var(--uh-page) 100%
    ),
    linear-gradient(
      rgba(251, 248, 242, 0.14),
      rgba(251, 248, 242, 0.14)
    ),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
  background-repeat: no-repeat !important;
  background-position:
    center center,
    center center,
    left center,
    right center !important;
  background-size:
    100% 100%,
    100% 100%,
    auto 100%,
    auto 100% !important;
}

/* Внутренние края уже растворены в самих PNG, поэтому прежняя
   размывающая вуаль Shabby полностью отключена. */
.uh-content-section.uh-home-shabby-frame::before {
  content: none !important;
  display: none !important;
}

/* В той же точке 1024px, где три карточки складываются
   в одну колонку, левая кулиса убирается. Правая кулиса
   осветляется вуалью со стороны текста. */
@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251, 248, 242, 0.88) 6%,
        rgba(251, 248, 242, 0.48) 13%,
        rgba(251, 248, 242, 0.16) 20%,
        rgba(251, 248, 242, 0.16) 84%,
        rgba(251, 248, 242, 0.58) 93%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        rgba(251, 248, 242, 0.20),
        rgba(251, 248, 242, 0.20)
      ),
      linear-gradient(
        to left,
        rgba(251, 248, 242, 0.40) 0%,
        rgba(251, 248, 242, 0.60) 30%,
        rgba(251, 248, 242, 0.95) 66%,
        var(--uh-page) 84%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat !important;
    background-position:
      center center,
      center center,
      center center,
      right top !important;
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      auto 100% !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251, 248, 242, 0.92) 6%,
        rgba(251, 248, 242, 0.60) 13%,
        rgba(251, 248, 242, 0.22) 20%,
        rgba(251, 248, 242, 0.22) 84%,
        rgba(251, 248, 242, 0.64) 93%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        rgba(251, 248, 242, 0.26),
        rgba(251, 248, 242, 0.26)
      ),
      linear-gradient(
        to left,
        rgba(251, 248, 242, 0.48) 0%,
        rgba(251, 248, 242, 0.68) 30%,
        rgba(251, 248, 242, 0.96) 66%,
        var(--uh-page) 84%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat !important;
    background-position:
      center center,
      center center,
      center center,
      right top !important;
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      auto 100% !important;
  }
}

/* Финальный CTA: утверждённая центровая композиция не меняется.
   Кот на книгах остаётся полупрозрачным акцентом слева. */
.uh-content-section.uh-cta-invitation.uh-ill-wc-23::before {
  top: auto !important;
  right: auto !important;
  bottom: clamp(-26px, -1.2vw, -14px) !important;
  left: clamp(-90px, -4vw, -36px) !important;
  width: min(28vw, 420px) !important;
  height: min(28vw, 420px) !important;
  background-position: left bottom !important;
  opacity: 0.34 !important;
}

@media (max-width: 1024px) {
  .uh-hero-bg-png.uh-hero-bg-romantic.uh-home-hero-flow {
    --uh-home-hero-overlap: clamp(76px, 9vw, 108px);
    padding-bottom: calc(66px + var(--uh-home-hero-overlap)) !important;
  }

  /* Единый адаптивный фрагмент романтического фона для Главной
     и двух шаблонов Hero на Мастер-странице. */
  .uh-hero-bg-png.uh-hero-bg-romantic.uh-hero-photo-left::before,
  .uh-hero-bg-png.uh-hero-bg-romantic.uh-hero-photo-right::before {
    background-position: 78% top !important;
    background-size: auto 100% !important;
    opacity: 0.90 !important;
    transform: none !important;
    transform-origin: right top !important;
  }

  .uh-home-hero-flow + .uh-start-book-block,
.uh-home-hero-flow + .uh-buy-format-block,
.uh-home-hero-flow + .uh-contact-page-block,
.uh-home-hero-flow + .uh-about-biography-block,
.uh-home-hero-flow + .uh-blog-subscribe-clean,
.uh-home-hero-flow + .uh-reviews-page-block {
    --uh-home-hero-overlap: clamp(76px, 9vw, 108px);
  }

  .uh-content-section.uh-watercolor-test.uh-watercolor-left::before {
    right: auto !important;
    left: -92px !important;
  }
}

@media (max-width: 781px) {
  .uh-hero-bg-png.uh-hero-bg-romantic {
    --uh-romantic-adaptive-veil: 0.48;
  }

  .uh-hero-bg-png.uh-hero-bg-romantic.uh-home-hero-flow {
    --uh-home-hero-overlap: clamp(48px, 12vw, 72px);
  }

  .uh-home-hero-flow + .uh-start-book-block,
.uh-home-hero-flow + .uh-buy-format-block,
.uh-home-hero-flow + .uh-contact-page-block,
.uh-home-hero-flow + .uh-about-biography-block,
.uh-home-hero-flow + .uh-blog-subscribe-clean,
.uh-home-hero-flow + .uh-reviews-page-block {
    --uh-home-hero-overlap: clamp(48px, 12vw, 72px);
    --uh-featured-section-flow-size: var(--uh-section-flow-size-mobile);
  }

  .uh-home-porcelain-band {
    background:
      linear-gradient(
        to bottom,
        var(--uh-page) 0,
        rgba(251, 248, 242, 0.56) 24px,
        rgba(251, 248, 242, 0) 76px,
        rgba(251, 248, 242, 0) calc(100% - 76px),
        rgba(251, 248, 242, 0.56) calc(100% - 24px),
        var(--uh-page) 100%
      ),
      linear-gradient(112deg, #FFFDF9 0%, #FBF5EC 52%, #F5EBDD 100%) !important;
  }

  .uh-content-section.uh-cta-invitation.uh-ill-wc-23::before {
    top: auto !important;
    right: auto !important;
    bottom: -10px !important;
    left: -92px !important;
    width: min(64vw, 250px) !important;
    height: min(64vw, 250px) !important;
    opacity: 0.24 !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-watercolor-test.uh-watercolor-left::before {
    right: auto !important;
    left: -110px !important;
  }

  /* На телефоне убирается дополнительный сдвиг кулисы:
     изображение полностью возвращается к правому краю. */
  .uh-content-section.uh-home-shabby-frame {
    background-position:
      center center,
      center center,
      right top !important;
  }

  /* Дополнительное нижнее пространство отделяет кнопки от подвала.
     Котик, привязанный к нижнему краю секции, опускается вместе
     с линией подвала и больше не заходит головой под кнопки. */
  .uh-content-section.uh-cta-invitation {
    padding-bottom: clamp(128px, 30vw, 158px) !important;
  }

  /* На телефоне изображение котика полностью находится внутри
     границ CTA: без отрицательного смещения слева и снизу. */
  .uh-content-section.uh-cta-invitation.uh-ill-wc-23::before {
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
  }
}

/* Главная, секция №2 «Новинка»: вариант 57
   «Письмо с пером». Новая облегчённая иллюстрация теперь
   является общим вариантом №57 и на Мастер-странице. */
.uh-content-section.uh-start-book-block.uh-ill-wc-57.uh-watercolor-left {
  --uh-ill-opacity: 0.40;
}

/* Новое «Письмо с пером» поднимается только в секции
   «Новинка» на Главной. Горизонтальное положение и размер
   иллюстрации сохраняются. */
@media (min-width: 690px) {
  .uh-content-section.uh-start-book-block.uh-ill-wc-57.uh-watercolor-left::before {
    bottom: clamp(104px, 7vw, 140px) !important;
  }
}

/* Главная: уплотняется только переход от «Новинки» к
   «Книжным сериям». Общие отступы этих шаблонов не меняются. */
@media (min-width: 782px) {
  .uh-content-section.uh-start-book-block.uh-ill-wc-57:has(.uh-start-media-book-single) {
    padding-bottom: clamp(36px, 3.4vw, 56px) !important;
  }

  .uh-content-section.uh-start-book-block.uh-ill-wc-57
    + .uh-content-section.uh-home-series-block {
    padding-top: clamp(34px, 3.2vw, 52px) !important;
  }
}

/* Главная, секция №2 «Новинка»: вариант 59 «Перо».
   Корректируется только положение иллюстрации в этом блоке;
   шаблон №59 на Мастер-странице остаётся без изменений. */
@media (min-width: 690px) {
  .uh-content-section.uh-start-book-block.uh-ill-wc-59.uh-watercolor-left::before {
    right: auto !important;
    left: clamp(-10px, 1.8vw, 28px) !important;
    bottom: clamp(52px, 4vw, 78px) !important;
  }
}


/* Главная: декоративный орнамент между «Книжными сериями» и блоком «Об авторе». */
.uh-home-author-ornament {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: min(calc(100% - (var(--uh-content-x) * 2)), 760px);
  height: clamp(66px, 6.4vw, 88px);
  margin: 0 auto !important;
}

.uh-home-author-ornament::before,
.uh-home-author-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 38px);
  height: clamp(18px, 2vw, 24px);
  border-top: 1px solid rgba(var(--uh-cta-rgb), 0.34);
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 100% 2px, rgba(var(--uh-cozy-rgb), 0.42) 0 2px, transparent 2.6px),
    radial-gradient(circle at 84% 7px, rgba(var(--uh-cta-rgb), 0.30) 0 1.5px, transparent 2.2px);
}

.uh-home-author-ornament::before {
  left: 0;
  transform: translateY(-2px) rotate(-2deg);
}

.uh-home-author-ornament::after {
  right: 0;
  transform: translateY(-2px) rotate(2deg) scaleX(-1);
}

.uh-home-author-ornament > span {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(var(--uh-cta-rgb), 0.40);
  border-radius: 7px 2px 7px 2px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.86), rgba(255,255,255,0) 46%),
    linear-gradient(135deg, rgba(var(--uh-cta-rgb),0.22), rgba(var(--uh-cozy-rgb),0.14));
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.34),
    0 7px 16px rgba(47,41,37,0.07);
  transform: rotate(45deg);
}

.uh-home-author-ornament > span::before,
.uh-home-author-ornament > span::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(var(--uh-cozy-rgb), 0.46);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.48);
}

.uh-home-author-ornament > span::before {
  top: -14px;
  left: -14px;
}

.uh-home-author-ornament > span::after {
  right: -14px;
  bottom: -14px;
}

/* Главная: блок «Об авторе» использует систему акварельных фоновых иллюстраций. */
.uh-home-author-block {
  padding-top: clamp(38px, 4vw, 60px) !important;
  padding-bottom: clamp(44px, 4.6vw, 68px) !important;
}

.uh-home-author-star {
  --uh-ill-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/zvezda_soft_navy_refined.png");
  --uh-ill-opacity: 0.22;
  --uh-watercolor-box-width: min(23vw, 292px);
  --uh-watercolor-box-height: min(23vw, 292px);
  --uh-watercolor-right: clamp(8px, 2vw, 30px);
  --uh-watercolor-bottom: clamp(40px, 4.5vw, 70px);
}

/* Главная: блок из трёх карточек стоит ближе к «Об авторе». */
.uh-home-followup-cards {
  padding-top: clamp(22px, 2.4vw, 36px) !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    right: -8px !important;
    bottom: 9% !important;
    width: min(34vw, 230px) !important;
    height: min(34vw, 230px) !important;
    opacity: 0.17 !important;
  }
}

@media (max-width: 781px) {
  .uh-home-author-ornament {
    width: min(calc(100% - 40px), 560px);
    height: 62px;
  }

  .uh-home-author-ornament::before,
  .uh-home-author-ornament::after {
    width: calc(50% - 32px);
  }

  .uh-home-author-block {
    padding-top: clamp(28px, 6vw, 40px) !important;
    padding-bottom: clamp(30px, 6vw, 42px) !important;
  }

  .uh-home-followup-cards {
    padding-top: clamp(14px, 3.6vw, 24px) !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    top: clamp(116px, 27vw, 156px) !important;
    right: -76px !important;
    bottom: auto !important;
    width: min(46vw, 214px) !important;
    height: min(46vw, 214px) !important;
    opacity: 0.13 !important;
  }
}


/* Главная: крупный разделитель в духе орнамента под кикером.
   Версия без лишней декоративности: длинные линии и центральная звезда. */
.uh-home-author-ornament {
  width: min(calc(100% - (var(--uh-content-x) * 2)), 760px);
  height: clamp(72px, 6.2vw, 94px);
  margin: 0 auto !important;
}

.uh-home-author-ornament::before,
.uh-home-author-ornament::after {
  top: 50%;
  width: calc(50% - 34px);
  height: 0;
  border-top: 1px solid rgba(177, 153, 126, 0.72);
  border-radius: 0;
  background: none;
}

.uh-home-author-ornament::before {
  left: 0;
  transform: translateY(-50%);
}

.uh-home-author-ornament::after {
  right: 0;
  transform: translateY(-50%);
}

.uh-home-author-ornament > span {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(177,153,126,0.92), rgba(177,153,126,0.72));
  box-shadow: none;
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
  transform: none;
}

.uh-home-author-ornament > span::before,
.uh-home-author-ornament > span::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 781px) {
  .uh-home-author-ornament {
    width: min(calc(100% - 40px), 560px);
    height: 64px;
  }

  .uh-home-author-ornament::before,
  .uh-home-author-ornament::after {
    width: calc(50% - 28px);
  }

  .uh-home-author-ornament > span {
    width: 16px;
    height: 16px;
  }
}

/* Главная: секция «Скоро» — боковые кулисы приглушены. */
.uh-content-section.uh-home-shabby-frame {
  background-image:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251, 248, 242, 0.66) 6%,
      rgba(251, 248, 242, 0.10) 14%,
      rgba(251, 248, 242, 0.10) 86%,
      rgba(251, 248, 242, 0.66) 94%,
      var(--uh-page) 100%
    ),
    linear-gradient(
      rgba(251, 248, 242, 0.22),
      rgba(251, 248, 242, 0.22)
    ),
    linear-gradient(
      to right,
      rgba(251, 248, 242, 0.96) 0%,
      rgba(251, 248, 242, 0.62) 12%,
      rgba(251, 248, 242, 0.18) 24%,
      rgba(251, 248, 242, 0) 35%,
      rgba(251, 248, 242, 0) 65%,
      rgba(251, 248, 242, 0.18) 76%,
      rgba(251, 248, 242, 0.62) 88%,
      rgba(251, 248, 242, 0.96) 100%
    ),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
  background-repeat: no-repeat !important;
  background-position:
    center center,
    center center,
    center center,
    left center,
    right center !important;
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    auto 84%,
    auto 84% !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251, 248, 242, 0.80) 6%,
        rgba(251, 248, 242, 0.32) 13%,
        rgba(251, 248, 242, 0.08) 20%,
        rgba(251, 248, 242, 0.08) 84%,
        rgba(251, 248, 242, 0.48) 93%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        to left,
        rgba(251, 248, 242, 0.38) 0%,
        rgba(251, 248, 242, 0.58) 28%,
        rgba(251, 248, 242, 0.92) 60%,
        var(--uh-page) 82%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat !important;
    background-position:
      center center,
      center center,
      right top !important;
    background-size:
      100% 100%,
      100% 100%,
      auto 84% !important;
  }
}


/* Главная: звезда «Наследие» — явное создание псевдоэлемента.
   Блок использует систему акварельных фонов, но его служебный класс
   не начинается с uh-ill-, поэтому базовый селектор не создавал ::before. */
.uh-content-section.uh-watercolor-test.uh-home-author-star::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  pointer-events: none !important;
  top: auto !important;
  right: clamp(10px, 2.4vw, 38px) !important;
  bottom: clamp(42px, 4.8vw, 76px) !important;
  left: auto !important;
  width: min(27vw, 350px) !important;
  height: min(27vw, 350px) !important;
  background-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/zvezda_soft_navy_refined.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  opacity: 0.30 !important;
  filter: saturate(0.82) contrast(1.08) !important;
  transform: none !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    top: auto !important;
    right: -4px !important;
    bottom: 8% !important;
    width: min(38vw, 270px) !important;
    height: min(38vw, 270px) !important;
    opacity: 0.24 !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    top: clamp(108px, 26vw, 150px) !important;
    right: -48px !important;
    bottom: auto !important;
    width: min(54vw, 236px) !important;
    height: min(54vw, 236px) !important;
    opacity: 0.20 !important;
  }
}


/* Главная: уточнение по замечаниям.
   Кулисы в секции «Скоро» снова читаются лучше,
   а звезда «Наследие» стала примерно вдвое меньше и мягче. */
.uh-content-section.uh-home-shabby-frame {
  background-image:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251, 248, 242, 0.62) 6%,
      rgba(251, 248, 242, 0.04) 14%,
      rgba(251, 248, 242, 0.04) 86%,
      rgba(251, 248, 242, 0.62) 94%,
      var(--uh-page) 100%
    ),
    linear-gradient(
      rgba(251, 248, 242, 0.12),
      rgba(251, 248, 242, 0.12)
    ),
    linear-gradient(
      to right,
      rgba(251, 248, 242, 0.54) 0%,
      rgba(251, 248, 242, 0.22) 12%,
      rgba(251, 248, 242, 0.06) 24%,
      rgba(251, 248, 242, 0) 35%,
      rgba(251, 248, 242, 0) 65%,
      rgba(251, 248, 242, 0.06) 76%,
      rgba(251, 248, 242, 0.22) 88%,
      rgba(251, 248, 242, 0.54) 100%
    ),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
  background-repeat: no-repeat !important;
  background-position:
    center center,
    center center,
    center center,
    left center,
    right center !important;
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    auto 92%,
    auto 92% !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251, 248, 242, 0.78) 6%,
        rgba(251, 248, 242, 0.24) 13%,
        rgba(251, 248, 242, 0.04) 20%,
        rgba(251, 248, 242, 0.04) 84%,
        rgba(251, 248, 242, 0.42) 93%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        to left,
        rgba(251, 248, 242, 0.18) 0%,
        rgba(251, 248, 242, 0.34) 28%,
        rgba(251, 248, 242, 0.78) 60%,
        var(--uh-page) 82%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat !important;
    background-position:
      center center,
      center center,
      right top !important;
    background-size:
      100% 100%,
      100% 100%,
      auto 92% !important;
  }
}

.uh-content-section.uh-watercolor-test.uh-home-author-star::before {
  right: clamp(16px, 2.8vw, 42px) !important;
  bottom: clamp(44px, 4.8vw, 76px) !important;
  width: min(13.5vw, 175px) !important;
  height: min(13.5vw, 175px) !important;
  opacity: 0.16 !important;
  filter: saturate(0.68) contrast(0.98) !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    right: 8px !important;
    bottom: 10% !important;
    width: min(19vw, 136px) !important;
    height: min(19vw, 136px) !important;
    opacity: 0.13 !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    top: clamp(112px, 26vw, 148px) !important;
    right: -18px !important;
    bottom: auto !important;
    width: min(28vw, 118px) !important;
    height: min(28vw, 118px) !important;
    opacity: 0.11 !important;
  }
}


/* Главная: уточнение по последнему замечанию.
   Разделитель получает мягкие окончания, а звезда «Наследие»
   становится крупнее и заметнее, но всё ещё остаётся фоновым акцентом. */
.uh-home-author-ornament {
  width: min(calc(100% - (var(--uh-content-x) * 2)), 780px);
  height: clamp(74px, 6.4vw, 96px);
}

.uh-home-author-ornament::before,
.uh-home-author-ornament::after {
  top: 50%;
  width: calc(50% - 34px);
  height: 2px;
  border-top: 0;
  border-radius: 999px;
}

.uh-home-author-ornament::before {
  left: 0;
  transform: translateY(-50%);
  background: linear-gradient(
    to right,
    rgba(177,153,126,0) 0%,
    rgba(177,153,126,0.34) 14%,
    rgba(177,153,126,0.62) 46%,
    rgba(177,153,126,0.74) 100%
  );
}

.uh-home-author-ornament::after {
  right: 0;
  transform: translateY(-50%);
  background: linear-gradient(
    to left,
    rgba(177,153,126,0) 0%,
    rgba(177,153,126,0.34) 14%,
    rgba(177,153,126,0.62) 46%,
    rgba(177,153,126,0.74) 100%
  );
}

.uh-home-author-ornament > span {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, rgba(177,153,126,0.94), rgba(177,153,126,0.78));
}

@media (max-width: 781px) {
  .uh-home-author-ornament {
    width: min(calc(100% - 40px), 560px);
    height: 66px;
  }

  .uh-home-author-ornament::before,
  .uh-home-author-ornament::after {
    width: calc(50% - 28px);
  }

  .uh-home-author-ornament > span {
    width: 18px;
    height: 18px;
  }
}

.uh-content-section.uh-watercolor-test.uh-home-author-star::before {
  right: clamp(14px, 2.6vw, 40px) !important;
  bottom: clamp(42px, 4.8vw, 76px) !important;
  width: min(18vw, 230px) !important;
  height: min(18vw, 230px) !important;
  opacity: 0.22 !important;
  filter: saturate(0.76) contrast(1.04) !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    right: 2px !important;
    bottom: 9% !important;
    width: min(24vw, 176px) !important;
    height: min(24vw, 176px) !important;
    opacity: 0.18 !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    top: clamp(110px, 26vw, 148px) !important;
    right: -12px !important;
    bottom: auto !important;
    width: min(34vw, 148px) !important;
    height: min(34vw, 148px) !important;
    opacity: 0.16 !important;
  }
}


/* Главная: блок «Об авторе» и нижние карточки используют точный
   утверждённый фон Вариант 02 · Тёплый фарфор с Мастер-страницы. */
.uh-home-porcelain-band.uh-section-surface-02 {
  background:
    radial-gradient(ellipse 70% 108% at -10% -14%, rgba(255,255,255,0.96) 0 34%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 60% 102% at 110% 110%, rgba(200,151,132,0.115), rgba(200,151,132,0) 74%),
    radial-gradient(ellipse 44% 72% at 58% -18%, rgba(227,195,155,0.105), rgba(227,195,155,0) 72%),
    linear-gradient(112deg, #FFFDF9 0%, #FBF5EC 52%, #F5EBDD 100%) !important;
}

/* Главная: звезда «Наследие» немного крупнее и смещена левее. */
.uh-content-section.uh-watercolor-test.uh-home-author-star::before {
  right: clamp(64px, 6vw, 110px) !important;
  width: min(20vw, 260px) !important;
  height: min(20vw, 260px) !important;
  opacity: 0.23 !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    right: 20px !important;
    width: min(26vw, 190px) !important;
    height: min(26vw, 190px) !important;
    opacity: 0.19 !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-watercolor-test.uh-home-author-star::before {
    right: 4px !important;
    width: min(38vw, 164px) !important;
    height: min(38vw, 164px) !important;
    opacity: 0.17 !important;
  }
}


/* Главная: мягкие переходы вокруг общей фарфоровой зоны.
   Внутри сохраняется точный фон «Тёплый фарфор» (uh-section-surface-02),
   а по верхнему и нижнему краям он плавно растворяется в фоне страницы. */
.uh-home-porcelain-band.uh-section-surface-02::before,
.uh-home-porcelain-band.uh-section-surface-02::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  display: block;
  height: clamp(110px, 10vw, 158px);
  pointer-events: none;
}

.uh-home-porcelain-band.uh-section-surface-02::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--uh-page) 0%,
    rgba(251, 248, 242, 0.88) 18%,
    rgba(251, 248, 242, 0.54) 42%,
    rgba(251, 248, 242, 0.18) 70%,
    rgba(251, 248, 242, 0) 100%
  );
}

.uh-home-porcelain-band.uh-section-surface-02::after {
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(251, 248, 242, 0) 0%,
    rgba(251, 248, 242, 0.18) 30%,
    rgba(251, 248, 242, 0.54) 58%,
    rgba(251, 248, 242, 0.88) 82%,
    var(--uh-page) 100%
  );
}

@media (max-width: 781px) {
  .uh-home-porcelain-band.uh-section-surface-02::before,
  .uh-home-porcelain-band.uh-section-surface-02::after {
    height: clamp(78px, 18vw, 112px);
  }
}


/* Главная: актуальная структура пользователя.
   Hero использует утверждённое изображение, блок «Новинка» без фоновой иллюстрации,
   «Скоро» подтянуто выше, а группа «Об авторе» + «Новости автора»
   выделена фоном «Персиковая акварель» с мягкими краями. */
:root {
  --uh-hero-romantic-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/chatgpt-image-23-iyulya-2026-g.-01_39_10.png");
}

/* «Новинка» и «Книга месяца»: акварель отключена. Штатный ::after
   формирует только верхнее перекрытие с Hero; нижнее растворение находится
   в собственном фоне книжной секции. */
.uh-content-section.uh-home-novinka-clean::before {
  content: none !important;
  display: none !important;
}

/* «Скоро»: уменьшается лишний верхний отступ после «Книжных серий». */
.uh-content-section.uh-soon-block.uh-home-soon-tight {
  padding-top: clamp(36px, 3.6vw, 56px) !important;
  padding-bottom: clamp(74px, 7vw, 114px) !important;
}
.uh-content-section.uh-soon-block.uh-home-soon-tight.uh-soon-orbit {
  padding-top: clamp(42px, 4vw, 62px) !important;
  padding-bottom: clamp(80px, 7.4vw, 122px) !important;
}
@media (max-width: 781px) {
  .uh-content-section.uh-soon-block.uh-home-soon-tight,
  .uh-content-section.uh-soon-block.uh-home-soon-tight.uh-soon-orbit {
    padding-top: clamp(30px, 7vw, 44px) !important;
  }
}

/* Группа «Об авторе» + «Новости автора»: фон «Персиковая акварель»
   по мотивам uh-card-surface-09, но в виде общей мягкой подложки секции. */
.uh-home-author-news-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-top: 0 !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  background:
    radial-gradient(ellipse 88% 58% at -10% -6%, rgba(255,255,255,0.89) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 80% 62% at 110% 106%, rgba(210,137,103,0.18), rgba(210,137,103,0) 72%),
    radial-gradient(ellipse 58% 42% at 16% 110%, rgba(226,178,126,0.14), rgba(226,178,126,0) 70%),
    linear-gradient(145deg, #FFFDF9 0%, #FCECDD 52%, #F4DCC7 100%) !important;
}

.uh-home-author-news-band::before,
.uh-home-author-news-band::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: clamp(70px, 7vw, 110px);
  z-index: 2;
  pointer-events: none;
}

.uh-home-author-news-band::before {
  top: 0;
  background: linear-gradient(to bottom, var(--uh-page) 0%, rgba(251,248,242,0.76) 18%, rgba(251,248,242,0) 100%);
}

.uh-home-author-news-band::after {
  bottom: 0;
  background: linear-gradient(to top, var(--uh-page) 0%, rgba(251,248,242,0.76) 18%, rgba(251,248,242,0) 100%);
}

.uh-home-author-news-band > .uh-content-section {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.uh-home-author-news-band > .uh-content-section::after {
  content: none !important;
  display: none !important;
}

.uh-content-section.uh-home-author-block {
  padding-top: clamp(56px, 5.4vw, 86px) !important;
  padding-bottom: clamp(34px, 3.4vw, 52px) !important;
}

.uh-content-section.uh-home-followup-cards {
  padding-top: clamp(16px, 2vw, 28px) !important;
  padding-bottom: clamp(56px, 5.4vw, 86px) !important;
}

/* Звезда «Наследие» больше не живёт отдельным фоном секции.
   Вместо этого она закреплена у правого нижнего угла фотографии
   и слегка заезжает на общий фон. */
.uh-content-section.uh-home-author-block.uh-home-author-star-overlay::before,
.uh-content-section.uh-home-author-block.uh-home-author-star-overlay::after {
  content: none !important;
  display: none !important;
}

.uh-home-author-block .wp-block-image.uh-start-media {
  position: relative;
  overflow: visible !important;
  z-index: 3;
}

.uh-home-author-block .wp-block-image.uh-start-media::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -18px;
  width: clamp(124px, 30%, 168px);
  aspect-ratio: 1 / 1;
  background: url("https://annapeicheva.ru/wp-content/uploads/2026/07/zvezda_soft_navy_refined.png") center / contain no-repeat;
  opacity: 0.96;
  filter: saturate(0.92) contrast(1.04) drop-shadow(0 0 10px rgba(255,255,255,0.78)) drop-shadow(0 10px 18px rgba(77,57,44,0.16));
  pointer-events: none;
  z-index: 4;
}

@media (max-width: 1024px) {
  .uh-home-author-block .wp-block-image.uh-start-media::after {
    right: -14px;
    bottom: -14px;
    width: clamp(110px, 28%, 146px);
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-author-block {
    padding-top: clamp(44px, 8vw, 60px) !important;
    padding-bottom: clamp(24px, 5vw, 36px) !important;
  }

  .uh-content-section.uh-home-followup-cards {
    padding-top: clamp(12px, 3vw, 20px) !important;
    padding-bottom: clamp(44px, 8vw, 58px) !important;
  }

  .uh-home-author-block .wp-block-image.uh-start-media::after {
    right: -10px;
    bottom: -10px;
    width: clamp(96px, 26vw, 122px);
  }
}


/* Главная: уточнения по пользовательским правкам от 2026-07-23.
   1) «Книжные серии» подтянуты выше.
   2) Над блоком «Об авторе» больше воздуха, чтобы персиковый фон начинался раньше.
   3) Нижняя вуаль секции «Скоро» больше не заходит на последнюю строку текста.
   4) Звезда «Наследие» возвращена в зону справа от кнопок и закреплена внутри контейнера. */

/* 1) «Книжные серии» — заметно выше под блоком «Новинка». */
.uh-content-section.uh-home-series-block {
  padding-top: clamp(16px, 1.8vw, 28px) !important;
  padding-bottom: clamp(78px, 7.2vw, 118px) !important;
}

@media (min-width: 782px) {
  .uh-content-section.uh-start-book-block.uh-home-novinka-clean
    + .uh-content-section.uh-home-series-block {
    padding-top: clamp(10px, 1.2vw, 20px) !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-series-block {
    padding-top: clamp(14px, 3.8vw, 20px) !important;
    padding-bottom: clamp(58px, 11vw, 78px) !important;
  }
}

/* 2) Персиковый фон авторской группы начинается раньше,
   а сам блок «Об авторе» получает больше воздуха сверху. */
.uh-home-author-news-band::before {
  height: clamp(100px, 9vw, 150px) !important;
  background: linear-gradient(
    to bottom,
    var(--uh-page) 0%,
    rgba(251,248,242,0.84) 14%,
    rgba(251,248,242,0.42) 42%,
    rgba(251,248,242,0) 100%
  ) !important;
}

.uh-content-section.uh-home-author-block {
  padding-top: clamp(88px, 7.2vw, 122px) !important;
  padding-bottom: clamp(34px, 3.6vw, 56px) !important;
}

.uh-content-section.uh-home-followup-cards {
  padding-top: clamp(18px, 2vw, 30px) !important;
  padding-bottom: clamp(58px, 5.4vw, 84px) !important;
}

@media (max-width: 781px) {
  .uh-home-author-news-band::before {
    height: clamp(76px, 12vw, 104px) !important;
  }

  .uh-content-section.uh-home-author-block {
    padding-top: clamp(64px, 12vw, 82px) !important;
    padding-bottom: clamp(24px, 5vw, 38px) !important;
  }
}

/* 3) В секции «Скоро» нижняя вуаль отведена ниже,
   а снизу добавлен запас воздуха, чтобы она не трогала текст. */
.uh-content-section.uh-home-shabby-frame {
  background-image:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251, 248, 242, 0.58) 6%,
      rgba(251, 248, 242, 0) 14%,
      rgba(251, 248, 242, 0) 90%,
      rgba(251, 248, 242, 0.18) 96%,
      var(--uh-page) 100%
    ),
    linear-gradient(
      rgba(251, 248, 242, 0.12),
      rgba(251, 248, 242, 0.12)
    ),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
  background-repeat: no-repeat !important;
  background-position:
    center center,
    center center,
    left center,
    right center !important;
  background-size:
    100% 100%,
    100% 100%,
    auto 100%,
    auto 100% !important;
}

.uh-content-section.uh-soon-block.uh-home-soon-tight.uh-soon-orbit {
  padding-bottom: clamp(92px, 8.6vw, 138px) !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251, 248, 242, 0.76) 6%,
        rgba(251, 248, 242, 0.26) 13%,
        rgba(251, 248, 242, 0) 20%,
        rgba(251, 248, 242, 0) 88%,
        rgba(251, 248, 242, 0.18) 95%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        to left,
        rgba(251, 248, 242, 0.20) 0%,
        rgba(251, 248, 242, 0.38) 28%,
        rgba(251, 248, 242, 0.82) 60%,
        var(--uh-page) 82%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat !important;
    background-position:
      center center,
      center center,
      right top !important;
    background-size:
      100% 100%,
      100% 100%,
      auto 100% !important;
  }
}

/* 4) Звезда «Наследие» снова отдельный акцент справа от кнопок.
   Она остаётся внутри контейнера и не уезжает вправо на широких экранах. */
.uh-home-author-block .wp-block-image.uh-start-media::after {
  content: none !important;
  display: none !important;
}

.uh-content-section.uh-home-author-block .uh-content-inner {
  position: relative;
}

.uh-content-section.uh-home-author-block .uh-content-inner::after {
  content: "";
  position: absolute;
  right: clamp(28px, 3.2vw, 52px);
  bottom: clamp(32px, 3.8vw, 62px);
  width: clamp(138px, 14vw, 184px);
  height: clamp(138px, 14vw, 184px);
  background: url("https://annapeicheva.ru/wp-content/uploads/2026/07/zvezda_soft_navy_refined.png") center / contain no-repeat;
  opacity: 0.92;
  filter: saturate(0.94) contrast(1.06)
    drop-shadow(0 0 12px rgba(255,255,255,0.82))
    drop-shadow(0 12px 20px rgba(77,57,44,0.16));
  pointer-events: none;
  z-index: 1;
}

.uh-content-section.uh-home-author-block .uh-start-content,
.uh-content-section.uh-home-author-block .uh-content-media-col,
.uh-content-section.uh-home-author-block .uh-content-text-col {
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: clamp(22px, 3vw, 38px);
    bottom: clamp(26px, 4vw, 46px);
    width: clamp(122px, 18vw, 154px);
    height: clamp(122px, 18vw, 154px);
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 18px;
    bottom: 18px;
    width: clamp(104px, 24vw, 126px);
    height: clamp(104px, 24vw, 126px);
    opacity: 0.88;
  }

  .uh-content-section.uh-soon-block.uh-home-soon-tight.uh-soon-orbit {
    padding-bottom: clamp(78px, 12vw, 98px) !important;
  }
}


/* Главная: дополнительные правки к структуре книги/автор/блог.
   Возвращаются боковые вуали в секции «Скоро», блок «Книжные серии» поднимается ещё выше,
   под блоком «Новости автора» больше воздуха, а секция «Новые статьи» получает CTA и мини-аватар. */

.uh-content-section.uh-home-series-block {
  padding-top: 0 !important;
}

@media (min-width: 782px) {
  .uh-content-section.uh-start-book-block.uh-home-novinka-clean + .uh-content-section.uh-home-series-block {
    padding-top: 0 !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-series-block {
    padding-top: 0 !important;
  }
}

/* Под блоком «Новости автора» становится больше воздуха. */
.uh-content-section.uh-home-followup-cards {
  padding-bottom: clamp(84px, 7vw, 120px) !important;
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-followup-cards {
    padding-bottom: clamp(60px, 10vw, 84px) !important;
  }
}

/* Секция «Скоро»: возвращены боковые вуали у кулис без нижнего наезда на текст. */
.uh-content-section.uh-home-shabby-frame {
  position: relative;
  isolation: isolate;
}

.uh-content-section.uh-home-shabby-frame::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(251,248,242,0.96) 0%,
      rgba(251,248,242,0.62) 10%,
      rgba(251,248,242,0.18) 19%,
      rgba(251,248,242,0.00) 30%,
      rgba(251,248,242,0.00) 70%,
      rgba(251,248,242,0.18) 81%,
      rgba(251,248,242,0.62) 90%,
      rgba(251,248,242,0.96) 100%
    );
}

.uh-content-section.uh-home-shabby-frame > .uh-content-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame::before {
    background:
      linear-gradient(
        to left,
        rgba(251,248,242,0.00) 0%,
        rgba(251,248,242,0.00) 42%,
        rgba(251,248,242,0.14) 56%,
        rgba(251,248,242,0.48) 76%,
        rgba(251,248,242,0.92) 100%
      ) !important;
  }
}

/* Звезда «Наследие»: более читаемая композиция с мягким светлым облаком-подложкой. */
.uh-content-section.uh-home-author-block .uh-content-inner::before {
  content: "";
  position: absolute;
  right: clamp(20px, 3vw, 46px);
  bottom: clamp(22px, 3.2vw, 48px);
  width: clamp(188px, 20vw, 270px);
  height: clamp(158px, 16vw, 220px);
  border-radius: 999px;
  background:
    radial-gradient(ellipse 58% 52% at 50% 50%, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.74) 36%, rgba(255,255,255,0.34) 64%, rgba(255,255,255,0) 100%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

.uh-content-section.uh-home-author-block .uh-content-inner::after {
  right: clamp(34px, 4vw, 64px) !important;
  bottom: clamp(26px, 3.6vw, 54px) !important;
  width: clamp(150px, 15vw, 196px) !important;
  height: clamp(150px, 15vw, 196px) !important;
  opacity: 0.98 !important;
  filter: saturate(1) contrast(1.08)
    drop-shadow(0 0 14px rgba(255,255,255,0.92))
    drop-shadow(0 10px 22px rgba(77,57,44,0.18)) !important;
  z-index: 2 !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 16px;
    bottom: 20px;
    width: clamp(160px, 24vw, 220px);
    height: clamp(136px, 21vw, 184px);
  }
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 24px !important;
    bottom: 24px !important;
    width: clamp(130px, 18vw, 164px) !important;
    height: clamp(130px, 18vw, 164px) !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 8px;
    bottom: 14px;
    width: 154px;
    height: 126px;
  }
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 18px !important;
    bottom: 18px !important;
    width: 112px !important;
    height: 112px !important;
  }
}

/* Секция «Новые статьи»: строка кикера с кликабельным круглым фото и CTA-кнопки под карточками. */
.uh-blog-head,
.uh-blog-articles-block .uh-content-head {
  max-width: 100% !important;
}

.uh-blog-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-bottom: 6px;
}

.uh-blog-kicker-row > * {
  margin: 0 !important;
}

.uh-blog-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(190, 169, 143, 0.48);
  box-shadow:
    0 12px 26px rgba(73,58,47,0.12),
    inset 0 0 0 3px rgba(255,255,255,0.72);
  background: #fff;
  flex: 0 0 auto;
}

.uh-blog-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uh-blog-actions {
  justify-content: flex-start;
  gap: 14px 16px;
  margin-top: clamp(20px, 2vw, 28px) !important;
}

.uh-blog-actions .wp-block-button {
  margin: 0 !important;
}

@media (max-width: 781px) {
  .uh-blog-kicker-row {
    gap: 12px;
  }
  .uh-blog-avatar-link {
    width: 44px;
    height: 44px;
  }
  .uh-blog-actions {
    margin-top: 18px !important;
  }
}


/* Главная: финальная серия правок по замечаниям пользователя.
   1) Кулисы в «Скоро» заметнее: вуали остаются, но больше не глушат изображение.
   2) Звезда «Наследие» становится полупрозрачной.
   3) Под новостями автора больше воздуха.
   4) Секция «Новые статьи» получает двухколоночную шапку с более крупным фото,
      а единственная кнопка центрируется ниже карточек.
   5) В «Авторской библиотеке» остаётся только кнопка «Открыть коллекцию». */

.uh-content-section.uh-home-series-block {
  padding-top: 0 !important;
}
@media (max-width: 781px) {
}

/* Больше воздуха под карточками новостей автора. */
.uh-content-section.uh-home-followup-cards {
  padding-bottom: clamp(112px, 9vw, 160px) !important;
}
@media (max-width: 781px) {
  .uh-content-section.uh-home-followup-cards {
    padding-bottom: clamp(78px, 12vw, 108px) !important;
  }
}

/* Кулисы снова заметнее: боковые вуали остаются, но становятся легче. */
.uh-content-section.uh-home-shabby-frame::before {
  background:
    linear-gradient(
      to right,
      rgba(251,248,242,0.72) 0%,
      rgba(251,248,242,0.34) 10%,
      rgba(251,248,242,0.08) 18%,
      rgba(251,248,242,0.00) 28%,
      rgba(251,248,242,0.00) 72%,
      rgba(251,248,242,0.08) 82%,
      rgba(251,248,242,0.34) 90%,
      rgba(251,248,242,0.72) 100%
    ) !important;
}
@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame::before {
    background:
      linear-gradient(
        to left,
        rgba(251,248,242,0.00) 0%,
        rgba(251,248,242,0.00) 38%,
        rgba(251,248,242,0.08) 54%,
        rgba(251,248,242,0.28) 72%,
        rgba(251,248,242,0.70) 100%
      ) !important;
  }
}

/* Звезда «Наследие» приглушена до полупрозрачного акцента. */
.uh-content-section.uh-home-author-block .uh-content-inner::before {
  opacity: 0.62;
}
.uh-content-section.uh-home-author-block .uh-content-inner::after {
  opacity: 0.58 !important;
  filter: saturate(0.92) contrast(1.02)
    drop-shadow(0 0 10px rgba(255,255,255,0.76))
    drop-shadow(0 8px 18px rgba(77,57,44,0.12)) !important;
}

/* Шапка секции «Новые статьи» — текст слева, фото справа, фото крупнее. */
.uh-blog-head,
.uh-blog-articles-block .uh-content-head {
  max-width: 100% !important;
}
.uh-blog-head-columns {
  align-items: center !important;
  gap: clamp(18px, 2.4vw, 30px) !important;
  margin: 0 0 clamp(10px, 1vw, 14px) !important;
}
.uh-blog-head-main {
  min-width: 0;
}
.uh-blog-head-main .uh-title-stack {
  gap: 0;
}
.uh-blog-head-main .uh-kicker-section {
  margin-bottom: 14px !important;
}
.uh-blog-head-main h2 {
  margin: 0 0 18px !important;
}
.uh-blog-head-main .uh-lead-section {
  margin-bottom: 0 !important;
}
.uh-blog-head-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.uh-blog-avatar-link,
.uh-blog-avatar-link.uh-blog-avatar-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(86px, 8.2vw, 112px);
  height: clamp(86px, 8.2vw, 112px);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(190, 169, 143, 0.48);
  box-shadow:
    0 16px 30px rgba(73,58,47,0.14),
    inset 0 0 0 4px rgba(255,255,255,0.74);
  background: #fff;
  flex: 0 0 auto;
}
.uh-blog-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 781px) {
  .uh-blog-head-columns {
    gap: 14px !important;
  }
  .uh-blog-avatar-link,
  .uh-blog-avatar-link.uh-blog-avatar-large {
    width: 64px;
    height: 64px;
  }
}

/* Единственная CTA-кнопка под статьями — ниже и по центру. */
.uh-blog-actions {
  justify-content: center !important;
  width: 100%;
  gap: 0 !important;
  margin-top: clamp(32px, 3vw, 44px) !important;
}
.uh-blog-actions .wp-block-button {
  margin: 0 !important;
}


/* Главная: донастройка по последним замечаниям пользователя.
   1) Кулисы в «Скоро» чуть ярче.
   2) В блоке «Об авторе» остаётся одна кнопка.
   3) Звезда «Наследие» ещё мягче и немного левее.
   4) Под новостями автора больше воздуха.
   5) В верхушке «Новых статей» возвращены стандартные вертикальные отступы.
   6) Круглое фото получает декоративную цветочную рамку. */

/* Кулисы — немного ярче, вуаль мягче. */
.uh-content-section.uh-home-shabby-frame::before {
  background:
    linear-gradient(
      to right,
      rgba(251,248,242,0.56) 0%,
      rgba(251,248,242,0.20) 10%,
      rgba(251,248,242,0.04) 18%,
      rgba(251,248,242,0.00) 28%,
      rgba(251,248,242,0.00) 72%,
      rgba(251,248,242,0.04) 82%,
      rgba(251,248,242,0.20) 90%,
      rgba(251,248,242,0.56) 100%
    ) !important;
}
@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame::before {
    background:
      linear-gradient(
        to left,
        rgba(251,248,242,0.00) 0%,
        rgba(251,248,242,0.00) 38%,
        rgba(251,248,242,0.05) 54%,
        rgba(251,248,242,0.18) 72%,
        rgba(251,248,242,0.52) 100%
      ) !important;
  }
}

/* Больше воздуха под карточками новостей автора. */
.uh-content-section.uh-home-followup-cards {
  padding-bottom: clamp(132px, 10vw, 190px) !important;
}
@media (max-width: 781px) {
  .uh-content-section.uh-home-followup-cards {
    padding-bottom: clamp(94px, 14vw, 124px) !important;
  }
}

/* Звезда «Наследие» — ещё приглушённее и чуть левее. */
.uh-content-section.uh-home-author-block .uh-content-inner::before {
  right: clamp(30px, 4vw, 60px) !important;
  opacity: 0.48 !important;
}
.uh-content-section.uh-home-author-block .uh-content-inner::after {
  right: clamp(52px, 5vw, 84px) !important;
  opacity: 0.42 !important;
  filter: saturate(0.86) contrast(0.98)
    drop-shadow(0 0 8px rgba(255,255,255,0.68))
    drop-shadow(0 8px 16px rgba(77,57,44,0.08)) !important;
}
@media (max-width: 1024px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 24px !important;
  }
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 38px !important;
  }
}
@media (max-width: 781px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 10px !important;
  }
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 26px !important;
  }
}

/* Верхушка секции «Новые статьи» — стандартные интервалы сайта. */
.uh-blog-head-main .uh-kicker-section,
.uh-blog-head-main h2,
.uh-blog-head-main .uh-lead-section {
  margin-bottom: 0 !important;
}
.uh-blog-head-main .uh-kicker-section + .wp-block-heading {
  margin-top: var(--uh-section-kicker-title-gap) !important;
}
.uh-blog-head-main .wp-block-heading + .uh-lead-section {
  margin-top: var(--uh-section-title-lead-gap) !important;
}
@media (max-width: 689px) {
  .uh-blog-head-main .uh-kicker-section + .wp-block-heading {
    margin-top: var(--uh-section-kicker-title-gap-mobile) !important;
  }
  .uh-blog-head-main .wp-block-heading + .uh-lead-section {
    margin-top: var(--uh-section-title-lead-gap-mobile) !important;
  }
}

/* Круглое фото — цветочная рамка в стиле сайта, без изменения самого изображения.
   Позже можно просто заменить src внутри ссылки .uh-blog-avatar-link. */
.uh-blog-head-side {
  overflow: visible;
}
.uh-blog-avatar-link,
.uh-blog-avatar-link.uh-blog-avatar-large {
  position: relative;
  width: clamp(92px, 8.8vw, 118px);
  height: clamp(92px, 8.8vw, 118px);
  border: 0 !important;
  box-shadow:
    0 16px 30px rgba(73,58,47,0.12),
    inset 0 0 0 4px rgba(255,255,255,0.74);
}
.uh-blog-avatar-link::before,
.uh-blog-avatar-link.uh-blog-avatar-large::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 18%, rgba(245, 225, 214, 0.92) 0 10px, transparent 12px),
    radial-gradient(circle at 78% 14%, rgba(241, 219, 197, 0.92) 0 12px, transparent 14px),
    radial-gradient(circle at 88% 46%, rgba(240, 228, 217, 0.85) 0 9px, transparent 11px),
    radial-gradient(circle at 80% 82%, rgba(235, 214, 206, 0.92) 0 12px, transparent 14px),
    radial-gradient(circle at 26% 88%, rgba(245, 223, 205, 0.92) 0 11px, transparent 13px),
    radial-gradient(circle at 8% 52%, rgba(236, 214, 205, 0.88) 0 10px, transparent 12px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.78) 0 62%, rgba(230, 207, 187, 0.34) 70%, rgba(230, 207, 187, 0) 77%);
  box-shadow:
    inset 0 0 0 1px rgba(194, 166, 140, 0.26),
    0 8px 18px rgba(73,58,47,0.06);
  z-index: -1;
  pointer-events: none;
}
.uh-blog-avatar-link::after,
.uh-blog-avatar-link.uh-blog-avatar-large::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid rgba(190, 169, 143, 0.44);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.68);
  pointer-events: none;
}
@media (max-width: 781px) {
  .uh-blog-avatar-link,
  .uh-blog-avatar-link.uh-blog-avatar-large {
    width: 70px;
    height: 70px;
  }
  .uh-blog-avatar-link::before,
  .uh-blog-avatar-link.uh-blog-avatar-large::before {
    inset: -8px;
  }
}


/* Главная: дополнительные финальные правки.
   1) Кулисы «Скоро» становятся заметнее.
   2) Кнопка «Перейти в блог» опускается ниже.
   3) Звезда «Наследие» ещё мягче и немного левее. */

/* Кулисы ярче: боковые вуали ещё слабее, сами шторы читаются лучше. */
.uh-content-section.uh-home-shabby-frame::before {
  background:
    linear-gradient(
      to right,
      rgba(251,248,242,0.40) 0%,
      rgba(251,248,242,0.12) 10%,
      rgba(251,248,242,0.02) 18%,
      rgba(251,248,242,0.00) 28%,
      rgba(251,248,242,0.00) 72%,
      rgba(251,248,242,0.02) 82%,
      rgba(251,248,242,0.12) 90%,
      rgba(251,248,242,0.40) 100%
    ) !important;
}
@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame::before {
    background:
      linear-gradient(
        to left,
        rgba(251,248,242,0.00) 0%,
        rgba(251,248,242,0.00) 38%,
        rgba(251,248,242,0.03) 54%,
        rgba(251,248,242,0.12) 72%,
        rgba(251,248,242,0.36) 100%
      ) !important;
  }
}

/* Звезда — приглушённее и чуть левее. */
.uh-content-section.uh-home-author-block .uh-content-inner::before {
  right: clamp(36px, 4.6vw, 72px) !important;
  opacity: 0.38 !important;
}
.uh-content-section.uh-home-author-block .uh-content-inner::after {
  right: clamp(62px, 5.8vw, 102px) !important;
  opacity: 0.32 !important;
  filter: saturate(0.82) contrast(0.96)
    drop-shadow(0 0 6px rgba(255,255,255,0.62))
    drop-shadow(0 6px 14px rgba(77,57,44,0.06)) !important;
}
@media (max-width: 1024px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 28px !important;
  }
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 44px !important;
  }
}
@media (max-width: 781px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 12px !important;
  }
  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 30px !important;
  }
}

/* Кнопка под карточками «Новые статьи» — ниже. */
.uh-blog-actions {
  margin-top: clamp(52px, 4.8vw, 74px) !important;
}


/* Главная: финальная донастройка кулис, кнопки блога и нового готового аватара. */

/* Кулисы «Скоро» становятся ещё ярче: уменьшаются общая дымка и боковые вуали. */
.uh-content-section.uh-home-shabby-frame {
  background-image:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251,248,242,0.46) 5%,
      rgba(251,248,242,0.00) 12%,
      rgba(251,248,242,0.00) 90%,
      rgba(251,248,242,0.16) 96%,
      var(--uh-page) 100%
    ),
    linear-gradient(
      rgba(251,248,242,0.03),
      rgba(251,248,242,0.03)
    ),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
  background-repeat: no-repeat !important;
  background-position:
    center center,
    center center,
    left center,
    right center !important;
  background-size:
    100% 100%,
    100% 100%,
    auto 100%,
    auto 100% !important;
}

.uh-content-section.uh-home-shabby-frame::before {
  background:
    linear-gradient(
      to right,
      rgba(251,248,242,0.24) 0%,
      rgba(251,248,242,0.07) 10%,
      rgba(251,248,242,0.00) 20%,
      rgba(251,248,242,0.00) 80%,
      rgba(251,248,242,0.07) 90%,
      rgba(251,248,242,0.24) 100%
    ) !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251,248,242,0.56) 5%,
        rgba(251,248,242,0.08) 13%,
        rgba(251,248,242,0.00) 20%,
        rgba(251,248,242,0.00) 90%,
        rgba(251,248,242,0.16) 96%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        to left,
        rgba(251,248,242,0.02) 0%,
        rgba(251,248,242,0.06) 45%,
        rgba(251,248,242,0.20) 72%,
        rgba(251,248,242,0.48) 100%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat !important;
    background-position:
      center center,
      center center,
      right top !important;
    background-size:
      100% 100%,
      100% 100%,
      auto 100% !important;
  }

  .uh-content-section.uh-home-shabby-frame::before {
    background:
      linear-gradient(
        to left,
        rgba(251,248,242,0.00) 0%,
        rgba(251,248,242,0.00) 44%,
        rgba(251,248,242,0.05) 64%,
        rgba(251,248,242,0.22) 100%
      ) !important;
  }
}

/* Готовый аватар уже содержит собственное оформление: CSS-рамка отключена. */
.uh-blog-avatar-link,
.uh-blog-avatar-link.uh-blog-avatar-large {
  width: clamp(112px, 10vw, 142px) !important;
  height: clamp(112px, 10vw, 142px) !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.uh-blog-avatar-link::before,
.uh-blog-avatar-link::after,
.uh-blog-avatar-link.uh-blog-avatar-large::before,
.uh-blog-avatar-link.uh-blog-avatar-large::after {
  content: none !important;
  display: none !important;
}

.uh-blog-avatar {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

@media (max-width: 781px) {
  .uh-blog-avatar-link,
  .uh-blog-avatar-link.uh-blog-avatar-large {
    width: 86px !important;
    height: 86px !important;
  }
}

/* Кнопка «Перейти в блог» опущена ниже карточек. */
.uh-blog-actions {
  margin-top: clamp(72px, 6vw, 96px) !important;
}

@media (max-width: 781px) {
  .uh-blog-actions {
    margin-top: clamp(46px, 9vw, 66px) !important;
  }
}


/* Главная и Мастер-страница: обновление варианта 57 и новая настройка для звезды «Наследие». */
:root {
  --uh-wc-57-image: url("https://annapeicheva.ru/wp-content/uploads/2026/07/pero-lenta-cvety-transparent-final-right.png");
}

/* Звезда «Наследие»: полупрозрачно-белая, чуть больше и ниже.
   Нижняя граница опускается ближе к нижнему уровню фотографии. */
.uh-content-section.uh-home-author-block .uh-content-inner::before {
  right: clamp(34px, 4vw, 66px) !important;
  bottom: clamp(6px, 0.8vw, 14px) !important;
  width: clamp(212px, 22vw, 286px) !important;
  height: clamp(176px, 18vw, 236px) !important;
  opacity: 0.34 !important;
  background:
    radial-gradient(ellipse 58% 52% at 50% 50%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.76) 38%, rgba(255,255,255,0.28) 68%, rgba(255,255,255,0) 100%) !important;
  filter: blur(7px) !important;
}

.uh-content-section.uh-home-author-block .uh-content-inner::after {
  right: clamp(54px, 5.4vw, 94px) !important;
  bottom: clamp(8px, 0.9vw, 16px) !important;
  width: clamp(170px, 17vw, 224px) !important;
  height: clamp(170px, 17vw, 224px) !important;
  opacity: 0.26 !important;
  filter: grayscale(1) brightness(2.4) saturate(0) contrast(0.92)
    drop-shadow(0 0 8px rgba(255,255,255,0.72))
    drop-shadow(0 8px 16px rgba(77,57,44,0.04)) !important;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 24px !important;
    bottom: 8px !important;
    width: clamp(184px, 26vw, 232px) !important;
    height: clamp(152px, 21vw, 196px) !important;
  }

  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 38px !important;
    bottom: 10px !important;
    width: clamp(148px, 20vw, 178px) !important;
    height: clamp(148px, 20vw, 178px) !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-author-block .uh-content-inner::before {
    right: 10px !important;
    bottom: 8px !important;
    width: 156px !important;
    height: 128px !important;
  }

  .uh-content-section.uh-home-author-block .uh-content-inner::after {
    right: 24px !important;
    bottom: 10px !important;
    width: 122px !important;
    height: 122px !important;
  }
}

.uh-content-section.uh-home-author-block .uh-content-inner::before {
  opacity: 0.22 !important;
}

.uh-content-section.uh-home-author-block .uh-content-inner::after {
  background: url("https://annapeicheva.ru/wp-content/uploads/2026/07/zvezda_soft_navy_refined.png") center / contain no-repeat !important;
  opacity: 0.34 !important;
  filter: saturate(0.92) contrast(1.02)
    drop-shadow(0 0 8px rgba(255,255,255,0.58))
    drop-shadow(0 8px 16px rgba(77,57,44,0.08)) !important;
}


.uh-blog-avatar-link,
.uh-blog-avatar-link.uh-blog-avatar-large {
  width: clamp(116px, 10.8vw, 148px) !important;
  height: clamp(116px, 10.8vw, 148px) !important;
}

@media (max-width: 781px) {
  .uh-blog-avatar-link,
  .uh-blog-avatar-link.uh-blog-avatar-large {
    width: 84px !important;
    height: 84px !important;
  }
}


/* Блог: кнопка в оттенках шляпы + обычный круглый аватар без рамки. */
/* Аватар в секции «Новые статьи»: обычное фото anna-peicheva.png, без рамки, в круге. */
.uh-blog-avatar-link,
.uh-blog-avatar-link.uh-blog-avatar-large {
  width: clamp(116px, 10.8vw, 148px) !important;
  height: clamp(116px, 10.8vw, 148px) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.uh-blog-avatar-link::before,
.uh-blog-avatar-link::after,
.uh-blog-avatar-link.uh-blog-avatar-large::before,
.uh-blog-avatar-link.uh-blog-avatar-large::after {
  content: none !important;
  display: none !important;
}

.uh-blog-avatar {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 999px !important;
}

@media (max-width: 781px) {
  .uh-blog-avatar-link,
  .uh-blog-avatar-link.uh-blog-avatar-large {
    width: 84px !important;
    height: 84px !important;
  }
}


/* Вариант тёплого оттенка для кнопки блога + лёгкое приглушение кулис в секции «Скоро». */
/* Кулисы в секции «Скоро» — чуть мягче, совсем слегка приглушены. */
.uh-content-section.uh-home-shabby-frame::before {
  background:
    linear-gradient(
      to right,
      rgba(251,248,242,0.48) 0%,
      rgba(251,248,242,0.16) 10%,
      rgba(251,248,242,0.03) 18%,
      rgba(251,248,242,0.00) 28%,
      rgba(251,248,242,0.00) 72%,
      rgba(251,248,242,0.03) 82%,
      rgba(251,248,242,0.16) 90%,
      rgba(251,248,242,0.48) 100%
    ) !important;
}
@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame::before {
    background:
      linear-gradient(
        to left,
        rgba(251,248,242,0.00) 0%,
        rgba(251,248,242,0.00) 38%,
        rgba(251,248,242,0.04) 54%,
        rgba(251,248,242,0.14) 72%,
        rgba(251,248,242,0.40) 100%
      ) !important;
  }
}


/* Финальный выбранный оттенок для кнопки блога: Тёмный эвкалипт. */
/* Финальный цвет блога: Тёмный эвкалипт. Применяется и к кнопке, и к кикерам карточек блога. */
/* Тестовый кикер секции «Новые статьи» — тоже в цвете блога «Тёмный эвкалипт». */
/* Раздел «Об авторе»: фирменный цвет «Чернильная орхидея» на основе звезды «Наследие». */
/* ========================================================================== */
/* ГЛАВНАЯ: финальная редакционная перестройка                                */
/* ========================================================================== */

/* Небольшое сокращение воздуха между Hero и «Новинкой»: пробный мягкий вариант. */
.uh-hero-bg-png.uh-home-hero-flow + .uh-content-section.uh-home-novinka-clean {
  padding-top: clamp(56px, 5.8vw, 78px) !important;
}

/* Вместо «Книжных серий»: открытая композиция «Выбор читателей». */
.uh-content-section.uh-reader-picks-block {
  padding-top: clamp(48px, 4.8vw, 70px) !important;
  padding-bottom: clamp(78px, 7vw, 108px) !important;
  overflow: visible !important;
}

.uh-reader-picks-head {
  max-width: 900px !important;
}

.uh-reader-picks-grid {
  align-items: flex-start !important;
  gap: clamp(28px, 3vw, 48px) !important;
  margin-top: clamp(42px, 4vw, 62px) !important;
}

.uh-reader-pick-col {
  min-width: 0;
}

.uh-reader-pick {
  --uh-reader-wash-rgb: 211, 184, 166;
  position: relative;
  z-index: 0;
  padding: 0 clamp(4px, 0.7vw, 10px) !important;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.uh-reader-pick-romanovs {
  --uh-reader-wash-rgb: 184, 177, 206;
}

.uh-reader-pick-voice {
  --uh-reader-wash-rgb: 181, 198, 173;
}

.uh-reader-pick::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(20px, 2vw, 30px);
  left: 50%;
  width: 88%;
  height: clamp(170px, 17vw, 235px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(var(--uh-reader-wash-rgb), 0.24) 0%,
    rgba(var(--uh-reader-wash-rgb), 0.11) 48%,
    rgba(var(--uh-reader-wash-rgb), 0) 74%);
  filter: blur(9px);
  pointer-events: none;
}

.uh-reader-pick-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin: 0 auto !important;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 18px 34px rgba(73, 58, 47, 0.10),
    0 5px 13px rgba(73, 58, 47, 0.055);
}

.uh-reader-pick-media a,
.uh-reader-pick-media img {
  display: block;
  width: 100%;
}

.uh-reader-pick-media img {
  height: auto;
  transition: transform 260ms ease, filter 260ms ease;
}

.uh-reader-pick-media a:hover img {
  transform: scale(1.012);
  filter: saturate(1.025) contrast(1.01);
}

.uh-reader-pick-title {
  margin: clamp(24px, 2.2vw, 32px) 0 0 !important;
  font-size: clamp(25px, 2.15vw, 34px) !important;
  line-height: 1.12 !important;
}

.uh-reader-pick-title a {
  color: inherit;
  text-decoration: none;
}

.uh-reader-pick-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.uh-reader-pick-summary {
  max-width: 33ch;
  margin: clamp(12px, 1vw, 16px) auto 0 !important;
  color: var(--uh-text-soft, #6f6862);
  font-family: var(--uh-card-font-family);
  font-size: var(--uh-card-font-size);
  font-weight: var(--uh-card-font-weight);
  line-height: var(--uh-card-line-height);
  letter-spacing: var(--uh-card-letter-spacing);
}

.uh-reader-picks-actions {
  margin-top: clamp(46px, 4.5vw, 68px) !important;
}

/* Звезда «Наследие» больше не является фоновым псевдоэлементом. */
.uh-content-section.uh-home-author-block .uh-content-inner::before,
.uh-content-section.uh-home-author-block .uh-content-inner::after {
  content: none !important;
  display: none !important;
}

.uh-author-action-row {
  align-items: center !important;
  gap: clamp(18px, 2.4vw, 30px) !important;
  margin-top: var(--uh-section-lead-actions-gap) !important;
  margin-bottom: 0 !important;
}

.uh-author-primary-actions {
  margin-top: 0 !important;
  justify-content: flex-start !important;
}

.uh-author-award-col {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.uh-author-award-mark {
  width: clamp(104px, 9.5vw, 126px);
  margin: 0 !important;
}

.uh-author-award-mark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1 !important;
  filter: none !important;
}

/* Кнопка под новостями автора. */
.uh-author-news-actions {
  margin-top: clamp(48px, 4.6vw, 64px) !important;
  justify-content: center !important;
}

.uh-content-section.uh-home-followup-cards {
  padding-bottom: clamp(84px, 7vw, 118px) !important;
}

/* Немного компактнее переход от блога к финальной «Авторской библиотеке». */
.uh-content-section.uh-blog-articles-block {
  padding-bottom: clamp(58px, 5.4vw, 82px) !important;
}

.uh-content-section.uh-cta-invitation {
  padding-top: clamp(50px, 4.8vw, 70px) !important;
}

@media (max-width: 781px) {
  .uh-hero-bg-png.uh-home-hero-flow + .uh-content-section.uh-home-novinka-clean {
    padding-top: clamp(48px, 10vw, 60px) !important;
  }

  .uh-content-section.uh-reader-picks-block {
    padding-top: clamp(42px, 9vw, 58px) !important;
    padding-bottom: clamp(68px, 13vw, 92px) !important;
  }

  .uh-reader-picks-grid {
    gap: clamp(26px, 7vw, 38px) !important;
    margin-top: clamp(34px, 8vw, 48px) !important;
  }

  .uh-reader-pick {
    display: grid !important;
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(16px, 4.5vw, 24px);
    row-gap: 9px;
    padding: 0 !important;
    text-align: left;
  }

  .uh-reader-pick::before {
    top: 50%;
    left: 16%;
    width: 52%;
    height: 82%;
    transform: translate(-50%, -50%);
    filter: blur(7px);
  }

  .uh-reader-pick-media {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: none;
    border-radius: 20px;
  }

  .uh-reader-pick-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0 !important;
    font-size: clamp(23px, 6.4vw, 30px) !important;
  }

  .uh-reader-pick-summary {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin: 0 !important;
  }

  .uh-reader-picks-actions {
    margin-top: clamp(40px, 10vw, 56px) !important;
  }

  .uh-author-action-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }

  .uh-author-action-button-col,
  .uh-author-award-col {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .uh-author-primary-actions {
    justify-content: flex-start !important;
  }

  .uh-author-award-col {
    justify-content: center;
  }

  .uh-author-award-mark {
    width: 92px;
  }

  .uh-author-news-actions {
    margin-top: clamp(40px, 10vw, 54px) !important;
  }

  .uh-content-section.uh-home-followup-cards {
    padding-bottom: clamp(68px, 13vw, 92px) !important;
  }

  .uh-content-section.uh-blog-articles-block {
    padding-bottom: clamp(50px, 11vw, 70px) !important;
  }

  .uh-content-section.uh-cta-invitation {
    padding-top: clamp(42px, 9vw, 58px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-reader-pick-media img {
    transition: none !important;
  }
}


/* =========================================================
   Фирменные цвета разделов
   Автор — приглушённый чернильно-лиловый: #5D557A
   Блог — приглушённая глубокая бирюза: #315F5A
   Кнопки используют штатную систему; меняются только tone-переменные.
   ========================================================= */
.wp-block-button.uh-btn-tone-author {
  --uh-mx-tone: var(--uh-author);
  --uh-mx-rgb: var(--uh-author-rgb);
  --uh-mx-dark: var(--uh-author-dark);
  --uh-mx-light: var(--uh-author-light);
  --uh-mx-pale: var(--uh-author-pale);
}

.wp-block-button.uh-btn-tone-author-life {
  --uh-mx-tone: var(--uh-author-life);
  --uh-mx-rgb: var(--uh-author-life-rgb);
  --uh-mx-dark: var(--uh-author-life-dark);
  --uh-mx-light: var(--uh-author-life-light);
  --uh-mx-pale: var(--uh-author-life-pale);
}

.wp-block-button.uh-btn-tone-author-books {
  --uh-mx-tone: var(--uh-author-books);
  --uh-mx-rgb: var(--uh-author-books-rgb);
  --uh-mx-dark: var(--uh-author-books-dark);
  --uh-mx-light: var(--uh-author-books-light);
  --uh-mx-pale: var(--uh-author-books-pale);
}

.wp-block-button.uh-btn-tone-blog {
  --uh-mx-tone: var(--uh-blog);
  --uh-mx-rgb: var(--uh-blog-rgb);
  --uh-mx-dark: var(--uh-blog-dark);
  --uh-mx-light: var(--uh-blog-light);
  --uh-mx-pale: var(--uh-blog-pale);
}

.uh-tone-author {
  --uh-kicker-color: var(--uh-author);
  color: var(--uh-author) !important;
}

.uh-tone-blog {
  --uh-kicker-color: var(--uh-blog);
  color: var(--uh-blog) !important;
}

/* Финальные уточнения на Главной: единые правила перекрывают прежние тестовые цвета. */
.uh-home-author-block .uh-kicker-section.uh-tone-author,
.uh-home-followup-cards .uh-kicker-card.uh-tone-author {
  --uh-kicker-color: var(--uh-author);
  color: var(--uh-author) !important;
}

.uh-blog-articles-block .uh-kicker-section.uh-tone-blog,
.uh-blog-articles-block .uh-kicker-card.uh-tone-blog {
  --uh-kicker-color: var(--uh-blog);
  color: var(--uh-blog) !important;
}

/* ========================================================================== */
/* ГЛАВНАЯ И МАСТЕР-СТРАНИЦА: ИТОГОВАЯ АДАПТИВНАЯ КОМПОНОВКА                 */
/* ========================================================================== */

/* «Новинка» и «Книга месяца»: нижнее растворение принадлежит самой
   книжной секции. На десктоп перенесён рабочий планшетный нижний запас:
   тень обложки завершается до зоны растворения и больше не подчёркивает стык. */
.uh-content-section.uh-home-novinka-clean {
  padding-bottom: clamp(44px, 4.4vw, 58px) !important;
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-novinka-clean {
    padding-bottom: clamp(28px, 6vw, 38px) !important;
  }
}

.uh-home-novinka-clean .uh-home-novinka-tags {
  margin-top: clamp(22px, 2.1vw, 30px) !important;
  margin-bottom: 0 !important;
  gap: 10px 12px !important;
}

.uh-home-novinka-clean .uh-home-novinka-tags + .uh-lead-section {
  margin-top: clamp(24px, 2.2vw, 32px) !important;
}

.uh-content-section.uh-home-readers-choice {
  padding-top: clamp(24px, 2.4vw, 38px) !important;
  padding-bottom: clamp(28px, 2.6vw, 42px) !important;
}

.uh-readers-choice-actions,
.uh-author-news-actions,
.uh-blog-actions,
.uh-cta-invitation .uh-cta-actions {
  margin-top: clamp(48px, 4.6vw, 64px) !important;
}

/* Знак «Наследие» — самостоятельная кликабельная ссылка. */
.uh-author-award-mark > a {
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.uh-author-award-mark > a:hover {
  transform: translateY(-2px) scale(1.025);
  filter: drop-shadow(0 8px 14px rgba(93,85,122,0.16));
}

.uh-author-award-mark > a:focus-visible {
  outline: 2px solid rgba(93,85,122,0.50);
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .uh-author-award-mark > a {
    transition: none !important;
  }
}

/* Заголовки и лиды БСКЛ/БСКП используют всю ширину своей текстовой колонки. */
@media (max-width: 1024px) {
  .uh-start-block .uh-start-content,
  .uh-start-universal .uh-start-content,
  .uh-start-book-block .uh-start-content {
    width: 100% !important;
    max-width: none !important;
  }

  .uh-start-block .uh-start-content > .wp-block-heading,
  .uh-start-block .uh-start-content > .uh-lead-section,
  .uh-start-universal .uh-start-content > .wp-block-heading,
  .uh-start-universal .uh-start-content > .uh-lead-section,
  .uh-start-book-block .uh-start-content > .wp-block-heading,
  .uh-start-book-block .uh-start-content > .uh-lead-section {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* После сворачивания двухколоночных блоков сначала идёт изображение, затем текст. */
@media (max-width: 1024px) {
  .wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-media,
  .wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-media),
  .uh-hero-layout > .uh-hero-col-media,
  .uh-start-block .uh-start-columns > .uh-content-media-col,
  .uh-start-universal .uh-start-columns > .uh-content-media-col,
  .uh-start-book-block .uh-start-columns > .uh-content-media-col,
  .uh-starter-kit-block .uh-starter-kit-columns > .uh-content-media-col {
    order: 1 !important;
  }

  .wp-block-columns.uh-hero-layout > .wp-block-column.uh-hero-col-content,
  .wp-block-columns.uh-hero-layout > .wp-block-column:has(.uh-hero-content),
  .uh-hero-layout > .uh-hero-col-content,
  .uh-start-block .uh-start-columns > .uh-content-text-col,
  .uh-start-universal .uh-start-columns > .uh-content-text-col,
  .uh-start-book-block .uh-start-columns > .uh-content-text-col,
  .uh-starter-kit-block .uh-starter-kit-columns > .uh-content-text-col {
    order: 2 !important;
  }

  .uh-hero-bg-png {
    padding-top: clamp(30px, 4.2vw, 44px) !important;
  }

  .uh-hero-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px clamp(18px, 3vw, 30px) !important;
    width: 100% !important;
  }

  .uh-hero-actions > .wp-block-button {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    justify-self: auto !important;
  }

  .uh-hero-actions > .wp-block-button > .wp-block-button__link,
  .uh-hero-actions > .wp-block-button > .wp-element-button {
    width: auto !important;
    max-width: 100% !important;
  }
}

/* Планшет: универсальные БСКЛ/БСКП занимают полную ширину контейнера.
   Домашняя «Новинка» и блок №4 Мастер-страницы имеют класс .uh-start-book-block
   и сохраняют собственную компоновку. */
@media (min-width: 782px) and (max-width: 1024px) {
  .uh-hero-bg-png:not(.uh-home-hero-flow):not(.uh-hero-bg-romantic) .uh-hero-actions {
    column-gap: clamp(46px, 6vw, 66px) !important;
  }

  .uh-start-universal .uh-start-columns,
  .uh-starter-kit-block .uh-starter-kit-columns {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: clamp(34px, 4.8vw, 52px) !important;
    width: 100% !important;
  }

  .uh-start-universal .uh-start-columns > .uh-content-media-col,
  .uh-start-universal .uh-start-columns > .uh-content-text-col,
  .uh-starter-kit-block .uh-starter-kit-columns > .uh-content-media-col,
  .uh-starter-kit-block .uh-starter-kit-columns > .uh-content-text-col {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .uh-start-universal .wp-block-image.uh-start-media,
  .uh-starter-kit-block .wp-block-image.uh-starter-kit-media {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  /* «Новинка» начинается выше, а перед «Стартовым комплектом»
     остаётся умеренный, не чрезмерный интервал. */
  .uh-hero-bg-png.uh-home-hero-flow + .uh-content-section.uh-home-novinka-clean {
    padding-top: clamp(4px, 1vw, 12px) !important;
  }

  .uh-home-novinka-clean .uh-start-columns {
    row-gap: clamp(10px, 1.6vw, 18px) !important;
  }

  .uh-home-novinka-clean .uh-start-columns > .uh-content-media-col {
    transform: translateY(-8px);
  }

  .uh-content-section.uh-home-readers-choice {
    padding-top: clamp(32px, 3.8vw, 44px) !important;
  }

  .uh-home-novinka-clean .uh-home-novinka-desktop-action {
    width: 100% !important;
    justify-content: center !important;
  }

  /* «Об авторе» ближе к кнопке предзаказа. */
  .uh-content-section.uh-soon-block.uh-home-soon-tight,
  .uh-content-section.uh-soon-block.uh-home-soon-tight.uh-soon-orbit {
    padding-bottom: clamp(44px, 5vw, 58px) !important;
  }

  .uh-content-section.uh-home-author-block {
    padding-top: clamp(36px, 4vw, 46px) !important;
  }

  /* Планшет: три равные смысловые зоны — кнопка / воздух / звезда. */
  .uh-home-author-block .uh-author-action-row-desktop {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center !important;
    width: min(100%, 720px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .uh-home-author-block .uh-author-action-button-col {
    grid-column: 1;
    justify-self: center;
    width: auto !important;
    max-width: none !important;
  }

  .uh-home-author-block .uh-author-award-col {
    grid-column: 3;
    justify-self: center;
    width: auto !important;
    max-width: none !important;
  }

  .uh-home-author-block .uh-author-primary-actions {
    justify-content: center !important;
  }

  .uh-home-author-block .uh-author-award-mark {
    width: clamp(104px, 14vw, 124px) !important;
    margin: 0 !important;
  }

  .uh-content-section.uh-home-author-block {
    padding-bottom: clamp(18px, 2.2vw, 26px) !important;
  }

  .uh-content-section.uh-home-followup-cards {
    padding-top: clamp(12px, 1.6vw, 18px) !important;
    margin-top: 0 !important;
  }

  /* Длинные карточки используют ту же рабочую ширину, что и остальные блоки. */
  .uh-blog-articles-block .uh-blog-long-list {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* «Новые статьи» и длинные «Новости автора»: единая адаптивная карточка.
   Изображение всегда сохраняет редакционный формат 4:3. На горизонтальных
   карточках стартовая ширина медиаколонки — 30%, а точное значение задаётся
   локальной переменной --uh-long-media-width после измерения реальной высоты
   текста. Благодаря этому картинка 4:3 и текстовая колонка заканчиваются на
   одной линии. Единственный переход в один столбец остаётся на 689 px. */
.uh-blog-long-list {
  display: grid !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  margin-top: clamp(28px, 3vw, 40px) !important;
}

.uh-blog-long-card:not(.uh-collection-series-card) {
  display: grid !important;
  grid-template-columns: minmax(0, var(--uh-long-media-width, 30%)) minmax(0, 1fr);
  align-items: stretch !important;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(221, 210, 194, 0.54);
  border-radius: var(--uh-radius-card);
  background:
    radial-gradient(560px 300px at 18% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(255,252,247,0.66));
  box-shadow: 0 12px 26px rgba(47, 41, 37, 0.05);
}

.uh-blog-long-card:not(.uh-collection-series-card) > .wp-block-image.uh-blog-long-card-media {
  position: relative;
  align-self: start !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.uh-blog-long-card:not(.uh-collection-series-card) > .wp-block-image.uh-blog-long-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.uh-blog-long-card-body {
  box-sizing: border-box;
  align-self: stretch;
  width: 100% !important;
  max-width: none !important;
  padding: clamp(20px, 2.3vw, 30px);
  text-align: left;
}

/* В готовой горизонтальной карточке дата служит нижней опорной строкой.
   Её прежний минимальный интервал 14 px сохранён через padding-top; если
   изображение чуть выше естественного текста, свободное место оказывается
   перед датой, а не бессмысленным «подвалом» под ней. Во время измерения JS
   возвращает обычный поток, чтобы вычислялась реальная высота текста. */
@media (min-width: 690px) {
  .uh-blog-long-card:not(.uh-collection-series-card):not(.is-uh-long-card-measuring)
    .uh-blog-long-card-body > .uh-card-date {
    margin-top: auto !important;
    padding-top: 14px;
  }

  .uh-blog-long-card:not(.uh-collection-series-card).is-uh-long-card-measuring
    .uh-blog-long-card-body {
    align-self: start !important;
  }

  .uh-blog-long-card:not(.uh-collection-series-card).is-uh-long-card-measuring
    .uh-blog-long-card-body > .uh-card-date {
    margin-top: 14px !important;
    padding-top: 0;
  }
}

.uh-blog-long-card-body > :where(.uh-kicker-card, .wp-block-heading, .uh-lead-card) {
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
}

/* Телефон: единый мобильный breakpoint сайта. */
@media (max-width: 689px) {
  .uh-blog-long-card:not(.uh-collection-series-card) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    min-height: 0 !important;
  }

  .uh-blog-long-card:not(.uh-collection-series-card) > .wp-block-image.uh-blog-long-card-media {
    align-self: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }

  .uh-blog-long-card:not(.uh-collection-series-card) > .wp-block-image.uh-blog-long-card-media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .uh-blog-long-card:not(.uh-collection-series-card)
    .uh-blog-long-card-body > .uh-card-date {
    margin-top: 14px !important;
    padding-top: 0;
  }

}

/* «Отзывы»: единая карточка агрегатора.
   Этот блок полностью заменяет прежние последовательные патчи. Карточка
   больше не наследует геометрию длинных карточек блога и не использует
   служебные классы Gutenberg. Текст отзыва и строка книги всегда занимают
   одну и ту же центральную колонку CSS Grid, поэтому их левая граница не
   зависит от длины текста, фотографии или способа ввода отзыва. */
.uh-reviews-page-hero .uh-kicker-hero {
  color: var(--uh-cta) !important;
}

.uh-content-section.uh-reviews-page-block {
  padding-top: clamp(34px, 3.3vw, 52px) !important;
  padding-bottom: clamp(82px, 7.4vw, 122px) !important;
}

.uh-content-section.uh-blog-articles-block.uh-home-before-reviews {
  padding-bottom: clamp(36px, 3.1vw, 50px) !important;
}

.uh-content-section.uh-home-reviews-block {
  padding-top: clamp(41px, 3.6vw, 58px) !important;
  padding-bottom: clamp(48px, 4.3vw, 67px) !important;
}

.uh-home-reviews-block .uh-reviews-v2-list {
  margin-top: clamp(30px, 2.8vw, 40px) !important;
}

.uh-home-reviews-block + .uh-content-section.uh-cta-invitation {
  padding-top: clamp(43px, 3.8vw, 60px) !important;
}

.uh-reviews-v2-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.uh-reviews-v2-filter {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  margin: 0 0 clamp(24px, 2.7vw, 38px) !important;
}

.uh-reviews-v2-filter-label {
  flex: 0 0 auto;
  margin: 0 !important;
  color: var(--uh-muted) !important;
  font-family: var(--uh-font-heading) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.uh-reviews-v2-filter-select {
  box-sizing: border-box;
  width: min(100%, 430px);
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 38px 10px 15px;
  color: var(--uh-heading) !important;
  font-family: var(--uh-font-heading) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2;
  border: 1px solid rgba(var(--uh-cta-rgb), 0.28) !important;
  border-radius: 10px !important;
  background-color: rgba(255, 252, 247, 0.88) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70), 0 6px 16px rgba(47,41,37,0.035) !important;
  cursor: pointer;
}

.uh-reviews-v2-filter-select:hover {
  border-color: rgba(var(--uh-cta-rgb), 0.48) !important;
}

.uh-reviews-v2-filter-select:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb), 0.30) !important;
  outline-offset: 2px;
}

.uh-reviews-v2-list {
  display: grid !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.uh-review-v2-card[hidden] {
  display: none !important;
}

.uh-review-v2-card {
  display: grid !important;
  grid-template-columns: clamp(154px, 16.5vw, 196px) minmax(0, 1fr) !important;
  align-items: stretch !important;
  overflow: hidden;
  width: 100% !important;
  min-width: 0;
  min-height: clamp(202px, 16vw, 244px);
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(221, 210, 194, 0.54);
  border-radius: var(--uh-radius-card);
  background:
    radial-gradient(560px 300px at 18% 0%, rgba(255,255,255,0.90), rgba(255,255,255,0) 72%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(255,252,247,0.66));
  box-shadow: 0 12px 26px rgba(47, 41, 37, 0.05);
}

.uh-review-v2-author {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0 !important;
  padding: clamp(20px, 2.2vw, 28px) clamp(18px, 1.8vw, 24px);
  text-align: center;
}

.uh-review-v2-visual {
  display: block !important;
  flex: 0 0 auto;
  width: clamp(104px, 9vw, 126px) !important;
  height: clamp(82px, 7.2vw, 104px) !important;
  margin: 0 !important;
}

.uh-review-v2-avatar {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.uh-review-v2-visual.is-placeholder .uh-review-v2-avatar {
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
}

.uh-review-v2-visual.is-photo {
  width: clamp(78px, 7vw, 94px) !important;
  height: clamp(78px, 7vw, 94px) !important;
}

.uh-review-v2-visual.is-photo .uh-review-v2-avatar {
  object-fit: cover !important;
  object-position: center !important;
  border: 3px solid var(--uh-panel) !important;
  border-radius: 50% !important;
  outline: 1px solid rgba(var(--uh-cta-rgb),0.22);
  box-shadow: 0 8px 18px rgba(47,41,37,0.08) !important;
}

.uh-review-v2-meta {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  margin: clamp(8px, 0.9vw, 12px) 0 0 !important;
  font-family: var(--uh-font-heading) !important;
}

.uh-review-v2-name,
.uh-review-v2-role {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  font-family: var(--uh-font-heading) !important;
  font-size: var(--uh-font-kicker-card) !important;
  text-align: center !important;
}

.uh-review-v2-name {
  margin: 0 !important;
  color: var(--uh-body) !important;
  font-weight: 600;
  line-height: 1.28;
}

.uh-review-v2-role {
  min-height: 2.64em;
  margin: 4px 0 0 !important;
  color: rgba(95,86,80,0.68) !important;
  font-weight: 400;
  line-height: 1.32;
}

.uh-review-v2-main {
  --uh-review-v2-start: clamp(72px, 6vw, 96px);
  --uh-review-v2-end: clamp(84px, 7vw, 112px);

  position: relative;
  display: grid !important;
  grid-template-columns: var(--uh-review-v2-start) minmax(0, 1fr) var(--uh-review-v2-end) !important;
  grid-template-rows: minmax(0, 1fr) auto auto !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 !important;
  padding: clamp(28px, 3vw, 40px) 0 clamp(24px, 2.6vw, 34px) !important;
  border-left: 1px solid rgba(var(--uh-cta-rgb),0.18);
}

.uh-review-v2-main::before,
.uh-review-v2-main::after {
  position: absolute;
  z-index: 0;
  color: rgba(var(--uh-cta-rgb),0.28);
  font-family: var(--uh-font-heading) !important;
  font-weight: 400;
  line-height: 0.75;
  pointer-events: none;
}

.uh-review-v2-main::before {
  content: "“";
  top: clamp(22px, 2.2vw, 28px);
  left: clamp(18px, 2vw, 26px);
  font-size: clamp(48px, 4.2vw, 62px);
}

.uh-review-v2-main::after {
  content: "”";
  right: clamp(22px, 2.2vw, 30px);
  bottom: clamp(17px, 1.8vw, 23px);
  font-size: clamp(34px, 3vw, 44px);
  opacity: 0.64;
}

.uh-review-v2-quote,
.uh-review-v2-footer {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  box-sizing: border-box;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
}

.uh-review-v2-quote {
  grid-row: 1;
  align-self: center;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  color: var(--uh-heading) !important;
  font-family: var(--uh-card-font-family) !important;
  font-size: var(--uh-card-font-size) !important;
  font-weight: var(--uh-card-font-weight);
  font-style: normal !important;
  line-height: var(--uh-card-line-height) !important;
  letter-spacing: var(--uh-card-letter-spacing);
}

.uh-review-v2-quote > p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  text-align: left !important;
}

.uh-review-v2-quote > p + p {
  margin-top: 0.7em !important;
}

.uh-review-v2-quote.is-collapsible {
  overflow: hidden;
  transition: max-height 300ms ease;
}

.uh-review-v2-quote.is-collapsible:not(.is-expanded) {
  clip-path: inset(0 0 var(--uh-review-v2-clip-bottom, 0px) 0);
}

.uh-review-v2-main > button.uh-review-v2-toggle {
  grid-column: 2 !important;
  grid-row: 2;
  justify-self: end !important;
  align-self: start;
  display: none;
  width: max-content !important;
  max-width: 100%;
  margin: 0 0 0 auto !important;
  padding: 10px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--uh-cta) !important;
  font-family: "Philosopher", var(--uh-font-heading), serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: right !important;
  text-decoration: none !important;
  cursor: pointer;
  appearance: none;
  transition: color 180ms ease;
}

.uh-review-v2-main > button.uh-review-v2-toggle.is-visible {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
}

.uh-review-v2-main > button.uh-review-v2-toggle:hover,
.uh-review-v2-main > button.uh-review-v2-toggle:focus-visible {
  color: var(--uh-champagne, var(--uh-cta)) !important;
}

.uh-review-v2-main > button.uh-review-v2-toggle:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb),0.38);
  outline-offset: 4px;
}

.uh-review-v2-footer {
  grid-row: 3;
  align-self: end;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: clamp(18px, 2.4vw, 34px);
  row-gap: 6px;
  margin-top: 0 !important;
  margin-bottom: 1.32em !important;
  padding-top: clamp(18px, 1.8vw, 24px) !important;
  font-family: var(--uh-font-heading) !important;
  font-size: calc(var(--uh-font-kicker-card) + 1px) !important;
  line-height: 1.3;
}

.uh-review-v2-book,
.uh-review-v2-source {
  display: flex !important;
  align-items: baseline;
  min-width: 0;
  gap: 0.42em;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  line-height: inherit !important;
}

.uh-review-v2-book {
  justify-self: start;
}

.uh-review-v2-source {
  justify-self: end;
  white-space: nowrap;
}

.uh-review-v2-book-label,
.uh-review-v2-source-label {
  flex: 0 0 auto;
  color: rgba(95,86,80,0.68) !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  font-synthesis: none;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.uh-review-v2-book-title,
a.uh-review-v2-book-title,
.uh-review-v2-source-link,
a.uh-review-v2-source-link,
.uh-review-v2-source-text {
  min-width: 0;
  color: var(--uh-cta) !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 600;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.uh-review-v2-book-title,
a.uh-review-v2-book-title {
  display: block;
}

.uh-review-v2-source-link,
a.uh-review-v2-source-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
}

.uh-review-v2-source-arrow {
  display: inline-block;
  font-size: 0.86em;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-0.05em);
}

.uh-review-v2-book-title:hover,
.uh-review-v2-book-title:focus-visible,
a.uh-review-v2-book-title:hover,
a.uh-review-v2-book-title:focus-visible,
.uh-review-v2-source-link:hover,
.uh-review-v2-source-link:focus-visible,
a.uh-review-v2-source-link:hover,
a.uh-review-v2-source-link:focus-visible {
  color: var(--uh-champagne, var(--uh-cta)) !important;
  text-decoration: none !important;
}

.uh-review-v2-source-link:focus-visible,
a.uh-review-v2-source-link:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb),0.30);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .uh-review-v2-quote.is-collapsible,
  .uh-review-v2-toggle {
    transition: none !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-reviews-page-block {
    padding-top: clamp(22px, 5.5vw, 32px) !important;
    padding-bottom: clamp(64px, 14vw, 88px) !important;
  }

  .uh-review-v2-card {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    min-height: 0;
  }

  .uh-review-v2-main {
    --uh-review-v2-start: clamp(42px, 11vw, 56px);
    --uh-review-v2-end: clamp(46px, 12vw, 62px);

    order: 1;
    padding: clamp(24px, 6vw, 30px) 0 clamp(20px, 5vw, 26px) !important;
    border-left: 0;
    border-bottom: 1px solid rgba(var(--uh-cta-rgb),0.16);
  }

  .uh-review-v2-main::before {
    top: 20px;
    left: 17px;
    font-size: clamp(44px, 12vw, 56px);
  }

  .uh-review-v2-main::after {
    right: 18px;
    bottom: 15px;
    font-size: clamp(30px, 8vw, 38px);
  }

  .uh-review-v2-footer {
    margin-bottom: 0 !important;
    padding-top: 14px !important;
  }

  .uh-review-v2-author {
    order: 2;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px clamp(18px, 5vw, 24px) 15px;
    text-align: left;
  }

  .uh-review-v2-visual,
  .uh-review-v2-visual.is-photo {
    width: clamp(66px, 18vw, 78px) !important;
    height: clamp(56px, 15vw, 68px) !important;
  }

  .uh-review-v2-visual.is-photo {
    height: clamp(66px, 18vw, 78px) !important;
  }

  .uh-review-v2-meta {
    align-items: flex-start;
    margin: 0 !important;
  }

  .uh-review-v2-name,
  .uh-review-v2-role {
    text-align: left !important;
  }

  .uh-review-v2-role {
    min-height: 0;
  }
}

@media (max-width: 689px) {
  .uh-reviews-v2-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 24px !important;
  }

  .uh-reviews-v2-filter-select {
    width: 100%;
  }

  .uh-review-v2-footer {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .uh-review-v2-source {
    justify-self: start;
    white-space: normal;
  }
}

@media (min-width: 782px) {
  .uh-blog-head-columns {
    flex-wrap: nowrap !important;
  }

  .uh-blog-head-main {
    flex: 1 1 0 !important;
    flex-basis: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .uh-blog-head-main > .uh-title-stack,
  .uh-blog-head-main > .uh-title-stack > .wp-block-heading,
  .uh-blog-head-main > .uh-title-stack > .uh-lead-section {
    width: 100% !important;
    max-width: none !important;
  }

  .uh-blog-head-side {
    flex: 0 0 clamp(116px, 10.8vw, 148px) !important;
    flex-basis: clamp(116px, 10.8vw, 148px) !important;
    width: clamp(116px, 10.8vw, 148px) !important;
    max-width: clamp(116px, 10.8vw, 148px) !important;
    min-width: clamp(116px, 10.8vw, 148px) !important;
  }
}

/* Мобильная версия. */
.uh-home-novinka-mobile-action,
.uh-author-mobile-stack {
  display: none !important;
}

@media (max-width: 781px) {
  .uh-hero-bg-png {
    padding-top: clamp(16px, 4vw, 24px) !important;
  }

  .uh-hero-bg-png.uh-home-hero-flow + .uh-content-section.uh-home-novinka-clean {
    --uh-featured-section-flow-size: clamp(64px, 16vw, 82px);
    padding-top: 0 !important;
  }

  .uh-home-novinka-clean .uh-start-columns > .uh-content-media-col {
    transform: translateY(-2px);
  }

  .uh-home-novinka-clean .uh-home-novinka-tags {
    margin-top: 20px !important;
    gap: 8px 10px !important;
  }

  .uh-home-novinka-clean .uh-home-novinka-tags + .uh-lead-section {
    margin-top: 22px !important;
  }

  .uh-home-novinka-clean .uh-home-novinka-desktop-action {
    display: none !important;
  }

  .uh-home-novinka-mobile-action {
    display: flex !important;
    justify-content: center !important;
    margin-top: clamp(28px, 7vw, 40px) !important;
    margin-bottom: 0 !important;
  }

  .uh-content-section.uh-home-readers-choice {
    padding-top: clamp(46px, 11vw, 58px) !important;
    padding-bottom: clamp(24px, 6vw, 34px) !important;
  }

  .uh-readers-choice-actions,
  .uh-author-news-actions,
  .uh-blog-actions,
  .uh-cta-invitation .uh-cta-actions {
    margin-top: clamp(40px, 10vw, 54px) !important;
  }

  /* «Об авторе» ближе к кнопке предзаказа. */
  .uh-content-section.uh-soon-block.uh-home-soon-tight,
  .uh-content-section.uh-soon-block.uh-home-soon-tight.uh-soon-orbit {
    padding-bottom: clamp(34px, 8vw, 46px) !important;
  }

  .uh-content-section.uh-home-author-block {
    padding-top: clamp(24px, 5vw, 32px) !important;
    padding-bottom: clamp(10px, 2.5vw, 16px) !important;
  }

  .uh-content-section.uh-home-followup-cards {
    padding-top: clamp(10px, 3vw, 16px) !important;
    margin-top: 0 !important;
  }

  .uh-home-author-block .uh-author-action-row-desktop {
    display: none !important;
  }

  /* Кнопка снова находится слева, звезда — справа. */
  .uh-author-mobile-stack {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 4vw, 22px);
    width: min(90%, 430px);
    margin: clamp(10px, 2.8vw, 16px) auto 0 !important;
  }

  .uh-author-mobile-primary-action {
    order: 1 !important;
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    transform: translateX(-10px);
  }

  .uh-author-mobile-primary-action .wp-block-button {
    margin: 0 !important;
  }

  .uh-author-mobile-award-mark {
    order: 2 !important;
    flex: 0 0 auto;
    width: clamp(88px, 24vw, 96px) !important;
    margin: 0 !important;
    transform: translateX(-8px);
  }

  .uh-author-primary-actions .wp-block-button__link,
  .uh-author-mobile-primary-action .wp-block-button__link {
    white-space: nowrap;
  }

  /* Аватар: одинаковый визуальный отступ сверху и до первой карточки снизу. */
  .uh-blog-head-columns {
    row-gap: 0 !important;
    margin-bottom: 0 !important;
  }

  .uh-blog-head-side {
    display: flex !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: clamp(18px, 4.6vw, 24px) !important;
    margin-bottom: 0 !important;
  }

  .uh-blog-head-side .uh-blog-avatar-link,
  .uh-blog-head-side .uh-blog-avatar-link.uh-blog-avatar-large {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .uh-blog-long-list {
    gap: clamp(20px, 5vw, 26px) !important;
    margin-top: clamp(18px, 4.6vw, 24px) !important;
  }
}

@media (max-width: 689px) {
  .uh-blog-long-card-body {
    padding: clamp(18px, 5vw, 24px) !important;
  }
}

/* ========================================================================== */
/* КОЛЛЕКЦИЯ: книга месяца, горизонтальные серии и компактный агрегатор       */
/* ========================================================================== */

/* «Книга месяца»: текстовая колонка сохраняет штатную ширину, увеличивается
   только сама широкая обложка. Отступы мини-кнопок наследуются от «Новинки». */
@media (min-width: 1025px) {
  .uh-collection-book-month .wp-block-image.uh-start-media-book-single {
    width: min(100%, 420px) !important;
    max-width: 420px !important;
    transform: translateX(clamp(-18px, -1.2vw, -10px)) !important;
  }
}

@media (min-width: 782px) and (max-width: 1024px) {
  .uh-collection-book-month .wp-block-image.uh-start-media-book-single {
    width: min(100%, 375px) !important;
    max-width: 375px !important;
    transform: translateX(-10px) !important;
  }
}

@media (max-width: 560px) {
  .uh-collection-book-month .wp-block-image.uh-start-media-book-single {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    transform: none !important;
  }
}

/* Hero страниц «Где купить» и «Об авторе» использует общую систему
   .uh-hero-actions: естественная ширина кнопок и штатный перенос строк. */

/* English Version: international accent and the copied formats header without a top-right language link. */
.uh-english-contact-block .uh-contact-email {
  color: var(--uh-international) !important;
}

.uh-english-formats-block .uh-content-head > .uh-lead-section {
  grid-row: 3;
}

@media (max-width: 781px) {
  .uh-english-formats-block .uh-content-head > .uh-lead-section {
    grid-column: 1;
    grid-row: 3;
  }
}

/* English Version: the Baden-Baden section starts about 30% closer to the
   preceding formats block, while its lower breathing room remains unchanged. */
.uh-content-section.uh-english-tours-block {
  padding-top: clamp(52px, 4.9vw, 82px) !important;
  padding-bottom: clamp(74px, 7vw, 116px) !important;
}

/* English Version gallery: the gallery block creates its own controls,
   so the International palette is declared on the whole section and applied
   to Swiper as well as to the plugin's generic arrow and pagination markup. */
.uh-content-section.uh-english-tours-block {
  --wp--custom--carousel-block--navigation-color: var(--uh-international);
  --wp--custom--carousel-block--navigation-hover-color: var(--uh-international);
  --wp--custom--carousel-block--pagination-bullet-active-color: var(--uh-international);
  --wp--custom--carousel-block--pagination-bullet-inactive-color: rgba(var(--uh-international-rgb), 0.30);
  --wp--custom--carousel-block--pagination-bullet-inactive-hover-color: rgba(var(--uh-international-rgb), 0.64);
  --swiper-theme-color: var(--uh-international);
  --swiper-navigation-color: var(--uh-international);
  --swiper-pagination-color: var(--uh-international);
  --swiper-pagination-bullet-inactive-color: rgba(var(--uh-international-rgb), 0.30);
}

.uh-english-tours-block :is(
  .swiper-button-prev,
  .swiper-button-next,
  [class*="swiper-button"],
  [class*="gallery"] [class*="prev"],
  [class*="gallery"] [class*="next"],
  [class*="gallery"] [class*="arrow"],
  button[aria-label*="Предыдущ"],
  button[aria-label*="Следующ"],
  button[aria-label*="Previous"],
  button[aria-label*="Next"]
) {
  color: var(--uh-international) !important;
  border-color: rgba(var(--uh-international-rgb), 0.30) !important;
}

.uh-english-tours-block :is(
  .swiper-button-prev,
  .swiper-button-next,
  [class*="swiper-button"],
  [class*="gallery"] [class*="prev"],
  [class*="gallery"] [class*="next"],
  [class*="gallery"] [class*="arrow"],
  button[aria-label*="Предыдущ"],
  button[aria-label*="Следующ"],
  button[aria-label*="Previous"],
  button[aria-label*="Next"]
):hover {
  color: var(--uh-international) !important;
  border-color: rgba(var(--uh-international-rgb), 0.58) !important;
}

.uh-english-tours-block :is(
  .swiper-button-prev,
  .swiper-button-next,
  [class*="swiper-button"],
  [class*="gallery"] [class*="prev"],
  [class*="gallery"] [class*="next"],
  [class*="gallery"] [class*="arrow"],
  button[aria-label*="Предыдущ"],
  button[aria-label*="Следующ"],
  button[aria-label*="Previous"],
  button[aria-label*="Next"]
) :is(svg, path, polyline, line) {
  color: inherit !important;
  stroke: currentColor !important;
  fill: currentColor !important;
}

.uh-english-tours-block :is(
  .swiper-pagination-bullet,
  .splide__pagination__page,
  .slick-dots button,
  [class*="pagination"] button,
  [class*="pagination"] [role="button"],
  [class*="dots"] button,
  [class*="dots"] [role="button"]
) {
  background-color: rgba(var(--uh-international-rgb), 0.30) !important;
  border-color: rgba(var(--uh-international-rgb), 0.30) !important;
}

.uh-english-tours-block :is(
  .swiper-pagination-bullet-active,
  .splide__pagination__page.is-active,
  .slick-dots .slick-active button,
  [class*="pagination"] .active,
  [class*="pagination"] [aria-current="true"],
  [class*="dots"] .active,
  [class*="dots"] [aria-current="true"]
) {
  background-color: var(--uh-international) !important;
  border-color: var(--uh-international) !important;
  opacity: 1 !important;
}

.uh-english-tours-block :is(.uh-gallery-caption, figcaption, .wp-element-caption, [class*="caption"]) {
  color: var(--uh-international) !important;
}

/* English Version: the contact section begins about 30% closer to the tour
   gallery, while retaining its established lower spacing. */
.uh-content-section.uh-english-contact-block {
  padding-top: clamp(57px, 5.2vw, 87px) !important;
  padding-bottom: clamp(82px, 7.4vw, 124px) !important;
}

/* Страница «Где купить»: длинные карточки, международный маркер и финальный котик. */
.uh-content-section.uh-buy-format-block {
  overflow: visible !important;
}

.uh-content-section.uh-buy-format-block .uh-buy-format-card {
  overflow: visible;
}

.uh-format-info {
  position: relative;
  display: inline-flex;
  margin-left: 0.18em;
  vertical-align: 0.08em;
}

.uh-format-info-trigger {
  display: inline-grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  color: var(--uh-muted);
  font-family: var(--uh-font-heading);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  border: 1px solid rgba(95, 86, 80, 0.34);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.84);
  box-shadow: none;
}

.uh-format-info-trigger:hover,
.uh-format-info-trigger:focus-visible {
  color: var(--uh-cta);
  border-color: rgba(var(--uh-cta-rgb), 0.56);
  outline: none;
}

.uh-format-info-popover {
  position: absolute;
  z-index: 30;
  right: -8px;
  bottom: calc(100% + 12px);
  width: min(390px, calc(100vw - 48px));
  padding: 16px 18px;
  color: var(--uh-body);
  font-family: var(--uh-card-font-family);
  font-size: max(15px, calc(var(--theme-font-size, 19px) - 3px));
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  letter-spacing: normal;
  border: 1px solid rgba(221, 210, 194, 0.82);
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: 0 16px 38px rgba(47, 41, 37, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.uh-format-info-popover::after {
  position: absolute;
  top: 100%;
  right: 12px;
  width: 12px;
  height: 12px;
  content: "";
  border-right: 1px solid rgba(221, 210, 194, 0.82);
  border-bottom: 1px solid rgba(221, 210, 194, 0.82);
  background: #fffdf9;
  transform: translateY(-6px) rotate(45deg);
}

.uh-format-info:hover .uh-format-info-popover,
.uh-format-info:focus-within .uh-format-info-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 690px) {
  /* Desktop/tablet keeps the approved absolute popover. JS only nudges it
     horizontally when its left edge would otherwise leave the viewport. */
  .uh-format-info-popover {
    transform: translate(var(--uh-format-popover-shift-x, 0px), 5px);
  }

  .uh-format-info-popover::after {
    right: var(--uh-format-popover-arrow-right, 12px);
  }

  .uh-format-info:hover .uh-format-info-popover,
  .uh-format-info:focus-within .uh-format-info-popover {
    transform: translate(var(--uh-format-popover-shift-x, 0px), 0);
  }
}

@media (max-width: 689px) {
  .uh-format-info-popover {
    position: fixed;
    z-index: 10000;
    top: var(--uh-format-popover-top, 14px);
    right: auto;
    bottom: auto;
    left: var(--uh-format-popover-left, 14px);
    box-sizing: border-box;
    width: min(330px, calc(100vw - 28px));
    max-height: min(var(--uh-format-popover-max-height, 58vh), 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(6px);
  }

  /* Координаты рассчитываются от самой буквы i. Окно остаётся рядом
     с триггером, а JS ограничивает его положение краями viewport. */
  .uh-format-info-popover::after {
    display: none;
  }

  .uh-format-info:hover .uh-format-info-popover,
  .uh-format-info:focus-within .uh-format-info-popover {
    transform: translateY(0);
  }
}

.uh-content-section.uh-buy-format-block:not(.uh-buy-international-block):not(.uh-book-formats-block) {
  padding-bottom: clamp(24px, 2.4vw, 34px) !important;
}

.uh-content-section.uh-collection-series-block.uh-buy-international-block {
  padding-top: clamp(36px, 3.2vw, 48px) !important;
  padding-bottom: clamp(72px, 6vw, 94px) !important;
}

.uh-buy-international-block .uh-content-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(22px, 3vw, 44px);
  width: 100%;
}

.uh-buy-international-block .uh-content-head > .uh-kicker-section {
  grid-column: 1;
  grid-row: 1;
}

.uh-buy-international-block .uh-content-head > .wp-block-heading {
  grid-column: 1 / -1;
  grid-row: 2;
}

.uh-buy-international-block .uh-content-head > .uh-buy-international-english-link {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0 !important;
}

.uh-buy-international-block .uh-content-head > .uh-lead-section {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: var(--uh-section-title-lead-gap) !important;
}

.uh-buy-international-block .uh-buy-format-list {
  margin-top: clamp(24px, 2.6vw, 34px) !important;
}

/* Новая стальная заливка: по светлоте равна карточкам «Выбрать формат»,
   а оттенок построен на international-палитре кнопок «Купить». */
.uh-buy-international-block .uh-buy-steel-card {
  background:
    radial-gradient(ellipse 92% 58% at -8% -4%, rgba(255,255,255,0.98) 0 38%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 72% 54% at 108% 106%, rgba(107,113,144,0.13) 0 20%, rgba(107,113,144,0) 72%),
    radial-gradient(ellipse 58% 44% at 42% 110%, rgba(144,151,178,0.10), rgba(144,151,178,0) 70%),
    linear-gradient(145deg, #FFFFFF 0%, #FCFCFE 52%, #EFF0F5 100%) !important;
}

.uh-content-section.uh-buy-starter-kit-cta {
  overflow: visible !important;
  padding-bottom: clamp(98px, 8.5vw, 132px) !important;
}

.uh-content-section.uh-buy-starter-kit-cta::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: auto;
  right: auto;
  bottom: clamp(-26px, -1.2vw, -14px);
  left: clamp(-88px, -3.8vw, -34px);
  width: min(28vw, 420px);
  height: min(28vw, 420px);
  background-image: var(--uh-wc-23-image);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  opacity: 0.34;
  pointer-events: none;
}

.uh-content-section.uh-buy-starter-kit-cta > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .uh-content-section.uh-buy-starter-kit-cta::before {
    bottom: -10px;
    left: -92px;
    width: min(56vw, 400px);
    height: min(56vw, 400px);
    opacity: 0.24;
  }
}

@media (max-width: 781px) {
  .uh-buy-international-block .uh-content-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .uh-buy-international-block .uh-content-head > .uh-kicker-section {
    grid-column: 1;
    grid-row: 1;
  }

  .uh-buy-international-block .uh-content-head > .wp-block-heading {
    grid-column: 1;
    grid-row: 2;
  }

  .uh-buy-international-block .uh-content-head > .uh-buy-international-english-link {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: clamp(12px, 3vw, 18px) !important;
  }

  .uh-buy-international-block .uh-content-head > .uh-lead-section {
    grid-column: 1;
    grid-row: 4;
    margin-top: var(--uh-section-title-lead-gap-mobile) !important;
  }

  .uh-content-section.uh-collection-series-block.uh-buy-international-block {
    padding-top: clamp(34px, 8vw, 46px) !important;
    padding-bottom: clamp(58px, 12vw, 76px) !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-buy-starter-kit-cta {
    padding-bottom: clamp(128px, 30vw, 158px) !important;
  }

  .uh-content-section.uh-buy-starter-kit-cta::before {
    bottom: 0;
    left: 0;
    width: min(64vw, 250px);
    height: min(64vw, 250px);
    opacity: 0.24;
  }
}

/* «Книжные серии»: тот же ритм длинных карточек, что у «Новых статей»,
   но без изображения — название, описание и отдельная колонка CTA. */
.uh-content-section.uh-collection-series-block,
.uh-content-section.uh-start-book-block.uh-collection-book-month
  + .uh-content-section.uh-collection-series-block {
  padding-top: clamp(56px, 5vw, 74px) !important;
  padding-bottom: clamp(72px, 6vw, 94px) !important;
}

.uh-collection-series-list {
  margin-top: clamp(28px, 3vw, 40px) !important;
}

.uh-blog-long-card.uh-collection-series-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(270px, 300px) minmax(220px, 1fr) max-content !important;
  align-items: center !important;
  overflow: hidden;
  width: 100%;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--uh-radius-card);
}

.uh-collection-series-name,
.uh-collection-series-copy,
.uh-collection-series-action {
  box-sizing: border-box;
  min-width: 0;
  margin: 0 !important;
}

.uh-collection-series-name {
  padding: clamp(24px, 2.6vw, 34px) clamp(16px, 1.8vw, 24px)
    clamp(24px, 2.6vw, 34px) clamp(26px, 3vw, 38px);
}

.uh-collection-series-copy {
  padding: clamp(24px, 2.6vw, 34px) clamp(18px, 2.2vw, 30px);
}

.uh-collection-series-action {
  justify-content: flex-end !important;
  align-items: center !important;
  padding: clamp(24px, 2.6vw, 34px) clamp(26px, 3vw, 38px)
    clamp(24px, 2.6vw, 34px) clamp(12px, 1.5vw, 20px);
}

.uh-collection-series-name .wp-block-heading,
.uh-collection-series-copy .uh-series-card-kicker,
.uh-collection-series-copy .uh-lead-card {
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
}

.uh-collection-series-name .wp-block-heading {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.uh-collection-series-copy .uh-series-card-kicker {
  margin: 0 0 14px !important;
}

.uh-collection-series-copy .uh-lead-card {
  margin-bottom: 0 !important;
}


/* «Книжные серии» завершаются самостоятельным мягким переходом.
   Следующая секция использует общую двухстороннюю систему переходов. */

/* Старый ряд мини-кнопок скрывается после подключения нового агрегатора. */
.uh-collection-filter-bar[hidden],
.uh-collection-filter-bar[aria-hidden="true"] {
  display: none !important;
}

/* «Коллекция»: три равноправных фильтра с цветовой индикацией категорий. */
.uh-book-filter-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(16px, 2.2vw, 28px);
  width: 100%;
  margin: 0 0 14px;
}

.uh-book-filter-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
  margin: 0;
}

.uh-book-filter-label {
  color: var(--uh-muted);
  font-family: var(--uh-font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.uh-book-filter-field--series .uh-book-filter-label,
.uh-book-filter-field--topics .uh-book-filter-label,
.uh-book-filter-field--marks .uh-book-filter-label {
  color: var(--uh-muted);
}

.uh-book-filter-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 38px 10px 15px;
  color: var(--uh-heading);
  font-family: var(--uh-font-heading) !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  border: 1px solid rgba(var(--uh-cta-rgb), 0.28);
  border-radius: 10px;
  background-color: rgba(255, 252, 247, 0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70), 0 6px 16px rgba(47,41,37,0.035);
  cursor: pointer;
}

.uh-book-filter-field select:hover {
  border-color: rgba(var(--uh-cta-rgb), 0.48);
}

.uh-book-filter-field select:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb), 0.30);
  outline-offset: 2px;
}

.uh-book-filter-status {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;
  width: 100%;
  min-height: 24px;
  margin: 0 0 clamp(46px, 4.6vw, 66px) !important;
  color: var(--uh-muted);
  font-family: var(--uh-font-heading);
  font-size: 14px;
  line-height: 1.35;
}

.uh-book-filter-clear {
  padding: 0;
  color: var(--uh-cta);
  font: inherit;
  font-weight: 700;
  border: 0;
  border-bottom: 1px solid rgba(var(--uh-cta-rgb), 0.35);
  background: transparent;
  cursor: pointer;
}

.uh-book-filter-clear:hover,
.uh-book-filter-clear:focus-visible {
  color: var(--uh-cta-dark);
  border-bottom-color: currentColor;
}

.uh-book-filter-clear:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb), 0.24);
  outline-offset: 3px;
}

@media (max-width: 689px) {
  .uh-book-filter-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .uh-book-filter-status {
    justify-content: flex-start;
    margin-bottom: 40px !important;
  }
}

/* Компактная типографика заголовков карточек сайта. */
:where(
  .uh-content-card,
  .uh-blog-long-card,
  .uh-review-v2-card,
  .uh-blog-podcast-card,
  .uh-video-feature-card,
  .uh-news-card-item,
  .uh-article-related-card,
  .uh-news-related-card,
  .uh-news-related-book
) h3 {
  font-size: clamp(24px, 1.85vw, 26px) !important;
  line-height: 1.18 !important;
}

/* Кикер серии становится спокойной текстовой ссылкой-фильтром. */
.uh-book-series-kicker-link,
.uh-book-series-kicker-link:visited {
  color: var(--uh-kicker-color, var(--uh-cozy)) !important;
  text-decoration: none !important;
}

.uh-book-series-kicker-link:hover,
.uh-book-series-kicker-link:focus-visible {
  color: var(--uh-cta) !important;
}

.uh-book-series-kicker-link:focus-visible,
.uh-book-taxonomy-link:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb), 0.28);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Описание и рубрики карточки образуют спокойный левый текстовый блок. */
.uh-collection-all-books .uh-book-card-content > .uh-lead-card,
.uh-collection-all-books .uh-book-card-taxonomy {
  align-self: stretch;
  width: 100%;
  text-align: left !important;
}

.uh-book-card-taxonomy {
  width: 100%;
  margin-top: 16px;
  color: var(--uh-muted);
  font-size: 14px;
  line-height: 1.48;
}

.uh-book-card-taxonomy-line,
.uh-book-card-content .uh-book-card-taxonomy-line {
  margin: 0 !important;
  text-align: left !important;
}

.uh-book-card-taxonomy-line + .uh-book-card-taxonomy-line {
  margin-top: 5px !important;
}

.uh-book-card-taxonomy-label,
.uh-book-hero-taxonomy-label {
  font-family: var(--uh-font-heading);
  font-weight: 700;
}

.uh-book-card-taxonomy-label--series,
.uh-book-hero-taxonomy-label--series,
.uh-book-card-taxonomy-label--topics,
.uh-book-hero-taxonomy-label--topics,
.uh-book-card-taxonomy-label--marks,
.uh-book-hero-taxonomy-label--marks {
  color: var(--uh-muted);
}

.uh-book-taxonomy-link,
.uh-book-taxonomy-link:visited {
  color: var(--uh-muted) !important;
  text-decoration: none !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
}

.uh-book-taxonomy-link--tsarskaya-semya,
.uh-book-taxonomy-link--tsarskaya-semya:visited {
  color: var(--uh-royal) !important;
}

.uh-book-taxonomy-link--sudba-emigranta,
.uh-book-taxonomy-link--sudba-emigranta:visited {
  color: var(--uh-emigrant) !important;
}

.uh-book-taxonomy-link--vydayushchiesya-lyudi,
.uh-book-taxonomy-link--vydayushchiesya-lyudi:visited {
  color: var(--uh-people) !important;
}

.uh-book-taxonomy-link--silnye-zhenshchiny,
.uh-book-taxonomy-link--silnye-zhenshchiny:visited {
  color: var(--uh-women) !important;
}

.uh-book-taxonomy-link--istoriya-lyubvi,
.uh-book-taxonomy-link--istoriya-lyubvi:visited {
  color: var(--uh-love) !important;
}

.uh-book-taxonomy-link--vybor-kritikov,
.uh-book-taxonomy-link--vybor-kritikov:visited,
.uh-book-taxonomy-link--vybor-blogerov,
.uh-book-taxonomy-link--vybor-blogerov:visited,
.uh-book-taxonomy-link--bestseller,
.uh-book-taxonomy-link--bestseller:visited {
  color: var(--uh-choice) !important;
}

.uh-book-taxonomy-link--novinka,
.uh-book-taxonomy-link--novinka:visited {
  color: var(--uh-new) !important;
}

.uh-book-taxonomy-link--startovyy-komplekt,
.uh-book-taxonomy-link--startovyy-komplekt:visited {
  color: var(--uh-author) !important;
}

.uh-book-taxonomy-link--vne-serii,
.uh-book-taxonomy-link--vne-serii:visited {
  color: var(--uh-cta) !important;
}

.uh-book-taxonomy-link--uyutnaya-istoriya,
.uh-book-taxonomy-link--uyutnaya-istoriya:visited {
  color: var(--uh-cozy) !important;
}

.uh-book-taxonomy-link--epokha-romanovykh,
.uh-book-taxonomy-link--epokha-romanovykh:visited {
  color: var(--uh-romanovs) !important;
}

.uh-book-taxonomy-link--golos-imperii,
.uh-book-taxonomy-link--golos-imperii:visited {
  color: var(--uh-voice) !important;
}

.uh-book-taxonomy-link:hover,
.uh-book-taxonomy-link:focus-visible {
  color: var(--uh-cta) !important;
  text-decoration: none !important;
  filter: none;
}

.uh-book-taxonomy-separator {
  color: rgba(95, 86, 80, 0.42);
}

/* Один приоритетный рекламный флажок; темы и служебные отметки остаются в тексте.
   Цельная тонкая лента без приставного треугольника: левый кончик вырезан
   непосредственно из формы, поэтому нет шва и тяжёлого угла. */
:where(.uh-book-ribbon, .uh-book-hero-ribbon) {
  --uh-book-badge-bg: var(--uh-cta);
  --uh-book-badge-rgb: var(--uh-cta-rgb);
  --uh-book-badge-fold: var(--uh-cta-dark);
  position: absolute;
  z-index: 5;
  top: 14px;
  right: -3px;
  max-width: calc(100% - 30px);
  padding: 5.5px 12px 5.5px 15px;
  color: #FFFDF9;
  font-family: var(--uh-font-heading);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.09em;
  border: 0;
  border-radius: 0 1.5px 1.5px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 48%),
    linear-gradient(105deg, rgba(var(--uh-book-badge-rgb),0.95), rgba(var(--uh-book-badge-rgb),0.86));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 4px 10px rgba(47,41,37,0.10);
  clip-path: polygon(7px 0, 100% 0, 100% 100%, 7px 100%, 0 50%);
  pointer-events: none;
  transform: scale(1);
  transform-origin: right top;
}

:where(.uh-book-ribbon, .uh-book-hero-ribbon)::before,
:where(.uh-book-ribbon, .uh-book-hero-ribbon)::after {
  content: none !important;
  display: none !important;
}

.uh-book-ribbon--new,
.uh-book-hero-ribbon--new {
  --uh-book-badge-bg: var(--uh-new);
  --uh-book-badge-rgb: var(--uh-new-rgb);
  --uh-book-badge-fold: #526B3F;
}

.uh-book-ribbon--starter,
.uh-book-hero-ribbon--starter {
  --uh-book-badge-bg: var(--uh-author);
  --uh-book-badge-rgb: var(--uh-author-rgb);
  --uh-book-badge-fold: var(--uh-author-dark);
}

.uh-book-ribbon--critics,
.uh-book-ribbon--bestseller,
.uh-book-hero-ribbon--critics,
.uh-book-hero-ribbon--bestseller {
  --uh-book-badge-bg: var(--uh-choice);
  --uh-book-badge-rgb: var(--uh-choice-rgb);
  --uh-book-badge-fold: #74502F;
}

.uh-book-ribbon--out,
.uh-book-hero-ribbon--out {
  --uh-book-badge-bg: var(--uh-cta);
  --uh-book-badge-rgb: var(--uh-cta-rgb);
  --uh-book-badge-fold: var(--uh-cta-dark);
}

.uh-book-card-cover > a,
.uh-book-cover > img,
.uh-book-cover > .uh-book-cover-trigger {
  position: relative;
  z-index: 1;
}

/* Паспорт книги в Hero использует ту же цветовую логику категорий. */
.uh-book-hero-taxonomy {
  width: 100%;
  margin-top: 20px;
  color: var(--uh-muted);
  font-size: 15px;
  line-height: 1.48;
}

.uh-book-hero-taxonomy-line {
  margin: 0;
}

.uh-book-hero-taxonomy-line + .uh-book-hero-taxonomy-line {
  margin-top: 7px;
}

.uh-book-hero-editorial .uh-book-hero-taxonomy + .wp-block-buttons.uh-book-hero-cta {
  margin-top: 34px !important;
}

.uh-book-single .uh-book-hero-ribbon {
  top: clamp(20px, 2.2vw, 28px);
  right: -3px;
  padding: 6px 14px 6px 17px;
  font-size: 10.75px;
}

.uh-collection-all-books .uh-book-card-content > .uh-kicker-card + .wp-block-heading {
  margin-top: 17px !important;
}

.uh-collection-all-books .uh-book-card-content > .wp-block-heading + .uh-lead-card {
  margin-top: 12px !important;
}

.uh-collection-all-books .uh-book-card-content,
.uh-collection-all-books .uh-book-card-content.uh-title-stack {
  align-items: stretch !important;
  text-align: left !important;
}

.uh-collection-all-books .uh-book-card-content > :is(.wp-block-heading, h3),
.uh-collection-all-books .uh-book-card-content > :is(.wp-block-heading, h3) a {
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
}

.uh-collection-all-books .uh-book-card-content > :is(
  .uh-kicker-card,
  .uh-book-series-kicker-link
) {
  align-self: center !important;
  width: fit-content !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.uh-book-card-subtitle {
  align-self: stretch;
  width: 100%;
  margin: 10px 0 0 !important;
  color: var(--uh-kicker-color, var(--uh-cozy)) !important;
  font-family: var(--uh-card-font-family) !important;
  font-size: var(--uh-card-font-size) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: var(--uh-card-line-height) !important;
  letter-spacing: var(--uh-card-letter-spacing) !important;
  text-align: left !important;
}

.uh-book-card-subtitle + .uh-lead-card {
  margin-top: 8px !important;
}

.uh-book-card-taxonomy,
.uh-book-hero-taxonomy,
.uh-featured-book-meta {
  border-top: 1px solid rgba(95, 86, 80, 0.16);
}

.uh-book-card-taxonomy {
  margin-top: 20px !important;
  padding-top: 14px;
}

.uh-book-hero-taxonomy {
  margin-top: 24px !important;
  padding-top: 16px;
}

.uh-book-aggregator--starter,
.uh-book-aggregator--related {
  --uh-card-gap: clamp(42px, 5vw, 68px);
  width: 100%;
  margin-top: clamp(46px, 4.6vw, 64px) !important;
}

@media (max-width: 781px) {
  .uh-book-aggregator--starter,
  .uh-book-aggregator--related {
    margin-top: 38px !important;
  }
}

@media (max-width: 689px) {
  :where(
    .uh-content-card,
    .uh-blog-long-card,
    .uh-review-v2-card,
    .uh-blog-podcast-card,
    .uh-video-feature-card,
    .uh-news-card-item,
    .uh-article-related-card,
    .uh-news-related-card,
    .uh-news-related-book
  ) h3 {
    font-size: clamp(22px, 6vw, 24px) !important;
  }

  .uh-book-card-taxonomy {
    font-size: 13.5px;
  }

  .uh-book-ribbon,
  .uh-book-single .uh-book-hero-ribbon {
    top: 14px;
    right: -5px;
    padding: 5px 10px 5px 13px;
    font-size: 10px;
  }

  .uh-book-hero-taxonomy {
    margin-top: 17px;
    font-size: 14px;
  }

  .uh-book-hero-editorial .uh-book-hero-taxonomy + .wp-block-buttons.uh-book-hero-cta {
    margin-top: 29px !important;
  }
}


/* «Новинка» и «Книга месяца»: вместо тяжёлого ряда мини-кнопок
   используется компактный паспорт книги с утверждёнными цветами рубрик. */
.uh-featured-book-meta {
  width: 100%;
  margin-top: clamp(20px, 2vw, 28px) !important;
  padding-top: 15px;
  color: var(--uh-muted);
  font-family: var(--uh-card-font-family);
  font-size: max(15px, calc(var(--theme-font-size, 19px) - 4px));
  font-weight: var(--uh-card-font-weight);
  line-height: 1.5;
  letter-spacing: var(--uh-card-letter-spacing);
}

.uh-featured-book-meta-line {
  margin: 0 !important;
  text-align: left !important;
}

.uh-featured-book-meta-line + .uh-featured-book-meta-line {
  margin-top: 5px !important;
}

.uh-featured-book-meta-label {
  color: var(--uh-muted);
  font-family: var(--uh-font-heading);
  font-weight: 700;
}

.uh-featured-book-meta + .uh-lead-section {
  margin-top: clamp(18px, 1.8vw, 25px) !important;
}

.uh-lead-section + .uh-featured-book-meta {
  margin-top: clamp(18px, 1.8vw, 25px) !important;
}

.uh-home-novinka-clean .uh-featured-book-meta + .uh-content-actions,
.uh-collection-book-month .uh-featured-book-meta + .uh-content-actions {
  margin-top: clamp(24px, 2vw, 30px) !important;
}

.uh-home-novinka-clean .uh-book-subtitle,
.uh-collection-book-month .uh-book-subtitle {
  display: block;
  width: 100%;
  max-width: none;
  margin: 14px 0 0;
  padding: 0;
  font-family: "Gentium Book Plus", serif;
  font-size: var(--uh-font-lead-hero);
  font-style: italic;
  font-weight: 400;
  line-height: var(--uh-lead-line-height);
  letter-spacing: 0;
  text-decoration: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.uh-home-novinka-clean .uh-book-subtitle {
  color: var(--uh-voice);
}

/* Ручные БСКП: цвет подзаголовка можно связать с утверждённой серией
   добавлением одного из классов uh-tone-cozy / romanovs / voice. */
.uh-book-subtitle.uh-tone-cozy {
  color: var(--uh-cozy) !important;
}

.uh-book-subtitle.uh-tone-romanovs {
  color: var(--uh-romanovs) !important;
}

.uh-book-subtitle.uh-tone-voice {
  color: var(--uh-voice) !important;
}

.uh-featured-book-title-link,
.uh-featured-book-title-link:visited {
  display: inline;
  color: inherit !important;
  text-decoration: none !important;
}

.uh-featured-book-title-link:hover,
.uh-featured-book-title-link:focus-visible {
  color: var(--uh-cta) !important;
  text-decoration: none !important;
}

.uh-featured-book-cover-link {
  display: block;
  width: 100%;
  color: inherit !important;
  line-height: 0;
  text-decoration: none !important;
}

.uh-featured-book-cover-link:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb), 0.38);
  outline-offset: 8px;
  border-radius: 20px;
}

.uh-collection-book-month .uh-book-subtitle {
  color: var(--uh-romanovs);
}

.uh-content-section.uh-collection-all-books {
  --uh-card-gap: clamp(42px, 5vw, 68px);
  padding-top: clamp(28px, 2.8vw, 40px) !important;
  padding-bottom: 50px !important;
}

/* «Коллекция»: чуть более компактные обложки освобождают место тексту,
   а увеличенный штатный gap разводит соседние заголовки и описания. */
.uh-collection-all-books .wp-block-image.uh-book-card-cover {
  width: min(100%, 248px);
}

/* Книжная сетка «Коллекции»: обычный цвет заголовков и воздух между рядами. */
.uh-collection-all-books .uh-book-card :is(h3, h5) a,
.uh-collection-all-books .uh-book-card :is(h3, h5) a:visited {
  color: var(--uh-heading) !important;
  text-decoration: none !important;
}

.uh-collection-all-books .uh-book-card :is(h3, h5) a:hover,
.uh-collection-all-books .uh-book-card :is(h3, h5) a:focus-visible {
  color: var(--uh-cta) !important;
}



.uh-content-section.uh-collection-all-books
  + .uh-content-section.uh-cta-invitation {
  padding-top: 50px !important;
}

.uh-collection-all-books-actions {
  justify-content: center !important;
  width: 100%;
  margin-top: clamp(42px, 4vw, 58px) !important;
}

@media (max-width: 1024px) {
  .uh-blog-long-card.uh-collection-series-card {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
  }

  .uh-blog-long-card.uh-collection-series-card
    .uh-collection-series-name .wp-block-heading {
    width: 100% !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .uh-collection-series-name {
    padding: clamp(20px, 3.2vw, 28px) clamp(18px, 3vw, 26px) 10px;
  }

  .uh-collection-series-copy {
    padding: 10px clamp(18px, 3vw, 26px);
  }

  .uh-collection-series-action {
    justify-content: flex-start !important;
    padding: 12px clamp(18px, 3vw, 26px) clamp(22px, 4vw, 32px);
  }
}

@media (max-width: 1024px) and (min-width: 782px) {
  .uh-content-section.uh-collection-all-books {
    --uh-card-gap: clamp(36px, 4.5vw, 48px);
  }

}

@media (max-width: 781px) {
  .uh-content-section.uh-collection-series-block,
  .uh-content-section.uh-start-book-block.uh-collection-book-month
    + .uh-content-section.uh-collection-series-block {
    padding-top: clamp(44px, 9vw, 58px) !important;
    padding-bottom: clamp(58px, 12vw, 76px) !important;
  }
.uh-content-section.uh-collection-all-books {
    padding-top: clamp(24px, 5.5vw, 34px) !important;
    padding-bottom: clamp(17px, 4vw, 24px) !important;
  }

  .uh-collection-all-books .wp-block-image.uh-book-card-cover {
    width: min(100%, 280px);
  }

  .uh-content-section.uh-collection-all-books
    + .uh-content-section.uh-cta-invitation {
    padding-top: clamp(23px, 5.5vw, 32px) !important;
  }

  .uh-collection-all-books-actions {
    margin-top: clamp(34px, 8vw, 46px) !important;
  }
}

/* Десктоп: «Об авторе» ближе к кнопке предзаказа. */
@media (min-width: 1025px) {
  .uh-content-section.uh-soon-block.uh-home-soon-tight,
  .uh-content-section.uh-soon-block.uh-home-soon-tight.uh-soon-orbit {
    padding-bottom: clamp(54px, 5vw, 72px) !important;
  }

  .uh-content-section.uh-home-author-block {
    padding-top: clamp(42px, 3.8vw, 56px) !important;
  }
}

/* Светлая второстепенная CTA под секцией «Скоро». */
.uh-soon-preorder-actions {
  justify-content: center !important;
  width: 100%;
  margin-top: clamp(42px, 4.4vw, 60px) !important;
}

@media (max-width: 781px) {
  .uh-soon-preorder-actions {
    margin-top: clamp(34px, 8vw, 46px) !important;
  }
}

/* ========================================================================== */
/* СТРАНИЦА «ОБ АВТОРЕ»                                                       */
/* ========================================================================== */

/* Hero мягко переходит в «Биографию» по утверждённой схеме. */
.uh-content-section.uh-about-biography-block {
  padding-bottom: clamp(34px, 3.2vw, 48px) !important;
}

.uh-about-biography-block .uh-letter-content {
  border-left-color: rgba(var(--uh-author-rgb), 0.34) !important;
}

.uh-about-biography-block .uh-letter-content::before {
  background: rgba(var(--uh-author-rgb), 0.30) !important;
}

.uh-about-biography-block .uh-kicker-section {
  --uh-kicker-color: var(--uh-author);
  color: var(--uh-author) !important;
}

/* Фотогалерея: «Персиковая акварель» из группы «Об авторе» на Главной.
   Нижняя часть акварели начинает растворяться заранее и приходит точно
   в цвет страницы, без промежуточной белой полосы. */
.uh-content-section.uh-about-gallery-block {
  padding-top: clamp(48px, 4.4vw, 66px) !important;
  padding-bottom: clamp(92px, 7.4vw, 126px) !important;
  --wp--custom--carousel-block--navigation-color: var(--uh-author);
  --wp--custom--carousel-block--navigation-hover-color: var(--uh-author-dark);
  --wp--custom--carousel-block--pagination-bullet-active-color: var(--uh-author);
  --wp--custom--carousel-block--pagination-bullet-inactive-color: rgba(var(--uh-author-rgb), 0.28);
  --wp--custom--carousel-block--pagination-bullet-inactive-hover-color: rgba(var(--uh-author-rgb), 0.62);
  --swiper-theme-color: var(--uh-author);
  --swiper-navigation-color: var(--uh-author);
  --swiper-pagination-color: var(--uh-author);
  --swiper-pagination-bullet-inactive-color: rgba(var(--uh-author-rgb), 0.30);
  background:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251,248,242,0.70) 5%,
      rgba(251,248,242,0) 16%,
      rgba(251,248,242,0) 64%,
      rgba(251,248,242,0.18) 76%,
      rgba(251,248,242,0.52) 88%,
      rgba(251,248,242,0.86) 96%,
      var(--uh-page) 100%
    ),
    radial-gradient(ellipse 88% 58% at -10% -6%, rgba(255,255,255,0.89) 0 32%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 80% 62% at 110% 100%, rgba(210,137,103,0.16), rgba(210,137,103,0) 72%),
    radial-gradient(ellipse 58% 42% at 16% 102%, rgba(226,178,126,0.12), rgba(226,178,126,0) 70%),
    linear-gradient(145deg, #FFFDF9 0%, #FCECDD 52%, #F4DCC7 100%) !important;
}

/* Не накладываем поверх авторской акварели общий белёсый переход секций. */
.uh-content-section.uh-about-gallery-block::after {
  background:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251,248,242,0.62) 5%,
      rgba(251,248,242,0) 16%,
      rgba(251,248,242,0) 68%,
      rgba(251,248,242,0.20) 80%,
      rgba(251,248,242,0.58) 91%,
      var(--uh-page) 100%
    ) !important;
}

.uh-content-section.uh-about-gallery-block + .uh-content-section.uh-about-news-block {
  padding-top: clamp(10px, 1vw, 16px) !important;
  background: var(--uh-page) !important;
  box-shadow: none !important;
}

/* Управляемая плагином фотогалерея. Переменные заданы на всей секции,
   а прямые селекторы охватывают Swiper и собственные кнопки/точки плагина. */
.uh-about-gallery-block :is(
  .swiper-button-prev,
  .swiper-button-next,
  [class*="swiper-button"],
  [class*="gallery"] [class*="prev"],
  [class*="gallery"] [class*="next"],
  [class*="gallery"] [class*="arrow"],
  button[aria-label*="Предыдущ"],
  button[aria-label*="Следующ"],
  button[aria-label*="Previous"],
  button[aria-label*="Next"]
) {
  color: var(--uh-author) !important;
  border-color: rgba(var(--uh-author-rgb), 0.28) !important;
}

.uh-about-gallery-block :is(
  .swiper-button-prev,
  .swiper-button-next,
  [class*="swiper-button"],
  [class*="gallery"] [class*="prev"],
  [class*="gallery"] [class*="next"],
  [class*="gallery"] [class*="arrow"],
  button[aria-label*="Предыдущ"],
  button[aria-label*="Следующ"],
  button[aria-label*="Previous"],
  button[aria-label*="Next"]
):hover {
  color: var(--uh-author-dark) !important;
  border-color: rgba(var(--uh-author-rgb), 0.54) !important;
}

.uh-about-gallery-block :is(
  .swiper-button-prev,
  .swiper-button-next,
  [class*="swiper-button"],
  [class*="gallery"] [class*="prev"],
  [class*="gallery"] [class*="next"],
  [class*="gallery"] [class*="arrow"],
  button[aria-label*="Предыдущ"],
  button[aria-label*="Следующ"],
  button[aria-label*="Previous"],
  button[aria-label*="Next"]
) :is(svg, path, polyline, line) {
  color: inherit !important;
  stroke: currentColor !important;
  fill: currentColor !important;
}

.uh-about-gallery-block :is(
  .swiper-pagination-bullet,
  .splide__pagination__page,
  .slick-dots button,
  [class*="pagination"] button,
  [class*="pagination"] [role="button"],
  [class*="dots"] button,
  [class*="dots"] [role="button"]
) {
  background-color: rgba(var(--uh-author-rgb), 0.30) !important;
  border-color: rgba(var(--uh-author-rgb), 0.30) !important;
}

.uh-about-gallery-block :is(
  .swiper-pagination-bullet-active,
  .splide__pagination__page.is-active,
  .slick-dots .slick-active button,
  [class*="pagination"] .active,
  [class*="pagination"] [aria-current="true"],
  [class*="dots"] .active,
  [class*="dots"] [aria-current="true"]
) {
  background-color: var(--uh-author) !important;
  border-color: var(--uh-author) !important;
  opacity: 1 !important;
}

.uh-about-gallery-block :is(.uh-gallery-caption, figcaption, .wp-element-caption, [class*="caption"]) {
  color: var(--uh-author) !important;
}

/* Рубрики отчётливо различаются:
   выступления — авторский чернильно-лиловый,
   жизнь писателя — фиолетовый неон,
   книжные новости — королевский синий.
   Кикеры слегка усилены отдельными переменными. */
.uh-tone-author-life {
  --uh-kicker-color: var(--uh-author-life-kicker);
  color: var(--uh-author-life-kicker) !important;
}

.uh-tone-author-books {
  --uh-kicker-color: var(--uh-author-books-kicker);
  color: var(--uh-author-books-kicker) !important;
}

.uh-about-news-block .uh-content-head {
  margin-bottom: 0 !important;
}

/* Фильтр «Новостей автора» остаётся кнопочным. Между заголовком,
   кнопками и длинными карточками даём больше спокойного воздуха. */
.uh-about-news-filters {
  justify-content: flex-start !important;
  width: 100%;
  margin-top: clamp(30px, 2.8vw, 42px) !important;
  margin-bottom: clamp(38px, 3.5vw, 52px) !important;
  gap: 10px 12px !important;
}

@media (max-width: 781px) {
  .uh-content-section.uh-about-gallery-block {
    padding-top: clamp(42px, 9vw, 58px) !important;
    padding-bottom: clamp(76px, 16vw, 102px) !important;
  }

  .uh-content-section.uh-about-gallery-block + .uh-content-section.uh-about-news-block {
    padding-top: clamp(10px, 2.6vw, 16px) !important;
  }

  .uh-about-news-filters {
    justify-content: flex-start !important;
    margin-top: clamp(24px, 5.8vw, 32px) !important;
    margin-bottom: clamp(30px, 7vw, 40px) !important;
    gap: 8px 10px !important;
  }
}


/* =========================================================
   Страница «Блог»
   ========================================================= */
.uh-blog-page-hero .uh-kicker-hero {
  color: var(--uh-blog) !important;
}

.uh-blog-page-hero .wp-block-button.uh-btn-tone-blog {
  --uh-mx-tone: var(--uh-blog);
  --uh-mx-rgb: var(--uh-blog-rgb);
  --uh-mx-dark: var(--uh-blog-dark);
  --uh-mx-light: var(--uh-blog-light);
  --uh-mx-pale: var(--uh-blog-pale);
}

/* Hero «Блога» наследует общую flex-систему .uh-hero-actions:
   кнопки не сжимаются, не занимают ячейки и свободно переносятся. */

.uh-blog-subscribe-block .uh-kicker-section {
  color: var(--uh-blog) !important;
}

.uh-blog-subscribe-block .uh-cta-ornament {
  color: rgba(var(--uh-blog-rgb), 0.68);
}

.uh-blog-subscribe-block .uh-cta-ornament::before,
.uh-blog-subscribe-block .uh-cta-ornament::after {
  background: linear-gradient(90deg, rgba(var(--uh-blog-rgb),0), rgba(var(--uh-blog-rgb),0.48));
}

.uh-blog-subscribe-block .uh-social-medallions {
  justify-content: center !important;
  width: min(100%, 470px);
  margin-right: auto !important;
  margin-left: auto !important;
}

.uh-blog-subscribe-clean::before {
  content: none !important;
  background-image: none !important;
}

.uh-blog-subscribe-clean {
  padding-bottom: clamp(38px, 3.4vw, 54px) !important;
}

/* Чашка нижнего блока «Блога»: размер уменьшается вместе с экраном,
   а положение всегда отсчитывается от нижнего края полной секции. */
.uh-blog-subscribe-illustrated {
  --uh-ill-opacity: 0.22;
}

.uh-content-section.uh-blog-subscribe-illustrated::before {
  top: auto !important;
  right: clamp(-28px, -1.5vw, -8px) !important;
  bottom: clamp(-22px, -1.1vw, -10px) !important;
  width: clamp(232px, 18vw, 270px) !important;
  height: clamp(232px, 18vw, 270px) !important;
  opacity: 0.22 !important;
}

.uh-blog-video-block {
  position: relative;
  padding-top: clamp(34px, 3.2vw, 50px) !important;
  padding-bottom: clamp(54px, 5vw, 78px) !important;
  background:
    radial-gradient(circle at 76% 44%, rgba(var(--uh-blog-rgb), 0.065), transparent 34%),
    linear-gradient(180deg, rgba(251,248,242,0) 0%, rgba(var(--uh-blog-rgb),0.035) 38%, rgba(251,248,242,0) 100%);
}

.uh-blog-video-block .uh-content-head {
  margin-bottom: clamp(34px, 3.8vw, 54px) !important;
}

.uh-blog-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(280px, 1fr);
  gap: clamp(30px, 4vw, 58px) !important;
  align-items: start;
  margin: 0 !important;
}

.uh-blog-video-main,
.uh-blog-video-playlist {
  min-width: 0;
}

.uh-video-feature-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.uh-rutube-player-frame,
.uh-video-frame-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 clamp(22px, 2.4vw, 32px) !important;
  border-radius: clamp(18px, 2vw, 26px);
  background: rgba(30,45,50,0.10);
  box-shadow: 0 20px 54px rgba(58, 49, 43, 0.11);
  overflow: hidden;
}

.uh-rutube-player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.uh-video-feature-card > .uh-kicker-card {
  margin-bottom: 10px !important;
}

.uh-video-feature-card > h3 {
  max-width: 900px;
  margin: 0 !important;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.12;
}

.uh-video-feature-card > .uh-lead-card {
  display: -webkit-box;
  max-width: 850px;
  margin-top: 16px !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.uh-rutube-feature-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--uh-blog-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.uh-blog-playlist-title {
  margin: 0 0 10px !important;
  color: var(--uh-blog-dark);
  font-size: clamp(22px, 1.8vw, 29px);
}

.uh-video-playlist-stack {
  display: grid;
  gap: 0;
}

.uh-video-playlist-card {
  display: grid !important;
  grid-template-columns: minmax(112px, 41%) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(190,176,157,0.50) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.uh-video-playlist-card:first-child {
  padding-top: 8px !important;
}

.uh-rutube-playlist-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.uh-rutube-playlist-link:hover,
.uh-rutube-playlist-link:focus-visible {
  opacity: 0.82;
  transform: translateX(3px);
}

.uh-rutube-playlist-link.is-active .uh-rutube-playlist-heading {
  color: var(--uh-blog);
}

.uh-rutube-playlist-link:focus-visible {
  outline: 2px solid rgba(var(--uh-blog-rgb),0.38);
  outline-offset: 4px;
}

.uh-rutube-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(var(--uh-blog-rgb),0.80), rgba(40,52,56,0.90));
  color: #fff;
  overflow: hidden;
}

.uh-rutube-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uh-rutube-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25,35,39,0.03), rgba(25,35,39,0.24));
}

.uh-rutube-thumb-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding-left: 2px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 50%;
  background: rgba(25,35,39,0.34);
  font-size: 14px;
}

.uh-rutube-playlist-heading {
  display: -webkit-box;
  overflow: hidden;
  color: var(--uh-ink);
  font-family: var(--uh-font-heading);
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 600;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.uh-rutube-playlist-date {
  display: block;
  margin-top: 7px;
  color: rgba(50,47,43,0.58);
  font-size: 13px;
}

.uh-rutube-channel-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--uh-blog-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.uh-blog-podcast-card {
  display: grid !important;
  grid-template-columns: clamp(210px, 23vw, 280px) minmax(0, 1fr) !important;
  gap: clamp(26px, 3.4vw, 48px);
  align-items: center;
  margin-top: clamp(56px, 6vw, 86px) !important;
  padding: clamp(18px, 2vw, 26px) !important;
  border: 1px solid rgba(var(--uh-blog-rgb),0.14) !important;
  border-radius: clamp(24px, 2.5vw, 34px) !important;
  background: rgba(var(--uh-blog-rgb),0.055) !important;
  box-shadow: none !important;
  overflow: hidden;
}

.uh-podcast-cover,
.uh-podcast-media-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,0.24), transparent 36%),
    linear-gradient(145deg, var(--uh-blog), var(--uh-blog-dark));
  color: #fff;
  font-family: var(--uh-font-heading);
  font-size: clamp(64px, 8vw, 108px);
  overflow: hidden;
}

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

.uh-blog-podcast-card .uh-blog-long-card-body {
  padding: 0 !important;
}

.uh-blog-podcast-card h3 {
  margin: 0 !important;
  font-size: clamp(27px, 2.6vw, 42px);
  line-height: 1.12;
}

.uh-podcast-date {
  margin: 8px 0 0 !important;
  color: rgba(50,47,43,0.60);
  font-size: 14px;
}

.uh-blog-podcast-card .uh-lead-card {
  display: -webkit-box;
  margin-top: 15px !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.uh-podcast-audio {
  display: block;
  width: 100%;
  margin-top: clamp(18px, 2.2vw, 26px);
  accent-color: var(--uh-blog);
}

.uh-podcast-source-link {
  margin: 11px 0 0 !important;
  font-size: 14px;
}

.uh-podcast-source-link a {
  color: var(--uh-blog-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.uh-media-feed-fallback a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.uh-video-frame-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #fff;
  text-align: center;
}

.uh-video-play {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border: 1px solid rgba(255,255,255,0.64);
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  font-size: 25px;
}

@media (max-width: 1024px) {
  .uh-blog-video-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(255px, 1fr);
    gap: 28px !important;
  }

  .uh-blog-podcast-card {
    grid-template-columns: 220px minmax(0,1fr) !important;
  }
}

@media (max-width: 781px) {
  .uh-blog-video-block {
    padding-top: 28px !important;
    padding-bottom: 48px !important;
  }

  .uh-blog-video-layout {
    grid-template-columns: 1fr;
    gap: 38px !important;
  }

  .uh-video-feature-card > h3 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .uh-video-playlist-card {
    grid-template-columns: minmax(104px, 36%) minmax(0,1fr);
    gap: 14px;
  }

  .uh-blog-podcast-card {
    grid-template-columns: 1fr !important;
    gap: 24px;
    margin-top: 48px !important;
    padding: 16px !important;
  }

  .uh-podcast-cover,
  .uh-podcast-media-placeholder {
    width: min(100%, 320px);
    margin-inline: auto;
  }
}

.uh-blog-page-articles {
  padding-top: clamp(40px, 3.8vw, 54px) !important;
}

.uh-blog-article-filters {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  width: 100%;
  margin-top: clamp(22px, 2.2vw, 30px) !important;
  margin-bottom: clamp(38px, 4vw, 56px) !important;
}

.uh-article-filter-select {
  box-sizing: border-box;
  width: min(100%, 430px);
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 38px 10px 15px;
  color: var(--uh-heading) !important;
  font-family: var(--uh-font-heading) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2;
  border: 1px solid rgba(var(--uh-blog-rgb), 0.28) !important;
  border-radius: 10px !important;
  background-color: rgba(255, 252, 247, 0.88) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70), 0 6px 16px rgba(47,41,37,0.035) !important;
  cursor: pointer;
}

.uh-article-filter-select:hover {
  border-color: rgba(var(--uh-blog-rgb), 0.48) !important;
}

.uh-article-filter-select:focus-visible {
  outline: 2px solid rgba(var(--uh-blog-rgb), 0.30) !important;
  outline-offset: 2px;
}

.uh-blog-page-article-list {
  display: grid;
  gap: 0 !important;
}

.uh-blog-article-row {
  margin: 0 !important;
}

.uh-blog-page-article-list > .uh-blog-article-row + .uh-blog-article-row {
  margin-top: clamp(34px, 3.4vw, 48px) !important;
}

.uh-blog-article-card .wp-block-image.uh-card-media img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
}

.uh-blog-page-articles + .uh-blog-subscribe-illustrated {
  padding-top: clamp(60px, 5.4vw, 82px) !important;
}

@media (max-width: 781px) {
  .uh-blog-page-articles {
    padding-top: clamp(32px, 7vw, 42px) !important;
  }

  .uh-blog-article-filters {
    margin-top: 18px !important;
    margin-bottom: 32px !important;
  }

  .uh-article-filter-select {
    width: 100%;
  }

}

/* На планшете и телефоне в секции «Скоро» сохраняются обе кулисы,
   как в Hero страницы книги. */
@media (max-width: 1024px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251, 248, 242, 0.82) 6%,
        rgba(251, 248, 242, 0.38) 13%,
        rgba(251, 248, 242, 0.10) 20%,
        rgba(251, 248, 242, 0.10) 84%,
        rgba(251, 248, 242, 0.48) 93%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        rgba(251, 248, 242, 0.12),
        rgba(251, 248, 242, 0.12)
      ),
      linear-gradient(
        to right,
        rgba(251, 248, 242, 0.38) 0%,
        rgba(251, 248, 242, 0.22) 18%,
        rgba(251, 248, 242, 0.08) 36%,
        rgba(251, 248, 242, 0.08) 64%,
        rgba(251, 248, 242, 0.22) 82%,
        rgba(251, 248, 242, 0.38) 100%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
    background-position:
      center center,
      center center,
      center center,
      left -38px bottom,
      right -38px bottom !important;
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      auto 106%,
      auto 106% !important;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-home-shabby-frame {
    background-image:
      linear-gradient(
        to bottom,
        var(--uh-page) 0%,
        rgba(251, 248, 242, 0.86) 6%,
        rgba(251, 248, 242, 0.46) 13%,
        rgba(251, 248, 242, 0.15) 20%,
        rgba(251, 248, 242, 0.15) 84%,
        rgba(251, 248, 242, 0.56) 93%,
        var(--uh-page) 100%
      ),
      linear-gradient(
        rgba(251, 248, 242, 0.17),
        rgba(251, 248, 242, 0.17)
      ),
      linear-gradient(
        to right,
        rgba(251, 248, 242, 0.46) 0%,
        rgba(251, 248, 242, 0.28) 18%,
        rgba(251, 248, 242, 0.12) 36%,
        rgba(251, 248, 242, 0.12) 64%,
        rgba(251, 248, 242, 0.28) 82%,
        rgba(251, 248, 242, 0.46) 100%
      ),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
      url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
    background-position:
      center center,
      center center,
      center center,
      left -58px bottom,
      right -58px bottom !important;
    background-size:
      100% 100%,
      100% 100%,
      100% 100%,
      auto 102%,
      auto 102% !important;
  }
}

/* =========================================================
   v59 — канонический Hero и редакционная медиасекция «Блога»
   27 июля 2026
   ========================================================= */

/* Philosopher остаётся шрифтом заголовков и интерфейсных акцентов.
   Основной текст сайта сохраняет Gentium Book Plus, а текст карточек
   получает семейство и параметры из «Базового шрифта» активной темы. */
body,
.uh-hero-bg-png,
.uh-book-hero-bg,
.uh-content-section,
.uh-content-card,
.uh-blog-podcast-card,
input,
textarea,
select,
option {
  font-family: var(--uh-font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading,
.uh-kicker-hero,
.uh-kicker-section,
.uh-kicker-card,
.wp-block-button__link,
.wp-element-button,
button,
.uh-media-section-label,
.uh-media-video-title,
.uh-short-story-title,
.uh-media-platform-links a {
  font-family: var(--uh-font-heading) !important;
}

/* Hero «Блога» и «Контактов» в HTML теперь имеет ровно четыре
   канонических класса, совпадающих с Hero «Коллекции»:
   uh-hero-bg-png / uh-hero-bg-romantic / uh-hero-photo-right /
   uh-home-hero-flow. Отдельных внешних модификаторов нет. */

/* Медиасекция Блога: единая редакционная композиция без карточной
   стены, горизонтальных цветных полос и отдельного вводного топа. */
.uh-content-section.uh-blog-video-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(68px, 6.2vw, 96px) !important;
  padding-bottom: clamp(88px, 7.5vw, 124px) !important;
  background:
    linear-gradient(
      to bottom,
      var(--uh-page) 0%,
      rgba(251,248,242,0.82) 8%,
      rgba(251,248,242,0.24) 18%,
      rgba(251,248,242,0) 29%,
      rgba(251,248,242,0) 77%,
      rgba(251,248,242,0.28) 88%,
      rgba(251,248,242,0.84) 96%,
      var(--uh-page) 100%
    ),
    radial-gradient(ellipse 72% 94% at -7% 12%, rgba(255,255,255,0.94) 0 34%, rgba(255,255,255,0) 73%),
    radial-gradient(ellipse 68% 94% at 107% 90%, rgba(var(--uh-blog-rgb),0.19), rgba(var(--uh-blog-rgb),0) 73%),
    radial-gradient(ellipse 48% 70% at 50% 112%, rgba(183,166,108,0.08), rgba(183,166,108,0) 72%),
    linear-gradient(112deg, #FFFDF9 0%, #EFF4EF 50%, #DDE9E2 100%) !important;
}

.uh-blog-video-block::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(7deg, rgba(49,95,90,0.010) 0, rgba(49,95,90,0.010) 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(97deg, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 1px, transparent 1px, transparent 12px);
  opacity: 0.38;
  mix-blend-mode: multiply;
}

.uh-blog-video-block > * {
  position: relative;
  z-index: 1;
}

.uh-rutube-feed,
.uh-media-video-stage {
  min-width: 0;
}

.uh-media-stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 46px);
  margin-bottom: clamp(34px, 3.5vw, 52px);
}

.uh-media-heading-copy {
  min-width: 0;
}

.uh-media-section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--uh-blog);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.uh-media-stage-head .wp-block-heading {
  margin: 0 !important;
  color: var(--uh-heading);
  font-size: clamp(31px, 3.1vw, 48px);
  line-height: 1.08;
}

/* Компактные ссылки со стрелками: при наведении меняется только цвет. */
.uh-media-platform-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
}

.uh-media-platform-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--uh-blog-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 0 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 180ms ease;
}

.uh-media-platform-links a::after {
  content: "↗";
  margin-left: 5px;
  font-family: var(--uh-font-body) !important;
  font-size: 0.92em;
  font-weight: 400;
}

.uh-media-platform-links a + a {
  margin-left: 14px;
  padding-left: 15px;
}

.uh-media-platform-links a + a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 18px;
  background: rgba(var(--uh-blog-rgb),0.28);
  transform: translateY(-50%);
}

.uh-media-platform-links a:hover,
.uh-media-platform-links a:focus-visible {
  color: var(--uh-cta);
  border-bottom: 0 !important;
  text-decoration: none !important;
}

/* Ведущий выпуск занимает 60% композиции, три дополнительных — 40%. */
.uh-media-video-editorial {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
  min-width: 0;
}

.uh-media-feature-story,
.uh-media-side-story {
  min-width: 0;
  margin: 0;
}

.uh-media-feature-story > a,
.uh-media-side-story > a,
.uh-short-story {
  color: inherit;
  text-decoration: none !important;
}

.uh-media-feature-story > a {
  display: block;
}

.uh-media-video-thumb,
.uh-short-story-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.18), rgba(255,255,255,0) 36%),
    linear-gradient(145deg, rgba(var(--uh-blog-rgb),0.86), rgba(39,57,57,0.98));
}

.uh-media-video-thumb {
  aspect-ratio: 16 / 9;
  border-radius: clamp(18px, 1.8vw, 27px);
  box-shadow:
    0 24px 50px rgba(52,48,43,0.11),
    0 0 0 1px rgba(255,255,255,0.46);
}

.uh-media-video-thumb img,
.uh-short-story-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.uh-media-video-thumb::after,
.uh-short-story-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(24,39,39,0.02), rgba(24,39,39,0.22));
}

.uh-media-play-badge {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(48px, 4.6vw, 66px);
  height: clamp(48px, 4.6vw, 66px);
  padding-left: 4px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 50%;
  background: rgba(32,48,48,0.45);
  color: #fff;
  font-family: var(--uh-font-heading) !important;
  font-size: clamp(16px, 1.5vw, 21px);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 22px rgba(20,31,31,0.18);
}

.uh-media-video-copy {
  display: block;
  margin-top: clamp(19px, 2vw, 28px);
}

.uh-media-video-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--uh-heading);
  font-weight: 700;
  line-height: 1.16;
  transition: color 180ms ease;
  -webkit-box-orient: vertical;
}

.uh-media-feature-story .uh-media-video-title {
  max-width: 30ch;
  margin: 0 !important;
  -webkit-line-clamp: 3;
}

.uh-media-video-meta {
  display: block;
  margin-top: 8px;
  color: rgba(74,68,63,0.64);
  font-family: var(--uh-font-body) !important;
  font-size: 14px;
  line-height: 1.25;
}

.uh-media-description-disclosure {
  margin: 12px 0 0;
  color: rgba(74,68,63,0.88);
  font-family: var(--uh-font-body) !important;
  font-size: var(--theme-font-size, 19px);
  line-height: 1.48;
}

.uh-media-description-disclosure summary {
  display: block;
  cursor: pointer;
  list-style: none;
  color: inherit;
}

.uh-media-description-disclosure summary::-webkit-details-marker {
  display: none;
}

.uh-media-description-more,
.uh-media-description-less {
  margin-left: 0.34em;
  color: var(--uh-blog-dark);
  font-family: var(--uh-font-heading) !important;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease;
}

.uh-media-description-less {
  display: none;
}

.uh-media-description-disclosure[open] .uh-media-description-more {
  display: none;
}

.uh-media-description-disclosure[open] .uh-media-description-less {
  display: inline;
}

.uh-media-description-remainder {
  margin-top: 7px;
}

.uh-media-description-disclosure summary:hover .uh-media-description-more,
.uh-media-description-disclosure summary:hover .uh-media-description-less,
.uh-media-description-disclosure summary:focus-visible .uh-media-description-more,
.uh-media-description-disclosure summary:focus-visible .uh-media-description-less {
  color: var(--uh-cta);
}

.uh-media-description-disclosure summary:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb),0.42);
  outline-offset: 4px;
}

.uh-media-description-disclosure.uh-is-complete {
  display: block;
}

.uh-media-side-stories {
  display: grid;
  gap: clamp(22px, 2.1vw, 32px);
  min-width: 0;
}

.uh-media-side-story > a {
  display: grid;
  grid-template-columns: minmax(190px, 46%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
}

.uh-media-side-story .uh-media-video-thumb {
  border-radius: clamp(15px, 1.4vw, 20px);
  box-shadow: 0 14px 30px rgba(52,48,43,0.09);
}

.uh-media-side-story .uh-media-video-copy {
  margin-top: 0;
}

.uh-media-side-story .uh-media-video-title {
  font-size: clamp(19px, 1.45vw, 23px);
  -webkit-line-clamp: 3;
}

.uh-media-side-story .uh-media-play-badge {
  width: 42px;
  height: 42px;
  padding-left: 2px;
  font-size: 13px;
}

.uh-media-feature-story > a:hover .uh-media-video-thumb img,
.uh-media-feature-story > a:focus-visible .uh-media-video-thumb img,
.uh-media-side-story > a:hover .uh-media-video-thumb img,
.uh-media-side-story > a:focus-visible .uh-media-video-thumb img,
.uh-short-story:hover .uh-short-story-thumb img,
.uh-short-story:focus-visible .uh-short-story-thumb img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.uh-media-feature-story > a:hover .uh-media-video-title,
.uh-media-feature-story > a:focus-visible .uh-media-video-title,
.uh-media-side-story > a:hover .uh-media-video-title,
.uh-media-side-story > a:focus-visible .uh-media-video-title,
.uh-short-story:hover .uh-short-story-title,
.uh-short-story:focus-visible .uh-short-story-title {
  color: var(--uh-cta);
}

.uh-media-feature-story > a:focus-visible,
.uh-media-side-story > a:focus-visible,
.uh-short-story:focus-visible,
.uh-media-platform-links a:focus-visible,
.uh-shorts-scroll:focus-visible {
  outline: 2px solid rgba(var(--uh-blog-rgb),0.48);
  outline-offset: 5px;
}

/* Шортсы продолжают основную композицию без собственного заголовка,
   кикера, разделительной полосы и вертикальных смещений. */
.uh-media-shorts-row {
  min-width: 0;
  margin-top: clamp(38px, 4.5vw, 66px);
}

.uh-shorts-scroll {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(15px, 1.7vw, 24px);
  align-items: start;
  min-width: 0;
  padding: 4px 0 20px;
}

.uh-short-story {
  display: block;
  min-width: 0;
}

.uh-short-story-thumb {
  aspect-ratio: 9 / 16;
  border-radius: clamp(16px, 1.6vw, 23px);
  box-shadow:
    0 16px 32px rgba(52,48,43,0.10),
    0 0 0 1px rgba(255,255,255,0.45);
}

.uh-short-story .uh-media-play-badge {
  width: 38px;
  height: 38px;
  padding-left: 2px;
  font-size: 12px;
}

.uh-short-story-title {
  display: -webkit-box;
  margin-top: 13px;
  overflow: hidden;
  color: var(--uh-heading);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 700;
  line-height: 1.22;
  transition: color 180ms ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.uh-video-feed-fallback {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 250px;
  padding: 42px 24px;
  background: transparent;
  text-align: center;
}

.uh-video-feed-fallback .uh-video-platform-links {
  justify-content: center;
  margin-top: 12px;
}

/* Точечная настройка утверждённой секции Подкаста. */
.uh-blog-podcast-card .uh-kicker-card + .wp-block-heading {
  margin-top: 18px !important;
}

.uh-blog-podcast-card .uh-lead-card,
.uh-blog-podcast-card .uh-podcast-description {
  margin-top: 10px !important;
}

.uh-blog-podcast-card .uh-podcast-description {
  font-family: var(--uh-card-font-family);
  font-size: var(--theme-font-size, 19px);
  font-weight: var(--uh-card-font-weight);
  line-height: var(--uh-card-line-height);
  letter-spacing: var(--uh-card-letter-spacing);
}

.uh-podcast-platform-links {
  justify-content: flex-start;
  margin-top: clamp(17px, 1.8vw, 24px);
}

.uh-podcast-source-link a {
  transition: color 180ms ease;
}

.uh-podcast-source-link a:hover,
.uh-podcast-source-link a:focus-visible {
  color: var(--uh-cta);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .uh-media-side-story > a {
    grid-template-columns: minmax(155px, 44%) minmax(0, 1fr);
    gap: 16px;
  }

  .uh-shorts-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 26px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .uh-short-story {
    flex: 0 0 clamp(132px, 18vw, 166px);
    scroll-snap-align: start;
  }

  .uh-content-section.uh-blog-subscribe-illustrated::before {
    top: auto !important;
    right: -24px !important;
    bottom: -14px !important;
    width: 210px !important;
    height: 210px !important;
    opacity: 0.20 !important;
  }
}

@media (max-width: 900px) {
  .uh-media-stage-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .uh-video-platform-links {
    justify-content: flex-start;
  }

  .uh-media-video-editorial {
    grid-template-columns: 1fr;
    gap: clamp(34px, 5vw, 48px);
  }

  .uh-media-side-stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
  }

  .uh-media-side-story > a {
    display: block;
  }

  .uh-media-side-story .uh-media-video-copy {
    margin-top: 14px;
  }

  .uh-media-side-story .uh-media-video-title {
    font-size: clamp(18px, 2.4vw, 22px);
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-blog-video-block {
    padding-top: clamp(58px, 12vw, 78px) !important;
    padding-bottom: clamp(72px, 15vw, 96px) !important;
  }

  .uh-media-stage-head .wp-block-heading {
    font-size: clamp(29px, 8vw, 38px);
  }

  .uh-media-shorts-row {
    margin-top: 38px;
  }

  .uh-shorts-scroll {
    margin-right: calc(0px - var(--uh-page-gutter, 20px));
    padding-right: var(--uh-page-gutter, 20px);
    scroll-snap-type: x mandatory;
  }

  .uh-short-story {
    flex-basis: clamp(136px, 42vw, 164px);
  }

  .uh-media-platform-links {
    gap: 7px 0;
  }

  .uh-media-platform-links a {
    font-size: 13px;
  }

  .uh-media-platform-links a + a {
    margin-left: 10px;
    padding-left: 11px;
  }

  .uh-content-section.uh-blog-subscribe-illustrated::before {
    top: auto !important;
    right: -18px !important;
    bottom: -8px !important;
    width: 172px !important;
    height: 172px !important;
    opacity: 0.20 !important;
  }
}

@media (max-width: 620px) {
  .uh-media-side-stories {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .uh-media-side-story > a {
    display: grid;
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
    align-items: center;
    gap: 15px;
  }

  .uh-media-side-story .uh-media-video-copy {
    margin-top: 0;
  }

  .uh-media-side-story .uh-media-video-title {
    font-size: 19px;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 390px) {
  .uh-media-side-story > a {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .uh-media-side-story .uh-media-video-copy {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-media-video-thumb img,
  .uh-short-story-thumb img,
  .uh-media-platform-links a,
  .uh-media-description-more,
  .uh-media-description-less,
  .uh-podcast-source-link a {
    transition: none !important;
  }
}

/* =========================================================
   Полная страница «Новость автора»
   Редакционный шаблон 860 px · Uyut Content Core 0.5.0
   ========================================================= */
body.single-uh_author_news {
  --theme-content-vertical-spacing: 0px;
  background: var(--uh-page);
}

body.single-uh_author_news.uhcc-news-full-bleed :where(
  main,
  #main,
  .site-main,
  .ct-container,
  .ct-container-full,
  [data-vertical-spacing],
  .entry-content,
  .post-content
) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-uh_author_news article > .entry-header,
body.single-uh_author_news article > .post-thumbnail,
body.single-uh_author_news article > .wp-block-post-featured-image,
body.single-uh_author_news .site-main > .wp-block-post-title,
body.single-uh_author_news .site-main > .wp-block-post-featured-image {
  display: none !important;
}

body.single-uh_author_news .entry-content,
body.single-uh_author_news .post-content,
body.single-uh_author_news main article,
body.single-uh_author_news main .inside-article {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.uh-news-single {
  --uh-news-accent: var(--uh-author);
  --uh-news-accent-dark: var(--uh-author-dark);
  --uh-news-accent-rgb: var(--uh-author-rgb);
  position: relative;
  width: 100%;
  margin: 0;
  color: var(--uh-body);
  font-family: var(--uh-font-body);
}

.uh-news-single.uh-news-tone-life {
  --uh-news-accent: var(--uh-author-life-kicker);
  --uh-news-accent-dark: var(--uh-author-life-dark);
  --uh-news-accent-rgb: var(--uh-author-life-rgb);
}

.uh-news-single.uh-news-tone-books {
  --uh-news-accent: var(--uh-author-books-kicker);
  --uh-news-accent-dark: var(--uh-author-books-dark);
  --uh-news-accent-rgb: var(--uh-author-books-rgb);
}

.uh-news-single .uh-news-single-kicker-link,
.uh-news-single .uh-news-single-kicker-link:visited {
  color: var(--uh-news-accent) !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
}

.uh-news-single .uh-news-single-kicker-link:hover,
.uh-news-single .uh-news-single-kicker-link:focus-visible {
  color: var(--uh-news-accent-dark) !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
}

.uh-news-single .uh-news-single-kicker-link:focus-visible {
  outline: 2px solid rgba(var(--uh-news-accent-rgb), 0.30);
  outline-offset: 4px;
  border-radius: 4px;
}

.uh-news-single-lead,
.uh-news-single .uh-news-single-lead.uh-lead-section {
  margin-top: 22px !important;
  font-size: 20px !important;
  font-style: italic !important;
}

.uh-news-single.uh-news-tone-blog {
  --uh-news-accent: var(--uh-blog);
  --uh-news-accent-dark: var(--uh-blog-dark);
  --uh-news-accent-rgb: var(--uh-blog-rgb);
}

.uh-news-single-hero {
  position: relative;
  padding: clamp(66px, 6.4vw, 102px) var(--uh-content-x) clamp(48px, 4.8vw, 76px);
  border: 0;
  box-shadow: inset 0 -86px 76px -62px rgba(251, 248, 242, 0.96);
  background:
    linear-gradient(
      to bottom,
      var(--uh-page) 0,
      rgba(251, 248, 242, 0.74) 54px,
      rgba(251, 248, 242, 0.18) 138px,
      rgba(251, 248, 242, 0) 220px
    ),
    radial-gradient(circle at 16% 20%, rgba(var(--uh-news-accent-rgb), 0.055), transparent 38%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(251, 248, 242, 0.96));
}

.uh-news-single-hero__inner {
  width: min(100%, var(--uh-content-max-narrow));
  margin-inline: auto;
}

.uh-news-single-kicker {
  margin: 0 !important;
  color: var(--uh-news-accent) !important;
}

/* Верх новости приравнен к Hero: кикер использует uh-kicker-hero,
   H1 — размеры темы, лид — утверждённый uh-lead-hero. */
.uh-news-single-title {
  width: 100%;
  margin: 34px 0 0 !important;
  color: var(--uh-heading);
  text-wrap: balance;
}

.uh-news-single-date {
  display: block;
  margin-top: 20px;
  color: var(--uh-muted);
  font-family: var(--uh-font-heading) !important;
  font-size: 16px;
  line-height: 1.35;
}

.uh-news-single-lead {
  width: 100%;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  padding: 2px 0 2px clamp(20px, 2.5vw, 28px);
  border-left: 4px solid var(--uh-news-accent);
}

.uh-news-featured-wrap {
  width: min(calc(100% - (2 * var(--uh-content-x))), var(--uh-content-max-narrow));
  margin: 0 auto clamp(38px, 4vw, 58px);
}

.uh-news-featured-media {
  margin: 0;
  overflow: visible;
}

.uh-news-featured-media.uh-news-lightbox-item {
  cursor: zoom-in;
}

.uh-news-featured-media.uh-news-lightbox-item:focus-visible {
  outline: 3px solid rgba(var(--uh-news-accent-rgb), 0.38);
  outline-offset: 7px;
  border-radius: var(--uh-radius-media);
}

.uh-news-featured-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--uh-radius-media);
  background: var(--uh-panel);
  box-shadow: var(--uh-media-shadow);
}


.uh-news-single-body {
  width: min(calc(100% - (2 * var(--uh-content-x))), var(--uh-content-max-narrow));
  margin: 0 auto;
  padding-bottom: clamp(82px, 8vw, 126px);
}

.uh-news-single-copy {
  font-size: inherit;
  line-height: inherit;
}

.uh-news-single-copy > :first-child {
  margin-top: 0 !important;
}

.uh-news-single-copy > :last-child {
  margin-bottom: 0 !important;
}

.uh-news-single-copy p,
.uh-news-single-copy ul,
.uh-news-single-copy ol,
.uh-news-single-copy blockquote {
  margin-top: 0;
  margin-bottom: 1.28em;
}

.uh-news-single-copy h2,
.uh-news-single-copy h3,
.uh-news-single-copy h4 {
  margin: clamp(42px, 5vw, 66px) 0 0.55em !important;
  color: var(--uh-heading);
}

.uh-news-single-copy a:not(.wp-element-button) {
  color: var(--uh-news-accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.uh-news-single-copy a:not(.wp-element-button):hover,
.uh-news-single-copy a:not(.wp-element-button):focus-visible {
  color: var(--uh-cta-dark);
}

.uh-news-single-copy > .wp-block-image,
.uh-news-single-copy .wp-block-image.uh-news-media {
  width: 100%;
  margin: clamp(28px, 3.2vw, 44px) auto !important;
}

.uh-news-single-copy .wp-block-image.uh-news-media--portrait,
.uh-news-single-copy .wp-block-image.uh-news-media--portrait-auto {
  width: min(100%, 520px);
}

/* Старые alignleft/alignright в импортированных публикациях больше не дают
   обтекание текстом. Изображение остаётся самостоятельным блоком между
   абзацами; его утверждённая компактная ширина для портретных фото сохраняется. */
.uh-news-single-copy > figure.wp-block-image.alignleft,
.uh-news-single-copy > figure.wp-block-image.alignright,
.uh-news-single-copy > figure.wp-block-image[style*="float:left"],
.uh-news-single-copy > figure.wp-block-image[style*="float: left"],
.uh-news-single-copy > figure.wp-block-image[style*="float:right"],
.uh-news-single-copy > figure.wp-block-image[style*="float: right"],
.uh-news-single-copy > .wp-block-image > figure.alignleft,
.uh-news-single-copy > .wp-block-image > figure.alignright,
.uh-news-single-copy > .wp-block-image > figure[style*="float:left"],
.uh-news-single-copy > .wp-block-image > figure[style*="float: left"],
.uh-news-single-copy > .wp-block-image > figure[style*="float:right"],
.uh-news-single-copy > .wp-block-image > figure[style*="float: right"] {
  float: none !important;
  clear: both !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.uh-news-single-copy .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--uh-radius-media);
  box-shadow: var(--uh-media-shadow);
}

.uh-news-single-copy .wp-block-image.uh-news-media > a,
.uh-news-single-copy .wp-block-image.uh-news-media .lightbox-trigger {
  display: block;
  border-radius: var(--uh-radius-media);
}

.uh-news-single-copy .wp-block-image.uh-news-media > a:focus-visible,
.uh-news-single-copy .wp-block-image.uh-news-media .lightbox-trigger:focus-visible {
  outline: 3px solid rgba(var(--uh-news-accent-rgb), 0.42);
  outline-offset: 5px;
}

.uh-news-single-copy .wp-block-image.uh-news-media .lightbox-trigger {
  cursor: zoom-in;
}

.uh-news-single-copy figcaption,
.uh-news-featured-caption {
  position: static !important;
  max-width: 720px;
  margin: 13px auto 0 !important;
  padding: 0 !important;
  color: var(--uh-body) !important;
  font-family: var(--uh-font-body) !important;
  font-size: 17px !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.42 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.uh-news-single-copy figcaption *,
.uh-news-featured-caption * {
  color: inherit !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
}

.uh-news-single-copy figcaption :is(sup, sub),
.uh-news-featured-caption :is(sup, sub) {
  position: static !important;
  font-size: inherit !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
}

.uh-news-single-copy figcaption::before,
.uh-news-single-copy figcaption::after,
.uh-news-featured-caption::before,
.uh-news-featured-caption::after {
  content: none !important;
  display: none !important;
}

.uh-news-featured-caption {
  text-align: center;
}

/* Геометрия стандартных Gutenberg-галерей в полных статьях и новостях
   теперь принадлежит отдельному плагину «Уютная история — Галерея-сетка».
   Здесь намеренно не остаётся конкурирующих правил для этих галерей. */

.uh-news-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px 12px;
  margin-top: clamp(54px, 6vw, 82px);
  padding-top: 24px;
  border-top: 1px solid var(--uh-soft-line);
  font-family: var(--uh-font-heading) !important;
}

.uh-news-tags__label {
  color: var(--uh-muted);
  font-weight: 400;
}

.uh-news-tag {
  color: var(--uh-news-accent-dark);
  text-decoration: none;
}

.uh-news-tag::before {
  content: "#";
  color: rgba(var(--uh-news-accent-rgb), 0.56);
}

.uh-news-tag:hover,
.uh-news-tag:focus-visible {
  color: var(--uh-cta-dark);
}

/* После меток оставляем только редакционный рабочий интервал до следующего
   блока, без прежнего крупного воздушного разрыва. */
.uh-news-tags {
  margin-bottom: 0;
}

.uh-news-tags + .uh-news-related-book,
.uh-news-tags + .uh-article-related {
  margin-top: clamp(34px, 4.2vw, 52px);
}

/* Карточка «Книга по теме» всегда использует палитру серии книги,
   независимо от рубрики новости или зелёного тона статьи. */
.uh-news-related-book.uh-related-book-series-cta {
  --uh-news-accent: var(--uh-cta);
  --uh-news-accent-dark: var(--uh-cta-dark);
  --uh-news-accent-rgb: var(--uh-cta-rgb);
  --uh-related-book-pale: var(--uh-cta-pale);
}

.uh-news-related-book.uh-related-book-series-cozy {
  --uh-news-accent: var(--uh-cozy);
  --uh-news-accent-dark: #6F2E2E;
  --uh-news-accent-rgb: var(--uh-cozy-rgb);
  --uh-related-book-pale: #F6EFED;
}

.uh-news-related-book.uh-related-book-series-romanovs {
  --uh-news-accent: var(--uh-romanovs);
  --uh-news-accent-dark: #665672;
  --uh-news-accent-rgb: var(--uh-romanovs-rgb);
  --uh-related-book-pale: #F3F0F6;
}

.uh-news-related-book.uh-related-book-series-voice {
  --uh-news-accent: var(--uh-voice);
  --uh-news-accent-dark: #5E6D57;
  --uh-news-accent-rgb: var(--uh-voice-rgb);
  --uh-related-book-pale: #F1F4EE;
}

.uh-news-related-book {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  grid-template-areas:
    "media kicker"
    "media copy";
  grid-template-rows: auto auto;
  column-gap: clamp(32px, 4.8vw, 58px);
  row-gap: 15px;
  align-items: center;
  align-content: center;
  margin-top: clamp(58px, 7vw, 96px);
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid rgba(var(--uh-news-accent-rgb), 0.14);
  border-radius: var(--uh-radius-card);
  background:
    radial-gradient(circle at 8% 18%, rgba(var(--uh-news-accent-rgb), 0.09), transparent 35%),
    linear-gradient(145deg, var(--uh-panel) 0%, var(--uh-related-book-pale, var(--uh-panel)) 100%);
  box-shadow: var(--uh-card-shadow);
}

.uh-news-related-book,
.uh-news-related-book__media,
.uh-news-related-book__media a {
  overflow: visible;
}

.uh-news-related-book__media {
  grid-area: media;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 14px 20px 24px;
}

.uh-news-related-book__kicker {
  grid-area: kicker;
  align-self: end;
}

.uh-news-related-book__copy {
  grid-area: copy;
  align-self: start;
  min-width: 0;
}

.uh-news-related-book__media a {
  display: block;
  width: min(100%, 310px);
}

.uh-news-book-cover {
  display: block;
  width: 108%;
  max-width: none;
  max-height: 320px;
  margin-inline: -4%;
  object-fit: contain;
  transform: translateY(0) scale(1);
  transform-origin: center bottom;
  filter: drop-shadow(10px 17px 15px rgba(47, 41, 37, 0.18));
  transition:
    transform 440ms cubic-bezier(0.22, 0.72, 0.25, 1),
    filter 420ms ease;
  will-change: transform;
}

.uh-news-related-book__media a {
  cursor: pointer;
}

.uh-news-related-book__media a:hover .uh-news-book-cover,
.uh-news-related-book__media a:focus-visible .uh-news-book-cover {
  transform: translateY(-2px) scale(1.01);
  filter: drop-shadow(10px 19px 16px rgba(47, 41, 37, 0.20));
}

.uh-news-related-book__media a:focus-visible {
  outline: 3px solid rgba(var(--uh-news-accent-rgb), 0.38);
  outline-offset: 7px;
  border-radius: 12px;
}

.uh-news-related-book .uh-kicker-card {
  margin: 0 !important;
  color: var(--uh-news-accent) !important;
}

.uh-news-related-book__title {
  margin: 0 !important;
}

/* Встраиваемый шорткод живёт внутри .uh-news-single-copy, где общие
   правила статьи задают h2/h3/h4 крупный верхний отступ с !important.
   Нейтрализуем только это внешнее влияние, чтобы компонент оставался
   геометрически тем же самым, что автоматическая «Книга по теме». */
.uh-news-single-copy .uh-news-related-book {
  margin-top: clamp(38px, 4vw, 52px) !important;
  margin-bottom: clamp(38px, 4vw, 52px) !important;
}

.uh-news-single-copy .uh-news-related-book__title {
  margin: 0 !important;
}

.uh-news-related-book__title a {
  color: var(--uh-heading);
  text-decoration: none;
}

/* Общая окраска ссылок внутри текста статьи не должна перекрашивать
   заголовок встроенной книжной карточки в цвет рубрики. */
.uh-news-single-copy .uh-news-related-book__title a {
  color: var(--uh-heading);
}

.uh-news-related-book__title a:hover,
.uh-news-related-book__title a:focus-visible,
.uh-news-single-copy .uh-news-related-book__title a:hover,
.uh-news-single-copy .uh-news-related-book__title a:focus-visible {
  color: var(--uh-news-accent-dark);
}

.uh-news-related-book__subtitle {
  margin: 13px 0 0 !important;
  color: var(--uh-news-accent-dark);
  font-style: italic;
}

.uh-news-related-book__description {
  margin: 16px 0 0 !important;
  font-family: var(--uh-card-font-family);
  font-size: var(--uh-card-font-size);
  font-weight: var(--uh-card-font-weight);
  line-height: var(--uh-card-line-height);
  letter-spacing: var(--uh-card-letter-spacing);
}

.uh-news-related-book__actions {
  justify-content: flex-start !important;
  margin-top: 23px !important;
}

/* Независимый лайтбокс новостей. Он применяется только к изображениям
   без вручную назначенной внешней ссылки. */
body.uh-news-lightbox-open {
  overflow: hidden !important;
}

.uh-news-lightbox-item {
  cursor: zoom-in;
}

.uh-news-lightbox-item:focus-visible {
  outline: 3px solid rgba(var(--uh-news-accent-rgb), 0.42);
  outline-offset: 6px;
}

.uh-news-lightbox {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(48px, 0.12fr) minmax(0, 1fr) minmax(48px, 0.12fr);
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(18px, 3vw, 42px);
  background: rgba(35, 31, 28, 0.52);
  backdrop-filter: blur(1.5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.uh-news-lightbox[hidden] {
  display: none !important;
}

.uh-news-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.uh-news-lightbox__figure {
  grid-column: 2;
  display: grid;
  place-items: center;
  max-width: min(1180px, 82vw);
  max-height: 90vh;
  margin: 0;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transform-origin: center center;
  transition:
    transform 390ms cubic-bezier(0.22, 0.82, 0.24, 1),
    opacity 300ms ease;
  will-change: transform, opacity;
}

.uh-news-lightbox.is-active .uh-news-lightbox__figure {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.uh-news-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: clamp(12px, 1.4vw, 20px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 280ms ease;
}

.uh-news-lightbox.is-image-ready .uh-news-lightbox__image {
  opacity: 1;
}

.uh-news-lightbox__caption {
  max-width: 860px;
  margin: 14px auto 0 !important;
  color: rgba(255, 252, 247, 0.94) !important;
}

.uh-news-lightbox__close,
.uh-news-lightbox__nav {
  appearance: none;
  color: #fffaf4;
  box-shadow: none;
  cursor: pointer;
}

.uh-news-lightbox__close {
  position: absolute;
  top: clamp(14px, 2vw, 26px);
  right: clamp(14px, 2vw, 26px);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.12);
  font-family: var(--uh-font-heading) !important;
  font-size: 36px;
  line-height: 1;
}

.uh-news-lightbox__nav {
  display: grid;
  place-items: center;
  width: clamp(46px, 4.6vw, 58px);
  height: clamp(56px, 6vw, 70px);
  padding: 0;
  border: 1px solid rgba(255, 252, 247, 0.20);
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.065);
  backdrop-filter: blur(3px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.uh-news-lightbox__nav svg {
  display: block;
  width: clamp(18px, 2vw, 23px);
  height: clamp(30px, 3vw, 38px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.uh-news-lightbox__prev {
  justify-self: end;
}

.uh-news-lightbox__next {
  justify-self: start;
}

.uh-news-lightbox__close:hover,
.uh-news-lightbox__close:focus-visible {
  background: rgba(255, 252, 247, 0.22);
  outline: 2px solid rgba(255, 252, 247, 0.72);
  outline-offset: 3px;
}

.uh-news-lightbox__nav:hover,
.uh-news-lightbox__nav:focus-visible {
  border-color: rgba(255, 252, 247, 0.42);
  background: rgba(255, 252, 247, 0.14);
  outline: 2px solid rgba(255, 252, 247, 0.58);
  outline-offset: 3px;
}

.uh-news-lightbox__prev:hover,
.uh-news-lightbox__prev:focus-visible {
  transform: translateX(-2px);
}

.uh-news-lightbox__next:hover,
.uh-news-lightbox__next:focus-visible {
  transform: translateX(2px);
}

.uh-news-lightbox__prev:hover svg,
.uh-news-lightbox__prev:focus-visible svg {
  transform: translateX(-1px);
}

.uh-news-lightbox__next:hover svg,
.uh-news-lightbox__next:focus-visible svg {
  transform: translateX(1px);
}

@media (prefers-reduced-motion: reduce) {
  .uh-news-lightbox,
  .uh-news-lightbox__figure,
  .uh-news-lightbox__image,
  .uh-news-lightbox__nav,
  .uh-news-lightbox__nav svg,
  .uh-news-book-cover {
    transition: none !important;
  }

  .uh-news-related-book__media a:hover .uh-news-book-cover,
  .uh-news-related-book__media a:focus-visible .uh-news-book-cover {
    transform: none !important;
  }
}

@media (max-width: 781px) {
  .uh-news-single-hero {
    padding-top: clamp(56px, 10vw, 78px);
    padding-bottom: clamp(42px, 8vw, 62px);
  }

  .uh-news-single-title {
    margin-top: 28px !important;
  }

  .uh-news-featured-wrap,
  .uh-news-single-body {
    width: calc(100% - (2 * var(--uh-content-x)));
  }

  .uh-news-related-book {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "media"
      "copy";
    gap: 0;
    padding: 30px 28px 32px;
    text-align: center;
  }

  .uh-news-related-book__kicker {
    justify-self: center;
    margin-inline: auto !important;
    text-align: center !important;
  }

  .uh-news-related-book__media {
    width: min(72%, 300px);
    margin: 22px auto 0;
    padding: 8px 16px 20px;
  }

  .uh-news-related-book__copy {
    margin-top: 24px;
    text-align: center;
  }

  .uh-news-related-book__title,
  .uh-news-related-book__subtitle,
  .uh-news-related-book__description {
    text-align: center !important;
  }

  .uh-news-related-book__actions {
    justify-content: center !important;
  }
}

@media (max-width: 560px) {
  .uh-news-single-hero {
    padding-inline: 18px;
  }

  .uh-news-single-hero__inner {
    width: 100%;
    margin-inline: auto;
  }

  .uh-news-featured-wrap,
  .uh-news-single-body {
    width: calc(100% - 36px);
  }

  .uh-news-single-lead {
    padding-left: 18px;
    border-left-width: 3px;
  }

  .uh-news-featured-media,
  .uh-news-single-copy .wp-block-image.uh-news-media img,
  .uh-news-single-copy .wp-block-image.uh-news-media > a {
    border-radius: 18px;
  }

  .uh-news-single-copy .wp-block-gallery {
    gap: 22px !important;
  }

  .uh-news-single-copy .wp-block-gallery .wp-block-image img {
    border-radius: 15px;
  }

  .uh-news-related-book {
    padding: 28px 22px 30px;
  }

  .uh-news-related-book__media {
    width: min(78%, 270px);
  }

  .uh-news-lightbox {
    grid-template-columns: 1fr;
    padding: 58px 16px 20px;
  }

  .uh-news-lightbox__figure {
    grid-column: 1;
    max-width: 100%;
    max-height: 86vh;
  }

  .uh-news-lightbox__image {
    max-height: 74vh;
  }

  .uh-news-lightbox__nav {
    position: absolute;
    bottom: 18px;
    width: 46px;
    height: 46px;
    font-size: 38px;
  }

  .uh-news-lightbox__prev {
    left: calc(50% - 58px);
  }

  .uh-news-lightbox__next {
    right: calc(50% - 58px);
  }
}

/* =========================================================
   Агрегаторы «Новости автора» — Главная и «Об авторе»
   ========================================================= */
.uh-news-aggregator {
  width: 100%;
}

.uh-news-aggregator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--uh-card-gap) !important;
  width: 100%;
  margin: 0 !important;
}

.uh-about-news-block .uh-news-aggregator-grid {
  row-gap: clamp(28px, 3vw, 42px) !important;
}


.uh-news-card-item {
  display: flex;
  min-width: 0;
  margin: 0 !important;
}

.uh-news-card-link {
  display: flex;
  width: 100%;
  color: inherit !important;
  text-decoration: none !important;
  border-radius: var(--uh-radius-card);
}

.uh-news-card-link .uh-content-card {
  height: 100%;
}

.uh-news-card-link h3 {
  color: inherit;
  transition: color 180ms ease;
}

:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-default {
  --uh-news-card-tone: var(--uh-author);
}

:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-life {
  --uh-news-card-tone: var(--uh-author-life);
}

:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-books {
  --uh-news-card-tone: var(--uh-author-books);
}

:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-blog {
  --uh-news-card-tone: var(--uh-blog);
}

/* Рубрики карточек используют ровно те же утверждённые тона,
   что и кнопки рубрик в Hero страницы «Об авторе». */
:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-default .uh-kicker-card {
  --uh-kicker-color: var(--uh-author);
  color: var(--uh-author) !important;
}

:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-life .uh-kicker-card {
  --uh-kicker-color: var(--uh-author-life-kicker);
  color: var(--uh-author-life-kicker) !important;
}

:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-books .uh-kicker-card {
  --uh-kicker-color: var(--uh-author-books-kicker);
  color: var(--uh-author-books-kicker) !important;
}

:is(.uh-news-card-item, .uh-news-aggregator-card).uh-news-tone-blog .uh-kicker-card {
  --uh-kicker-color: var(--uh-blog);
  color: var(--uh-blog) !important;
}

.uh-news-card-link:hover h3,
.uh-news-card-link:focus-visible h3 {
  color: var(--uh-news-card-tone, var(--uh-author));
}

.uh-news-card-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--uh-news-card-tone, var(--uh-author)) 45%, transparent);
  outline-offset: 5px;
}

.uh-news-load-more-wrap.is-hidden {
  display: none !important;
}

.uh-news-aggregator.is-loading .uh-news-aggregator-grid {
  opacity: 0.62;
  transition: opacity 160ms ease;
}

.uh-news-aggregator-message,
.uh-news-aggregator-empty {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  text-align: center;
}

.uh-news-aggregator-message {
  margin-top: 18px;
}

.uh-news-filter:disabled,
.uh-news-load-more:disabled {
  cursor: wait !important;
  opacity: 0.72;
}

/* Неполный последний ряд сохраняет естественное выравнивание слева. */

@media (max-width: 1024px) {
  .uh-news-aggregator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 689px) {
  .uh-news-aggregator-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-news-card-link h3,
  .uh-news-aggregator.is-loading .uh-news-aggregator-grid {
    transition: none;
  }
}

/* =========================================================
   Полная страница обычной статьи WordPress
   На основе утверждённого редакционного шаблона новости
   ========================================================= */
body.single-post.uh-article-template-active {
  --theme-content-vertical-spacing: 0px;
  background: var(--uh-page);
}

body.single-post.uhcc-article-full-bleed :where(
  main,
  #main,
  .site-main,
  .ct-container,
  .ct-container-full,
  [data-vertical-spacing],
  .entry-content,
  .post-content
) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-post.uh-article-template-active article > .entry-header,
body.single-post.uh-article-template-active article > .post-thumbnail,
body.single-post.uh-article-template-active article > .wp-block-post-featured-image,
body.single-post.uh-article-template-active .site-main > .wp-block-post-title,
body.single-post.uh-article-template-active .site-main > .wp-block-post-featured-image {
  display: none !important;
}

body.single-post.uh-article-template-active .entry-content,
body.single-post.uh-article-template-active .post-content,
body.single-post.uh-article-template-active main article,
body.single-post.uh-article-template-active main .inside-article {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.single-post.uh-article-template-active #main > .ct-container,
body.single-post.uh-article-template-active #main > .ct-container-full {
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: none !important;
  padding-inline: 0 !important;
}

body.single-post.uh-article-template-active #main > .ct-container > .ct-sidebar,
body.single-post.uh-article-template-active #main > .ct-container > aside:not(.uh-article-author) {
  display: none !important;
}

.uh-article-single {
  --uh-news-accent: var(--uh-blog);
  --uh-news-accent-dark: var(--uh-blog-dark);
  --uh-news-accent-rgb: var(--uh-blog-rgb);
}

.uh-article-single .uh-news-single-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  inline-size: 100% !important;
  max-inline-size: none !important;
  text-wrap: wrap !important;
}

.uh-article-single .uh-news-single-kicker,
.uh-article-single .uh-article-author .uh-kicker-card,
.uh-article-single .uh-article-related .uh-kicker-section {
  color: var(--uh-blog) !important;
}

/* Компактный редакционный блок автора сразу после текста статьи.
   Это не карточка: нет рамки по периметру, заливки, скругления и тени. */
.uh-article-author {
  display: grid;
  grid-template-columns: clamp(82px, 11vw, 104px) minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 32px);
  row-gap: 7px;
  align-items: start;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(24px, 3.4vw, 34px);
  border-top: 1px solid var(--uh-soft-line);
}

.uh-article-author__media,
.uh-article-author__copy {
  min-width: 0;
}

.uh-article-author__media a {
  display: block;
  border-radius: 999px;
}

.uh-article-author__media a:focus-visible {
  outline: 3px solid rgba(var(--uh-blog-rgb), 0.38);
  outline-offset: 5px;
}

.uh-article-author__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(47, 41, 37, 0.12);
}

.uh-article-author__copy .uh-kicker-card,
.uh-article-author__copy h3,
.uh-article-author__copy p {
  margin-bottom: 0 !important;
}

.uh-article-author__copy h3 {
  margin-top: 8px !important;
}

.uh-article-author__copy h3 a {
  color: var(--uh-heading) !important;
  text-decoration: none !important;
}

.uh-article-author__copy h3 a:hover,
.uh-article-author__copy h3 a:focus-visible {
  color: var(--uh-blog-dark) !important;
}

.uh-article-author__copy h3 + p {
  margin-top: 11px !important;
}

.uh-article-author__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  font-family: var(--uh-font-heading) !important;
}

.uh-article-author__links a {
  color: var(--uh-blog-dark) !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
  text-decoration-color: rgba(var(--uh-blog-rgb), 0.34) !important;
}

.uh-article-author__links a:hover,
.uh-article-author__links a:focus-visible {
  color: var(--uh-cta-dark) !important;
  text-decoration-color: currentColor !important;
}

.uh-article-author + .uh-news-tags {
  margin-top: clamp(24px, 3vw, 34px);
}

/* «Читайте также»: до трёх карточек с утверждённой карточной типографикой. */
.uh-article-related {
  margin-top: clamp(72px, 8vw, 116px);
  padding-top: clamp(42px, 5vw, 64px);
  border-top: 1px solid var(--uh-soft-line);
}

.uh-article-related > .uh-kicker-section,
.uh-article-related > h2 {
  margin-bottom: 0 !important;
}

.uh-related-kicker-link {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.uh-related-kicker-link:hover,
.uh-related-kicker-link:focus-visible {
  color: var(--uh-cta-dark) !important;
}

.uh-related-kicker-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.uh-article-related > h2.wp-block-heading {
  margin-top: var(--uh-section-kicker-title-gap) !important;
  font-size: clamp(30px, 3vw, 40px) !important;
}

.uh-article-related .uh-article-related-card__copy > h3.wp-block-heading {
  font-size: clamp(18px, 1.45vw, 21px) !important;
  line-height: 1.22 !important;
}

.uh-article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--uh-card-gap);
  margin-top: clamp(34px, 4vw, 52px);
}

.uh-article-related-card {
  min-width: 0;
  margin: 0;
}

.uh-article-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
  border: 1px solid rgba(var(--uh-blog-rgb), 0.12);
  border-radius: var(--uh-radius-card);
  background: var(--uh-panel);
  box-shadow: var(--uh-card-shadow);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.uh-article-related-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--uh-blog-pale);
}

.uh-article-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.uh-article-related-card__copy {
  padding: clamp(20px, 2.4vw, 28px);
}

.uh-article-related-card__copy h3 {
  margin-bottom: 0 !important;
}


.uh-article-related-card__link:hover,
.uh-article-related-card__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(47, 41, 37, 0.12);
}

.uh-article-related-card__link:hover h3,
.uh-article-related-card__link:focus-visible h3 {
  color: var(--uh-blog-dark);
}

.uh-article-related-card__link:hover .uh-article-related-card__media img,
.uh-article-related-card__link:focus-visible .uh-article-related-card__media img {
  transform: scale(1.025);
}

.uh-article-related-card__link:focus-visible {
  outline: 3px solid rgba(var(--uh-blog-rgb), 0.38);
  outline-offset: 5px;
}

@media (max-width: 1024px) {
  .uh-article-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 781px) {
  .uh-article-related > h2.wp-block-heading {
    margin-top: var(--uh-section-kicker-title-gap-mobile) !important;
  }
}

@media (max-width: 689px) {
  .uh-article-related__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .uh-article-author {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
  }

  .uh-article-author__copy h3 {
    margin-top: 6px !important;
  }

  .uh-article-author__links {
    gap: 7px 16px;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-article-related-card__link,
  .uh-article-related-card__media img {
    transition: none !important;
  }

  .uh-article-related-card__link:hover,
  .uh-article-related-card__link:focus-visible,
  .uh-article-related-card__link:hover .uh-article-related-card__media img,
  .uh-article-related-card__link:focus-visible .uh-article-related-card__media img {
    transform: none !important;
  }
}


/* =========================================================
   Уточнения полной статьи и новости · Uyut Site Styles 1.4.4
   ========================================================= */

/* На широком экране сохраняем прежний визуальный размер 3D-обложки,
   но уменьшаем служебную левую колонку и зазор: текст получает больше места. */
@media (min-width: 782px) {
  .uh-news-related-book {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    column-gap: clamp(24px, 3.4vw, 38px);
    padding: clamp(30px, 4vw, 50px) clamp(28px, 3.4vw, 42px);
  }

  .uh-news-related-book__media a {
    width: min(100%, 250px);
  }

  .uh-news-book-cover {
    width: 124%;
    max-height: 310px;
    margin-inline: -12%;
  }
}

/* Авторская подпись: имя встроено в биографическую строку, отдельного H3 нет. */
.uh-article-author__copy .uh-article-author__bio {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  font-style: italic !important;
}

.uh-article-author__name-link {
  color: var(--uh-blog-dark) !important;
  font-family: var(--uh-font-body) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.uh-article-author__name-link:hover,
.uh-article-author__name-link:focus-visible {
  color: var(--uh-cta-dark) !important;
}

/* Фирменные мини-кнопки вынесены отдельной строкой под описанием
   и начинаются по линии текстовой колонки на всех ширинах экрана. */
.uh-article-author__actions {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 12px;
  margin-top: 0;
  margin-bottom: 0;
}

.uh-article-author__actions .wp-block-button {
  margin: 0 !important;
}

@media (max-width: 781px) {
  .uh-article-author + .uh-news-tags {
    margin-top: 22px;
  }
}

/* «Читайте также» в новостях автора: до трёх релевантных новостей.
   Геометрия и типографика карточек общие со статьями; акцент рубрики
   сохраняется только в ненавязчивых состояниях рамки/фокуса. */
.uh-news-related > .uh-kicker-section {
  color: var(--uh-news-accent) !important;
}

.uh-news-related-card {
  --uh-related-accent: var(--uh-author);
  --uh-related-accent-dark: var(--uh-author-dark);
  --uh-related-accent-rgb: var(--uh-author-rgb);
}

.uh-news-related-card.uh-news-tone-life {
  --uh-related-accent: var(--uh-author-life-kicker);
  --uh-related-accent-dark: var(--uh-author-life-dark);
  --uh-related-accent-rgb: var(--uh-author-life-rgb);
}

.uh-news-related-card.uh-news-tone-books {
  --uh-related-accent: var(--uh-author-books-kicker);
  --uh-related-accent-dark: var(--uh-author-books-dark);
  --uh-related-accent-rgb: var(--uh-author-books-rgb);
}

.uh-news-related-card.uh-news-tone-blog {
  --uh-related-accent: var(--uh-blog);
  --uh-related-accent-dark: var(--uh-blog-dark);
  --uh-related-accent-rgb: var(--uh-blog-rgb);
}

.uh-news-related-card .uh-article-related-card__link {
  border-color: rgba(var(--uh-related-accent-rgb), 0.12);
}

.uh-news-related-card .uh-article-related-card__media {
  background: rgba(var(--uh-related-accent-rgb), 0.07);
}

.uh-news-related-card .uh-article-related-card__link:hover h3,
.uh-news-related-card .uh-article-related-card__link:focus-visible h3 {
  color: var(--uh-related-accent-dark);
}

.uh-news-related-card .uh-article-related-card__link:focus-visible {
  outline-color: rgba(var(--uh-related-accent-rgb), 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .uh-article-author__link-arrow {
    transition: none !important;
  }

  .uh-article-author__links a:hover .uh-article-author__link-arrow,
  .uh-article-author__links a:focus-visible .uh-article-author__link-arrow {
    transform: none !important;
  }
}

/* =========================================================
   Связанные материалы и агрегатор статей · Uyut Site Styles 1.4.9
   ========================================================= */

/* «Читайте также»: неполная подборка не имитирует пустой третий столбец. */
.uh-article-related__grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uh-article-related__grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 620px);
}

/* В неполной подборке более широкая карточка не должна автоматически
   превращать фотографию в доминирующий баннер. На десктопе используем
   более горизонтальные пропорции; мобильная карточка сохраняет базовые 4:3. */
@media (min-width: 782px) {
  .uh-article-related__grid--count-2 .uh-article-related-card__media {
    aspect-ratio: 16 / 9;
  }

  .uh-article-related__grid--count-1 .uh-article-related-card__media {
    aspect-ratio: 16 / 7;
  }
}

/* Динамические карточки статей используют тот же утверждённый вертикальный
   компонент .uh-content-card, что и новости автора на странице «Об авторе». */
.uh-article-aggregator {
  width: 100%;
}

.uh-article-load-more-wrap.is-hidden {
  display: none !important;
}

.uh-article-aggregator.is-loading .uh-article-aggregator-list {
  opacity: 0.62;
  transition: opacity 160ms ease;
}

.uh-article-aggregator-message,
.uh-article-aggregator-empty {
  width: 100%;
  margin: 0;
  text-align: center;
}

.uh-article-aggregator-empty {
  padding: clamp(30px, 4vw, 48px) 20px;
  border: 1px solid rgba(var(--uh-blog-rgb), 0.12);
  border-radius: var(--uh-radius-card);
  background: rgba(255,255,255,0.52);
}

.uh-article-aggregator-message {
  margin-top: 18px;
}

.uh-article-filter-select:disabled,
.uh-article-load-more:disabled {
  cursor: wait !important;
  opacity: 0.72;
}

@media (max-width: 689px) {
  .uh-article-related__grid--count-1,
  .uh-article-related__grid--count-2 {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
}

/* ========================================================================== */

/* v1.4.38 — ПОЛНАЯ СТРАНИЦА КНИГИ: ФОН, ПЕРЕХОД И ПОЛНАЯ ШИРИНА ЛИДА        */
/* ========================================================================== */

.uh-book-single {
  --uh-book-page-accent: var(--uh-cozy);
  --uh-book-page-accent-rgb: var(--uh-cozy-rgb);
  --uh-book-page-pale: #F6EFED;
  --uh-book-page-light: #EDE0DE;

  width: 100%;
  max-width: none;
  color: var(--uh-body);
}

.uh-book-single.uh-series-cta {
  --uh-book-page-accent: var(--uh-cta);
  --uh-book-page-accent-rgb: var(--uh-cta-rgb);
  --uh-book-page-pale: var(--uh-cta-pale);
  --uh-book-page-light: var(--uh-cta-light);
}

.uh-book-single.uh-series-cta .uh-book-hero-taxonomy .uh-book-taxonomy-link,
.uh-book-single.uh-series-cta .uh-book-hero-taxonomy .uh-book-taxonomy-link:visited {
  color: var(--uh-cta) !important;
}

.uh-book-single.uh-series-cta .uh-book-hero-taxonomy .uh-book-taxonomy-link:hover,
.uh-book-single.uh-series-cta .uh-book-hero-taxonomy .uh-book-taxonomy-link:focus-visible {
  color: var(--uh-cta-dark) !important;
}

.uh-book-single.uh-series-romanovs {
  --uh-book-page-accent: var(--uh-romanovs);
  --uh-book-page-accent-rgb: var(--uh-romanovs-rgb);
  --uh-book-page-pale: #F3F0F6;
  --uh-book-page-light: #E8E3EC;
}

.uh-book-single.uh-series-voice {
  --uh-book-page-accent: var(--uh-voice);
  --uh-book-page-accent-rgb: var(--uh-voice-rgb);
  --uh-book-page-pale: #F1F4EE;
  --uh-book-page-light: #E4E9DE;
}

.uh-book-template-active .entry-content,
.uhcc-book-full-bleed .entry-content {
  overflow: visible;
}

/* Hero книги использует общую сетку uh-hero-layout. Здесь остаются только
   книжные кулисы, размер обложки и серийный цвет подзаголовка. */
.uh-book-single .uh-book-hero-curtains::before {
  background-image:
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-left-v1.png"),
    url("https://annapeicheva.ru/wp-content/uploads/2026/07/uyut-curtain-right-v1.png") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: left bottom, right bottom !important;
  background-size: auto 110%, auto 110% !important;
  opacity: 0.58 !important;
  mix-blend-mode: normal !important;
}

.uh-book-single .uh-book-subtitle {
  color: var(--uh-book-page-accent) !important;
  font-weight: 400 !important;
}

.uh-book-single .wp-block-image.uh-book-cover {
  position: relative;
  width: min(100%, 420px);
  max-width: 420px;
  margin: 0 auto !important;
  overflow: visible;
}

@media (min-width: 1025px) {
  .uh-book-single .uh-book-hero-col-cover .wp-block-image.uh-book-cover {
    left: -18px;
  }
}

.uh-book-single .uh-book-cover img,
.uh-book-single .wp-block-image.uh-book-cover img {
  display: block;
  width: min(100%, 420px);
  max-width: 420px;
  height: auto;
  max-height: none;
  margin: 0 auto;
  transform: none;
}

.uh-book-cover-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .uh-book-single .wp-block-image.uh-book-cover img,
  .uh-book-single .wp-block-image.uh-book-cover .uh-book-hero-ribbon {
    transition: transform 220ms ease;
  }

  .uh-book-single .wp-block-image.uh-book-cover:hover img,
  .uh-book-single .wp-block-image.uh-book-cover:focus-within img {
    transform: translateY(-3px) scale(1.025);
  }

  .uh-book-single .wp-block-image.uh-book-cover:hover .uh-book-hero-ribbon,
  .uh-book-single .wp-block-image.uh-book-cover:focus-within .uh-book-hero-ribbon {
    transform: translate(6px, -8px) scale(1.045);
  }
}

.uh-book-cover-trigger:focus-visible {
  outline: 2px solid rgba(var(--uh-book-page-accent-rgb), 0.42);
  outline-offset: 8px;
  border-radius: 18px;
}

.uh-book-single .wp-block-button.uh-book-series-button {
  --uh-mx-tone: var(--uh-book-page-accent);
  --uh-mx-rgb: var(--uh-book-page-accent-rgb);
  --uh-mx-dark: var(--uh-book-page-accent);
  --uh-mx-light: var(--uh-book-page-light);
  --uh-mx-pale: var(--uh-book-page-pale);
}

/* Серийный цвет применяется локально и больше не переопределяет шампанский CTA. */
.uh-book-annotation-block,
.uh-book-reviews-block,
.uh-book-related-series {
  --uh-cta-rgb: var(--uh-book-page-accent-rgb);
}

/* v303 — объединённая «Аннотация»: заголовок в правой колонке и облегчённая служебная информация. */
.uh-content-section.uh-book-annotation-format-block {
  padding-top: clamp(54px, 5vw, 72px) !important;
  padding-bottom: clamp(72px, 6.8vw, 104px) !important;
}

.uh-book-annotation-format-block .uh-book-annotation-columns {
  display: grid !important;
  grid-template-columns: minmax(300px, 40%) minmax(0, 1fr);
  align-items: start !important;
  column-gap: clamp(42px, 5.6vw, 84px) !important;
  row-gap: 0 !important;
  width: 100% !important;
}

.uh-book-annotation-format-block .uh-book-annotation-columns > .wp-block-column {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  flex-basis: auto !important;
  margin: 0 !important;
}

.uh-book-annotation-format-block .uh-book-annotation-columns--no-media {
  grid-template-columns: minmax(0, 880px);
  justify-content: start;
}

.uh-book-annotation-format-block .wp-block-image.uh-book-annotation-media {
  width: min(100%, 470px);
  margin: 0 auto;
}

.uh-book-annotation-format-block .wp-block-image.uh-book-annotation-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(67, 58, 50, 0.12);
}

.uh-book-annotation-format-block .uh-book-annotation-heading {
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(28px, 2.8vw, 38px);
}

.uh-book-annotation-format-block .uh-book-annotation-copy,
.uh-book-annotation-format-block .uh-book-annotation-body,
.uh-book-annotation-format-block .uh-book-format-service {
  width: 100%;
  max-width: none;
}

.uh-book-annotation-format-block .uh-book-annotation-body > :first-child,
.uh-book-annotation-format-block .uh-book-format-service > :first-child,
.uh-book-annotation-format-block .uh-book-format-details-body > :first-child {
  margin-top: 0;
}

.uh-book-annotation-format-block .uh-book-annotation-body > :last-child,
.uh-book-annotation-format-block .uh-book-format-service > :last-child,
.uh-book-annotation-format-block .uh-book-format-details-body > :last-child {
  margin-bottom: 0;
}

.uh-book-annotation-format-block .uh-book-format-service {
  margin-top: clamp(28px, 2.8vw, 38px);
  padding-top: clamp(22px, 2.2vw, 30px);
  border-top: 1px solid rgba(var(--uh-book-page-accent-rgb), 0.18);
  color: #938d88;
  font-family: var(--uh-font-heading);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.uh-book-annotation-format-block .uh-book-format-service p {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.uh-book-annotation-format-block .uh-book-format-details {
  margin-top: 10px;
}

.uh-book-annotation-format-block .uh-book-format-details-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  list-style: none;
  cursor: pointer;
  color: var(--uh-book-page-accent);
  font-family: var(--uh-font-heading);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.uh-book-annotation-format-block .uh-book-format-details-toggle::-webkit-details-marker {
  display: none;
}

.uh-book-annotation-format-block .uh-book-format-details-toggle::marker {
  content: "";
}

.uh-book-annotation-format-block .uh-book-format-details-toggle:hover,
.uh-book-annotation-format-block .uh-book-format-details-toggle:focus-visible {
  opacity: 0.72;
  text-decoration: none;
}

.uh-book-annotation-format-block .uh-book-format-details-less {
  display: none;
}

.uh-book-annotation-format-block .uh-book-format-details[open] .uh-book-format-details-more {
  display: none;
}

.uh-book-annotation-format-block .uh-book-format-details[open] .uh-book-format-details-less {
  display: inline;
}

.uh-book-annotation-format-block .uh-book-format-details-body {
  margin-top: 12px;
}

.uh-book-annotation-format-block .uh-book-purchase-actions {
  justify-content: center !important;
  gap: 16px 22px;
  margin-top: clamp(38px, 4vw, 56px) !important;
}

.uh-book-annotation-format-block .uh-book-purchase-actions--standalone {
  justify-content: flex-start !important;
  margin-top: clamp(24px, 2.6vw, 34px) !important;
}

.uh-book-annotation-format-block .uh-book-purchase-actions .wp-block-button {
  margin: 0 !important;
}

.uh-book-reader-letter-actions {
  justify-content: flex-start !important;
  margin-top: clamp(34px, 3.4vw, 46px) !important;
}

/* После объединённой аннотации сохраняем прежнее оформление «Письма читателю». */
.uh-content-section.uh-book-annotation-format-block
  + .uh-content-section.uh-book-reader-letter {
  padding-top: clamp(34px, 3.6vw, 48px) !important;
  padding-bottom: clamp(54px, 5vw, 76px) !important;
  box-shadow: none !important;
}

.uh-content-section.uh-book-annotation-format-block
  + .uh-content-section.uh-book-reader-letter.uh-watercolor-test.uh-ill-wc-56 {
  --uh-watercolor-right: clamp(12px, 2.4vw, 38px);
  --uh-watercolor-bottom: -3%;
}

.uh-content-section.uh-book-annotation-format-block
  + .uh-content-section.uh-book-reader-letter.uh-watercolor-test.uh-ill-wc-56::before {
  width: min(78vw, 340px) !important;
  height: min(78vw, 340px) !important;
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .uh-content-section.uh-book-annotation-format-block
    + .uh-content-section.uh-book-reader-letter.uh-watercolor-test.uh-ill-wc-56::before {
    right: clamp(-32px, -2.2vw, -20px) !important;
  }
}

@media (min-width: 782px) and (max-width: 1024px) {
  .uh-book-annotation-format-block .uh-book-annotation-columns {
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    column-gap: clamp(30px, 4vw, 46px) !important;
  }

  .uh-content-section.uh-book-annotation-format-block
    + .uh-content-section.uh-book-reader-letter.uh-watercolor-test.uh-ill-wc-56::before {
    top: auto !important;
    right: -74px !important;
    bottom: -4% !important;
  }
}

@media (max-width: 781px) {
  .uh-book-annotation-format-block .uh-book-annotation-columns,
  .uh-book-annotation-format-block .uh-book-annotation-columns--no-media {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(30px, 5vw, 42px) !important;
  }

  .uh-book-annotation-format-block .uh-book-annotation-media-col {
    order: 1 !important;
  }

  .uh-book-annotation-format-block .uh-book-annotation-text-col {
    order: 2 !important;
  }

  .uh-book-annotation-format-block .wp-block-image.uh-book-annotation-media {
    width: min(100%, 430px);
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-book-annotation-format-block {
    padding-top: 50px !important;
    padding-bottom: 82px !important;
  }

  .uh-book-annotation-format-block .wp-block-image.uh-book-annotation-media {
    width: min(100%, 360px);
  }

  .uh-book-annotation-format-block .uh-book-format-service {
    font-size: 14px;
    line-height: 1.5;
  }

  .uh-book-annotation-format-block .uh-book-format-details-toggle {
    font-size: 14px;
  }

  .uh-book-annotation-format-block .uh-book-purchase-actions {
    justify-content: center !important;
    margin-top: 36px !important;
  }

  .uh-book-annotation-format-block .uh-book-purchase-actions--standalone {
    justify-content: center !important;
    margin-top: 30px !important;
  }

  .uh-content-section.uh-book-annotation-format-block
    + .uh-content-section.uh-book-reader-letter.uh-watercolor-test.uh-ill-wc-56::before {
    top: auto !important;
    right: -94px !important;
    bottom: -24px !important;
  }
}

.uh-book-reviews-block {
  padding-top: clamp(44px, 4vw, 60px) !important;
  padding-bottom: clamp(70px, 6vw, 96px) !important;
}

.uh-book-reviews-block .uh-reviews-v2-list {
  margin-top: clamp(36px, 3.8vw, 54px) !important;
}

.uh-book-reviews-block .uh-review-v2-card {
  border-color: rgba(var(--uh-book-page-accent-rgb),0.22);
}

.uh-book-reviews-block .uh-review-v2-main {
  border-left-color: rgba(var(--uh-book-page-accent-rgb),0.18);
}

.uh-book-reviews-block .uh-review-v2-main::before,
.uh-book-reviews-block .uh-review-v2-main::after {
  color: rgba(var(--uh-book-page-accent-rgb),0.28);
}

.uh-book-reviews-block .uh-review-v2-book-title,
.uh-book-reviews-block a.uh-review-v2-book-title {
  color: var(--uh-book-page-accent) !important;
}

.uh-book-reviews-block .uh-review-v2-book-title:hover,
.uh-book-reviews-block .uh-review-v2-book-title:focus-visible,
.uh-book-reviews-block a.uh-review-v2-book-title:hover,
.uh-book-reviews-block a.uh-review-v2-book-title:focus-visible {
  color: var(--uh-cta) !important;
}

.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
  width: 100% !important;
  max-width: none !important;
  margin: clamp(22px, 2vw, 30px) 0 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more > .uh-book-reviews-more-link,
.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more > .uh-book-reviews-more-link:visited {
  display: inline-block !important;
  width: max-content !important;
  max-width: 100%;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  color: var(--uh-cta) !important;
  font-family: "Philosopher", var(--uh-font-heading), serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: right !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  transition: color 180ms ease;
}

.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more > .uh-book-reviews-more-link:hover,
.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more > .uh-book-reviews-more-link:focus-visible {
  color: var(--uh-cta-dark) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more > .uh-book-reviews-more-link::before,
.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more > .uh-book-reviews-more-link::after {
  text-decoration: none !important;
}

.uh-book-reviews-block .uh-content-inner > .uh-book-reviews-more > .uh-book-reviews-more-link:focus-visible {
  outline: 2px solid rgba(var(--uh-book-page-accent-rgb),0.26);
  outline-offset: 4px;
  border-radius: 2px;
}

.uh-book-related-series {
  padding-top: clamp(38px, 3.8vw, 54px) !important;
  padding-bottom: clamp(82px, 7vw, 112px) !important;
}

.uh-book-related-series .uh-book-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--uh-card-gap) !important;
  margin-top: clamp(36px, 3.8vw, 54px) !important;
}

.uh-book-related-series .uh-book-related-grid > .wp-block-column {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

.uh-book-related-series .uh-book-card :is(h3, h5) a {
  color: inherit;
  text-decoration: none !important;
}

.uh-book-related-series .uh-book-card :is(h3, h5) a:hover,
.uh-book-related-series .uh-book-card :is(h3, h5) a:focus-visible {
  color: var(--uh-book-page-accent);
}

.uh-book-related-series .uh-book-related-grid.uh-book-related-grid--count-1 {
  grid-template-columns: minmax(0,390px);
  justify-content: start;
}

.uh-book-related-series .uh-book-related-grid.uh-book-related-grid--count-2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
  max-width: 820px;
}

.uh-book-card-cover-placeholder {
  display: grid;
  place-items: center;
  min-height: 330px;
  border-radius: var(--uh-radius-card);
  color: var(--uh-book-page-accent);
  font-family: var(--uh-font-heading);
  text-decoration: none !important;
  background: rgba(var(--uh-book-page-accent-rgb),0.08);
}

/* CTA всегда использует исходный шампанский цвет сайта. */
.uh-book-collection-cta {
  --uh-cta-rgb: 155, 122, 67;
  margin-top: 0 !important;
}

.uh-book-collection-cta .uh-cta-invitation-inner {
  margin-inline: auto !important;
  text-align: center !important;
}

.uh-book-collection-cta .uh-cta-actions {
  width: 100%;
  justify-content: center !important;
}

.uh-book-fragment-dialog {
  width: min(1100px, calc(100vw - 32px));
  max-width: 1100px;
  padding: 0;
  border: 1px solid rgba(221,210,194,0.76);
  border-radius: var(--uh-radius-card);
  background: #FFFEFC;
  box-shadow: 0 32px 74px rgba(44,35,31,0.22);
}

.uh-book-fragment-dialog::backdrop {
  background: rgba(64,54,49,0.48);
  backdrop-filter: blur(3px);
}

.uh-book-fragment-dialog__inner {
  position: relative;
  padding: clamp(28px, 3.4vw, 42px);
}

.uh-book-fragment-dialog__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--uh-heading);
  font-size: 30px;
  line-height: 1;
  background: rgba(var(--uh-book-page-accent-rgb),0.10);
  cursor: pointer;
}

.uh-book-fragment-dialog__body {
  margin-top: clamp(22px, 2.6vw, 30px);
}

.uh-book-fragment-dialog .uh-kicker-section {
  --uh-kicker-color: var(--uh-book-page-accent);
  color: var(--uh-book-page-accent) !important;
}

.uh-book-fragment-dialog .uh-kicker-section + .wp-block-heading {
  margin-top: 20px !important;
}

@media (max-width: 1024px) {
  .uh-book-single .uh-book-hero-curtains::before {
    background-position: left -38px bottom, right -38px bottom !important;
    background-size: auto 106%, auto 106% !important;
    opacity: 0.54 !important;
  }

  .uh-book-single .wp-block-image.uh-book-cover,
  .uh-book-single .uh-book-cover img,
  .uh-book-single .wp-block-image.uh-book-cover img {
    width: min(100%, 350px);
    max-width: 350px;
  }

}

@media (min-width: 690px) and (max-width: 1024px) {
  .uh-book-related-series .uh-book-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uh-book-related-series .uh-book-related-grid.uh-book-related-grid--count-1 {
    grid-template-columns: minmax(0, 390px);
  }

  .uh-book-related-series .uh-book-related-grid.uh-book-related-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 689px) {

  .uh-book-single .uh-book-hero-curtains::before {
    background-position: left -58px bottom, right -58px bottom !important;
    background-size: auto 102%, auto 102% !important;
    opacity: 0.46 !important;
  }

  .uh-book-single .wp-block-image.uh-book-cover,
  .uh-book-single .uh-book-cover img,
  .uh-book-single .wp-block-image.uh-book-cover img {
    width: min(100%, 285px);
    max-width: 285px;
  }

  .uh-book-fragment-dialog {
    width: min(calc(100vw - 18px),1000px);
  }

  .uh-book-fragment-dialog__inner {
    padding: 20px 18px 22px;
  }

  .uh-book-fragment-dialog .uh-kicker-section + .wp-block-heading {
    margin-top: 16px !important;
  }

  .uh-book-related-series .uh-book-related-grid,
  .uh-book-related-series .uh-book-related-grid.uh-book-related-grid--count-1,
  .uh-book-related-series .uh-book-related-grid.uh-book-related-grid--count-2 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* =========================================================
   ПОДВАЛ BLOCKSY — v198
   Точечная доработка светлого подвала: фирменные значки, чуть яснее обводка поиска и компактное свечение.
   Каркас и сетка остаются в штатном Footer Builder Blocksy.
   ========================================================= */

.ct-footer {
  --uh-footer-bg: var(--theme-palette-color-6, var(--paletteColor6, #DDD1C1));
  --uh-footer-surface: var(--theme-palette-color-8, var(--paletteColor8, #FFFDF9));
  --uh-footer-text: var(--uh-body, #5F5650);
  --uh-footer-heading: var(--uh-heading, #5C5149);
  --uh-footer-accent: var(--uh-cta, #9B7A43);
  --uh-footer-border-soft: color-mix(in srgb, var(--uh-footer-heading) 18%, transparent);
  --uh-footer-border-faint: color-mix(in srgb, var(--uh-footer-heading) 12%, transparent);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  color: var(--uh-footer-text);
  font-family: var(--uh-font-body);
  background: var(--uh-footer-bg);
}

/* Граница с последней секцией намеренно резкая. */
.ct-footer::before {
  content: none !important;
  display: none !important;
}

.ct-footer [data-row],
.ct-footer .ct-container {
  position: relative;
  z-index: 1;
}

.ct-footer [data-row] {
  border: 0 !important;
  background-color: transparent !important;
}

.ct-footer .widget,
.ct-footer .wp-block-shortcode,
.ct-footer .wp-block-shortcode > * {
  margin-top: 0;
  margin-bottom: 0;
}

.ct-footer a,
.ct-footer a:hover,
.ct-footer a:focus-visible {
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  background-image: none !important;
}

.uh-footer-heading {
  margin: 0 0 15px !important;
  color: var(--uh-footer-heading) !important;
  font-family: var(--uh-font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

/* Композиция повторяет связку названия и подписи в шапке, но без логотипа. */
.uh-footer-brand {
  display: grid;
  align-content: center;
  justify-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 100%;
  transform: translateY(6px);
}

.uh-footer-brand__name {
  display: inline-block;
  width: fit-content;
  color: var(--uh-footer-heading) !important;
  font-family: var(--uh-font-heading);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: color 150ms ease;
}

.uh-footer-brand__name:hover,
.uh-footer-brand__name:focus-visible {
  color: var(--uh-footer-accent) !important;
}

.uh-footer-brand__descriptor {
  width: 100%;
  margin: 4px 0 0 !important;
  color: var(--uh-footer-accent);
  font-family: var(--uh-font-body);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.uh-footer-search {
  width: 100%;
}

/* У Blocksy «Вертикальные отступы ряда» симметричны. На широком экране
   слегка сдвигаем только поиск вниз: сверху воздуха больше, снизу меньше. */
@media (min-width: 1000px) {
  .uh-footer-search {
    transform: translateY(18px);
  }
}

.uh-footer-search__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 11px;
  width: 100%;
}

.uh-footer-search__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 17px;
  border: 1px solid color-mix(in srgb, var(--uh-footer-heading) 22%, transparent) !important;
  border-radius: 12px !important;
  outline: none !important;
  appearance: none;
  color: var(--uh-footer-text) !important;
  font-family: var(--uh-font-body);
  font-size: 17px;
  line-height: 1.3;
  background: color-mix(in srgb, var(--uh-footer-surface) 82%, var(--uh-footer-bg) 18%) !important;
  box-shadow: none !important;
}

.uh-footer-search__input::placeholder {
  color: color-mix(in srgb, var(--uh-footer-text) 62%, transparent);
  opacity: 1;
}

.uh-footer-search__input:focus {
  border-color: color-mix(in srgb, var(--uh-footer-accent) 52%, transparent) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--uh-footer-accent) 9%, transparent) !important;
}

.uh-footer-search__button-wrap {
  align-self: stretch;
  margin: 0 !important;
}

.uh-footer-search__button {
  height: 100%;
  min-width: 116px;
  margin: 0 !important;
}

.uh-footer-nav__list {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.uh-footer-nav__list li {
  margin: 0 !important;
  padding: 0 !important;
}

.uh-footer-nav__list a,
.uh-footer-contact a {
  color: var(--uh-footer-text) !important;
  font-size: 17px;
  line-height: 1.45;
  transition: color 150ms ease;
}

.uh-footer-nav__list a:hover,
.uh-footer-nav__list a:focus-visible,
.uh-footer-contact a:hover,
.uh-footer-contact a:focus-visible {
  color: var(--uh-footer-accent) !important;
}

.uh-footer-contact__email,
.uh-footer-contact__page {
  margin: 0 !important;
}

.uh-footer-contact__email a {
  color: var(--uh-footer-heading) !important;
  font-size: 18px;
}

.uh-footer-contact__page {
  margin-top: 11px !important;
}

/* Компактные значки всех площадок в одну строку. */
.uh-footer-social-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  margin-top: 9px;
}

.uh-footer-social-icon {
  position: relative;
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--uh-footer-text) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
  opacity: 0.82;
  transition: color 150ms ease, opacity 150ms ease !important;
}

.uh-footer-social-icon svg {
  display: block;
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: currentColor;
}

.uh-footer-social-brand-image {
  display: block;
  width: 23px;
  height: 23px;
  background-color: currentColor;
  -webkit-mask-image: var(--uh-footer-social-mask);
  mask-image: var(--uh-footer-social-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.uh-footer-social-icon--dzen .uh-footer-social-brand-image {
  width: 22px;
  height: 22px;
}

.uh-footer-social-icon--rutube .uh-footer-social-brand-image {
  width: 25px;
  height: 23px;
}

.uh-footer-social-icon__asterisk {
  position: absolute;
  top: -4px;
  right: -3px;
  color: currentColor;
  font-family: var(--uh-font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.uh-footer-social-icon--vk svg {
  width: 25px;
  height: 25px;
}

.uh-footer-social-icon--youtube svg {
  width: 27px;
  height: 25px;
}

.uh-footer-social-icon:hover,
.uh-footer-social-icon:focus-visible {
  color: var(--uh-footer-accent) !important;
  opacity: 1;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.uh-footer-social-icon:focus-visible {
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--uh-footer-accent) 24%, transparent));
}

.uh-footer-social-note {
  margin: 5px 0 0 !important;
  color: color-mix(in srgb, var(--uh-footer-text) 72%, transparent);
  font-size: 10.5px;
  line-height: 1.2;
}

.uh-footer-lantern {
  position: relative;
  min-height: 245px;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.uh-footer-lantern__figure {
  position: absolute;
  display: block;
  z-index: 1;
  right: clamp(-4px, -0.4vw, 0px);
  bottom: -14px;
  width: clamp(125px, 10.5vw, 165px);
  max-width: none;
  line-height: 0;
  isolation: isolate;
}

/* На средних десктопах фонарь не должен прилипать к правой кромке.
   Сохраняем компактный размер, но возвращаем фигуру чуть левее. На очень
   широких экранах остаётся дополнительный запас от кнопки «Найти». */
@media (min-width: 1120px) and (max-width: 1535px) {
  .uh-footer-lantern__figure {
    right: clamp(-14px, -0.8vw, -6px);
    width: clamp(124px, 8.2vw, 136px);
  }
}

@media (min-width: 1536px) {
  .uh-footer-lantern__figure {
    right: clamp(-90px, -4.8vw, -44px);
    width: clamp(124px, 8.2vw, 138px);
  }
}

/* Свечение привязано к световой камере и масштабируется вместе с фонарём. */
.uh-footer-lantern__glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 31%;
  width: 158%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 248, 218, 0.82) 0%,
    rgba(255, 231, 164, 0.46) 30%,
    rgba(255, 204, 96, 0.16) 53%,
    rgba(255, 190, 70, 0) 72%
  );
  filter: blur(7px);
  mix-blend-mode: screen;
  opacity: 0.68;
  pointer-events: none;
}

.uh-footer-lantern img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none !important;
  height: auto;
  margin: 0 !important;
  opacity: 0.68;
  filter:
    saturate(0.72)
    brightness(0.95)
    drop-shadow(0 9px 13px rgba(87,70,58,0.075));
}

.ct-footer .ct-footer-copyright,
.ct-footer [data-id="copyright"] {
  color: color-mix(in srgb, var(--uh-footer-text) 76%, transparent);
  font-family: var(--uh-font-body);
  font-size: 15px;
  line-height: 1.4;
}

.ct-footer [data-row="bottom"] .ct-container {
  border-top: 1px solid var(--uh-footer-border-faint);
}

@media (max-width: 999px) {
  .uh-footer-brand {
    transform: translateY(-8px);
  }

  .uh-footer-brand__descriptor {
    margin-left: 0 !important;
  }

  .uh-footer-lantern {
    min-height: 220px;
  }


  .uh-footer-lantern__figure {
    right: 0;
    bottom: -10px;
    width: clamp(112px, 16vw, 145px);
  }
}

@media (max-width: 689px) {
  .uh-footer-lantern,
  .uh-footer-lantern__figure,
  .uh-footer-lantern img,
  .uh-footer-lantern__glow {
    display: none !important;
  }

  .uh-footer-brand {
    transform: translateY(-4px);
  }

  .uh-footer-brand__descriptor {
    margin-left: 0 !important;
  }

  .uh-footer-search__form {
    grid-template-columns: 1fr;
  }

  .uh-footer-search__form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .uh-footer-search__button-wrap {
    width: auto;
    justify-self: start;
  }

  .uh-footer-search__button {
    width: auto;
    min-width: 104px;
    padding-inline: 18px !important;
  }

  .uh-footer-social-links {
    gap: 10px;
    margin-top: 14px;
  }

  .uh-footer-social-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .uh-footer-social-icon svg {
    width: 22px;
    height: 22px;
  }

.uh-footer-social-brand-image {
    width: 22px;
    height: 22px;
  }

  .uh-footer-social-icon--dzen .uh-footer-social-brand-image {
    width: 21px;
    height: 21px;
  }

  .uh-footer-social-icon__asterisk {
    top: -3px;
    right: -3px;
    font-size: 11px;
  }

  .uh-footer-nav__list a,
  .uh-footer-contact a {
    font-size: 16.5px;
  }
}


/* ========================================================================== 
   Desktop header navigation — v1.4.72
   Type 3 is used only as the Blocksy structural base. The theme's full-height
   colour block and underline are neutralised here and replaced by a compact,
   pale paper-like highlight around the text.
   ========================================================================== */
@media (min-width: 1025px) {
  /* Apply the literary type system to every desktop menu element, including
     Menu 2 even if Blocksy uses a slightly different internal data-id. */
  #header [data-device="desktop"] nav .menu > .menu-item {
    display: flex;
    align-items: center;
  }

  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link {
    position: relative;
    align-self: center;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box;
    padding: 8px 12px !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: var(--uh-heading) !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
      color 170ms ease,
      background-color 190ms ease,
      box-shadow 190ms ease !important;
  }

  /* Remove both the Blocksy Type 2 underline and the default full-height
     Type 3 colour layer, whichever may still be present in saved settings. */
  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link::before,
  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link::after {
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: clamp(5px, 0.55vw, 9px);
  }

  #header [data-device="desktop"] [data-id="menu"] .menu > .menu-item:hover > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .menu > .menu-item > .ct-menu-link:focus-visible {
    color: var(--uh-cta-dark) !important;
    background: color-mix(in srgb, var(--uh-cta-light) 28%, transparent) !important;
  }

  #header [data-device="desktop"] [data-id="menu"] .menu > .current-menu-item > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .menu > .current-menu-ancestor > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .menu > .current_page_item > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .menu > .current_page_ancestor > .ct-menu-link {
    color: var(--uh-cta-dark) !important;
    background: color-mix(in srgb, var(--uh-cta-light) 46%, transparent) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--uh-cta) 13%, transparent) !important;
  }

  #header [data-device="desktop"] [data-id="menu"] .menu > .current-menu-item:hover > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .menu > .current-menu-ancestor:hover > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .menu > .current_page_item:hover > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .menu > .current_page_ancestor:hover > .ct-menu-link {
    background: color-mix(in srgb, var(--uh-cta-light) 56%, transparent) !important;
  }

  /* English Version: the same Philosopher typography, a permanent
     International colour and a real border-left divider instead of a fragile
     pseudo-element. Multiple likely Blocksy data-ids are covered. */
  #header [data-device="desktop"] :is(
    [data-id="menu_2"],
    [data-id="menu2"],
    [data-id="menu-2"],
    [data-id="secondary-menu"]
  ) {
    --menu-items-spacing: 0px;
    display: flex;
    align-items: center;
    min-height: 30px;
    margin-left: clamp(11px, 1vw, 17px);
    padding-left: clamp(12px, 1.05vw, 18px);
    border-left: 1px solid color-mix(in srgb, var(--uh-international) 44%, transparent);
  }

  #header [data-device="desktop"] :is(
    [data-id="menu_2"],
    [data-id="menu2"],
    [data-id="menu-2"],
    [data-id="secondary-menu"]
  ) .menu > .menu-item > .ct-menu-link {
    color: var(--uh-international) !important;
  }

  #header [data-device="desktop"] :is(
    [data-id="menu_2"],
    [data-id="menu2"],
    [data-id="menu-2"],
    [data-id="secondary-menu"]
  ) .menu > .menu-item:hover > .ct-menu-link,
  #header [data-device="desktop"] :is(
    [data-id="menu_2"],
    [data-id="menu2"],
    [data-id="menu-2"],
    [data-id="secondary-menu"]
  ) .menu > .menu-item > .ct-menu-link:focus-visible {
    color: color-mix(in srgb, var(--uh-international) 84%, var(--uh-heading) 16%) !important;
    background: color-mix(in srgb, var(--uh-international) 9%, transparent) !important;
  }

  #header [data-device="desktop"] :is(
    [data-id="menu_2"],
    [data-id="menu2"],
    [data-id="menu-2"],
    [data-id="secondary-menu"]
  ) .menu > .current-menu-item > .ct-menu-link,
  #header [data-device="desktop"] :is(
    [data-id="menu_2"],
    [data-id="menu2"],
    [data-id="menu-2"],
    [data-id="secondary-menu"]
  ) .menu > .current_page_item > .ct-menu-link {
    color: color-mix(in srgb, var(--uh-international) 88%, var(--uh-heading) 12%) !important;
    background: color-mix(in srgb, var(--uh-international) 13%, transparent) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--uh-international) 15%, transparent) !important;
  }

  /* The already approved author-news submenu is kept essentially unchanged. */
  #header [data-device="desktop"] [data-id="menu"] .sub-menu {
    min-width: 205px;
    padding: 8px !important;
    border: 1px solid color-mix(in srgb, var(--uh-cta) 24%, transparent) !important;
    border-radius: 13px !important;
    background: color-mix(in srgb, var(--uh-panel) 94%, var(--uh-page) 6%) !important;
    box-shadow: 0 14px 34px rgba(60, 49, 42, 0.10) !important;
  }

  #header [data-device="desktop"] [data-id="menu"] .sub-menu .ct-menu-link {
    padding: 10px 12px !important;
    color: var(--uh-heading) !important;
    border-radius: 8px;
    transition: color 170ms ease, background-color 170ms ease !important;
  }

  #header [data-device="desktop"] [data-id="menu"] .sub-menu .menu-item:hover > .ct-menu-link,
  #header [data-device="desktop"] [data-id="menu"] .sub-menu .ct-menu-link:focus-visible,
  #header [data-device="desktop"] [data-id="menu"] .sub-menu .current-menu-item > .ct-menu-link {
    color: var(--uh-cta-dark) !important;
    background: color-mix(in srgb, var(--uh-cta-light) 52%, transparent) !important;
  }

  #header [data-device="desktop"] [data-id="search"] {
    color: var(--uh-heading);
  }

  #header [data-device="desktop"] [data-id="search"] .ct-icon,
  #header [data-device="desktop"] [data-id="search"] svg {
    width: 21px;
    height: 21px;
    transition: color 170ms ease, opacity 170ms ease;
  }

  #header [data-device="desktop"] [data-id="search"]:hover,
  #header [data-device="desktop"] [data-id="search"] a:hover,
  #header [data-device="desktop"] [data-id="search"] button:hover {
    color: var(--uh-cta) !important;
  }

  /* Одинаковая геометрия во всех состояниях: hover и active не меняют
     ширину ссылки и не раздвигают соседние пункты. */
  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link,
  #header [data-device="desktop"] nav .menu > .menu-item:hover > .ct-menu-link,
  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link:focus-visible,
  #header [data-device="desktop"] nav .menu > :is(
    .current-menu-item,
    .current-menu-parent,
    .current-menu-ancestor,
    .current_page_item,
    .current_page_parent,
    .current_page_ancestor
  ) > .ct-menu-link,
  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link[aria-current="page"] {
    box-sizing: border-box;
    padding-right: 12px !important;
    padding-left: 12px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* In the short desktop interval before the shared 1024 px breakpoint, reduce
   only padding and spacing. The type remains readable instead of shrinking to
   the tiny 14 px used in v200. */
@media (min-width: 1025px) and (max-width: 1199px) {
  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: 3px;
  }


  #header [data-device="desktop"] :is(
    [data-id="menu_2"],
    [data-id="menu2"],
    [data-id="menu-2"],
    [data-id="secondary-menu"]
  ) {
    margin-left: 6px;
    padding-left: 9px;
  }

}

/* ==========================================================================
   Header breakpoint — v1.4.72
   The site's main responsive layouts switch to one column at 1024 px.
   Blocksy normally keeps the desktop header slightly longer; this narrow
   override makes the mobile header and burger begin at the same width.
   ========================================================================== */
@media (max-width: 1024px) {
  body:not(.uh-customizer-preview) #header [data-device="desktop"] {
    display: none !important;
  }

  body:not(.uh-customizer-preview) #header [data-device="mobile"] {
    display: block !important;
  }

  body:not(.uh-customizer-preview) #offcanvas .ct-panel-content[data-device="desktop"] {
    display: none !important;
  }

  body:not(.uh-customizer-preview) #offcanvas .ct-panel-content[data-device="mobile"] {
    display: flex !important;
  }
}

/* ========================================================================== 
   Desktop header navigation correction — v1.4.73
   Earlier readable type scaling and a URL-based International selector for
   English Version. The URL selector deliberately avoids relying on Blocksy's
   internal Menu 2 data-id, which can differ between header configurations.
   ========================================================================== */
@media (min-width: 1025px) {
  /* Default desktop size: 16 px appears almost immediately after the shared
     1024 px breakpoint. Both menus use the same Philosopher scale. */

  /* English Version is identified by its actual destination rather than by
     the unstable internal id of Blocksy's second menu element. */
  #header [data-device="desktop"] .menu > .menu-item:has(> a[href*="english-version"]) {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: clamp(8px, 0.85vw, 14px) !important;
    padding-left: clamp(13px, 1vw, 18px) !important;
  }

  #header [data-device="desktop"] .menu > .menu-item:has(> a[href*="english-version"])::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    width: 1px;
    height: 23px;
    transform: translateY(-50%);
    background: rgba(var(--uh-international-rgb), 0.48);
    pointer-events: none;
  }

  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] a[href*="english-version"].ct-menu-link {
    color: var(--uh-international, #6B7190) !important;
  }

  #header [data-device="desktop"] .menu > .menu-item:hover > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"]:hover,
  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"]:focus-visible {
    color: color-mix(in srgb, var(--uh-international) 82%, var(--uh-heading) 18%) !important;
    background: rgba(var(--uh-international-rgb), 0.09) !important;
  }

  #header [data-device="desktop"] .menu > .current-menu-item > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] .menu > .current_page_item > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] .menu > .current-menu-ancestor > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"][aria-current="page"] {
    color: color-mix(in srgb, var(--uh-international) 88%, var(--uh-heading) 12%) !important;
    background: rgba(var(--uh-international-rgb), 0.14) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--uh-international-rgb), 0.17) !important;
  }
}

/* A very short compact interval immediately above the common breakpoint. */
@media (min-width: 1025px) and (max-width: 1059px) {
  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: 2px;
  }

}

/* At only 35 px above the breakpoint, the menu already reaches 16 px. */
@media (min-width: 1060px) and (max-width: 1209px) {
  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: 3px;
  }

}



/* ========================================================================== 
   Desktop header colours — v1.4.74
   The previous menu experiments used fixed colours with !important, so the
   independent colour controls of Blocksy Menu 1, Menu 2 and Search could not
   affect the frontend. Typography and geometry remain ours; all three link
   states now read the colour variables generated by the corresponding Blocksy
   element. The compact Type 3 highlight is only a very light tint of the
   selected hover/active text colour.
   ========================================================================== */
@media (min-width: 1025px) {
  /* Menu 1 and Menu 2: each menu resolves these inherited Blocksy variables
     from its own builder element, so their colour controls remain independent. */
  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link,
  #header [data-device="desktop"] .menu > .menu-item > .ct-menu-link,
  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"] {
    color: var(--theme-link-initial-color) !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  #header [data-device="desktop"] nav .menu > .menu-item:hover > .ct-menu-link,
  #header [data-device="desktop"] nav .menu > .menu-item > .ct-menu-link:focus-visible,
  #header [data-device="desktop"] .menu > .menu-item:hover > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"]:hover,
  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"]:focus-visible {
    color: var(--theme-link-hover-color) !important;
    background-color: color-mix(in srgb, var(--theme-link-hover-color) 7%, transparent) !important;
    box-shadow: none !important;
  }

  #header [data-device="desktop"] nav .menu > .current-menu-item > .ct-menu-link,
  #header [data-device="desktop"] nav .menu > .current-menu-ancestor > .ct-menu-link,
  #header [data-device="desktop"] nav .menu > .current_page_item > .ct-menu-link,
  #header [data-device="desktop"] nav .menu > .current_page_ancestor > .ct-menu-link,
  #header [data-device="desktop"] .menu > .current-menu-item > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] .menu > .current_page_item > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] .menu > .current-menu-ancestor > a.ct-menu-link[href*="english-version"],
  #header [data-device="desktop"] a.ct-menu-link[href*="english-version"][aria-current="page"] {
    color: var(--theme-link-active-color) !important;
    background-color: color-mix(in srgb, var(--theme-link-active-color) 10%, transparent) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-link-active-color) 10%, transparent) !important;
  }

  /* The language divider follows Menu 2's own initial colour rather than a
     fixed site colour, therefore it changes together with Menu 2 settings. */
  #header [data-device="desktop"] .menu > .menu-item:has(> a[href*="english-version"])::before {
    background: color-mix(in srgb, var(--theme-link-initial-color) 42%, transparent) !important;
  }

  /* Search reads the icon colours of the Blocksy Search element. */
  #header [data-device="desktop"] [data-id="search"],
  #header [data-device="desktop"] [data-id="search"] a,
  #header [data-device="desktop"] [data-id="search"] button {
    color: var(--theme-icon-color, var(--theme-link-initial-color)) !important;
  }

  #header [data-device="desktop"] [data-id="search"]:hover,
  #header [data-device="desktop"] [data-id="search"] a:hover,
  #header [data-device="desktop"] [data-id="search"] button:hover,
  #header [data-device="desktop"] [data-id="search"] a:focus-visible,
  #header [data-device="desktop"] [data-id="search"] button:focus-visible {
    color: var(--theme-icon-hover-color, var(--theme-link-hover-color)) !important;
  }
}

/* ========================================================================== 
   Header inline search — v1.4.76
   On desktop, the Blocksy full-screen search trigger is replaced by a small
   paper-like search line anchored to the magnifying glass. It does not dim or
   block the page and therefore leaves the menu instantly responsive.
   ========================================================================== */
@media (min-width: 1025px) {
  html.uh-inline-search-ready #search-modal {
    display: none !important;
  }

  #header [data-device="desktop"],
  #header [data-device="desktop"] [data-row],
  #header [data-device="desktop"] .ct-container {
    overflow: visible !important;
  }

  #header [data-device="desktop"] [data-id="search"].uh-inline-search-host {
    position: relative;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
  }

  #header [data-device="desktop"] .uh-inline-search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    outline: 0;
    background: transparent;
    color: var(--theme-icon-color, var(--theme-link-initial-color));
    box-shadow: none;
    cursor: pointer;
    transition:
      color 150ms ease,
      background-color 150ms ease,
      transform 150ms ease;
  }

  #header [data-device="desktop"] .uh-inline-search-trigger:hover,
  #header [data-device="desktop"] .uh-inline-search-trigger:focus-visible,
  #header [data-device="desktop"] .uh-inline-search-host.is-open .uh-inline-search-trigger {
    color: var(--theme-icon-hover-color, var(--theme-link-hover-color));
    background: color-mix(in srgb, currentColor 7%, transparent);
  }

  #header [data-device="desktop"] .uh-inline-search-trigger:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--uh-cta-rgb), 0.11);
  }

  #header [data-device="desktop"] .uh-inline-search-trigger svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  #header [data-device="desktop"] .uh-inline-search {
    position: absolute;
    z-index: 120;
    top: calc(100% + 12px);
    right: -4px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    width: clamp(310px, 28vw, 410px);
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(var(--uh-cta-rgb), 0.25);
    border-radius: 14px;
    background: rgba(255, 252, 247, 0.985);
    box-shadow:
      0 15px 38px rgba(63, 52, 45, 0.14),
      0 2px 8px rgba(63, 52, 45, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px) scale(0.985);
    transform-origin: top right;
    transition:
      opacity 145ms ease,
      visibility 145ms ease,
      transform 145ms ease,
      border-color 145ms ease,
      box-shadow 145ms ease;
  }

  #header [data-device="desktop"] .uh-inline-search::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 18px;
    width: 11px;
    height: 11px;
    border-top: 1px solid rgba(var(--uh-cta-rgb), 0.25);
    border-left: 1px solid rgba(var(--uh-cta-rgb), 0.25);
    background: #fffaf5;
    transform: rotate(45deg);
  }

  #header [data-device="desktop"] .uh-inline-search-host.is-open .uh-inline-search {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  #header [data-device="desktop"] .uh-inline-search:focus-within {
    border-color: rgba(var(--uh-cta-rgb), 0.52);
    box-shadow:
      0 16px 40px rgba(63, 52, 45, 0.15),
      0 0 0 3px rgba(var(--uh-cta-rgb), 0.08);
  }

  #header [data-device="desktop"] .uh-inline-search__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  #header [data-device="desktop"] .uh-inline-search__input {
    min-width: 0;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    outline: 0;
    background: transparent;
    color: var(--uh-heading);
    box-shadow: none;
    font-family: var(--uh-font-body);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
  }

  #header [data-device="desktop"] .uh-inline-search__input::placeholder {
    color: rgba(95, 86, 80, 0.66);
    opacity: 1;
  }

  #header [data-device="desktop"] .uh-inline-search__submit {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    outline: 0;
    background: rgba(var(--uh-cta-rgb), 0.11);
    color: var(--uh-cta-dark);
    box-shadow: none;
    cursor: pointer;
    transition:
      color 145ms ease,
      background-color 145ms ease,
      transform 145ms ease;
  }

  #header [data-device="desktop"] .uh-inline-search__submit:hover,
  #header [data-device="desktop"] .uh-inline-search__submit:focus-visible {
    background: rgba(var(--uh-cta-rgb), 0.20);
    color: var(--uh-cta-dark);
    transform: translateY(-1px);
  }

  #header [data-device="desktop"] .uh-inline-search__submit:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--uh-cta-rgb), 0.12);
  }

  #header [data-device="desktop"] .uh-inline-search__submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  #header [data-device="desktop"] .uh-inline-search,
  #header [data-device="desktop"] .uh-inline-search-trigger,
  #header [data-device="desktop"] .uh-inline-search__submit {
    transition: none !important;
  }
}

/* Slightly larger author-news item, preserving the approved paper submenu. */
@media (min-width: 1025px) {
  #header [data-device="desktop"] [data-id="menu"] .sub-menu {
    min-width: 214px;
  }

  #header [data-device="desktop"] [data-id="menu"] .sub-menu .ct-menu-link {
    padding: 11px 13px !important;
  }
}

/* ========================================================================== 
   Desktop submenu attachment — v1.4.81
   Blocksy keeps complete ownership of the desktop row height and of the
   full-height top-level menu items. The previous natural-height override on
   the parent menu item prevented the Header Builder row-height control from
   being reflected correctly. The dropdown is now attached visually by using
   the vertical centre of the untouched full-height item.
   ========================================================================== */
@media (min-width: 1025px) {
  #header [data-device="desktop"] [data-id="menu"] .menu > .menu-item.menu-item-has-children {
    position: relative;
  }

  #header [data-device="desktop"] [data-id="menu"] .menu > .menu-item.menu-item-has-children::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: calc(50% + 18px);
    left: -6px;
    right: -6px;
    height: 10px;
  }

  #header [data-device="desktop"] [data-id="menu"] .menu > .menu-item.menu-item-has-children > .sub-menu {
    top: calc(50% + 25px) !important;
    inset-block-start: calc(50% + 25px) !important;
    margin-top: 0 !important;
  }
}


/* ========================================================================== 
   Desktop menu collision correction — v1.4.83
   v1.4.82 attached a border to the whole Menu 2 nav. In Blocksy that nav may
   stretch with the header cell, so the border became a huge stripe. This
   version returns to the short divider beside English Version and solves the
   narrow-desktop collision only by compacting Menu 1. Header row height stays
   under Blocksy control.
   ========================================================================== */
@media (min-width: 1025px) {
  /* Defensive reset: no divider may be drawn on a nav/container. */
  #header [data-device="desktop"] nav:has(a.ct-menu-link[href*="english-version"]) {
    border-inline-start: 0 !important;
    padding-inline-start: 0 !important;
  }

  /* The divider remains a short, optically centred stroke only. */
  #header [data-device="desktop"] .menu > .menu-item:has(> a[href*="english-version"])::before {
    width: 1px !important;
    height: 21px !important;
  }
}

/* Very narrow desktop: preserve readable type, remove surplus link padding. */
@media (min-width: 1025px) and (max-width: 1059px) {
  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: 0px;
  }


  #header [data-device="desktop"] .menu > .menu-item:has(> a[href*="english-version"]) {
    margin-inline-start: 5px !important;
    padding-inline-start: 9px !important;
  }
}

/* The menu reaches 16 px early, but remains compact until there is real room. */
@media (min-width: 1060px) and (max-width: 1199px) {
  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: 1px;
  }


  #header [data-device="desktop"] .menu > .menu-item:has(> a[href*="english-version"]) {
    margin-inline-start: 6px !important;
    padding-inline-start: 10px !important;
  }
}

/* Transitional desktop: keep 16 px a little longer instead of creating a
   sudden 17 px width jump directly after 1210 px. */
@media (min-width: 1200px) and (max-width: 1279px) {
  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: 2px;
  }


  #header [data-device="desktop"] .menu > .menu-item:has(> a[href*="english-version"]) {
    margin-inline-start: 7px !important;
    padding-inline-start: 11px !important;
  }
}

/* 17 px starts once the header has enough width. */
@media (min-width: 1280px) and (max-width: 1399px) {
  #header [data-device="desktop"] [data-id="menu"] {
    --menu-items-spacing: 3px;
  }

}

/* ==========================================================================
   Mobile navigation
   Blocksy retains control of menu typography and submenu opening. The plugin
   supplies only the approved paper background, colours, geometry and search.
   ========================================================================== */
@media (max-width: 1024px) {
  #header [data-device="mobile"] [data-id="search"] {
    display: none !important;
  }

  #offcanvas .ct-panel-inner,
  #offcanvas .ct-panel-actions,
  #offcanvas .ct-panel-content[data-device="mobile"] {
    background:
      radial-gradient(circle at 92% 8%, rgba(var(--uh-cta-rgb), 0.060), transparent 30%),
      linear-gradient(180deg, #fffdf9 0%, var(--uh-page) 100%) !important;
  }

  #offcanvas .ct-panel-actions {
    box-sizing: border-box;
    min-height: 70px;
    padding: 14px clamp(18px, 4vw, 30px) !important;
    border-bottom: 1px solid rgba(var(--uh-cta-rgb), 0.12);
  }

  #offcanvas .ct-panel-content[data-device="mobile"] {
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-y: auto;
    padding: clamp(24px, 5vw, 38px) clamp(22px, 5.5vw, 38px) 38px !important;
    color: var(--uh-heading) !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] > :is(
    [data-id="mobile-menu"],
    nav,
    .mobile-menu,
    .uh-mobile-menu-search
  ) {
    width: min(100%, 720px);
    margin-right: auto !important;
    margin-left: auto !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] :is(
    [data-id="mobile-menu"],
    .mobile-menu,
    .menu
  ) .ct-menu-link {
    color: var(--uh-heading) !important;
    -webkit-text-fill-color: currentColor !important;
    opacity: 1 !important;
    text-decoration: none !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] :is(
    [data-id="mobile-menu"],
    .mobile-menu,
    .menu
  ) .ct-menu-link * {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    font-family: inherit !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] :is(.mobile-menu, .menu)
    > .menu-item > .ct-menu-link {
    display: inline-flex;
    width: fit-content;
    padding: 9px 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] :is(.mobile-menu, .menu)
    > .menu-item:hover > .ct-menu-link,
  #offcanvas .ct-panel-content[data-device="mobile"] :is(.mobile-menu, .menu)
    > .menu-item > .ct-menu-link:focus-visible {
    color: var(--uh-cta-dark) !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] :is(.mobile-menu, .menu)
    > :is(
      .current-menu-item,
      .current-menu-parent,
      .current-menu-ancestor,
      .current_page_item,
      .current_page_parent,
      .current_page_ancestor
    ) > .ct-menu-link,
  #offcanvas .ct-panel-content[data-device="mobile"] .ct-menu-link[aria-current="page"] {
    color: var(--uh-cta-dark) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] :is(.mobile-menu, .menu)
    > :is(
      .current-menu-item,
      .current-menu-parent,
      .current-menu-ancestor,
      .current_page_item,
      .current_page_parent,
      .current_page_ancestor
    ) {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Blocksy itself opens and closes the submenu. No display/hidden rule is
     imposed by the plugin. */
  #offcanvas .ct-panel-content[data-device="mobile"] :is(.mobile-menu, .menu) .sub-menu {
    margin: 5px 0 10px 13px !important;
    padding: 7px 0 7px 15px !important;
    border-left: 1px solid rgba(var(--uh-cta-rgb), 0.24);
    background: transparent !important;
    box-shadow: none !important;
  }

  #offcanvas .ct-panel-content[data-device="mobile"] :is(.mobile-menu, .menu)
    .sub-menu .ct-menu-link {
    width: fit-content;
    padding: 7px 0 !important;
    border: 0 !important;
    border-radius: 0;
    color: var(--uh-body) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #offcanvas [data-id="mobile-menu"] :is(
    .ct-toggle-dropdown-mobile,
    .ct-toggle-dropdown-desktop,
    [class*="toggle-dropdown"],
    .child-indicator
  ) {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-left: 7px;
    padding: 0 !important;
    border: 1px solid rgba(var(--uh-cta-rgb), 0.14) !important;
    border-radius: 50%;
    background: rgba(var(--uh-cta-rgb), 0.040) !important;
    color: var(--uh-cta-dark) !important;
    opacity: 0.82 !important;
  }

  #offcanvas [data-id="mobile-menu"] :is(
    .ct-toggle-dropdown-mobile,
    .ct-toggle-dropdown-desktop,
    [class*="toggle-dropdown"],
    .child-indicator
  ) :is(svg, .ct-icon) {
    color: inherit !important;
    fill: currentColor !important;
    stroke: currentColor !important;
  }

  #offcanvas .menu-item:has(> a[href*="english-version"]) {
    margin-top: 13px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(var(--uh-international-rgb), 0.24);
  }

  #offcanvas a.ct-menu-link[href*="english-version"],
  #offcanvas a.ct-menu-link[href*="english-version"]:visited {
    color: var(--uh-international) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  #offcanvas a.ct-menu-link[href*="english-version"]:hover,
  #offcanvas a.ct-menu-link[href*="english-version"]:focus-visible,
  #offcanvas .current-menu-item > a.ct-menu-link[href*="english-version"] {
    color: color-mix(in srgb, var(--uh-international) 86%, var(--uh-heading) 14%) !important;
  }

  /* Lighter trigger: the approved warm shape with reduced contrast and stroke. */
  #header [data-device="mobile"] [data-id="trigger"] :is(.ct-header-trigger, .ct-toggle),
  #header [data-device="mobile"] .ct-header-trigger {
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    padding: 0 !important;
    border: 1px solid rgba(var(--uh-cta-rgb), 0.12) !important;
    border-radius: 50% !important;
    background:
      radial-gradient(circle at 35% 28%, rgba(255,255,255,0.84), rgba(255,255,255,0) 52%),
      rgba(var(--uh-cta-rgb), 0.025) !important;
    color: color-mix(in srgb, var(--uh-cta) 54%, var(--uh-muted) 46%) !important;
    box-shadow:
      0 3px 9px rgba(69, 52, 36, 0.025),
      inset 0 1px 0 rgba(255,255,255,0.68) !important;
  }

  #header [data-device="mobile"] [data-id="trigger"] :is(svg, .ct-icon),
  #header [data-device="mobile"] .ct-header-trigger :is(svg, .ct-icon) {
    width: 18px !important;
    height: 18px !important;
    color: inherit !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    opacity: 0.68 !important;
  }

  #header [data-device="mobile"] [data-id="trigger"] :is(svg, .ct-icon) *,
  #header [data-device="mobile"] .ct-header-trigger :is(svg, .ct-icon) * {
    stroke-width: 1.25 !important;
  }

  #offcanvas :is(.ct-toggle-close, [data-toggle-panel="#offcanvas"]) {
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    padding: 0 !important;
    border: 1px solid rgba(var(--uh-cta-rgb), 0.14) !important;
    border-radius: 50% !important;
    background: rgba(var(--uh-cta-rgb), 0.030) !important;
    color: color-mix(in srgb, var(--uh-cta) 58%, var(--uh-muted) 42%) !important;
    box-shadow: none !important;
  }

  .uh-mobile-menu-search {
    flex: 0 0 auto !important;
    width: 100%;
    margin-top: clamp(24px, 5vw, 32px) !important;
    padding-top: clamp(20px, 4vw, 26px) !important;
    border-top: 1px solid rgba(var(--uh-cta-rgb), 0.18);
  }

  .uh-mobile-menu-search__title {
    margin: 0 0 11px !important;
    color: var(--uh-cta-dark);
    font-family: var(--uh-font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.10em;
    text-transform: uppercase;
  }

  .uh-mobile-menu-search__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 9px;
    width: 100%;
    margin: 0;
  }

  .uh-mobile-menu-search__input {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 9px 13px;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    border: 1px solid rgba(var(--uh-cta-rgb), 0.25) !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: rgba(255, 252, 247, 0.94) !important;
    color: var(--uh-heading) !important;
    box-shadow: none !important;
    font-family: var(--uh-font-body);
    font-size: 16.5px;
    opacity: 1 !important;
  }

  .uh-mobile-menu-search__input:focus {
    border-color: rgba(var(--uh-cta-rgb), 0.52) !important;
    box-shadow: 0 0 0 3px rgba(var(--uh-cta-rgb), 0.08) !important;
  }

  .uh-mobile-menu-search__submit {
    width: auto !important;
    min-width: 88px;
    height: 46px;
    margin: 0;
    padding: 9px 15px;
    border: 1px solid rgba(var(--uh-cta-rgb), 0.24);
    border-radius: 11px;
    background: rgba(var(--uh-cta-rgb), 0.12);
    color: var(--uh-cta-dark);
    font-family: var(--uh-font-heading);
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
  }

  .uh-mobile-menu-search__submit:hover,
  .uh-mobile-menu-search__submit:focus-visible {
    background: rgba(var(--uh-cta-rgb), 0.21);
  }
}

@media (max-width: 390px) {
  .uh-mobile-menu-search__submit {
    min-width: 78px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* ==========================================================================
   Blocksy-owned spacing between Menu 2 and Search — v1.4.90
   Experimental margin, padding, fixed-width and spacer rules from versions
   1.4.84–1.4.89 have been removed. Blocksy again owns the horizontal margin
   of the Search header element. The approved inline search appearance remains.
   ========================================================================== */

/* ==========================================================================
   Record-card grids — v1.4.196
   Blog/archive/search cards follow the same shared 3 → 2 → 1 rhythm as the
   custom article, news and book grids. Card internals remain Blocksy-owned.
   ========================================================================== */
:is(
  body.blog,
  body.category,
  body.tag,
  body.search,
  body.post-type-archive-uh_author_news,
  body.tax-uh_news_rubric
) .entries {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 1024px) {
  :is(
    body.blog,
    body.category,
    body.tag,
    body.search,
    body.post-type-archive-uh_author_news,
    body.tax-uh_news_rubric
  ) .entries {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 689px) {
  :is(
    body.blog,
    body.category,
    body.tag,
    body.search,
    body.post-type-archive-uh_author_news,
    body.tax-uh_news_rubric
  ) .entries {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ==========================================================================
   Search results page — v1.4.92
   Card internals, typography, colours, borders, shadows and corner rounding
   remain Blocksy-owned. Only the shared record-grid column count above is
   normalized by the plugin.
   ========================================================================== */

body.search .entry-card.uh-search-tone-blog .uh-search-kicker-meta,
body.search .entry-card.uh-search-tone-blog .uh-search-kicker-meta a {
  color: var(--uh-blog) !important;
}

body.search .entry-card.uh-search-tone-life .uh-search-kicker-meta,
body.search .entry-card.uh-search-tone-life .uh-search-kicker-meta a {
  color: var(--uh-author-life-kicker) !important;
}

body.search .entry-card.uh-search-tone-books .uh-search-kicker-meta,
body.search .entry-card.uh-search-tone-books .uh-search-kicker-meta a {
  color: var(--uh-author-books-kicker) !important;
}

body.search .entry-card.uh-search-tone-author .uh-search-kicker-meta,
body.search .entry-card.uh-search-tone-author .uh-search-kicker-meta a {
  color: var(--uh-author) !important;
}

body.search .entry-card .uh-search-kicker-meta,
body.search .entry-card .uh-search-kicker-meta a {
  font-family: var(--uh-font-heading) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none !important;
}

body.search .entry-card .uh-search-date-meta,
body.search .entry-card .uh-search-date-meta a,
body.search .entry-card .uh-search-date-meta time,
body.search .entry-card .entry-meta time,
body.search .entry-card :is(.meta-date, [data-type="published"], [data-type="date"]) {
  color: var(--uh-muted) !important;
}

/* ========================================================================== 
   Page «Об авторе»: accordion «Достижения и признание» — v1.4.93
   Native <details>/<summary> keeps the block accessible without JavaScript;
   the script only enforces one open panel at a time and opens hash targets.
   ========================================================================== */
.uh-content-section.uh-about-achievements-block {
  padding-top: clamp(34px, 3.4vw, 50px) !important;
  padding-bottom: clamp(58px, 5.6vw, 82px) !important;
  background: var(--uh-page) !important;
}

.uh-about-achievements-block .uh-content-head {
  margin-bottom: clamp(28px, 3vw, 40px) !important;
}

.uh-about-achievements-block .uh-kicker-section {
  --uh-kicker-color: var(--uh-author);
  color: var(--uh-author) !important;
}

.uh-achievements-accordion {
  display: grid;
  gap: clamp(12px, 1.35vw, 17px);
  width: 100%;
  margin: 0;
}

.uh-achievements-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(var(--uh-author-rgb), 0.16);
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.88);
  box-shadow: 0 12px 30px rgba(47, 41, 37, 0.055);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.uh-achievements-item[open] {
  border-color: rgba(var(--uh-author-rgb), 0.30);
  background: #fffdf9;
  box-shadow: 0 16px 34px rgba(47, 41, 37, 0.075);
}

.uh-achievements-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  margin: 0;
  padding: 19px 22px 19px 25px;
  color: var(--uh-heading);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.uh-achievements-summary::-webkit-details-marker {
  display: none;
}

.uh-achievements-summary::marker {
  content: "";
}

.uh-achievements-summary:hover {
  color: var(--uh-author);
  background: rgba(var(--uh-author-rgb), 0.035);
}

.uh-achievements-summary:focus-visible {
  outline: 3px solid rgba(var(--uh-author-rgb), 0.18);
  outline-offset: -3px;
}

.uh-achievements-title {
  min-width: 0;
  font-family: var(--uh-font-heading);
  font-size: clamp(20px, 1.65vw, 23px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
}

.uh-achievements-icon {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(var(--uh-author-rgb), 0.23);
  border-radius: 50%;
  background: rgba(var(--uh-author-rgb), 0.055);
  color: var(--uh-author);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.uh-achievements-icon::before,
.uh-achievements-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.uh-achievements-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.uh-achievements-item[open] .uh-achievements-icon {
  border-color: var(--uh-author);
  background: var(--uh-author);
  color: #fff;
}

.uh-achievements-item[open] .uh-achievements-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.25);
}

.uh-achievements-panel {
  padding: 0 26px 27px;
  border-top: 1px solid rgba(var(--uh-author-rgb), 0.12);
}

.uh-achievements-panel ul {
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.uh-achievements-panel li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: var(--uh-body);
  font-family: var(--uh-font-body);
  font-size: clamp(18px, 1.38vw, 20px);
  font-weight: 400;
  line-height: 1.56;
}

.uh-achievements-panel li + li {
  margin-top: 11px;
}

.uh-achievements-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 3px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: rgba(var(--uh-author-rgb), 0.78);
  transform: rotate(45deg);
}

.uh-achievements-panel a {
  color: var(--uh-author);
  text-decoration-line: underline;
  text-decoration-color: rgba(var(--uh-author-rgb), 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.uh-achievements-panel a:hover,
.uh-achievements-panel a:focus-visible {
  color: var(--uh-cta-dark);
  text-decoration-color: rgba(var(--uh-cta-rgb), 0.72);
}

@media (prefers-reduced-motion: no-preference) {
  .uh-achievements-item[open] .uh-achievements-panel {
    animation: uh-achievements-reveal 220ms ease-out both;
  }

  @keyframes uh-achievements-reveal {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 781px) {
  .uh-content-section.uh-about-achievements-block {
    padding-top: clamp(28px, 7vw, 40px) !important;
    padding-bottom: clamp(50px, 12vw, 70px) !important;
  }

  .uh-achievements-item {
    border-radius: 18px;
  }

  .uh-achievements-summary {
    gap: 14px;
    min-height: 68px;
    padding: 17px 17px 17px 19px;
  }

  .uh-achievements-title {
    font-size: clamp(18px, 5vw, 20px);
  }

  .uh-achievements-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .uh-achievements-panel {
    padding: 0 18px 22px;
  }

  .uh-achievements-panel ul {
    margin-top: 17px;
  }

  .uh-achievements-panel li {
    padding-left: 20px;
    font-size: clamp(17px, 4.7vw, 18px);
    line-height: 1.52;
  }

  .uh-achievements-panel li + li {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-achievements-item,
  .uh-achievements-summary,
  .uh-achievements-icon,
  .uh-achievements-icon::before,
  .uh-achievements-icon::after,
  .uh-achievements-panel a {
    transition: none !important;
    animation: none !important;
  }
}


/* ========================================================================== 
   Page «Об авторе»: vertical photographs with text wrap — v1.4.97
   In the accordion, each panel starts with a compact vertical 3:4 photograph.
   On desktop it floats to the right and the text wraps around it; on mobile the
   image becomes a normal block above the text. Links remain color-only without
   underlines, in line with the approved site rule.
   ========================================================================== */

.uh-content-section.uh-about-gallery-block {
  padding-bottom: clamp(56px, 4.6vw, 74px) !important;
}

.uh-content-section.uh-about-gallery-block + .uh-content-section.uh-about-achievements-block {
  padding-top: clamp(4px, 0.5vw, 10px) !important;
}

.uh-achievements-panel-inner {
  display: flow-root;
  margin-top: 18px;
}

.uh-achievements-panel-inner > ul {
  margin-top: 0 !important;
}

.uh-achievements-panel-inner.has-photo,
.uh-achievements-panel-inner:has(> .uh-achievements-photo) {
  display: flow-root;
}

.uh-achievements-photo {
  float: right;
  width: clamp(210px, 22vw, 238px);
  margin: 0 0 18px 28px;
}

.uh-achievements-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(var(--uh-author-rgb), 0.13);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(47, 41, 37, 0.08);
  background: var(--uh-paper, #fbf7f1);
}

.uh-achievements-photo--media img {
  object-position: 42% 50%;
}

.uh-achievements-photo--contests img {
  object-position: 52% 44%;
}

.uh-achievements-photo--talks img {
  object-position: 70% 50%;
}

.uh-achievements-photo--other img {
  object-position: 50% 42%;
}

.uh-achievements-panel a {
  color: var(--uh-author);
  text-decoration: none;
  transition: color 150ms ease;
}

.uh-achievements-panel a:hover,
.uh-achievements-panel a:focus-visible {
  color: var(--uh-cta-dark);
  text-decoration: none;
}

@media (max-width: 781px) {
  .uh-content-section.uh-about-gallery-block {
    padding-bottom: clamp(50px, 11vw, 68px) !important;
  }

  .uh-content-section.uh-about-gallery-block + .uh-content-section.uh-about-achievements-block {
    padding-top: clamp(12px, 3vw, 18px) !important;
  }

  .uh-achievements-panel-inner {
    margin-top: 16px;
  }

  .uh-achievements-photo {
    float: none;
    width: min(100%, 320px);
    margin: 0 auto 18px;
  }

  .uh-achievements-photo img {
    border-radius: 18px;
  }
}


/* ========================================================================== 
   Page «Об авторе»: lightbox for accordion photographs — v1.4.98
   The four achievement photographs open in the approved full-screen lightbox.
   Keyboard activation, arrows, Escape and focus return are supported.
   ========================================================================== */

.uh-achievements-photo {
  cursor: zoom-in;
}

.uh-achievements-photo:focus-visible {
  outline: 3px solid rgba(var(--uh-author-rgb), 0.40);
  outline-offset: 6px;
}

.uh-achievements-photo img {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.uh-achievements-photo:hover img {
  transform: translateY(-1px);
  box-shadow: 0 13px 29px rgba(47, 41, 37, 0.11);
}

@media (prefers-reduced-motion: reduce) {
  .uh-achievements-photo img {
    transition: none !important;
  }

  .uh-achievements-photo:hover img {
    transform: none !important;
  }
}

/* ========================================================================== 
   Unified lightbox for all Hero photographs — v1.4.99
   Hero images use the same approved lightbox as the editorial photographs.
   The common scrim is lighter so more of the page remains visible behind it.
   ========================================================================== */

.uh-hero-layout figure.uh-hero-media {
  cursor: zoom-in;
}

.uh-hero-layout figure.uh-hero-media:focus-visible {
  outline: 3px solid rgba(var(--uh-accent-rgb, 138, 106, 60), 0.42);
  outline-offset: 7px;
}

.uh-hero-layout figure.uh-hero-media img {
  transition: box-shadow 180ms ease, filter 180ms ease;
}

.uh-hero-layout figure.uh-hero-media:hover img {
  filter: saturate(1.025) contrast(1.02) brightness(1.01);
}

@media (prefers-reduced-motion: reduce) {
  .uh-hero-layout figure.uh-hero-media img {
    transition: none !important;
  }
}

/* ========================================================================== 
   Unified lightbox: stronger scrim and full-photo zoom cursor — v1.4.101
   The backdrop is now 68% opaque. The zoom cursor is attached directly to
   both the figure and its image so it appears over every visible pixel, not
   only over the centre or an internal trigger area.
   ========================================================================== */

.uh-news-lightbox {
  background: rgba(35, 31, 28, 0.68);
}

.uh-lightbox-trigger,
.uh-lightbox-trigger img,
.uh-achievements-photo,
.uh-achievements-photo img,
.uh-hero-layout figure.uh-hero-media,
.uh-hero-layout figure.uh-hero-media img {
  cursor: zoom-in !important;
}

.uh-lightbox-trigger img {
  pointer-events: auto;
}

/* ========================================================================== 
   Accordion lightbox cursor layer — v1.4.102
   A floated photo can be visually covered by the transparent box of the
   following list. Keep the figure above the text layer and let the figure,
   rather than the image node, receive all pointer events. This prevents the
   cursor from alternating between zoom-in and the default arrow while moving
   across the same visible photograph.
   ========================================================================== */

.uh-achievements-panel-inner > ul {
  position: relative;
  z-index: 1;
}

.uh-achievements-photo.uh-lightbox-trigger {
  position: relative;
  z-index: 3;
  isolation: isolate;
  cursor: zoom-in !important;
}

.uh-achievements-photo.uh-lightbox-trigger img {
  pointer-events: none !important;
  cursor: inherit !important;
}

.uh-achievements-photo.uh-lightbox-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  cursor: zoom-in;
}



/* ========================================================================== 
   Real contact form — v1.4.103
   The shortcode [uh_contact_form] replaces the old demonstration fields.
   Visual treatment follows the existing Contacts layout and site palette.
   ========================================================================== */

.uh-contact-form-live {
  position: relative;
  max-width: 620px;
  margin-top: clamp(26px, 3vw, 38px);
}

.uh-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.uh-contact-field {
  margin: 0;
}

.uh-contact-field--message {
  margin-top: 18px;
}

.uh-contact-field label {
  display: block;
  margin: 0 0 8px;
  color: var(--uh-heading);
  font-family: "Philosopher", serif;
  font-size: clamp(16px, 1.18vw, 18px);
  font-weight: 700;
  line-height: 1.25;
}

.uh-contact-field label > span,
.uh-contact-required-note > span {
  color: rgb(var(--uh-cta-rgb, 155, 122, 67));
}

.uh-contact-field :is(input[type="text"], input[type="email"], textarea) {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 17px;
  color: var(--uh-text);
  font-family: "Gentium Book Plus", serif;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.45;
  border: 1px solid rgba(221, 210, 194, 0.92);
  border-radius: var(--uh-radius-small);
  outline: none;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 4px 13px rgba(47, 41, 37, 0.025);
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 170ms ease;
}

.uh-contact-field :is(input[type="text"], input[type="email"]) {
  min-height: 56px;
}

.uh-contact-field textarea {
  min-height: 178px;
  resize: vertical;
}

.uh-contact-field :is(input[type="text"], input[type="email"], textarea):hover {
  border-color: rgba(var(--uh-cta-rgb, 155, 122, 67), 0.42);
  background: rgba(255, 255, 255, 0.76);
}

.uh-contact-field :is(input[type="text"], input[type="email"], textarea):focus {
  border-color: rgba(var(--uh-cta-rgb, 155, 122, 67), 0.78);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 4px rgba(var(--uh-cta-rgb, 155, 122, 67), 0.10),
    0 6px 18px rgba(47, 41, 37, 0.045);
}

.uh-contact-field-hint {
  display: block;
  margin-top: 7px;
  color: var(--uh-muted);
  font-size: 20px;
  line-height: 1.4;
}

.uh-contact-field--website {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.uh-contact-consent {
  margin: 19px 0 0;
  color: var(--uh-muted);
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.48;
}

.uh-contact-consent label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  cursor: pointer;
}

.uh-contact-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: rgb(var(--uh-cta-rgb, 155, 122, 67));
}

.uh-contact-consent a,
.uh-contact-feedback a {
  color: rgb(var(--uh-cta-rgb, 155, 122, 67));
  text-decoration: none !important;
}

.uh-contact-consent a:hover,
.uh-contact-consent a:focus-visible,
.uh-contact-feedback a:hover,
.uh-contact-feedback a:focus-visible {
  color: rgb(var(--uh-accent-rgb, 138, 106, 60));
  text-decoration: none !important;
}

.uh-contact-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 23px;
}

.uh-contact-form-footer .wp-block-button {
  margin: 0;
}

.uh-contact-submit {
  min-width: 190px;
  cursor: pointer;
}

.uh-contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none !important;
}

.uh-contact-required-note {
  margin: 0;
  color: var(--uh-muted);
  font-size: 20px;
  line-height: 1.4;
}

.uh-contact-feedback {
  margin: 20px 0 0;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: var(--uh-radius-small);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.45;
}

.uh-contact-feedback[hidden] {
  display: none !important;
}

.uh-contact-feedback.is-success {
  color: #365e43;
  border-color: rgba(74, 122, 88, 0.24);
  background: rgba(226, 239, 229, 0.64);
}

.uh-contact-feedback.is-error {
  color: #7b3d38;
  border-color: rgba(145, 72, 65, 0.24);
  background: rgba(248, 231, 227, 0.68);
}

@media (max-width: 689px) {
  .uh-contact-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .uh-contact-field--message {
    margin-top: 16px;
  }

  .uh-contact-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .uh-contact-submit {
    min-width: min(100%, 220px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-contact-field :is(input[type="text"], input[type="email"], textarea) {
    transition: none !important;
  }
}


/* ========================================================================== 
   Contact form refinements — v1.4.104
   ========================================================================== */

.uh-contact-field-hint {
  margin-top: 6px;
  color: rgba(95, 86, 80, 0.62);
  font-family: "Gentium Book Plus", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Once the Contacts columns stack on tablet, the form follows the full width
   of the same content container as the section lead instead of retaining the
   desktop 620 px cap. */
@media (max-width: 1024px) {
  .uh-contact-form-live {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 689px) {
  .uh-contact-field-hint {
    font-size: 13px;
  }
}


/* ========================================================================== 
   Contacts spacing, preorder modal and taxonomy emphasis — v1.4.105
   ========================================================================== */

/* Tablet and phone: the feedback form begins closer to the Hero, while the
   separate email/social block receives a clearer pause below the form. */
@media (max-width: 1024px) {
  .uh-content-section.uh-contact-page-block {
    padding-top: clamp(46px, 5.2vw, 64px) !important;
  }

  .uh-contact-page-block .wp-block-columns.uh-contact-columns {
    row-gap: clamp(68px, 8.2vw, 92px) !important;
  }
}

@media (max-width: 689px) {
  .uh-content-section.uh-contact-page-block {
    padding-top: clamp(38px, 10vw, 50px) !important;
  }

  .uh-contact-page-block .wp-block-columns.uh-contact-columns {
    row-gap: clamp(64px, 17vw, 82px) !important;
  }
}

/* Topics and special marks are editorial text links, not miniature buttons.
   Their own approved category colors remain in force; Philosopher and bold
   weight make the taxonomy visibly distinct from the surrounding body copy. */
.uh-book-card-taxonomy .uh-book-taxonomy-link,
.uh-book-hero-taxonomy .uh-book-taxonomy-link,
.uh-featured-book-meta .uh-book-taxonomy-link,
.uh-soon-book-meta .uh-book-taxonomy-link {
  font-family: "Philosopher", serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
}

/* The «Скоро» passport follows the same calm link language as the book cards. */
.uh-soon-book-meta {
  width: 100%;
  margin: 0 0 clamp(22px, 2.4vw, 30px) !important;
  color: var(--uh-muted);
  font-family: var(--uh-card-font-family);
  font-size: max(15px, calc(var(--theme-font-size, 19px) - 4px));
  font-weight: var(--uh-card-font-weight);
  line-height: 1.5;
}

.uh-soon-book-meta .uh-featured-book-meta-line {
  margin: 0 !important;
}

.uh-soon-book-meta .uh-featured-book-meta-line + .uh-featured-book-meta-line {
  margin-top: 5px !important;
}

/* Modal preorder request, visually related to the approved contact form. */
html.uh-preorder-modal-open {
  overflow: hidden;
}

.uh-preorder-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 44px));
  max-width: 760px;
  max-height: min(88vh, 900px);
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  color: var(--uh-body);
  border: 1px solid rgba(221, 210, 194, 0.78);
  border-radius: 28px;
  background:
    radial-gradient(circle at 93% 5%, rgba(var(--uh-cta-rgb), 0.09), rgba(var(--uh-cta-rgb), 0) 34%),
    #fffaf3;
  box-shadow: 0 28px 72px rgba(35, 31, 28, 0.30);
  overflow: auto;
  overscroll-behavior: contain;
}

.uh-preorder-modal::backdrop {
  background: rgba(34, 31, 29, 0.68);
  backdrop-filter: blur(2px);
}

.uh-preorder-modal:not([open]) {
  display: none;
}

.uh-preorder-modal-shell {
  position: relative;
  padding: clamp(34px, 5vw, 54px);
}

.uh-preorder-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  cursor: pointer;
  color: var(--uh-muted);
  border: 1px solid rgba(95, 86, 80, 0.18);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.78);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.uh-preorder-modal-close span,
.uh-preorder-modal-close span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  content: "";
  background: currentColor;
  transform: rotate(45deg);
}

.uh-preorder-modal-close span::after {
  transform: rotate(90deg);
}

.uh-preorder-modal-close:hover,
.uh-preorder-modal-close:focus-visible {
  color: var(--uh-cta);
  border-color: rgba(var(--uh-cta-rgb), 0.34);
  background: #fffdf9;
  transform: rotate(3deg);
}

.uh-preorder-modal-close:focus-visible {
  outline: 2px solid rgba(var(--uh-cta-rgb), 0.26);
  outline-offset: 3px;
}

.uh-preorder-heading {
  padding-right: 34px;
}

.uh-preorder-heading h2 {
  margin: 0 !important;
  color: var(--uh-heading);
  font-family: "Philosopher", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
}

.uh-preorder-heading h2 [data-uh-preorder-book-title] {
  color: var(--uh-cta);
}

.uh-preorder-heading .uh-lead-section {
  max-width: 630px;
  margin-top: 18px !important;
  font-size: var(--uh-font-lead-section);
}

.uh-preorder-form {
  width: 100%;
  max-width: none;
  margin-top: clamp(26px, 3vw, 36px);
}

.uh-preorder-form .uh-preorder-message-field {
  margin: 0 0 18px !important;
}

.uh-preorder-form .uh-contact-form-grid {
  margin-top: 0;
}

.uh-preorder-form .uh-contact-consent {
  margin-top: 20px;
}

.uh-preorder-form .uh-contact-form-footer {
  margin-top: 22px;
}

.uh-preorder-form .uh-contact-submit {
  min-width: 150px;
}

@media (max-width: 689px) {
  .uh-preorder-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .uh-preorder-modal-shell {
    padding: 32px 20px 26px;
  }

  .uh-preorder-modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .uh-preorder-heading {
    padding-right: 24px;
  }

  .uh-preorder-heading h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .uh-preorder-heading .uh-lead-section {
    margin-top: 15px !important;
  }

  .uh-preorder-form {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-preorder-modal-close {
    transition: none !important;
  }
}

/* ========================================================================== 
   Contacts top spacing and «Судьба эмигранта» palette — v1.4.106
   ========================================================================== */

/* Restore the approved pre-v239 distance below the Contacts Hero. The larger
   row gap introduced in v1.4.105 remains untouched, so the separate email and
   social block keeps its present position. */
@media (max-width: 1024px) {
  .uh-content-section.uh-contact-page-block {
    padding-top: var(--uh-content-y) !important;
  }
}


/* =========================================================
   ПОДВАЛ: ФИНАЛЬНОЕ СОВПАДЕНИЕ ПОИСКА С КОЛОНКОЙ «НАВИГАЦИЯ» — v1.4.109
   По фактическому скриншоту v242 сохранялся небольшой остаточный зазор.
   Увеличиваем только левое расширение ещё на 16 px (итого +24 px к
   базовому расчёту), не перемещая правую кромку, кнопку и фонарь.
   ========================================================= */
@media (min-width: 1000px) {
  .ct-footer .uh-footer-search {
    --uh-footer-search-left-extension: calc(clamp(82px, 7.9vw, 162px) + 24px);
    width: calc(100% + var(--uh-footer-search-left-extension));
    margin-left: calc(-1 * var(--uh-footer-search-left-extension));
  }
}

/* ========================================================================== 
   Featured book cover hover + Collection row spacing — v1.4.166
   ========================================================================== */

/* «Новинка» на Главной и «Книга месяца» в Коллекции: только обложка мягко
   откликается на hover. Геометрия секций, тени и размеры обложек не меняются. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .uh-home-novinka-clean .wp-block-image.uh-start-media-book-single img,
  .uh-collection-book-month .wp-block-image.uh-start-media-book-single img {
    transform: scale(1);
    transform-origin: center center;
    transition: transform 220ms ease;
  }

  .uh-home-novinka-clean .wp-block-image.uh-start-media-book-single:hover img,
  .uh-home-novinka-clean .wp-block-image.uh-start-media-book-single:focus-within img,
  .uh-collection-book-month .wp-block-image.uh-start-media-book-single:hover img,
  .uh-collection-book-month .wp-block-image.uh-start-media-book-single:focus-within img {
    transform: scale(1.028);
  }
}

/* «Коллекция»: немного больше вертикального воздуха между рядами книг.
   Горизонтальный gap, размеры карточек и типографика остаются прежними. */
.uh-collection-all-books .wp-block-columns.uh-book-card-columns {
  row-gap: clamp(66px, 6.4vw, 92px) !important;
}

@media (max-width: 1024px) {
  .uh-collection-all-books .wp-block-columns.uh-book-card-columns {
    row-gap: clamp(54px, 6vw, 72px) !important;
  }
}

@media (max-width: 781px) {
  .uh-collection-all-books .wp-block-columns.uh-book-card-columns {
    row-gap: clamp(56px, 11vw, 72px) !important;
  }
}


/* ========================================================================== 
   Imported article/news media edge cases — v1.4.174
   ========================================================================== */

/* После отмены старого обтекания подпись должна снова занимать ширину своего
   изображения, а не наследовать узкую геометрию alignleft/alignright старой
   темы. Размер и шрифт подписи не меняются. */
.uh-news-single-copy > figure.wp-block-image.alignleft figcaption,
.uh-news-single-copy > figure.wp-block-image.alignright figcaption,
.uh-news-single-copy > figure.wp-block-image[style*="float:left"] figcaption,
.uh-news-single-copy > figure.wp-block-image[style*="float: left"] figcaption,
.uh-news-single-copy > figure.wp-block-image[style*="float:right"] figcaption,
.uh-news-single-copy > figure.wp-block-image[style*="float: right"] figcaption,
.uh-news-single-copy > .wp-block-image > figure.alignleft figcaption,
.uh-news-single-copy > .wp-block-image > figure.alignright figcaption,
.uh-news-single-copy > .wp-block-image > figure[style*="float:left"] figcaption,
.uh-news-single-copy > .wp-block-image > figure[style*="float: left"] figcaption,
.uh-news-single-copy > .wp-block-image > figure[style*="float:right"] figcaption,
.uh-news-single-copy > .wp-block-image > figure[style*="float: right"] figcaption {
  display: block !important;
  width: 100% !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  text-align: center !important;
}

/* ==========================================================================
   Card publication dates + About author-news thumbnails — v1.4.189
   ========================================================================== */

/* Дата добавлена только в динамические карточки статей и новостей. */
.uh-card-date {
  display: block;
  width: 100%;
  margin: 14px 0 0 !important;
  color: var(--uh-muted);
  font-family: var(--uh-font-heading);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

/* ========================================================================== 
   Tablet orphan centering + Home author-news exception — v1.4.197
   ========================================================================== */

/* Блок «Об авторе» на Главной — точечный возврат к утверждённому v345:
   три текстовые карточки на десктопе, одна колонка на планшете и мобильном. */
@media (max-width: 1024px) {
  .uh-news-aggregator--home .uh-news-aggregator-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* В планшетной двухколоночной сетке последний нечётный элемент занимает
   ровно ширину одной карточки и центрируется. Четыре служебные дорожки дают
   ту же фактическую ширину карточки, что и обычные две колонки, без ручных
   расчётов gap. */
@media (min-width: 690px) and (max-width: 1024px) {
  .wp-block-columns.uh-book-card-columns,
  .uh-news-aggregator--about .uh-news-aggregator-grid,
  .uh-article-aggregator .uh-article-aggregator-list,
  :is(
    body.blog,
    body.category,
    body.tag,
    body.search,
    body.post-type-archive-uh_author_news,
    body.tax-uh_news_rubric
  ) .entries {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .wp-block-columns.uh-book-card-columns > .wp-block-column,
  .uh-news-aggregator--about .uh-news-aggregator-grid > .uh-news-card-item,
  .uh-article-aggregator .uh-article-aggregator-list > .uh-article-aggregator-card,
  :is(
    body.blog,
    body.category,
    body.tag,
    body.search,
    body.post-type-archive-uh_author_news,
    body.tax-uh_news_rubric
  ) .entries > .entry-card {
    grid-column: span 2;
  }

  .wp-block-columns.uh-book-card-columns > .wp-block-column:last-child:nth-child(odd),
  .uh-news-aggregator--about .uh-news-aggregator-grid > .uh-news-card-item:last-child:nth-child(odd),
  .uh-article-aggregator .uh-article-aggregator-list > .uh-article-aggregator-card:last-child:nth-child(odd),
  :is(
    body.blog,
    body.category,
    body.tag,
    body.search,
    body.post-type-archive-uh_author_news,
    body.tax-uh_news_rubric
  ) .entries > .entry-card:last-child:nth-child(odd) {
    grid-column: 2 / span 2;
  }
}

