/* =========================================
   COURSE CATEGORY / TAXONOMY PAGE
========================================= */

.course-category-area {
    padding: 80px 0 100px;
    background: #fcf7f4;
}


/* =========================================
   Category Heading
========================================= */

.course-category-heading {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.course-category-subtitle {
    display: block;
    margin-bottom: 10px;

    color: #bc7677;
    font-size: 17px;
    font-weight: 500;
}

.course-category-heading h2 {
    margin: 0;

    color: #223b5a;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}

.course-category-heading p {
    max-width: 700px;
    margin: 18px auto 0;

    color: #6e6e6e;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   Course Grid
========================================= */

.course-category-area .row {
    align-items: stretch;
}


/* =========================================
   Course Card
========================================= */

.course-category-card {
    position: relative;

    height: 100%;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e8d8d4;
    border-radius: 20px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.course-category-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 45px rgba(34, 59, 90, 0.12);
}


/* =========================================
   Course Image
========================================= */

.course-category-image {
    width: 100%;
    height: 260px;

    overflow: hidden;

    background: #f4eeee;
}

.course-category-image a {
    display: block;

    width: 100%;
    height: 100%;
}

.course-category-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.course-category-card:hover .course-category-image img {
    transform: scale(1.06);
}


/* =========================================
   Course Content
========================================= */

.course-category-content {
    padding: 28px 28px 30px;
}


/* Category */

.course-card-category {
    display: inline-block;

    margin-bottom: 9px;

    color: #bc7677;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
}


/* Course Title */

.course-category-title {
    margin: 0 0 12px;

    color: #223b5a;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.3;
}

.course-category-title a {
    color: #223b5a;

    text-decoration: none;

    transition: color 0.3s ease;
}

.course-category-title a:hover {
    color: #bc7677;
}


/* =========================================
   Excerpt
========================================= */

.course-category-excerpt {
    margin-bottom: 20px;

    color: #6e6e6e;

    font-size: 15px;
    line-height: 1.7;
}

.course-category-excerpt p {
    margin: 0;
}


/* =========================================
   View Course
========================================= */

.course-category-btn {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: #bc7677;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.course-category-btn i {
    font-size: 13px;

    transition: transform 0.3s ease;
}

.course-category-btn:hover {
    color: #223b5a;
}

.course-category-btn:hover i {
    transform: translateX(5px);
}


/* =========================================
   No Courses
========================================= */

.course-no-result {
    padding: 70px 20px;

    background: #ffffff;

    border: 1px solid #e8d8d4;
    border-radius: 20px;
}

.course-no-result h3 {
    margin-bottom: 10px;

    color: #223b5a;

    font-size: 28px;
}

.course-no-result p {
    margin: 0;

    color: #6e6e6e;
}


/* =========================================
   Pagination
========================================= */

.course-category-pagination {
    margin-top: 55px;

    text-align: center;
}

.course-category-pagination .nav-links {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;
}

.course-category-pagination .page-numbers {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: #ffffff;

    border: 1px solid #e8d8d4;
    border-radius: 50%;

    color: #223b5a;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.course-category-pagination .page-numbers:hover,
.course-category-pagination .page-numbers.current {
    background: #bc7677;

    border-color: #bc7677;

    color: #ffffff;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 991px) {

    .course-category-area {
        padding: 70px 0 80px;
    }

    .course-category-heading h2 {
        font-size: 38px;
    }

    .course-category-image {
        height: 240px;
    }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

    .course-category-area {
        padding: 60px 0 70px;
    }

    .course-category-heading {
        margin-bottom: 40px;
    }

    .course-category-heading h2 {
        font-size: 32px;
    }

    .course-category-content {
        padding: 24px;
    }

    .course-category-title {
        font-size: 22px;
    }

    .course-category-image {
        height: 230px;
    }

}


@media (max-width: 575px) {

    .course-category-heading h2 {
        font-size: 28px;
    }

    .course-category-heading p {
        font-size: 15px;
    }

    .course-category-image {
        height: 220px;
    }

}