/* Base styles of the СтволЭксперт pages, written for this site from the values the Tilda pages
   used (no Tilda library files): the absolute-positioned blocks («zero blocks», class t396), the
   slide-out menu (t450), the cookie banner (t886) and the shared text classes. Each block's own
   colours, fonts and positions come with the block (data/blocks/*.json). */

:root {
	/* Tilda project fonts: headlines Ubuntu; text Golos Text (was Rubik, the owner's choice). */
	--t-headline-font: 'Ubuntu', Arial, sans-serif;
	--t-text-font: 'Golos Text', Arial, sans-serif;
	/* the dark sidebar (wide screens) or the top bar (phones and tablets), as in the Tilda block */
	--sidebar-w: 19%;
	--topbar-h: 0px;
}
@media screen and (max-width: 1919px) { :root { --sidebar-w: 20%; } }
@media screen and (max-width: 1199px) { :root { --sidebar-w: 25%; } }
@media screen and (max-width: 959px) { :root { --sidebar-w: 0px; --topbar-h: 45px; } }
@media screen and (max-width: 639px) { :root { --topbar-h: 40px; } }

html { -webkit-text-size-adjust: 100%; }
body.t-body { margin: 0; background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.t-records a, .t-records .tn-nested-link { color: #ff8562; text-decoration: none; }
.t-rec { position: relative; }

/* ---- Zero blocks ---------------------------------------------------------------------- */
.t396 { -webkit-text-size-adjust: 100%; }
.t396__artboard { position: relative; width: 100%; overflow: hidden; }
.t396__carrier { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; }
.t396__filter { position: absolute; left: 0; top: 0; z-index: 1; width: 100%; }
.t396__elem { position: absolute; box-sizing: border-box; display: table; }
.t396 .tn-atom { display: table-cell; vertical-align: middle; width: 100%; box-sizing: border-box; }
.t396 .tn-atom ul, .t396 .tn-atom ol { margin-bottom: 0; }
.t396 .tn-atom p { margin: 0; }
.t396 a.tn-atom { text-decoration: none; }
.t396 h1.tn-atom, .t396 h2.tn-atom, .t396 h3.tn-atom { margin: 0; font-size: inherit; }
.t396 .tn-atom__img { width: 100%; display: block; }
.t396 .tn-elem[data-elem-type='shape'] .tn-atom,
.t396 .tn-elem[data-elem-type='video'] .tn-atom { display: block; height: 100%; }
.t396 .tn-elem[data-elem-type='button'] { display: block; }
.t396 .tn-elem[data-elem-type='button'] .tn-atom {
	position: relative; display: flex; box-sizing: border-box; width: 100%; height: 100%;
	flex-direction: row; justify-content: center; align-items: center; overflow: hidden;
}
.t396 .tn-atom__button-content { display: flex; flex-direction: row; align-items: center; justify-content: center; flex: 0 1 auto; min-width: 0; }
.t396 .tn-atom__button-text { flex: 1 1 0; text-overflow: ellipsis; }
.t396 .tn-atom__button-icon { position: relative; flex: 0 0 auto; }
.t396 .tn-atom__button-icon::before {
	content: ''; position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%;
	background-color: currentColor;
	-webkit-mask: var(--icon, none) center / contain no-repeat; mask: var(--icon, none) center / contain no-repeat;
}
.t396 .tn-atom__button-border { position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; }
.t396 .tn-atom__button-border::before, .t396 .tn-atom__button-border::after { position: absolute; inset: 0; content: ''; border-radius: inherit; }
.t396 .tn-atom__video { pointer-events: none; }

/* ---- Text classes used by the menu and the banner ------------------------------------- */
.t-heading { font-family: var(--t-headline-font); font-weight: 600; color: #000; }
.t-heading_xs { font-size: 26px; line-height: 1.23; }
.t-descr { font-family: var(--t-headline-font); font-weight: 300; color: #000; }
.t-descr_xs { font-size: 16px; line-height: 1.55; }
.t-text { font-family: var(--t-text-font); font-weight: 300; color: #000; }
.t-text_xs { font-size: 15px; line-height: 1.55; }
@media screen and (max-width: 1200px) {
	.t-heading_xs { font-size: 24px; }
	.t-descr_xs { font-size: 14px; }
	.t-text_xs { font-size: 14px; }
}
@media screen and (max-width: 640px) {
	.t-heading_xs { font-size: 22px; }
	.t-descr_xs { font-size: 12px; line-height: 1.45; }
	.t-text_xs { font-size: 12px; line-height: 1.45; }
}

/* ---- Sidebar (960 px and wider) and top bar (narrower) --------------------------------- */
/* Built from src/sidebar.js. The sidebar pieces stand one under another 20 px apart (16 px from
   the logo to the name and from the menu to the MAX/Telegram icons under it), the menu and the
   icons in the middle of the free space. One font (Ubuntu) in three sizes: the name, the menu,
   and one size for every other text, told apart by colour; the rating site is a red plate in its
   own colour (owner, 05.12.2026). Colours are the Tilda block's. */
.sidebar, .topbar { box-sizing: border-box; z-index: 990; background-color: #222; color: #f0f0f0; font-family: var(--t-headline-font); font-weight: 400; }
.sidebar p { margin: 0; }
.sidebar ul, .topbar ul { margin: 0; padding: 0; list-style: none; }
.sidebar a, .topbar a { color: inherit; text-decoration: none; }
.t-records .sidebar__mail { color: #b67f04; }
.sidebar__badge {
	display: inline-block; padding: .2em .5em .15em; border-radius: 4px;
	background-color: #b67f04; color: #fff; font-weight: 500; line-height: 1.15; white-space: nowrap;
	transition: background-color .2s ease-in-out;
}
.sidebar__team:hover .sidebar__badge, .sidebar__team:focus-visible .sidebar__badge { background-color: #8f6403; }
.sidebar__brand { display: flex; flex-direction: column; color: #fff; }
.sidebar__name { white-space: nowrap; line-height: .9; }
.sidebar__social { display: flex; align-items: center; gap: 10px; }
.sidebar__social img, .sidebar__logo img, .topbar__logo img { display: block; height: auto; }

.sidebar {
	--sb-gap: 20px;
	--fs-text: 16px; /* every small text */
	--fs-menu: 28px;
	position: fixed; top: 0; bottom: 0; left: 0; width: var(--sidebar-w);
	display: flex; flex-direction: column; gap: var(--sb-gap); padding: 20px 1vw;
	overflow-y: auto; scrollbar-width: none;
	font-size: var(--fs-text); line-height: 1.45;
}
.sidebar::-webkit-scrollbar { display: none; }
.sidebar__group { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sb-gap); }
.sidebar__logo + .sidebar__brand, .sidebar__menu + .sidebar__social { margin-top: calc(min(16px, var(--sb-gap)) - var(--sb-gap)); }
.sidebar__group_middle { margin: auto 0; }
/* short screens (a 1366x768 laptop): tighter gaps so that the whole sidebar still fits */
@media screen and (max-height: 720px) {
	.sidebar { --sb-gap: 10px; padding-top: 10px; padding-bottom: 10px; line-height: 1.4; }
	.sidebar .sidebar__brand { gap: 4px; }
	.t-records .sidebar .sidebar__rating { gap: 4px; padding: 8px 12px; }
}
.sidebar .sidebar__team { color: #b7b7b7; font-size: .85em; letter-spacing: .04em; }
.sidebar__logo img { width: 3.6vw; } /* 10 % smaller than on Tilda (owner, 05.12.2026) */
.sidebar .sidebar__brand { gap: 8px; }
/* as large as the column allows: the name is 6.58 font sizes wide */
.sidebar__name { font-size: 2.54vw; }
.sidebar .sidebar__slogan { color: #b7b7b7; }
.sidebar__about { color: #f0f0f0; }
.sidebar__social img { width: 2vw; min-width: 20px; }
.sidebar__menu li { font-size: var(--fs-menu); line-height: 1.35; }
.t-records .sidebar__menu a { color: #b67f04; }
.sidebar__menu a:hover, .sidebar__menu a:focus-visible { opacity: .8; }
.sidebar__legal { color: #8f8f8f; }
.sidebar__legal a:hover, .sidebar__legal a:focus-visible { color: #f0f0f0; }
.t-records .sidebar__rating {
	display: flex; flex-direction: column; align-self: stretch; gap: 8px; padding: 12px 14px;
	border-radius: 10px; background-color: #ce2829; color: #fff; line-height: 1.3;
	transition: background-color .2s ease-in-out;
}
.t-records .sidebar__rating:hover, .t-records .sidebar__rating:focus-visible { background-color: #a91f20; }
.sidebar__rating-title { font-weight: 500; }
.sidebar__rating-go { display: inline-flex; align-items: center; gap: 8px; }
.sidebar__rating-go::after {
	content: ''; flex: 0 0 auto; width: 1.1em; height: 1.1em; background-color: currentColor;
	-webkit-mask: url(/media/zero/arrow-right.svg) center / contain no-repeat; mask: url(/media/zero/arrow-right.svg) center / contain no-repeat;
}
@media screen and (max-width: 1919px) {
	.sidebar { --fs-text: 13px; --fs-menu: 20px; }
	.sidebar__logo img { width: 4.5vw; }
	.sidebar__name { font-size: 2.69vw; }
}
@media screen and (max-width: 1199px) {
	.sidebar { --fs-text: 12px; --fs-menu: 16px; }
	.sidebar__name { font-size: 3.43vw; }
	.t-records .sidebar__rating { padding: 10px 12px; }
}

.topbar { display: none; }
@media screen and (max-width: 959px) {
	.sidebar { display: none; }
	.topbar { position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h); display: flex; align-items: center; padding: 0 10px; }
	.topbar__logo img { width: 32px; }
	.topbar .sidebar__brand { margin-left: 6px; gap: 3px; }
	.topbar .sidebar__name { font-size: 14px; }
	.topbar .sidebar__slogan { font-size: 10px; line-height: 1.3; color: #b7b7b7; }
	.topbar__divider { flex: 0 0 auto; width: 1px; height: 25px; margin: 0 15px 0 13px; background-color: rgba(232, 232, 232, .5); }
	.topbar__stack { display: flex; flex-direction: column; gap: 3px; }
	.topbar__stack .sidebar__mail { display: none; }
	.topbar .sidebar__team { max-width: 113px; font-size: 11px; line-height: 1.1; }
	.topbar__end { display: flex; align-items: center; margin-left: auto; }
	.topbar .sidebar__social { gap: 7px; margin-right: 19px; }
	.topbar .sidebar__social img { width: 19px; }
	.topbar__end .sidebar__mail { margin-right: 16px; font-size: 12px; line-height: 1.3; }
	.t-records .topbar__menu {
		display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 17px;
		border: 1px solid #fff; border-radius: 50px; color: #fff; font-size: 10px; line-height: 1;
		transition: border-color .2s ease-in-out;
	}
	.t-records .topbar__menu:hover, .t-records .topbar__menu:focus-visible { border-color: #b67f04; }
}
@media screen and (max-width: 639px) {
	.topbar__logo img { width: 26px; }
	.topbar .sidebar__brand { margin-left: 5px; }
	.topbar .sidebar__name { font-size: 12px; }
	.topbar .sidebar__slogan { font-size: 9px; }
	.topbar__divider { height: 24px; margin: 0 10px 0 7px; }
	.topbar__stack .sidebar__mail { display: block; font-size: 10px; line-height: 1.3; }
	.topbar .sidebar__team { max-width: none; white-space: nowrap; font-size: 8px; }
	.topbar__end .sidebar__social, .topbar__end .sidebar__mail { display: none; }
}

/* ---- Slide-out menu (t450) ------------------------------------------------------------ */
.t450 {
	position: fixed; top: 0; bottom: 0; left: 0; z-index: 9999; width: 100%; max-width: 320px;
	overflow: hidden auto; transform: translate(-100%, 0); transition: transform ease-in-out 0.3s;
}
.t450.t450__menu_show { transform: translate(0, 0); z-index: 999999; }
.t450__overlay { display: none; position: fixed; inset: 0; opacity: 0; z-index: -1; transition: opacity ease-in-out 0.3s; }
.t450__overlay.t450__menu_show { display: block; z-index: 99999; opacity: 1; }
.t450__overlay_bg { position: absolute; inset: 0; }
body.t450__body_menushowed { height: 100vh; min-height: 100vh; overflow: hidden; }
.t450__close {
	position: absolute; top: 5px; right: 5px; z-index: 999999; width: 40px; height: 40px;
	display: flex; justify-content: center; align-items: center; padding: 0; border: 0; cursor: pointer;
}
.t450__close_icon { position: relative; width: 24px; height: 20px; color: #fff; }
.t450__close_icon span {
	position: absolute; left: 0; display: block; width: 100%; height: 2px; background-color: currentColor;
	transition: 0.25s ease-in-out;
}
.t450__close_icon span:nth-child(1) { top: 8px; width: 0; left: 50%; }
.t450__close_icon span:nth-child(2) { top: 8px; transform: rotate(45deg); }
.t450__close_icon span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
.t450__close_icon span:nth-child(4) { top: 8px; width: 0; left: 50%; }
.t450__container {
	box-sizing: border-box; position: relative; min-height: 100%; padding: 48px 40px 38px;
	display: flex; flex-direction: column; text-align: left;
}
.t450__rightside { position: relative; margin-top: auto; }
.t450__logowrapper { margin-bottom: 25px; }
.t450__logowrapper a { display: block; color: #fff; }
.t450__logo { color: #fff; }
.t450__list { list-style: none; margin: 0; padding: 0; }
.t450__list_item { display: block; margin: 0; font-family: var(--t-headline-font); font-size: 16px; }
.t450__list_item a { display: inline-block; margin-bottom: 15px; text-decoration: none; }
.t450__list_item:last-child a { margin-bottom: 0; }
.t450__right_descr { margin-top: 25px; color: #fff; font-family: var(--t-headline-font); }
.t450__right_descr a { text-decoration: none; }
.t450__right_social_links { margin-top: 24px; }
.t450 .t-sociallinks__wrapper { margin: 0; padding: 0; list-style: none; }
.t450 .t-sociallinks__item { display: inline-block; vertical-align: top; margin: 2px 4px 0 0; }
.t450 .t-sociallinks__item:last-child { margin-right: 0; }
.t450 .t-sociallinks__item a { display: block; }
@media screen and (max-width: 640px) {
	.t450__container { padding: 42px 25px 25px; }
}
/* With the top bar (phones and tablets) the menu covers the whole screen and its cross sits in the
   top right corner of the screen (owner, 05.12.2026); Tilda opened a 320 px panel. */
@media screen and (max-width: 959px) {
	.t450 { max-width: 100%; }
	.t450__close { top: 10px; right: 10px; }
}

/* ---- Cookie banner (t886) ------------------------------------------------------------- */
.t886 { position: fixed; bottom: 30px; z-index: 100001; }
.t886_closed { display: none !important; }
.t886__wrapper { display: inline-flex; align-items: center; padding: 15px 25px; box-sizing: border-box; }
.t886__text { display: table-cell; padding-right: 10px; text-align: left; vertical-align: middle; }
.t-btn.t-btnflex {
	display: inline-flex; align-items: center; justify-content: center; gap: 1ch; max-width: 100%;
	height: var(--height, 45px); box-sizing: border-box; border: 0; overflow: hidden; cursor: pointer;
	font-family: var(--t-headline-font); font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap;
	-webkit-appearance: none; appearance: none;
}
.t-btnflex_sm { --height: 45px; font-size: 14px; }
.t-btnflex__text { max-width: 100%; overflow: hidden; text-align: center; white-space: inherit; text-overflow: ellipsis; }
.t886 .t886__btn { --height: 30px; padding-left: 20px; padding-right: 20px; flex-shrink: 0; margin-left: auto; }
@media screen and (max-width: 980px) {
	.t886 { left: 0 !important; right: 0 !important; bottom: 0 !important; }
	.t886__wrapper { width: 100% !important; border-radius: 0 !important; margin: 0 !important; }
}

/* The gold plate (Tilda block map-plate), on the map and, since 06.12.2026, on every page:
   numbers sit inside their labels (plateText in src/app.js), so the old separate number boxes
   are hidden; the second label must not wrap. */
/* !important: the block's own styles come later in the page and set display per screen width */
#rec1306976011 .tn-elem.trunks,
#rec1306976011 .tn-elem.sumdeep { display: none !important; }
/* keeps its Tilda width (so both labels start at the same x) and lets the number run on */
#rec1306976011 .tn-elem[data-elem-id="175795002386044740"] { display: block !important; white-space: nowrap !important; }
/* On a phone the plate stands at the bottom of the screen: the end of a page scrolls above it
   (the map has no page to scroll). */
@media screen and (max-width: 639px) {
  html:not(.plate-hidden) body:not(:has(#map)) { padding-bottom: 72px; }
}
/* The × of the plate (public/js/plate.js puts it at the right of the gold box) and the hidden plate. */
.plate-close {
  position: fixed; z-index: 100; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
  pointer-events: auto; /* the Tilda layer it sits in lets taps through (pointer-events: none) */
  background: rgba(0, 0, 0, 0.18); color: #fff; font: 400 16px/22px Arial, sans-serif; cursor: pointer;
}
.plate-close:hover, .plate-close:focus-visible { background: rgba(0, 0, 0, 0.32); outline: none; }
html.plate-hidden #rec1306976011, html.plate-hidden .plate-close { display: none !important; }
