/* Section Accordion – styles */
.sa {
    --sa-gap: 24px;
    --sa-muted: #e5e7eb;
    --sa-border: #e8ecf2;
    --sa-radius: 16px;
    --sa-accent: #0f2740;
    --sa-soft: #f7f9fc;
    margin: 40px 0;
}

.sa__title {
    font-size: 36px;
    line-height: 48px;
    font-weight: 600;
    margin: 48px 0 48px 28px;
    font-family: 'Montserrat';
}

.sa-acc__heading {
    font-size: 28px;
    line-height: 36px;
}

@media screen and (max-width: 1024px) {
    .sa__title {
        font-size: 24px;
        line-height: 32px;
    }

    .sa-acc__heading {
        font-size: 20px;
        line-height: 32px;
    }
}

/* Two-column layout */
.sa__two-col {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 992px) {
    .sa__two-col {
        grid-template-columns: 1fr;
    }
}

.sa__col--right {
    display: grid;
    justify-items: center;
}

.sa__media {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* One column */
.sa__one-col {
    display: grid;
    gap: 20px;
}

.sa__rich img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Accordion */
.sa-acc {
    display: grid;
    gap: 12px;
}

.sa-acc__head {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    color: #08193D;
    font-size: 28px;
    line-height: 36px;
    font-family: 'Open Sans';
    box-shadow: none;
}

.sa-acc__chev {
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    display: inline-grid;
    place-items: center;
    color: var(--sa-accent);
    font-size: 18px;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform .25s ease;
}

/* + -> x */

.sa-acc__panel {
    padding: 24px 12px;
}

@media screen and (min-width: 1100px) {
    .sa-acc__item.is-open .sa-acc__panel {
        margin-left: 30px;
    }
}

.sa-acc__content {
    margin: 14px 0;
}

/* Badges row */
.sa-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sa-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #fff;
    border: 1px solid var(--sa-border);
    border-radius: 24px;
    box-shadow: 0px 0px 16px 0px #79797933 inset;

}

.sa-badge__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sa-badge__text {
    font-weight: 600;
    color: #08193D;
    font-size: 18px;
    line-height: 24px;
    font-family: 'Open Sans';
}

/* Divider feel between sections if you stack multiple blocks */
.sa + .sa {
    border-top: 1px solid var(--sa-muted);
    padding-top: 32px;
}

/* Accordion icons */
.sa-acc__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.sa-acc__icon {
    display: block;
}

.sa-acc__icon--chevron {
    opacity: 0;
    transform: translateY(-3px);
}

.sa-acc__item.is-open .sa-acc__icon--plus {
    opacity: 0;

}

.sa-acc__item.is-open .sa-acc__icon--chevron {
    opacity: 1;
    position: absolute;
    top: 15px;
    left: 0;
}

button.sa-acc__head:hover, button.sa-acc__head:focus {
    background-color: unset !important;
    color: #08193D;
}


/* images inserted in the WYSIWYG */
.sa-acc__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* caption shortcode */
.sa-acc__content .wp-caption {
    max-width: 100%;
}

.sa-acc__content .wp-caption img {
    display: block;
    margin: 0 auto;
}

.sa-acc__content .wp-caption-text {
    font-size: .9rem;
    color: #6b7280;
    text-align: center;
    margin-top: 6px;
}
