/* =========================
   1) BASE / RESET / ROOT
========================= */
:root{
  --c-text:#232627;
  --c-link:#232627;
  --c-link-hover:#CD0505;
  --c-accent:#FCBA1B;
  --c-primary:#214790;
  --c-brand:#000;
  --c-muted:#f1f1f1;
  --shadow-1:0 4px 6px rgba(0,0,0,.1);
  --shadow-2:rgba(0,0,0,0.15) 0 10px 15px;
  --bd:#3333335c;
}

*{margin:0;padding:0;line-height:1.5;box-sizing:border-box!important;}
*,::before,::after{box-sizing:border-box!important;}
img{max-width:100%;height:auto;border:none;}
a{color:var(--c-link);text-decoration:none;transition:all 300ms ease-in-out;cursor:pointer;outline:none;}
a:hover,a:focus{color:var(--c-link-hover);text-decoration:none;}
a:visited{text-decoration:none;}
body{color:var(--c-text);}
h1{text-transform:uppercase;}
h1,h2,h3,h4,h5,h6{margin:0 0 20px;font-weight:700;line-height:1.5;}
ol li{display:list-item;list-style-type:decimal;}
/*Back-to-top*/
/* =============================
   Back To Top Button
============================= */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #36d1dc, #5b86e5); /* gradient xanh */
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

/* Hover effect */
#back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(54, 209, 220, 0.4);
    opacity: 1;
}

/* Ẩn khi không cần */
#back-to-top.hide {
    display: none;
}

/* Animation hiện ra */
#back-to-top.show {
    display: flex;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 0.9; transform: scale(1); }
}

/* =========================
   2) TYPOGRAPHY / CONTENT
========================= */
#main{font-size:18px;}
#main a{color:#008ee9;}
#main a:hover{color:var(--c-link-hover);}
#main .box-rank a{color:#fff;}
.content-post p{margin-bottom:15px;}
.content-post img{display:block;margin:5px auto;}
.single h1, .page-template-default h1{margin-bottom:0;}
.box-entry {margin: 30px 0;}

/* =========================
   3) TABLES
========================= */
table{width:100%!important;margin-bottom:20px;}
tbody{border-width:1px;border-color:var(--bd);}
tr:nth-child(odd){background:#dddd;}
tr td{padding:5px;border-right:1px solid var(--bd);}

/* =========================
   4) LAYOUT HELPERS
========================= */
.container{width:1200px;}
.row10{margin:0 -10px;}
.row5{margin:0 -5px;}
.row10>div{padding:0 10px;}
.row5>div{padding:0 5px;}
.center{text-align:center;}
.left{text-align:left;}
.right{text-align:right;}
.flex{display:flex;flex-wrap:wrap;}
.flex-center{align-items:center;}
.row-reverse{flex-direction:row-reverse;}
.column-reverse{flex-direction:column-reverse;}
.all_box{padding-bottom:20px;}
.row_1{display:flex;align-items:center;}
.boxtop{padding:0 0 40px;}
.title_pages,
.title-h1{font-weight:700;font-size:35px;text-align:left;margin-bottom:30px;}
.title_pages{text-transform:capitalize;color:#232351;}
.title-h1{text-transform:capitalize;font-size: 30px;}
.breadcrumbs{padding:10px 0;text-align:left;font-size:15px;background: #f5f5f5; margin-bottom: 20px;}
.breadcrumbs a:hover{color:var(--c-link-hover);}
.breadcrumbs p{margin-bottom:0;}
.breadcrumbs .separator {margin: 0 10px;}
.tagged_as{padding:15px 0;}
.tagged_as a{display:inline-block;float:none;margin:5px 10px 5px 0;padding:5px 10px;font-size:14px;background:var(--c-muted);border-radius:5px;}

/* clear helpers by n-columns */
.n2:nth-child(2n+1),
.n3:nth-child(3n+1),
.n4:nth-child(4n+1),
.n5:nth-child(5n+1),
.n6:nth-child(6n+1){clear:left;}

/* =========================
   5) HEADER / NAV
========================= */
header {position: sticky;top: 0;left: 0;z-index: 9999;}
.header_pc{display:block;background:#fffae7;padding:0 12px;}
.header_pc .header_logo .logo a{display:block;width:50%;height:auto;padding:5px 0;margin:0 auto;}
.header_pc .header_logo .logo a img {width: 100px;}
/* =============================
   Menu Header Modern
============================= */

/* Container menu */
.header_menu {
    background: #fffae7; /* nền đen */
    padding: 12px 0;
    font-family: "Segoe UI", Roboto, sans-serif;
}

/* Reset & layout */
.header_menu > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* chỉ menu cấp 1 mới dàn ngang */
    justify-content: center;
    align-items: center;
    gap: 28px;
}

/* Menu item */
.header_menu ul li {
    position: relative;
}

/* Link chính */
.header_menu ul li a {
    position: relative;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 4px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* Hiệu ứng underline gradient */
.header_menu ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.header_menu ul li a:hover::after,
.header_menu ul li.current-menu-item a::after {
    width: 100%;
}

/* Hover & Active */
.header_menu ul li a:hover,
.header_menu ul li.current-menu-item a {
    color: #36d1dc;
}

/* =============================
   Submenu
============================= */
.header_menu ul li ul.sub-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: #111;
    padding: 10px 0;
    margin: 0;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s ease;
    z-index: 999;

    display: block;   /* đảm bảo xổ dọc */
    flex-direction: column; /* phòng trường hợp bị ảnh hưởng flex */
}

/* Show submenu khi hover */
.header_menu ul li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Item submenu */
.header_menu ul li ul.sub-menu li {
    display: block; /* xổ dọc */
    margin: 0;
}

/* Link submenu */
.header_menu ul li ul.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #eee;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hover submenu item */
.header_menu ul li ul.sub-menu li a:hover {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    color: #fff;
    padding-left: 24px; /* slide effect */
    border-radius: 4px;
}

.bt-dk a{display:block;text-align:center;text-transform:uppercase;font-weight:bold;color:#fff;background:#ff722c;padding:15px;border-radius:8px;}
.bt-dk a:hover{background:var(--c-link-hover);}

/* top banner */
.banner-top{background:#950008;}
.banner-top .row{justify-content:center;}
.banner-top a{display:block;width:30%;}
.banner-top a img{width:100%;height:50px;}

/* mobile header */
.header_mb{display:none;}
.top-mb{display:none;}

/* =========================
   6) SECTIONS / BLOCKS
========================= */
.bg-sapo{padding:30px 0px;background:linear-gradient(0deg, #37d1dc, #ffffff);color:#251e1b;margin-bottom:20px;}
.boxtop h2{text-align:center;}
 .full-sapo .sapo ol{
  display:grid;grid-auto-flow:column;grid-template-rows:repeat(5,auto);
  gap:8px 16px;margin:0;
}
.bg-sapo .img-sapo{text-align:right;}
.bg-sapo .img-sapo img{max-width:100%;}
/*Toc*/
#toc { padding:15px 20px; border:1px solid #e0e0e0; border-radius:10px; background:#ffffff; position:sticky; top:85px; height:fit-content; box-shadow:0 4px 12px rgba(0,0,0,0.08); font-family:Arial,sans-serif; }
#toc h3 { margin:0 0 12px; font-size:18px; font-weight:600; color:#333; border-bottom:2px solid #f0f0f0; padding-bottom:8px; }
#toc ul { list-style:none; padding-left:0; margin:0; }
#toc li { margin:6px 0; position:relative; line-height:1.5; }
#toc a { text-decoration:none; color:#005BBB; transition:color 0.2s,font-weight 0.2s; }

/* ===========================
   AUTHOR PAGE — CHUẨN BỐ CỤC, KHÔNG ẢNH HƯỞNG AUTHOR BOX
=========================== */

.author-page {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 2px solid #FFA922;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: rgba(17,17,26,0.1) 0 4px 16px,
              rgba(17,17,26,0.1) 0 8px 24px,
              rgba(17,17,26,0.1) 0 16px 56px;
  transition: all 0.3s ease;
}

.author-page:hover {
  transform: translateY(-3px);
  box-shadow: rgba(17,17,26,0.2) 0 6px 18px;
}

/* ===========================
   AUTHOR PAGE — HEADER (avatar + tên)
=========================== */

.author-page .author-page-title {
  text-align: center;
}

.author-page .author-avatar {
  text-align: center;
  margin-bottom: 25px;
}

.author-page .author-avatar img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #eee;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ===========================
   AUTHOR PAGE — MÔ TẢ / BIO
=========================== */

.author-page .author-bio {
  max-width: 1280px;
  margin: 0 auto 30px auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  text-align: left;       /* căn trái cho dễ đọc */
  text-justify: inter-word;
}

.author-page .author-bio p {
  margin-bottom: 1em;
}

/* ===========================
   AUTHOR PAGE — BÀI VIẾT MỚI NHẤT
=========================== */

.author-latest-posts {
  margin-top: 50px;
}

.author-latest-posts h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 25px;
}

.list-latest-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 0;
  margin: 0;
}

/* Card bài viết */
.latest-post-item {
  background-color: #fff;
  border: 2px solid #FFA922;
  border-radius: 10px;
  box-shadow: rgba(17,17,26,0.1) 0 4px 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.latest-post-item:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0,0,0,0.25) 0 6px 12px;
  border-color: #ff7b00;
}

.latest-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #FFA922;
}

.latest-post-title h4 {
  font-size: 18px;
  color: #222;
  text-align: center;
  padding: 15px;
  line-height: 1.4;
  min-height: 60px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {
  .author-page {
    padding: 25px 15px;
  }

  .author-page-title {
    font-size: 28px;
  }

  .latest-post-title h4 {
    font-size: 16px;
  }

	
	
}



/*Author-box*/
.author-box {
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 1200px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            text-align: center;
            transition: transform 0.3s ease;
            margin: auto;
        }

        .author-box:hover {
            transform: translateY(-5px);
        }

        .author-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            border: 4px solid #667eea;
            object-fit: cover;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .author-name {
            font-size: 28px;
            font-weight: bold;
            color: #2d3748;
            margin-bottom: 8px;
        }

        .author-position {
            font-size: 16px;
            color: #667eea;
            font-weight: 600;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
        }

        .social-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: white !important;
            transition: all 0.3s ease;
            font-size: 20px;
        }

        .social-btn:hover {
            transform: scale(1.15) rotate(5deg);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .facebook {
            background: #1877f2;
        }

        .youtube {
            background: #ff0000;
        }

        .pinterest {
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        }

        .twitter {
            background: #000000;
        }

        .author-bio {
            font-size: 15px;
            line-height: 1.8;
            color: #4a5568;
            text-align: left;
            padding: 20px;
            background: #f7fafc;
            border-radius: 12px;
            border-left: 4px solid #667eea;
        }
/*author*/
/* Container chính */
.author-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Tiêu đề tác giả */
.author-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

/* Ảnh đại diện */
.author-avatar {
  text-align: center;
  margin-bottom: 20px;
}
.author-avatar img {
  border-radius: 50%;
  border: 4px solid #eee;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Tiểu sử */
.author-bio {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  text-align: center;
  color: #555;
}
/* Danh sách bài viết mới nhất */
.list-latest-posts,
.author-latest-posts ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0;
  margin: 30px 0 0;
}

.latest-post-item {
  list-style: none;
  background-color: #fff;
  border: 2px solid #FFA922;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.latest-post-item:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0,0,0,0.25) 0 6px 12px;
  border-color: #ff7b00;
}

.latest-post-thumb {
  width: 100%;
  overflow: hidden;
  border-bottom: 2px solid #FFA922;
}

.latest-post-thumb img {
  width: 100%;
  height: auto;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.latest-post-item:hover .latest-post-thumb img {
  transform: scale(1.05);
}

.latest-post-title h4 {
  font-size: 18px;
  color: #222;
  text-align: center;
  padding: 15px;
  line-height: 1.4;
  min-height: 60px;
}

/* ===========================
   RESPONSIVE MOBILE / TABLET
=========================== */

@media (max-width: 1024px) {
  .author-page {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-title,
  .author-page-title {
    font-size: 28px;
  }

  .category-content {
    padding: 20px;
  }

  .author-page {
    padding: 20px 15px;
  }

  .author-page .author-avatar img {
    width: 120px;
    height: 120px;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .author-box .author-content {
    text-align: center;
  }

  .author-box .author-social {
    justify-content: center;
  }

  .latest-post-title h4 {
    font-size: 16px;
    min-height: auto;
  }
	

}

/* =============================
   Footer Modern
============================= */
#footer {
    background: #0d0d0d; /* nền đen xám */
    color: #ccc;
    font-family: "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 50px;
}

#footer .footer {
    padding: 50px 0 20px;
}

/* Container chung */
#footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cột footer */
#footer .fist-widget .widget {
    margin-bottom: 25px;
}

/* Tiêu đề footer */
#footer .footer-title span {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
}

#footer .footer-title span::after {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    margin-top: 6px;
    border-radius: 2px;
}

/* Nội dung footer */
#footer .textwidget p,
#footer .textwidget ul,
#footer .textwidget li {
    color: #bbb;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Link trong footer */
#footer .textwidget a,
#footer .textwidget li {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 6px;
}

#footer .textwidget a:hover,
#footer .textwidget li:hover {
    color: #36d1dc;
    padding-left: 5px;
}

/* Mạng xã hội */
#footer .textwidget ul li {
    margin-bottom: 8px;
}

#footer .textwidget ul li::before {
    content: "•";
    margin-right: 8px;
    color: #36d1dc;
}

/* Dòng bản quyền */
#footer .tow-widget {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

#footer .tow-widget .textwidget {
    color: #888;
}

.dk_header a{    background: none;
    color: #34792e !important;
    font-weight: bold;
    border: 1px solid #34792e;display: block;
    text-align: center;
    padding: 5px;
    width: 75%;
    margin: 10px auto;    transition: all .3s;
    box-shadow: rgba(50, 50, 93, 0.25) 0 2px 5px -1px, rgba(0, 0, 0, 0.3) 0 1px 3px -1px;}

.dn_header a{    background: none;
    font-weight: bold;
    color: #7202be !important;
    border: 1px solid #7202be;display: block;
    text-align: center;
    padding: 5px;
    width: 75%;
    margin: 10px auto;    transition: all .3s;
    box-shadow: rgba(50, 50, 93, 0.25) 0 2px 5px -1px, rgba(0, 0, 0, 0.3) 0 1px 3px -1px;}


.banner_header.has-content {display: block;}
.banner_header .row { justify-content:center; }
.banner_header a {display: block;}
.banner_header a img {width:100% ;height:50px;}



.banner_footer { position:fixed;bottom:0;left:0; margin:auto;right:0;z-index:9999;}
.banner_footer .row{justify-content:center;}
.banner_footer a{display: block;text-align:center}
.banner_footer a img{width:100%;height:50px;}

.popup {
    width: 300px;
 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;}
.popup a { display:block; }
.popup a img { width:100% ; height:100%; }
.close, .closes {
       position: absolute;
    top: -25px;
    right: 0px;
    cursor: pointer;
    font-size: 17px;
    color: #fff;
    display: inline-block;
    background: red;}
.line-dark {z-index: 9;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #0000008a;
    top: 0;
    left: 0;}



/* Archive list cards */
.list-article{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.article-news{background:#fff;border-radius:8px;overflow:hidden;box-shadow:var(--shadow-1);transition:transform .3s ease,box-shadow .3s ease;height:100%;    border: 1px solid #dddddd78;}
.article-news:hover{transform:translateY(-5px);box-shadow:var(--shadow-2);}
.article-link img{transition:transform .3s ease;}
.article-news:hover img{transform:scale(1.05);}
.article-content{padding:16px;}
.article-title h2{font-size:24px;margin-bottom:10px;color:#3d38a8;}
.article-excerpt{margin-bottom:10px;}
.article-content .view-more{font-size:15px;font-weight:bold;color:#0a64bd;}
.article-news a{color:inherit!important;}

/* Meta */
.post-meta{font-size:16px;padding: 10px 0; border-bottom: 1px solid #ddd;}
.post-meta .cc{margin:0 10px;}
.post-meta p {margin-bottom: 0;}
.meta-author a {color: #D674FF !important;}
/* Pagination */
.wp-pagenavi { display:flex; justify-content:center; align-items:center; gap:8px; margin:30px 0; font-family:Arial,sans-serif; }
/* Text "Trang X trên Y" */

.wp-pagenavi .pages { margin-right:12px; color:#666; font-size:14px; }
/* Link chung */

.wp-pagenavi a,.wp-pagenavi span { display:inline-flex; justify-content:center; align-items:center; min-width:36px; height:36px; padding:0 12px; font-size:14px; font-weight:500; border-radius:8px; text-decoration:none; transition:all 0.3s ease; }
/* Số trang */

.wp-pagenavi a { background:#f2f2f2; color:#333; border:1px solid #ddd; }
.wp-pagenavi a:hover { background:#000; color:#fff; border-color:#000; }
/* Trang hiện tại */

.wp-pagenavi .current { background:#000; color:#fff; font-weight:600; border:1px solid #000; cursor:default; }
/* Nút điều hướng » */

.wp-pagenavi .nextpostslink,.wp-pagenavi .previouspostslink { font-size:16px; font-weight:bold; }

/* Related posts & lists */
.related-posts{padding-bottom:20px;}
.related-posts .title{margin-bottom:20px;color:var(--c-primary);font-weight:700;font-size:28px;text-transform:uppercase;text-shadow:0 4px 4px rgba(0,0,0,0.25);}
.related-posts .item>div{margin-bottom:5px;}

.post-lq .box{padding:10px;overflow:hidden;height:300px;border-radius:5px;box-shadow:0 0 25px 0 rgba(0,0,0,.2);}
.single .post-lq .box{height:320px;}
.post-lq .box a{display:block;overflow:hidden;color:var(--c-primary)!important;}
.post-lq .box a img{transition:all .3s;}
.post-lq .box:hover a img{transform:scale(1.1);}
.post-lq .box h3{font-size:15px;margin:10px 0;}
.post-lq .box p{font-size:14px;text-align:justify;}
.post-lq .box .post-date{text-align:center;}
.post-lq .list-category{margin-bottom:30px;}
.post-lq .list-category h2{text-align:center;}
.post-lq .list-category .title-category{margin-bottom:17px;}
.post-lq .box .r-box h3 a{text-align:justify;}
.post-lq .box .r-box h3 a:hover{color:var(--c-primary);}
.post-lq .post-item{margin-bottom:10px;}

/* Author */
.author-lucas-trinh .box-author{justify-content:space-evenly;}
.author-lucas-trinh .box-author .img img{width:200px;height:auto;}
.author-lucas-trinh .box-author .img{margin-bottom:10px;}
.author-lucas-trinh .box-author h2.name{text-align:center;}
.author_box{background:#fff;padding:20px;border-radius:5px;box-shadow:0 0 25px 0 rgba(0,0,0,.2);}
.author_box a{color:#005BBB!important;}
.author_box .avatar{padding:10px;}
.author_box .avatar img{width:100%;height:auto;border-radius:40px;margin-bottom:0;}
.author_box .name{font-weight:700;font-size:24px;color:#C0392B;}
.author_box .admin{text-transform:uppercase;font-size:20px;font-weight:500;color:#005BBB;margin:15px 0;}
.social_author ul{padding:0;}
.social_author ul li{display:inline-block;margin:0 10px 0 0;}

/* Vùng FAQ */
.faq {
  background: #f9f9f9; /* nền sáng tinh tế */
  padding: 60px 20px;
}

.faq h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
  position: relative;
  text-align:center;
}

.faq h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #f7b733, #fc4a1a); /* vàng cam nhấn mạnh */
  margin: 10px auto 0;
  border-radius: 3px;
}

.faq .meta p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Accordion Item */
.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.accordion-item:hover {
  transform: translateY(-3px);
}

/* Accordion Header */
.accordion-button {
  background: #fff;
  color: #222;
  font-weight: 600;
  padding: 18px 22px;
  font-size: 1.1rem;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #f7b733, #fc4a1a); /* khi mở highlight */
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
  outline: none;
}

/* Icon mũi tên */
.accordion-button::after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23222'%3E<path fill-rule='evenodd' d='M1.5 6l8 8 8-8'/%3E</svg>");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23fff'%3E<path fill-rule='evenodd' d='M1.5 6l8 8 8-8'/%3E</svg>");
}

/* Accordion Body */
.accordion-body {
  background: #fff;
  padding: 20px 25px;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.accordion-body p {
  margin-bottom: 10px;
}

/* Other blocks */
.item_news{border-radius:5px;box-shadow:0 0 25px 0 rgba(0,0,0,.2);}
.wp-caption{width:100%!important;text-align:center;}
.depscription img{width:100%;}
.modal-dialog{margin:80px auto 0;}
.modal-content{position:relative;border:none;border-radius:.5rem;box-shadow:none;background:#fff;outline:0;}
.modal-header{min-height:16.4286px;padding:15px;background:#045d2d;color:#fff;border-bottom:1px solid #e5e5e5;}
.modal-header .modal-title{position:relative;min-height:44px;margin:0;font-size:18px;line-height:44px;font-weight:400;color:#fff;}

/* =========================
   7) HOMEPAGE SECTIONS
========================= */

.home-content{
  margin-bottom:30px;max-height:700px;overflow-y:auto;padding:15px;border:1px solid #ccc;border-radius:8px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.1);line-height:1.6;
}
.home-content h2,.home-content h3,.home-content h4{margin-bottom:20px;}

.home-content img{display:block;margin:30px auto 0;}

/* Boxes */
.boxcolor{background:#fee;padding:20px 0;}
.boxboder1{border:5px solid var(--c-link-hover);box-shadow:0 5px 4px 0 #00000040 inset;border-radius:10px;overflow:hidden;margin-bottom:15px;}
.box2{border:4px solid #e99d2a;box-shadow:0 5px 4px 0 #00000040 inset;background:#fef6eb;padding:20px;}

/* =========================
   8) TOPLIST
========================= */
.top-pc{margin:30px 0;}
.fa-star:before{content:"\f005";color:#ffdc02;}
.top-pc .item{
  position:relative;display:flex;gap:20px;align-items:center;
  padding-left:10px;background:#171723;border:1px solid #ddd;border-radius:20px;
  box-shadow:rgba(0,0,0,0.15) 1.95px 1.95px 2.6px;
}
.top-pc .item .colum1{
  position:absolute;top:-8px;left:10px;display:flex;align-items:center;justify-content:center;
  min-width:30px;max-width:30px;padding:2px 8px;font-size:20px;font-weight:700;color:#333;background:#ffb601;
}
.top-pc .item .colum1::before{content:"";position:absolute;top:0;left:30px;border-top:8px solid transparent;border-left:5px solid #3333339c;}
.top-pc .item .colum2{width:100%;text-align:left;}
.top-pc .item .colum3{width:100%;}
.top-pc .item .colum4{width:100%;text-align:left;}
.top-pc .item .colum2 .img{padding:10px;border-radius:10px;}
.top-pc .item .colum2 div,
.top-pc .item .colum2 .title-sm h3{margin-bottom:10px;}
.top-pc .item .colum2 .rate_kh p{margin-bottom:0;display:inline-block;padding:3px 10px;font-size:14px;font-weight:500;color:#fff;border-radius:20px;background:#0090f2;
border: 1px solid white;
outline: 2px solid #0090f2;
outline-offset: 1px;
/*box-shadow:rgba(0,0,0,0.09) 0px 2px 1px, rgba(0,0,0,0.09) 0px 4px 2px, rgba(0,0,0,0.09) 0px 8px 4px, rgba(0,0,0,0.09) 0px 16px 8px, /rgba(0,0,0,0.09) 0px 32px 16px;*/
}
.top-pc .item .colum3 .describe{color:#474747cc;}
.top-pc .item .colum3 .info ul{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0;
background: #efefef;border-radius:10px;padding:2px 3px;}
.top-pc .item .colum3 .info ul li{width:50%;padding:5px }
.top-pc .item .colum3 .info ul li p{font-size:15px;margin-bottom:0px !important}
.top-pc .item .colum3 .info ul li p svg{color:#00a027;}
.top-pc .item .colum3 .info ul li p span{font-weight:bold;}
.top-pc .item .colum3 .playroom ul{display:flex;gap:20px;padding:0;}
.top-pc .item .colum3 .playroom ul li{
  background:#4e1cae;color:white;font-size:14px;padding:3px 10px;border-radius:20px;
  border: 1px solid white;
  outline: 2px solid #1e1e23;
  outline-offset: 1px;

	list-style:none;
}
.top-pc .item .colum4 .button {
	display:flex;
	align-items:center;
	margin-top: 10px;
	justify-content:right;
    gap: 20px;
}
.top-pc .item .colum4 .button a{display:block;color:#fff;border-radius:5px;padding:10px 1.5rem;transition:all .3s;box-shadow:rgba(50,50,93,0.25) 0 2px 5px -1px, rgba(0,0,0,0.3) 0 1px 3px -1px;}
.top-pc .item .colum4 .button a:hover{
  border-radius:10px;transform:scale(1.1);
  box-shadow:rgba(0,0,0,0.09) 0px 2px 1px, rgba(0,0,0,0.09) 0px 4px 2px, rgba(0,0,0,0.09) 0px 8px 4px, rgba(0,0,0,0.09) 0px 16px 8px, rgba(0,0,0,0.09) 0px 32px 16px;
}
.top-pc .item .colum4 .button .btn_reiew a{background:none;color:#34792e !important ; font-weight:bold ;border: 1px solid #34792e }
.top-pc .item .colum4 .button .btn_reiew:hover a {background:#34792e;color: white !important}
.top-pc .item .colum4 .button .btn_dk a{background:none;font-weight:bold;color: #7202be !important; border: 1px solid #7202be}
.top-pc .item .colum4 .button .btn_dk:hover a {background:#7202be !important;color: white !important}

/* Fix bootstrap */
dl, ol, ul {
	margin-bottom: 0 !important;
}

/* nth backgrounds (giữ nguyên logic) */
.top-pc:nth-child(1) .item .colum2 .img{background:#212121;}
.top-pc:nth-child(2) .item .colum2 .img{background:#212121;}
.top-pc:nth-child(3) .item .colum2 .img{background:#cdcdcdc2;}
.top-pc:nth-child(4) .item .colum2 .img{background:#171717c2;}
.top-pc:nth-child(5) .item .colum2 .img{background:#000b27;}
.top-pc:nth-child(6) .item .colum2 .img{background:#101f52;}
.top-pc:nth-child(7) .item .colum2 .img{background:#21232a;}
.top-pc:nth-child(8) .item .colum2 .img{background:#020d24;}
.top-pc:nth-child(9) .item .colum2 .img{background:#1a1a1a;}
.top-pc:nth-child(10) .item .colum2 .img{background:#ac0b0b;}
.top-pc:nth-child(11) .item .colum2 .img{background:#1d1d1d;}
.top-pc:nth-child(12) .item .colum2 .img{background:#1e2024;}
.top-pc:nth-child(13) .item .colum2 .img{background:linear-gradient(180deg,transparent 30.26%,rgba(0,0,0,.4) 129.61%),#224e32;}
.top-pc:nth-child(14) .item .colum2 .img{background:#1f212c;}
.top-pc:nth-child(15) .item .colum2 .img{background:#203374;}
.top-pc:nth-child(16) .item .colum2 .img{background:rgb(27 27 27);}
.top-pc:nth-child(17) .item .colum2 .img{background:#9d9d9d78;}
.top-pc:nth-child(18) .item .colum2 .img{background:#20222a;}
.top-pc:nth-child(19) .item .colum2 .img{background:#1a2c38;}
.top-pc:nth-child(20) .item .colum2 .img{background:#f2f2f2;}
.top-pc:nth-child(21) .item .colum2 .img{background:linear-gradient(5deg,#fe54c9c9,#5e95ba);}
.top-pc:nth-child(22) .item .colum2 .img{background:linear-gradient(5deg,#449c00c9,#143401);}
.top-pc:nth-child(23) .item .colum2 .img{background:linear-gradient(5deg,#5a0095c9,#143401);}
.top-pc:nth-child(24) .item .colum2 .img{background:linear-gradient(5deg,#8a0202,#000000);}
.top-pc:nth-child(25) .item .colum2 .img{background:#1a1a1a;}

/* =========================
   9) ANIMATIONS
========================= */
@keyframes stuckMoveDown{0%{transform:translateY(-100%);}100%{transform:translateY(0);}}
@keyframes stuckMoveUp{0%{transform:translateY(100%);}100%{transform:translateY(0);}}
@keyframes stuckFadeIn{0%{opacity:0;}100%{opacity:1;}}
@keyframes wave {
  0%, 100% {
    transform: translateY(0);
    color: white;
    box-shadow: none;
  }
  50% {
    transform: translateY(-5px);
    color: gold; /* vàng khi lên đỉnh */
    box-shadow: 0 0 10px gold, 0 0 20px orange; /* ánh sáng vàng */
	
  }
}

/* =========================
   10) RESPONSIVE ≤1200px
========================= */
@media (max-width:1200px){
  *{line-height:1.3;}
  p{margin-bottom:10px;}
  h2,h3{margin-bottom:10px;}
  #content_pages{margin-top:20px;}
  .n3:nth-child(2n+1){clear:left;}
  .n3:nth-child(3n+1){clear:none;}
  .n5:nth-child(2n+1){clear:left;}
  .container{width:100%;padding:0 10px;overflow:hidden;}
  .row{margin:0 -10px;}
  .row>div{padding:0 10px;}
  iframe{width:100%;height:200px;}
  .fancybox-slide--iframe .fancybox-content{width:100%;height:240px;max-width:calc(100% - 20px);}
  .fixed{position:fixed!important;z-index:1000000;width:100%;top:0;background:#fff;box-shadow:0 2px 7px 0 rgba(0,0,0,.1);}
  .this_pc{display:none;}
  .this_mb{display:block;}
  #toc {margin-bottom: 20px;}
  .columns-4,.columns-5,.columns-6{grid-template-columns:repeat(2,1fr);grid-gap:15px;}
  .columns-3,.columns-2{grid-template-columns:repeat(1,1fr);grid-gap:15px;}

  .archive .item_news{padding:10px;position:relative;}
  .archive .item_news .img img{margin-bottom:10px;}
  .archive .item_news .desc{display:none;}
  .archive .info .capt a,.related-posts .capt a{font-size:16px;}
  .author_box{margin-bottom:20px;}
  .post-lq .box{display:flex;gap:10px;height:auto!important;padding:10px;}
  .post-lq .box .r-box{width:60%;}
  .post-lq .box .r-box a{font-size:13px;}
  .post-lq .box .l-box a{display:block;width:100%;height:100%;}
  .post-lq .box .l-box a img{height:100%;}
  .bg-sapo .full-sapo .sapo ol{padding-left:15px;font-size:13px;gap:8px 36px;}
  .archive .item_news:last-child:before{display:none;}
  #main{font-size:16px;margin:0;}
  .row_1{display:block;}
  .title-h1{font-size:18px;font-weight:500;margin-bottom:5px;}
  .title_pages{font-size:22px;font-weight:500;margin-bottom:5px;}
  .bg-sapo{padding:20px 15px;}
  .bg-sapo .img-sapo{display:none;}
  /* toplist mobile */
  .top-pc .item{flex-direction:column;gap:10px;padding:10px;}
  .top-pc .item .colum2{width:100%;text-align:center;}
  .top-pc .item .colum2 .img{width:50%;margin:0 auto;}
	.top-pc .item .colum2 .rate_kh p {
        margin-bottom: 0;
        display: inline-block;
        /* padding: 3px 10px; */
        font-size: 14px;
        font-weight: 500;
        color: #000000bf;
        border-radius: 0px;
        background: none;
        border: none;
        outline: none;
        outline-offset: unset;
	}
  .top-pc .item .colum2 .star_rate{margin-bottom:5px;}
  .top-pc .item .colum2 div,
  .top-pc .item .colum2 .title-sm h3{margin-bottom:0;}
  .top-pc .item .colum3,
  .top-pc .item .colum4{width:100%;}
	
  .top-pc .item .colum3 .playroom ul{margin-bottom:0 !important;margin-top:10px !important}
  .top-pc .item .colum3 .describe{display:none;}
  .top-pc .item .colum4 .button{display:flex; margin-top:9px; justify-content: center;}
  .top-pc .item .colum4 .button>div{width:fit-content;}
  .top-pc .item .colum4 .button .btn_reiew a{margin-bottom:0;}
  /* header mobile */
  .header_pc{display:none;}
  .header_mb{display:block;}
  /* ======== Header Mobile ======== */
.header_mb {
    position: relative;
    width: 100%;
    background: #000000;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Container chính */
.header_main_mb .container {

    padding: 10px 15px;
}

.dk_header a{    color: #fff !important;
    background: #34792e;
    width: 100%;
    padding: 10px 15px}

.dn_header a{    color: #fff !important;
    background: #7202be;
    width: 100%;
    padding: 10px 15px}		
	
	
	
	
/* Logo */
.logo_mb img {
    max-height: 50px;
    display: block;
}

/* Nút menu hamburger */
.touch_menu {
    width: 30px;
    height: auto;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.touch_menu .line {
    position: relative;
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.touch_menu .line::before,
.touch_menu .line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.touch_menu .line::before {
    top: -8px;
}

.touch_menu .line::after {
    bottom: -8px;
}

/* Khi mở menu biến thành X */
#menu_bar_mobile.open ~ .header_mb .touch_menu .line {
    background: transparent;
}

#menu_bar_mobile.open ~ .header_mb .touch_menu .line::before {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu_bar_mobile.open ~ .header_mb .touch_menu .line::after {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* Overlay nền mờ */
#menu_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

/* Menu mobile */
#menu_bar_mobile {
    position: fixed;
    top: 0;
    right: -100%;,
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: 0.3s;
    overflow-y: auto;
    padding: 20px 15px;
}

/* Menu mở */
#menu_bar_mobile.open {
    right: 0;
}

#menu_overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Nút đóng menu */
.close_menu {
    font-size: 24px;
    color: #333;
    text-align: right;
    margin-bottom: 20px;
    cursor: pointer;
}

/* Menu chính */
.menu_mobile {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu_mobile li {
    margin-bottom: 10px;
}

.menu_mobile li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    display: block;
    padding: 10px 5px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.menu_mobile li a:hover {
    background: #f5f5f5;
    color: #ff4c00;
}

/* Menu con */
.menu_mobile li.menu-item-has-children > a::after {
    content: "\f107"; /* FontAwesome mũi tên */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    float: right;
}

.menu_mobile li ul.sub-menu {
    display: none;
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.menu_mobile li.open > ul.sub-menu {
    display: block;
}

.menu_mobile li ul.sub-menu li a {
    font-size: 14px;
    padding-left: 10px;
}

/* Scroll đẹp */
#menu_bar_mobile::-webkit-scrollbar {
    width: 6px;
}

#menu_bar_mobile::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

	
#menu_bar_mobile::-webkit-scrollbar-track {
    background: transparent;
}

  .wp-pagenavi span,.wp-pagenavi a{margin:2px;padding:2px 3px;}
}


@media screen and (max-width:768px){
.bg-sapo {margin-bottom: 0;}
.list-article {grid-template-columns:repeat(2,1fr);}
.article-title h2 {font-size: 20px;}
#toc {margin-bottom: 20px;}
	.top-pc .item .colum4 .button .btn_dk a,.top-pc .item .colum4 .button .btn_reiew a {
		text-align:center;
		
	}
	.item {
		background: #3c3c44;
	}
	.top-pc .item .colum3 .playroom ul li {
		width:20%;
		display:flex;
		justify-content:center;
		align-items:center
	} 
	.rate{
		justify-content:center;
		position:relative;
		
	}
	.top-pc .item .colum3 .playroom ul {
		justify-content:center
	}
	
	
}
/* NEW TOP RANK */
/* Card chính */
.card-behind {
	height:auto;
	width:30%;
}
.card-front{
	width: 100%;
	background:white;
	border-radius:20px;
	padding:10px 20px
}
.rate {
	display:flex;
	align-items: center;
	gap:10px;
}

.top-pc .item .colum2 div{
	margin-bottom:0;
}
.top-pc .item .colum3 .playroom ul,.describe > p {
	margin-top: 14px;
}
.playroom ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.playroom ul li {
  cursor: pointer;
  display: inline-block;
  animation: wave 3s ease-in-out infinite;
}



/* So le thời gian để tạo hiệu ứng lượn sóng */
.playroom ul li:nth-child(1) {
  animation-delay: 0s;
}
.playroom ul li:nth-child(2) {
  animation-delay: 0.6s;
}
.playroom ul li:nth-child(3) {
  animation-delay: 1.2s;
}
.playroom ul li:nth-child(4) {
  animation-delay: 1.8s;
}
.playroom ul li:nth-child(5) {
  animation-delay: 2.4s;
}

