/* Фон секции */
.media_article {
  background-color: #f8f9fa;
  padding: 60px 0;
}

/* Обёртка статьи */
.container_article {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  font-family: 'Montserrat', sans-serif;
}

/* Разделитель */
.article-divider {
  width: 480px;
  height: 6px;
  background-color: #1F299C;
  border-radius: 24px;
  margin-bottom: 24px;
}

.article-divider2 {
  width: 480px;
  height: 6px;
  background-color: #1F299C;
  border-radius: 2px;
  margin-top: 50px;
  margin-bottom: 24px;
}



.article-divider3 {
  width: 900px;
  height: 10px;
  background-color: #eaeaed;
  border-radius: 0px;
  margin-top: 50px;
  margin-bottom: 24px;
}

/* Заголовок */
.Article_general_title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0px;
  margin-top: 60px;
  color: #0d1a2d;
}

.Article_general_titleB2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  margin-top: -15px;
  margin-bottom: 30px;
  color: #1F299C;
}

.Article_general_title2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 0;
  margin-bottom: 24px;
  margin-top: 60px;
  color: #1F299C;
}

.Article_general_title3 {
  font-size: 40px;
  font-weight: 800;
  line-height: 0;
  margin-bottom: 24px;
  margin-top: 60px;
  color: #D89529;
}

/* Подзаголовки */
.Article-h2, .article {
  font-size: 28px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  color: #1F299C;
  border-left: 4px solid #D89529;
  padding-left: 12px;
}


.Article-h2-arrow {
  font-size: 28px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  color: #1F299C;
  border-left: 4px solid #D89529;
  padding-left: 12px;
}

.article_subtitle {
  font-size: 22px;
  font-weight: 500;
  color: #0F0842;
  line-height: 1.5;
  margin-top: 60px;
  margin-bottom: 16px;
}

/* Параграфы */
.container_article p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #0F0842;
}

/* Списки */
.container_article ul {
  padding-left: 0;
  margin-bottom: 24px;
  list-style: none;
}

.container_article li {
  position: relative;
  padding-left: 36px;
  font-size: 17px;
  color: #0F0842;
  margin-bottom: 14px;
  line-height: 1.2;
}

.container_article li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0px;
  width: 20px;
  height: 20px;
  background: url('https://ink-advisory.com/styles/assets/square.svg') no-repeat center;
  filter: brightness(0) saturate(100%) invert(59%) sepia(81%) saturate(586%) hue-rotate(352deg) brightness(96%) contrast(94%);
  background-size: 5px 5px;
  
}

/* Блок цитаты */
.container_article blockquote {
  font-style: initial;
  border-left: 4px solid #0055a5;
  background: #f5f8fc;
  padding: 16px 20px;
  margin: 30px 0;
  color: #333;
  font-size: 17px;
}








/* Выделенные callout-блоки */
.callout {
  border-radius: 6px;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 16px;
  background: #f2f6fa;
  border-left: 5px solid #0055a5;
  color: #1e1e1e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.callout strong {
  color: #0055a5;
  font-weight: 600;
  font-size: 17px;
}

/* Кнопка "Скачать материал" */
.download-material {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0d1a2d;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin: 24px 0;
}

.download-material:hover {
  background-color: #1e2d44;
}

.download-material i {
  font-size: 18px;
}


.imgarticle {
  margin: 30px 0;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  display: inline-block;
}


.imgarticle2 {
  margin: 5px 0;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background-color: #F2F2F2;
  position: relative;
  display: block;
  padding-bottom: 15px;
}

.imgarticle img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.08);
}

.imgcaption {
  font-size: 18px;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: left;
  color: #1F299C;
  background-color: #F2F2F2;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: 10px;
}


.imgcaption2 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: left;
  color: #1F299C;
  background-color: #F2F2F2;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: 10px;
}



.imgarticle.image-title-wrapper {
  position: relative;
  margin: 40px 0;
  overflow: hidden;
  border-radius: 12px;
}

.imgarticle.image-title-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(100%); /* затемнение */
  border-radius: 12px;
}

.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  color: #fff;
  z-index: 2;
  text-align: left;
}

.overlay-text h1.Article_general_title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color:white;
  margin: 0 0 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.overlay-text h3.article_subtitle {
  font-size: 16px;
  font-weight: 400;
  color:white;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}


.image-title-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 60%);
  border-radius: 12px;
  z-index: 1;
}

.article-date {
  font-size: 14px;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
}

.article-date2 {
  font-size: 14px;
  color: rgb(30, 26, 26);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
}


.image-title-wrapper img {
  transition: transform 0.4s ease;
}
.image-title-wrapper:hover img {
  transform: scale(1.03);
}


.footnotes {
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
  padding-left: 1em;
  border-left: 2px solid #ccc;
}


.footnotes22 {
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
  padding-bottom:10px;
  padding-left: 1em;
  text-align:left;
  
}

.sources {
  font-size: 0.9em;
  color: #555;
  margin-top: 5px;
  margin-bottom: 15px;
  padding-right: 15px;
  padding-bottom:15px;
  width: max-content;      /* Ширина — по содержимому */
  margin-left: auto;       /* Отодвинуть от левого края */
  text-align: right;       /* Если внутри несколько строк — выравнивание текста вправо */
    overflow-wrap: break-word;
  word-break: break-word;
}

.footnotes p {
  margin: 6px 0;
}

.footnotes sup {
  vertical-align: super;
  font-size: 0.8em;
  color: #333;
}


.scroll-up-centered {
  text-align: center;
  margin: 60px 0 40px;
}

.scroll-arrow {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-bottom: 5px solid #fff;
  border-right: 5px solid #fff;
  transform: rotate(-135deg);
  animation: bounce 2s infinite;
  margin: 0 0;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.scroll-arrow:hover {
  opacity: 1;
}

.scroll-label {
  margin-top: 0px;
  font-size: 17px;
  font-weight:600;
  color: #fff;
  opacity: 0.85;
}

/* Цвет для светлого фона */
body:not(.dark) .scroll-arrow {
  border-color: #0055a5;
}
body:not(.dark) .scroll-label {
  color: #0055a5;
}

/* Bounce-анимация */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(-135deg) translateY(0);
  }
  40% {
    transform: rotate(-135deg) translateY(-8px);
  }
  60% {
    transform: rotate(-135deg) translateY(-4px);
  }
}


.back-to-media {
  text-align: right;
  margin-top: 0px;
  margin-bottom: 18px;
}

.media-link {
  font-size: 15px;
  color: #0055a5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.2s;
}

.media-link:hover {
  color: #D89529; /* ярко-оранжевый */
}

.arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s, fill 0.2s;
}

.media-link:hover .arrow-icon {
  transform: translateX(3px);
  fill: #ff6600;
}



.related-articles {
  background-color: #f8f9fb;
  padding: 80px 0;
  border-top: 1px solid #e0e6ed;
}

.related-articles .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.related-heading {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.3px;
}

.related-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .related-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e1e4e8;
  text-decoration: none;
  color: #212529;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.025);
}

.related-item:hover {
  border-color: #0055a5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
  color: #0055a5;
}

.related-emoji {
  font-size: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}

.related-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

strong {
  font-weight: 500;
  font-size: 1.1rem; /* 18px */
  color: #0F0842; /* тёмно-серый, для контраста */
  display: block;
  margin-bottom: 1rem;
  line-height: 1.6;
}

strong22 {
  font-weight: 700;
  font-size: 1rem; /* 18px */
  color: #1F299C; /* тёмно-серый, для контраста */
  margin-bottom: 1rem;
  line-height: 1;
}

strong3 {
  font-weight: 500;
  color: #1F299C; /* тёмно-серый, для контраста */
  margin-bottom: 1rem;
  line-height: 1.6;
}

strong9 {
  font-weight: 600;
  font-size: 1rem; /* 18px */
  color: #0e1451; /* тёмно-серый, для контраста */
  margin-bottom: 1rem;
  line-height: 1;
}

.authors-block {
  margin-top: 60px;
}

.authors-list-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

/* Один автор */
.author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 240px;
}

/* Фото */
.author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

/* Инфо */
.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 17px;
  color: #0F0842;
  margin-bottom: 4px;
}

.author-position {
  font-size: 15px;
  color: #555;
  margin-bottom: 4px;
}

.author-email {
  font-size: 14px;
  color: #1F299C;
  text-decoration: none;
  transition: color 0.2s;
}

.author-email:hover {
  text-decoration: underline;
  color: #D89529;
}

/* Адаптив */
@media (max-width: 768px) {
  .authors-list-row {
    flex-direction: column;
    align-items: center;
  }

  .author {
    max-width: 100%;
  }
}


.authors-title {
  font-size: 28px;
  font-weight: 700;
  color: #1F299C;
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.authors-title::before {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background-color: #D89529;
  border-radius: 2px;
  margin: 0 auto 16px auto;
}


.disclaimer {
  background-color: #f2f2f2;
  padding: 10px 20px;
  font-size: 13px;
  color: #444;
  border-top: 1px solid #ddd;
}

.disclaimer-container {
  max-width: 920px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

.disclaimer p {
  margin-bottom: 16px;
}

.disclaimer a {
  color: #1F299C;
  text-decoration: underline;
}

.disclaimer a:hover {
  color: #D89529;
}


.related-emoji i.material-icons-outlined {
  font-size: 32px;
  color: #1F299C;
}

/* Адаптация для мобильных устройств */
@media (max-width: 767px) {
  .article-divider2 {
    width: 50%; /* или 100%, если нужна полная ширина */
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-divider {
    width: 60%; /* или 100%, если нужна полная ширина */
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }



}






.SP-credit {
  background-color:#F2F2F2;
  margin-top: 15px;
  padding-top: 20px;

}

.head_SP {
  background-color:#F2F2F2;
  margin-top: 15px;
  color: #0F0842;
  font-family: 500;
  padding-left:15px;
  margin-bottom:20px;

}

.divider-line2 {
  width: 1px;
  background-color: #2f2f71;
  margin: 0 20px;
}



.highlight.blue {
  color: #2020a6;
  font-weight: 700;
  padding-left:10x;
}

.highlight.orange {
  color: #e08f22;
  font-weight: 700;

}



/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .imgarticle2 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* плавная прокрутка на iOS */
  }

  .imgarticle2 img {
    min-width: 50%;
    max-width: none; /* отключает автоматическое сжатие */
    display: inline-block;
  }

  .imgcaption2 {
    font-size: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 8px;
  }
}

.comparison-block3 {
  display: flex;
  padding-left: 20px;
  margin: 0px 0;
  gap: 15px;
  font-size: 16px;
  border-top: 1px solid #2f2f71; /* горизонтальная линия сверху */
  padding-top: 0px; /* отступ сверху после линии */
}

.comparison-block3 .column {
  flex: 1;
}

.comparison-block3 .left p {
  line-height: 1.5;
}

.comparison-block3 .right p {
  line-height: 1.5;
  
}


  .financing-comparison1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

.financing-comparison1 thead th {
  background-color: #3f2c93;
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: bold;
}

.financing-comparison1 td {
  background-color: #f4f4f4;
  padding: 12px;
  vertical-align: top;
}

.financing-comparison1 tbody tr:nth-child(even) td {
  
}

.financing-comparison1 tbody td:first-child {
  font-weight: bold;
  background-color: #dedaf2;
}

.financing-compariso1n sup {
  font-size: 0.7em;
}

.financing-comparison1-wrapper2 {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 px 00px rgba(0, 0, 0, 0.04);
  font-family: 'Montserrat', sans-serif;
}




  .financing-comparison2 {
  width: 98%;
  border-collapse: collapse;
  font-size: 13px;
  margin-left:10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.financing-comparison2 thead th {
  background-color: #3f2c93;
  color: white;
  padding: 5px;
  text-align: center;
  box-align:center;
  font-weight: bold;
}

.financing-comparison2 td {
  background-color: #f4f4f4;
  padding: 5px;
  text-align: center;       /* по горизонтали */
  vertical-align: middle;   /* по вертикали */
}

.financing-comparison2 tbody tr:nth-child(even) td {
  
}

.financing-comparison2 td:last-child {
  text-align:left;
}

.financing-comparison2 tbody td:first-child {
  font-weight: bold;
  text-align: left;
  background-color: #dedaf2;
}

.financing-comparison2 sup {
  font-size: 0.7em;
}

.financing-comparison-wrapper2 {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 px 00px rgba(0, 0, 0, 0.04);
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 767px) {
  .financing-comparison2 {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .financing-comparison2 table {
    width: max-content;
    min-width: 700px; /* минимальная ширина таблицы */
  }

  .financing-comparison2 thead th,
  .financing-comparison2 td {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px;
  }

  .financing-comparison2 td:first-child {
    min-width: 140px;
  }

  .financing-comparison2 td:last-child {
    min-width: 180px;
  }
}


@media screen and (max-width: 720px) {
  .sources {
    font-size: 10px !important;    /* компактный размер */
    line-height: 1.2;
    padding-left: 3px;
    padding-right: 3px;
    text-align: left;
    margin-left: 0;
    box-sizing: border-box;

    white-space: normal !important; /* перенос строк */
    word-break: break-word;          /* перенос длинных слов */
    overflow-wrap: break-word;       /* дополнительный перенос */
    max-width: 100%;                  /* ограничение по ширине экрана */
    display: block;                   /* чтобы работало в любых случаях */
  }
}


@media (max-width: 767px) {
  .financing-comparison1,
  .financing-comparison2 {
    display: block;
    width: 90%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }

  .financing-comparison1 thead th,
  .financing-comparison1 td,
  .financing-comparison2 thead th,
  .financing-comparison2 td {
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 12px;
  }

  .financing-comparison1 td:first-child,
  .financing-comparison2 td:first-child {
    min-width: 140px;
  }

  .financing-comparison1 td:last-child,
  .financing-comparison2 td:last-child {
    min-width: 180px;
  }

  .financing-comparison-wrapper2,
  .financing-comparison1-wrapper2 {
    padding: 20px 12px;
  }
}

/* Универсальная обёртка для прокрутки таблиц */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Только для мобилок — уточнение */
@media (max-width: 767px) {
  .table-responsive table {
    min-width: 720px; /* или шире — в зависимости от количества колонок */
  }

  .table-responsive td,
  .table-responsive th {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px;
  }
}

@media (max-width: 767px) {
  .comparison-block3 {
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
  }

  .comparison-block3 .column {
    width: 100%;
  }
}

/* Специально для financing-comparison2 на мобилках */
@media (max-width: 767px) {
  .table-responsive .financing-comparison2 {
    min-width: 720px; /* или больше, если много колонок */
    font-size: 12px;
  }

  .financing-comparison2 thead th,
  .financing-comparison2 td {
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 13px;
  }

  .financing-comparison2 td:first-child {
    min-width: 140px;
    text-align: left;
  }

  .financing-comparison2 td:last-child {
    min-width: 200px;
    text-align: left;
  }

  .financing-comparison-wrapper2 {
    padding: 20px 10px;
  }
}


.quote-block {
  color: #1F299C !important;
  position: relative;
  padding-left: 90px;
  margin: 20px 0;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  display: block;
  cursor: default;
}

.quote-block::before {
  content: '';
  position: absolute;
  left: 6px;
  top: -16px;
  width: 70px;
  height: 70px;
  background-image: url('https://ink-advisory.com/styles/assets/svg_li/arrow-left-5-svgrepo-com.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  filter: brightness(0) saturate(100%) invert(84%) sepia(8%) saturate(1736%) hue-rotate(210deg) brightness(91%) contrast(88%);
  background-position: center;
  opacity: 0.8;
}

.coloredbox {
  background-color:#E3AF64;
  color: white;
      padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}

.article-link {
  color: #0056b3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.article-link:hover {
  color: #003d80;
  text-decoration: underline;
}


.quote-block {
  color: #1F299C !important;
  position: relative;
  padding-left: 90px;
  margin: 20px 0;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  display: block;
  cursor: default;
}

.quote-block::before {
  content: '';
  position: absolute;
  left: 6px;
  top: -16px;
  width: 70px;
  height: 70px;
  background-image: url('https://ink-advisory.com/styles/assets/svg_li/arrow-left-5-svgrepo-com.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  filter: brightness(0) saturate(100%) invert(84%) sepia(8%) saturate(1736%) hue-rotate(210deg) brightness(91%) contrast(88%);
  background-position: center;
  opacity: 0.8;
}