.courses_page .top_banner .custom_container {
    align-items: center;
}

.courses_page .top_banner .textbox {
    width: 56%;
}

.courses_page .top_banner .imgbox {
    width: 40%;
    justify-content: center;
}

.courses_page .top_banner .imgbox img {
    max-height: 420px;
}

.courses_page .courses_listing {
    background-color: #f6f9f9;
    padding: 70px 0 80px;
}

.courses_page .courses_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 35px;
}

.courses_page .course_card {
    background-color: #fff;
    border: 1px solid #d5e6e6;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all ease-in-out 0.3s;
}

.courses_page .course_card:hover {
    border-color: #296d6b;
    box-shadow: 0 12px 22px rgba(21, 56, 56, 0.12);
}

.courses_page .course_head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.courses_page .course_copy h3 {
    font-size: 20px;
    line-height: 28px;
    color: #296d6b;
    font-weight: 700;
    margin: 0 0 8px;
}

.courses_page .course_type {
    display: inline-block;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 0.9px;
    color: #6c6d6c;
    font-weight: 700;
}

.courses_page .course_img {
    width: 112px;
    min-width: 112px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.courses_page .course_img img {
    width: 100%;
    max-height: 95px;
    object-fit: contain;
}

.courses_page .course_points {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.courses_page .course_points li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    line-height: 19px;
    color: #3e5c5b;
    font-weight: 500;
}

.courses_page .course_points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #296d6b;
}

.courses_page .course_actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.courses_page .course_btn {
    flex: 1;
    min-height: 40px;
    border-radius: 24px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    transition: all ease-in-out 0.3s;
}

.courses_page .course_btn.primary {
    background-color: #296d6b;
    color: #fff;
}

.courses_page .course_btn.primary:hover {
    background-color: #85a6a6;
    color: #fff;
}

.courses_page .course_btn.outline {
    background-color: transparent;
    border-color: #296d6b;
    color: #296d6b;
}

.courses_page .course_btn.outline:hover {
    background-color: #296d6b;
    color: #fff;
}

@media (max-width: 1199px) {
    .courses_page .top_banner .textbox {
        width: 60%;
    }

    .courses_page .top_banner .imgbox {
        width: 36%;
    }

    .courses_page .courses_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .courses_page .top_banner .textbox,
    .courses_page .top_banner .imgbox {
        width: 100%;
    }

    .courses_page .top_banner .imgbox img {
        max-height: 260px;
    }

    .courses_page .courses_listing {
        padding: 40px 0 50px;
    }

    .courses_page .courses_grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .courses_page .course_card {
        padding: 16px;
        gap: 12px;
    }

    .courses_page .course_copy h3 {
        font-size: 17px;
        line-height: 23px;
    }

    .courses_page .course_type {
        font-size: 9px;
        line-height: 13px;
    }

    .courses_page .course_img {
        width: 90px;
        min-width: 90px;
    }

    .courses_page .course_img img {
        max-height: 70px;
    }

    .courses_page .course_points li {
        font-size: 12px;
        line-height: 18px;
    }
}
