:root {
    --poppins: "Poppins", sans-serif;
    --roboto: "Roboto", sans-serif;
    --cal-sans: "Cal Sans", sans-serif;
    --dark-blue: #11296F;
    --orange: #F17109;
    --text: #21242C;
    --gradient-1: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    --overline-blue: #11728B;
}

/** FAQ **/
.faq-filter-button-wrap {
    margin-bottom: 24px;
}

.faq-filter-wrap{
	text-align: center;
}

.faq-filter-button-wrap select {
    appearance: none;
    width: 200px;
    border-radius: 24px;
    background: var(--orange) url('./images/chevron-down.svg') no-repeat calc(100% - 16px) center / 24px 24px;
    color: #fff;
    padding: 8px 35px 8px 16px;
    font-family: var(--roboto);
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    margin: 0 auto;
    border: none;
    transition: all .3s;
}

.faq-filter-button-wrap select:hover {
    background-color: var(--overline-blue);
}

.faq-filter-button-wrap select:focus {
    outline: 0;
}

.faq-category-block {
    display: flex;
    gap: 40px 80px;
    position: relative;
    padding-block: 112px 24px;
}

.faq-category-block:last-child {
    padding-block-end: 112px;
}

.faq-title-wrap {
    flex: 0 0 calc(35% - 35px);
    max-width: calc(35% - 35px);
}

.faq-list {
    flex: 0 0 calc(65% - 45px);
    max-width: calc(65% - 45px);
}

.faq-title-wrap .faq-category-title {
    position: sticky;
    top: 200px;
    font-family: var(--cal-sans);
    font-weight: 400;
    font-size: 56px;
    line-height: 1.14;
    margin: 0;
    color: var(--dark-blue);
}

.faq-list details {
    background: var(--gradient-1);
    padding: 24px 16px;
    border-radius: 32px;
    margin-bottom: 16px;
    height: var(--closed-height);
    overflow: hidden;
    transition: height .4s;
}

.faq-list details[open] {
    height: var(--opened-height);
}

.faq-list details:last-child {
    margin-bottom: 0;
}

.faq-list details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 24px 16px;
    font-family: var(--poppins);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.33;
    letter-spacing: 0.01em;
    color: var(--dark-blue);
	cursor: pointer;
}

.faq-list details summary::-webkit-details-marker {
	display: none;
}

.faq-list details summary::marker{
    content: none;
    font-size: 0;
}

.faq-list details summary .icon svg{
    width: 32px;
    height: 32px;
    transform: rotate(135deg);
    transition: transform .4s;
	position: relative;
    top: 3px;
}

.faq-list details[open] summary .icon svg{
    transform: rotate(0deg);
}

.faq-list details .faq-content  .inner{
    padding: 24px;
    font-family: var(--poppins);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: var(--text);
    max-width: 816px;
}

.faq-list details .faq-content  .inner *{
    margin-bottom: 32px;
}

.faq-list details .faq-content  .inner li,
.faq-list details .faq-content  .inner :last-child{
    margin-bottom: 0;
}

.faq-list details .faq-content  .inner li::marker{
    color: var(--orange);
}

.faq-list details .faq-content  .inner li{
    color: var(--overline-blue);
}

.faq-list details .faq-content  .inner a{
    text-decoration: underline;
    transition: color .3s;
}

.faq-list details .faq-content  .inner a:hover{
    color: var(--orange);
}

#faq-results{
	text-align: initial;
}

#faq-results .loading{
    text-align: center;
    padding: 112px 0;
    font-family: var(--poppins);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: var(--text);
}

@media (max-width: 1199px){
	.faq-title-wrap .faq-category-title{
		font-size: 36px;
		top: 175px;
	}
}

@media (max-width: 991px){
    .faq-category-block {
        flex-wrap: wrap;
        padding-block: 32px;
		row-gap: 27px;
    }

    .faq-title-wrap, 
    .faq-list {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .faq-filter-button-wrap{
        margin-bottom: 0;
    }

    .faq-title-wrap .faq-category-title{
        text-align: center;
        font-size: 48px;
        line-height: 1.166;
        position: static;
    }
	.faq-list details{
		padding: 24px 0;
	}
	.faq-list details summary{
		padding: 20px 24px 22px;
	}
	.faq-list details summary .icon svg{
		top: 5px;
		right: 3px;
	}

    .faq-list details .faq-content .inner{
        font-size: 16px;
        line-height: 1.5;
    }

    .faq-list details .faq-content  .inner *{
        margin-bottom: 24px;
    }
}
