hgroup {
    margin-bottom: 20px
}

hgroup h1 {
    color: #145397;
    margin-bottom: 0
}

hgroup p {
    font-size: 2.125rem;
    color: #3e4e57
}

hgroup ~ p {
    font-size: 1.25rem;
    color: #4b707e;
    width: min(860px, 95%);
    margin-bottom: 10px
}

hgroup ~ p:last-of-type {
    margin-bottom: 0
}

@media (max-width: 479px) {
    hgroup p {
        font-size: 1.5rem
    }
}

section {
    margin-bottom: 50px
}

section h2 {
    padding-bottom: 20px;
    margin: 40px 0 20px 0;
    color: #3e4e57;
    font-size: 2.125rem;
    border-bottom: 1px solid #cfd3d7
}

.article-wrapper {
    font-size: 1.25rem;
    line-height: 160%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    border: 1px solid #cfd3d7;
    border-radius: 40px;
    margin-bottom: 20px;
    background-color: #fafafa
}

.article-wrapper article {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.article-wrapper h3 {
    color: #6a7884;
    font-size: inherit
}

.article-wrapper p {
    font-weight: 500;
    display: none;
    color: #4b707e
}

.article-wrapper p.active {
    margin-top: 16px;
    display: block
}

.faq-toggle {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    border: 1px solid #cfd3d7;
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .5s ease
}

.faq-toggle:hover {
    background-color: #edf5f9;
    border: 1px solid #a8cee3
}

.faq-toggle span {
    width: 32px;
    height: 32px;
    position: relative;
    transition: all .5s ease
}

.faq-toggle span:before, .faq-toggle span:after {
    width: 50%;
    height: 50%;
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    border-bottom: 2px solid #34bfbd;
    border-right: 2px solid #34bfbd
}

.faq-toggle span:after {
    top: calc(50% - 1px);
    left: calc(50% - 1px);
    border-bottom: none;
    border-right: none;
    border-top: 2px solid #34bfbd;
    border-left: 2px solid #34bfbd
}

.faq-toggle span.active {
    transform: rotate(45deg)
}

@media (max-width: 799px) {
    .article-wrapper {
        position: relative
    }

    .article-wrapper.open button {
        position: absolute;
        top: 15px;
        right: 15px;
        opacity: .5
    }

    .faq-toggle {
        width: 44px;
        height: 44px
    }

    .faq-toggle span {
        width: 24px;
        height: 24px
    }
}

@media (max-width: 479px) {
    .article-wrapper {
        padding: 15px;
        border-radius: 20px
    }
}
