:root {
    --discount-bar-height: 46px;
}

.s-faq-with-categories__content {
    display: flex;
    background-color: #F2F2F2;
}

.s-faq-with-categories__content--no-sidebar {
    background-color: #fff;
}

.s-faq-with-categories details > summary::marker,
.s-faq-with-categories details > summary::-webkit-details-marker {
    display: none;
}

.s-faq-with-categories__sidebar {
    flex-shrink: 0;
    padding: 5.25rem;
    width: 32rem;
    align-self: flex-start;
    position: sticky;
    top: 0;
}

.s-faq-with-categories__sidebar-title {
    font-family: var(--font-heading);
    color: #1F4746;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 3rem */
    letter-spacing: 0.075rem;
    margin-bottom: 2rem;
}

.s-faq-with-categories__sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.s-faq-with-categories__sidebar-item a {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.635rem;
    letter-spacing: 0.03rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.75rem;
    border-bottom: 0.0625rem solid transparent;
    color: #1E4746;
}

.s-faq-with-categories__sidebar-item a.is-active {
    border-bottom-color: #1E4746;
    font-weight: 600;
}

.s-faq-with-categories__faq-content {
    display: flex;
    padding: 3rem 5.25rem 4rem 5.25rem;
    flex-direction: column;
    align-items: stretch;
    flex: 1 0 0;
    gap: 3rem;
    background-color: #fff;
}

.s-faq-with-categories__faq-content-header {
    display: flex;
    padding: 0.75rem 0rem 1.25rem 0rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.125rem;
    align-self: stretch;
}

.s-faq-with-categories__faq-content-header-title {
    color: #1E4746;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.075rem;
    margin: 0;
}

.s-faq-with-categories__faq-content-header-description {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.625rem;
    letter-spacing: -0.02rem;
    margin: 0;
}

.s-faq-with-categories__faq-content-item__list {
    border-bottom: 0.0625rem solid #55827A;
}

.s-faq-with-categories__faq-content-item__list .accordion__btn {
    border: none;
    border-radius: 0;
    border-top: 0.0625rem solid #55827A;
    font-family: var(--font-heading);
    color: #323232;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02rem;
    gap: 1rem;
    min-height: 0;
    display: flex;
    padding: 1.25rem 0rem;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    align-self: stretch;
}

.s-faq-with-categories__faq-content-item__list .accordion__btn:after {
    content: none;
}

.s-faq-with-categories__faq-content-item__list .accordion__btn .indicator {
    color: #4c4c4c;
    flex-shrink: 0;
    height: 0.875rem;
    margin-left: auto;
    position: relative;
    width: 0.875rem;
}

.s-faq-with-categories__faq-content-item__list .accordion__btn .indicator-vertical {
    transition: transform .3s ease;
    transform-origin: center;
}

.s-faq-with-categories__faq-content-item__list .accordion__btn.is-active .indicator-vertical {
    transform: rotate(90deg);
}

.c-faq-question__image-wrapper {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    flex-shrink: 0;
}

.s-faq-with-categories__faq-content-item__list .accordion__content {
    padding-inline: 0;
    display: none;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.s-faq-with-categories__faq-content-item__list .accordion__content.is-active {
    display: block;
    transition: padding .3s ease, opacity .3s ease;
}

.s-faq-with-categories__faq-content-item__list .accordion__content.is-visible {
    height: auto;
    opacity: 1;
    padding-bottom: 2rem;
    padding-top: 2px;
}

/* Media */

.s-faq-with-categories__faq-content-item__image {
    display: block;
    max-width: 100%;
    margin: 1.5rem 0;
}

.s-faq-with-categories__faq-content-item__video {
    display: block;
    max-width: 100%;
    margin: 1.5rem 0;
}

.s-faq-with-categories__faq-content-item__video iframe {
    max-width: 100%;
}

.s-faq-with-categories__faq-content-item__links-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Mobile */

.s-faq-with-categories__mobile-menu {
    padding: 0.5rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.s-faq-with-categories__mobile-menu .accordion {
    position: relative;
}

.s-faq-with-categories__mobile-menu .accordion__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 0.0625rem solid #55827A;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.625rem;
    color: #1E4746;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.s-faq-with-categories__mobile-menu .accordion__btn::after {
    content: '';
    display: inline-block;
    margin-left: auto;
    vertical-align: middle;
    border: solid #1E4746;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.s-faq-with-categories__mobile-menu .accordion__btn.is-active::after {
    transform: rotate(-135deg);
}

.s-faq-with-categories__mobile-menu .accordion__content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 0.5rem;
    border: 0.0625rem solid #55827A;
    box-shadow: 0 0.25rem 0 0 #55827A;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 0.25rem;
}

.s-faq-with-categories__mobile-menu .accordion__content {
    padding-inline: 0;
    display: none;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.s-faq-with-categories__mobile-menu .accordion__content.is-active {
    display: block;
    transition: opacity .3s ease;
}

.s-faq-with-categories__mobile-menu .accordion__content.is-visible {
    height: auto;
    opacity: 1;
}

.s-faq-with-categories__mobile-menu-item a {
    padding: 1rem;
    border-bottom: 0.0625rem solid #55827A;
    display: block;
    text-decoration: none;
    color: #1E4746;
    font-size: 1rem;
    font-weight: 400;
}

.s-faq-with-categories__mobile-menu-item:last-child a {
    border-bottom: none;
}

.s-faq-with-categories .auxiliary-section__copy p {
    margin: 0.5rem 0;
}

.s-faq-with-categories .auxiliary-section__copy ol {
    margin: 1.5rem 0;
}

@media (max-width: 767px) {
    .s-faq-with-categories__faq-content {
        padding: 1.25rem 1.25rem 2.5rem 1.25rem;
        gap: 2rem;
    }

    .c-faq-question__image-wrapper {
        width: 3rem;
        height: 3rem;
    }

    .s-faq-with-categories__faq-content-item__list .accordion__btn {
        font-size: 1.125rem;
        padding: 1rem 0;
        gap: 0.5rem;
    }

    .s-faq-with-categories__faq-content-item__video {
        width: 100%;
        max-width: 100%;
    }

    .s-faq-with-categories__faq-content-item__links-list {
        flex-direction: column;
        gap: 0.75rem;
    }

    .s-faq-with-categories__faq-content-item__links-item .btn {
        width: 100%;
        text-align: center;
    }
}
