/* Шапка и подвал блога — стили общих блоков, привязанные к #btf-header / #btf-footer. ГЕНЕРИРУЕТСЯ tools/blog_theme.py */
/* сброс стилей темы блога внутри шапки и подвала */
#btf-header, #btf-footer, #btf-header :where(*:not(svg, svg *, img)), #btf-footer :where(*:not(svg, svg *, img)) { all: revert; }
#btf-header :where(*:not(svg, svg *, img))::before, #btf-header :where(*:not(svg, svg *, img))::after,
#btf-footer :where(*:not(svg, svg *, img))::before, #btf-footer :where(*:not(svg, svg *, img))::after { all: revert; }  /* clearfix bootstrap (.nav:before…) */
#btf-header img, #btf-footer img { vertical-align: baseline; }
#btf-header, #btf-footer { --accent: #4399ff; --btn: #4399ff; --btn-hover: #2f86f5; --accent-20: rgba(67,153,255,.2); }  /* тема блога */
/* перенесено tools/port_block.py — стили блока из источника, привязанные к #btf-header; правка — здесь же */
#btf-header { font-family: Rubik; font-size: 16px; font-weight: 400; font-style: normal; line-height: normal; color: rgb(0, 0, 0); letter-spacing: normal; word-spacing: 0px; text-align: start; text-transform: none; text-indent: 0px; white-space: normal; font-variant: normal; -webkit-font-smoothing: auto; text-rendering: auto; cursor: auto; visibility: visible; list-style-type: disc }  /* наследуемое от страницы-источника */
#btf-header, #btf-header * { font-family: Rubik; font-weight: 400; box-sizing: border-box; margin: 0px; padding: 0px; }
#btf-header a { cursor: pointer; display: inline-block; text-decoration: none; }
#btf-header li { list-style: none; }
#btf-header, #btf-header * { font-family: Rubik; font-weight: 400; }
#btf-header ul { list-style: none; }
#btf-header img { max-width: 100%; }
#btf-header, #btf-header * { font-family: Rubik; font-weight: 400; margin: 0px; padding: 0px; box-sizing: border-box; }
#btf-header::after, #btf-header ::after { box-sizing: border-box; margin: 0px; padding: 0px; }
#btf-header::before, #btf-header ::before { box-sizing: border-box; margin: 0px; padding: 0px; }
#btf-header img { max-width: 100%; }
#btf-header li { list-style: none; }
#btf-header a { cursor: pointer; display: inline-block; text-decoration: none; }
#btf-header ul li:last-child { margin-bottom: 0px; margin-right: 0px; }
#btf-header ul li:first-child { margin-left: 0px; margin-top: 0px; }
#btf-header svg { height: 15px; width: 15px; }
#btf-header span { font-family: inherit; font-weight: inherit; }
#btf-header .btn { align-items: center; border-radius: 60px; color: rgb(255, 255, 255); display: inline-flex; font-family: Rubik; font-size: 20px; font-weight: 500; justify-content: center; min-width: 130px; padding: 14px 20px; transition: 0.15s; background: var(--accent); box-shadow: rgba(20, 177, 134, 0.25) 0px 0px 30px 0px; }
#btf-header .btn:hover { background: var(--btn-hover); }
#btf-header ul { list-style: none; }
@media screen and (max-width: 767px) { #btf-header .btn { font-size: 16px; padding: 10px 20px; } }
#btf-header.header { background: rgb(255, 255, 255); border-bottom: 1px solid rgba(0, 0, 0, 0.2); left: 0px; padding: 18px 0px; position: fixed; top: 0px; width: 100%; z-index: 1000; }
#btf-header .header__container { align-items: center; display: flex; gap: 45px; margin: 0px auto; max-width: 1440px; padding: 0px 30px; }
#btf-header .header__panel { flex-grow: 1; justify-content: space-between; align-items: center; display: flex; }
#btf-header .header__info { align-items: center; display: flex; flex-direction: column; }
#btf-header .header__info-mail { color: rgb(17, 17, 17); font-size: 12px; font-weight: 300; line-height: 14px; margin-bottom: 5px; }
#btf-header .header__info-mail:hover { color: var(--accent); }
#btf-header .header__info-phone { color: rgb(17, 17, 17); font-size: 16px; line-height: 19px; }
#btf-header .header__info-phone:hover { color: var(--accent); text-decoration: underline; }
#btf-header .header__right { align-items: center; display: flex; gap: 20px; }
#btf-header .header__toggle { display: none; }
#btf-header .header__connect { font-size: 20px; font-weight: 500; padding: 10px 20px; }
#btf-header .header__info_mobile { display: none; }
#btf-header .nav { gap: 20px; align-items: center; display: flex; }
#btf-header .nav__link { align-items: center; display: flex; color: rgb(17, 17, 17); gap: 7px; }
#btf-header .nav__link:hover { text-decoration: underline; }
#btf-header .nav__link svg { height: 7px; width: 11px; }
#btf-header .nav__dropdown-box { display: none; background: rgb(255, 255, 255); border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 40px 0px; margin-left: -16px; margin-top: 11px; padding: 5px; position: absolute; }
#btf-header .nav__dropdown--open .nav__dropdown-box { display: block; }
#btf-header .nav__dropdown-link { align-items: center; border-radius: 4px; display: inline-flex; gap: 9px; padding: 10px; width: 100%; }
#btf-header .nav__dropdown-link:hover { background: rgb(240, 240, 240); }
#btf-header .nav__dropdown-link-text { color: rgb(17, 17, 17); font-size: 14px; }
#btf-header .nav__service span { border-right: 1px solid rgb(221, 221, 221); margin-right: 8px; padding-right: 12px; }
#btf-header .nav__service-current-icon { background-position: 50% center; background-repeat: no-repeat; background-size: cover; height: 24px; width: 24px; background-image: url("/_astro/nav-yandex-protect.44w0C0Nq.svg"); }
@media screen and (max-width: 1370px) { #btf-header .header__container { gap: 25px; padding: 0px 20px; } }
@media screen and (max-width: 1370px) { #btf-header .header__info { margin-left: auto; } }
@media screen and (max-width: 1370px) { #btf-header .nav__service span { display: none; } }
@media screen and (max-width: 1370px) { #btf-header .header__panel { gap: 15px; justify-content: flex-start; } }
@media screen and (max-width: 991px) { #btf-header .header__connect:hover { background: none !important; } }
@media screen and (max-width: 991px) { #btf-header .header__container { gap: 25px; padding: 0px 20px; justify-content: space-between; } }
@media screen and (max-width: 991px) { #btf-header .header__info { align-items: flex-end; display: flex; position: fixed; right: 90px; top: 20px; } }
@media screen and (max-width: 991px) { #btf-header .header__panel { padding-bottom: 100px; background: rgb(255, 255, 255); flex-direction: column; height: calc(-81px + 100vh); justify-content: flex-start; opacity: 1; overflow-y: auto; position: fixed; right: -100vw; top: 81px; transition: opacity 0.2s; width: 100vw; z-index: 5; gap: 0px; } }
@media screen and (max-width: 991px) { #btf-header .header__info-phone { color: var(--accent); } }
@media screen and (max-width: 991px) { #btf-header .header__right { flex-direction: column; gap: 0px; width: 100%; } }
@media screen and (max-width: 991px) { #btf-header .header__menu { order: 2; width: 100%; } }
@media screen and (max-width: 991px) { #btf-header .header__right-cell { border-bottom: 1px solid rgba(0, 0, 0, 0.1); padding: 22px 20px; width: 100%; } }
@media screen and (max-width: 991px) { #btf-header .header__right-cell:first-child { order: 2; } }
@media screen and (max-width: 991px) { #btf-header .header__toggle { display: block; } }
@media screen and (max-width: 991px) { #btf-header .header__toggle svg { height: 31px; width: 40px; } }
@media screen and (max-width: 991px) { #btf-header .header__panel--open { opacity: 1; right: 0px; } }
@media screen and (max-width: 991px) { #btf-header .header__connect { background: none; box-shadow: none; color: var(--accent); } }
@media screen and (max-width: 991px) { #btf-header .header__info_desktop { display: none; } }
@media screen and (max-width: 991px) { #btf-header .header__info_mobile { display: flex; } }
@media screen and (max-width: 991px) { #btf-header .nav { flex-direction: column; gap: 0px; width: 100%; } }
@media screen and (max-width: 991px) { #btf-header .nav__item { border-bottom: 1px solid rgba(0, 0, 0, 0.1); width: 100%; } }
@media screen and (max-width: 991px) { #btf-header .nav__link { padding: 22px 20px; width: 100%; } }
@media screen and (max-width: 991px) { #btf-header .nav__dropdown-box { border-radius: 0px; border-top: 1px solid rgba(0, 0, 0, 0.1); box-shadow: none; margin-top: 0px; padding: 0px; position: static; margin-left: 0px; } }
@media screen and (max-width: 991px) { #btf-header .nav__dropdown-link { padding: 8px 20px; } }
@media screen and (max-width: 991px) { #btf-header .nav__dropdown-box .nav__dropdown-item { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } }
@media screen and (max-width: 991px) { #btf-header .nav__dropdown-box .nav__dropdown-item:last-child { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; } }
@media screen and (max-width: 991px) { #btf-header .nav__dropdown--open .nav__link svg { transform: rotate(180deg); } }
@media screen and (max-width: 991px) { #btf-header .nav__service span { display: block; } }
@media screen and (max-width: 480px) { #btf-header .header__container { padding: 0px 10px; } }
@media screen and (max-width: 480px) { #btf-header .header__info { right: 70px; } }
#btf-header.header { z-index: 5000; }
#btf-header .nav__service .nav__service-label { display: block; }
#btf-header .header__logo { display: flex; }
@media screen and (max-width: 991px) { #btf-header .header__panel { top: 77px; height: calc(-77px + 100vh); } }
@media screen and (min-width: 992px) { #btf-header.header { min-height: 81px; box-sizing: border-box; } }
#btf-header .hidden { display: none !important; }

/* перенесено tools/port_block.py — стили блока из источника, привязанные к #btf-footer; правка — здесь же */
#btf-footer { font-family: Rubik; font-size: 16px; font-weight: 400; font-style: normal; line-height: normal; color: rgb(0, 0, 0); letter-spacing: normal; word-spacing: 0px; text-align: start; text-transform: none; text-indent: 0px; white-space: normal; font-variant: normal; -webkit-font-smoothing: auto; text-rendering: auto; cursor: auto; visibility: visible; list-style-type: disc }  /* наследуемое от страницы-источника */
#btf-footer, #btf-footer * { font-family: Rubik; font-weight: 400; box-sizing: border-box; margin: 0px; padding: 0px; }
#btf-footer a { cursor: pointer; display: inline-block; text-decoration: none; }
#btf-footer li { list-style: none; }
#btf-footer .container2 { margin: 0px auto; max-width: 1200px; }
#btf-footer, #btf-footer * { font-family: Rubik; font-weight: 400; }
@media screen and (max-width: 1370px) { #btf-footer .container2 { max-width: 960px; } }
@media screen and (max-width: 991px) { #btf-footer .container2 { max-width: 720px; } }
@media screen and (max-width: 768px) { #btf-footer .container2 { max-width: 500px; } }
@media screen and (max-width: 574px) { #btf-footer .container2 { max-width: 100%; padding: 0px 15px; } }
#btf-footer ul { list-style: none; }
#btf-footer img { max-width: 100%; }
#btf-footer, #btf-footer * { font-family: Rubik; font-weight: 400; margin: 0px; padding: 0px; box-sizing: border-box; }
#btf-footer::after, #btf-footer ::after { box-sizing: border-box; margin: 0px; padding: 0px; }
#btf-footer::before, #btf-footer ::before { box-sizing: border-box; margin: 0px; padding: 0px; }
#btf-footer img { max-width: 100%; }
#btf-footer li { list-style: none; }
#btf-footer a { cursor: pointer; display: inline-block; text-decoration: none; }
#btf-footer ul li:last-child { margin-bottom: 0px; margin-right: 0px; }
#btf-footer ul li:first-child { margin-left: 0px; margin-top: 0px; }
#btf-footer h3 { margin: 0px; }
#btf-footer svg { height: 15px; width: 15px; }
#btf-footer span { font-family: inherit; font-weight: inherit; }
#btf-footer .container2 { margin: 0px auto; max-width: 1200px; }
#btf-footer ul { list-style: none; }
@media screen and (max-width: 1370px) { #btf-footer .container2 { max-width: 960px; } }
@media screen and (max-width: 991px) { #btf-footer .container2 { max-width: 720px; } }
@media screen and (max-width: 768px) { #btf-footer .container2 { max-width: 500px; } }
@media screen and (max-width: 574px) { #btf-footer .container2 { max-width: 100%; padding: 0px 15px; } }
#btf-footer.footer { background: rgb(247, 249, 253); padding-top: 32px; line-height: normal; }
#btf-footer.footer * { font-family: Roboto !important; }
#btf-footer.footer .container2 { margin: 0px auto; max-width: 1200px; padding: 0px; }
#btf-footer.footer img { max-width: 100%; }
#btf-footer.footer b { font-weight: 400; }
#btf-footer .footer__wrapper { padding-bottom: 21px; }
#btf-footer .footer__box { display: flex; justify-content: space-between; gap: 30px; }
#btf-footer .footer__column { width: 226px; }
#btf-footer .footer__title { font-size: 17px; font-weight: 500; line-height: 24px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; color: inherit; }
#btf-footer .footer__title img { display: none; }
#btf-footer .footer__link { color: rgb(54, 74, 81); line-height: 20px; font-size: 14px; }
#btf-footer .footer__link:hover { text-decoration: underline; }
#btf-footer .footer__menu { display: flex; flex-direction: column; gap: 12px; list-style: none; }
#btf-footer .footer__payments-box { align-items: center; display: flex; gap: 25px; margin-bottom: 10px; }
#btf-footer .footer__payments-text { color: rgb(54, 74, 81); font-family: Roboto; font-size: 12px; }
#btf-footer .footer__bottom { justify-content: space-between; padding: 25px 0px; align-items: center; display: flex; }
#btf-footer .footer__left { align-items: center; display: flex; gap: 20px; color: rgb(54, 74, 81); font-size: 14px; }
#btf-footer .footer__payments { align-items: flex-end; display: flex; flex-direction: column; }
#btf-footer .footer__socials { display: flex; justify-content: space-between; align-items: center; gap: 11px; }
#btf-footer .footer__socials-title { color: rgb(54, 74, 81); font-size: 14px; }
#btf-footer .footer__social { height: 24px; margin: 0px 6px; width: 24px; }
#btf-footer .footer__social svg { fill: rgb(155, 156, 159); height: 30px; transition: 0.2s; width: 30px; }
#btf-footer .footer__social svg:hover { fill: rgb(17, 17, 17); }
#btf-footer .footer-border { border-top: 1px solid rgb(224, 226, 228); }
#btf-footer .footer_regails_wrap { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; row-gap: 26px; margin-bottom: 25px; padding-top: 30px; }
#btf-footer .footer_regails_wrap_left { display: flex; gap: 18px; align-items: center; }
#btf-footer .footer__requisites { font-size: 14px; color: rgb(152, 163, 169); max-width: 351px; }
#btf-footer.footer .checked__registry { align-items: center; display: flex; gap: 12px; }
#btf-footer.footer .checked__socials { display: flex; gap: normal; }
#btf-footer.footer .checked__socials-item { align-items: center; cursor: pointer; display: flex; gap: 4px; position: relative; }
#btf-footer.footer .checked__socials-item:not(:last-child) { padding-right: 16px; margin-right: 16px; border-right: 1px solid rgb(224, 226, 228); }
#btf-footer.footer .checked__socials-item::after { content: ""; height: 15px; position: absolute; top: -15px; width: 100%; }
#btf-footer.footer .checked__socials-item span { color: rgb(54, 74, 81); font-size: 12px; }
#btf-footer.footer .checked__socials-item-popup { background: rgb(255, 255, 255); border: 1px solid rgb(231, 231, 231); border-radius: 4px; bottom: calc(100% + 10px); color: rgb(51, 51, 51); cursor: default; display: none; font-size: 14px; left: 0px; line-height: 20px; padding: 10px; position: absolute; width: 300px; }
#btf-footer.footer .checked__socials-item-popup a { color: rgb(102, 149, 226); text-decoration: none; }
#btf-footer.footer .checked__socials-item-popup a:hover { text-decoration: underline; }
#btf-footer.footer .checked__socials-item-popup::after { background: rgb(255, 255, 255); border-width: medium 1px 1px medium; border-style: none solid solid none; border-color: currentcolor rgb(231, 231, 231) rgb(231, 231, 231) currentcolor; border-image: none; bottom: -5px; content: ""; height: 10px; position: absolute; transform: rotate(45deg); width: 10px; left: 40px; }
#btf-footer.footer .checked__socials-item:hover .checked__socials-item-popup { display: block; }
#btf-footer.footer .checked__socials .checked__socials-item:nth-child(2) .checked__socials-item-popup { left: 50%; margin-left: -140px; right: 0px; }
#btf-footer.footer .checked__socials .checked__socials-item:nth-child(2) .checked__socials-item-popup::after { left: auto; right: 50%; }
@media screen and (max-width: 1370px) { #btf-footer.footer .container2 { max-width: 960px; } }
@media screen and (max-width: 1370px) { #btf-footer .footer__left { align-items: flex-start; flex-direction: column; gap: 10px; } }
@media screen and (max-width: 1370px) { #btf-footer .footer__box { flex-wrap: wrap; gap: 40px 118px; } }
@media screen and (max-width: 1370px) { #btf-footer .footer__column { width: 280px; } }
@media screen and (max-width: 991px) { #btf-footer.footer .container2 { max-width: 720px; } }
@media screen and (max-width: 991px) { footer#btf-footer .container2:last-child { background-color: rgb(41, 48, 51); } }
@media screen and (max-width: 991px) { #btf-footer .footer__title { font-size: 15px; margin-bottom: 0px; cursor: pointer; user-select: none; } }
@media screen and (max-width: 991px) { #btf-footer .footer__menu { padding-top: 16px; gap: 18px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__requisites { font-size: 13px; line-height: 1.2; color: rgb(178, 188, 193); } }
@media screen and (max-width: 991px) { #btf-footer.footer .container2:last-child { max-width: 100%; padding: 0px 15px; } }
@media screen and (max-width: 991px) { #btf-footer.footer { padding-top: 28px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__title img { display: block; transition: transform 0.3s; } }
@media screen and (max-width: 991px) { #btf-footer .footer__bottom { flex-wrap: wrap; border-top: 1px solid rgba(103, 111, 115, 0.565); } }
@media screen and (max-width: 991px) { #btf-footer .footer__payments-box { margin-bottom: 8px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__socials { margin-top: 20px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__box { gap: 50px 0px; justify-content: space-between; } }
@media screen and (max-width: 991px) { #btf-footer .footer__column { width: 45%; } }
@media screen and (max-width: 991px) { #btf-footer .footer_regails_wrap { grid-template-columns: 1fr; gap: 20px; } }
@media screen and (max-width: 991px) { #btf-footer .footer_regails_wrap_left { flex-wrap: wrap; filter: invert(1) hue-rotate(200deg) brightness(1.2); border-bottom: 1px solid rgba(103, 111, 115, 0.565); padding-bottom: 26px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__wrapper { padding-bottom: 30px; } }
@media screen and (max-width: 991px) { #btf-footer.footer .checked__socials { order: 3; } }
@media screen and (max-width: 991px) { #btf-footer .footer__payments { order: 4; align-items: start; } }
@media screen and (max-width: 991px) { #btf-footer.footer .checked__socials-item { border-width: medium !important; border-style: none !important; border-color: currentcolor !important; border-image: none !important; } }
@media screen and (max-width: 991px) { #btf-footer.footer .checked__socials-item span { font-size: 13px; margin-top: 10px; color: rgb(178, 188, 193); } }
@media screen and (max-width: 991px) { #btf-footer.footer .checked__socials-item img { width: 28px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__payments-text { font-size: 14px; color: rgb(178, 188, 193); } }
@media screen and (max-width: 991px) { #btf-footer .footer__socials-box { filter: invert(1) hue-rotate(200deg) brightness(2); } }
@media screen and (max-width: 991px) { #btf-footer .footer__socials-title { display: none; } }
@media screen and (max-width: 991px) { #btf-footer .footer__roots { color: rgb(232, 232, 232); font-size: 14px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__menu { height: 0px; overflow: hidden; padding-top: 0px; transition: height 0.3s, padding-top 0.3s; } }
@media screen and (max-width: 991px) { #btf-footer .footer__column.open .footer__menu { height: auto; padding-top: 16px; } }
@media screen and (max-width: 991px) { #btf-footer .footer__column.open .footer__title img { transform: rotate(180deg); } }
@media screen and (max-width: 768px) { #btf-footer.footer .container2 { max-width: 500px; } }
@media screen and (max-width: 767px) { #btf-footer.footer .checked__socials-item { align-items: flex-start; flex-direction: column; } }
@media screen and (max-width: 767px) { #btf-footer .footer__left { order: 3; } }
@media screen and (max-width: 767px) { #btf-footer .footer__socials { margin-top: 0px; } }
@media screen and (max-width: 574px) { #btf-footer.footer .container2 { max-width: 100%; padding: 0px 15px; } }
@media screen and (max-width: 574px) { #btf-footer.footer .checked__socials-item-popup { width: 280px; } }
@media screen and (max-width: 574px) { #btf-footer .footer__payments-box { flex-wrap: wrap; max-width: 100%; } }
@media screen and (max-width: 480px) { #btf-footer .footer__box { gap: 16px 0px; } }
@media screen and (max-width: 480px) { #btf-footer .footer__column { width: 100%; padding-bottom: 16px; border-bottom: 1px solid rgb(224, 226, 228); } }

/* блог: на мобильных «Личный кабинет» — кнопка с градиентом (у лендингов — текст), телефон — синий темы */
@media screen and (max-width: 991px) {
  #btf-header .header__connect, #btf-header .header__connect:hover { background: linear-gradient(to right, rgba(73, 153, 255, .5), #4399ff) !important; color: #fff; }
}
