.card-section-subtitle{font-size:18px;line-height:150%}
/* Base list styling (like list-w-checkbox but scoped) */
.list-w-status {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

/* Each LI has an icon on the left */
.list-w-status li {
    position: relative;
    padding: 0 0 8px 25px;
    border-bottom: 1px solid #928B8C;
}

/* Default size; match card styles on large */
.card-employer .list-w-status li { font-size: 16px; line-height: 24px; }
.card-employer .list-w-status li::before { width: 20px; height: 20px; }

/* Icon sprite */
.list-w-status li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* ✓ check vs ✕ close */
.list-w-status .li-icon--check::before {
    background-image: url("/wp-content/themes/WolfPress/assets/images/icons/check-green.svg");
}
.list-w-status .li-icon--close::before {
    background-image: url("/wp-content/themes/WolfPress/assets/images/icons/close-red.svg");
    width: 15px !important;
    height: 15px !important;
    top: 5px !important;
}

/* Accordion button that fills the row and keeps chevron on right */
.li-accordion-btn {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    position: relative;
    padding-right: 24px; /* room for chevron */
    cursor: pointer;
    font-size: 12px;
    line-height: 24px;
    color: var(--primary-red-dark);
    font-weight: 400;
    font-family: Worksans, serif;
}

/* Button chevron (closed state) */
.li-accordion-btn .chevron {
    position: absolute;
    right: 0;
    bottom: 4px;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/WolfPress/assets/images/icons/chevron-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    /*transition: transform .2s ease, opacity .2s ease;*/
}

/* Hide the button chevron when open */
.li-accordion-btn[aria-expanded="true"] .chevron {
    display: none           /* or display:none; */
}

/* Accordion body: position a new chevron bottom-right */
.li-accordion-body {
    position: relative;
    padding-top: 6px;
    padding-right: 24px;    /* room for chevron-up */
}
.li-accordion-body p { margin: 0; }

/* Up chevron appears only when open */
.li-accordion-body .chevron-up {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/WolfPress/assets/images/icons/chevron-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(180deg);  /* point up */
    transition: transform .2s ease, opacity .2s ease;
}

/* 1) No fade/opacity animation on the button chevron */
.li-accordion-btn .chevron {
    transition: none;
}


/* 3) Show the up chevron instantly based on the trigger state (no waiting for .show) */
.li-accordion-btn[aria-expanded="true"] + .li-accordion-body .chevron-up {
    transition: transform .2s ease, opacity .2s ease;
    display: block;
}

/* 4) Ensure it's hidden while closing too */
.li-accordion-btn[aria-expanded="false"] + .li-accordion-body .chevron-up {
    display: none;
}



/* Accordion body spacing & italic handled in markup; ensure no extra margins */
.li-accordion-body { padding-top: 6px; }
.li-accordion-body p { margin: 0; }

.accordion-close-trigger {
    cursor: pointer;
}

@media (min-width: 768px) {
    .li-accordion-btn {
        font-size: 16px;
    }

}
.card-content-accordion {
    margin-bottom: 16px;
}