/* =========================================================
   PHONGVT - SINGLE DOANH NGHIỆP HOÀN CHỈNH
========================================================= */

:root{
    --phongvt-blue:#0798d4;
    --phongvt-blue-hover:#057dad;
    --phongvt-dark:#07112d;
    --phongvt-text:#344054;
    --phongvt-muted:#667085;
    --phongvt-border:#e4e7ec;
    --phongvt-bg:#f5f5f5;
}

.single-doanh_nghiep #main{
    padding:0 !important;
}

.phongvt-business-single,
.phongvt-business-single *{
    box-sizing:border-box;
}

.phongvt-business-single{
    overflow:hidden;
    background:var(--phongvt-bg);
    color:var(--phongvt-text);
}

.phongvt-container{
    width:min(1450px,calc(100% - 32px));
    margin:0 auto;
}

/* Banner */
.phongvt-business-single-banner{
    position:relative;
    min-height:330px;
    background:url("/wp-content/uploads/2026/07/banner-1-scaled.webp") center/cover no-repeat;
}

.phongvt-business-single-banner-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.03);
}

/* Profile */
.phongvt-business-profile{
    position:relative;
    z-index:3;
    margin-top:-48px;
    padding:55px 64px 48px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 5px 22px rgba(15,23,42,.035);
}

.phongvt-business-profile-top{
    display:grid;
    grid-template-columns:300px minmax(0,1fr);
    gap:68px;
    align-items:start;
}

.phongvt-business-avatar{
    width:250px;
    height:250px;
    margin:0 auto;
}

.phongvt-business-avatar img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center bottom;
}

.phongvt-business-profile-right{
    padding-top:40px;
}

.phongvt-profile-heading{
    padding-bottom:17px;
    border-bottom:1px solid var(--phongvt-border);
}

.phongvt-profile-heading h1{
    margin:0 0 3px;
    color:var(--phongvt-blue);
    font-size:29px;
    line-height:1.3;
}

.phongvt-profile-position{
    color:var(--phongvt-dark);
    font-size:16px;
}

.phongvt-profile-main-info{
    display:flex;
    flex-wrap:wrap;
    gap:12px 24px;
    padding:17px 0;
    border-bottom:1px solid var(--phongvt-border);
}

.phongvt-profile-info-item{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
    font-size:14px;
}

.phongvt-profile-info-item i{
    width:20px;
    color:var(--phongvt-blue);
    text-align:center;
}

.phongvt-profile-info-item a{
    color:var(--phongvt-dark);
    text-decoration:none;
}

.phongvt-profile-info-item a:hover{
    color:var(--phongvt-blue);
}

.phongvt-profile-chapter{
    display:flex;
    gap:11px;
    margin-top:30px;
}

.phongvt-profile-chapter span{
    width:6px;
    height:6px;
    margin-top:9px;
    border-radius:50%;
    background:var(--phongvt-blue);
}

.phongvt-profile-chapter p{
    margin:0;
}

.phongvt-profile-block{
    width:100%;
    margin-top:38px;
    padding-top:30px;
    border-top:1px solid var(--phongvt-border);
}

.phongvt-profile-intro{
    margin-top:42px;
}

.phongvt-profile-block h2{
    margin:0 0 17px;
    color:var(--phongvt-dark);
    font-size:22px;
}

.phongvt-profile-block-content{
    font-size:15px;
    line-height:1.72;
}

.phongvt-profile-block-content > :last-child{
    margin-bottom:0;
}

/* Tin hoạt động */
.phongvt-business-news{
    padding:48px 0 65px;
}

.phongvt-business-news-heading{
    margin-bottom:24px;
    padding-bottom:14px;
    border-bottom:1px solid #d9dee7;
}

.phongvt-business-news-heading h2{
    margin:0;
    color:var(--phongvt-dark);
    font-size:30px;
}

/* Flatsome slider */
.phongvt-business-news-slider{
    margin-left:-10px !important;
    margin-right:-10px !important;
}

.phongvt-business-news-slider > .col{
    padding:0 10px !important;
}

.phongvt-business-news-slider .flickity-viewport{
    overflow:hidden;
}

.phongvt-business-news-slider .flickity-slider{
    display:flex;
    align-items:stretch;
}

.phongvt-business-news-slide{
    display:flex;
}

.phongvt-business-news-card{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    overflow:hidden;
    background:#fff;
    border-radius:10px;
    transition:transform .3s ease,box-shadow .3s ease;
}

.phongvt-business-news-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 32px rgba(15,23,42,.10);
}

.phongvt-business-news-image{
    display:block;
    height:220px;
    overflow:hidden;
    background:#eef2f5;
}

.phongvt-business-news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.phongvt-business-news-card:hover .phongvt-business-news-image img{
    transform:scale(1.05);
}

.phongvt-news-no-image{
    display:block;
    width:100%;
    height:100%;
    background:#eef2f5;
}

.phongvt-business-news-content{
    display:flex;
    flex:1;
    flex-direction:column;
    min-height:255px;
    padding:18px 18px 20px;
}

.phongvt-business-news-date{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:10px;
    color:var(--phongvt-muted);
    font-size:13px;
}

.phongvt-business-news-date i{
    color:var(--phongvt-blue);
}

.phongvt-business-news-content h3{
    display:-webkit-box;
    min-height:50px;
    margin:0 0 10px;
    overflow:hidden;
    color:var(--phongvt-dark);
    font-size:16px;
    line-height:1.45;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.phongvt-business-news-content h3 a{
    color:inherit;
    text-decoration:none;
}

.phongvt-business-news-content h3 a:hover{
    color:var(--phongvt-blue);
}

.phongvt-business-news-content p{
    display:-webkit-box;
    margin:0 0 16px;
    overflow:hidden;
    color:#475467;
    font-size:14px;
    line-height:1.62;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.phongvt-news-readmore{
    display:inline-flex;
    width:max-content;
    margin-top:auto;
    color:var(--phongvt-blue);
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.phongvt-news-readmore span::after{
    content:"↗";
    margin-left:7px;
}

.phongvt-business-news-slider .flickity-button{
    width:40px;
    height:40px;
    background:#fff;
    border:1px solid var(--phongvt-border);
    box-shadow:0 5px 18px rgba(15,23,42,.12);
}

.phongvt-business-news-slider .flickity-prev-next-button.previous{
    left:-16px;
}

.phongvt-business-news-slider .flickity-prev-next-button.next{
    right:-16px;
}

/* Tablet */
@media(max-width:849px){
    .phongvt-business-single-banner{
        min-height:260px;
    }

    .phongvt-business-profile{
        margin-top:-38px;
        padding:40px 34px;
    }

    .phongvt-business-profile-top{
        grid-template-columns:235px minmax(0,1fr);
        gap:34px;
    }

    .phongvt-business-avatar{
        width:210px;
        height:210px;
    }

    .phongvt-business-profile-right{
        padding-top:25px;
    }
}

/* Mobile */
@media(max-width:549px){
    .phongvt-container{
        width:calc(100% - 24px);
    }

    .phongvt-business-single-banner{
        min-height:190px;
    }

    .phongvt-business-profile{
        margin-top:-24px;
        padding:25px 18px 28px;
        border-radius:15px;
    }

    .phongvt-business-profile-top{
        display:block;
    }

    .phongvt-business-avatar{
        width:190px;
        height:190px;
        margin-bottom:26px;
    }

    .phongvt-business-profile-right{
        padding-top:0;
    }

    .phongvt-profile-heading{
        text-align:center;
    }

    .phongvt-profile-main-info{
        flex-direction:column;
        align-items:flex-start;
        gap:11px;
    }

    .phongvt-profile-block{
        margin-top:30px;
        padding-top:25px;
    }

    .phongvt-business-news{
        padding:38px 0 48px;
    }

    .phongvt-business-news-heading h2{
        font-size:24px;
    }

    .phongvt-business-news-slider{
        margin-left:-6px !important;
        margin-right:-6px !important;
    }

    .phongvt-business-news-slider > .col{
        padding:0 6px !important;
    }

    .phongvt-business-news-image{
        height:205px;
    }
}
