/* course-list.css — стили для страницы списка курсов */
body.cl-page {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cl-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.cl-portal-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.25s ease;
}

.cl-portal-btn:hover {
    background: #ffffff;
    color: #1e3a8a;
    border-color: #ffffff;
}

.cl-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.cl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.1);
}

.cl-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cl-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1e3a8a;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cl-card-text {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.cl-btn-view {
    background-color: #f97316;
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cl-btn-view:hover {
    background-color: #ea580c;
    color: #ffffff;
}

.cl-footer {
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}