/* html {
 overflow: auto;
 height: auto;
}

body {
 overflow: auto;
 height: auto;
} */
.header_authors {
    position: fixed;
}
.authors {
    width: 100%;
    height: 100%;
    background-image: url(../img/main_bg_5.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 55px;
    padding-bottom: 55px;
    background-color: #3913054d;
    position: relative;
    z-index: 1; 
}
.authors::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #beb3a4c9;
    z-index: -1;
}

.container {
}

.container_authors {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: scroll;
    overflow-x: hidden;
}

.authors_title {
    color: #fff;
    font-family: Volshebstvo;
    text-decoration: none;
    font-size: 2em;
    padding-top: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.authors_title::first-letter {
    color: #c0392b;
    text-transform: uppercase;
    font-size: 2em;
  }

.authors_block {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.authors_block__item {
    width: 33.333%;
    height: max-content;
    /* background-color: #ffe7c6c2; */
    padding: 40px 20px;
    cursor: pointer;
    transition: .3s ease-in-out;
}

.authors_block__item:hover {
    /* transform: scale(1.02); */
}

.authors_block__item__logo {
    width: 250px;
    height: 50px;
    margin: 0px auto 0px;
}
.authors_block__item__logo img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.authors_block__item__text {
    font-family: Manrope;
    line-height: 1.6;
    color: rgb(26, 26, 26);
    margin: 0px auto;
    font-weight: 600;
}

.authors_block__item__text p {
    text-indent: 30px;
    text-align: justify;
}

.authors_block__item__text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    /* opacity: 0; */
    padding-top: 10px;
}

.authors_block__item.is-open .authors_block__item__text {
    max-height: 1000px;
    opacity: 1;
}

.authors_block__item__logo[data-toggle] {
    cursor: pointer;
    user-select: none;
}

@media (max-width: 1024px) {
    .authors_title {
        padding-top: 0px;
        font-size: 1.5em;
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .authors_block__item {
        width: 100%;
    }
    .authors_block {
        flex-direction: column;
        gap: 30px;
    }
}
@media (max-width: 576px) {

}

.authors_block__item__text {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

/* На всякий случай — на десктопе тоже без ограничения */
@media (min-width: 1024px) {
    .authors_block__item__text {
        max-height: none;
    }
}