/* KCSE Success Styles */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

.KCSE-success-archive {
    background-color: #f8f9fa;
}

.KCSE-success-archive h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.KCSE-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 10px;
}

.KCSE-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.KCSE-card.featured {
    border: 2px solid #ffc107;
}

.card-img-wrapper {
    position: relative;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.KCSE-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay i {
    color: #fff;
}

.KCSE-kicker {
    font-size: 0.9rem;
    font-style: italic;
}

.KCSE-success-single {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.hero-section img {
    max-height: 400px;
    object-fit: cover;
}

.kicker {
    font-size: 1.1rem;
    font-style: italic;
    color: #6c757d;
}

.blockquote {
    background: #fff;
    padding: 20px;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-section iframe {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .KCSE-success-archive h1 {
        font-size: 2rem;
    }

    .hero-section img {
        max-height: 300px;
    }
}