/* N36-N38 (30.10.2026): одна шапка на всех шаблонах. Образец: главная (3.pdf).
   ПК: полупрозрачный фон с размытием, кнопка с синей точкой 8px.
   Телефон: тёмная кнопка Telegram с самолётиком 16px, синий квадрат меню 44px. */
@media (min-width:900px){
html body #relok-shared-header[data-mobile="0"]{background:rgba(251,251,255,.4)!important;-webkit-backdrop-filter:blur(20px)!important;backdrop-filter:blur(20px)!important}
html body #relok-shared-header[data-mobile="0"]{min-height:60px;padding:10px 10px 10px 20px}
html body #relok-shared-header[data-mobile="0"] nav{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);gap:20px}
html body #relok-shared-header[data-mobile="0"] nav a{padding:8px 0;color:#232323}
html body #relok-shared-header[data-mobile="0"] .rh-cta{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:10px 14px 10px 12px;border-radius:10px;background:#fbfbff;color:#232323;font-size:16px;line-height:1.2;max-width:none}
html body #relok-shared-header[data-mobile="0"] .rh-cta::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#004fe3;flex:0 0 8px}
html body #relok-shared-header[data-mobile="0"] .rh-cta:hover{background-color:#eaeffd!important}
html body #relok-shared-header[data-mobile="0"] .rh-cta:active{background-color:#dce4fb!important}
}
html body #relok-shared-header[data-mobile="1"]{background:#fbfcff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body #relok-shared-header[data-mobile="1"] .rh-cta{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;width:auto;flex:0 0 auto;margin-inline-start:auto;min-height:44px;background:#232323;color:#fbfcff;border-radius:10px;padding:8px 10px;line-height:1.15;transition:background-color .15s ease}
html body #relok-shared-header[data-mobile="1"] .rh-cta::before{content:"";display:block;flex:0 0 16px;width:16px;height:16px;border-radius:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233cc7ff' d='M21.9 4.3 18.7 19.4c-.2 1.1-.9 1.3-1.8.8l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.1-8.2c.4-.4-.1-.6-.6-.2L6.3 13.1l-4.8-1.5c-1-.3-1.1-1 .2-1.5L20.5 2.9c.9-.3 1.6.2 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat}
html body #relok-shared-header[data-mobile="1"] .rh-cta:hover{background:#000}
html body #relok-shared-header[data-mobile="1"] .rh-cta:active{background:#3a3a3a}
html body #relok-shared-header[data-mobile="1"] .rh-menu{display:block;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:#004fe3;color:#fbfcff;font-size:22px;line-height:44px;text-align:center;transition:background-color .15s ease}
html body #relok-shared-header[data-mobile="1"] .rh-menu:hover{background:#0044c4}
html body #relok-shared-header[data-mobile="1"] .rh-menu:active,html body #relok-shared-header[data-mobile="1"][data-open] .rh-menu{background:#003ba8}
/* N42: карточки материалов-ссылки: заметный фокус с клавиатуры */
a.vhx:focus-visible,a.vhx2:focus-visible{outline:3px solid #0050e3;outline-offset:3px}
a.vhx:focus-visible .vhx-ov,a.vhx2:focus-visible .vhx-ov{opacity:1;visibility:visible}

/* Telegram: кнопка закрытия в верхнем правом углу карточки. */
#sg-exit-offer .flow-offer-card .flow-offer-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: rgba(23, 38, 59, .68);
}
#sg-exit-offer .flow-offer-card h2 {
  padding-right: 44px;
}
