.courses-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 64px 64px;
}

.courses-section__header {
    margin-bottom: 32px;
}

.courses-section__title {
    font-size: 40px;
    font-weight: 600;
    color: var(--green);
    line-height: 1.2;
}

.courses-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.course-card {
    display: flex;
    flex-direction: column;
}

.course-card__image {
    height: 240px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__body {
    padding: 20px;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card__name {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.course-card__target {
    font-size: 16px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 16px;
    line-height: 1.4;
}

.course-card__desc {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.course-card__desc p {
    margin-bottom: 12px;
}

.course-card__desc p:last-child {
    margin-bottom: 0;
}

.course-card__btn {
    display: block;
    background: var(--green);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
}

.course-card__btn:hover {
    background: #3d6a54;
}

@media (max-width: 960px) {
    .courses-section {
        padding: 24px 20px 48px;
    }

    .courses-section__title {
        font-size: 28px;
    }

    .courses-section__grid {
        grid-template-columns: 1fr;
    }

    .course-card__image {
        height: 200px;
    }

    .course-card__name {
        font-size: 20px;
    }
}

/* Single course */
.course-single {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 64px 64px;
}

.course-single__image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 24px;
    max-height: 500px;
}

.course-single__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-single__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 12px;
}

.course-single__target {
    font-size: 18px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 24px;
    line-height: 1.4;
}

.course-single__body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}

.course-single__body p {
    margin-bottom: 16px;
}

@media (max-width: 960px) {
    .course-single {
        padding: 24px 20px 48px;
    }

    .course-single__title {
        font-size: 24px;
    }
}
