/* =========================================================
   CATEGORY SERVICES
   ========================================================= */

.category-page {
    width: 100%;
    padding: 45px 20px 70px;
}

.category-page .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.category-page > .container > h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.category-page > .container > p {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   SERVICE GRID
   ========================================================= */

.category-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.category-service-card {
    min-width: 0;
}

.category-service-card > a:first-child {
    display: block;
    width: 100%;
    overflow: hidden;
}

.category-service-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}


/* =========================================================
   TITLE
   ========================================================= */

.category-service-card h3 {
    margin: 16px 0 8px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.category-service-card h3 a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.category-service-card p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.65;
}

/* =========================================================
   EXPLORE SERVICE
   ========================================================= */

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1683c7;
}

.service-card-link:hover {
    color: #0b6fa8;
    text-decoration: underline;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .category-page {
        padding: 35px 18px 55px;
    }

    .category-page > .container > h2 {
        font-size: 28px;
    }

    .category-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .category-page {
        padding: 30px 16px 50px;
    }

    .category-page > .container > h2 {
        font-size: 25px;
    }

    .category-page > .container > p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .category-services {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .category-service-card h3 {
        margin-top: 13px;
        font-size: 19px;
    }

    .category-service-card p {
        font-size: 14px;
    }

}