.du-an-archive-page{
    padding:48px 0;
    background:var(--bg);
}

/* Header */
.du-an-archive-header{
    text-align:center;
    margin-bottom:32px;
}

.du-an-archive-title{
    font-size:38px;
    font-weight:700;
    line-height:1.3;
    color:var(--brand-950);
    margin-bottom:12px;
}

.du-an-archive-desc{
    max-width:760px;
    margin:0 auto;
    color:var(--text-soft);
    line-height:1.8;
    font-size:16px;
}


/* Filter */
.du-an-filter{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:40px;
}

.du-an-filter-item{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 22px;
    border-radius:999px;
    background:var(--surface);
    border:1px solid var(--line);
    color:var(--text);
    font-size:15px;
    font-weight:500;
    text-decoration:none;
    transition:.3s ease;
    box-shadow:var(--shadow-sm);
}

.du-an-filter-item:hover,
.du-an-filter-item.active{
    background:var(--brand-950);
    border-color:var(--brand-950);
    color:var(--white);
}


/* Grid */
.du-an-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.du-an-item{
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:16px;
    text-decoration:none;
}

.du-an-thumb{
    aspect-ratio:1/1;
    overflow:hidden;
}

.du-an-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.5s ease;
}


/* Overlay */
.du-an-item::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.0) 50%
    );
    z-index:1;
    transition:.3s;
}


/* Title */
.du-an-title{
    position:absolute;
    left:24px;
    bottom:24px;
    z-index:2;
    margin:0;
    color:#fff;
    font-size:20px;
    font-weight:600;
    line-height:1.4;
    transition:.4s ease;
}


/* Hover */
.du-an-item:hover img{
    transform:scale(1.08);
}



.du-an-item:hover .du-an-title{
    transform:translateY(-6px);
}


/* Pagination */
.du-an-pagination{
    margin-top:48px;
}

.du-an-pagination .nav-links{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.du-an-pagination .page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:42px;
    padding:0 14px;
    border-radius:var(--radius-sm);
    background:var(--surface);
    border:1px solid var(--line);
    color:var(--text);
    text-decoration:none;
    transition:.3s ease;
}

.du-an-pagination .page-numbers:hover,
.du-an-pagination .page-numbers.current{
    background:var(--brand-950);
    border-color:var(--brand-950);
    color:var(--white);
}


/* Responsive */
@media(max-width:1024px){

    .du-an-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){

    .du-an-grid{
        grid-template-columns:1fr;
    }

    .du-an-archive-title{
        font-size:28px;
    }

    .du-an-title{
        font-size:18px;
        left:18px;
        bottom:18px;
        right:18px;
    }

    .du-an-filter{
        justify-content:flex-start;
        flex-wrap:nowrap;
        overflow-x:auto;
        gap:8px;
        margin-bottom:28px;
        padding:0 0 8px;
        -webkit-overflow-scrolling:touch;
    }

    .du-an-filter::-webkit-scrollbar{
        display:none;
    }

    .du-an-filter-item{
        flex:0 0 auto;
        min-width:auto;
        padding:8px 16px;
        font-size:14px;
        line-height:1.3;
        border-radius:999px;
        box-shadow:none;
        white-space:nowrap;
    }

    .du-an-archive-title{
        font-size:26px;
        margin-bottom:20px;
    }

}


/* chi tiết dự án */
.du-an-single-page{
    background:var(--bg);
    padding:48px 0;
}

.du-an-single-content,
.du-an-single-sidebar{
    background: #fff;
    border-radius:var(--radius-md);
    overflow:hidden;
    box-shadow:var(--shadow-sm);
}

.du-an-single-thumbnail img{
    width:100%;
    height:auto;
    display:block;
}

.du-an-single-head{
    padding:32px 32px 10px;
}

.du-an-single-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 16px;
    border-radius:999px;
    background:var(--brand-950);
    color:var(--white);
    font-size:14px;
    margin-bottom:18px;
}

.du-an-single-title{
    font-size:38px;
    line-height:1.3;
    color:var(--brand-950);
    margin:0;
}

.du-an-single-main-content{
    padding:0 32px 32px;
    color:var(--text);
    line-height:1.9;
}

.du-an-single-main-content h2,
.du-an-single-main-content h3,
.du-an-single-main-content h4{
    color:var(--brand-950);
}

.du-an-single-sidebar{
    padding:28px;
    position:sticky;
    top:90px;
}

.du-an-single-sidebar h3{
    color:var(--brand-950);
    margin-bottom:24px;
}

.du-an-sidebar-item{
    padding:16px 0;
    border-bottom:1px solid var(--line);
}

.du-an-sidebar-item span{
    display:block;
    color:var(--text-soft);
    font-size:14px;
    margin-bottom:6px;
}

.du-an-sidebar-item strong{
    color:var(--text);
    font-size:16px;
    line-height:1.6;
}

.du-an-sidebar-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:24px;
    padding:14px 22px;
    border-radius:999px;
    background:var(--brand-950);
    color:var(--white);
    font-weight:600;
    text-decoration:none;
    transition:.3s ease;
}

.du-an-sidebar-btn:hover{
    background:var(--brand-900);
    color:#fff;
}

@media(max-width:849px){

    .du-an-single-sidebar{
        position:static;
        margin-top:24px;
    }

}

@media(max-width:767px){

    .du-an-single-page{
        padding:28px 0;
    }

    .du-an-single-head{
        padding:22px 22px 10px;
    }

    .du-an-single-main-content{
        padding:0 22px 22px;
    }

    .du-an-single-sidebar{
        padding:22px;
    }

    .du-an-single-title{
        font-size:28px;
    }

}

.du-an-related-section{
    margin-top:64px;
}

.du-an-related-head{
    text-align:center;
    margin-bottom:32px;
}

.du-an-related-title{
    font-size:34px;
    color:var(--brand-950);
    margin:0;
    line-height:1.3;
}

@media(max-width:767px){

    .du-an-related-section{
        margin-top:42px;
    }

    .du-an-related-title{
        font-size:26px;
    }

}