/*
Theme Name: Minh Quân Group - APACONS
Theme URI: https://minhquangroup.com
Author: Minh Quân Group
Author URI: https://minhquangroup.com
Description: Theme WordPress chuyên nghiệp dành cho Xây dựng, Kiến trúc, Nội thất theo thiết kế APACONS. Hỗ trợ CPT Dự án, Menu động đa cấp, tương thích thiết bị di động.
Version: 1.0.0
Text Domain: minhquangroup
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    --primary: #d4a34d;
    --primary-dark: #b88a3b;
    --text-light: #ffffff;
    --text-dark: #333333;
    --overlay: rgba(0, 0, 0, 0.4);
    --overlay-dark: rgba(26, 43, 67, 0.7);
}

body {
    background-color: #fff;
    color: var(--text-light);
    line-height: 1.6;
}

/* Header Styles */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    height: 100%;
}

header.site-header.header-scrolled,
body:not(.home) header.site-header {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header.site-header.header-scrolled .header-container,
body:not(.home) header.site-header .header-container {
    padding: 12px 20px;
}

header.site-header.header-scrolled .logo span,
body:not(.home) header.site-header .logo span {
    color: #1a2b43;
}

header.site-header.header-scrolled nav ul li a,
body:not(.home) header.site-header nav ul li a {
    color: #1a2b43;
}

header.site-header.header-scrolled nav ul li a:hover,
header.site-header.header-scrolled nav ul li:hover>a,
body:not(.home) header.site-header nav ul li a:hover,
body:not(.home) header.site-header nav ul li:hover>a {
    color: #293990;
}

body:not(.home) header.site-header .site-logo-link {
    background: transparent;
    box-shadow: none;
}

header.site-header.header-hidden {
    transform: translateY(-100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-square {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li {
    position: relative;
    padding: 20px 0;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li:hover>a {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li:hover>a::after {
    width: 100%;
}

nav ul li a i {
    font-size: 10px;
    transition: transform 0.3s;
}

nav ul li:hover a i {
    transform: rotate(180deg);
}

/* Submenu Base Styles */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    border-radius: 4px;
    border-top: 3px solid var(--primary);
    z-index: 1001;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu li a {
    color: #444 !important;
    padding: 12px 25px;
    font-size: 13.5px;
    font-weight: 500;
    display: block;
    transition: all 0.3s;
}

.submenu li a:hover {
    background: #f9f9f9;
    color: var(--primary) !important;
    padding-left: 28px;
}

/* Grid Submenu (Dịch Vụ & Blog) */
.submenu.grid-2 {
    min-width: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
}

.submenu.grid-2 li a {
    padding: 12px 15px;
}

.submenu.grid-2 li a:hover {
    padding-left: 20px;
}

.nav-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

.accordion-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.panel {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.panel:last-child {
    border-right: none;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s;
}

.panel:hover .panel-bg {
    transform: scale(1.05);
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    transition: background 0.5s;
}

/* Expanded State */
.panel:hover {
    flex: 5;
}

.panel:hover .panel-overlay {
    background: var(--overlay);
}

/* Vertical Text (Collapsed) */
.vertical-title {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s, visibility 0.3s;
}

.panel:hover .vertical-title {
    opacity: 0;
    visibility: hidden;
}

/* Content (Expanded) */
.content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    width: 500px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s 0.2s;
    /* Delay to wait for expansion */
}

.panel:hover .content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.content h2 {
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: var(--primary-dark);
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    right: 40px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.fb {
    background: #0084ff;
}

.float-btn.zalo {
    background: #0068ff;
}

.float-btn.phone {
    background: #d4a34d;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #fdfdfd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #1a2b43;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.header-line {
    width: 60px;
    height: 3px;
    background-color: #d4a34d;
    margin: 0 auto 25px;
}

.section-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: #eee;
}

.service-icon {
    font-size: 32px;
    color: #1a2b43;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: #d4a34d;
}

.service-card h3 {
    color: #1a2b43;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #d4a34d;
}

.service-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.detail-link {
    font-size: 12px;
    font-weight: 700;
    color: #d4a34d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    letter-spacing: 0.5px;
}

.detail-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover .detail-link i {
    transform: translateX(5px);
}

/* Floating Buttons Override for light bg */
.float-btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Projects Section */
.projects-section {
    padding: 0px 0;
    background-color: #fff;
}

.project-filters {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid #eee;
    background: #fff;
    color: #1a2b43;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: linear-gradient(135deg, #e6b86a, #d4a34d);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(212, 163, 77, 0.3);
}

.filter-pills {
    display: flex;
    gap: 10px;
}

.filter-pill {
    padding: 8px 20px;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    background: #fff;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-pill:hover {
    background: #f9f9f9;
    border-color: #ddd;
}

.filter-pill.active {
    background: #fff;
    border-color: #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #f5f5f5;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* New Hover Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 68, 145, 0.85);
    /* Deep blue overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-detail-btn {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .view-detail-btn {
    transform: scale(1);
}

.view-detail-btn:hover {
    background: #fff;
    color: var(--primary);
}

.project-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.project-info {
    padding: 25px 20px;
}

.project-info h3 {
    color: #1a2b43;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.project-card:hover h3 {
    color: var(--primary);
}

/* No Data Placeholder */
.no-data-wrapper {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    text-align: center;
    background: #fff;
    border-radius: 12px;
}

.no-data-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.no-data-icon i {
    font-size: 32px;
    color: #cbd5e0;
}

.no-data-wrapper p {
    color: #4a5568;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 13px;
}

.project-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.meta-dot {
    width: 4px;
    height: 4px;
    background: #ddd;
    border-radius: 50%;
}

.section-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #e6b86a, #d4a34d);
    color: white;
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(212, 163, 77, 0.4);
    transition: all 0.3s;
}

.btn-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 163, 77, 0.5);
}


/* Price List Section */
.price-list-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.title-blue {
    color: #1a4491;
    font-size: 32px;
    font-weight: 800;
}

.subtitle {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-carousel-container {
    position: relative;
    margin-top: 50px;
    padding: 0 10px;
}

.pricing-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.pricing-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    scroll-behavior: smooth;
}

.pricing-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

/* Adjust card width for tablet */
@media (max-width: 992px) {
    .pricing-card {
        flex: 0 0 calc(50% - 15px);
    }
}

/* Adjust card width for mobile */
@media (max-width: 768px) {
    .pricing-card {
        flex: 0 0 100%;
    }
}

.pricing-nav-prev,
.pricing-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #d4a34d;
    z-index: 10;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.pricing-nav-prev:hover,
.pricing-nav-next:hover {
    background: #1a4491;
    color: #fff;
    border-color: #1a4491;
}

.pricing-nav-prev {
    left: -25px;
}

.pricing-nav-next {
    right: -25px;
}

@media (max-width: 1200px) {
    .pricing-nav-prev {
        left: 5px;
    }

    .pricing-nav-next {
        right: 5px;
    }
}

.pricing-card.featured {
    border: 2px solid #e67e22;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.card-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    z-index: 3;
    background: #e67e22;
    display: none;
    /* Hidden by default */
}

.pricing-card.featured .card-tag {
    display: block;
    /* Show only when featured */
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 24px;
    color: #1a4491;
    transition: all 0.3s ease;
}

.pricing-card.featured .card-icon {
    background: #fff3e0;
    color: #e67e22;
}

.package-name {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
    font-weight: 600;
}

.package-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.btn-pricing {
    display: block;
    border: 1.5px solid #1a4491;
    color: #1a4491;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    margin-top: auto;
}

.btn-pricing:hover {
    background: #1a4491;
    color: #fff;
}

.pricing-card.featured .btn-pricing {
    background: linear-gradient(to right, #e67e22, #f39c12);
    border: none;
    color: #fff;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.pricing-card.featured .btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(230, 126, 34, 0.4);
}

.price-label {
    font-size: 14px;
    color: #888;
}

.price-value {
    font-size: 36px;
    font-weight: 800;
    color: #1a4491;
}

.featured .price-value {
    color: #333;
}

.price-unit {
    font-size: 14px;
    color: #666;
}

.price-divider {
    height: 1px;
    background: #eee;
    width: 100%;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: #3498db;
    font-size: 16px;
}

.featured .feature-list i {
    color: #e67e22;
}

.btn-outline-blue {
    border: 1.5px solid #1a4491;
    color: #1a4491;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-outline-blue:hover {
    background: #1a4491;
    color: #fff;
}

.btn-solid-orange {
    background: linear-gradient(to right, #e67e22, #f39c12);
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
    transition: all 0.3s;
}

.btn-solid-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(230, 126, 34, 0.4);
}

.pricing-nav-next {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #666;
    z-index: 5;
    transition: all 0.3s;
}

.pricing-nav-next:hover {
    background: #1a4491;
    color: #fff;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 50px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.carousel-dots .dot.active {
    background: #1a4491;
    width: 25px;
    border-radius: 10px;
}

.trust-bar {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1a4491;
    font-weight: 700;
    font-size: 14px;
}

.trust-item i {
    font-size: 24px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: #eee;
}

.price-disclaimer {
    text-align: center;
    color: #888;
    font-size: 13px;
    font-style: italic;
}

.price-disclaimer i {
    color: #e67e22;
    margin-right: 5px;
}

/* APATOOL Section */
.apatool-section {
    padding: 100px 0;
    background-color: #fff;
}

.apatool-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    min-height: 500px;
}

.apatool-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-tag {
    background: #ebf2ff;
    color: #1a4491;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 25px;
}

.tool-title {
    color: #1a4491;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.tool-desc {
    color: #555;
    font-size: 16px;
    margin-bottom: 30px;
}

.tool-features {
    list-style: none;
    margin-bottom: 40px;
}

.tool-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.tool-features i {
    color: #e67e22;
    font-size: 18px;
}

.btn-apatool {
    background: linear-gradient(135deg, #e6b86a, #d4a34d);
    color: #fff;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(212, 163, 77, 0.4);
    transition: all 0.3s;
}

.btn-apatool:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(212, 163, 77, 0.5);
}

.tool-security {
    margin-top: 30px;
    font-size: 13px;
    color: #888;
}

.apatool-image {
    flex: 1;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.apatool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Updated Media Queries */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        grid-column: span 2;
        transform: none !important;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .apatool-card {
        flex-direction: column;
    }

    .apatool-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 250px;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        grid-column: span 1;
    }

    .trust-bar {
        flex-direction: column;
        gap: 20px;
    }

    .trust-divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

/* Beautiful Design Samples Section */
.design-samples-section {
    background-color: #fff;
    padding: 80px 0;
}

.design-filters-primary {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.design-filters-primary .filter-btn {
    padding: 12px 30px;
    border-radius: 30px;
    border: 1px solid #eee;
    background: #fff;
    color: #1a4491;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.design-filters-primary .filter-btn:hover {
    border-color: #1a4491;
    transform: translateY(-2px);
}

.design-filters-primary .filter-btn.active {
    background: linear-gradient(135deg, #d4a34d, #b8860b);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(212, 163, 77, 0.3);
}

.design-subfilters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    min-height: 45px;
}

.subfilter-group {
    display: none;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.subfilter-group.active {
    display: flex;
}

.sub-btn {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sub-btn:hover {
    background: #f8f9fa;
}

.sub-btn.active {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333;
}

.design-samples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    min-height: 200px;
}

.design-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.design-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.design-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.design-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.design-card:hover .design-image img {
    transform: scale(1.1);
}

.design-info {
    padding: 20px;
    text-align: left;
}

.design-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #fff3e0;
    color: #e67e22;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 12px;
}

.design-title {
    font-size: 18px;
    color: #1a4491;
    font-weight: 700;
    margin: 0;
}

.design-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.design-title a:hover {
    color: #d4a34d;
}

.no-data-msg {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.no-data-content {
    text-align: center;
    color: #888;
}

.no-data-content i {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: #d4a34d;
    margin: 20px auto 30px;
}

/* Procedure Section */
.procedure-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.procedure-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
}

.procedure-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Connecting lines as pseudo-elements */
.procedure-step::before,
.procedure-step::after {
    content: '';
    position: absolute;
    top: 20px;
    height: 1px;
    background: #eee;
    z-index: -1;
    transition: background 0.3s ease;
}

.procedure-step::before {
    left: 0;
    right: 50%;
}

.procedure-step::after {
    left: 50%;
    right: 0;
}

/* Hide outer edges of the timeline */
.procedure-step:first-child::before,
.procedure-step:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #d4a34d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #d4a34d;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.procedure-step:hover .step-number {
    background: #d4a34d;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(212, 163, 77, 0.1);
}

.procedure-step:hover::before,
.procedure-step:hover::after {
    background: #d4a34d;
}

.step-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f9f9f9;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

/* Hover effect on card */
.procedure-step:hover .step-card {
    border: 1.5px solid #d4a34d;
    box-shadow: 0 15px 35px rgba(212, 163, 77, 0.1);
    transform: translateY(-10px);
}

.step-icon {
    font-size: 32px;
    color: #d4a34d;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.procedure-step:hover .step-icon {
    transform: scale(1.1);
}

.step-title {
    color: #1a2b43;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.step-desc {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* Removed constant active state */

.digital-monitoring {
    margin-top: 20px;
    background: #fdf6ec;
    color: #1a4491;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.digital-monitoring i {
    font-size: 10px;
    color: #d4a34d;
}

/* Responsive Procedure */
@media (max-width: 992px) {
    .procedure-container {
        flex-wrap: wrap;
        gap: 40px 20px;
    }

    .procedure-step {
        flex: 0 0 calc(50% - 10px);
    }

    .procedure-line {
        display: none;
    }

    .step-card {
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .procedure-step {
        flex: 0 0 100%;
    }
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: #fafbfc;
}

.team-carousel-container {
    position: relative;
    margin-top: 50px;
    padding: 0 40px;
}

.team-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.team-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.member-photo {
    height: 400px;
    overflow: hidden;
    background: #ddd;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.team-card:hover .member-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-info {
    padding: 30px 25px;
}

.member-name {
    font-size: 22px;
    color: #1a4491;
    font-weight: 800;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.team-card:hover .member-name {
    color: #d4a34d;
}

.member-title {
    font-size: 14px;
    color: #cc8e35;
    /* Orange-ish title */
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-divider {
    width: 40px;
    height: 1px;
    background: #eee;
    margin-bottom: 20px;
}

.member-experience {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    margin-bottom: 20px;
}

.member-experience i {
    color: #d4a34d;
}

.member-quote {
    font-size: 14px;
    color: #777;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding-left: 0;
}

/* Nav Buttons */
.team-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    color: #d4a34d;
    z-index: 10;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.team-nav:hover {
    background: #1a4491;
    color: #fff;
    border-color: #1a4491;
}

.team-prev {
    left: -10px;
}

.team-next {
    right: -10px;
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.team-dot.active {
    background: #1a4491;
    width: 30px;
    border-radius: 10px;
}

/* Responsive Media Queries for Team */
@media (max-width: 992px) {
    .team-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .team-card {
        flex: 0 0 100%;
    }

    .member-photo {
        height: 350px;
    }
}

/* News Section */
.news-section {
    padding: 100px 0;
    background-color: #fff;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.news-header-left h2 {
    margin: 0;
}

.news-header .title-line {
    width: 60px;
    height: 3px;
    background-color: #d4a34d;
    margin-top: 15px;
}

.view-all-link {
    color: #cc8e35;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.view-all-link:hover {
    color: #1a4491;
    transform: translateX(5px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid #f9f9f9;
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.news-image {
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-category {
    color: #cc8e35;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.news-title {
    margin-bottom: 20px;
    line-height: 1.5;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-title a {
    color: #1a2b43;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    transition: color 0.3s;
}

.news-card:hover .news-title a {
    color: #1a4491;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    color: #888;
    font-size: 13px;
    font-weight: 500;
}

.news-meta i {
    margin-right: 5px;
    font-size: 14px;
}

/* Responsive News */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Footer Section */
.site-footer {
    background-color: #032b5f;
    /* Dark blue background */
    color: #fff;
    padding: 80px 0 30px;
    font-size: 14px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column .footer-logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-column .footer-divider {
    width: 40px;
    height: 3px;
    background-color: #d4a34d;
    margin-bottom: 25px;
}

.footer-column .tagline {
    font-style: italic;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e0e6ed;
}

.footer-column .description {
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 30px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #d4a34d;
    border-color: #d4a34d;
    transform: translateY(-5px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-column:not(.footer-brand):not(.footer-contact) .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #d4a34d;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #d4a34d;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #d4a34d;
    padding-left: 25px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: #d4a34d;
    font-size: 16px;
    margin-top: 4px;
}

.contact-text strong {
    display: block;
    font-size: 13px;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text p {
    color: #cbd5e0;
    line-height: 1.6;
    margin: 0;
}

.hotline-number {
    font-size: 20px;
    font-weight: 800;
    color: #d4a34d !important;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8c9bb0;
    font-size: 13px;
}

.footer-bottom a {
    color: #8c9bb0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #d4a34d;
}

.footer-legal .divider {
    margin: 0 10px;
    opacity: 0.3;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- Mobile Hero Slider --- */
.accordion-container-mobile {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.mobile-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mobile-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.mobile-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mobile-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.mobile-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
}

.mobile-logo .logo-square {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    border-radius: 4px;
}

.mobile-menu-btn {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-slide-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 10;
}

.mobile-slide-content h2 {
    color: white;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #d4a34d;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.mobile-cta-btn:hover {
    background-color: #b88a3b;
}

.mobile-slider-prev,
.mobile-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    padding: 15px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mobile-slider-prev {
    left: 5px;
}

.mobile-slider-next {
    right: 5px;
}

.mobile-fab-group {
    position: absolute;
    right: 20px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.mobile-fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s;
}

.mobile-fab:hover {
    transform: scale(1.1);
}

.mobile-fab.messenger {
    background-color: #0084FF;
    font-size: 24px;
}

.mobile-fab.zalo {
    background-color: #0068FF;
    font-size: 14px;
    font-weight: 700;
}

.mobile-fab.phone {
    background-color: #d4a34d;
    font-size: 22px;
}

.mobile-fab.phone::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background-color: rgba(212, 163, 77, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: mobilePulse 1.5s infinite;
}

@keyframes mobilePulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.mobile-thumbnails {
    position: absolute;
    bottom: 25px;
    left: 20px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.mobile-thumb {
    width: 70px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mobile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-thumb.active {
    border-color: #d4a34d;
    opacity: 1;
}

/* Mobile Services Slider */
.mobile-services-wrapper {
    display: none;
}

@media (max-width: 768px) {
    .services-grid {
        display: none !important;
    }

    .mobile-services-wrapper {
        display: block;
        width: 100%;
        overflow: hidden;
        padding-bottom: 20px;
    }

    .mobile-services-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 10px 20px 30px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mobile-services-track::-webkit-scrollbar {
        display: none;
    }

    .mobile-service-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        background: #fff;
        padding: 30px 25px;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-service-icon {
        font-size: 32px;
        color: #1a4491;
        margin-bottom: 20px;
        border: 2px solid #1a4491;
        border-radius: 8px;
        width: 60px;
        height: 60px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-service-card h3 {
        color: #1a4491;
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .mobile-service-card p {
        color: #666;
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .mobile-detail-link {
        font-size: 14px;
        font-weight: 700;
        color: #d4a34d;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: auto;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        transition: color 0.3s;
    }

    .mobile-detail-link:hover {
        color: #b88a3b;
    }

    .mobile-services-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 5px;
    }

    .ms-dot {
        width: 8px;
        height: 8px;
        background: #dcdcdc;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .ms-dot.active {
        background: #0068FF;
        width: 8px;
        height: 8px;
    }

    .section-header h2 {
        color: #1a4491 !important;
    }
}

@media (max-width: 768px) {
    .accordion-container {
        display: none !important;
    }

    header {
        display: none !important;
    }

    .floating-actions {
        display: none !important;
    }

    .accordion-container-mobile {
        display: block;
    }
}

/* =============================================
   Mobile Procedure Slider (mobile-procedure-wrapper)
   ============================================= */
.mobile-procedure-wrapper {
    display: none;
}

@media (max-width: 768px) {

    /* Hide desktop procedure section */
    .procedure-section {
        display: none !important;
    }

    .mobile-procedure-wrapper {
        display: block;
        position: relative;
        background-color: #fdf8f0;
        padding: 50px 0 40px;
    }

    /* Header */
    .mpw-header {
        padding: 0 24px;
        text-align: center;
        margin-bottom: 40px;
    }

    .mpw-title {
        font-size: 28px;
        font-weight: 900;
        color: #1a4491;
        line-height: 1.25;
        margin: 0 0 18px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mpw-divider {
        width: 50px;
        height: 3px;
        background-color: #d4a34d;
        margin: 0 auto 24px;
        border-radius: 2px;
    }

    .mpw-subtitle {
        color: #cc8e35;
        font-size: 15px;
        line-height: 1.7;
        margin: 0;
        font-style: italic;
    }

    /* Slider Track */
    .mpw-slider-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 24px 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mpw-slider-track::-webkit-scrollbar {
        display: none;
    }

    /* Step Card */
    .mpw-step-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
        background: #fff;
        border-radius: 12px;
        padding: 28px 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid #efe9dc;
    }

    .mpw-step-top {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 16px;
    }

    .mpw-step-num {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background-color: #1a4491;
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mpw-step-title {
        color: #1a2b43;
        font-size: 18px;
        font-weight: 800;
        margin: 0;
        line-height: 1.3;
    }

    .mpw-step-desc {
        color: #666;
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        padding-left: 60px;
        /* aligns below step title */
    }

    /* Dots */
    .mpw-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
    }

    .mpw-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #d0ccc5;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mpw-dot.active {
        background-color: #1a4491;
        width: 22px;
        border-radius: 4px;
    }

    /* Floating Action Buttons */
    .mpw-fab-group {
        position: absolute;
        right: 16px;
        bottom: 120px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 20;
    }

    .mpw-fab {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s;
        position: relative;
    }

    .mpw-fab:hover {
        transform: scale(1.1);
    }

    .mpw-fab.messenger {
        background-color: #0084FF;
        font-size: 22px;
    }

    .mpw-fab.zalo {
        background-color: #0068FF;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .mpw-fab.phone {
        background-color: #d4a34d;
        font-size: 20px;
    }

    .mpw-fab.phone::before {
        content: '';
        position: absolute;
        top: -7px;
        left: -7px;
        right: -7px;
        bottom: -7px;
        background-color: rgba(212, 163, 77, 0.3);
        border-radius: 50%;
        z-index: -1;
        animation: mpwPulse 1.5s infinite;
    }

    @keyframes mpwPulse {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }

        50% {
            opacity: 1;
        }

        100% {
            transform: scale(1.2);
            opacity: 0;
        }
    }
}

/* =============================================
   Mobile News Slider (mobile-news-wrapper)
   ============================================= */
.mobile-news-wrapper {
    display: none;
}

@media (max-width: 768px) {

    /* Hide desktop news section */
    .news-section {
        display: none !important;
    }

    .mobile-news-wrapper {
        display: block;
        position: relative;
        background-color: #fdf8f0;
        padding: 50px 0 50px;
    }

    /* Header */
    .mnw-header {
        padding: 0 24px;
        text-align: center;
        margin-bottom: 30px;
    }

    .mnw-title {
        font-size: 26px;
        font-weight: 900;
        color: #1a4491;
        margin: 0 0 16px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .mnw-divider {
        width: 50px;
        height: 3px;
        background-color: #d4a34d;
        margin: 0 auto 20px;
        border-radius: 2px;
    }

    .mnw-view-all {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #cc8e35;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        transition: gap 0.3s;
    }

    .mnw-view-all:hover {
        gap: 14px;
    }

    /* Slider Track */
    .mnw-slider-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 24px 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mnw-slider-track::-webkit-scrollbar {
        display: none;
    }

    /* Card */
    .mnw-card {
        flex: 0 0 83%;
        scroll-snap-align: center;
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
        border: 1px solid #efe9dc;
    }

    .mnw-card-image {
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .mnw-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .mnw-card:active .mnw-card-image img {
        transform: scale(1.05);
    }

    .mnw-card-body {
        padding: 20px 20px 18px;
    }

    .mnw-category {
        display: block;
        color: #cc8e35;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    .mnw-card-title {
        color: #1a2b43;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.45;
        margin: 0 0 18px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mnw-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 14px;
        border-top: 1px solid #f0ebe0;
        color: #888;
        font-size: 13px;
        gap: 8px;
    }

    .mnw-author,
    .mnw-date {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Dots */
    .mnw-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
    }

    .mnw-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #d0ccc5;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mnw-dot.active {
        background-color: #1a4491;
        width: 22px;
        border-radius: 4px;
    }

    /* Floating Action Buttons */
    .mnw-fab-group {
        position: absolute;
        right: 16px;
        bottom: 120px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 20;
    }

    .mnw-fab {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s;
        position: relative;
    }

    .mnw-fab:hover {
        transform: scale(1.1);
    }

    .mnw-fab.messenger {
        background-color: #0084FF;
        font-size: 22px;
    }

    .mnw-fab.zalo {
        background-color: #0068FF;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .mnw-fab.phone {
        background-color: #d4a34d;
        font-size: 20px;
    }

    .mnw-fab.phone::before {
        content: '';
        position: absolute;
        top: -7px;
        left: -7px;
        right: -7px;
        bottom: -7px;
        background-color: rgba(212, 163, 77, 0.3);
        border-radius: 50%;
        z-index: -1;
        animation: mnwPulse 1.5s infinite;
    }

    @keyframes mnwPulse {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }

        50% {
            opacity: 1;
        }

        100% {
            transform: scale(1.2);
            opacity: 0;
        }
    }
}

/* Additional Styles for Dynamic WordPress Theme */
/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-nav-drawer.open {
    right: 0;
}
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}
.mobile-nav-header .logo span {
    color: #1a2b43;
}
.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #444;
    cursor: pointer;
    line-height: 1;
}
.mobile-nav-body {
    padding: 20px 0;
    flex: 1;
}
.mobile-nav-menu, .mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav-menu li {
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}
.mobile-nav-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-menu li a:hover {
    background: #fdf8f0;
    color: var(--primary);
}
.mobile-nav-menu .submenu {
    display: none;
    background: #f9f9f9;
    padding: 0;
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    border-top: none;
}
.mobile-nav-menu .submenu.show {
    display: block;
}
.mobile-nav-menu .submenu li a {
    padding: 10px 24px 10px 36px;
    font-size: 14px;
    font-weight: 500;
    color: #555 !important;
}
.mobile-submenu-toggle {
    cursor: pointer;
    padding: 6px 12px;
}
.mobile-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
}
.mobile-nav-footer .nav-btn {
    width: 100%;
    text-align: center;
    display: block;
}

/* Single Project & Page Styles */
.page-header-banner {
    background: linear-gradient(135deg, #1a2b43 0%, #0d1624 100%);
    padding: 140px 0 60px;
    color: #fff;
    text-align: center;
    position: relative;
}
.page-header-banner h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.breadcrumb span {
    color: rgba(255,255,255,0.5);
}
.project-detail-container {
    padding: 60px 0 100px;
    background: #fdfdfd;
}
.project-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 991px) {
    .project-detail-layout {
        grid-template-columns: 1fr;
    }
}
.project-main-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.project-main-image img {
    width: 100%;
    height: auto;
    display: block;
}
.project-content-body {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}
.project-content-body h2, .project-content-body h3 {
    color: #1a2b43;
    margin: 30px 0 15px;
}
.project-content-body p {
    margin-bottom: 20px;
}
.project-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}
.project-sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.project-sidebar-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2b43;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.project-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}
.project-specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14.5px;
}
.project-specs-list li strong {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}
.project-specs-list li span {
    font-weight: 600;
    color: #1a2b43;
}
.btn-contact-project {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: #fff;
    padding: 14px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-contact-project:hover {
    background: var(--primary-dark);
}
.related-projects {
    margin-top: 60px;
}
.related-projects h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a2b43;
    margin-bottom: 30px;
    text-align: center;
}

/* Page default content */
.page-default-content {
    padding: 60px 0 100px;
}
.page-default-content .container {
    max-width: 900px;
    margin: 0 auto;
    color: #444;
    line-height: 1.8;
}


/* ==========================================================================
   MINH QUAN GROUP - HIGH-END SINGLE PROJECT & LOGO STYLES
   ========================================================================== */

/* Logo styling */
.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.site-logo-img {
    height: 48px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}
header:not(.header-scrolled) .site-logo-link {
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}
header.header-scrolled .site-logo-link {
    background: transparent;
    padding: 0;
}
header.header-scrolled .site-logo-img {
    height: 42px;
}
.mobile-logo-img {
    height: 38px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 8px;
    border-radius: 6px;
    display: block;
}
.footer-logo-img {
    height: 52px;
    width: auto;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* ==========================================================================
   CHI TIẾT DỰ ÁN (SINGLE PROJECT) - BLUE THEME BRANDING
   ========================================================================== */
.single-du_an .section-header h2,
.title-blue {
    color: #293990 !important;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.single-du_an .section-header .header-line,
.header-line.line-center {
    width: 60px;
    height: 3.5px;
    background: #293990 !important;
    margin: 0 auto 20px;
    border-radius: 3px;
}

.single-du_an .section-header .subtitle {
    color: #64748b;
    font-size: 15.5px;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 1. Breadcrumb Bar (Single Project & Rank Math Support) */
.project-breadcrumb-bar {
    background: #f1f5f9;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 80px;
}
.project-breadcrumb-bar .container {
    display: flex;
    align-items: center;
}

/* Rank Math Breadcrumbs & Theme Breadcrumb Nav */
.project-breadcrumb-bar .rank-math-breadcrumb,
.project-breadcrumb-bar .breadcrumb-nav,
.rank-math-breadcrumb {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #475569 !important;
    width: 100%;
}

.project-breadcrumb-bar .rank-math-breadcrumb p,
.project-breadcrumb-bar .breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #475569 !important;
}

.project-breadcrumb-bar .rank-math-breadcrumb span,
.rank-math-breadcrumb span {
    color: inherit;
}

.project-breadcrumb-bar .rank-math-breadcrumb a,
.project-breadcrumb-bar .breadcrumb-nav a,
.rank-math-breadcrumb a {
    color: #1e293b !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.project-breadcrumb-bar .rank-math-breadcrumb a:hover,
.project-breadcrumb-bar .breadcrumb-nav a:hover,
.rank-math-breadcrumb a:hover {
    color: #293990 !important;
    text-decoration: none !important;
}

.project-breadcrumb-bar .rank-math-breadcrumb p > a:first-of-type::before {
    content: "\f015";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 4px;
    font-size: 13px;
    color: #293990;
}

.project-breadcrumb-bar .rank-math-breadcrumb .separator,
.project-breadcrumb-bar .breadcrumb-nav .sep,
.rank-math-breadcrumb .separator {
    color: #94a3b8 !important;
    font-size: 12px;
    margin: 0 4px;
    user-select: none;
    display: inline-flex;
    align-items: center;
}

.project-breadcrumb-bar .rank-math-breadcrumb .last,
.project-breadcrumb-bar .breadcrumb-nav .current,
.rank-math-breadcrumb .last {
    color: #293990 !important;
    font-weight: 700 !important;
    background: #e2eaf8;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #c9daf5;
    display: inline-flex;
    align-items: center;
}

/* 2. Hero Dự Án (2 Cột Nổi Bật) */
.project-hero-section {
    padding: 50px 0 45px;
    background: #ffffff;
}
.project-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: center;
}
.project-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4fa;
    color: #293990;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
    text-transform: uppercase;
    border: 1px solid rgba(41, 57, 144, 0.25);
}
.project-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a2b43;
    line-height: 1.28;
    margin-bottom: 18px;
}
.project-hero-excerpt {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 24px;
}
.project-hero-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1a2b43;
    padding: 14px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #293990;
    margin-bottom: 28px;
}
.project-hero-summary i {
    color: #293990;
    margin-right: 5px;
}
.project-hero-summary .dot {
    color: #cbd5e1;
}
.project-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: #293990;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(41, 57, 144, 0.35);
}
.btn-hero-primary:hover {
    background: #1b2663;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 57, 144, 0.45);
}
.btn-hero-secondary {
    background: transparent;
    color: #293990;
    border: 2px solid #293990;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.3s;
}
.btn-hero-secondary:hover {
    background: #293990;
    color: #ffffff;
    transform: translateY(-2px);
}
.project-hero-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}
.project-hero-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.project-hero-img-wrap:hover .project-hero-img {
    transform: scale(1.04);
}
.project-hero-badge-floating {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(27, 38, 99, 0.92);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.badge-year {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}
.badge-text {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.9;
}

/* 3. Specs Section (6 Cards) */
.project-specs-section {
    padding: 35px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.spec-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.spec-card:hover {
    transform: translateY(-4px);
    border-color: #293990;
    box-shadow: 0 10px 25px rgba(41, 57, 144, 0.12);
}
.spec-icon {
    font-size: 24px;
    color: #293990;
    margin-bottom: 10px;
}
.spec-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}
.spec-val {
    font-size: 16px;
    font-weight: 800;
    color: #1a2b43;
}
.spec-val.highlight {
    color: #293990;
}

/* 4. Article & SEO Content */
.project-article-section {
    padding: 80px 0;
    background: #ffffff;
}
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}
.entry-content {
    color: #334155;
    font-size: 16.5px;
    line-height: 1.85;
}
.entry-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #293990;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}
.entry-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a4491;
    margin: 30px 0 14px;
}
.entry-content p {
    margin-bottom: 22px;
}
.content-highlight-box {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #f0f4fa;
    border-left: 4px solid #293990;
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
    border-top: 1px solid #d2e0f5;
    border-bottom: 1px solid #d2e0f5;
    border-right: 1px solid #d2e0f5;
}
.content-highlight-box .box-icon {
    font-size: 28px;
    color: #293990;
    flex-shrink: 0;
}
.content-highlight-box .box-text {
    font-size: 15.5px;
    color: #334155;
    line-height: 1.6;
}
.sticky-box {
    position: sticky;
    top: 100px;
}
.consult-card {
    background: linear-gradient(145deg, #1b2663 0%, #293990 100%);
    color: #ffffff;
    padding: 32px 26px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(41, 57, 144, 0.25);
    border: 1px solid rgba(255,255,255,0.12);
}
.consult-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.consult-card h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
    line-height: 1.35;
}
.consult-card p {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.65;
    margin-bottom: 22px;
}
.consult-points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}
.consult-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #f8fafc;
    margin-bottom: 12px;
}
.consult-points li i {
    color: #38bdf8;
}
.btn-sidebar-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #ffffff;
    color: #293990;
    padding: 14px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-sidebar-call:hover {
    background: #f0f4fa;
    color: #1b2663;
    transform: translateY(-2px);
}
.btn-sidebar-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #0068ff;
    color: #ffffff;
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-sidebar-zalo:hover {
    background: #0052cc;
}

/* 5. Gallery & Lightbox */
.project-gallery-section {
    padding: 90px 0;
    background: #f8fafc;
}
.gallery-cover-wrap {
    margin-bottom: 30px;
}
.gallery-cover-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 500px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.gallery-cover-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-cover-item:hover img {
    transform: scale(1.03);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%);
    padding: 60px 35px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.gallery-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #293990;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.gallery-caption {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gallery-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(41, 57, 144, 0.12);
    border-color: #293990;
}
.gallery-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-card-img img {
    transform: scale(1.06);
}
.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(41, 57, 144, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-size: 30px;
}
.gallery-card:hover .gallery-hover-overlay {
    opacity: 1;
}
.gallery-card-caption {
    padding: 16px 20px;
}
.gallery-card-caption span {
    font-size: 11.5px;
    font-weight: 800;
    color: #293990;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gallery-card-caption p {
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 4px 0 0;
    line-height: 1.45;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10, 15, 26, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    backdrop-filter: blur(8px);
}
.lightbox-modal.open {
    display: flex;
}
.lightbox-content {
    max-width: 92%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.7);
}
.lightbox-caption-text {
    color: #f1f5f9;
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: none;
    border: none;
    font-size: 42px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #38bdf8;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.lightbox-nav:hover {
    background: #293990;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 35px; }
.lightbox-next { right: 35px; }

/* 6. Process Steps */
.project-process-section {
    padding: 85px 0;
    background: #ffffff;
}
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 45px;
}
.process-step-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
}
.process-step-item:hover {
    transform: translateY(-4px);
    border-color: #293990;
    box-shadow: 0 12px 30px rgba(41, 57, 144, 0.1);
}
.process-step-item .step-num {
    font-size: 36px;
    font-weight: 900;
    color: #293990;
    line-height: 1;
    margin-bottom: 16px;
}
.process-step-item .step-line {
    width: 40px;
    height: 3px;
    background: #293990;
    margin-bottom: 18px;
}
.process-step-item h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1a2b43;
    margin-bottom: 12px;
    line-height: 1.4;
}
.process-step-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 7. Video / Tour 360 */
.project-video-section {
    padding: 85px 0;
    background: #f8fafc;
}
.video-container-wrap {
    max-width: 960px;
    margin: 40px auto 0;
}
.video-player-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.video-thumbnail-placeholder {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}
.video-play-btn {
    width: 85px;
    height: 85px;
    background: #293990;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    padding-left: 5px;
    text-decoration: none;
    box-shadow: 0 0 0 15px rgba(41, 57, 144, 0.35);
    transition: all 0.35s ease;
    margin-bottom: 25px;
}
.video-play-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
    color: #293990;
    box-shadow: 0 0 0 22px rgba(41, 57, 144, 0.5);
}
.video-badge-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.video-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    max-width: 600px;
}

/* 8. Materials & Technical Solutions */
.project-materials-section {
    padding: 85px 0;
    background: #ffffff;
}
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}
.material-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 35px 28px;
    transition: all 0.3s;
}
.material-card:hover {
    transform: translateY(-5px);
    border-color: #293990;
    box-shadow: 0 15px 35px rgba(41, 57, 144, 0.12);
}
.material-card-icon {
    width: 60px;
    height: 60px;
    background: #f0f4fa;
    color: #293990;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}
.material-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1a2b43;
    margin-bottom: 20px;
}
.material-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.material-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.5;
}
.material-checklist li i {
    color: #293990;
    margin-top: 4px;
}

/* 9. FAQ Section */
.project-faq-section {
    padding: 85px 0;
    background: #f8fafc;
}
.faq-accordion-container {
    max-width: 850px;
    margin: 45px auto 0;
}
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item.active {
    border-color: #293990;
    box-shadow: 0 8px 25px rgba(41, 57, 144, 0.1);
}
.faq-item.active .faq-question {
    color: #293990;
}
.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 700;
    color: #1a2b43;
}
.faq-question i {
    font-size: 14px;
    color: #293990;
    transition: transform 0.3s;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 24px 22px;
    display: none;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}
.faq-answer p {
    margin: 0;
}

/* 10. Related Projects */
.related-projects-section {
    padding: 85px 0;
    background: #ffffff;
}
.related-projects-section .project-card {
    border: 1px solid #e2e8f0;
    transition: all 0.35s ease;
}
.related-projects-section .project-card:hover {
    border-color: #293990;
    box-shadow: 0 15px 35px rgba(41, 57, 144, 0.12);
    transform: translateY(-6px);
}
.related-projects-section .project-tag {
    color: #293990 !important;
    font-weight: 800;
    background: #ffffff;
}
.related-projects-section .project-overlay {
    background: rgba(26, 68, 145, 0.88);
}
.related-projects-section .view-detail-btn {
    background: #293990 !important;
    color: #ffffff !important;
    border: 2px solid #293990;
}
.related-projects-section .view-detail-btn:hover {
    background: #ffffff !important;
    color: #293990 !important;
    border-color: #ffffff;
}
.related-projects-section .project-card:hover h3,
.related-projects-section .project-card:hover h3 a {
    color: #293990 !important;
}

/* 11. CTA Banner */
.project-cta-banner {
    padding: 40px 0 90px;
    background: #ffffff;
}
.cta-banner-box {
    background: linear-gradient(135deg, #1b2663 0%, #293990 100%);
    border-radius: 18px;
    padding: 60px 45px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(41, 57, 144, 0.28);
    position: relative;
    overflow: hidden;
}
.cta-banner-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    filter: blur(40px);
}
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.cta-banner-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.35;
}
.cta-banner-content p {
    font-size: 16px;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.7;
}
.cta-banner-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.btn-cta-gold {
    background: #ffffff;
    color: #293990;
    padding: 15px 32px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.btn-cta-gold:hover {
    background: #f0f4fa;
    color: #1b2663;
    transform: translateY(-2px);
}
.btn-cta-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}
.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .project-hero-grid { grid-template-columns: 1fr; }
    .project-hero-img { height: 360px; }
    .specs-grid { grid-template-columns: repeat(3, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .process-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .materials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .project-hero-title { font-size: 26px; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-cover-item { height: 320px; }
    .gallery-overlay { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
    .process-steps-grid { grid-template-columns: 1fr; }
    .video-thumbnail-placeholder { height: 320px; }
    .video-play-btn { width: 65px; height: 65px; font-size: 22px; }
    .cta-banner-box { padding: 40px 20px; }
    .cta-banner-content h2 { font-size: 24px; }
    .lightbox-nav { width: 42px; height: 42px; font-size: 18px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ==========================================================================
   TRANG CHI TIẾT BÀI VIẾT (SINGLE POST) - CHUẨN SEO & THƯƠNG HIỆU MINH QUÂN
   ========================================================================== */
/* Không cho phần tử con phá chiều rộng container */
.single-post-page-section,
.single-post-page-section *,
.related-blog-posts-section,
.related-blog-posts-section * {
    box-sizing: border-box;
}

.single-post-page-section {
    padding: 45px 0 85px;
    background: #fdfdfd;
    overflow-x: clip;
}

.single-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
}

/* 1. Article Main Column */
.single-post-main {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 40px 38px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Article Header */
.post-header-card {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
    min-width: 0;
    max-width: 100%;
}

.post-header-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.post-cat-badge {
    background: #e8eef8;
    color: #293990;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #c9daf5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.post-cat-badge:hover {
    background: #293990;
    color: #ffffff;
    border-color: #293990;
}

.post-reading-pill {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-title-main {
    font-size: 34px;
    font-weight: 800;
    color: #1a2b43;
    line-height: 1.35;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-meta-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13.5px;
    color: #64748b;
    max-width: 100%;
    min-width: 0;
}

.post-meta-strip > * {
    min-width: 0;
}

.meta-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.author-mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.author-label {
    font-size: 11.5px;
    display: block;
    color: #94a3b8;
    line-height: 1;
}

.author-name {
    color: #1e293b;
    font-weight: 700;
    font-size: 13.5px;
}

.meta-divider {
    color: #cbd5e1;
}

.meta-date, .meta-updated, .meta-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-date i, .meta-updated i, .meta-views i {
    color: #293990;
}

/* Featured Media */
.post-featured-media {
    margin-bottom: 35px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-featured-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.post-img-caption {
    background: #f8fafc;
    padding: 10px 16px;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    border-left: 3px solid #293990;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sapo Box */
.post-sapo-box {
    display: flex;
    gap: 18px;
    background: #f0f4fa;
    border-left: 4px solid #293990;
    padding: 22px 26px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 35px;
    border-top: 1px solid #d2e0f5;
    border-right: 1px solid #d2e0f5;
    border-bottom: 1px solid #d2e0f5;
}

.sapo-icon {
    font-size: 28px;
    color: #293990;
    flex-shrink: 0;
    opacity: 0.8;
}

.sapo-text {
    font-size: 16.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.7;
}

.sapo-text p {
    margin: 0;
}

/* Table of Contents (TOC) */
.post-toc-widget {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 35px;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.toc-title {
    font-size: 16px;
    font-weight: 800;
    color: #293990;
    display: flex;
    align-items: center;
    gap: 9px;
}

.toc-toggle-btn {
    background: none;
    border: none;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.toc-toggle-btn:hover {
    color: #293990;
}

.toc-body.collapsed {
    display: none;
}

.toc-list-root {
    margin: 0;
    padding-left: 20px;
    color: #334155;
    font-size: 14.5px;
    line-height: 1.8;
}

.toc-link {
    color: #334155;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
}

.toc-link:hover {
    color: #293990;
    padding-left: 4px;
}

.toc-sub-list {
    padding-left: 18px;
    margin: 4px 0;
    list-style-type: circle;
}

.toc-sub-list .toc-link {
    font-weight: 400;
    color: #64748b;
}

.toc-sub-list .toc-link:hover {
    color: #293990;
}

/* Article Content Body */
.post-article-content,
.single-post-entry {
    color: #334155;
    font-size: 16.5px;
    line-height: 1.85;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.post-article-content > *,
.single-post-entry > * {
    max-width: 100%;
}

.post-article-content p,
.post-article-content li,
.post-article-content h2,
.post-article-content h3,
.post-article-content h4,
.post-article-content blockquote,
.post-article-content a,
.single-post-entry p,
.single-post-entry span,
.single-post-entry li,
.single-post-entry div,
.single-post-entry h1,
.single-post-entry h2,
.single-post-entry h3,
.single-post-entry h4,
.single-post-entry h5,
.single-post-entry h6,
.single-post-entry blockquote,
.single-post-entry a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.single-post-entry h2 {
    font-size: 26px;
    font-weight: 800;
    color: #293990;
    margin: 42px 0 18px;
    padding-left: 14px;
    border-left: 4px solid #293990;
    line-height: 1.35;
}

.single-post-entry h3 {
    font-size: 21px;
    font-weight: 700;
    color: #1a4494;
    margin: 32px 0 14px;
    line-height: 1.4;
}

.single-post-entry h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2b43;
    margin: 24px 0 12px;
}

.single-post-entry p {
    margin-bottom: 22px;
}

.single-post-entry ul, .single-post-entry ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.single-post-entry li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.single-post-entry strong {
    color: #0f172a;
    font-weight: 700;
}

.single-post-entry a {
    color: #293990;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.single-post-entry a:hover {
    color: #1b2663;
}

.post-article-content blockquote,
.single-post-entry blockquote {
    max-width: 100%;
    margin: 30px 0;
    padding: 24px 30px;
    background: #f0f4fa;
    border-left: 4px solid #293990;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 17px;
    color: #1e293b;
    line-height: 1.75;
    position: relative;
}

.content-callout-box {
    display: flex;
    gap: 18px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #293990;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 32px 0;
    max-width: 100%;
}

.content-callout-box .callout-icon {
    font-size: 26px;
    color: #293990;
    flex-shrink: 0;
    margin-top: 2px;
}

.content-callout-box .callout-content {
    font-size: 15.5px;
    line-height: 1.65;
    color: #1e3a8a;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Ảnh & Media không được vượt container */
.post-article-content img,
.single-post-entry img,
.post-featured-img {
    max-width: 100% !important;
    height: auto;
}

.single-post-entry img {
    border-radius: 10px;
    margin: 25px auto;
    display: block;
    box-sizing: border-box;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.post-article-content iframe,
.post-article-content video,
.post-article-content embed,
.post-article-content object,
.single-post-entry figure,
.single-post-entry iframe,
.single-post-entry video,
.single-post-entry embed,
.single-post-entry object {
    max-width: 100% !important;
    height: auto;
    box-sizing: border-box;
}

.post-article-content pre,
.single-post-entry pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.post-article-content code,
.single-post-entry code {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Table - Tự động cuộn ngang mượt mà bằng Pure CSS (không cần JS) */
.post-article-content table,
.single-post-entry table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.post-article-content table th,
.post-article-content table td,
.single-post-entry table th,
.single-post-entry table td {
    padding: 13px 18px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-article-content table tr:first-child td,
.post-article-content table th,
.single-post-entry table tr:first-child td,
.single-post-entry table th {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    border-bottom: 2px solid #cbd5e1;
}

.post-article-content table tr:nth-child(even) td,
.single-post-entry table tr:nth-child(even) td {
    background: #f8fafc;
}

.post-article-content table tr:hover td,
.single-post-entry table tr:hover td {
    background: #f1f7fe;
}

/* Container cuộn cho bảng lớn trên màn hình hẹp */
.table-responsive-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.table-responsive-wrapper table {
    margin: 0;
    border: none;
    min-width: 520px;
}

/* Post Tags Cloud */
.post-tags-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.tags-title {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.tag-pill {
    background: #f1f5f9;
    color: #293990;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.tag-pill:hover {
    background: #293990;
    color: #ffffff;
    border-color: #293990;
    transform: translateY(-2px);
}

/* Social Share Bar */
.post-share-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 24px;
    margin: 35px 0;
    flex-wrap: wrap;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
}

.share-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a2b43;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
}

.btn-share-fb {
    background: #1877f2;
    color: #ffffff;
}

.btn-share-fb:hover {
    background: #1263cf;
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-share-zalo {
    background: #0068ff;
    color: #ffffff;
}

.btn-share-zalo:hover {
    background: #0052cc;
    transform: translateY(-2px);
    color: #ffffff;
}

.zalo-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.btn-share-copy {
    background: #ffffff;
    color: #1a2b43;
    border: 1px solid #cbd5e1;
}

.btn-share-copy:hover, .btn-share-copy.copied {
    background: #293990;
    color: #ffffff;
    border-color: #293990;
}

/* Author Bio Card */
.author-bio-card {
    display: flex;
    gap: 22px;
    background: linear-gradient(145deg, #f8fafc 0%, #f0f4fa 100%);
    border: 1px solid #d2e0f5;
    border-radius: 12px;
    padding: 28px;
    margin: 35px 0;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}

.author-bio-avatar img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.author-bio-info {
    min-width: 0;
    max-width: 100%;
}

.author-badge {
    font-size: 11px;
    font-weight: 800;
    color: #293990;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.author-title {
    font-size: 19px;
    font-weight: 800;
    color: #1a2b43;
    margin-bottom: 8px;
}

.author-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.author-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.author-contact-btn {
    background: #293990;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.25s;
}

.author-contact-btn:hover {
    background: #1b2663;
    color: #ffffff;
}

.author-zalo-btn {
    background: #0068ff;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.25s;
}

.author-zalo-btn:hover {
    background: #0052cc;
    color: #ffffff;
}

/* Post Navigation (Prev & Next) */
.post-navigation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 35px;
    min-width: 0;
    max-width: 100%;
}

.nav-post-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.25s;
    min-width: 0;
    max-width: 100%;
}

.nav-post-card:hover {
    border-color: #293990;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(41, 57, 144, 0.08);
    transform: translateY(-2px);
}

.nav-direction {
    font-size: 11.5px;
    font-weight: 800;
    color: #293990;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.next-card {
    text-align: right;
    align-items: flex-end;
}

.nav-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a2b43;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nav-post-card:hover .nav-title {
    color: #293990;
}

/* 2. Sidebar Column */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
    max-width: 100%;
}

.single-post-sidebar * {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 26px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a2b43;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.widget-title i {
    color: #293990;
}

.widget-divider {
    height: 3px;
    width: 45px;
    background: #293990;
    border-radius: 2px;
    margin-bottom: 20px;
}

/* Widget Consult Card */
.widget-consult-card {
    background: linear-gradient(145deg, #1b2663 0%, #293990 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(41, 57, 144, 0.25);
}

.widget-consult-header h3 {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 10px 0 8px;
    line-height: 1.35;
}

.widget-consult-header p {
    font-size: 13.5px;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.widget-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
}

.widget-consult-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-widget-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #293990;
    padding: 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s;
}

.btn-widget-call:hover {
    background: #f0f4fa;
    color: #1b2663;
    transform: translateY(-2px);
}

.btn-widget-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0068ff;
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: background 0.25s;
}

.btn-widget-zalo:hover {
    background: #0052cc;
    color: #ffffff;
}

/* Categories List */
.category-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-menu-list li {
    border-bottom: 1px solid #f1f5f9;
}

.category-menu-list li:last-child {
    border-bottom: none;
}

.category-menu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 8px;
    color: #334155;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

.cat-title-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-title-text i {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s;
}

.cat-count-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    transition: all 0.2s;
}

.category-menu-list a:hover,
.category-menu-list li.active a {
    color: #293990;
    background: #f0f4fa;
    padding-left: 12px;
}

.category-menu-list a:hover .cat-title-text i,
.category-menu-list li.active .cat-title-text i {
    color: #293990;
    transform: translateX(3px);
}

.category-menu-list a:hover .cat-count-badge,
.category-menu-list li.active .cat-count-badge {
    background: #293990;
    color: #ffffff;
}

/* Recent Posts List */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.recent-thumb-wrap {
    width: 76px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.recent-post-item:hover .recent-thumb-wrap img {
    transform: scale(1.08);
}

.recent-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
}

.recent-title a {
    color: #1a2b43;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.recent-title a:hover {
    color: #293990;
}

.recent-meta {
    font-size: 11.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Calculator Widget */
.widget-calculator-card {
    background: #f8fafc;
    border: 1px dashed #293990;
    text-align: center;
    padding: 28px 20px;
}

.calc-icon-wrap {
    width: 54px;
    height: 54px;
    background: #e8eef8;
    color: #293990;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.widget-calculator-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #1a2b43;
    margin-bottom: 8px;
}

.widget-calculator-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 18px;
}

.btn-calc-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #293990;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(41, 57, 144, 0.25);
}

.btn-calc-go:hover {
    background: #1b2663;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   BÀI VIẾT LIÊN QUAN (RELATED POSTS SLIDER - 4 CARDS ON DESKTOP)
   ========================================================================== */
.related-blog-posts-section {
    padding: 85px 0 95px;
    background: #f4f6fa;
    border-top: 1px solid #e2e8f0;
}

.related-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.related-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8eef8;
    color: #293990;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid #c9daf5;
}

.related-slider-title {
    font-size: 28px;
    font-weight: 800;
    color: #293990;
    margin-bottom: 6px;
    line-height: 1.3;
}

.related-slider-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.related-slider-controls {
    display: flex;
    gap: 12px;
}

.btn-slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #d2e0f5;
    color: #293990;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-slider-arrow:hover:not(.disabled) {
    background: #293990;
    color: #ffffff;
    border-color: #293990;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(41, 57, 144, 0.25);
}

.btn-slider-arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

/* Slider Track & Cards */
.related-slider-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 8px 2px 25px;
}

.related-slider-track {
    min-width: 0;
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: grab;
    user-select: none;
}

.related-slider-track:active {
    cursor: grabbing;
}

.related-card-slide {
    flex-shrink: 0;
    min-width: 0;
    box-sizing: border-box;
}

.related-post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
}

.related-post-card:hover {
    transform: translateY(-6px);
    border-color: #293990;
    box-shadow: 0 16px 35px rgba(41, 57, 144, 0.12);
}

.card-media-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.related-post-card:hover .card-media-wrap img {
    transform: scale(1.08);
}

.card-cat-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #293990;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card-content-wrap {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta i {
    color: #293990;
}

.card-post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.card-post-title a {
    color: #1a2b43;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: color 0.2s;
}

.related-post-card:hover .card-post-title a {
    color: #293990;
}

.card-post-excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    flex-grow: 1;
}

.card-footer-link {
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.btn-read-more {
    color: #293990;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.btn-read-more:hover {
    gap: 10px;
    color: #1b2663;
}

/* Dots Pagination */
.related-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    width: 28px;
    border-radius: 20px;
    background: #293990;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .single-post-grid {
        grid-template-columns: 1fr;
    }
    .post-title-main {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .single-post-page-section .container,
    .related-blog-posts-section .container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .single-post-main {
        padding: 26px 18px;
    }

    .post-title-main {
        font-size: 24px;
        line-height: 1.3;
    }

    .post-meta-strip {
        gap: 8px;
    }

    .meta-divider {
        display: none;
    }

    .post-navigation-grid {
        grid-template-columns: 1fr;
    }

    .author-bio-card {
        flex-direction: column;
        text-align: center;
        flex-wrap: wrap;
    }

    .author-actions {
        justify-content: center;
    }

    .post-share-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .btn-share {
        max-width: 100%;
    }

    .related-slider-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

