﻿:root {
    --blue: #2f2b76;
    --panel-bg: #e6e6e6;
    --radius: 17px;
}

.expando {
    margin-bottom: 20px
}

/* Accordion button */
.expando-button {
    width: 100%;
    height: 60px;
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 3rem;
    transition: background .2s ease, border-radius .2s ease, box-shadow .2s ease;
}

    /* Chevron (custom inline SVG) */
    .expando-button .chevron {
        display: inline-block;
        width: 15px; /* scales with font-size */
        height: auto;
        margin-left: .5rem; /* spacing from text */
        line-height: 1;
        vertical-align: middle;
        transition: transform .2s ease;
        transform-origin: 50% 50%;
    }

    /* rotate on expand */
    .expando-button[aria-expanded="true"] .chevron {
        transform: rotate(180deg);
    }

    /* make sure SVG path inherits button text color */
    .expando-button .chevron .st0 {
        fill: currentColor; /* replaces fixed #fff so it matches button text */
    }

/* Collapsible panel */
.expando-panel {
    overflow: hidden;
    height: 0;
    transition: height .25s ease;
}

    .expando-panel > * {
        margin-bottom: 1rem;
    }

        /* Prevent clipping: no margin on the last item; use padding instead */
        .expando-panel > *:last-child {
            margin-bottom: 0;
            padding-bottom: 1rem;
        }



.expando-panel-inner {
    padding: 1.25rem 1.5rem;
    margin-bottom: 15px;
    color: var(--blue);
    margin-top: 20px;
    border-radius: var(--radius);
}

    .expando-panel-inner:nth-of-type(2n) {
        background-color: #f2f2f2;
    }

.expando-panel-inner-no-padding {
    color: var(--blue);
    margin-top: 20px;
    border-radius: var(--radius);
}



.expando h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0px;
}

.expando-panel-inner h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0px;
}

.expando p {
    font-size: 18px;
    margin-bottom: 0.3em;
}
