.accordion-section {
    margin: var(--margin-m);
    border-bottom: 1px solid var(--pale-sky-blue);
}

@media screen and (min-width: 768px) {

    .accordion-section {
        margin: var(--margin-l) 0;
    }

}

/* Style the buttons that are used to open and close the accordion panel */
.accordion-button {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 23px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.25;
    letter-spacing: normal;
    color: var(--charcoal-grey);
    padding: 24px 0;
    border-style: solid;
    border-color: var(--pale-sky-blue);
    border-width: 1px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.active .accordion-button {
    border-width: 1px 0;
}

.accordion-button svg {
    flex-basis: 24px;
    flex-shrink: 2;
}

.accordion-group.active svg .vertical-stroke {
    display: none;
}

.accordion-group span {
    flex-basis: 100%;
    margin-right: var(--margin-s);
    text-align: left;
}

/* Style the accordion panel. Note: hidden by default */
.accordion-section .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .accordion-section .panel {
        transition-duration: 0s;
    }
}
