﻿/* ========================================
   AZHSK HOME V2
======================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --warning: #f59e0b;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e5e7eb;
    --bg: #f8fafc;
}

body {
    background: #f8fafc;
}
/* ========================================
   HERO HSK
======================================== */

.container-custom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.hero-hsk {
    background: #f6f8fc;
    position: relative;
    overflow: hidden;
    padding: 30px 0 100px;
}

/* ======================
   Background Elements
====================== */

.hero-shape {
    position: absolute;
    right: -280px;
    bottom: -180px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    border: 45px solid #f4c400;
    z-index: 1;
}

    .hero-shape::after {
        content: "";
        position: absolute;
        inset: 35px;
        border-radius: 50%;
        border: 30px solid #0d6efd;
    }

.bg-hanzi {
    position: absolute;
    top: 70px;
    right: 45%;
    font-size: 120px;
    color: #0d6efd;
    opacity: .08;
    z-index: 1;
    font-weight: bold;
}

/* ======================
   Left Content
====================== */

.hero-content {
    padding-top: 20px;
    max-width: 520px;
}

.hero-subtitle {
    color: #0f5ecf;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 120px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 15px;
}

.text-blue {
    color: #0f5ecf;
}

.text-orange {
    color: #ff9800;
}

.hero-line {
    width: 260px;
    height: 8px;
    background: linear-gradient( 90deg, #f7c500, #e8b500 );
    border-radius: 50px;
    margin-bottom: 30px;
}

.hero-brush {
    display: block;
    width: 420px;
    margin: -25px 0 8px -10px;
}

.hero-desc {
    margin-bottom: 25px;
}

/* ======================
   Checklist
====================== */

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

    .hero-list li {
        position: relative;
        padding-left: 35px;
        margin-bottom: 15px;
        font-size: 18px;
    }

        .hero-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            width: 24px;
            height: 24px;
            border: 2px solid #0f5ecf;
            border-radius: 50%;
            text-align: center;
            line-height: 20px;
            color: #0f5ecf;
            font-size: 12px;
        }

/* ======================
   Buttons
====================== */

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-main {
    background: linear-gradient( 90deg, #0f5ecf, #1d72ff );
    border: none;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}

    .btn-main:hover {
        color: #fff;
    }

.btn-test {
    border: 2px solid #f7a500;
    color: #f7a500;
    background: transparent;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
}

    .btn-test:hover {
        background: #f7a500;
        color: #fff;
    }

/* ======================
   Hero Image
====================== */

.hero-image-wrap {
    position: relative;
    text-align: center;
    margin-left: -100px;
}

.hero-image {
    max-height: 650px;
    position: relative;
    z-index: 3;
}

/* ======================
   Floating Circles
====================== */

.feature-circle {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
    z-index: 4;
}

    .feature-circle i {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .feature-circle span {
        font-size: 14px;
    }

.circle-yellow {
    background: #f7c500;
    top: 40px;
    right: 90px;
}

.circle-blue {
    background: #0f5ecf;
    top: 200px;
    right: 20px;
}

.circle-orange {
    background: #ff9800;
    top: 360px;
    right: 90px;
}

/* ======================
   Feature Box
====================== */

.hero-features {
    background: #fff;
    border-radius: 30px;
    margin-top: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.feature-item {
    display: flex;
    gap: 18px;
    padding: 35px 25px;
    height: 100%;
    border-right: 1px solid #eee;
}

    .feature-item i {
        font-size: 40px;
        color: #0f5ecf;
    }

    .feature-item h4 {
        font-size: 22px;
        font-weight: 700;
        color: #0f5ecf;
        margin-bottom: 8px;
    }

    .feature-item p {
        color: #666;
        margin: 0;
        line-height: 1.6;
    }

.hero-features .col-lg-3:last-child .feature-item {
    border-right: none;
}

/* ======================
   Responsive
====================== */

@media (max-width: 992px) {

    .hero-hsk {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 72px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .hero-image {
        max-height: 450px;
        margin-top: 30px;
    }

    .feature-circle {
        display: none;
    }

    .hero-shape,
    .bg-hanzi {
        display: none;
    }

    .hero-features {
        margin-top: 30px;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

@media (min-width: 1400px) {

    .hero-title {
        font-size: 135px;
    }

    .hero-subtitle {
        font-size: 40px;
    }
}
/* =========================
   HEADER V2
========================= */

.main-header {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    min-height: 95px;
    padding: 0;
}

.logo {
    height: 85px;
    width: auto;
}

.navbar-nav {
    gap: 8px;
}

    .navbar-nav .nav-link {
        color: #0f172a !important;
        font-size: 16px;
        font-weight: 600;
        padding: 14px 18px !important;
        position: relative;
    }

        .navbar-nav .nav-link:hover {
            color: #2563eb !important;
        }

        .navbar-nav .nav-link.active {
            color: #2563eb !important;
        }

            .navbar-nav .nav-link.active:after {
                content: '';
                position: absolute;
                left: 18px;
                right: 18px;
                bottom: 8px;
                height: 3px;
                background: #2563eb;
                border-radius: 50px;
            }

.dropdown-menu {
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    padding: 10px;
    min-width: 250px;
}

.dropdown-item {
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 15px;
}

    .dropdown-item:hover {
        background: #eff6ff;
    }

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
    font-size: 22px;
}

.btn-login {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 12px 26px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
}

    .btn-login:hover {
        background: #2563eb;
        color: #fff;
    }

.btn-register {
    background: #f59e0b;
    color: #fff;
    padding: 12px 26px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
}

    .btn-register:hover {
        color: #fff;
        background: #ea9908;
    }

.hero-brush {
    display: block;
    width: 380px;
    max-width: 100%;
    user-select: none;
    pointer-events: none;
    margin-top: -90px; /* kéo sát lên chữ */
    margin-bottom: -90px; /* kéo sát xuống mô tả */
    margin-left: -10px;
}

.hero-cn {
    position: absolute;
    right: 42%;
    top: 120px;
    font-size: 120px;
    color: #dbeafe;
    font-weight: 700;
    z-index: 1;
}

.hero-pagoda {
    position: absolute;
    width: 500px;
    height: 350px;
    right: 30%;
    bottom: 90px;
    opacity: .15;
    background: url('/uploads/pagoda.png') center center no-repeat;
    background-size: contain;
}

.hero-image {
    position: relative;
    text-align: center;
}

.circle-path {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 2px dashed #9ec5ff;
    border-radius: 50%;
    right: -30px;
    top: 30px;
    z-index: 5;
}

.hero-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    z-index: 30;
}

    .hero-circle i {
        font-size: 34px;
        margin-bottom: 8px;
    }

    .hero-circle span {
        font-size: 15px;
    }

.circle-book {
    background: #f4c400;
    top: 30px;
    right: 60px;
}

.circle-test {
    background: #2563eb;
    top: 220px;
    right: -10px;
}

.circle-audio {
    background: #ff8c00;
    top: 420px;
    right: 70px;
}

.hero-line {
    width: 540px;
    height: 45px;
    background: url('/uploads/hero-line.png') center no-repeat;
    background-size: contain;
    margin-top: -15px;
    margin-bottom: 25px;
}

.hero-line {
    width: 520px;
    margin-top: -15px;
    margin-bottom: 25px;
}

    .hero-line svg {
        width: 100%;
        height: auto;
    }

.hero-content {
    padding-top: 60px;
}
/* =========================================
   HỌC THEO CẤP ĐỘ
========================================= */

.level-section {
    padding: 80px 0 30px;
}

.section-heading {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 35px;
}

.level-card {
    background: #fff;
    border-radius: 22px;
    padding: 25px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: .3s;
    height: 100%;
}

    .level-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,.08);
    }

    .level-card h4 {
        font-size: 28px;
        font-weight: 800;
        color: #2563eb;
        margin-bottom: 15px;
    }

    .level-card p {
        color: #64748b;
        margin-bottom: 20px;
    }

    .level-card a {
        display: inline-block;
        padding: 10px 18px;
        border-radius: 10px;
        background: #eff6ff;
        color: #2563eb;
        text-decoration: none;
        font-weight: 600;
    }

/* =========================================
   BÀI VIẾT
========================================= */

.post-section {
    padding: 50px 0;
}

.post-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: .3s;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
    height: 100%;
}

    .post-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,.08);
    }

.post-thumb {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.post-content {
    padding: 22px;
}

    .post-content h3 {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .post-content p {
        color: #64748b;
        margin-bottom: 15px;
    }

.post-meta {
    color: #94a3b8;
    font-size: 14px;
}

/* =========================================
   DANH SÁCH BÀI NHỎ
========================================= */

.post-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    background: #fff;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,.04);
}

    .post-list-item img {
        width: 110px;
        height: 80px;
        object-fit: cover;
        border-radius: 12px;
    }

    .post-list-item h5 {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: 5px;
    }

    .post-list-item span {
        color: #94a3b8;
        font-size: 13px;
    }

/* =========================================
   GRID BÀI VIẾT MỚI
========================================= */

.post-grid {
    margin-top: 25px;
}

.post-small {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

    .post-small:hover {
        transform: translateY(-5px);
    }

    .post-small img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.post-small-body {
    padding: 18px;
}

.post-small-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* =========================================
   SÁCH HSK
========================================= */

.book-section {
    padding: 50px 0 80px;
}

.book-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    text-align: center;
    transition: .3s;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

    .book-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,.08);
    }

    .book-card img {
        width: 100%;
        height: 280px;
        object-fit: contain;
        padding: 20px;
    }

.book-body {
    padding: 15px 20px 25px;
}

.book-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.book-price {
    color: #ef4444;
    font-size: 20px;
    font-weight: 700;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color: #fff;
    padding: 70px 0 25px;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255,255,255,.8);
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #fff;
        }

.footer-social {
    display: flex;
    gap: 12px;
}

    .footer-social a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        font-size: 18px;
    }

        .footer-social a:hover {
            background: #2563eb;
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: rgba(255,255,255,.6);
    font-size: 14px;
}

/* =====================================
   COMMON BLOCK
===================================== */

.block-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 35px;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

    .title-row h2 {
        font-size: 38px;
        font-weight: 800;
        margin: 0;
    }

    .title-row a {
        text-decoration: none;
        font-weight: 700;
        color: #2563eb;
    }

/* =====================================
   HSK LEVEL
===================================== */

.home-level {
    padding: 90px 0;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 20px;
}

.level-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .level-card:hover {
        transform: translateY(-8px);
    }

    .level-card h3 {
        font-size: 34px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .level-card p {
        color: #64748b;
        margin-bottom: 8px;
    }

    .level-card span {
        color: #2563eb;
        font-weight: 700;
    }

.hsk1 h3 {
    color: #16a34a;
}

.hsk2 h3 {
    color: #22c55e;
}

.hsk3 h3 {
    color: #2563eb;
}

.hsk4 h3 {
    color: #7c3aed;
}

.hsk5 h3 {
    color: #ea580c;
}

.hsk6 h3 {
    color: #dc2626;
}

/* =====================================
   FEATURED
===================================== */

.home-featured {
    padding-bottom: 50px;
}

.featured-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.featured-main {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

    .featured-main img {
        width: 100%;
        height: 380px;
        object-fit: cover;
    }

.featured-content {
    padding: 30px;
}

    .featured-content h3 {
        font-size: 32px;
        font-weight: 800;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .featured-content p {
        color: #64748b;
    }

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.featured-item {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .featured-item img {
        width: 110px;
        height: 90px;
        object-fit: cover;
        border-radius: 12px;
    }

    .featured-item h4 {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.5;
        margin: 0;
    }

/* =====================================
   POST GRID
===================================== */

.home-post {
    padding-bottom: 90px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.home-post .post-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .home-post .post-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

.home-post .post-body {
    padding: 25px;
}

    .home-post .post-body h3 {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .home-post .post-body span {
        color: #94a3b8;
    }

/* =====================================
   BOOK
===================================== */

.home-book {
    padding-bottom: 100px;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.home-book .book-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .home-book .book-card img {
        width: 100%;
        height: 260px;
        object-fit: contain;
    }

    .home-book .book-card h4 {
        margin-top: 15px;
        font-size: 20px;
        font-weight: 700;
    }

/* =====================================
   FOOTER
===================================== */

.site-footer {
    background: #0f172a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 20px;
}

.site-footer h4 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 12px;
    color: rgba(255,255,255,.8);
}

.site-footer p {
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}

/* =====================================
   MOBILE
===================================== */

@media(max-width:992px) {

    .level-grid,
    .book-grid,
    .post-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .featured-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {

    .level-grid,
    .book-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .block-title,
    .title-row h2 {
        font-size: 28px;
    }
}

.category-hero {
    padding: 30px 0 50px;
}

.category-banner {
    background: #f8fbff;
    border-radius: 30px;
    padding: 50px;
}

.breadcrumb-new {
    margin-bottom: 20px;
    font-size: 14px;
}

    .breadcrumb-new a {
        color: #64748b;
        text-decoration: none;
    }

.cate-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cate-content p {
    color: #64748b;
    font-size: 18px;
}

.cate-stat {
    display: flex;
    gap: 50px;
    margin-top: 30px;
}

    .cate-stat strong {
        display: block;
        font-size: 30px;
        color: #2563eb;
    }

.cate-image img {
    width: 100%;
}

.category-page {
    padding-bottom: 80px;
}

.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

    .filter-bar a {
        padding: 10px 18px;
        border-radius: 12px;
        background: #f1f5f9;
        cursor: pointer;
    }

    .filter-bar .active {
        background: #2563eb;
        color: #fff;
    }

.article-item {
    display: flex;
    gap: 25px;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

.article-thumb {
    width: 220px;
    flex-shrink: 0;
}

    .article-thumb img {
        width: 100%;
        border-radius: 16px;
    }

.article-tag {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.green {
    background: #ecfdf5;
    color: #16a34a;
}

.orange {
    background: #fff7ed;
    color: #ea580c;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.article-body p {
    color: #64748b;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #94a3b8;
    margin-top: 15px;
}

.sidebar-box {
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

    .sidebar-box h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .sidebar-box ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sidebar-box li {
        padding: 10px 0;
        border-bottom: 1px solid #edf2f7;
    }

.pagination-new {
    margin-top: 40px;
    display: flex;
    gap: 10px;
}

    .pagination-new a {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f1f5f9;
    }

    .pagination-new .active {
        background: #2563eb;
        color: #fff;
    }

/* =========================================
   ARTICLE DETAIL V2
========================================= */

.article-page {
    padding: 40px 0 80px;
}

.breadcrumb-modern {
    margin-bottom: 25px;
    font-size: 14px;
    color: #94a3b8;
}

    .breadcrumb-modern a {
        color: #64748b;
        text-decoration: none;
    }

    .breadcrumb-modern span {
        margin: 0 6px;
    }

/* HERO */

.article-hero {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

    .article-hero img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        display: block;
    }

/* HEADER */

.article-header {
    margin-bottom: 25px;
}

.article-category {
    display: inline-block;
    padding: 8px 16px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.4;
    color: #0f172a;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
    font-size: 15px;
}

    .article-meta span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

/* SAPO */

.article-sapo {
    background: #f8fafc;
    border-left: 5px solid #2563eb;
    border-radius: 15px;
    padding: 25px;
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 30px;
}

/* TOC */

.article-toc {
    background: #eff6ff;
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 35px;
}

    .article-toc h3 {
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 18px;
        color: #0f172a;
    }

    .article-toc ul {
        margin: 0;
        padding-left: 18px;
    }

    .article-toc li {
        margin-bottom: 12px;
    }

    .article-toc a {
        text-decoration: none;
        color: #2563eb;
        font-weight: 600;
    }

        .article-toc a:hover {
            text-decoration: underline;
        }

/* CONTENT */

.article-content {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

    .article-content h2 {
        font-size: 32px;
        font-weight: 800;
        margin-top: 45px;
        margin-bottom: 20px;
        color: #0f172a;
    }

    .article-content h3 {
        font-size: 26px;
        font-weight: 700;
        margin-top: 35px;
        margin-bottom: 18px;
    }

    .article-content p {
        font-size: 18px;
        line-height: 2;
        color: #334155;
        margin-bottom: 20px;
    }

    .article-content img {
        width: 100%;
        border-radius: 20px;
        margin: 30px 0;
    }

    .article-content ul {
        margin-bottom: 20px;
    }

    .article-content li {
        margin-bottom: 10px;
        line-height: 1.8;
    }

    .article-content blockquote {
        background: #fff7ed;
        border-left: 5px solid #f59e0b;
        padding: 20px;
        border-radius: 15px;
        font-style: italic;
        margin: 30px 0;
    }

/* SHARE */

.article-share {
    margin-top: 35px;
    background: #fff;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

    .article-share h4 {
        margin-bottom: 15px;
        font-weight: 700;
    }

.share-buttons {
    display: flex;
    gap: 12px;
}

    .share-buttons a {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #eff6ff;
        color: #2563eb;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        text-decoration: none;
        transition: .3s;
    }

        .share-buttons a:hover {
            background: #2563eb;
            color: #fff;
        }

/* AUTHOR */

.author-box {
    margin-top: 35px;
    background: #fff;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

    .author-box img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: cover;
    }

    .author-box h4 {
        font-weight: 800;
        margin-bottom: 8px;
    }

    .author-box p {
        margin: 0;
        color: #64748b;
    }

/* RELATED */

.related-post {
    margin-top: 60px;
}

    .related-post .block-title {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 30px;
    }

/* SIDEBAR */

.sidebar-card {
    background: #fff;
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

    .sidebar-card h3 {
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 20px;
    }

.col-lg-4 .sidebar-card:first-child {
    position: sticky;
    top: 110px;
}

/* MINI BOOK */

.book-mini {
    display: flex;
    gap: 15px;
    align-items: center;
}

    .book-mini img {
        width: 90px;
        border-radius: 12px;
    }

    .book-mini h5 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .book-mini span {
        color: #ef4444;
        font-weight: 700;
    }

/* RESPONSIVE */

@media(max-width:992px) {

    .article-header h1 {
        font-size: 32px;
    }

    .article-content {
        padding: 25px;
    }

        .article-content h2 {
            font-size: 28px;
        }

    .article-hero img {
        height: 300px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .col-lg-4 .sidebar-card:first-child {
        position: static;
    }
}

@media(max-width:768px) {

    .article-header h1 {
        font-size: 28px;
    }

    .article-content p {
        font-size: 16px;
    }

    .article-content {
        padding: 20px;
    }

    .article-meta {
        gap: 10px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .header-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .3s ease;
        border: 1px solid #e5e7eb;
    }

        .header-social a:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,.12);
        }

    .header-social img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

@media(max-width:991px) {

    .header-social {
        margin-bottom: 15px;
        justify-content: center;
    }

    .header-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }
}

/* ==========================
   FOOTER SOCIAL
========================== */

.footer-bottom .text-md-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .footer-bottom .text-md-end > a:not(:last-child) {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .3s ease;
    }

        .footer-bottom .text-md-end > a:not(:last-child):hover {
            transform: translateY(-4px);
            background: #2563eb;
            border-color: #2563eb;
            box-shadow: 0 10px 25px rgba(37,99,235,.35);
        }

        .footer-bottom .text-md-end > a:not(:last-child) img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

    /* DMCA */

    .footer-bottom .text-md-end > a:last-child {
        margin-left: 15px;
    }

        .footer-bottom .text-md-end > a:last-child img {
            height: 32px;
            width: auto;
        }

/* Mobile */

@media(max-width:768px) {

    .footer-bottom .row {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        justify-content: center;
        margin-top: 15px;
    }

        .footer-bottom .text-md-end > a:last-child {
            margin-left: 0;
            margin-top: 10px;
        }
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.footer-bottom .text-md-end > a:last-child img {
    height: 48px;
    width: auto;
}

.footer-bottom .text-md-end > a:last-child {
    margin-left: 15px;
    padding: 6px 10px;
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
}

    .footer-bottom .text-md-end > a:last-child img {
        height: 50px;
        width: auto;
    }

.footer-bottom .text-md-end > a:last-child {
    margin-left: 15px;
}

    .footer-bottom .text-md-end > a:last-child img {
        height: 42px;
        width: auto;
    }

/* DMCA */

.footer-social > a:last-child {
    margin-left: 8px;
    padding: 8px 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
}

    .footer-social > a:last-child img {
        height: 42px;
        width: auto;
        display: block;
    }

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-dmca img {
    height: 42px;
    width: auto;
    display: block;
}

@media(max-width:768px) {

    .footer-copyright {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
}

.footer-dmca {
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

    .footer-dmca img {
        height: 24px;
        width: auto;
        display: block;
    }

.footer-social a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.footer-social a[href*="twitter"] img {
    width: 16px;
    height: 16px;
}

/* ==========================
   FLOATING ZALO
========================== */

.zalo-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    z-index: 9999;
    animation: zalo-pulse 2s infinite;
    transition: .3s;
}

    .zalo-float:hover {
        transform: scale(1.1);
    }

    .zalo-float img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

@keyframes zalo-pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(0,104,255,.45);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0,104,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0,104,255,0);
    }
}

.zalo-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #0068ff;
    color: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,104,255,.35);
}

    .zalo-contact img {
        width: 28px;
    }