.mod-banners .mod-banners__footer.bannerfooter {
    font-size: 10px;
    font-family: Montserrat, sans-serif;
    color: #aaaaaa;
}
hr,
.gy-hr {
  position: relative;
  height: 2px;
  margin: 42px 0;
  border: 0;
  background: linear-gradient(
    to right,
    #C70000 0,
    #C70000 72px,
    #d9d9d9 72px,
    #d9d9d9 100%
  );
}

@media (max-width: 768px) {
  hr,
  .gy-hr {
    margin: 32px 0;
    background: linear-gradient(
      to right,
      #C70000 0,
      #C70000 48px,
      #d9d9d9 48px,
      #d9d9d9 100%
    );
  }
}
.custom-table-wrap {
  width: 100%;
  margin: 35px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.custom-table,
table.custom-table tr,
table.custom-table th,
table.custom-table td {
  border: 2px solid #e8e8e8 !important;
}

table.custom-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 10pt !important;
  line-height: 1.4 !important;
}

table.custom-table td {
  padding: 8px 10px !important;
  text-align: left !important;
  vertical-align: top !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 10pt !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

table.custom-table th {
  padding: 10px 12px !important;
  text-align: left !important;
  vertical-align: middle !important;
  background: #f9f9f9 !important;
  color: #1f1f1f !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 14pt !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

table.custom-table tr:nth-child(even) td {
  background: #fcfcfc !important;
}

table.custom-table tr:hover td {
  background: #f5f5f5 !important;
}

@media (max-width: 768px) {
  table.custom-table {
    min-width: 900px;
  }

  table.custom-table td {
    padding: 7px 8px !important;
    font-size: 9pt !important;
  }

  table.custom-table th {
    padding: 8px !important;
    font-size: 11pt !important;
  }
}
.logo-light {
	display: none !important;
}

.logo-dark {
	display: inline-block !important;
}

.page-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12pt;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #777777;
}

.page-views .fa-eye {
    font-size: 12pt;
}

body.dark-page .page-views {
    color: #ffffff;
}

/* Пункты меню */
.menu-red-line .sp-menu > li > a {
    position: relative;
    transition: color .3s ease;
}

/* Линия */
.menu-red-line .sp-menu > li > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    background: #7A0000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease, background-color .3s ease;
}

/* Наведение */
.menu-red-line .sp-menu > li:hover > a::after {
    transform: scaleX(1);
}

/* Активный пункт меню */
.menu-red-line .sp-menu > li.active > a::after,
.menu-red-line .sp-menu > li.current-item > a::after,
.menu-red-line .sp-menu > li.current > a::after {
    background: #C70000;
    transform: scaleX(1);
}
html,
body {
  overflow-x: hidden;
}

/* Адаптивные фото и видео внутри текста статьи SP Page Builder */
.sppb-dynamic-content__is-rich-text img,
.sppb-dynamic-content__is-rich-text video,
.sppb-dynamic-content__is-rich-text iframe {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 20px auto !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Обёртка JCE MediaBox вокруг фото */
.sppb-dynamic-content__is-rich-text a.wfpopup,
.sppb-dynamic-content__is-rich-text a.wf-mediabox-is-centered,
.sppb-dynamic-content__is-rich-text a.wf-zoom-image {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  margin: 20px auto !important;
  box-sizing: border-box !important;
}

/* Чтобы SVG-иконка лупы не растягивалась как картинка */
.sppb-dynamic-content__is-rich-text .wf-icon-zoom-image svg {
  width: 24px !important;
  height: 24px !important;
}

#sp-header,
#sp-header > .container,
#sp-header .container,
#sp-header .container-inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =====================================================
   GAZETA YASHKINO STYLE BOOK
   Редакционные блоки для материалов сайта
   Prefix: gy-
   ===================================================== */

:root {
  --gy-red: #C70000;
  --gy-black: #1f1f1f;
  --gy-dark: #2b2b2b;
  --gy-gray: #666666;
  --gy-line: #555555;
  --gy-light: #f7f7f7;
  --gy-light-2: #f3f4f6;
  --gy-border: #e6e6e6;
  --gy-warning-bg: #fff5f5;
}

/* Общие правила */
.gy-fullquote,
.gy-pullquote,
.gy-photoquote,
.gy-note,
.gy-fact,
.gy-document,
.gy-warning,
.gy-question,
.gy-author,
.gy-number,
.gy-speech,
.gy-keypoints,
.gy-timeline,
.gy-photo-caption,
.gy-table-wrap,
.gy-readmore {
  font-family: 'Montserrat', Arial, sans-serif;
  box-sizing: border-box;
}

/* =====================================================
   1. Большая цитата на всю ширину
   ===================================================== */

.gy-fullquote {
  border-top: 2px solid var(--gy-line);
  border-bottom: 2px solid var(--gy-line);
  background: var(--gy-light-2);
  padding: 22px 20px 22px 26px;
  margin: 40px 0;
  position: relative;
}

.gy-fullquote-line {
  border-left: 4px solid var(--gy-red);
  padding-left: 16px;
  color: var(--gy-dark);
  font-size: 17px;
  line-height: 1.65;
}

/* =====================================================
   2. Цитата справа с обтеканием
   ===================================================== */

.gy-pullquote {
  float: right;
  clear: right;
  width: 38%;
  max-width: 420px;
  margin: 10px 0 30px 40px;
  padding: 26px 30px;
  background: var(--gy-light);
  border-left: 6px solid var(--gy-red);
  border-radius: 0 8px 8px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--gy-black);
  position: relative;
}

.gy-pullquote:before {
  content: "❝";
  position: absolute;
  left: 14px;
  top: 8px;
  font-size: 68px;
  color: var(--gy-red);
  opacity: .12;
  line-height: 1;
  font-family: Georgia, serif;
}

/* =====================================================
   3. Справка
   ===================================================== */

.gy-note {
  margin: 35px 0;
  padding: 24px 28px;
  background: var(--gy-light);
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--gy-black);
}

/* =====================================================
   4. Факт
   ===================================================== */

.gy-fact {
  margin: 35px 0;
  padding: 22px 28px;
  border-left: 6px solid var(--gy-red);
  background: #fafafa;
  font-size: 18px;
  line-height: 1.8;
  color: var(--gy-black);
}

/* =====================================================
   5. Документ
   ===================================================== */

.gy-document {
  margin: 35px 0;
  padding: 24px 28px;
  background: var(--gy-light);
  border: 1px solid var(--gy-border);
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--gy-black);
}

/* =====================================================
   6. Важно
   ===================================================== */

.gy-warning {
  margin: 35px 0;
  padding: 24px 28px;
  background: var(--gy-warning-bg);
  border-left: 6px solid var(--gy-red);
  font-size: 18px;
  line-height: 1.8;
  color: var(--gy-black);
}

/* =====================================================
   7. Вопрос читателя
   ===================================================== */

.gy-question {
  margin: 35px 0;
  padding: 24px 28px;
  background: var(--gy-light);
  border-left: 6px solid #3c3c3c;
  font-size: 18px;
  line-height: 1.8;
  color: var(--gy-black);
}

/* =====================================================
   8. Мнение автора
   ===================================================== */

.gy-author {
  margin: 40px 0;
  padding: 28px;
  background: var(--gy-light);
  border-top: 3px solid var(--gy-red);
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
  color: var(--gy-black);
}

/* =====================================================
   9. Цифра / статистика
   ===================================================== */

.gy-number {
  margin: 40px auto;
  text-align: center;
}

.gy-number-value {
  font-size: 72px;
  font-weight: 700;
  color: var(--gy-red);
  line-height: 1;
}

.gy-number-title {
  margin-top: 8px;
  font-size: 17px;
  color: var(--gy-gray);
  line-height: 1.5;
}

/* =====================================================
   10. Речь героя / ответы жителей
   ===================================================== */

.gy-speech {
  margin: 40px 0;
  padding: 26px 32px;
  background: var(--gy-light);
  border-radius: 8px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--gy-black);
  position: relative;
}

.gy-speech:before {
  content: "";
  position: absolute;
  left: 26px;
  top: -10px;
  width: 24px;
  height: 24px;
  background: var(--gy-light);
  transform: rotate(45deg);
}

.gy-speech p {
  margin-top: 0;
}

/* =====================================================
   11. Главное за минуту
   ===================================================== */

.gy-keypoints {
  margin: 40px 0;
  padding: 26px 30px;
  background: var(--gy-light);
  border-radius: 8px;
  border-top: 4px solid var(--gy-red);
  color: var(--gy-black);
}

.gy-keypoints-title {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
}

.gy-keypoints ul {
  margin: 0;
  padding-left: 22px;
}

.gy-keypoints li {
  margin: 8px 0;
  line-height: 1.7;
}

/* =====================================================
   12. Хронология
   ===================================================== */

.gy-timeline {
  margin: 40px 0;
  padding-left: 24px;
  border-left: 4px solid var(--gy-red);
}

.gy-timeline-item {
  margin: 0 0 26px;
  position: relative;
}

.gy-timeline-item:before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--gy-red);
  border-radius: 50%;
}

.gy-timeline-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--gy-red);
  margin-bottom: 6px;
}

.gy-timeline-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gy-black);
}

/* =====================================================
   13. Подпись к фото
   ===================================================== */

.gy-photo-caption {
  margin: 8px 0 28px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gy-gray);
  text-align: center;
}

/* =====================================================
   14. Таблица
   ===================================================== */

.gy-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 35px 0;
}

.gy-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
}

.gy-table th,
.gy-table td {
  border: 1px solid #c1c1c1;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.gy-table th {
  background: var(--gy-light);
  font-weight: 700;
}

/* =====================================================
   15. Кнопка
   ===================================================== */

.gy-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--gy-red);
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: .2s ease;
}

.gy-button:hover {
  background: #a00000;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* =====================================================
   16. Блок “Читайте также”
   ===================================================== */

.gy-readmore {
  margin: 40px 0;
  padding: 22px 26px;
  background: #ffffff;
  border: 1px solid var(--gy-border);
  border-left: 6px solid var(--gy-red);
  border-radius: 8px;
}

.gy-readmore-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gy-red);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.gy-readmore a {
  font-size: 18px;
  font-weight: 700;
  color: var(--gy-black);
  text-decoration: none;
}

.gy-readmore a:hover {
  color: var(--gy-red);
}



/* =====================================================
   17. Цитата с фотографией героя
   ===================================================== */

.gy-photoquote {
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:28px;
  align-items:start;
  margin:40px 0;
  padding:28px 32px;
  background:var(--gy-light);
  border-left:6px solid var(--gy-red);
  border-radius:0 10px 10px 0;
  color:var(--gy-black);
  position:relative;
  overflow:hidden;
}

.gy-photoquote-photo{
  width:150px;
  height:150px;
  margin-top:4px;
  border-radius:50%;
  overflow:hidden;
  background:#e8e8e8;
  align-self:start;
}

.gy-photoquote-photo img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover;
  object-position:center;
}

.gy-photoquote-content{
  min-width:0;
  position:relative;
}

.gy-photoquote-content:before{
  content:"❝";
  position:absolute;
  left:-6px;
  top:-8px;
  font-size:72px;
  line-height:1;
  color:var(--gy-red);
  opacity:.12;
  font-family:Georgia,serif;
}

.gy-photoquote-text{
  margin:0 0 20px;
  padding-top:24px;
  font-size:20px;
  font-weight:500;
  line-height:1.65;
  color:var(--gy-dark);
}

.gy-photoquote-name{
  font-size:16px;
  font-weight:700;
  line-height:1.4;
  color:var(--gy-black);
}

.gy-photoquote-role{
  margin-top:4px;
  font-size:14px;
  line-height:1.5;
  color:var(--gy-gray);
}

/* =====================================================
   18. Адаптивность
   ===================================================== */

@media (max-width: 768px) {

  .gy-photoquote {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 20px;
  }

  .gy-photoquote-photo {
    width: 96px;
    height: 96px;
  }

  .gy-photoquote-text {
    font-size: 17px;
    line-height: 1.6;
  }

  .gy-pullquote {
    float: none;
    width: 100%;
    max-width: none;
    margin: 30px 0;
    font-size: 19px;
  }

  .gy-number-value {
    font-size: 54px;
  }

  .gy-fullquote,
  .gy-note,
  .gy-fact,
  .gy-document,
  .gy-warning,
  .gy-question,
  .gy-author,
  .gy-speech,
  .gy-keypoints,
  .gy-readmore {
    padding: 20px;
  }
}

/* =====================================================
   Афиша мероприятий
   ===================================================== */

.gy-events{
    margin:40px 0;
    border:1px solid #e6e6e6;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    font-family:'Montserrat',Arial,sans-serif;
}

.gy-events-header{
    background:#C70000;
    color:#fff;
    padding:18px 24px;
    font-size:26px;
    font-weight:700;
}

.gy-event{
    display:flex;
    gap:22px;
    padding:22px 24px;
    border-bottom:1px solid #ececec;
    align-items:flex-start;
}

.gy-event:last-child{
    border-bottom:none;
}

.gy-event-time{
    flex:0 0 95px;
    font-size:28px;
    font-weight:700;
    color:#C70000;
    line-height:1;
}

.gy-event-content{
    flex:1;
}

.gy-event-title{
    font-size:20px;
    font-weight:700;
    color:#1f1f1f;
    margin-bottom:6px;
}

.gy-event-place{
    font-size:15px;
    color:#666;
    margin-bottom:10px;
}

.gy-event-text{
    font-size:17px;
    line-height:1.7;
    color:#2b2b2b;
}

@media (max-width:768px){

.gy-event{
    flex-direction:column;
    gap:10px;
}

.gy-event-time{
    font-size:24px;
}

.gy-event-title{
    font-size:18px;
}

}

/* =====================================================
   Афиша мероприятий — вертикальная лента
   ===================================================== */

.gy-event-timeline {
  margin: 40px 0;
  padding: 30px;
  background: #f7f7f7;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  box-sizing: border-box;
}

.gy-event-timeline-header {
  margin-bottom: 28px;
}

.gy-event-timeline-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #C70000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.gy-event-timeline-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #1f1f1f;
}

.gy-event-timeline-subtitle {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.gy-event-timeline-list {
  position: relative;
  margin-left: 68px;
  padding-left: 30px;
  border-left: 3px solid #C70000;
}

.gy-event-timeline-item {
  position: relative;
  padding: 0 0 30px;
}

.gy-event-timeline-item:last-child {
  padding-bottom: 0;
}

.gy-event-timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 7px;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border: 4px solid #C70000;
  border-radius: 50%;
  box-sizing: border-box;
}

.gy-event-timeline-time {
  position: absolute;
  left: -120px;
  top: 0;
  width: 72px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #C70000;
  text-align: right;
}

.gy-event-timeline-card {
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}

.gy-event-timeline-name {
  margin-bottom: 7px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f1f1f;
}

.gy-event-timeline-place {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #666;
}

.gy-event-timeline-description {
  font-size: 16px;
  line-height: 1.7;
  color: #2b2b2b;
}

.gy-event-timeline-description p {
  margin: 0;
}

.gy-event-timeline-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #dedede;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

@media (max-width: 768px) {
  .gy-event-timeline {
    padding: 22px 18px;
  }

  .gy-event-timeline-title {
    font-size: 24px;
  }

  .gy-event-timeline-list {
    margin-left: 0;
    padding-left: 24px;
  }

  .gy-event-timeline-time {
    position: static;
    width: auto;
    margin-bottom: 7px;
    text-align: left;
    font-size: 19px;
  }

  .gy-event-timeline-item::before {
    left: -33px;
    top: 5px;
  }

  .gy-event-timeline-card {
    padding: 17px 18px;
  }

  .gy-event-timeline-name {
    font-size: 18px;
  }

  .gy-event-timeline-description {
    font-size: 15px;
  }
}
/* =====================================================
   Тематическая плашка / спецтема
   ===================================================== */

.gy-topic-banner {
  margin: 0 0 36px;
  padding: 22px 26px 24px;
  background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
  border: 1px solid var(--gy-border, #e6e6e6);
  border-left: 6px solid var(--gy-red, #C70000);
  border-radius: 0 12px 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.gy-topic-banner::after {
  content: "";
  position: absolute;
  right: -32px;
  top: -42px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(199, 0, 0, .05);
  border-radius: 50%;
}

.gy-topic-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gy-red, #C70000);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.gy-topic-title {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gy-black, #1f1f1f);
}

.gy-topic-text {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gy-gray, #666);
}

@media (max-width: 768px) {
  .gy-topic-banner {
    margin-bottom: 28px;
    padding: 18px 20px 20px;
  }

  .gy-topic-title {
    font-size: 24px;
  }

  .gy-topic-text {
    font-size: 13px;
  }
}
.gy-topic-banner-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  transition: .2s ease;
}

.gy-topic-banner-link:hover {
  border-color: #d8d8d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
/* GAZETA YASHKINO — ДАННЫЕ И ТЕКСТОГРАФИКА */

.gy-stats,.gy-stat-change,.gy-progress,.gy-fraction,.gy-compare,.gy-bars,.gy-columns,.gy-donut-card,.gy-stacked,.gy-linechart,.gy-sparkline,.gy-steps,.gy-changes,.gy-meta,.gy-faq,.gy-procon,.gy-document-breakdown,.gy-dossier,.gy-context,.gy-why,.gy-brief,.gy-source,.gy-quote-stat{
  font-family:'Montserrat',Arial,sans-serif;
  box-sizing:border-box;
  color:var(--gy-black,#1f1f1f);
}

/* 1. Карточки показателей */
.gy-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:40px 0}
.gy-stat-card{padding:22px 20px;background:#f7f7f7;border:1px solid #e6e6e6;border-radius:10px}
.gy-stat-value{font-size:24px;line-height:1;font-weight:700;color:#C70000}
.gy-stat-label{margin-top:10px;font-size:14px;line-height:1.5;color:#666}

/* 2. Большая цифра + изменение */
.gy-stat-change{margin:40px 0;padding:26px 28px;background:#fff;border-top:3px solid #C70000;border-bottom:1px solid #e6e6e6}
.gy-stat-change-value{font-size:54px;line-height:1;font-weight:700}
.gy-stat-change-delta{display:inline-block;margin-top:10px;padding:5px 9px;background:#f7f7f7;border-radius:999px;font-size:13px;font-weight:700;color:#C70000}
.gy-stat-change-caption{margin-top:10px;font-size:15px;line-height:1.6;color:#666}

/* 3. Прогресс */
.gy-progress{margin:35px 0;padding:22px 24px;background:#f7f7f7;border-radius:10px}
.gy-progress-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:12px}
.gy-progress-title{font-size:17px;font-weight:700}
.gy-progress-value{font-size:24px;line-height:1;font-weight:700;color:#C70000}
.gy-progress-track{height:10px;overflow:hidden;background:#e6e6e6;border-radius:999px}
.gy-progress-fill{width:var(--value,50%);height:100%;background:#C70000;border-radius:999px}
.gy-progress-note{margin-top:10px;font-size:13px;line-height:1.5;color:#777}

/* 4. Доля из целого */
.gy-fraction{margin:35px 0;padding:22px 24px;background:#fff;border:1px solid #e6e6e6;border-radius:10px}
.gy-fraction-value{font-size:34px;font-weight:700;color:#C70000}
.gy-fraction-dots{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;margin-top:16px}
.gy-fraction-dots span{height:12px;background:#e6e6e6;border-radius:999px}
.gy-fraction-dots span.is-active{background:#C70000}
.gy-fraction-text{margin-top:12px;font-size:14px;line-height:1.6;color:#666}

/* 5. Было / стало */
.gy-compare{display:grid;grid-template-columns:1fr 44px 1fr;align-items:center;gap:14px;margin:40px 0}
.gy-compare-card{padding:22px;background:#f7f7f7;border-radius:10px}
.gy-compare-kicker{font-size:12px;font-weight:700;color:#777;text-transform:uppercase;letter-spacing:.06em}
.gy-compare-value{margin-top:7px;font-size:34px;font-weight:700;line-height:1.1}
.gy-compare-note{margin-top:7px;font-size:14px;color:#666;line-height:1.5}
.gy-compare-arrow{text-align:center;font-size:26px;color:#C70000}

/* 6. Горизонтальная диаграмма */
.gy-bars{margin:40px 0;padding:26px 28px;background:#fff;border:1px solid #e6e6e6;border-radius:12px}
.gy-chart-title{margin-bottom:6px;font-size:21px;font-weight:700}
.gy-chart-subtitle{margin-bottom:22px;font-size:14px;line-height:1.5;color:#777}
.gy-bar-row{margin:0 0 16px}
.gy-bar-head{display:flex;justify-content:space-between;gap:14px;margin-bottom:7px;font-size:14px}
.gy-bar-label{font-weight:600}.gy-bar-value{font-weight:700}
.gy-bar-track{height:12px;background:#ececec;border-radius:999px;overflow:hidden}
.gy-bar-fill{width:var(--value,50%);height:100%;background:#C70000;border-radius:999px}

/* 7. Вертикальные столбцы */
.gy-columns{margin:40px 0;padding:26px 28px;background:#fff;border:1px solid #e6e6e6;border-radius:12px}
.gy-columns-plot{display:flex;align-items:flex-end;gap:18px;height:240px;padding-top:20px;border-bottom:1px solid #dcdcdc}
.gy-column{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;height:100%}
.gy-column-value{margin-bottom:7px;text-align:center;font-size:13px;font-weight:700}
.gy-column-bar{height:calc(var(--value,50) * 1%);min-height:4px;background:#C70000;border-radius:6px 6px 0 0}
.gy-column-label{margin-top:9px;text-align:center;font-size:12px;line-height:1.35;color:#666}

/* 8. Кольцевая диаграмма */
.gy-donut-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;align-items:center;margin:40px 0;padding:26px 28px;background:#f7f7f7;border-radius:12px}
.gy-donut{--value:68;width:150px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#C70000 calc(var(--value) * 1%),#e5e5e5 0);position:relative}
.gy-donut:after{content:"";position:absolute;inset:20px;background:#f7f7f7;border-radius:50%}
.gy-donut-center{position:absolute;inset:0;z-index:1;display:grid;place-items:center;font-size:28px;font-weight:700}
.gy-donut-content-title{font-size:20px;font-weight:700}
.gy-donut-content-text{margin-top:8px;font-size:15px;line-height:1.65;color:#666}

/* 9. Составная полоса */
.gy-stacked{margin:40px 0;padding:24px 26px;background:#fff;border:1px solid #e6e6e6;border-radius:12px}
.gy-stacked-bar{display:flex;height:18px;overflow:hidden;border-radius:999px;background:#ececec}
.gy-stacked-part{width:var(--value,25%);background:#C70000}
.gy-stacked-part.is-gray{background:#8b8b8b}.gy-stacked-part.is-light{background:#cfcfcf}.gy-stacked-part.is-pale{background:#e7e7e7}
.gy-stacked-legend{display:flex;flex-wrap:wrap;gap:14px 20px;margin-top:16px;font-size:13px;color:#555}
.gy-stacked-legend span:before{content:"";display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#C70000}
.gy-stacked-legend span.is-gray:before{background:#8b8b8b}.gy-stacked-legend span.is-light:before{background:#cfcfcf}.gy-stacked-legend span.is-pale:before{background:#e7e7e7}

/* 10. Линейный график SVG */
.gy-linechart{margin:40px 0;padding:26px 28px;background:#fff;border:1px solid #e6e6e6;border-radius:12px}
.gy-linechart svg{display:block;width:100%;height:auto;overflow:visible}
.gy-linechart-grid{stroke:#e5e5e5;stroke-width:1}
.gy-linechart-line{fill:none;stroke:#C70000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.gy-linechart-point{fill:#fff;stroke:#C70000;stroke-width:3}
.gy-linechart-labels{display:flex;justify-content:space-between;gap:8px;margin-top:10px;font-size:12px;color:#777}

/* 11. Мини-график */
.gy-sparkline{display:flex;align-items:center;gap:18px;margin:30px 0;padding:18px 20px;background:#f7f7f7;border-radius:10px}
.gy-sparkline-number{flex:0 0 auto;font-size:30px;font-weight:700}
.gy-sparkline svg{width:140px;height:42px}
.gy-sparkline polyline{fill:none;stroke:#C70000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.gy-sparkline-text{font-size:13px;line-height:1.5;color:#666}

/* 12. Шаги */
.gy-steps{margin:40px 0}
.gy-step{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid #e6e6e6}
.gy-step:last-child{border-bottom:none}
.gy-step-number{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#C70000;color:#fff;font-size:16px;font-weight:700}
.gy-step-title{font-size:17px;font-weight:700}
.gy-step-text{margin-top:5px;font-size:15px;line-height:1.65;color:#666}

/* 13. Что изменится */
.gy-changes{margin:40px 0;padding:26px 28px;background:#f7f7f7;border-radius:12px}
.gy-changes-title{margin-bottom:18px;font-size:22px;font-weight:700}
.gy-change{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:14px 0;border-top:1px solid #e2e2e2}
.gy-change:first-of-type{border-top:none}
.gy-change-index{font-size:15px;font-weight:700;color:#C70000}
.gy-change-title{font-size:16px;font-weight:700}
.gy-change-text{margin-top:4px;font-size:14px;line-height:1.6;color:#666}

/* 14. Кто / что / когда */
.gy-meta{margin:40px 0;border-top:2px solid #555;border-bottom:2px solid #555}
.gy-meta-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid #e6e6e6}
.gy-meta-row:last-child{border-bottom:none}
.gy-meta-key{font-size:13px;font-weight:700;color:#C70000;text-transform:uppercase;letter-spacing:.04em}
.gy-meta-value{font-size:15px;line-height:1.6}

/* 15. FAQ */
.gy-faq{margin:40px 0}
.gy-faq details{border-top:1px solid #dedede}.gy-faq details:last-child{border-bottom:1px solid #dedede}
.gy-faq summary{cursor:pointer;list-style:none;padding:17px 0;font-size:17px;font-weight:700}
.gy-faq summary::-webkit-details-marker{display:none}
.gy-faq summary:after{content:"+";float:right;color:#C70000;font-size:22px}
.gy-faq details[open] summary:after{content:"−"}
.gy-faq-answer{padding:0 0 18px;font-size:15px;line-height:1.7;color:#555}

/* 16. За / против */
.gy-procon{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:40px 0}
.gy-procon-col{padding:22px 24px;background:#f7f7f7;border-top:4px solid #555}
.gy-procon-col.is-accent{border-top-color:#C70000}
.gy-procon-title{font-size:18px;font-weight:700;margin-bottom:12px}
.gy-procon ul{margin:0;padding-left:20px}.gy-procon li{margin:8px 0;font-size:15px;line-height:1.6}

/* 17. Разбор документа */
.gy-document-breakdown{margin:40px 0;padding:26px 28px;background:#f7f7f7;border-left:6px solid #C70000}
.gy-document-breakdown-title{font-size:20px;font-weight:700;margin-bottom:16px}
.gy-document-breakdown-row{padding:12px 0;border-top:1px solid #e1e1e1}
.gy-document-breakdown-row strong{display:block;margin-bottom:4px;font-size:13px;color:#C70000;text-transform:uppercase;letter-spacing:.04em}
.gy-document-breakdown-row span{font-size:15px;line-height:1.6}

/* 18. Досье */
.gy-dossier{margin:40px 0;padding:26px 28px;background:#fff;border:1px solid #e6e6e6;border-radius:10px}
.gy-dossier-title{margin-bottom:16px;font-size:13px;font-weight:700;color:#C70000;text-transform:uppercase;letter-spacing:.08em}
.gy-dossier-row{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:10px 0;border-top:1px solid #ececec}
.gy-dossier-key{font-size:13px;font-weight:600;color:#777}.gy-dossier-value{font-size:15px;line-height:1.55}

/* 19. Контекст */
.gy-context{margin:40px 0;padding:24px 28px;background:#f7f7f7;border-top:3px solid #555}
.gy-context-title,.gy-why-title,.gy-brief-title{margin-bottom:10px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.gy-context-title{color:#555}.gy-context-text{font-size:16px;line-height:1.7}

/* 20. Почему это важно */
.gy-why{margin:40px 0;padding:24px 28px;background:#fff;border-left:6px solid #C70000}
.gy-why-title{color:#C70000}.gy-why-text{font-size:17px;line-height:1.7;font-weight:500}

/* 21. Коротко */
.gy-brief{margin:40px 0;padding:24px 28px;background:#f7f7f7;border-radius:10px}
.gy-brief-title{color:#C70000}
.gy-brief-row{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:9px 0}
.gy-brief-key{font-size:13px;font-weight:700}.gy-brief-value{font-size:15px;line-height:1.55}

/* 22. Источник данных */
.gy-source{margin:12px 0 32px;padding-top:10px;border-top:1px solid #dedede;font-size:12px;line-height:1.55;color:#777}
.gy-source strong{color:#555}

/* 23. Цитата + цифра */
.gy-quote-stat{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:28px;align-items:center;margin:40px 0;padding:28px 30px;background:#f7f7f7;border-left:6px solid #C70000}
.gy-quote-stat-text{font-size:20px;line-height:1.65;font-weight:500}
.gy-quote-stat-author{margin-top:12px;font-size:13px;color:#666}
.gy-quote-stat-number{text-align:center}
.gy-quote-stat-number strong{display:block;font-size:48px;line-height:1;color:#C70000}
.gy-quote-stat-number span{display:block;margin-top:8px;font-size:13px;line-height:1.5;color:#666}

@media(max-width:768px){
  .gy-stats,.gy-compare,.gy-donut-card,.gy-procon,.gy-quote-stat{grid-template-columns:1fr}
  .gy-compare-arrow{transform:rotate(90deg)}
  .gy-donut-card{justify-items:center;text-align:center}
  .gy-columns{overflow-x:auto}.gy-columns-plot{min-width:520px}
  .gy-meta-row,.gy-dossier-row,.gy-brief-row{grid-template-columns:1fr;gap:4px}
  .gy-quote-stat-number{text-align:left}
  .gy-sparkline{flex-wrap:wrap}
}

/* =====================================================
   24. Тематическая плашка / спецтема
   ===================================================== */

.gy-topic-banner {
  display: block;
  margin: 0 0 36px;
  padding: 22px 26px 24px;
  background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
  border: 1px solid #e6e6e6;
  border-left: 6px solid #C70000;
  border-radius: 0 12px 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1f1f1f;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.gy-topic-banner::after {
  content: "";
  position: absolute;
  right: -32px;
  top: -42px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(199, 0, 0, .05);
  border-radius: 50%;
  pointer-events: none;
}

.gy-topic-label {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #C70000;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.gy-topic-title {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: #1f1f1f;
}

.gy-topic-text {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #666666;
}

a.gy-topic-banner {
  text-decoration: none !important;
  color: #1f1f1f !important;
  transition: .2s ease;
}

a.gy-topic-banner:hover {
  color: #1f1f1f !important;
  border-color: #d8d8d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

@media (max-width: 768px) {
  .gy-topic-banner {
    margin-bottom: 28px;
    padding: 18px 20px 20px;
  }

  .gy-topic-title {
    font-size: 24px;
  }

  .gy-topic-text {
    font-size: 13px;
  }
}


/* =========================================================
   DARK PAGE — тёмная версия основного хедера
   ========================================================= */

/* Верхняя служебная строка */
body.dark-page #sp-top-bar {
  background: #0a0a0a !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Основная часть хедера */
body.dark-page #sp-header {
  background: #0a0a0a !important;
  color: #fff !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Возможные внутренние обёртки кастомного хедера */
body.dark-page #sp-header .container,
body.dark-page #sp-header .container-inner,
body.dark-page #sp-header .gy-header,
body.dark-page #sp-header .gy-header-wrap,
body.dark-page #sp-header .gy-header-main,
body.dark-page #sp-header .gy-brand-row,
body.dark-page #sp-header .gy-nav-row {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Дата и ссылки верхней строки */
body.dark-page #sp-top-bar,
body.dark-page #sp-top-bar p,
body.dark-page #sp-top-bar span,
body.dark-page #sp-top-bar a {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.dark-page #sp-top-bar a:hover {
  color: #fff !important;
}

/* Текст рядом с логотипом */
body.dark-page #sp-header .site-title,
body.dark-page #sp-header .site-description,
body.dark-page #sp-header .logo-slogan,
body.dark-page #sp-header .gy-site-desc,
body.dark-page #sp-header .gy-header-text {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Главное меню */
body.dark-page #sp-header .sp-megamenu-parent > li > a,
body.dark-page #sp-header .sp-megamenu-parent > li > span,
body.dark-page #sp-header .gy-main-menu > li > a,
body.dark-page #sp-header .gy-main-menu > li > span,
body.dark-page #sp-header nav > ul > li > a,
body.dark-page #sp-header nav > ul > li > span {
  color: #fff !important;
}

/* Активный пункт и наведение */
body.dark-page #sp-header .sp-megamenu-parent > li:hover > a,
body.dark-page #sp-header .sp-megamenu-parent > li.active > a,
body.dark-page #sp-header .gy-main-menu > li > a:hover,
body.dark-page #sp-header .gy-main-menu > li.active > a,
body.dark-page #sp-header nav > ul > li > a:hover,
body.dark-page #sp-header nav > ul > li.active > a {
  color: #fff !important;
}

/* Акцентная линия под меню */
body.dark-page #sp-header .sp-megamenu-parent > li > a::after,
body.dark-page #sp-header .gy-main-menu > li > a::after {
  background-color: #C70000 !important;
}

/* Кнопка аккаунта остаётся красной */
body.dark-page #sp-header .gy-btn-red,
body.dark-page #sp-header .btn-primary,
body.dark-page #sp-header .btn-danger {
  background: #C70000 !important;
  border-color: #C70000 !important;
  color: #fff !important;
}

/* Бургер мобильного меню */
body.dark-page #sp-header .offcanvas-toggler,
body.dark-page #sp-header .offcanvas-toggler-left {
  color: #fff !important;
}

body.dark-page #sp-header .burger-icon > span {
  background-color: #fff !important;
}

/* Выпадающее меню сохраняем светлым */
body.dark-page #sp-header .sp-dropdown-inner,
body.dark-page #sp-header .menu-child {
  background: #fff !important;
}

/* Текст выпадающего меню */
body.dark-page #sp-header .sp-dropdown-inner a,
body.dark-page #sp-header .sp-dropdown-inner span,
body.dark-page #sp-header .menu-child a,
body.dark-page #sp-header .menu-child span {
  color: #222 !important;
}

body.dark-page #sp-header .sp-dropdown-inner a:hover,
body.dark-page #sp-header .sp-dropdown-inner .active > a,
body.dark-page #sp-header .menu-child a:hover,
body.dark-page #sp-header .menu-child .current > a {
  color: #C70000 !important;
}

/* Липкий хедер остаётся тёмным */
body.dark-page #sp-header.header-sticky,
body.dark-page #sp-header.sticky-header,
body.dark-page #sp-header.header-sticky .container,
body.dark-page #sp-header.sticky-header .container {
  background: rgba(10, 10, 10, 0.97) !important;
}
/* DARK PAGE — дата и весь служебный текст верхней строки */
body.dark-page #sp-top-bar,
body.dark-page #sp-top-bar * {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Ссылки при наведении */
body.dark-page #sp-top-bar a:hover {
  color: #fff !important;
}