/* ============================================
   Cohort List – Modern UI
   ============================================ */

section.accreditation-logo {
    background-color: #f6f7f5;
}

section.cohort-list {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #f7f8f6 0%, #eef0eb 100%);
}

.cohort-header {
    margin-bottom: 2.5rem;
}

.cohort-header h3 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.cohort-listing {
    width: 100%;
}

/* ----- Filter bar ----- */
.cohort-list-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.5rem 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 1.75rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.cohort-list-filter-each {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.cohort-filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5a5a5a;
}

.cohort-filter-select {
    min-width: 160px;
    padding: 0.6rem 2.25rem 0.6rem 0.9rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1a1a1a;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5a5a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.cohort-filter-select:hover {
    border-color: #ccc;
    background-color: #fafafa;
}

.cohort-filter-select:focus {
    outline: none;
    border-color: #8574b0;
    box-shadow: 0 0 0 3px rgba(133, 116, 176, 0.2);
}

.cohort-filter-type .cohort-filter-label {
    margin-bottom: 0;
}

.cohort-type-toggles {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cohort-type-field {
    margin: 0;
    padding: 0;
    border: none;
}

.cohort-type-field label {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #5a5a5a;
    background: #e8e8e8;
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    user-select: none;
}

.cohort-type-field input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cohort-type-field input:checked + label {
    color: #fff;
    background: #8574b0;
    border-color: #6b5a96;
}

.cohort-type-field input:checked + label::after {
    content: '';
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin-left: 0.4rem;
    background: no-repeat center/contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

.cohort-type-field label:hover {
    background: #e0e0e0;
    border-color: #c0c0c0;
}

.cohort-type-field input:checked + label:hover {
    background: #7261a0;
    border-color: #5a4a85;
}

.cohort-filter-clear {
    margin-left: auto;
}

.cohort-filter-clear-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5a5a5a;
    background: transparent;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.cohort-filter-clear-btn:hover {
    color: #1a1a1a;
    border-color: #999;
    background: #f5f5f5;
}

.cohort-filter-clear-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(133, 116, 176, 0.3);
}

/* ----- Card grid: 3 columns; coach-mentoring at bottom, full width ----- */
.cohort-list-outer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

/* Coach-mentoring: always at bottom, full width; button normal size on the right */
.cohort-list-each[data-course-level="coach-mentoring"] {
    order: 999;
    grid-column: 1 / -1;
}

.cohort-list-each[data-course-level="coach-mentoring"] .cohort-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem 2rem;
}

.cohort-list-each[data-course-level="coach-mentoring"] .cohort-content .book-button {
    width: auto;
    min-width: 160px;
    grid-column: 2;
    grid-row: 1 / -1;
}

/* Coach-mentoring: color #97BF13 */
.cohort-list-each[data-course-level="coach-mentoring"] .cohort-head {
    background: linear-gradient(135deg, #97BF13 0%, #7da00f 100%);
    border-bottom: 3px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cohort-list-each[data-course-level="coach-mentoring"] .cohort-head-title,
.cohort-list-each[data-course-level="coach-mentoring"] .cohort-head-text .cohort-head-title {
    color: #fff;
}

.cohort-list-each[data-course-level="coach-mentoring"] a.book-button:not(.expired-p) {
    background: linear-gradient(135deg, #97BF13 0%, #7da00f 100%);
    color: #fff;
}

.cohort-list-each[data-course-level="coach-mentoring"] a.book-button:not(.expired-p):hover {
    background: linear-gradient(135deg, #7da00f 0%, #6a8a0d 100%);
    box-shadow: 0 6px 20px rgba(151, 191, 19, 0.4);
    color: #fff;
}

.cohort-list-each[data-course-level="coach-mentoring"]:hover {
    box-shadow: 0 16px 40px rgba(151, 191, 19, 0.2);
}

.cohort-list-each {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cohort-list-each:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(133, 116, 176, 0.15);
}

.cohort-list-each.is-past {
    opacity: 0.65;
}

.cohort-list-each.is-past:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Date band – full-width eye-catching header (now shows course title) */
.cohort-head {
    margin: 0;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #8574b0 0%, #6b5a96 100%);
}

.cohort-head-title h6,
.cohort-head-text .cohort-head-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: #fff;
}

/* ========== Reference card style: icon, pill, date line, price row, badge, mode, full-width button ========== */
.cohort-card-style .cohort-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    position: relative;
    overflow: hidden;
}

.cohort-card-style .cohort-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 4px,
        rgba(255, 255, 255, 0.03) 4px,
        rgba(255, 255, 255, 0.03) 8px
    );
    pointer-events: none;
}

.cohort-head-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    position: relative;
}

.cohort-head-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    background: #fff;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 3L2 8v2h2v9h16v-9h2V8L12 3zm0 2.5l6 3.5v1.5H6v-1.5l6-3.5zM6 13h12v5H6v-5z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 3L2 8v2h2v9h16v-9h2V8L12 3zm0 2.5l6 3.5v1.5H6v-1.5l6-3.5zM6 13h12v5H6v-5z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.cohort-head-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cohort-card-style .cohort-head-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Content: stacked layout for card style */
.cohort-card-style .cohort-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 1.5rem 1.75rem;
}

/* When no date line: align content and button to bottom */
.cohort-card-style .cohort-content:not(:has(.cohort-content-date-line)) {
    justify-content: flex-end;
}

.cohort-list-each[data-course-level="coach-mentoring"] .cohort-content:not(:has(.cohort-content-date-line)) {
    align-content: end;
}

.cohort-card-style .cohort-content-date-line {
    margin-bottom: 0;
}

.cohort-content-date-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 500;
}

.cohort-date-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.cohort-list-each[data-course-level="level-1"] .cohort-content-date-line .cohort-date-icon { color: #5c4a8a; }
.cohort-list-each[data-course-level="level-2"] .cohort-content-date-line .cohort-date-icon { color: #0f766e; }
.cohort-list-each[data-course-level="level-2-upgrade"] .cohort-content-date-line .cohort-date-icon { color: #c49a1a; }
.cohort-list-each[data-course-level="coach-mentoring"] .cohort-content-date-line .cohort-date-icon { color: #97BF13; }

.cohort-date-text { flex: 1; }

.cohort-card-style .cohort-content-location {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #5a5a5a;
}

.cohort-card-style .cohort-price-row {
    margin-bottom: 1.25rem;
    width: 100%;
}

.cohort-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cohort-price-block label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8a8a8a;
    margin-bottom: 0.2rem;
}

.cohort-price-amount {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
}

.cohort-badge {
    flex-shrink: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    border-radius: 8px;
}

.cohort-list-each[data-course-level="level-1"] .cohort-badge { background: #5c4a8a; }
.cohort-list-each[data-course-level="level-2"] .cohort-badge { background: #0f766e; }
.cohort-list-each[data-course-level="level-2-upgrade"] .cohort-badge { background: #c49a1a; }
.cohort-list-each[data-course-level="coach-mentoring"] .cohort-badge { background: #97BF13; }

.cohort-card-style .cohort-meta-row {
    margin-bottom: 1rem;
}

.cohort-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #5a5a5a;
}

.cohort-meta-item strong {
    color: #1a1a1a;
    font-weight: 600;
}

.cohort-card-style .cohort-content .book-button {
    width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
}

.book-button-arrow {
    width: 18px;
    height: 18px;
    background: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

/* ----- Three main courses: stronger top bars, distinct colors ----- */

/* Level 1 – bold purple */
.cohort-list-each[data-course-level="level-1"] .cohort-head {
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #5c4a8a 0%, #4a3a72 100%);
    border-bottom: 3px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cohort-list-each[data-course-level="level-1"] .cohort-head-title h6 {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}

/* APC Full Level 2 – bold teal */
.cohort-list-each[data-course-level="level-2"] .cohort-head {
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #0f766e 0%, #0c5c52 100%);
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cohort-list-each[data-course-level="level-2"] .cohort-head-title h6 {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}

/* APC Level 2 Upgrade – bold yellow/gold */
.cohort-list-each[data-course-level="level-2-upgrade"] .cohort-head {
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #e6bc2a 0%, #d4ab1f 100%);
    border-bottom: 3px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cohort-list-each[data-course-level="level-2-upgrade"] .cohort-head-title h6 {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #1a1a1a;
}

.cohort-list-each.is-past .cohort-head {
    background: linear-gradient(135deg, #8e8e8e 0%, #6e6e6e 100%);
}

/* Level 2 (Full) – teal button to match date bar */
.cohort-list-each[data-course-level="level-2"] a.book-button:not(.expired-p) {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
}

.cohort-list-each[data-course-level="level-2"] a.book-button:not(.expired-p):hover {
    background: linear-gradient(135deg, #0f766e 0%, #0c5c52 100%);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    color: #fff;
}

.cohort-list-each[data-course-level="level-2"] a.book-button:not(.expired-p):focus-visible {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.5);
}

.cohort-list-each[data-course-level="level-2"]:hover {
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.2);
}

/* Level 2 Upgrade – yellow button */
.cohort-list-each[data-course-level="level-2-upgrade"] a.book-button:not(.expired-p) {
    background: linear-gradient(135deg, #FFD23B 0%, #e6bc2a 100%);
    color: #1a1a1a;
}

.cohort-list-each[data-course-level="level-2-upgrade"] a.book-button:not(.expired-p):hover {
    background: linear-gradient(135deg, #e6bc2a 0%, #d4ab1f 100%);
    box-shadow: 0 6px 20px rgba(255, 210, 59, 0.4);
    color: #1a1a1a;
}

.cohort-list-each[data-course-level="level-2-upgrade"] a.book-button:not(.expired-p):focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 210, 59, 0.5);
}

.cohort-list-each[data-course-level="level-2-upgrade"]:hover {
    box-shadow: 0 16px 40px rgba(255, 210, 59, 0.2);
}

/* Content area: date and location (where title was) */
.cohort-content-date {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.cohort-content-date p {
    display: inline-block;
    margin: 0;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5a5a5a;
    background: #f0f0f0;
    border-radius: 6px;
}

.cohort-content-title .cohort-content-location {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    color: #5a5a5a;
}

/* Card body – padded content area */
.cohort-list-each .cohort-content,
.cohort-list-each .cohort-list-each-note,
.cohort-list-each .cohort-footer {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.cohort-list-each .cohort-content {
    padding-top: 1.35rem;
    padding-bottom: 1.25rem;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

/* When there's no date band, content is first – give it top padding */
.cohort-list-each > .cohort-content:first-child {
    padding-top: 1.5rem;
}

.cohort-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .5rem;
}

.cohort-content-title {
    flex: 1;
    min-width: 0;
}

.cohort-content-title p {
    margin: 0;
    font-size: 0.9rem;
    color: #5a5a5a;
}

/* Buttons – more prominent CTA */
.cohort-list-each a.book-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(135deg, #8574b0 0%, #6b5a96 100%);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.cohort-list-each a.book-button.book-button-primary {
    min-width: 150px;
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
}

.cohort-list-each a.book-button:hover {
    background: linear-gradient(135deg, #6b5a96 0%, #5a4a85 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(133, 116, 176, 0.35);
}

.cohort-list-each a.book-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 116, 176, 0.45);
}

.cohort-list-each a.book-button.expired-p {
    background: #e8e4f0;
    color: #6b5a8a;
    cursor: default;
    min-width: 110px;
    padding: 0.65rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.cohort-list-each a.book-button.expired-p:hover {
    background: #e8e4f0;
    transform: none;
    box-shadow: none;
}

/* Note */
span.cohort-list-each-note {
    display: block;
    padding: 15px 1.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: #6b6b6b;
}

/* Footer meta – clearer labels and status badge */
.cohort-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding-top: 1.1rem;
    padding-bottom: 1.5rem;
    margin-top: auto;
}

.cohort-footer .cohort-status,
.cohort-footer .cohort-language {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cohort-footer label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a8a8a;
}

.cohort-footer p {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Status as a small badge for “Available” */
.cohort-footer .cohort-status:last-child p:not(.expired-p) {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2d6a2d;
    background: #e6f4e6;
    border-radius: 6px;
}

.cohort-footer p.expired-p {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b5a8a;
    background: #f0ecf5;
    border-radius: 6px;
}

/* Empty state */
.no-cohort-items {
    grid-column: 1 / -1;
    padding: 3rem 2rem;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #ddd;
    color: #6b6b6b;
    font-size: 1rem;
}

/* Legacy / load more */
.load-button-outer a {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background: #1e1e1e;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.load-button-outer a:hover {
    color: #97bf13;
}

span.cohort-list-each-fixed {
    position: absolute;
    left: 1.25rem;
    bottom: -0.75rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #8cc63f;
    background: #1e1e1e;
    border-radius: 8px;
}

/* Remove last-child accent for consistent modern look */
.cohort-list-outer .cohort-list-each:last-child {
    background-color: #fff;
}

/* ----- Responsive ----- */
@media (max-width: 1200px) {
    .cohort-list-outer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    section.cohort-list {
        padding: 3rem 0 4rem;
    }

    .cohort-list-outer {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cohort-list-each[data-course-level="coach-mentoring"] .cohort-content {
        grid-template-columns: 1fr;
    }

    .cohort-list-each[data-course-level="coach-mentoring"] .cohort-content .book-button {
        grid-column: 1;
        grid-row: auto;
        width: auto;
        align-self: flex-start;
    }

    .cohort-list-filter {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .cohort-list-filter-each {
        width: 100%;
    }

    .cohort-filter-select {
        width: 100%;
        min-width: 0;
    }

    .cohort-content {
        flex-wrap: wrap;
    }

    .cohort-content-title {
        max-width: 100%;
    }

    .cohort-list-each a.book-button {
        width: 100%;
        min-width: 0;
        border: 1px solid #6e5c99;
        color: #6E5C99;
        background: no-repeat;
    }
    .cohort-list-each a.book-button:hover {
        color: #fff;
    }
    .cohort-list-each[data-course-level="level-2"] a.book-button:not(.expired-p) {
        border-color: #0f766e;
        color: #fff;
        background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    }
    .cohort-list-each[data-course-level="level-2"] a.book-button:not(.expired-p):hover {
        color: #fff;
    }
    .cohort-list-each[data-course-level="level-2-upgrade"] a.book-button:not(.expired-p) {
        border-color: #e6bc2a;
        color: #1a1a1a;
        background: linear-gradient(135deg, #FFD23B 0%, #e6bc2a 100%);
    }
    .cohort-list-each[data-course-level="level-2-upgrade"] a.book-button:not(.expired-p):hover {
        color: #1a1a1a;
    }
}

@media (max-width: 560px) {
    .cohort-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cohort-list-each a.book-button {
        margin-top: 0.25rem;
    }

    .cohort-footer {
        gap: 1rem;
    }
}
