/* ==========================================================================
   Trang Dự án đã thực hiện (page-projects.php, inc/projects.php)
   ========================================================================== */
.ptk-projects__intro {
    max-width: 760px;
    margin: 0 auto 8px;
    text-align: center;
}
.ptk-projects__intro p {
    font-size: 17px;
    line-height: 1.7;
    color: #2b3150;
}
.ptk-projects__group {
    margin: 48px 0 24px;
    font-size: 30px;
    line-height: 1.3;
}
.ptk-projects__group:first-of-type {
    margin-top: 0;
}
.ptk-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.ptk-project {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3e8f5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(6, 17, 83, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ptk-project:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(6, 17, 83, .12);
}
.ptk-project__image {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    background: #eef2fb;
}
.ptk-project__image a {
    display: block;
    height: 100%;
}
.ptk-project__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .5s ease;
}
.ptk-project:hover .ptk-project__image img {
    transform: scale(1.04);
}
.ptk-project__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 22px 22px;
}
.ptk-project__type {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #1053f3;
}
.ptk-project__name {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    color: #061153;
}
.ptk-project__link {
    font-size: 15px;
    line-height: 1.5;
    color: #5a6488;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ptk-project__link:hover {
    color: #1053f3;
}
.ptk-projects__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 28px;
    margin-top: 56px;
    text-align: center;
}
.ptk-projects__cta p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #061153;
}
.ptk-projects__cta .theme-btn {
    margin: 0;
}

@media (max-width: 991px) {
    .ptk-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}
@media (max-width: 575px) {
    .ptk-projects__group {
        font-size: 24px;
        margin-top: 36px;
    }
    .ptk-projects__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ptk-project__name {
        font-size: 18px;
    }
}
