/**
 * Project Pages Styles
 * 
 * @package GiaoDienNguoiDung
 */

/* ============================================
   Project Archive Page Styles
   ============================================ */

/* Banner */
.ty-banner-1 {
    overflow: hidden;
    line-height: 0;
    text-align: center;
    width: 100%;
}

.ty-banner-1 img {
    visibility: hidden;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ty-banner-1 img.show {
    visibility: visible;
}

.p12-pagination-1.blk{
    margin-top: 40px;
}
/* Project List Styles */
.k12-xl-xwlb-1nt2-1-01-list dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.k12-xl-xwlb-1nt2-1-01-list dt {
    width: 45%;
    flex: 0 0 45%;
    margin-right: 20px;
    box-sizing: border-box;
}

.k12-xl-xwlb-1nt2-1-01-list dd {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.k12-xl-xwlb-1nt2-1-01-list-desc {
    margin: 5px 0 0;
    line-height: 1.8;
    color: #666;
}


/* Sidebar Category Navigation */
.new_ctg {
    margin-bottom: 20px;
}

.new_ctg li.current a {
    color: var(--primary-color, #ea5404);
    font-weight: bold;
}

/* Recommended Cases */
.tjal_list dl {
    transition: transform 0.3s;
}

.tjal_list dl:hover {
    transform: translateY(-3px);
}

/* ============================================
   Project Detail Page Styles
   ============================================ */

/* Introduction Section */
.way-intro .way_tit {
    margin-bottom: 30px;
    height: auto;
}

.way-intro .way_desc {
    max-width: 100%;
    width: 100%;
}

.way-intro .way_desc p {
    margin-bottom: 20px;
}

.way-intro .way_desc img {
    max-width: 100%;
    height: auto;
}

.project-content .way-intro.content{
    padding: 40px 20px 60px 20px;
}
/* Features Section */
.way_fea ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

.way_fea li {
    width: calc(25% - 16px);
    box-sizing: border-box;
    margin: 8px;
}
.way_fea li h3{
    padding:125px 0 22px
}
/* Standards Section */
.pfbz{
    padding: 75px 20px 100px 20px;
}
.pfbz_con ul {
    display: flex;
    flex-wrap: wrap;
}

.pfbz li {
    flex: 1;
    width: calc(16.666% - 8px);
    box-sizing: border-box;
}

/* Banner Section */
.dbpf {
    position: relative;
    margin: 40px 0;
}

.dbpf img {
    width: 100%;
    height: 276px;
    display: block;
}
.dbpf p {
    position: absolute;
    right: 50%;
    text-align: right;
    top: 155px;
    font-size: 26px;
    color: #fff;
    line-height: 1.4;
    margin-right: -600px;
    margin: 0;
    max-width: 50%;
    word-wrap: break-word;
    white-space: normal;
}

/* Solution Advantages & Technology Sections */
.way_ys{
    padding: 75px 20px 145px 20px;
}
.way_ys_tech{
    padding-top: 0;
}
.way_ys dl {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    height: auto;
}

.way_ys dt {
    flex: 0 0 auto;
    max-width: 50%;
    width: 50%;
}

.way_ys dd {
    flex: 1;
    min-width: 0;
    width: 50%;
    margin-left: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.way_ys dd h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.way_ys dd p {
    margin-bottom: 20px;
}
.way_ys dt img{
    margin-top: 0;
}
/* Zero Emission Advantages */
.lpfys{
    padding: 0 20px 60px 20px;
}
.lpfys ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lpfys li {
    flex: 1;
    min-width: calc(25% - 15px);
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s;
}

.lpfys li:hover {
    transform: translateY(-5px);
}

/* Core Equipment */
.zfq {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.zfq li p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* Related Cases */
.relcase{
    padding: 60px 20px 120px 20px;
}
.relcase ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-left: -15px;
    margin-right: -15px;
}

.relcase li {
    width: calc(33.333% - 30px);
    box-sizing: border-box;
    transition: transform 0.3s;
    margin:15px;
}

.relcase li:hover {
    transform: translateY(-5px);
}

.relcase .more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: var(--primary-color, #ea5404);
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s;
}

.relcase .more:hover {
    background: #d44903;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(234, 84, 4, 0.3);
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1199.98px) {
    .k12-xl-xwlb-1nt2-1-01-list-deta{
        display: none;
    }
    .lpfys_desc{
        max-width: 100%;
    }
    .dbpf p b{
        font-size: 24px;
    }
    .dbpf p{
        top:80px
    }
    .dbpf p b{
        padding-top: 10px;
        color: #fff;
    }
    .lpfys li p{
        width: 100%;
    }
    .project-content .way-intro.content{
        padding-top: 0;
    }
    /* Archive Page */
    .k12-xl-xwlb-1nt2-1-01-list dt {
        width: 30%;
        flex: 0 0 30%;
    }
    
    .k12-xl-xwlb-1nt2-1-01-list dd {
        width: calc(70% - 20px);
    }
    
    /* Detail Page - Introduction */
    .way-intro dl {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .way-intro dt {
        width: 100%;
        height: auto;
        float: none;
    }
    
    .way-intro dd {
        width: 100%;
        margin-left: 0;
        padding: 20px;
        height: auto;
    }
    
    .way-intro li:nth-child(2) {
        margin: 0 100px;
    }
    
    /* Detail Page - Features */
    .way_fea li {
        width: calc(50% - 16px);
    }
    
    /* Detail Page - Zero Emission */
    .lpfys li {
        min-width: calc(50% - 10px);
        width: calc(50% - 10px);
    }
    
    /* Detail Page - Solution Advantages & Technology */
    .way_ys dl {
        flex-direction: column;
        gap: 20px;
    }
    
    .way_ys dt {
        max-width: 100%;
        width: 100%;
    }
    
    .way_ys dd {
        width: 100%;
    }
    
    /* Detail Page - Core Equipment */
    .zfq ul {
        flex-direction: column;
    }
    
    .zfq li {
        width: 100%;
    }
    
    /* Detail Page - Related Cases */
    .relcase li {
        width: calc(50% - 30px);
    }
}

@media (max-width: 1024px) {
    /* Archive Page - Limit description to 2 lines */
    .k12-xl-xwlb-1nt2-1-01-list-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.8;
        max-height: calc(1.8em * 2); /* 2 lines with line-height 1.8 */
    }
}

@media (max-width: 991.98px) {
    .way-sm{
        width: 100%;
    }
    
    /* Archive Page - Limit description to 2 lines */
    .k12-xl-xwlb-1nt2-1-01-list-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.8;
        max-height: calc(1.8em * 2); /* 2 lines with line-height 1.8 */
    }
    
    /* Detail Page - Introduction */
    .project-content .way-intro.content {
        padding: 30px 15px 80px 15px;
    }
    
    .way-intro .way_tit {
        font-size: 32px;
        padding-bottom: 15px;
    }
    
    .way-intro li:nth-child(2) {
        margin: 0 50px;
    }
    
    .way-intro li p {
        width: 90px;
        height: 90px;
    }
    
    .way-intro li img {
        height: 28px;
        margin: 18px auto 10px;
    }
    
    .way-intro li span {
        font-size: 14px;
    }
    
    /* Detail Page - Features */
    .way_fea {
        padding: 60px 15px 80px 15px;
    }
    
    /* Detail Page - Standards */
    .pfbz {
        padding: 50px 15px 70px 15px;
    }
    
    .pfbz h2 {
        font-size: 28px;
    }
    
    .pfbz_con h3 {
        font-size: 20px;
    }
    
    .pfbz li {
        min-width: calc(33.333% - 7px);
        width: calc(33.333% - 7px);
    }
    
    /* Detail Page - Banner */
    .dbpf {
        margin: 30px 0;
    }
    .dbpf p {
        top: 30px;
    }
    
    /* Detail Page - Solution Advantages & Technology */
    .way_ys {
        padding: 50px 15px 50px 15px;
    }
    
    .way_ys h2 {
        font-size: 28px;
    }
    
    /* Detail Page - Zero Emission */
    .lpfys {
        padding: 0 15px 50px 15px;
    }
    
    .lpfys li {
        min-width: calc(50% - 10px);
        width: calc(50% - 10px);
    }
    
    /* Detail Page - Core Equipment */
    .zfq {
        padding: 50px 15px 80px 15px;
        background: #edf0f7;
        background-image: none !important;
        height: auto;
    }
    .zfq ul{
        display: block;
        overflow: hidden;
    }
    .zfq li:nth-child(1),.zfq li:nth-child(2){
        width: 48%;
    }
    
    .zfq h2 {
        font-size: 28px;
    }
    
    /* Detail Page - Related Cases */
    .relcase {
        padding: 50px 15px 100px 15px;
    }
    .relcase{
        padding-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .dbpf img{
        height: auto;
    }
    /* Archive Page - Search */
    .p1-search-1 {
        height: auto;
        padding: 15px 0;
    }
    
    .p1-search-1 p {
        line-height: 1.8;
        padding: 10px 0;
        font-size: 12px;
    }
    
    .p1-search-1 a {
        margin-right: 10px;
        font-size: 12px;
    }
    
    /* Detail Page - Introduction */
    .project-content .way-intro.content {
        padding: 25px 10px 0px 10px;
    }
    
    .way-intro .way_tit {
        font-size: 24px;
        padding-bottom: 12px;
        margin-bottom: 20px;
    }
    
    .way-intro .way_desc {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    .way-intro dl{
        margin-top: 20px;
    }
    .way-intro ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .way-intro li {
        margin: 0 !important;
    }
    
    .way-intro li p {
        width: 80px;
        height: 80px;
    }
    
    .way-intro li img {
        height: 24px;
        margin: 15px auto 8px;
    }
    
    .way-intro li span {
        font-size: 13px;
    }
    
    .way-intro dd {
        padding: 0 15px 15px 15px;
    }
    
    .way-intro dd h3 {
        font-size: 18px;
        padding: 20px 0 15px;
    }
    .way-intro dt img{
        margin-bottom: 0;
    }
    .way-intro dd p {
        font-size: 14px;
        line-height: 22px;
    }
    
    .way-intro dd .zx {
        width: 110px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }
    
    /* Detail Page - Features */
    .way_fea {
        padding: 20px 0 0;
    }
    
    .way_fea h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .way_fea ul{
        margin: 0;
    }
    .way_fea li {
        min-width: 100%;
        width: 100%;
        margin:0;
        margin-bottom: 15px;
        margin-top: 0;
        height: auto;
        padding-bottom: 20px;
    }
    .way_fea li img{
        margin-top: 0;
    }
    
    /* Detail Page - Standards */
    .pfbz {
        padding: 20px 15px 0;
    }
    
    .pfbz h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .pfbz_con h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .pfbz li {
        min-width: calc(50% - 5px);
        width: calc(50% - 5px);
        font-size: 12px;
    }
    
    /* Detail Page - Banner */
    .dbpf {
        margin: 20px 0;
    }
    
    .dbpf p {
        right: 0;
        transform: none;
        padding: 15px;
        font-size: 16px;
        line-height: 1.6;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    
    /* Detail Page - Solution Advantages & Technology */
    .way_ys {
        padding: 0px 15px 20px 15px;
    }
    .way_ys dt{
        height: auto;
    }
    .way_ys dt img{
        height: auto;
    }
    .way_ys h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .way_ys dd,.way_ys dl{
        margin-top: 0;
    }
    
    .way_ys dd h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .way_ys dd p {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 15px;
    }
    
    /* Detail Page - Zero Emission */
    .lpfys {
        padding: 0 15px;
    }
    
    .lpfys h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .lpfys_desc {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 25px;
    }
    .lpfys ul{
        margin: 0;
    }
    
    .lpfys li h3 {
        font-size: 16px;
    }
    
    .lpfys li p {
        font-size: 13px;
        line-height: 20px;
    }
    
    /* Detail Page - Core Equipment */
    .zfq {
        padding: 20px 0 0;
    }
    .zfq ul,.zfq li:nth-child(1), .zfq li:nth-child(2){
        margin-bottom: 0;
    }
    
    .zfq h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .zfq h2 i {
        font-size: 14px;
        display: block;
        margin-top: 10px;
    }
    
    .zfq li {
        margin-bottom: 15px;
    }
    
    .zfq li p {
        font-size: 13px;
    }
    
    /* Detail Page - Related Cases */
    .relcase {
        padding: 0px 15px;
    }
    .relcase li {
        width: calc(50% - 15px);
        margin: 7.5px;
    }
    .relcase ul{
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    .relcase h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
 
    
    .relcase .more {
        font-size: 14px;
        padding: 8px 20px;
        margin-top: 15px;
    }
}

@media (max-width: 575.98px) {
     /* Archive Page */
     .k12-xl-xwlb-1nt2-1-01-list dl {
        flex-direction: column;
    }
    
    .k12-xl-xwlb-1nt2-1-01-list dt {
        width: 100%;
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .k12-xl-xwlb-1nt2-1-01-list dd {
        width: 100%;
    }
    /* Archive Page - Search */
    .p1-search-1-inp1 {
        font-size: 12px;
        padding: 8px 10px;
    }
    .dbpf p{
        position: static;
        background-color: #444;
    }
    .dbpf img{
        display: none;
    }
    .lpfys li h3{
        padding-top: 15px;
    }
    /* Archive Page - Breadcrumb */
    .p12-curmbs-1 {
        font-size: 12px;
        line-height: inherit;
    }
    .blk.plc{
        margin-bottom: 0;
    }
    .zfq li:nth-child(1), .zfq li:nth-child(2){
        width: 100%;
        padding: 0;
        text-align: left;
    }
    .zfq li:nth-child(2){
        background-position: right center;
    }
}

