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


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

body{

background:#ffffff;

overflow-x:hidden;

}


/* =========================
HEADER DÙNG CHUNG
========================= */

header{

position:absolute;

top:0;

left:0;

width:100%;

z-index:9999;

}

.topbar{

width:1700px;

max-width:90%;

/* giảm khoảng cách trên */
margin:8px auto 0;

padding:8px 45px;

display:flex;

justify-content:space-between;

align-items:center;

position:absolute;

top:0;

left:50%;

transform:translateX(-50%);

z-index:1000;

border-radius:20px;

box-sizing:border-box;

}


/* LOGO */

.brand{

display:flex;

align-items:center;

gap:20px;

text-decoration:none;

}

.brand img{

width:56px;

height:56px;

border-radius:10px;

}

.brand-text{

font-size:20px;

font-weight:700;

}

.brand-text .white{

color:#fff;

}

.brand-text .gold{

color:#e6c55a;

}


/* MENU */

.top-menu{

margin-left:auto;

padding-right:0;

position:relative;

top:-6px;

right:-35px;

}

.top-menu>ul{

display:flex;

align-items:center;

gap:42px;

list-style:none;

}

.top-menu li{

position:relative;

}

.top-menu a{

color:#fff;

text-decoration:none;

font-size:15px;

}


/* DROPDOWN */

/* MENU XỔ XUỐNG */

.submenu{

position:absolute;

top:100%;

left:50%;

transform:translateX(-50%);

min-width:100px;   /* trước 220 */

opacity:0;

visibility:hidden;

background:rgba(10,10,10,.42);

backdrop-filter:blur(14px);

-webkit-backdrop-filter:blur(14px);

border-radius:18px;

padding:8px 0;

transition:.25s;

z-index:99999;

}

/* hover */

.dropdown:hover .submenu{

opacity:1;

visibility:visible;

}

/* item */

.submenu li a{

display:block;

padding:10px 20px;   /* trước 14 30 */

font-size:14px;      /* nhỏ hơn */

font-weight:600;

white-space:nowrap;

}

/* hover */

.submenu li:hover{

background:rgba(255,255,255,.05);

}

.submenu li a:hover{

color:#e5b058;

}


/* =========================
ẢNH ĐẦU TRANG
========================= */

.article-hero{

position:relative;

width:98vw;

max-width:none;

height:500px;

margin:0 auto;

background-image:
linear-gradient(
90deg,
rgba(0,0,0,.72) 0%,
rgba(0,0,0,.58) 35%,
rgba(0,0,0,.42) 65%,
rgba(0,0,0,.18) 100%
),
url("../photos/hero.jpg");

background-size:cover;

background-position:72% center;

background-repeat:no-repeat;

border-radius:24px;

overflow:hidden;

}

/* làm tối đều giống trang chủ */
.article-hero::after{

content:"";

position:absolute;

inset:0;

background:rgba(0,0,0,.10);

pointer-events:none;

}


/* =========================
NỀN BÀI VIẾT
========================= */

.article-page{

background:#ffffff;

display:flex;

justify-content:center;

}

/* ===== KHU VỰC BÀI VIẾT ===== */

.article-content{
    display:grid;
    grid-template-columns: 200px minmax(0, 900px) 300px;
    gap:40px;
    width:min(1500px, 94vw);
    margin:80px auto 120px;
    padding:0;
    align-items:start;
}


/* KHUNG BÊN TRÁI */

.article-box{
    grid-column:2;
    width:100%;
    max-width:900px;
    background:#fff;
    padding:50px;
    border-radius:10px;
    box-shadow:0 6px 30px rgba(0,0,0,.08);
}

/* NỘI DUNG */

.article-text {
    width: 100%;
    display: block;
    color: #000000; /* Màu xám đậm rất đẹp và dễ đọc */
    font-size: 16px;
    line-height: 1.8;
}


.article-text p{

margin-bottom:26px;

}


.article-text a{

color:#1857d8;

font-weight:700;

text-decoration:underline;

}


/* =========================
   KHUNG BÊN PHẢI (SIDEBAR)
========================= */
.right-space {
    grid-column: 3; 
    width: 300px;
    justify-self: start; 
    
    /* Thêm 3 dòng dưới đây để Sidebar trôi theo khi cuộn */
    position: sticky;
    top: 110px; /* Khoảng cách so với mép trên màn hình (để không bị lẹm vào menu) */
    height: max-content; 
    z-index: 10;
}

/* Thẻ Giới thiệu */
.author-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    text-align: center;
    
    /* XÓA BỎ 2 DÒNG NÀY ĐI NHÉ */
    /* position: sticky; */
    /* top: 100px; */
}

/* Phần Logo */
.author-logo {
    margin-bottom: 20px;
}

.author-logo img{

width:86px;

height:86px;

border-radius:18px;

object-fit:cover;

box-shadow:0 4px 12px rgba(0,0,0,.08);

}

/* Phần chữ giới thiệu */
.author-desc{

font-size:14px;

line-height:1.9;

color:#202020;

}


.article-text b {
    color: #000000; 
}


.article-text a:hover{

opacity:.8;

}

.download-btn{

display:block;

width:max-content;

background:#0c880c;

color:#fff !important;

text-decoration:none !important;

font-weight:700;

padding:12px 24px;

border-radius:25px;

/* căn giữa nhưng xuống dòng */
margin:14px auto 0;

font-size:15px;

line-height:1;

transition:0.3s;

}

.download-btn:hover{

background:#65c06d;

}

.download-btn:visited,
.download-btn:active{

color:#fff;

text-decoration:none;

}

.download-red{

background:#d62929 !important;

}

.download-red:hover{

background:#f38181 !important;

}

.video-section {
    margin-top: 60px;
    width: 100%;
}

/* Đảm bảo khung video chiếm trọn chiều rộng của .article-box */
.video-wrap {
    max-width: 100%; /* Cho phép video giãn hết cỡ theo .article-box */
}

.video-section iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    border: none;
    border-radius: 12px;
}

.download-heading {
    color: #ff0000;         /* Màu đỏ */
    font-size: 28px;        /* Phóng to cỡ chữ, bạn có thể tăng tùy ý */
    text-align: center;     /* Căn giữa hộp */
    margin: 30px 0;         /* Tạo khoảng cách trên dưới */
    font-weight: 700;       /* Đậm chữ */
}

.scroll-progress{
position:fixed;

top:0;

left:0;

width:0;

height:4px;

background:#0c880c;

z-index:999999;

transition:.1s;

}

/* ===== HERO REVIEW CHO BÀI PES 2013 ===== */

.pes-review{

position:absolute;

left:210px;

top:120px;

z-index:20;

width:420px;

max-height:320px;

overflow:hidden;

color:#fff;

display:flex;

flex-direction:column;

justify-content:center;

}

.pes-review-tag{

display:inline-flex;

align-items:center;

justify-content:center;

width:180px;

height:50px;

background:#e6c55a;

color:#000 !important;

text-decoration:none !important;

font-size:18px;

font-weight:800;

text-transform:uppercase;

border-radius:8px;

cursor:pointer;

transition:.3s;

box-shadow:0 10px 25px rgba(0,0,0,.25);
margin-top:15px;
margin-bottom:18px;

}

.pes-review-tag:hover{

transform:translateY(-3px);

background:#efcf66;

}

.pes-review-title{

font-size:30px;

line-height:1.25;

font-weight:900;

text-transform:uppercase;

margin:18px 0;

}

.pes-review-text{

font-size:16px;

line-height:1.6;

margin-bottom:24px;

max-width:380px;

}

.pes-review-btn{

display:inline-flex;

align-items:center;

justify-content:center;

width:180px;

height:50px;

background:#e6c55a;

color:#000 !important;

text-decoration:none !important;

font-size:18px;

font-weight:800;

border-radius:8px;

margin-top:0px;

transition:.3s;

box-shadow:0 10px 25px rgba(0,0,0,.25);

}

.pes-review-btn:hover{

transform:translateY(-3px);

background:#efcf66;

}

/* cuộn mượt */

html{

scroll-behavior:smooth;

}

/*==========================
FONT TOÀN TRANG
==========================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@1,700&display=swap');

body{
font-family:'Inter',sans-serif;
}

h1,h2,h3,h4,h5,h6,
.brand-text,
.top-menu a,
.submenu li a,
.pes-review-title,
.pes-review-tag,
.pes-review-btn,
.article-title,
.download-heading,
.download-btn{
font-family:'Poppins',sans-serif;
font-weight:600;
letter-spacing:-0.3px;
}


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

.article-title{
color:#000000;
font-size:30px;
font-weight:700;
line-height:1.2;
margin-bottom:30px;
text-transform:uppercase;
}

.article-title::after{

content:"";

display:block;

width:42px;

height:3px;

background:#d9d9d9;

border-radius:999px;

margin-top:18px;

}

/*==========================
ẢNH BÀI VIẾT
==========================*/

.article-image{
display:block;

width:100%;

margin:0 auto 50px;

border-radius:12px;

object-fit:cover;
}


/*==========================
PES BACKGROUND
==========================*/

.bg-graphic-container{
position:absolute;
right:8%;
top:50%;
transform:translateY(-50%);
z-index:10;

display:flex;
flex-direction:column;

align-items:flex-end;

pointer-events:none;
}

.bg-text-outline{

font-family:'Chakra Petch',sans-serif;

font-size:160px;

font-weight:700;

font-style:italic;

color:transparent;

-webkit-text-stroke:
1px rgba(230,197,90,.6);

line-height:.85;

letter-spacing:-2px;

}

.bg-text-outline:nth-child(2){
    margin-top:30px;
}

.bg-arrows-run{

display:flex;

align-items:center;

gap:12px;

margin-top:30px;

margin-right:15px;

}

.arrow-chevron{

width:22px;

height:22px;

border-top:4px solid rgba(230,197,90,.7);

border-right:4px solid rgba(230,197,90,.7);

transform:rotate(45deg);

opacity:.15;

animation:arrowFlow 1.6s infinite;

}


.arrow-solid{

width:0;

height:0;

border-top:16px solid transparent;

border-bottom:16px solid transparent;

border-left:26px solid rgba(230,197,90,.8);

margin-top:-2px;

opacity:.15;

animation:arrowFlow 1.6s infinite;

}

/* NHÁY LẦN LƯỢT */

.arrow-chevron:nth-child(1){
animation-delay:0s;
}

.arrow-chevron:nth-child(2){
animation-delay:.2s;
}

.arrow-chevron:nth-child(3){
animation-delay:.4s;
}

.arrow-chevron:nth-child(4){
animation-delay:.6s;
}

.arrow-solid{
animation-delay:.8s;
}

/* HIỆU ỨNG */

@keyframes arrowFlow{

0%{
opacity:.15;
scale:.9;
}

20%{
opacity:1;
scale:1.15;
}

40%{
opacity:.4;
}

100%{
opacity:.15;
scale:.9;
}

}


/*==========================
LAYOUT DESKTOP
==========================*/

/* giữ nguyên khung trái */

.article-box{

width:900px;

flex:0 0 900px;

}

/* LOGO */

.author-logo img{

width:78px;

height:78px;

border-radius:50%;

object-fit:cover;

display:block;

margin:0 auto;

box-shadow:0 4px 12px rgba(0,0,0,.08);

}

/* CHỮ */

.author-desc{

font-size:13px;

line-height:1.8;

}

/* =========================
   KHUNG BÊN TRÁI (THÔNG TIN & SHARE)
========================= */
.left-space {
    grid-column: 1;
    justify-self: end;
    width: 200px;
    padding-right: 30px;
    z-index: 10;
    
    /* THÊM DÒNG NÀY ĐỂ CỘT TRÁI DÀI BẰNG BÀI VIẾT */
    align-self: stretch; 

    /* XÓA BỎ HOẶC ẨN 3 DÒNG CŨ NÀY ĐI NHÉ */
    /* position: sticky; */
    /* top: 110px; */
    /* height: max-content; */
}

.post-meta { 
    font-family: 'Inter', sans-serif; 
    
    /* BỔ SUNG DÒNG NÀY ĐỂ KÉO DÀI ĐƯỜNG RAY TRƯỢT */
    height: 100%; 
}

.meta-label {
    display: block;
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
}

.meta-value {
    display: block;
    font-size: 14px;
    color: #000000;
    margin-bottom: 30px;
}

.share-section .separator {
    width: 24px;
    height: 2px;
    background: #000;
    margin: 12px 0 20px;
}

.share-section {
    position: sticky;
    top: 110px; /* Giữ khoảng cách với thanh menu phía trên */
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(2, 45px); /* Hiển thị 2 cột như trong ảnh thiết kế */
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

.social-icon:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

/* Màu chuẩn của các mạng xã hội */
.social-icon.fb { background: #3b5998; }
.social-icon.tw { background: #33a1f2; } /* Twitter / X xanh nhạt */
.social-icon.li { background: #0077b5; }
.social-icon.pi { background: #bd081c; }
.social-icon.tt { background: #000000; } /* TikTok */
.social-icon.zl { background: #0068ff; }

/* =========================
   NÚT QUAY LẠI ĐẦU TRANG
========================= */
.back-to-top {
    position: fixed;
    bottom: 30px; /* Cách mép dưới 30px */
    right: 30px;  /* Cách mép phải 30px */
    width: 45px;
    height: 65px; /* Chiều cao lớn hơn chiều rộng để tạo hình viên thuốc giống ảnh */
    border: 2px solid #000; /* Viền đen */
    border-radius: 30px; /* Bo tròn góc tạo hình con nhộng */
    background: #fff; /* Nền trắng */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #000; /* Màu icon đen */
    font-size: 20px;
    z-index: 9999;
    
    /* Ẩn nút khi đang ở đầu trang */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Class này sẽ được JS thêm vào khi cuộn chuột xuống */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #464444;
    color: #fff; /* Đổi màu nền và icon khi di chuột vào cho đẹp */
}

/* =========================
   BÀI VIẾT ĐỀ XUẤT (RELATED POSTS)
========================= */
.related-posts-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed #eaeaea; /* Đường kẻ đứt phân cách với bài viết */
    width: 100%;
}

.related-heading {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    padding-left: 15px;
}

/* Thẻ màu xanh trang trí đầu tiêu đề */
.related-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #0c880c;
    border-radius: 5px;
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Hiển thị 2 cột */
    gap: 25px; /* Khoảng cách giữa 2 khung */
}

/* Khung bài viết */
.related-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e0e0e0; /* Tạo khung viền rõ ràng */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px); /* Hiệu ứng nảy lên khi di chuột */
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #0c880c; /* Viền sáng màu xanh khi hover */
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.related-card .tag {
    background: #e6c55a;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    width: max-content;
    margin-bottom: 10px;
}

.related-card h4 {
    font-size:16px;
    font-weight:600;
    line-height:1.5;
    color:#222;
    text-decoration:none !important;
}

.related-posts a,
.related-posts a:hover,
.related-posts a:visited{
    text-decoration:none !important;
}

#about-panel{
opacity:0;
visibility:hidden;
}

#about-panel.show{
opacity:1;
visibility:visible;
}

#pesGocGrid{
    display:flex;
    flex-direction:column;
    gap:40px;
}

#pesGocGrid .post-card{
    display:block;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 6px 25px rgba(0,0,0,.08);
    text-decoration:none !important;
}

#pesGocGrid .post-card img{
    width:100%;
    height:420px;
    object-fit:cover;
    display:block;
}

#pesGocGrid .post-card-text{
    padding:35px 40px;
}

#pesGocGrid .post-card-text h3{
    font-size:24px;
    line-height:1.3;
    margin-bottom:15px;
    color:#10284a;
}

#pesGocGrid .post-card-text p{
    font-size:15px;
    line-height:1.7;
    color:#7a8598;
}

#pesGocGrid a,
#pesGocGrid a *,
#pesGocGrid .post-card,
#pesGocGrid .post-card *{
    text-decoration: none !important;
    border-bottom: none !important;
    color: #111 !important;
}

#pesGocGrid .post-card-text p{
    font-size:18px;
    line-height:1.8;
    color:#7a8598;

    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

#pesGocGrid .post-card-text h3{
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

.post-share{
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid #e5e5e5;

    display:flex;
    align-items:center;
    gap:18px;

    color:#8a97ad;
    font-size:14px;
}

.post-share i{
    cursor:pointer;
    transition:.3s;
}

.post-share i:hover{
    color:#183b6b;
}

.continue-reading{
    margin-left:auto;
    font-weight:700;
    color:#183b6b;
}

.post-share a{
    color:#8a97ad !important;
    text-decoration:none !important;
}

.post-share a:hover{
    color:#183b6b !important;
}

#pesGocGrid .post-card{
    background:#fff !important;
    border-radius:12px !important;
    overflow:hidden !important;
    box-shadow:0 6px 25px rgba(0,0,0,.08) !important;
}

#pesGocGrid .post-card img{
    box-shadow:none !important;
    border-radius:0 !important;
    margin:0 !important;
}

#pesGocGrid .post-card-text{
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0 !important;
    padding:35px 40px !important;
}

.post-thumb{
    display:block;
    overflow:hidden;
}

.post-thumb img{
    transition:.35s ease;
}

.post-thumb:hover img{
    transform:scale(1.04);
    filter:brightness(.9);
}

.post-title-link{
    text-decoration:none !important;
    color:#111 !important;
}

.post-title-link h3{
    transition:.25s;
}

.post-title-link:hover h3{
    color:#d4aa32 !important;
}

.post-meta-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;

    font-size:14px;
    color:#8a97ad;

    margin-bottom:15px;
}

.post-meta-row span:nth-child(even){
    color:#d94a4a;
}

#pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin:50px 0;
}

.page-btn{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#666;
    cursor:pointer;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    transition:.3s;
}

.page-btn:hover{
    background:#28a745;
    color:#fff;
}

.page-btn.active{
    background:#28a745;
    color:#fff;
    box-shadow:0 0 20px rgba(40,167,69,.4);
}

#footer-container{
    width:100%;
    clear:both;
}

.site-footer{
    width:100%;
    background:#fff;
    border-top:1px solid #e5e5e5;
    color:#181818;
    padding:25px 70px;
    margin-top:60px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-right{
    display:flex;
    gap:25px;
    margin-right:50px;
}

.footer-right a{
    color:#181818;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:10px;
}

/* ===== COMMENT V2 ===== */

.comment-section{
    margin-top:42px;
    padding-top:32px;
    border-top:2px dashed #e6e6e6;
    font-family:'Inter', sans-serif;
}

.comment-section h2{
    font-family:'Poppins', sans-serif;
    font-size:30px;
    font-weight:700;
    margin-bottom:24px;
    color:#111;
}

.comment-card{
    padding:22px;
    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.comment-profile{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
}

.comment-avatar-small,
.comment-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#f0c548;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:17px;
}

.comment-avatar,
.comment-avatar-small{
    overflow:hidden;
}

.comment-avatar img,
.comment-avatar-small img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    display:block;
}

.comment-username{
    font-weight:700;
    color:#111;
}

.comment-status{
    font-size:13px;
    color:#888;
    margin-top:3px;
}

#commentContent{
    width:100%;
    min-height:105px;
    padding:16px 18px;
    border:1px solid #ddd;
    border-radius:14px;
    outline:none;
    resize:vertical;
    font-size:15.5px;
    line-height:1.6;
    font-family:'Inter', sans-serif;
}

#commentContent:focus{
    border-color:#f0c548;
    box-shadow:0 0 0 3px rgba(240,197,72,.18);
}

.comment-footer{
    margin-top:14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

#commentMessage{
    font-size:14px;
    font-weight:600;
    color:#e5a13f;
}

#sendCommentBtn{
    height:46px;
    padding:0 22px;
    border:none;
    border-radius:12px;
    background:#f0c548;
    color:#111;
    font-family:'Poppins', sans-serif;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

#sendCommentBtn:hover{
    background:#ffd862;
    transform:translateY(-2px);
}

.comment-item{
    margin-top:18px;
    padding:18px;
    display:flex;
    gap:14px;
    background:#fff;
    border:1px solid #ededed;
    border-radius:18px;
    box-shadow:0 8px 22px rgba(0,0,0,.035);
}

.comment-body{
    flex:1;
}

.comment-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:10px;
}

.comment-info{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.comment-top strong{
    font-family:'Poppins', sans-serif;
    font-size:15.5px;
    font-weight:700;
    color:#111;
}

.comment-top span{
    font-size:13px;
    color:#888;
    white-space:nowrap;
}

.comment-body p{
    font-size:15.5px;
    line-height:1.7;
    color:#222;
}

.comment-me{
    margin-left:7px;
    padding:2px 7px;
    background:#f0c548;
    color:#111;
    border-radius:999px;
    font-size:11px;
    font-style:normal;
    font-weight:800;
}

.no-comments{
    margin-top:18px;
    color:#777;
    font-size:15px;
}

.comment-footer{
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #eee;
}

.comment-footer::before{
    content:"🙂 Bình luận văn minh";
    font-size:14px;
    color:#888;
}

.comment-item{
    padding:14px 18px;
    transition:.25s;
}

.comment-item:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}

.comment-me{
    margin-left:10px;
    padding:4px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.comment-avatar,
.comment-avatar-small{
    border:2px solid #ffe08a;
    box-shadow:0 4px 10px rgba(240,197,72,.3);
}

.comment-top{
    align-items:flex-start;
    justify-content:flex-start;
    flex-direction:column;
    gap:3px;
}

.comment-top span{
    font-size:13px;
    color:#888;
}

.delete-comment-btn{
    border:none;
    background:none;
    color:#d9534f;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.delete-comment-btn:hover{
    color:#b52b27;
}

.comment-top{
    display:flex !important;
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:flex-start !important;
    width:100%;
}

.comment-info{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.delete-comment-btn{
    margin-left:auto;
    align-self:flex-start;
}

.reply-box{
    margin-top:14px;
    margin-left:56px;
    padding:14px;
    background:#fafafa;
    border:1px solid #eee;
    border-radius:14px;
}

#replyContent{
    width:100%;
    min-height:80px;
    padding:12px 14px;
    border:1px solid #ddd;
    border-radius:12px;
    outline:none;
    resize:vertical;
    font-family:'Inter', sans-serif;
}

.reply-actions{
    margin-top:10px;
    display:flex;
    justify-content:flex-end;
    gap:10px;
}

.reply-actions button{
    padding:9px 15px;
    border:none;
    border-radius:9px;
    cursor:pointer;
    font-weight:700;
}

.reply-actions button:first-child{
    background:#f0c548;
    color:#111;
}

.reply-actions button:last-child{
    background:#eee;
}

.comment-head-row{
    display:flex !important;
    justify-content:space-between !important;
    align-items:flex-start !important;
    width:100%;
    gap:15px;
}

.comment-info{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.comment-actions{
    display:flex;
    gap:10px;
    align-items:center;
    flex-shrink:0;
}

.reply-comment-btn,
.delete-comment-btn{
    border:none;
    background:none;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    padding:0;
}

.reply-comment-btn{
    color:#555;
}

.reply-comment-btn:hover{
    color:#111;
    text-decoration:underline;
}

.delete-comment-btn{
    color:#e74c3c;
}

.delete-comment-btn:hover{
    color:#c0392b;
    text-decoration:underline;
}

.comment-body p{
    margin-top:10px;
}

.reply-item{
    margin-top:16px;
    margin-left:56px;
    padding:14px 16px;
    display:flex;
    gap:14px;
    background:#fafafa;
    border:1px solid #eee;
    border-left:4px solid #f0c548;
    border-radius:14px;
}

.reply-item .comment-avatar{
    width:36px;
    height:36px;
    font-size:15px;
}

.reply-item .comment-body p{
    margin-top:8px;
    font-size:15px;
}

.reply-item .comment-info strong{
    font-size:15px;
}

.reply-item .comment-info span{
    font-size:12.5px;
}

.reply-item{
    margin-left:56px;
}

.reply-item .reply-item{
    width:100%;
    margin-left:0 !important;
    margin-top:16px;
}

.reply-list{
    margin-top:16px;
    margin-left:56px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.reply-list .reply-item{
    margin:0 !important;
    width:100% !important;
}

/* ===== Reply nhỏ hơn Comment ===== */

.reply-list{
    margin-top:14px;
    margin-left:60px;
    gap:10px;
}

.reply-item{
    width:88%;
    padding:12px 16px !important;
    border-left:3px solid #f0c548;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.04);
}

.reply-item .comment-avatar{
    width:34px;
    height:34px;
    font-size:14px;
}

.reply-item .comment-top strong,
.reply-item .comment-info strong{
    font-size:15px;
}

.reply-item .comment-top span,
.reply-item .comment-info span{
    font-size:12px;
}

.reply-item .comment-body p{
    margin-top:6px;
    font-size:14px;
    line-height:1.6;
}

.reply-item .reply-comment-btn,
.reply-item .delete-comment-btn{
    font-size:12px;
}

/* ===== Reply Compact ===== */

.reply-item{
    width:85%;
    min-height:auto !important;
    padding:10px 14px !important;
    border-radius:12px;
}

.reply-item .comment-body{
    padding:0 !important;
}

.reply-item .comment-head-row{
    margin-bottom:4px !important;
}

.reply-item .comment-info{
    gap:2px !important;
}

.reply-item .comment-body p{
    margin:6px 0 0 0 !important;
    line-height:1.45;
}

.reply-item .comment-avatar{
    width:32px;
    height:32px;
    font-size:13px;
}

.reply-item .comment-actions{
    gap:8px;
}

.reply-item .reply-comment-btn,
.reply-item .delete-comment-btn{
    font-size:12px;
}

.comment-meta{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.comment-time{
    font-size:13px;
    color:#888;
    display:flex;
    align-items:center;
    gap:4px;
}

.comment-info{
    gap:6px !important;
}

.admin-badge{
    margin-left:10px;
    padding:4px 10px;
    border-radius:999px;
    background:#111;
    color:#f0c548;
    font-size:12px;
    font-weight:700;
    border:1px solid #f0c548;
    display:inline-flex;
    align-items:center;
    gap:4px;
}

.comment-left-tools{
    display:flex;
    align-items:center;
    gap:16px;
}

.notify-option{
    display:flex;
    align-items:center;
    gap:7px;
    color:#777;
    font-size:14px;
    cursor:pointer;
    user-select:none;
}

.notify-option input{
    cursor:pointer;
    accent-color:#f0c548;
}

.notify-option span{
    font-weight:600;
}

.notify-option{
    position:relative;
}

.notify-tooltip{
    position:absolute;
    left:0;
    bottom:130%;
    min-width:260px;
    padding:10px 13px;
    background:#111;
    color:#f0c548;
    border:1px solid #f0c548;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:.25s;
    z-index:20;
    box-shadow:0 8px 22px rgba(0,0,0,.22);
}

.notify-tooltip::after{
    content:"";
    position:absolute;
    left:22px;
    top:100%;
    border-width:7px;
    border-style:solid;
    border-color:#111 transparent transparent transparent;
}

.notify-option:hover .notify-tooltip{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.post-stats{
    display:flex;
    align-items:center;
    gap:18px;
    margin:18px 0 28px;
    color:#666;
    font-size:15px;
}

#likeBtn{
    border:none;
    background:#f5f5f5;
    color:#333;
    padding:9px 15px;
    border-radius:999px;
    cursor:pointer;
    font-weight:700;
}

#likeBtn.liked{
    background:#f0c548;
    color:#111;
}

.article-text p{
    margin-bottom:18px;
}

.article-text h2,
.article-text h3,
.article-text h4{
    margin:28px 0 14px;
}

.article-text ul,
.article-text ol{
    margin:14px 0 22px 28px;
}

.article-text li{
    margin-bottom:10px;
    line-height:1.8;
}

#pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:50px 0;
}

#pagination button{

    width:42px;
    height:42px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    background:#eee;

    font-weight:700;

}

#pagination button:hover{

    background:#ffd54f;

}

.active-page{

    background:#f4c542 !important;

    color:#000;

}

#pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:50px 0;
}

#pagination button{
    width:42px;
    height:42px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    background:#eee;
    font-weight:700;
}

#pagination button:hover{
    background:#ffd54f;
}

.active-page{
    background:#f4c542 !important;
    color:#000;
}

/* MOBILE: Đổi thành 1 cột xếp dọc xuống */
@media(max-width: 1024px) {
    .related-posts {
        grid-template-columns: 1fr; 
    }
}

/* MOBILE */

@media(max-width:1200px){
    .article-content{
        grid-template-columns:minmax(0, 900px) 280px;
        width:94vw;
    }

    .left-space{
        display:none;
    }

    .article-box{
        grid-column:1;
    }

    .right-space{
        grid-column:2;
        width:280px;
    }
}

@media(max-width:900px){
    .article-content{
        display:flex;
        flex-direction:column;
        width:94vw;
        margin:50px auto 80px;
    }

    .article-box{
        width:100%;
        max-width:none;
        padding:28px;
    }

    .right-space{
        width:100%;
        position:static;
    }

    .author-card{
        width:100%;
    }
}