.project-list-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 3vw, 20px);
}

.project-list-tabs .btn {
    padding: clamp(5px, 0.8vw, 10px) clamp(8px, 1.5vw, 24px);
    font-size: clamp(10px, 1.3vw, 16px);
}

.project-list-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* ===== IMAGE WRAP ===== */
.project-list-wrapper .project-thumb {
    width: 100%;
    aspect-ratio: 16/9;
}

.project-list-wrapper .project-thumb.main-img:before {
    height: 50%;
    width: auto;
}

/* mặc định (item 1,5,9...) */
.project-item:nth-child(4n+1) .main-img::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
}

/* item 2,6,10... */
.project-item:nth-child(4n+2) .main-img::before {
    bottom: 0;
    left: 0;
    top: auto;
    right: auto;
}

/* item 3,7,11... */
.project-item:nth-child(4n+3) .main-img::before {
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
}

/* item 4,8,12... */
.project-item:nth-child(4n+4) .main-img::before {
    bottom: 0;
    right: 0;
    top: auto;
    left: auto;
}

.project-list-wrapper .project-thumb a {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* ===== IMAGE ===== */
.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 10px;
}

/* ===== TITLE ===== */
.project-item h3.project-title {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.project-item h3.project-title a {
    color: var(--e-global-color-secondary);
}

.project-item:hover h3.project-title a {
    color: var(--e-global-color-primary);
}

/* ===== LOCATION ===== */
.project-item .project-location {
    font-size: 16px;
}

/* ===== GRID ===== */
.project-list-wrapper .project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 30px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .project-list-wrapper .project-list {
        grid-template-columns: 1fr;
    }
}

.project-loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: clamp(30px, 5vw, 60px);
}