.post-detail-wrapper {
    background: #fff;
    padding: 20px 0 40px;
    color: #333;
    max-width: 1145px;
    margin: 0 auto;
}

.pd-breadcrumb {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.pd-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s
}

.pd-breadcrumb a:hover {
    color: #000000
}

.pd-breadcrumb .current {
    color: #059669
}

.pd-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.pd-content-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pd-main {
    /* background: #fff; */
    /* border-radius: 8px; */
    /* padding: 24px; */
    /* border: 1px solid #eaeaea; */
}

.pd-related-section {
    margin-top: 25px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.pd-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #eaeaea;
}

.pd-ads-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.pd-ads-sticky {
    position: sticky;
    top: 145px;
}

.pd-ads-slot {
    width: 300px;
    min-height: 250px;
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.pd-ads-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #94a3b8;
}

.pd-ads-slot img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.pd-body.js-article-body ul li {
    padding: 8px 0;
    margin-left: 20px
}

.pd-body.js-article-body ul {
    padding-bottom: 14px
}

.pd-header-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px
}

.pd-badge {
    color: #000000;
    border: 1px solid #000000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.pd-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b
}

.pd-date svg {
    width: 16px;
    height: 16px
}

.pd-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 14px 0
}

.pd-excerpt {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 25px;
}

.pd-toc {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden
}

.pd-toc-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    user-select: none
}

.pd-toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #64748b;
    font-size: 13px;
    letter-spacing: 0.5px
}

.pd-toc-title svg {
    width: 18px;
    height: 18px
}

.pd-toc-count {
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 5px
}

.pd-toc-body {
    padding: 0 20px 25px;
    border-top: 1px solid #e2e8f0
}

.pd-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 20px
}

.pd-toc-list li {
    margin-bottom: 15px
}

.pd-toc-list li:last-child {
    margin-bottom: 0
}

.pd-toc-list a {
    color: #1e293b;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    gap: 10px
}

.pd-toc-list a:hover {
    color: #000000
}

.pd-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0
}

.pd-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px
}

.pd-body img {
    width: 100%;
    /* border-radius: 8px; */
    margin-bottom: 25px
}

/* ============================================================
   RELATED STORIES SECTION (MATCHING DESIGN)
   ============================================================ */
.pd-related-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111111;
    margin: 0 0 28px 0;
    line-height: 1.2;
}

.pd-related-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pd-related-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
}

.pd-related-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-related-thumb-link {
    display: block;
    width: 260px;
    max-width: 280px;
    flex-shrink: 0;
    text-decoration: none;
}

.pd-related-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 2px;
    background-color: #f1f1f1;
    position: relative;
}

.pd-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.pd-related-card:hover .pd-related-thumb img {
    transform: scale(1.05);
}

.pd-related-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pd-related-category {
    font-size: 12px;
    font-weight: 700;
    /* letter-spacing: 0.8px; */
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 6px;
    text-decoration: none;
    display: inline-block;
}

.pd-related-category:hover {
    color: #111111;
}

.pd-related-heading {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #111111;
    margin: 0 0 8px 0;
    /* letter-spacing: -0.3px; */
}

.pd-related-heading a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pd-related-heading a:hover {
    color: #444444;
}

.pd-related-excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555555;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-related-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #888888;
    margin-top: auto;
}

.pd-related-author {
    color: #777777;
}

.pd-related-meta-sep {
    color: #aaaaaa;
    font-weight: 900;
}

.pd-related-time {
    color: #888888;
}

/* ============================================================
   TRENDING RANKED STORIES SECTION
   ============================================================ */
.pd-trending-section {
    margin-top: 24px;
    padding-top: 27px;
    border-top: 1px solid #e5e5e5;
}

.pd-trending-title {
    font-size: 26px;
    font-weight: 600;
    /* letter-spacing: -0.5px; */
    color: #111111;
    margin: 0 0 28px 0;
    line-height: 1.2;
}

.pd-trending-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.pd-trending-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pd-trending-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eeeeee;
}

.pd-trending-col .pd-trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-trending-rank {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    width: 32px;
    flex-shrink: 0;
    text-align: left;
}

.pd-trending-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pd-trending-category {
    font-size: 12px;
    font-weight: 700;
    /* letter-spacing: 0.8px; */
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 6px;
    display: inline-block;
}

.pd-trending-heading {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #111111;
    margin: 0;
}

.pd-trending-heading a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-trending-heading a:hover {
    color: #555555;
}

/* ============================================================
   EDITOR'S PICK CAROUSEL SECTION
   ============================================================ */
.pd-editors-pick-section {
    margin-top: 48px;
    padding: 24px 28px 28px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
}

.pd-editors-pick-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #111111;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.pd-editors-pick-slider-wrap {
    position: relative;
}

.pd-editors-pick-slider {
    margin: 0 -8px;
}

.pd-editor-slide {
    padding: 0 8px;
    outline: none;
}

.pd-editor-card {
    display: flex;
    flex-direction: column;
}

.pd-editor-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background-color: #f1f1f1;
    text-decoration: none;
}

.pd-editor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.pd-editor-card:hover .pd-editor-img-wrap img {
    transform: scale(1.05);
}

.pd-editor-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

.pd-editor-category {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 4px;
    display: inline-block;
}

.pd-editor-heading {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
    color: #111111;
    margin: 0;
}

.pd-editor-heading a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-editor-heading a:hover {
    color: #555555;
}

/* Slider Custom Arrows */
.pd-slider-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: 1px solid #111111;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.pd-slider-arrow:hover {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
}

.pd-slider-arrow--prev {
    left: -14px;
}

.pd-slider-arrow--next {
    right: -14px;
}

@media (max-width:991px) {
    .pd-excerpt {
        padding: 8px;
        margin-bottom: 10px;
    }

    .pd-toc {
        margin-bottom: 15px;
    }

    .pd-layout {
        flex-direction: column;
        gap: 20px;
    }

    .pd-sidebar,
    .pd-ads-sidebar {
        position: unset;
        width: 100%;
    }

    .pd-ads-slot {
        width: 100%;
    }

    .pd-related-thumb-link {
        width: 220px;
    }

    .pd-trending-grid {
        gap: 32px;
    }

    .pd-slider-arrow--prev {
        left: -10px;
    }

    .pd-slider-arrow--next {
        right: -10px;
    }
}

@media (max-width:767px) {
    .pd-related-card {
        flex-direction: column;
        gap: 14px;
    }

    .pd-related-thumb-link {
        width: 100%;
        max-width: 100%;
    }

    .pd-related-heading {
        font-size: 17px;
    }

    .pd-trending-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pd-trending-col .pd-trending-item:last-child {
        border-bottom: 1px solid #eeeeee;
        padding-bottom: 22px;
    }

    .pd-trending-col:last-child .pd-trending-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .pd-trending-col {
        gap: 22px;
    }

    .pd-trending-col:first-child {
        margin-bottom: 22px;
    }
}

@media (max-width:575px) {


    .pd-related-section,
    .pd-trending-section,
    .pd-editors-pick-section {
        margin-top: 28px;
        padding-top: 20px;
    }

    .pd-editors-pick-section {
        padding: 18px 14px 22px;
    }

    .pd-related-title,
    .pd-trending-title,
    .pd-editors-pick-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .pd-trending-rank {
        font-size: 32px;
        width: 28px;
    }

    .pd-trending-heading {
        font-size: 14px;
    }

    .pd-slider-arrow--prev {
        left: -6px;
    }

    .pd-slider-arrow--next {
        right: -6px;
    }

    .pd-title {
        font-size: 19px;
    }
}


.noi_dung_in {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.noi_dung_in h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 32px 0 16px 0;
    line-height: 1.3;
}

.noi_dung_in h1:first-child {
    margin-top: 0;
}

.noi_dung_in h1:last-child {
    margin-bottom: 0;
}

.noi_dung_in h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 5px 0 15px 0;
    line-height: 1.3;
    color: var(--color-3);
}

.noi_dung_in h2:first-child {
    margin-top: 0;
}

.noi_dung_in h2:last-child {
    margin-bottom: 0;
}

.noi_dung_in h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 5px 0 10px 0;
    line-height: 1.4;
    color: var(--color-3);
}

.noi_dung_in h3:first-child {
    margin-top: 0;
}

.noi_dung_in h3:last-child {
    margin-bottom: 0;
}

.noi_dung_in h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 20px 0 10px 0;
    line-height: 1.4;
}

.noi_dung_in h4:first-child {
    margin-top: 0;
}

.noi_dung_in h4:last-child {
    margin-bottom: 0;
}

.noi_dung_in h5 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 18px 0 8px 0;
    line-height: 1.4;
}

.noi_dung_in h5:first-child {
    margin-top: 0;
}

.noi_dung_in h5:last-child {
    margin-bottom: 0;
}

.noi_dung_in h6 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 16px 0 8px 0;
    line-height: 1.4;
}

.noi_dung_in h6:first-child {
    margin-top: 0;
}

.noi_dung_in h6:last-child {
    margin-bottom: 0;
}

.noi_dung_in p {
    margin: 0 0 10px 0;
}

.noi_dung_in p:last-child {
    margin-bottom: 0;
}

.noi_dung_in ul,
.noi_dung_in ol {
    margin: 5px 0 10px 10px;
    padding-left: 20px;
}

.noi_dung_in ul li,
.noi_dung_in ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.noi_dung_in ul li:last-child,
.noi_dung_in ol li:last-child {
    margin-bottom: 0;
}

.noi_dung_in ul li ul,
.noi_dung_in ul li ol,
.noi_dung_in ol li ul,
.noi_dung_in ol li ol {
    margin: 8px 0;
}

.noi_dung_in ul li {
    list-style: disc;
}

.noi_dung_in ol li {
    list-style: decimal;
}

.noi_dung_in dl {
    margin: 16px 0;
}

.noi_dung_in dt {
    font-weight: 700;
    color: #111827;
    margin-top: 16px;
    margin-bottom: 4px;
}

.noi_dung_in dt:first-child {
    margin-top: 0;
}

.noi_dung_in dd {
    margin: 0 0 16px 24px;
    padding-left: 16px;
    border-left: 3px solid #e5e7eb;
}

.noi_dung_in strong,
.noi_dung_in b {
    font-weight: 700;
}

.noi_dung_in em,
.noi_dung_in i {
    font-style: italic;
}

.noi_dung_in u {
    text-decoration: underline;
}

.noi_dung_in s,
.noi_dung_in strike {
    text-decoration: line-through;
}

.noi_dung_in mark {
    background: rgba(230, 160, 4, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

.noi_dung_in a {
    color: var(--color-3);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.noi_dung_in a:hover {
    color: #0c55a5;
    border-bottom-color: #0c55a5;
}

.noi_dung_in blockquote {
    margin: 20px 0;
    padding: 12px 24px;
    background: rgb(147 146 144 / 19%);
    border-left: 4px solid var(--color-3);
    border-radius: 8px;
    font-style: italic;
}

.noi_dung_in blockquote p {
    margin: 0 0 12px 0;
}

.noi_dung_in blockquote p:last-child {
    margin-bottom: 0;
}

.noi_dung_in blockquote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-style: normal;
    color: #6b7280;
}

.noi_dung_in blockquote cite::before {
    content: "— ";
}

.noi_dung_in pre {
    margin: 20px 0;
    padding: 20px;
    background: #1f2937;
    color: #f9fafb;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    font-family: "Courier New", Courier, monospace;
}

.noi_dung_in pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: inherit;
}

.noi_dung_in code {
    padding: 3px 6px;
    background: rgba(230, 160, 4, 0.1);
    color: #0c55a5;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Courier New", Courier, monospace;
}

.noi_dung_in img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.noi_dung_in figure {
    margin: 24px 0;
    text-align: center;
}

.noi_dung_in figure img {
    margin: 10px auto 0;
    width: 100%;
}

.noi_dung_in figcaption {
    margin-top: 12px;
    font-size: 15px;
    color: #474747;
    font-style: italic;
    margin-bottom: 10px !important;
}

.noi_dung_in table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.noi_dung_in thead {
    background: var(--bg-linear);
    color: #fff;
}

.noi_dung_in tbody {
    background: #fff;
}

.noi_dung_in tr {
    border-bottom: 1px solid #e5e7eb;
}

.noi_dung_in tr:last-child {
    border-bottom: none;
}

.noi_dung_in tr:nth-child(even) {
    background: #f9fafb;
}

.noi_dung_in th,
.noi_dung_in td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}

.noi_dung_in th {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noi_dung_in td {
    font-size: 15px;
    line-height: 1.6;
}

.noi_dung_in hr {
    margin: 32px 0;
    border: none;
    border-top: 2px solid #e5e7eb;
}

.noi_dung_in address {
    font-style: normal;
    margin: 16px 0;
    padding: 16px;
    background: #f9fafb;
    border-left: 4px solid var(--color-3);
    border-radius: 8px;
}

.noi_dung_in sub,
.noi_dung_in sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.noi_dung_in sup {
    top: -0.5em;
}

.noi_dung_in sub {
    bottom: -0.25em;
}

.noi_dung_in abbr {
    text-decoration: underline dotted;
    cursor: help;
}

.noi_dung_in small {
    font-size: 85%;
    color: #6b7280;
}

.noi_dung_in .divider {
    margin: 24px 0;
    height: 1px;
    background: #e5e7eb;
}

.noi_dung_in .text-left {
    text-align: left;
}

.noi_dung_in .text-center {
    text-align: center;
}

.noi_dung_in .text-right {
    text-align: right;
}

.noi_dung_in .text-justify {
    text-align: justify;
}
