
.courses-page {
    padding: 120px 0 40px;
    width: 100%;
}

.cp-container {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.cp-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
}

.cp-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.cp-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.cp-filters-age {
    margin-bottom: 40px;
}

.cp-filter {
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: 0.3s;
}

.cp-filter:hover {
    border-color: #E769E4;
    color: #E769E4;
}

.cp-filter.active {
    background: linear-gradient(135deg, #E769E4, #400D69);
    color: #fff;
    border-color: transparent;
}

.cp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.course-card.hidden {
    display: none;
}

@media (max-width: 768px) {
    .courses-page {
        padding: 90px 0 20px;
    }

    .cp-title {
        font-size: 24px;
    }

    .cp-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 15px;
    }

    .cp-filters-age {
        margin-bottom: 30px;
    }

    .cp-filter {
        flex: 1 1 auto;
        text-align: center;
        font-size: 12px;
        padding: 8px 10px;
        white-space: nowrap;
    }
}
