/* Programs Archive Styles */
.kp-programs {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.kp-programs__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kp-programs__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
}

.kp-programs__subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6c757d;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.kp-programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.kp-programs__card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.kp-programs__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.kp-programs__media {
    display: block;
    position: relative;
    overflow: hidden;
    height: 200px;
}

.kp-programs__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kp-programs__card:hover .kp-programs__media img {
    transform: scale(1.05);
}

.kp-programs__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.kp-programs__body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.kp-programs__post-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.kp-programs__title-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.kp-programs__title-link:hover {
    color: #3498db;
}

.kp-programs__excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.kp-programs__read-more {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.kp-programs__read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kp-programs {
        padding: 40px 0;
    }
    
    .kp-programs__title {
        font-size: 2rem;
    }
    
    .kp-programs__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kp-programs__media {
        height: 180px;
    }
    
    .kp-programs__body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .kp-programs__container {
        padding: 0 15px;
    }
    
    .kp-programs__title {
        font-size: 1.8rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination .page-numbers {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}