:root {
  --gap: 3.6rem;
}
@media (max-width: 767px) {
  :root {
      --gap: 2rem
  }
}

.card, .head {
  background-color: #FFF
}

li {
    font-weight: 300;
}

@font-face {
  font-family: "Museo Sans Cyrl 300";
  src: local("Museo Sans Cyrl 300"), local("MuseoSansCyrl-300"), url(fonts/museosanscyrl_300.woff) format("woff");
  font-weight: 300;
  font-display: swap;
  font-style: normal
}

@font-face {
  font-family: "Museo Sans Cyrl 500";
  src: local("Museo Sans Cyrl 500"), local("MuseoSansCyrl-500"), url(fonts/museosanscyrl_500.woff) format("woff");
  font-weight: 500;
  font-display: swap;
  font-style: normal
}

@font-face {
  font-family: "Museo Sans Cyrl 700";
  src: local("Museo Sans Cyrl 700"), local("MuseoSansCyrl-700"), url(fonts/museosanscyrl_700.woff) format("woff");
  font-weight: 700;
  font-display: swap;
  font-style: normal
}

.head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid #E0E0E0
}

.card, .head-inner, .pinned-card {
  position: relative
}

.head-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0
}

.header-left {
  display: flex;
  align-items: center;
  height: 40px;
}

.header-left .header__logo {
  width: auto;
  height: 25px
}

.header-left__line {
  height: 30px;
  border-left: 1px solid #080808;
  opacity: .24;
  margin-left: 18px
}

.card:hover, .pinned-card:hover {
  opacity: .8
}

.header-left__text {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 19px;
  margin-left: 15px;
  color: #080808
}

.header-link {
  color: #080808;
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 19px;
}

.foot-inner, .footer-copyright, .footer-link {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #4D4D4D;
  line-height: 19px
}

.foot {
  padding-bottom: 5.7rem;
  padding-top: 8rem
}

.foot-inner {
  display: flex;
  justify-content: space-between
}

.footer-left, .footer-right {
  display: flex;
  justify-self: flex-start
}

.footer-copyright {
  margin-right: 2rem
}

.footer-link + .footer-link {
  margin-left: 2rem
}

.footer-link:hover {
  color: #FF2E2E
}

@media (max-width: 1024px) {
  .foot {
    padding: 3rem 4rem 4rem
  }
}

@media (max-width: 650px) {
  .foot {
    padding: 2.5rem 2.6rem 3rem
  }

  .foot-inner {
    flex-direction: column-reverse;
    gap: 20px;
    align-items: flex-start !important;
  }
  .footer-left {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .foot {
    padding: 2.5rem 2.6rem 3rem
  }



  .footer-link + .footer-link {
    margin-left: 0;
    margin-top: 1rem
  }


  .card-tag {
    height: auto !important;
    padding: 10px 15px !important;
    text-align: center !important;
  }

  .card-header{
    gap: 10px;
  }

}

.footer-banner {
  height: 350px;
  background: no-repeat padding-box #EDF2FC;
  display: flex;
  align-items: center;
  padding-bottom: 2px;
}

.footer-banner-content {
  height: 100%;
  display: flex;
  justify-content: space-between
}

.cards, .footer-banner-left {
  flex-direction: column
}

.footer-banner-left {
  display: flex;
  justify-content: center;
  width: 41%
}

.footer-banner__title {
  font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 20px;
  color: #080808
}

.footer-banner__text {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 21px;
  line-height: 30px;
  margin-bottom: 30px
}

.btn--banner {
  width: 180px;
  padding-top: 1px
}

.footer-banner-right {
  height: 100%;
  width: 48.75%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 2px solid #EDF2FC
}

.footer-banner__a {
  width: 100%;
  margin-bottom: -13%
}

.footer-banner__img {
  box-shadow: 0 5px 25px #27427114;
  border-radius: 4px
}

@media (max-width: 1024px) {
  .footer-banner {
    height: auto;
    padding-top: 5.6rem;
    padding-right: 0
  }

  .footer-banner-left {
    justify-content: flex-start;
    width: 42%;
    padding-bottom: 4.6rem
  }

  .footer-banner__title {
    font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px
  }

  .footer-banner__text {
    font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 21px;
    line-height: 30px
  }

  .footer-banner-right {
    height: auto;
    width: 50.75%;
    justify-content: flex-end
  }

  .footer-banner__a {
    margin-bottom: -10%;
    margin-right: -45%;
    width: auto
  }
}

.card-date, .card-tag {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #4F84E2
}

@media (max-width: 480px) {
  .head-inner {
    flex-direction: column;
    align-items: flex-start
  }

  .header-right {
    width: 100%
  }

  .btn--header {
    margin-top: 2rem;
    width: 100%
  }

  .footer-banner {
    height: auto;
    padding: 4rem 2.6rem
  }

  .footer-banner-content {
    flex-direction: column
  }

  .footer-banner-left {
    width: 100%;
    padding-bottom: 0
  }

  .footer-banner__title {
    width: 85%
  }

  .footer-banner__text {
    width: 90%
  }

  .footer-banner-right {
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 2px solid #EDF2FC;
    width: 100%
  }

  .footer-banner__a {
    margin-bottom: 0;
    margin-right: 0
  }

  .btn--banner {
    margin-bottom: 5rem
  }
}

.card, .card-header, .cards {
  width: 100%;
  display: flex
}

.card {
  padding: 40px 45px 45px;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  border-radius: 12px;
  margin-bottom: 25px;
}

.card + .card {
  margin-top: 0;
}

.card-header {
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.card-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.card-tag {
  height: 25px;
  padding: 0 15px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F7F8FA;
  border-radius: 100px;
  font-weight: 300;
  line-height: 18px
}

.card-link, .pinned-card-link {
  height: 100%;
  top: 0;
  left: 0;
  width: 100%
}

.card-tag + .card-tag {
  margin-left: 0
}

.card-date {
  display: flex;
  font-weight: 300;
  line-height: 15px;
  text-transform: uppercase;
  text-wrap: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

.card-title, .pinned-card-title {
  font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif
}

.card-link {
  position: absolute
}

.card-title {
  margin-top: 30px;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  color: #080808
}

.card-text {
  margin-top: 20px;
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: #080808
}

.card-content {
  display: none
}

.card-image-wrapper {
  margin-top: 30px;
  border-radius: 12px;
}
.card-image {
  border-radius: 12px;
}
.card-image-wrapper.image-skeleton {
  border-radius: 12px;
}

.pinned-cards {
  width: 100%;
  margin-bottom: 25px
}

.pinned-card {
  width: 100%;
  padding: 45px 150px 45px 45px;
  border: 2px solid #FDB900;
  border-radius: 12px;
  background-color: #FEFBF4
}

.index .head, .index-topic {
  border-bottom: 1px solid #E0E0E0
}

.index, .index .head {
  background-color: #F7F8FA
}

.pinned-card + .pinned-card {
  margin-top: 25px
}

.pinned-card-link {
  position: absolute;
  z-index: 1
}

.pinned-card-icon {
  position: absolute;
  top: 30px;
  right: 30px
}

.pinned-card-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  color: #080808
}

@media (max-width: 960px) {
  .card-title, .pinned-card-title {
    font-size: 30px;
    line-height: 36px
  }
  .gh-article-title {
    font-size: 40px;
    line-height: 50px;
  }

  .card {
    padding: 25px 5px 5px;
    border-radius: 10px
  }

  .card-header, .card-title {
    padding: 0 20px
  }

  .card + .card {
    margin-top: 15px
  }

  .card-text {
    padding: 0 25px
  }

  .card-content {
    display: none
  }

  .card-image-wrapper {
    margin-top: 21px;
    border-radius: 10px;
  }
  .card-image {
    border-radius: 10px
  }
  .card-image-wrapper.image-skeleton {
    border-radius: 10px;
  }

  .pinned-card {
    padding: 25px 60px 25px 25px;
    border-radius: 10px
  }
}

.toc {
  display: table;
  z-index: 1
}

.toc-link {
  color: var(--color-primary-text) ;
  text-decoration: none !important;
  font-size: 19px !important;
  line-height: 31px !important;
  display: table-row
}

.toc-link-number {
  display: table-cell;
  white-space: nowrap
}

.toc-link-text {
  padding-left: 10px;
  display: table-cell
}

.toc-header {
  margin-top: -50px !important;
  padding-top: calc(50px + 4.8rem) !important
}

.index-outer {
  padding: 0 15px
}

.index-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.index-content {
  flex-direction: column
}

.index .head {
  display: flex;
  align-items: center
}

.index .head-outer {
  padding: 2rem 15px;
}

.index-main {
  margin-top: 124px
}

.index-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between
}

.index-section, .index-sidebar {
  flex-direction: column;
  width: 100%;
  display: flex
}

.index-section {
  max-width: 750px
}

.index-sidebar {
  max-width: 400px;
  margin-left: 50px
}

.index-topics {
  width: 100%;
  top: 100px;
  margin-top: 50px;
  position: sticky;
  display: flex;
  flex-direction: column
}

.index-topics-title {
  margin-bottom: 20px;
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 15px;
  color: #4D87E2
}

.index-topic {
  width: 100%;
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.index-topic + .index-topic {
  margin-top: 8px
}

.index-topic-name {
  font-family: "Museo Sans Cyrl 500", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  color: #333
}

.index-topic-count {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: #C2C2C2
}
.learn-more {
  width: 100%;
  padding: 40px 0;
  background-color: #ECF1FC;
  border: 2px solid #C4D7F6;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (max-width: 1150px) {
  .right-panel-container .learn-more {
     display: none;
  }
}

.learn-more-head {
  width: 100%;
  max-height: 274px;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  margin-left: 38px;
}

.learn-more-link {
  height: 100%;
  margin-right: -19%
}

.learn-more-link-img {
  width: auto;
  max-height: 274px;
  height: 100%;
  box-shadow: 0 1px 4px #2742711F;
  border-radius: 4px
}

.learn-more-content {
  padding: 0 70px 0 38px;
  display: flex;
  flex-direction: column
}

.learn-more-title {
  margin-top: 47px;
  font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: #080808
}

.learn-more-button, .index .learn-more-text, .index .section-links {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300
}

.learn-more-text {
  margin-top: 20px;
  font-size: 18px;
  line-height: 24px;
  color: #080808;
  font-weight: 300;
}

.learn-more-button {
  margin-top: 30px;
  width: 200px;
  height: 40px;
  background-color: #4D87E2;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  line-height: 18px;
  color: #FFF
}

.learn-more-button:hover {
  background-color: #8ab0ec
}

.index .learn-more {
  width: 100%;
  padding: 40px 0;
  background-color: #ECF1FC;
  border: 2px solid #C4D7F6;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.index .section-links, td {
  border-top: 1px solid #E0E0E0
}

.index .learn-more-head {
  width: 100%;
  max-height: 274px;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  margin-left: 38px;
}

.index .learn-more-link {
  height: 100%;
  margin-right: -19%;
}

.index .learn-more-link-img {
  width: auto;
  max-height: 274px;
  height: 100%;
  box-shadow: 0 1px 4px #2742711F;
  border-radius: 4px
}

.index .learn-more-content {
  padding: 0 70px 0 38px;
  display: flex;
  flex-direction: column
}

.index .learn-more-title {
  margin-top: 47px;
  font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: #080808
}

.index .learn-more-button, .index .learn-more-text, .index .section-links {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif;
  font-weight: 300
}

.index .learn-more-text {
  margin-top: 20px;
  font-size: 18px;
  line-height: 24px;
  color: #080808
}

.index .learn-more-button {
  margin-top: 30px;
  width: 200px;
  height: 40px;
  background-color: #4D87E2;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  line-height: 18px;
  color: #FFF
}

.index .learn-more-button:hover {
  background-color: #8ab0ec
}

.section-links-section-container {
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gap);
  display: flex;
  justify-content: center;
  background-color: #EDF2FC;
}
.section-links {
  font-size: 16px;
  line-height: 19px;
  display: flex;
}
.index .section-links {
  margin-top: 70px;
  padding: 0;
  font-size: 16px;
  line-height: 19px;
  display: flex
}

.section-links-container {
  width: 100%;
  padding: 50px 0 30px;
  display: flex;
  justify-content: space-between
}

 .section-links-column {
  display: flex;
  flex-direction: column
}

.section-links-column__title {
  width: 100%;
  font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #080808;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.btn--blue, .index .footer-left, table {
  font-family: "Museo Sans Cyrl 300", Helvetica, Arial, sans-serif
}

.section-links-column__icon {
  width: 10px;
  height: 10px
}

.section-links-column__link {
  margin-top: 13px;
  font-weight: 300;
  color: #333333
}


.index .footer-foreign {
  padding-top: 30px;
  padding-bottom: 40px
}

.index .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.index .footer-left {
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  color: #4D4D4D
}

.index .footer-flags {
  display: flex;
  align-items: center
}

.index .footer-flag {
  width: 24px;
  height: 16px
}

.index .footer-flag + .footer-flag {
  margin-left: 12px
}

@media (max-width: 960px) {
  .index-main {
    margin-top: 88px
  }

  .index-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center
  }

  .index-sidebar {
    margin-left: 0;
    max-width: 750px !important;
  }

  .index .learn-more {
    margin-top: 40px;
    border-radius: 10px
  }

  .index-topics {
    position: static
  }
  .section-links-section-container{
    padding-top: 5px;
  }

  .section-links {
    border-bottom: none
  }

   .section-links-container {
    width: 100%;
    padding: 0;
    flex-direction: column;
    justify-content: flex-start
  }

   .section-links-column {
    width: 100%;
    padding: 10px 0 13px;
    border-bottom: 1px solid #E0E0E0
  }

   .section-links-column__title {
    cursor: pointer
  }

   .section-links-column__link {
    display: none
  }

   .section-links-column.open .section-links-column__link {
    display: flex
  }

   .section-links-column.open .section-links-column__icon {
    transform: rotate(45deg)
  }

  .index .footer-foreign {
    padding-top: 40px
  }

  .index .footer-container {
    width: 100%;
    padding: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start
  }

  .index .footer-left {
    line-height: 26px
  }

  .index .footer-flags {
    display: none
  }
}

.btn--blue {
  width: 200px;
  height: 40px;
  background: no-repeat padding-box #4A85E5;
  border-radius: 5px;
  font-weight: 300;
  font-size: 15px;
  line-height: 18px;
  color: #FFF;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center
}

.card-duration {
  color: #4D4D4D
}

table {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  max-width: 680px;
  border-collapse: collapse;
  margin: 0 0 22px;
  color: #080808;
  font-weight: 300;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: normal;
  orphans: 2;
  text-align: left;
  text-transform: none;
  white-space: normal;
  widows: 2;
  word-spacing: 0;
  -webkit-text-stroke-width: 0;
  background-color: #fff;
  text-decoration-thickness: initial;
  text-decoration-style: initial;
  text-decoration-color: initial
}

tbody, tr {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

td {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  text-align: left;
  border-bottom: 1px solid #E0E0E0;
  padding: 9px 10px
}

.mobile-show {
  display: none
}

.mobile-hide {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Image skeleton shimmer */
@keyframes image-skeleton-shimmer {
  0% { opacity: 0; }
  33.333% { opacity: 1; }
  66.666% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes image-skeleton-shimmer-alt {
  0% { opacity: 0; }
  33.333% { opacity: 0; }
  66.666% { opacity: 1; }
  100% { opacity: 0; }
}
.image-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f8f9fa 0%, #eceff0 0%);
  border-radius: 4px;
}
.image-skeleton img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.image-skeleton::before,
.image-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.image-skeleton::before {
  background: linear-gradient(90deg, #f8f9fa 0%, #eceff0 100%);
  animation: image-skeleton-shimmer 900ms linear infinite;
  will-change: opacity;
}
.image-skeleton::after {
  background: linear-gradient(90deg, #f8f9fa 99.99%, #d0ddf5 100%);
  animation: image-skeleton-shimmer-alt 900ms linear infinite;
  will-change: opacity;
}

.gh-article-image.image-skeleton {
  position: relative;
  border-radius: 4px;
}

.gh-content .kg-image-card {
  position: relative;
}

.gh-content .kg-image-card .kg-image-card-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f8f9fa 0%, #eceff0 0%);
  border-radius: 10px;
}

.gh-content .kg-image-card .kg-image-card-media::before,
.gh-content .kg-image-card .kg-image-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.gh-content .kg-image-card .kg-image-card-media::before {
  background: linear-gradient(90deg, #f8f9fa 0%, #eceff0 100%);
  animation: image-skeleton-shimmer 900ms linear infinite;
  will-change: opacity;
}

.gh-content .kg-image-card .kg-image-card-media::after {
  background: linear-gradient(90deg, #f8f9fa 99.99%, #d0ddf5 100%);
  animation: image-skeleton-shimmer-alt 900ms linear infinite;
  will-change: opacity;
}

.gh-content .kg-image-card .kg-image-card-media .kg-image,
.gh-content .kg-image-card .kg-image-card-media img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.learn-more-head.image-skeleton {
  aspect-ratio: 471 / 258;
  position: relative;
  border-radius: 4px;
  width: calc(100% + 40%);
}

.learn-more-head.image-skeleton .learn-more-link {
  position: relative;
  z-index: 1;
}
.learn-more-link-img.image-skeleton {
  aspect-ratio: 471 / 258;
  position: relative;
  display: block;
  width: 100%;
  border-radius: 4px;
}

.not-found-image-wrapper {
  width: 220px;
  aspect-ratio: 220 / 200;
  position: relative;
  border-radius: 4px;
}
.not-found-image-wrapper img {
  width: 220px;
  height: auto;
}

@media (max-width: 960px) {
  .mobile-show {
    display: flex
  }

  .mobile-hide {
    display: none
  }

  /* Sidebar skeleton: image width: auto, height: 100% (differs from general .image-skeleton img) */
  .index .learn-more-head.image-skeleton img {
    width: auto;
    height: 100%;
  }

  /* Sidebar skeleton: limit width to actual image size (max-height 274px) */
  .index .learn-more-head.image-skeleton {
    min-width: auto;
    max-width: calc(274px * 501 / 274);
    max-height: 274px;
  }

  /* TableOfContents skeleton: same — limit to max-height 274px */
  .right-panel-container .learn-more-head.image-skeleton {
    width: auto;
    max-width: calc(274px * 501 / 274);
    max-height: 274px;
  }
}
