/* ===== CTT-PMH: Chi Tiết Tin Tức Phú Mỹ Hưng ===== */
/* Prefix: ctt-pmh- */

:root {
    --red-primary: #750e24;
    --red-dark: #4a0816;
    --red-medium: #8c1129;
    --red-light: #a0182f;
    --red-accent: #b32038;
    --gold: #C9A84C;
    --gold-dark: #A68B3C;
    --gold-light: #E8D48B;
    --gold-pale: #FDF8E8;
    --cream: #FFFDF8;
    --dark: #1a0508;
    --dark-medium: #2d080d;
    --text-dark: #1a0508;
    --text-body: #4a1518;
    --text-muted: #7a4048;
    --bg-light: #FDF6F0;
    --bg-white: #FFFFFF;
    --border-color: #F0E0D0;
    --border-gold: rgba(201, 168, 76, 0.3);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== GENERAL RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; }
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: clip;
    background: var(--bg-white);
    padding-top: 108px;
}
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 700; line-height: 1.3; }
a { color: var(--red-primary); text-decoration: none; transition: var(--transition-smooth); }
a:hover, a:focus { color: var(--gold); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ===== SCROLL PROGRESS ===== */
.ctt-pmh-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), var(--gold));
    z-index: 99999;
    transition: width .1s linear;
}

/* ===== BREADCRUMB ===== */
.ctt-pmh-breadcrumb-section {
    background: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.ctt-pmh-breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    font-size: 13px;
}
.ctt-pmh-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ctt-pmh-breadcrumb li a {
    color: var(--text-muted);
    transition: color .3s;
}
.ctt-pmh-breadcrumb li a:hover {
    color: var(--red-primary);
}
.ctt-pmh-breadcrumb li.ctt-pmh-breadcrumb-active {
    color: var(--red-primary);
    font-weight: 600;
}
.ctt-pmh-breadcrumb li .ctt-pmh-breadcrumb-sep {
    color: var(--gold);
    font-size: 10px;
}

/* ===== ARTICLE SECTION ===== */
.ctt-pmh-article-section {
    padding: 40px 0 60px;
}
.ctt-pmh-article-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.ctt-pmh-article-section .container {
    columns: unset;
}
.ctt-pmh-article-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;  /* thêm dòng này */
}


/* ===== TABLE OF CONTENTS (TOC) ===== */
.ctt-pmh-toc {
    flex: 0 0 280px;
    position: sticky;
    top: 130px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}
.ctt-pmh-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}
.ctt-pmh-toc-title i {
    color: var(--red-primary);
}
.ctt-pmh-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ctt-pmh-toc-list li {
    margin-bottom: 8px;
}
.ctt-pmh-toc-list li a {
    color: var(--text-body);
    font-size: 13px;
    display: block;
    padding: 6px 10px;
    border-left: 3px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: all .3s;
}
.ctt-pmh-toc-list li a:hover,
.ctt-pmh-toc-list li a.active {
    color: var(--red-primary);
    background: rgba(117, 14, 36, 0.05);
    border-left-color: var(--red-primary);
    font-weight: 600;
}
.ctt-pmh-toc-list li.ctt-pmh-toc-sub a {
    padding-left: 24px;
    font-size: 12px;
}

/* ===== ARTICLE CONTENT ===== */
.ctt-pmh-article-content {
    flex: 1;
    min-width: 0;
}
.ctt-pmh-article-header {
    margin-bottom: 30px;
}
.ctt-pmh-article-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 15px;
}
.ctt-pmh-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.ctt-pmh-article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ctt-pmh-article-meta i {
    color: var(--gold);
}
.ctt-pmh-article-meta a {
    color: var(--red-primary);
    font-weight: 600;
}

/* Article Body */
.ctt-pmh-article-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
}
.ctt-pmh-article-body p {
    margin-bottom: 18px;
}
.ctt-pmh-article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--red-primary);
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-pale);
}
.ctt-pmh-article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 12px;
}
.ctt-pmh-article-body strong {
    color: var(--text-dark);
    font-weight: 700;
}
.ctt-pmh-article-body a {
    color: var(--red-primary);
    font-weight: 600;
    border-bottom: 1px dashed var(--gold);
}
.ctt-pmh-article-body a:hover {
    color: var(--gold-dark);
}
.ctt-pmh-article-body ul,
.ctt-pmh-article-body ol {
    margin-bottom: 18px;
    padding-left: 25px;
}
.ctt-pmh-article-body li {
    margin-bottom: 8px;
}
.ctt-pmh-article-body img {
    border-radius: var(--radius-md);
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}
.ctt-pmh-article-body blockquote {
    border-left: 4px solid var(--gold);
    background: var(--gold-pale);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-dark);
}

/* ===== FAQ SECTION ===== */
.ctt-pmh-faq-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}
.ctt-pmh-faq-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--red-primary);
    margin-bottom: 20px;
}
.ctt-pmh-faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all .3s;
}
.ctt-pmh-faq-item:hover {
    border-color: var(--gold);
}
.ctt-pmh-faq-question {
    padding: 15px 20px;
    background: var(--bg-light);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .3s;
}
.ctt-pmh-faq-question:hover {
    background: var(--gold-pale);
}
.ctt-pmh-faq-question i {
    color: var(--gold);
    transition: transform .3s;
}
.ctt-pmh-faq-question.active i {
    transform: rotate(180deg);
}
.ctt-pmh-faq-answer {
    padding: 15px 20px;
    font-size: 14px;
    line-height: 1.7;
    display: none;
    color: var(--text-body);
}
.ctt-pmh-faq-answer.active {
    display: block;
}

/* ===== SOCIAL SHARE ===== */
.ctt-pmh-share-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}
.ctt-pmh-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}
.ctt-pmh-share-buttons {
    display: flex;
    gap: 8px;
}
.ctt-pmh-share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: all .3s;
}
.ctt-pmh-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}
.ctt-pmh-share-btn.ctt-pmh-share-fb { background: #1877f2; }
.ctt-pmh-share-btn.ctt-pmh-share-tw { background: #1da1f2; }
.ctt-pmh-share-btn.ctt-pmh-share-pin { background: #e60023; }
.ctt-pmh-share-btn.ctt-pmh-share-link { background: var(--red-primary); }
.ctt-pmh-share-btn.ctt-pmh-share-zalo { background: #0068ff; }

/* ===== CUSTOMER REVIEWS ===== */
.ctt-pmh-reviews-section {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}
.ctt-pmh-reviews-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.ctt-pmh-review-form {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ctt-pmh-review-form textarea {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 15px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    resize: vertical;
    min-height: 80px;
    transition: border-color .3s;
}
.ctt-pmh-review-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.ctt-pmh-review-form button {
    background: var(--red-primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
}
.ctt-pmh-review-form button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

/* ===== RELATED ARTICLES ===== */
.ctt-pmh-related-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}
.ctt-pmh-related-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}
.ctt-pmh-related-slider {
    position: relative;
}
.ctt-pmh-related-slider .owl-stage {
    display: flex;
    align-items: stretch;
}
.ctt-pmh-related-slider .owl-item {
    display: flex;
    height: auto;
}
.ctt-pmh-related-slider .owl-item > * {
    width: 100%;
}
.ctt-pmh-related-slider .owl-nav {
    position: static;
}
.ctt-pmh-related-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red-primary) !important;
    color: #fff !important;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}
.ctt-pmh-related-slider .owl-nav button:hover {
    background: var(--gold) !important;
}
.ctt-pmh-related-slider .owl-nav .owl-prev {
    left: -20px;
}
.ctt-pmh-related-slider .owl-nav .owl-next {
    right: -20px;
}
.ctt-pmh-related-slider .owl-dots {
    display: none;
}
.ctt-pmh-related-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ctt-pmh-related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.ctt-pmh-related-card-img {
    position: relative;
    overflow: hidden;
    height: 160px;
}
.ctt-pmh-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.ctt-pmh-related-card:hover .ctt-pmh-related-card-img img {
    transform: scale(1.05);
}
.ctt-pmh-related-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ctt-pmh-related-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ctt-pmh-related-card-title a {
    color: var(--text-dark);
}
.ctt-pmh-related-card-title a:hover {
    color: var(--red-primary);
}
.ctt-pmh-related-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
}
.ctt-pmh-related-card-meta img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.ctt-pmh-related-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .ctt-pmh-article-wrapper {
        flex-direction: column;
    }
    .ctt-pmh-toc {
        flex: none;
        width: 100%;
        position: static;
        max-height: none;
    }
    .ctt-pmh-navbar-cta { display: none; }
    
    .ctt-pmh-article-content {
        flex: 1;
        min-width: 0;
        overflow-x: hidden;
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    
    .ctt-pmh-article-title {
        font-size: 22px;
    }
    .ctt-pmh-article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    .ctt-pmh-share-section {
        flex-wrap: wrap;
    }
}
@media (max-width: 575px) {
    .ctt-pmh-article-section {
        padding: 25px 0 40px;
    }
    body {
        padding-top: 70px;
    }
}
.wp-caption{
    max-width: 100%;
}