.home-project-section {
    position: relative;
    overflow: hidden;
    padding: 84px 0 88px;
    background: linear-gradient(135deg, rgba(3, 30, 61, 0.94) 0%, rgba(4, 92, 169, 0.88) 56%, rgba(0, 168, 249, 0.74) 100%), url(/Design/img/HungThinh/home-banner-bg.png) center/cover no-repeat;
    isolation: isolate;
}

    .home-project-section:before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
        background-size: 48px 48px;
        opacity: 0.16;
        pointer-events: none;
        z-index: 0;
    }

    .home-project-section:after {
        content: "";
        position: absolute;
        left: -12%;
        bottom: -30%;
        width: 620px;
        height: 620px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(246, 191, 66, 0.22) 0%, rgba(246, 191, 66, 0) 66%);
        pointer-events: none;
        z-index: 0;
    }

    .home-project-section .grid.wide {
        position: relative;
        z-index: 1;
        max-width: 1220px;
    }

.home-project-container {
    padding: 0;
}

.home-project-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
}

.home-project-heading-content {
    max-width: 1035px;
}

.home-project-section .p-title-cate {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 0;
    color: #f6bf42;
    font-family: 'monSB';
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
}

    .home-project-section .p-title-cate:before {
        content: "";
        position: static;
        width: 34px;
        height: 2px;
        border-radius: 8px;
        background: #f6bf42;
        margin: 0;
    }

.home-project-section .p-title {
    margin: 0;
    color: #fff;
    font-family: 'MonEB';
    font-size: 38px;
    font-weight: normal;
    line-height: 1.16;
    text-transform: uppercase;
}

.home-project-section .p-descript {
    display: block;
    max-width: 720px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'monM';
    font-size: 15px;
    line-height: 1.7;
}

.home-project-heading-action {
    flex: 0 0 auto;
}

.home-project-section .p-btn-more {
    margin: 0;
}

    .home-project-section .p-btn-more span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: max-content;
        height: 46px;
        padding: 0 18px;
        border: 1px solid rgba(255, 255, 255, 0.34);
        border-radius: 6px;
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        font-family: 'monSB';
        font-size: 13px;
        line-height: 1.2;
        text-transform: uppercase;
        transition: transform 0.32s ease, background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, color 0.32s ease;
    }

        .home-project-section .p-btn-more span:before {
            display: none;
        }

        .home-project-section .p-btn-more span img {
            /* width: 14px; */
            height: auto !important;
            filter: brightness(0) invert(1);
            transition: transform 0.32s ease;
        }

        .home-project-section .p-btn-more span:hover {
            color: #10243d;
            border-color: #f6bf42;
            background: #f6bf42;
            box-shadow: 0 16px 34px rgba(246, 191, 66, 0.28);
            transform: translateY(-3px);
        }

            .home-project-section .p-btn-more span:hover img {
                filter: brightness(0) saturate(100%) invert(13%) sepia(29%) saturate(1672%) hue-rotate(176deg) brightness(95%) contrast(93%);
                transform: translateX(3px);
            }

.home-project-wrap {
    margin-top: 38px;
}

.home-project-feature-layout {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}

.home-project-main,
.home-project-side {
}

.home-project-section .home-design-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-project-section .home-project-main .home-design-list,
.home-project-section .home-project-side .home-design-list {
    grid-template-columns: 1fr;
    height: 100%;
}

.home-project-section .home-project-side .home-design-list {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.home-project-section .p-design-item {
    position: relative;
    display: block;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: #092b4f;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
    transform: translateZ(0);
    transition: transform 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease;
}

.home-project-section .home-project-card-large {
    height: 700px;
}

.home-project-section .p-design-img {
    position: absolute;
    inset: 0;
}

    .home-project-section .p-design-img img {
        display: block;
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        transition: transform 0.65s ease, filter 0.65s ease;
    }

.home-project-section .p-design-item:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 21, 40, 0.1) 0%, rgba(2, 21, 40, 0.58) 48%, rgba(2, 21, 40, 0.9) 100%);
    z-index: 1;
    transition: background 0.35s ease;
}

.home-project-section .p-design-item:after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.0);
    border-radius: 6px;
    z-index: 2;
    pointer-events: none;
    transition: border-color 0.35s ease, inset 0.35s ease;
}

.home-project-section .p-design-content {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    min-height: 70%;
    padding: 24px 40px;
    background: none;
}

    .home-project-section .p-design-content .content-top {
        width: 100%;
        transform: none;
        transition: transform 0.35s ease;
        text-align: center;
    }

.home-project-label {
    display: inline-flex;
    align-items: center;
    margin: auto;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    color: #10243d;
    background: #f6bf42;
    font-family: 'monSB';
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    display: none !important;
}

.home-project-section .img-decor-desgin-d,
.home-project-logo {
    width: 62px;
    margin: auto;
    margin-bottom: 12px;
}

    .home-project-section .img-decor-desgin-d img,
    .home-project-logo img {
        display: block;
        width: 100%;
        height: auto !important;
        object-fit: contain;
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
    }

.home-project-section .p-design-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-family: 'MonEB';
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-project-section .home-project-card-large .p-design-title {
    max-width: 620px;
    font-size: 16px;
}

.home-project-section .p-design-place {
    margin-top: 8px;
}

    .home-project-section .p-design-place span {
        display: -webkit-box;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.86);
        font-family: 'monM';
        font-size: 14px;
        line-height: 1.58;
        text-shadow: 0 6px 14px rgba(0, 0, 0, 0.34);
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

.home-project-section .home-project-card-large .p-design-place span {
    font-size: 15px;
    -webkit-line-clamp: 3;
}

.home-project-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: max-content;
    margin: auto;
    margin-top: 16px;
    padding: 3px 16px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 6px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    font-family: 'monSB';
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.32s ease, background 0.32s ease, border-color 0.32s ease, transform 0.32s ease;
}

.home-project-section .p-design-item:hover {
    border-color: rgba(246, 191, 66, 0.58);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
    transform: translateY(-7px);
}

    .home-project-section .p-design-item:hover .p-design-img img {
        filter: saturate(1.08) contrast(1.04);
        transform: scale(1.08);
    }

    .home-project-section .p-design-item:hover:before {
        background: linear-gradient(180deg, rgba(2, 21, 40, 0.06) 0%, rgba(2, 21, 40, 0.42) 42%, rgba(2, 21, 40, 0.9) 100%);
    }

    .home-project-section .p-design-item:hover:after {
        inset: 10px;
        border-color: rgba(246, 191, 66, 0.42);
    }

    .home-project-section .p-design-item:hover .p-design-content .content-top {
        transform: translateY(-4px);
    }

    .home-project-section .p-design-item:hover .home-project-detail {
        color: #10243d;
        border-color: #f6bf42;
        background: #f6bf42;
        transform: translateY(-2px);
    }

@media(max-width: 1023px) {
    .home-project-section {
        padding: 56px 0;
    }

    .home-project-container {
        padding: 0 10px;
    }

    .home-project-heading {
        align-items: flex-start;
        gap: 18px;
    }

    .home-project-section .p-title {
        font-size: 30px;
    }

    .home-project-section .p-descript {
        font-size: 14px;
        line-height: 1.65;
    }

    .home-project-feature-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-project-section .home-project-side .home-design-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 14px;
    }

    .home-project-section .home-design-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .home-project-section .p-design-item {
        height: 230px;
    }

    .home-project-section .home-project-card-large {
        height: 430px;
    }

    .home-project-section .p-design-content {
        padding: 20px;
    }

    .home-project-section .home-project-card-large .p-design-title {
        font-size: 21px;
    }
}

@media(max-width: 739px) {
    .home-project-section {
        padding: 38px 0;
    }

    ul.home-design-list.home-project-grid.rs .p-design-item:last-child {
        display: none;
    }

    .home-project-heading {
        display: block;
    }

    .home-project-section .p-title-cate {
        margin-bottom: 8px;
        font-size: 12px;
    }

        .home-project-section .p-title-cate:before {
            width: 26px;
        }

    .home-project-section .p-title {
        font-size: 24px;
    }

    .home-project-section .p-descript {
        max-height: 96px;
        overflow: hidden;
        margin-top: 12px;
        font-size: 13px;
        text-align: justify;
    }

    .home-project-heading-action {
        margin-top: 18px;
    }

    .home-project-section .p-btn-more span {
        min-width: max-content;
        height: 40px;
        font-size: 12px;
    }

    .home-project-wrap {
        margin-top: 24px;
    }

    .home-project-section .home-project-side .home-design-list,
    .home-project-section .home-design-list {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .home-project-section .p-design-item,
    .home-project-section .home-project-card-large {
        height: auto;
        min-height: 320px;
        aspect-ratio: 4 / 3;
    }

    .home-project-section .p-design-content {
        padding: 18px;
    }

    .home-project-section .img-decor-desgin-d,
    .home-project-logo {
        display: none;
    }

    .home-project-label {
        margin-bottom: 9px;
        padding: 6px 9px;
        font-size: 10px;
    }

    .home-project-section .p-design-title,
    .home-project-section .home-project-card-large .p-design-title {
        font-size: 16px;
        line-height: 1.38;
    }

    .home-project-section .p-design-item:before {
        opacity: 1;
    }

    .home-project-section .p-design-place span,
    .home-project-section .home-project-card-large .p-design-place span {
        font-size: 13px;
        line-height: 1.5;
        -webkit-line-clamp: 2;
    }

    .home-project-detail {
        margin-top: 12px;
        font-size: 11px;
    }
}

@media(max-width: 400px) {

    .home-project-section .home-project-card-large {
        min-height: 286px;
    }

    .home-project-section .p-design-item {
        min-height: 186px;
    }

    .home-project-section .p-design-content {
        padding: 15px;
    }

    .home-project-section .p-title {
        font-size: 21px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .home-project-section .p-btn-more span,
    .home-project-section .p-btn-more span img,
    .home-project-section .p-design-item,
    .home-project-section .p-design-img img,
    .home-project-section .p-design-item:before,
    .home-project-section .p-design-item:after,
    .home-project-section .p-design-content .content-top,
    .home-project-detail {
        transition: none;
    }
}
