﻿.page-resources {
    background-color: var(--site-bg, var(--bg));
}

/*intro section*/

.page-resources .section-intro {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 760px;
    background-image: url('/images/pages/waves-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}


.page-resources .section-intro .intro-img {
    position: absolute;
    bottom: 0px;
    right: calc((100vw - 1200px) / 2 + 30px);
    pointer-events: none;
    user-select: none;
    max-width: none;
    z-index: 2;
}



.page-resources .section-intro .content-container {
    height: 532px;
    padding-right: 610px;
    gap: 24px;
    display: block;
    padding-top: 170px;
    z-index: 4;
    position: relative;
}

.page-resources .section-intro h1 {
    line-height: 1.3;
}

.page-resources .section-intro p {
    line-height: 1.4;
    margin-top: 14px;
}

/*neurofeedback*/

.page-resources .section-neurofeedback {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    min-height: 460px;
    background-image: url('/images/pages/how-intro-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.page-resources .section-neurofeedback .neurofeedback-img {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.page-resources .section-neurofeedback .content-container {
    height: 370px;
    padding-left: 350px;
    gap: 24px;
    display: block;
    padding-top: 120px;
    position: relative;
}



.page-resources .section-neurofeedback p {
    line-height: 1.4;
    margin-top: 18px;
    margin-bottom: 18px;
}





/*research*/

.page-resources .section-research {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 20px;
}

.page-resources .section-research p {
    margin-top: 10px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.page-resources .section-research .additional {
    text-align: left;
    margin: 40px auto;
}

.page-resources .section-research h2 {
    margin-top: 6px;
    margin-bottom: 10px;
    text-align: center;
}

.page-resources .section-research h3 {
    margin-top: 14px;
    margin-bottom: 6px;
    text-align: center;
}

.page-resources .section-research .card {
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(32px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    position: relative;
    text-align: left;
    line-height: 1.4;
}

.page-resources .section-research .card .subcols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.page-resources .section-research .card .subcol {
    display: flex;
    flex-direction: column;
}

.page-resources .section-research .card .btn {
    display: block;
    width: fit-content;
    margin: 2px 0 0 auto;
    padding: 10px 22px;
    margin-top: auto;
}

.page-resources .section-research .title {
    margin: 30px auto;
}

/*Glossary*/

.page-resources .section-glossary {
    padding-top: 64px;
    padding-bottom: 30px;
    background-image: url('/images/pages/home-awards-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.page-resources .section-glossary .title {
    text-align: center;
}

.page-resources .section-glossary p {
    line-height: 1.3;
    margin-bottom: 6px;
}

.page-resources .section-glossary h2 {
    margin-top: 10px;
    margin-bottom: 14px;
    text-align: left;
}

.page-resources .section-glossary h3 {
    margin-top: 14px;
    margin-bottom: 6px;
}

.page-resources .section-glossary .terms-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 40px auto;
}

.page-resources .section-glossary .terms-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    border: 4px solid rgba(27, 27, 27, 0.06);
    cursor: pointer;
    text-align: left;
}

/* стрелка */
.page-resources .section-glossary .terms-arrow {
    width: 24px;
    height: 24px;
    background-image: var(--icon-arrow);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.page-resources .section-glossary .terms-answer {
    display: none;
}


.page-resources .section-glossary .terms-answer-inner {
    background: #fff;
    padding: 16px 20px;
    border-radius: 0 0 8px 8px;
    margin-top: 5px;
}

/* открытый элемент */
.page-resources .section-glossary .terms-item.open .terms-answer {
    display: block;
    line-height: 1.3;
}

.page-resources .section-glossary .terms-item.open .terms-arrow {
    transform: rotate(90deg);
}

.page-resources .section-glossary .terms-item.open .terms-question {
    border-radius: 8px 8px 0 0 !important;
}

/* вопрос становится оранжевым*/
.page-resources .section-glossary .terms-item.open .terms-question-text {
    color: #F05A28;
}