﻿:root {
    --primary: #8C6A3C;
    --dark: #4B3725;
    --bg: #F9F6F1;
    --white: #fff;
    --text: #5F5247;
    --border: #ECE1D4;
    --shadow: 0 12px 35px rgba(140,106,60,.08);
    --hover: 0 18px 40px rgba(140,106,60,.14);
    --radius: 22px;
    --transition: .35s ease;
}

/* =======================
RESET
======================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter',sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0 !important;
}

/* =======================
BANNER
======================= */

/* =======================
BREADCRUMB
======================= */

.my-news-breadcum {
    margin-top: -70px;
    position: relative;
    z-index: 20;
}

    .my-news-breadcum .container {
        background: rgba(255,255,255,.96);
        border-radius: 20px;
        padding: 18px 26px;
        box-shadow: var(--shadow);
    }

.slug {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--dark);
    font-size: 14px;
}

    .slug img {
        width: 16px;
    }

/* =======================
MAIN
======================= */

.detail-news {
    padding: 55px 0;
    background: linear-gradient(180deg, #f5f4f4, #bfbfbf);
    padding-bottom: 0;
}

/* =======================
TITLE
======================= */

.detail-news-title {
    font-family: 'BeautiqueDisplay-Bold';
    font-size: 32px;
    color: var(--dark);
    text-align: center;
    line-height: 1.5;
    max-width: 950px;
    margin: auto auto 55px;
}

.detail-news-bottom .my-left {
    float: left;
    width: 100%;
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.detail-news-bottom .my-right {
    float: right;
    width: 400px;
}
/* =======================
LAYOUT
======================= */

.detail-news-bottom {
    display: grid;
    grid-template-columns: 1.45fr .65fr;
    gap: 34px;
    align-items: start;
}

/* =======================
ARTICLE
======================= */

.descript {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 28px;
    padding-left: 18px;
    border-left: 4px solid var(--primary);
    text-align: justify;
}

.p-details {
    font-size: 16px;
    line-height: 1.95;
}

    .p-details h2,
    .p-details h3 {
        font-family: 'BeautiqueDisplay-Bold';
        color: var(--dark);
        margin: 16px 0 14px;
        line-height: 1.5;
        font-size: 20px;
    }

    .p-details img {
        border-radius: 18px;
        margin: 28px 0;
        transition: var(--transition);
    }

        .p-details img:hover {
            transform: scale(1.02);
            box-shadow: var(--hover);
        }

/* =======================
AUTHOR
======================= */

.detail-news-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-content h3 {
    font-family: 'BeautiqueDisplay-Medium';
    color: var(--dark);
    font-size: 18px;
}

.p-news-img__type2 {
    width: 160px;
}

.same-cate .p-news-img__type2 {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

    .same-cate .p-news-img__type2 img {
        height: 100%;
    }

.same-cate a.p-news-link__type2 {
    padding: 15px;
    display: block;
}

.same-cate .p-news-content__type2 {
    padding-top: 10px;
}
/* =======================
SIDEBAR
======================= */

.side-news-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 19px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

    .side-news-item > .title {
        font-family: 'BeautiqueDisplay-Bold';
        font-size: 24px;
        color: var(--dark);
        margin-bottom: 18px;
    }

.p-service-content__child {
    margin-top: 10px;
}

.side-news-link {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    transition: var(--transition);
}

    .side-news-link img {
        height: 80px;
        border-radius: 14px;
    }

    .side-news-link:hover {
        transform: translateX(6px);
    }

    .side-news-link .title {
        font-family: 'BeautiqueDisplay-Medium';
        font-size: 16px;
        color: var(--dark);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/* =======================
RELATED
======================= */

.same-cate {
    margin-top: 20px;
    background: #FAEFE0;
    padding-top: 25px;
    padding-bottom: 35px;
}

.same-cate-title {
    font-family: 'BeautiqueDisplay-Bold';
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}

.p-news-list__type2 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.p-news-item__type2 {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .p-news-item__type2:hover {
        transform: translateY(-8px);
        box-shadow: var(--hover);
    }

.p-news-img__type2 img {
    height: 166px;
    transition: .6s;
}

.p-news-item__type2:hover img {
    transform: scale(1.05);
}

.p-news-content__type2 {
    padding: 0;
    flex: 1 1 0;
}

.p-news-date__type2 {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 10px;
}

.p-news-content__type2 h3 {
    font-family: 'BeautiqueDisplay-Medium';
    color: var(--dark);
    font-size: 18px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-news-content__type2 .descript {
    border: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #7d6f61;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
}

/* =======================
TABLET
======================= */

@media(max-width:1024px) {
    .detail-news-bottom {
        grid-template-columns: 1fr;
    }

    .p-news-list__type2 {
        grid-template-columns: 1fr 1fr;
    }

    .detail-news-title {
        font-size: 40px;
    }
}

/* =======================
MOBILE
======================= */

@media(max-width:768px) {
    .p-banner {
        height: 220px;
    }

    .my-news-breadcum {
        margin-top: -35px;
        padding: 0 14px;
    }

        .my-news-breadcum .container {
            padding: 14px;
            border-radius: 16px;
        }

    .detail-news {
        padding: 28px 0px;
        padding-bottom: 0;
    }

    .detail-news-title {
        font-size: 28px;
        margin-bottom: 26px;
    }

    .detail-news-wrap {
        padding: 0;
    }

    .descript {
        font-size: 15px;
        margin-bottom: 18px;
        padding-left: 12px;
    }

    .p-details {
        font-size: 15px;
        line-height: 1.8;
        text-align: justify;
    }

        .p-details h2, .p-details h3 {
            font-size: 16px;
        }

    .side-news-item {
        padding: 16px;
        border-radius: 18px;
    }

    .side-news-link {
        grid-template-columns: 76px 1fr;
    }

        .side-news-link img {
            height: 70px;
        }

    .same-cate {
        margin-top: 0;
        padding-bottom: 28px;
    }

    .same-cate-title {
        font-size: 26px;
        margin-bottom: 22px;
    }

    .p-news-list__type2 {
        grid-template-columns: repeat(2,1fr);
        gap: 13px;
    }

    .p-news-img__type2 img {
        height: 190px;
    }

    .same-cate .p-news-img__type2 {
        height: 150px;
    }

    .same-cate a.p-news-link__type2 {
        padding: 12px;
        display: block;
    }

    .p-news-item__type2:hover,
    .side-news-link:hover {
        transform: none;
    }
}

/* =======================
SMALL MOBILE
======================= */

@media(max-width:480px) {
    .detail-news-title {
        font-size: 18px;
    }

    .same-cate-title {
        font-size: 22px;
    }

    .p-news-content__type2 h3 {
        font-size: 15px;
    }
}
/* ==========================
SIDE NEWS HOVER EFFECT
========================== */

.list-new-viewtop {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-news-link {
    display: flex;
    gap: 18px;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(140,106,60,.08);
    box-shadow: 0 12px 28px rgba(140,106,60,.06);
    overflow: hidden;
    position: relative;
    transition: all .45s cubic-bezier(.4,0,.2,1);
    margin: 0;
}

    /* sweep light */

    .side-news-link:before {
        content: '';
        position: absolute;
        top: 0;
        left: -130%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.5), transparent );
        transform: skewX(-25deg);
        transition: 1s;
    }

    /* IMAGE */

    .side-news-link .p-news-img__type2 {
        width: 145px;
        min-width: 145px;
        border-radius: 18px;
        overflow: hidden;
        position: relative;
    }

        .side-news-link .p-news-img__type2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .85s ease;
        }

    /* CONTENT */

    .side-news-link .p-news-content__type2 {
        flex: 1;
        padding: 2px 0;
    }

    .side-news-link .p-news-date__type2 {
        font-size: 13px;
        color: var(--primary);
        margin-bottom: 8px;
        font-weight: 500;
    }

    .side-news-link .title {
        font-family: 'BeautiqueDisplay-Medium';
        font-size: 16px;
        color: var(--dark);
        line-height: 1.35;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: .35s ease;
    }

    .side-news-link .descript {
        font-size: 14px;
        color: #7d6f61;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: .35s ease;
    }

    /* HOVER */

    .side-news-link:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 50px rgba(140,106,60,.14);
        border-color: rgba(140,106,60,.16);
    }

        .side-news-link:hover:before {
            left: 150%;
        }

        .side-news-link:hover img {
            transform: scale(1.08);
        }

        .side-news-link:hover .title {
            color: var(--primary);
        }

        .side-news-link:hover .descript {
            color: #5f5247;
        }

    /* subtle overlay */

    .side-news-link .p-news-img__type2:after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, transparent, rgba(75,55,37,.12) );
        opacity: 0;
        transition: .45s;
    }

    .side-news-link:hover .p-news-img__type2:after {
        opacity: 1;
    }

/* ==========================
TABLET
========================== */

@media(max-width:1024px) {
    .side-news-link .title {
        font-size: 18px;
    }

    .side-news-link .p-news-img__type2 {
        width: 120px;
        min-width: 120px;
    }
}

/* ==========================
MOBILE
========================== */

@media(max-width:768px) {
    .side-news-link {
        gap: 14px;
        padding: 12px;
        border-radius: 18px;
    }

        .side-news-link .p-news-img__type2 {
            width: 95px;
            min-width: 95px;
            border-radius: 14px;
        }

        .side-news-link .title {
            font-size: 15px;
            margin-bottom: 6px;
        }

        .side-news-link .descript {
            font-size: 13px;
            -webkit-line-clamp: 2;
        }

        .side-news-link .p-news-date__type2 {
            font-size: 11px;
        }

        .side-news-link:hover {
            transform: none;
            box-shadow: var(--shadow);
        }
}

/* ==========================
SMALL MOBILE
========================== */

@media(max-width:480px) {
    .side-news-link .p-news-img__type2 {
        width: 82px;
        min-width: 82px;
    }

    .side-news-link .title {
        font-size: 14px;
    }

    .side-news-link .descript {
        display: none;
    }
}
/* ==========================
SOCIAL SHARE
========================== */

.social {
    margin-top: 70px;
    padding: 16px;
    border-radius: 26px;
    background: linear-gradient(145deg,#fff,#faf6f0);
    border: 1px solid rgba(140,106,60,.12);
    box-shadow: 0 18px 50px rgba(140,106,60,.08);
    position: relative;
    overflow: hidden;
}

    .social:before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(rgba(140,106,60,.08),transparent 70%);
    }

    .social h3 {
        font-family: 'BeautiqueDisplay-Bold';
        font-size: 21px;
        color: var(--dark);
        margin-bottom: 5px;
        position: relative;
        z-index: 2;
    }

.social-list {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

    /* ITEM */

    .social-list .item {
        height: 62px;
        min-width: 180px;
        padding: 0 22px;
        border-radius: 18px;
        background: rgba(255,255,255,.75);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(140,106,60,.10);
        box-shadow: 0 10px 24px rgba(140,106,60,.08);
        display: flex;
        align-items: center;
        gap: 16px;
        cursor: pointer;
        transition: all .45s cubic-bezier(.4,0,.2,1);
        position: relative;
        /* overflow: hidden; */
    }

        .social-list .item:before {
            content: '';
            position: absolute;
            top: 0;
            left: -120%;
            width: 60%;
            height: 100%;
            background: linear-gradient( 90deg, transparent, rgba(255,255,255,.55), transparent );
            transform: skewX(-25deg);
            transition: 1s;
            opacity: 0;
        }

        .social-list .item:hover:before {
            left: 150%;
        }

        .social-list .item:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 42px rgba(140,106,60,.16);
            border-color: rgba(140,106,60,.18);
        }

        /* ICON */

        .social-list .item i {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: linear-gradient(135deg,var(--primary),#b99362);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
            box-shadow: 0 10px 22px rgba(140,106,60,.22);
            transition: .45s;
        }

        .social-list .item:hover i {
            transform: rotate(-8deg) scale(1.08);
        }

        /* FACEBOOK */

        .social-list .item:first-child {
            min-width: auto;
            padding-right: 18px;
        }

/* COPY BUTTON */

.copy-detail-news {
    position: relative;
}

    .copy-detail-news:after {
        content: 'Sao chép liên kết';
        font-size: 15px;
        font-weight: 500;
        color: var(--dark);
    }

    /* POPUP */

    .copy-detail-news .popup {
        position: absolute;
        top: -52px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: var(--dark);
        color: #fff;
        font-size: 13px;
        padding: 10px 16px;
        border-radius: 12px;
        opacity: 0;
        visibility: hidden;
        transition: .35s ease;
        white-space: nowrap;
        box-shadow: 0 14px 30px rgba(0,0,0,.18);
    }

        .copy-detail-news .popup:after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            width: 12px;
            height: 12px;
            background: var(--dark);
            transform: translateX(-50%) rotate(45deg);
        }

    .copy-detail-news.active .popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .copy-detail-news .popup.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) scale(1);
        animation: popupBounce .45s cubic-bezier(.34,1.56,.64,1);
    }

/* hiệu ứng bật lên */

@keyframes popupBounce {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px) scale(.85);
    }

    60% {
        opacity: 1;
        transform: translateX(-50%) translateY(-4px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}
/* FACEBOOK FRAME */

.fb-share-button iframe {
    border-radius: 10px;
    overflow: hidden;
}

/* ==========================
TABLET
========================== */

@media(max-width:1024px) {
    .social {
        padding: 28px;
    }

        .social h3 {
            font-size: 26px;
        }

    .social-list .item {
        min-width: 160px;
        height: 58px;
    }
}

/* ==========================
MOBILE
========================== */

@media(max-width:768px) {
    .social {
        margin-top: 45px;
        padding: 22px;
        border-radius: 20px;
    }

        .social h3 {
            font-size: 22px;
            margin-bottom: 18px;
            text-align: center;
        }

    .social-list {
        flex-direction: column;
        gap: 14px;
    }

        .social-list .item {
            width: 100%;
            min-width: unset;
            justify-content: center;
            height: 56px;
            border-radius: 16px;
        }

            .social-list .item:hover {
                transform: none;
            }

            .social-list .item i {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

    .copy-detail-news:after {
        font-size: 14px;
    }
}

/* ==========================
SMALL MOBILE
========================== */

@media(max-width:480px) {
    .social {
        padding: 18px;
    }

        .social h3 {
            font-size: 19px;
        }

    .social-list .item {
        height: 52px;
    }

        .social-list .item i {
            width: 36px;
            height: 36px;
            font-size: 15px;
        }
}
/* ==========================
SIDEBAR SERVICE
========================== */

.side-news-item {
    background: linear-gradient(145deg,#fff,#faf6f0);
    border: 1px solid rgba(140,106,60,.10);
    border-radius: 26px;
    padding: 26px 15px;
    box-shadow: 0 18px 45px rgba(140,106,60,.08);
    position: relative;
    overflow: hidden;
}

    .side-news-item:before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient( rgba(140,106,60,.08), transparent 70% );
    }

    /* TITLE */

    .side-news-item > .title {
        font-family: 'BeautiqueDisplay-Bold';
        font-size: 22px;
        color: var(--dark);
        margin-bottom: 24px;
        position: relative;
        z-index: 2;
        line-height: 1.2;
    }

        .side-news-item > .title:after {
            content: '';
            display: block;
            width: 70px;
            height: 2px;
            margin-top: 14px;
            border-radius: 20px;
            background: linear-gradient( 90deg, var(--primary), transparent );
        }

/* LIST */

.p-service-list__child {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
}

/* ITEM */

.p-service-item__child {
    transition: all .45s cubic-bezier(.4,0,.2,1);
}

.p-service-link__type2 {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(140,106,60,.08);
    border-radius: 22px;
    padding: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(140,106,60,.06);
    transition: all .45s cubic-bezier(.4,0,.2,1);
}

    .p-service-link__type2:before {
        content: '';
        position: absolute;
        top: 0;
        left: -130%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.55), transparent );
        transform: skewX(-25deg);
        transition: 1s;
    }

/* IMAGE */

.p-service-img__child {
    width: 110px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

    .p-service-img__child img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .8s ease;
    }

/* CONTENT */

.p-service-content__child {
    flex: 1;
}

.title-ser-child-item {
    font-family: 'BeautiqueDisplay-Medium';
    font-size: 20px;
    color: var(--dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: .35s ease;
}

/* HOVER */

.p-service-link__type2:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(140,106,60,.14);
    border-color: rgba(140,106,60,.18);
}

    .p-service-link__type2:hover:before {
        left: 150%;
    }

    .p-service-link__type2:hover img {
        transform: scale(1.08);
    }

    .p-service-link__type2:hover .title-ser-child-item {
        color: var(--primary);
    }

/* TABLET */

@media(max-width:1024px) {
    .side-news-item {
        padding: 22px;
    }

        .side-news-item > .title {
            font-size: 26px;
        }

    .p-service-img__child {
        width: 95px;
        height: 95px;
    }

    .title-ser-child-item {
        font-size: 20px;
    }
}

/* MOBILE */

@media(max-width:768px) {
    .side-news-item {
        padding: 18px;
        border-radius: 20px;
    }

        .side-news-item > .title {
            font-size: 22px;
            margin-bottom: 18px;
        }

    .p-service-link__type2 {
        padding: 12px;
        border-radius: 16px;
        gap: 14px;
    }

    .p-service-img__child {
        width: 82px;
        height: 82px;
        border-radius: 14px;
    }

    .title-ser-child-item {
        font-size: 16px;
        line-height: 1.4;
    }

    .p-service-link__type2:hover {
        transform: none;
    }
}

/* SMALL MOBILE */

@media(max-width:480px) {
    .p-service-img__child {
        width: 72px;
        height: 72px;
    }

    .title-ser-child-item {
        font-size: 15px;
    }

    .side-news-item > .title {
        font-size: 19px;
    }
}