/* ============================================================
   PROGRAMMES LISTING PAGE
   ============================================================ */

/* Hero */
.programmes-hero {
    background: linear-gradient(145deg, #0b1a33 0%, #1a2a4a 50%, #0d1f3c 100%);
    padding: 5rem 0 4rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.programmes-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(13, 110, 253, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(111, 66, 193, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.programmes-hero .container {
    position: relative;
    z-index: 2;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Programme Cards */
.programme-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.programme-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.programme-image-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #f8f9fa;
    overflow: hidden;
}

.programme-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.programme-card:hover .programme-image {
    transform: scale(1.03);
}

.placeholder-image {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #adb5bd;
}

.programme-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    backdrop-filter: blur(4px);
}

.programme-status-badge.status-open {
    background: rgba(25, 135, 84, 0.85);
}

.programme-status-badge.status-upcoming {
    background: rgba(255, 193, 7, 0.85);
}

.programme-status-badge.status-closed {
    background: rgba(108, 117, 125, 0.85);
}

.programme-body {
    padding: 1.5rem;
}

.programme-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.programme-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.programme-btn {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
}

.programme-btn i {
    transition: transform 0.3s ease;
}

.programme-btn:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 767.98px) {
    .programmes-hero {
        padding: 4rem 0 3rem;
        min-height: auto;
    }

    .programmes-hero h1 {
        font-size: 2.2rem;
    }
}