/* содержит стили для блоков: text_card10 */

/* стили для блока text_card10 START */
.publications {
    position: relative;
    padding: 168px 0 64px;
    background-image: url(./../../img/publications-bg.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    overflow: hidden;
    margin: 80px 0;
}

.publications::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90%;
    background: #eba707;
}

.publications__title {
    color: var(--gray-01);
}

.publications__text {
    color: var(--gray-01);
    text-align: justify;
    font-size: 25px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.005px;
    margin-bottom: 40px;
}

.publications__text .popup_text_btn {
    display: none;
}

.publications__slider {
    margin: 40px 0 48px;
}

.publications__slider.owl-carousel .owl-nav {
    top: 54%;
    transform: translateY(-50%);
    width: 100%;
    height: 0;
    display: flex;
    align-items: center;
    margin: 0;
}

.publications__slider.owl-carousel.owl-theme .owl-dots {
    position: absolute;
    display: flex;
    margin-top: 24px;
}

.publications__subtitle {
    color: var(--h-color);
    text-align: center;
    font-family: "Open Sans Condensed";
    font-size: 40px;
    font-weight: 700;
    line-height: 132%;
    letter-spacing: 2px;
}

.publications__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.publications__item {
    width: 100%;
    min-height: 223px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 20px 23px;
}

.publications__item._big {
    grid-row: span 2;
}

.publications__author {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #006;
    font-size: 21px;
    font-style: normal;
    font-weight: 800;
    line-height: 140%;
    letter-spacing: -0.004px;
    margin-bottom: 12px;
}

.publications__item._big .publications__author {
    margin-bottom: 24px;
}

.publications__item .publications__author img {
    width: auto;
    height: 42px;
}

.publications__name {
    color: var(--color-9);
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.004px;
    margin-bottom: 12px;
}

.publications__item._big .publications__name {
    margin-bottom: 15px;
}

.publications__descr {
    color: rgba(32, 32, 32, 0.6);
    font-size: 16px;
    font-weight: 600;
    line-height: 130%;
    height: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
}

.publications__item._big .publications__descr {
    height: auto;
    overflow: visible;
    text-overflow: clip;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
}

.publications__descr p {
    margin-bottom: 14px;
}

.publications__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-radius: 40px;
    border: 1px solid var(--accent4);
    color: var(--accent4);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.42px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4.5px 10px;
    margin-top: auto;
}

.publications__btn::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(./../../img/arrow-red-right.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.publications__show_btn {
    display: none;
}
/* стили для блока text_card10 END */

@media (max-width: 1280px) {
    .publications__slider {
        padding-bottom: 54px;
    }

    .publications__slider.owl-carousel .owl-stage-outer {
        margin-bottom: 20px;
    }

    .publications__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .publications__slider.owl-carousel .owl-nav .owl-next {
        right: -20px;
    }

    .publications__slider.owl-carousel .owl-nav .owl-prev {
        left: -20px;
    }
}

@media (max-width: 768px) {
    .publications {
        padding: 100px 0 30px;
        margin: 40px 0;
    }

    .publications__title {
        margin-bottom: 24px;
    }

    .publications__text {
        font-size: 18px;
        letter-spacing: -0.004px;
        margin-bottom: 24px;
    }

    .publications__text ._mobile_hidden {
        display: none;
    }

    .publications__text .popup_text_btn {
        display: inline-block;
        margin-top: 24px;
        background-color: #fff;
        color: var(--accent3);
    }

    .publications__slider {
        max-width: 350px;
        margin: 24px auto 0;
    }

    .publications__slider.owl-carousel .owl-stage-outer {
        margin-bottom: 0;
    }

    .publications__list {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 24px;
    }

    .publications__subtitle {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .publications__item {
        display: none;
        min-height: 205px;
    }

    .publications__item:nth-child(1),
    .publications__item:nth-child(2) {
        display: flex;
    }

    .publications__slider.owl-carousel .owl-nav {
        top: auto;
        bottom: 22px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        width: 236px;
        height: 0;
        margin: 0;
    }

    .publications__slider.owl-carousel .owl-nav .owl-prev,
    .publications__slider.owl-carousel .owl-nav .owl-next,
    .publications__slider.owl-carousel .owl-nav .owl-prev:hover,
    .publications__slider.owl-carousel .owl-nav .owl-next:hover {
        width: 44px;
        height: 44px;
    }

    .publications__slider.owl-carousel .owl-nav .owl-next {
        right: 0;
    }

    .publications__slider.owl-carousel .owl-nav .owl-prev {
        left: 0;
    }

    .publications__slider.owl-carousel.owl-theme .owl-dots {
        display: flex;
        margin-top: 20px;
    }

    .publications__show_btn {
        display: inline-block;
        color: var(--accent4);
        font-size: 14px;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.42px;
        text-transform: uppercase;
        border-radius: 40px;
        border: 1px solid var(--accent4);
        background-color: transparent;
        padding: 4px 10px;
        margin: 24px auto 0;
    }
}

@media (max-width: 500px) {
    .publications {
        padding: 77px 0 30px;
    }
}
