
html {
  font-family: Inter;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

*:focus {
  outline: none;
}

* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

a {
text-decoration: none;
cursor: pointer;
color: #000;
}

p {
margin: 0px;
padding: 0px;
}
.container {
width: 100%;
margin: 0 auto;
height: 100%;
padding: 0 var(--container-padding);
align-items: center;
}

@media (min-width: 768px)  { .container { max-width: 90vw; } }
/* @media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } } */

.hidden {
  display: none !important;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

@font-face {
  font-family: "Volshebstvo";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/TDVolshebstvo.woff2") format("woff2"), url("../fonts/TDVolshebstvo.woff") format("woff");
  font-display: swap;
}

@font-face {
font-family: "Manrope";
font-style: normal;
font-weight: 400;
src: url("../fonts/Manrope-Regular.woff2") format("woff2"), url("../fonts/Manrope-Regular.woff") format("woff");
font-display: swap;
}

@font-face {
font-family: "Manrope";
font-style: normal;
font-weight: 500;
src: url("../fonts/Manrope-Medium.woff2") format("woff2"), url("../fonts/Manrope-Medium.woff") format("woff");
font-display: swap;
}

header {
  position: fixed;
  left: 0;
  z-index: 1001;
  height: 6vh;
  padding: 15px 30px;
  width: 100%;
  background: #39130594;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar {
  position: fixed;
  top: 6%;
  left: 0;
  width: 100%;
  height: 94vh;
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  transform: translateY(-150%);
  transition: all 0.6s;
  z-index: 1000;

}

.navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.navbar-menu-item {
  margin-bottom: 20px;
}

.navbar-menu-link {
  color: #fff;
  font-family: Volshebstvo;
  text-decoration: none;
  font-size: 26px;

}

.burger-checkbox:checked+.burger+.navbar {
  transform: translateY(0);
  background: #39130594;
  height: 94vh;
}

.header__logos {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top_img {
  max-width: 125px;

}

@media (max-width:750px) {
  .top_img {
      max-width: 75px;

  }

}

.burger__block {
  width: 26px;
  height: 50px;
  display: flex;
  flex-direction: column;
}

.burger-checkbox {
  position: absolute;
  visibility: hidden;

}

.burger {
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
}

.burger::before,

.burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #d4905b;
}

.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #d4905b;
  transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}

.burger::after {
  bottom: 0;
  transition: bottom .3s .15s, transform .3s;
}

.burger-checkbox:checked+.burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
  transition: box-shadow .15s, top .3s, transform .3s .15s;
}

.burger-checkbox:checked+.burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom .3s, transform .3s .15s;
}



.title_block {
  /* display: flex; */
}

  /* Статья */
  .article {
    font-family: Manrope;
    line-height: 1.6;
    color: #1a1a1a;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    display: flex;
    gap: 90px;
    position: relative;
    padding: 100px 100px 50px;
  }
  
  .img_article {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    width: 40%;
    flex-shrink: 0;
  }
  
  .img_article img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: auto;
  }

.text_article {
  width: 100%;
  position: relative;
  right: 0;
}

.article h1 {
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.4em;
  color: #111;
  font-family: Volshebstvo;
  letter-spacing: .05em;
}

.article h1::first-letter {
  text-transform: uppercase;
  font-size: 2em;
  color: #c0392b;
}

.article .author {
  font-size: 0.95em;
  color: #000;
  margin: 0 0 1.6em;
  line-height: 1.5;
}

.author {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.author_img {
  height: 200px;
  object-fit: contain;
  width: 150px;
}

.author_desc {
  align-content: center;
}

.author_desc__name {
  font-size: 1.5em;
}

.author_desc__text {
  font-size: 1em;
}

.article p {
  margin: 0 0 1em;
  text-indent: 2em;
  text-align: justify;
  font-size: .9em;
}

.article .custom_paragrh {
  text-indent: 0px;
  text-align: center;
  width: max-content;
  margin: 20px auto;
  padding: 5px 0px 5px;
  border-top: solid 1px;
  border-bottom: solid 1px;
  font-family: Volshebstvo;
  letter-spacing: .1em;
  color: #c0392b;
}

.article ul {
  margin: 0 0 1em;
  margin-left: 2em;
}
.article ul li {

  text-align: justify;
  font-size: .9em;
}

.article ol {
  margin: 0 0 1em;
  margin-left: 2em;
}
.article ol li {

  text-align: justify;
  font-size: .9em;
}

.article .lead {
  font-size: 1.05em;
  color: #333;
}

.article figure {
  margin: 2em 0;
  text-align: center;
}

.article figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.article figcaption {
  font-size: 0.85em;
  color: #1f1f1f;
  margin-top: 0.6em;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.article .source-note {
  font-size: 0.85em;
  color: #555;
  font-style: italic;
  margin: 0.5em 0 1.5em;
  text-align: center;
}

.article .table-wrap {
  overflow-x: auto;
  margin: 1.8em 0;
  -webkit-overflow-scrolling: touch;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  min-width: 540px;
}

.article caption {
  caption-side: top;
  text-align: left;
  font-size: 0.9em;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.6em;
  line-height: 1.4;
}

.article th,
.article td {
  border: 1px solid #d0d0d0;
  padding: 8px 10px;
  text-align: right;
  vertical-align: top;
}

.article th:first-child,
.article td:first-child {
  text-align: left;
}

.article thead th {
  background: #f5f5f5;
  font-weight: 600;
  color: #222;
  text-align: right;
}

.article thead th:first-child {
  text-align: left;
}

.article tbody tr:nth-child(even) {
  background: #fafafa;
}

.article .segment-table td {
  text-align: center;
}

.article .segment-table td:first-child {
  text-align: left;
}

.article .segment-table thead th {
  text-align: center;
}

.article .segment-table thead th:first-child {
  text-align: left;
}

.article .segment-table .seg-label {
  font-weight: 600;
  color: #333;
}

.article .table-note {
  font-size: 0.82em;
  color: #555;
  margin-top: 0.5em;
  line-height: 1.4;
}

.article .subhead {
  font-size: 1.25em;
  font-weight: 700;
  margin: 2em 0 0.8em;
  color: #111;
}

.article_top__img {
  width: 100vw;
  position: fixed;
  top: 49px;
  box-shadow: 0px 2px 11px 9px #ffffff;
  z-index: 5;
  background-color: #fff;
  display: none;
}

.article_header {
  background-color: #795548;
}

.article_bottom__img {
  width: 100vw;
  position: fixed;
  bottom: 0px;
  box-shadow: 0px -10px 20px 10px #ffffff;
  z-index: 5;
  background-color: #fff;
  display: none;
}
@media (max-width: 768px) {



  .article {
    padding: 80px 12px 40px;
    flex-direction: column;
    gap: 30px;
  }

  .article h1 {
    font-size: 1.4em;
  }

  .article table {
    font-size: 0.8em;
    min-width: 100%;
  }

  .article th,
  .article td {
    padding: 6px 7px;
  }

  .img_article {
    display: none;
    position: static;
    margin: 0px auto;
    width: 300px;
  }
  .author_img {
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    width: 90px;
  }
}

@media (max-width: 576px) {

  .article_top__img {
    display: block;
  }
  .article_bottom__img {
    display: block;
  }
  .article {
    padding: 60px 12px 40px;
    flex-direction: column;
    gap: 0px;
  }

  .img_article {
    position: static;
    margin: 0px auto;

  }
  .img_article img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 190px;
}
}

@media (max-width: 375px) {
  .img_article img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 150px;
}
.article {
  padding: 60px 12px 10px;
}
}


.tooltip {
  position: relative;
  border-bottom: 1px dashed #999;
  cursor: help;
  scroll-margin-top: 50vh;
}

.tooltip_link:hover {
  cursor: pointer;
}


.tooltip__text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
  width: 400px;
  display: block;
}

.tooltip__text {

}
td .tooltip__text {
  left: auto;
  right: 0px;
}

.tooltip:hover .tooltip__text,
.tooltip:focus-within .tooltip__text {
  opacity: 1;
}

.tooltips_list {
  padding-top: 10px;
  margin-top: 40px;
  border-top: solid 1px #35230b;
}

.tooltips_list__item {
  font-size: .8em;
  color: #714b18;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.tooltips_list__item {
  
}

.tooltips_list__item--link {
  word-break: break-all;

}
.tooltip_link {
  word-break: break-all;
}
.fancybox__caption {

}

.subtitle {
  margin-bottom: 20px;
}
.nav_section {
  margin: 0px auto;
  width: max-content;
  padding: 0px 0px 100px;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: Volshebstvo;
  font-size: 36px;
}

.nav a {
  text-transform: lowercase;
  text-align: center;
}

.nav a:nth-child(2)::first-letter {
  color: #c0392b;
  text-transform: uppercase;
}

.nav_content__link::first-letter {
  color: #c0392b;
  text-transform: uppercase;
}

#next::first-letter {
  color: #000;
}

.header--hidden {
  transform: translateY(-100%);
}

.text_article_mdash {
  font-size: 1.8em;
}
.article h1 span.text_article_mdash{
  font-size: 1.8em !important;
}



@media (max-width: 576px) {
  header {
    padding: 15px 10px;
  }
  .tooltip_parrent__mob {
    position: relative;
  }

  .tooltip__text {
    width: calc(100vw - 40px);
    text-align: left;
    left: auto;
    top: auto;
    bottom: 0px;
    transform: translateX(0%) translateY(0px);
  }

  .subtitle {
    margin-bottom: 15px;
    font-size: 15px;
  }

  .author_desc__text {
      font-size: 0.9em;
  }

  .article .author {
    margin: 0 0 1.1em;
  }

  .nav_section {
    padding: 0px 0px 150px;
  }

  .nav {
    font-size: 24px;
  }

  .article thead th {
    font-size: 10px;
  }
  .text_article_mdash span{
    display: inline-block;
    align-content: center;
    color: #c0392b;
    text-transform: lowercase;
    font-size: 28px;
  }
}

