/* BAC College Programme Cards mobile View More / View Less button */
.l2-programmes .l2-programmes__view-more {
    align-items: center;
    background: #fdb913;
    border: 0;
    border-radius: 999px;
    color: #000000;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    margin: 24px auto 0;
    padding: 13px 24px;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
    width: max-content;
    max-width: calc(100% - 40px);
}

.l2-programmes .l2-programmes__view-more:hover {
    background: #e8a900;
    color: #000000;
    text-decoration: none;
    transform: translateY(-1px);
}

.l2-programmes .l2-programmes__view-more:focus-visible {
    outline: 3px solid #000000;
    outline-offset: 3px;
}

.l2-programmes .l2-programmes__view-more svg {
    color: currentColor;
    flex-shrink: 0;
}

.l2-programmes .l2-programmes__view-more[hidden] {
    display: none !important;
}

@media (min-width: 768px) {
    .l2-programmes .l2-programmes__view-more {
        display: none !important;
    }
}

/* Whole card clickable: the Learn More link's ::after layer covers the card */
.l2-programmes .l2-programmes__card[data-bac-college-programme-card] {
    cursor: pointer;
    position: relative;
}

.l2-programmes .l2-programmes__card[data-bac-college-programme-card] .l2-programmes__card-link {
    position: static;
}

.l2-programmes .l2-programmes__card[data-bac-college-programme-card] .l2-programmes__card-link::after {
    content: "";
    inset: 0;
    position: absolute;
    z-index: 2;
}

.l2-programmes .l2-programmes__card[data-bac-college-programme-card]:focus-within {
    outline: 3px solid #000000;
    outline-offset: 3px;
}
