.title-0 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 86px;
    line-height: 100%;
    letter-spacing: 0em;
}

.title-1 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 64px;
    line-height: 105%;
    letter-spacing: 0em;
}

.title-2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 56px;
    line-height: 108%;
    letter-spacing: 0em;
}

.title-3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 44px;
    line-height: 112.00000000000001%;
    letter-spacing: 0em;
}

.title-4 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 32px;
    line-height: 114.99999999999999%;
    letter-spacing: 0em;
}

.title-5 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: 0em;
}

.title-6 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0em;
}

.text-xl {

    font-weight: 300;

    font-size: 22px;

    line-height: 145%;
    letter-spacing: 0em;

}

.text-l {

    font-weight: 300;

    font-size: 20px;

    line-height: 145%;
    letter-spacing: 0em;
}

.text-m {

    font-weight: 300;

    font-size: 18px;

    line-height: 145%;
    letter-spacing: 0em;
}

.text-s {

    font-weight: 300;

    font-size: 16px;

    line-height: 145%;
    letter-spacing: 0em;
}

.text-xs {

    font-weight: 300;

    font-size: 14px;

    line-height: 140%;
    letter-spacing: 0em;
}

.button-l {

    font-weight: 600;
    font-size: 18px;

    line-height: 100%;
    letter-spacing: 0em;
}

.button-m {

    font-weight: 600;
    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0em;
}

.button-s {

    font-weight: 600;
    font-size: 14px;

    line-height: 100%;
    letter-spacing: 0em;
}

.text-menu {

    font-weight: 500;
    font-size: 15px;

    line-height: 100%;
    letter-spacing: 0em;
}

/* Пункты основного меню — в шапке и в мобильной шторке */
.text-nav {

    font-weight: 500;
    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0em;
}

.text-link {

    font-weight: 500;
    font-size: 15px;

    line-height: 120%;
    letter-spacing: 0em;
}

.text-label {

    font-weight: 600;
    font-size: 13px;

    line-height: 120%;
    letter-spacing: 0em;
}

.text-input {

    font-weight: 400;

    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0em;
}

.text-caption {

    font-weight: 400;

    font-size: 13px;

    line-height: 140%;
    letter-spacing: 0em;
}

.text-badge {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0em;

}

/* Описание в первом экране и заголовок карточки категории */
.text-desc {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0em;
}

/* Текст карточки категории */
.text-card {
    font-weight: 400;
    font-size: 15px;
    line-height: 120%;
    letter-spacing: 0em;
}

/* Ссылка внутри карточки категории */
.text-action {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0em;
}

/* Ссылки «Читать» и «Вернуться к новостям» */
.text-more {
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0em;
}

/* Текст кнопок .btn */
.text-button {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0em;
}

/* Значения показателей: 2017, 20+, 700+ */
.number-1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 92px;
    line-height: 100%;
    letter-spacing: 0em;
}

/* Нумерация пунктов: 01, 02, 03 */
.number-2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 92px;
    line-height: 100%;
    letter-spacing: 0em;
}

/* Пункт списка географии */
.list-1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0em;
}

/* Надпись над заголовком первого экрана */
.badge-1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0em;
}

/* КНОПКИ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 245px;
    height: 50px;
    padding: 0 28px;
    background-color: var(--button);
    border: 0.5px solid #E8F0FA;
    box-shadow: 0px 6px 20px 0px #0000001A;
    text-align: center;
    cursor: pointer;
}

.btn--outline {
    background-color: transparent;
}

.btn:hover {
    opacity: 0.85;
}

/* ШАПКА СЕКЦИИ */

.section-heading__badge {
    display: block;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.section-heading__title {
    margin-bottom: 20px;
}

/* ХЛЕБНЫЕ КРОШКИ */

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #C7D3E2;
}

.breadcrumb__item:not(:first-child)::before {
    content: '/';
    color: #C7D3E2;
}

.breadcrumb__link {
    color: #C7D3E2;
}

.breadcrumb__link:hover {
    opacity: 0.7;
}

.breadcrumb__current {
    color: #FFFFFF;
}

/* ПАНЕЛЬ ФИЛЬТРА */

.filter-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.filter-svg {
    position: relative;
    height: 3px;
    max-width: 100%;
    overflow: hidden;
}

.filter-svg:first-child {
    margin-bottom: 20px;
}

.filter-svg:last-child {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.filter-svg svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.filter-bar__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
}

.filter-bar__tab {
    padding: 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid transparent;
}

.filter-bar__tab:hover {
    opacity: 0.7;
}

.filter-bar__tab--active {
    color: var(--button);
    border-bottom-color: var(--button);
}

.filter-bar__search {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid var(--text-primary);
}

.filter-bar__search-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.filter-bar__search-field {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid var(--text-primary);
    max-width: 773px;
}

.filter-bar__search-icon {
    display: flex;
    flex-shrink: 0;
}

.filter-bar__search-icon svg {
    display: block;
}

.filter-bar__search-input {
    flex: 1;
    height: 54px;
}

.filter-bar__search-input::placeholder {
    color: var(--caption);
}

/* У .btn ширина 100% и max-width 245px — здесь кнопка по своему размеру */
.filter-bar__search-btn {
    flex-shrink: 0;
    width: 265px;
    max-width: none;
    height: 54px;
}

.filter-bar__search-hint {
    margin-top: 10px;
    color: #C7D3E2;
}

.filter-bar__pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.filter-bar__page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--text-primary) 25%, transparent);
}

.filter-bar__page:hover {
    opacity: 0.7;
}

.filter-bar__page--active {
    background-color: var(--button);
    border-color: var(--button);
}

/* СПИСОК ДОКУМЕНТОВ */

.doc-list {
    background-color: var(--cards);
    padding: 20px;
    border: 1px solid #FFFFFF;
    box-shadow: 0px 4px 2px 0px #FFFFFF1A;
}

.doc-list__title {
    padding-bottom: 24px;
    border-bottom: 1px solid #FFFFFF;
    margin-bottom: 40px;
}

.doc-list__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doc-list__item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: max-content max-content;
    gap: 10px 20px;
    padding-bottom: 20px;
}

.doc-list__item:not(:last-child) {
    border-bottom: 1px solid #FFFFFF;
}

.doc-list__group {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 10px;
    grid-column: 2;
    grid-row: 1 / 3;
}

/* Расширение файла в рамке */
.doc-list__ext {
    width: max-content;
    flex-shrink: 0;
    padding: 8px 10px;
    border: 1px solid var(--text-primary);
}

/* Ссылка со стрелкой */
.doc-list__link {
    display: flex;
    align-items: center;
    align-self: flex-end;
    gap: 10px;
}

.doc-list__link::after {
    content: '';
    flex-shrink: 0;
    width: 53px;
    height: 16px;
    background-color: var(--button);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='53' height='16' viewBox='0 0 53 16'%3E%3Cline y1='7.5' x2='32' y2='7.5' stroke='%23000'/%3E%3Cpath d='M45.3751 2.43945L50.9358 8.00011L45.3751 13.5608L44.3145 12.5001L48.8145 8.00011L44.3145 3.50011L45.3751 2.43945Z'/%3E%3Cpath d='M39.375 7.25H50V8.75H39.375V7.25Z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='53' height='16' viewBox='0 0 53 16'%3E%3Cline y1='7.5' x2='32' y2='7.5' stroke='%23000'/%3E%3Cpath d='M45.3751 2.43945L50.9358 8.00011L45.3751 13.5608L44.3145 12.5001L48.8145 8.00011L44.3145 3.50011L45.3751 2.43945Z'/%3E%3Cpath d='M39.375 7.25H50V8.75H39.375V7.25Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.doc-list__link:hover {
    opacity: 0.7;
}

/* КАРТОЧКА С ФОТОГРАФИЕЙ */

.media-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: var(--cards);
    border: 1px solid #FFFFFF;
    box-shadow: 0px 4px 2px 0px #FFFFFF1A;
}

a.media-card:hover {
    opacity: 0.85;
}

.media-card__media {
    position: relative;
    display: block;
}

.media-card__media::after {
    background: #FFFFFF66;
    inset: 0;
    content: '';
    display: block;
    position: absolute;
}

.media-card__media img {
    display: block;
    width: 100%;
    height: 177px;
    object-fit: cover;
}

.media-card__icon {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid var(--text-primary);
}

.media-card__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.media-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 20px;
    position: relative;
}

.media-card__body::before {
    position: absolute;
    width: 100%;
    max-width: 285px;
    height: 1px;
    content: '';
    background-color: #C7D3E2;
    top: 0;
    right: 0;
}

.media-card__text {
    color: var(--text-soft);
}

.media-card__action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.media-card__action::before {
    content: '';
    order: 1;
    flex: 1;
    min-width: 20px;
    height: 1px;
    background-color: var(--button);
}

.media-card__action::after {
    content: '';
    order: 2;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background-color: var(--button);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M3.3 0.9L6.4 4L3.3 7.1' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M3.3 0.9L6.4 4L3.3 7.1' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* НУМЕРОВАННЫЙ СПИСОК */

.numbered-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.numbered-list__item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 24px;
    position: relative;
}

.numbered-list__item:nth-child(odd):last-child {
    grid-column: 1 / 3;
}

.numbered-list__number {
    flex-shrink: 0;
    color: var(--button);
    align-self: center;
}

.numbered-list__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.numbered-list__list {
    display: grid;
    gap: 8px;
}

.numbered-list__list--cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}

.numbered-list__item:nth-child(odd):last-child .numbered-list__body {
    width: 100%;
}

.numbered-list__sep {
  height: calc(100% - 10px);
  width: 1px;
  margin-top: 5px;
  background-color: var(--button);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.numbered-list__sep::before,
.numbered-list__sep::after {
  border: 0.2px solid #0D4EA6;
  content: '';
  display: block;
  width: 5px;
  border-radius: 50%;
  height: 5px;
  flex-shrink: 0;
}

.numbered-list__sep::before {
  margin-top: -3px;
}
.numbered-list__sep::after {
  margin-bottom: -3px;
}

.numbered-list__sep span {
  border: 0.2px solid #0D4EA6;
  display: block;
  width: 5px;
  border-radius: 50%;
  height: 5px;
  flex-shrink: 0;
  background-color: #0D4EA6;
}

.numbered-list__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1px;
  background-color: var(--button);
}

.numbered-list__bottom::before,
.numbered-list__bottom::after {
  border: 0.2px solid #0D4EA6;
  content: '';
  display: block;
  width: 5px;
  border-radius: 50%;
  height: 5px;
  flex-shrink: 0;
}

/* ЛОГОТИП */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 20px;
}

.logo__img {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 79px;
}

.logo__text {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    color: var(--logo-text);
}

@media (max-width: 1280px) {
    .logo--header .logo__img {
        height: 40px;
    }

    .logo--header .logo__text {
        font-size: 22px;
    }
}

@media (max-width: 1080px) {

    .logo--header .logo__img {
        height: 40px;
    }

    .logo--header .logo__text {
        font-size: 16px;
    }

    .title-1 {
        font-weight: 700;
        font-size: 48px;
        line-height: 105%;
    }

    .title-2 {
        font-weight: 700;
        font-size: 40px;
        line-height: 110.00000000000001%;
    }

    .title-3 {
        font-weight: 700;
        font-size: 32px;
        line-height: 114.99999999999999%;
    }

    .title-4 {
        font-weight: 700;
        font-size: 26px;
        line-height: 120%;
    }

    .text-badge {
        font-weight: 400;
        font-size: 14px;
        line-height: 140%;

    }

    .filter-bar__tabs {
        gap: 24px;
    }

    .doc-list {
        padding: 10px;
    }

    .doc-list__item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 0;
        gap: 10px;
    }

    .doc-list__group {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        grid-row: initial;
        grid-column: initial;
        flex-direction: row;
    }

    .doc-list__title {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .numbered-list {
        gap: 30px 40px;
        grid-template-columns: 1fr;
    }

    .numbered-list__item {
        gap: 20px;
    }

    
}

@media (max-width: 768px) {

    .title-0 {
        font-size: 41px;
        line-height: 112%;
    }

    .title-6 {
        font-size: 20px;
    }

    .text-l {
        font-size: 16px;
    }

    .text-m {
        font-size: 16px;
    }

    .text-s {
        font-size: 14px;
        line-height: 140%;
    }

    .text-desc {
        font-size: 16px;
        line-height: 145%;
    }

    .text-card {
        font-size: 14px;
        line-height: 140%;
    }

    .text-action {
        font-weight: 600;
    }

    .text-more {
        font-weight: 600;
    }

    .text-xl {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 26px;
        line-height: 120%;
    }

    .number-1 {
        font-size: 48px;
        line-height: 105%;
    }

    .number-2 {
        font-size: 61px;
    }

    .list-1 {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 16px;
        line-height: 145%;
    }

    .badge-1 {
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 13px;
        line-height: 120%;
    }

    .section-heading__badge {
        margin-bottom: 20px;
    }

    .button-l {
        font-size: 16px;
    }

    .button-s {
        font-weight: 400;
        line-height: 140%;
    }

    .filter-bar__tabs {
        flex-direction: column;
        gap: 20px;
        border-bottom: 0;
        padding: 0;
    }

    .filter-svg {
        display: none;
    }

    .filter-bar__tab {
        padding-bottom: 0;
        border-bottom: 0;
        padding: 0;
    }

    .filter-wrapper {
        margin-bottom: 40px;
    }

    .filter-bar__search {
        margin-bottom: 30px;
        padding: 16px;
    }

    .filter-bar__search-row {
        flex-direction: column;
        gap: 12px;
    }

    .filter-bar__search-field {
        padding: 0 12px;
    }

    .filter-bar__search-btn {
        width: 100%;
    }

    .filter-bar__pagination {
        margin-top: 30px;
    }

    .doc-list {
        padding: 16px;
    }

    .doc-list__head {
        flex-direction: column;
        gap: 10px;
    }

    .doc-list__link {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .media-card__media img {
        height: 150px;
    }

    .media-card__icon {
        left: 10px;
        bottom: 10px;
        width: 44px;
        height: 44px;
    }

    .media-card__icon img {
        width: 32px;
        height: 32px;
    }

    .media-card__body {
        padding: 10px;
    }

    .media-card__action {
        padding-top: 0;
    }

    .numbered-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .numbered-list__list--cols {
        grid-template-columns: 1fr;
    }

    .numbered-list__item {
        gap: 16px;
        padding-bottom: 20px;
    }

    .numbered-list__item:nth-child(odd):last-child {
        grid-column: 1;
    }

    .text-link {
        font-size: 12px;
    }
}