/* =========================
   WRAPPER
========================= */
.single-wrapper {
    background: #f9fbfc;
}

/* =========================
   HERO (TITLE + META)
========================= */
.single-hero {
    padding: 50px 0 30px;
    text-align: center;
}


/* META */
.single-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
    color: #6b7280;
}

.single-meta .views i {
    color: #00B2C1;
}

.share-fb {
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}

/* =========================
   CONTENT LAYOUT
========================= */
.single-content {
    padding-bottom: 50px;
}

/* MAIN IMAGE */
.single-thumbnail img {
        height: 500px;
    object-fit: cover;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 20px;
}
.single-body h4 {
    font-size: 20px;
    margin-top: 25px;
    color: #097a5e;
}
/* ARTICLE BODY */
.single-body {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* TEXT */
.single-body p {
    font-size: 17px;
    line-height: 1.8;
    color: #111;
    margin-bottom: 16px;
}

/* HEADINGS */
.single-body h2 {
    font-size: 26px;
    margin-top: 30px;
    color: #017077;
}

.single-body h3 {
    font-size: 22px;
    margin-top: 25px;
    color: #017077;
}

/* IMAGE INSIDE CONTENT */
.single-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 15px 0;
}

/* =========================
   SIDEBAR
========================= */
.sidebar-box {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.sidebar-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #017077;
}

/* LATEST POSTS */
.sidebar-post {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    align-items: center;
}

.sidebar-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-post span {
    font-size: 14px;
    color: #111;

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

/* =========================
   RELATED SECTION
========================= */
.single-related {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #017077;
}

/* CARD */
.related-card {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    height: 100%;

    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* IMAGE */
.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.related-card h3 {
    font-size: 18px;
    color: #111;
    padding: 12px 15px 5px;
}

.related-card p {
    font-size: 14px;
    color: #6b7280;
    padding: 0 15px 15px;

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

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .single-title {
        font-size: 26px;
    }

    .single-body {
        padding: 5px;
    }

    .single-thumbnail img {
        border-radius: 10px;
    }

    .related-card img {
        height: 160px;
    }
}


/* =========================
   TOC WRAPPER
========================= */
.show-toc-single {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* =========================
   TITLE
========================= */
.single-title {
    text-align: center;
    margin-bottom: 15px;
}


/* TITLE */
.single-title h1 {
    font-family: 'PlusJakartaSans-Bold', sans-serif !important;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.2;
    color: #017077;
    letter-spacing: -0.02em;
    margin: 0;

    /* gradient text nhẹ */
    background: linear-gradient(90deg, #017077, #1ba0e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* LINE WRAPPER */
.single-title .title-line {
    margin-top: 0px !important;
}

/* LEFT & RIGHT LINE */
.single-title .title-line .tl-1,
.single-title  .title-line .tl-3 {
    width: 70px;
    height: 2px;
    display: inline-block;
    background: linear-gradient(to right, transparent, #2d8373);
    vertical-align: middle;
}

.single-title .title-line .tl-3 {
    background: linear-gradient(to left, transparent, #2d8373);
}

/* CENTER DOT */
.single-title .title-line .tl-2 {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 10px;
    border-radius: 50%;
    background: #1ba0e2;
    box-shadow: 0 0 10px rgba(27, 160, 226, 0.6);
    vertical-align: middle;

    /* animation nhẹ */
    animation: pulse 1.8s infinite ease-in-out;
}
.col-single-related {
    margin-top: 30px;
}

h1.page-title-single {
    font-size: 24px;
    font-weight: 600;
    color: #070707;
    margin-bottom: 20px;
}


/* =========================
   EZ TOC RESET
========================= */
#ez-toc-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* LIST */
#ez-toc-container ul {
    padding-left: 15px !important;
    margin: 0;
}

#ez-toc-container li {
    margin-bottom: 6px !important;
    line-height: 1.5 !important;
}

/* LINKS */
#ez-toc-container a {
    font-size: 16px !important;
    color: #000000 !important;
    text-decoration: none !important;
    transition: 0.2s !important;
}

#ez-toc-container a:hover {
    color: #00B2C1 !important;
}

/* ACTIVE LINK (nếu có scroll spy) */
#ez-toc-container a.active {
    color: #017077 !important;
    font-weight: 500 !important;
}

/* =========================
   NESTED LEVEL (H3, H4)
========================= */
#ez-toc-container ul ul {
    padding-left: 15px;
    margin-top: 4px;
}

#ez-toc-container ul ul a {
    font-size: 13px;
    color: #6b7280;
}

/* =========================
   SCROLLABLE (nếu dài)
========================= */
.show-toc-single {
    max-height: 400px;
    overflow-y: auto;
}

/* scrollbar đẹp */
.show-toc-single::-webkit-scrollbar {
    width: 6px;
}

.show-toc-single::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}



/* WRAPPER */
.single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* VIEWS */
.meta-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.meta-views i {
    color: #00B2C1;
}

/* SHARE */
.meta-share {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 14px;
    color: #6b7280;
}

/* BUTTON */
.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    color: #fff;
    text-decoration: none;

    transition: all 0.3s ease;
}

/* COLORS */
.share-btn.fb {
    background: #1877f2;
}

.share-btn.pinterest {
    background: #e60023;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.email {
    background: #6b7280;
}

/* HOVER */
.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
/* =========================


  CATEGORY POST


========================= */





/* =========================
   BREADCRUMB
========================= */
/* SECTION */
#breadcrumbs {
    position: relative;
    padding: 120px 0 60px;
    background-color: #F8F9FC;
    text-align: center;
    overflow: hidden;
}

/* WAVE BACKGROUND */
#breadcrumbs::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;

    background-image: url(../images/bgr-breadbrumb.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}

.page-title {
    font-size: 34px;
    font-weight: 600;
    color: #017077;
    margin-bottom: 10px;
}

/* breadcrumb box */
.breadcrumb-box {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    border-radius: 30px;
    font-size: 17px;
    color: #070707;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.breadcrumb-box a {
    color: #00B2C1;
    text-decoration: none;
}

/* =========================
   CATEGORY GRID
========================= */
.category-post {
    padding: 60px 0;
        background: #ffffff;
}

/* CARD */
.post-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 25px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* IMAGE */
.post-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover img {
    transform: scale(1.05);
}

/* CONTENT */
.post-content {
    padding: 18px;
}

/* TITLE */
.post-content h3 {
    font-size: 18px;
    color: #111;
    margin-bottom: 8px;

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

/* EXCERPT */
.post-content .excerpt {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;

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

/* CTA */
.read-more {
    font-size: 15px;
    font-weight: 700;
    color: #00B2C1;
    transition: 0.3s;
}

.post-card:hover .read-more {
    color: #017077;
}

/* =========================
   PAGINATION
========================= */
.pagenavi {
    text-align: center;
    margin-top: 30px;
}

.pagenavi a,
.pagenavi span {
    display: inline-block;
    padding: 10px 16px;
    margin: 4px;
    border-radius: 8px;
    font-size: 14px;
}

.pagenavi a {
    background: #f1f5f9;
    color: #017077;
    text-decoration: none;
}

.pagenavi span.current {
    background: #00B2C1;
    color: #fff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .page-title {
        font-size: 26px;
    }

    .post-thumb img {
        height: 180px;
    }
}

.affiliate-note {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
	margin-top: 15px;
}
nav.rank-math-breadcrumb p {
    margin: 0px;
	    font-size: 16px;
}
.content-box h1 {
    font-size: 26px;
    margin-top: 10px;
}
.content-box h2 {
    font-size: 20px;
}
.final-thoughts h2 {
    margin-top: 10px;
    font-size: 30px;
}
.time-post-news h4 {
    color: #ffffff;
}