body.category-dich-vu {
    --ames-navy: #102942;
    --ames-blue: #0675be;
    --ames-sky: #e9f6fd;
    --ames-ink: #263442;
    --ames-muted: #647484;
    --ames-line: #dce5ea;
    background: #f7fafb;
}

body.category-dich-vu #content.site-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

body.category-dich-vu .page-header {
    position: relative;
    overflow: hidden;
    margin: 0 0 38px;
    padding: 46px 52px;
    color: #fff;
    background: var(--ames-navy);
    border-left: 6px solid #39b8e8;
}

body.category-dich-vu .page-header::after {
    position: absolute;
    top: -92px;
    right: -80px;
    width: 310px;
    height: 310px;
    border: 48px solid rgba(57, 184, 232, 0.19);
    border-radius: 50%;
    content: "";
}

body.category-dich-vu .page-header::before {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 10px;
    color: #8fd9f4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    content: "Ames Smarthome";
}

body.category-dich-vu .page-header .entry-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.18;
}

body.category-dich-vu .page-header .entry-title span {
    color: #fff;
}

body.category-dich-vu .page-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

body.category-dich-vu .page-content .post {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ames-line);
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(16, 41, 66, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.category-dich-vu .page-content .post:hover {
    border-color: #8dd0ec;
    box-shadow: 0 15px 30px rgba(16, 41, 66, 0.14);
    transform: translateY(-5px);
}

body.category-dich-vu .page-content .post > a:first-of-type {
    display: block;
    order: 1;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ames-sky);
}

body.category-dich-vu .page-content .post > a:first-of-type img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

body.category-dich-vu .page-content .post:hover > a:first-of-type img {
    transform: scale(1.045);
}

body.category-dich-vu .page-content .post .entry-title {
    order: 2;
    margin: 22px 22px 10px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.38;
}

body.category-dich-vu .page-content .post .entry-title a {
    color: var(--ames-navy);
    text-decoration: none;
}

body.category-dich-vu .page-content .post .entry-title a:hover {
    color: var(--ames-blue);
}

body.category-dich-vu .page-content .post .entry-title::after {
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 15px;
    background: #39b8e8;
    content: "";
}

body.category-dich-vu .page-content .post > p {
    order: 3;
    margin: 0 22px 24px;
    color: var(--ames-muted);
    font-size: 15px;
    line-height: 1.65;
}

body.category-dich-vu .pagination {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 26px;
    border-top: 1px solid var(--ames-line);
}

body.category-dich-vu .pagination a {
    color: var(--ames-blue);
    font-weight: 700;
    text-decoration: none;
}

body.category-dich-vu .pagination a:hover {
    color: var(--ames-navy);
}

@media (max-width: 920px) {
    body.category-dich-vu .page-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.category-dich-vu #content.site-main {
        padding: 32px 16px 56px;
    }

    body.category-dich-vu .page-header {
        margin-bottom: 26px;
        padding: 33px 26px;
    }

    body.category-dich-vu .page-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.category-dich-vu .page-content .post .entry-title {
        margin: 19px 19px 9px;
        font-size: 18px;
    }

    body.category-dich-vu .page-content .post > p {
        margin: 0 19px 21px;
    }
}