/* =======================================================
   THUẬN AN DMC - CORE & SUBPAGE STYLESHEET
   Design Tokens, Typography, Header, Footer & Subpages
   ======================================================= */

:root {
    --ta-primary: #003366;          /* Xanh đậm thương hiệu */
    --ta-primary-hover: #002244;
    --ta-primary-light: #eff6ff;
    --ta-accent-red: #b91c1c;       /* Đỏ điểm nhấn */
    --ta-accent-red-hover: #991b1b;
    --ta-accent-red-light: #fef2f2;
    --ta-dark: #0f172a;             /* Xám đen văn bản & Footer */
    --ta-gray-bg: #f8fafc;
    --ta-border: #e2e8f0;
    --ta-border-dark: #cbd5e1;
    --ta-text: #334155;
    --ta-text-muted: #64748b;
    --ta-font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, a, span, label, div {
    font-family: var(--ta-font-main);
    box-sizing: border-box;
}

body {
    color: var(--ta-text);
    background-color: #f1f5f9;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ta-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* =======================================================
   HEADER: TOPBAR, MAIN HEADER, NAVIGATION
   ======================================================= */
.ta-topbar {
    background-color: var(--ta-accent-red);
    color: #ffffff;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.ta-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.ta-topbar-brand {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 12.5px;
    line-height: 1;
}
.ta-topbar-right {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.ta-topbar-links {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.ta-topbar-links a {
    color: #fee2e2;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}
.ta-topbar-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ta-nav-right-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .ta-topbar-links {
        display: none !important;
    }
    .ta-topbar-right {
        gap: 0;
    }
}
@media (max-width: 480px) {
    .ta-topbar-inner {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 3px 0;
    }
    .ta-topbar-brand {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        text-align: center;
    }
}

.ta-main-header {
    background-color: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid var(--ta-border);
}
.ta-main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ta-header-brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ta-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}
.ta-brand-text h1,
.ta-brand-text .ta-site-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--ta-primary);
    margin: 0;
    line-height: 1.25;
    letter-spacing: 0.2px;
}
.ta-brand-text p {
    font-size: 11px;
    font-weight: 600;
    color: var(--ta-accent-red);
    margin: 2px 0 0;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.ta-header-contact-group {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--ta-border);
}
.ta-contact-icon {
    font-size: 20px;
    color: var(--ta-primary);
}
.ta-contact-info-label {
    display: block;
    font-size: 10.5px;
    color: var(--ta-text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.ta-contact-info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--ta-accent-red);
    line-height: 1.2;
}

.ta-nav {
    background-color: var(--ta-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    overflow: visible !important;
}
.ta-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px !important;
    flex-wrap: nowrap !important;
}
.ta-menu {
    display: flex;
    align-items: center;
    height: 48px !important;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
}
.ta-menu > li {
    height: 48px !important;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.ta-menu > li > a {
    display: flex;
    align-items: center;
    height: 48px !important;
    padding: 0 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap !important;
}
.ta-menu > li > a:hover,
.ta-menu > li.active > a {
    background-color: rgba(255,255,255,0.1);
    border-bottom-color: var(--ta-accent-red);
    color: #ffffff;
}
.ta-nav-right-group {
    display: flex;
    align-items: center;
    height: 48px !important;
    gap: 10px;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.ta-nav-cta {
    background-color: var(--ta-accent-red);
    color: #ffffff !important;
    padding: 0 14px;
    height: 32px !important;
    line-height: 32px !important;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
.ta-nav-cta:hover {
    background-color: var(--ta-accent-red-hover);
}

/* =======================================================
   BREADCRUMBS
   ======================================================= */
.ta-breadcrumbs-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--ta-border);
    padding: 10px 0;
    margin-bottom: 24px;
    font-size: 12.5px;
    color: var(--ta-text-muted);
}
.ta-breadcrumbs-bar a {
    color: var(--ta-primary);
    text-decoration: none;
}
.ta-breadcrumbs-bar a:hover {
    color: var(--ta-accent-red);
    text-decoration: underline;
}
.ta-breadcrumbs-bar span.sep {
    margin: 0 7px;
    color: #94a3b8;
}
.ta-breadcrumbs-bar span.current {
    color: var(--ta-dark);
    font-weight: 600;
}

/* =======================================================
   LAYOUT 2 CỘT CHO TRANG CON (SINGLE & CATEGORY)
   ======================================================= */
.ta-subpage-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}
.ta-subpage-main {
    flex: 0 0 calc(68% - 12px);
    max-width: calc(68% - 12px);
    min-width: 0;
}
.ta-subpage-sidebar {
    flex: 0 0 calc(32% - 12px);
    max-width: calc(32% - 12px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =======================================================
   TRANG CHI TIẾT BÀI VIẾT (SINGLE POST)
   ======================================================= */
.ta-article-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--ta-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 28px 32px;
    margin-bottom: 28px;
}
.ta-article-category-badge {
    display: inline-block;
    background: var(--ta-primary-light);
    color: var(--ta-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    border-left: 3px solid var(--ta-primary);
}
.ta-article-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--ta-dark);
    line-height: 1.35;
    margin: 0 0 14px;
}
.ta-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ta-border);
    font-size: 12.5px;
    color: var(--ta-text-muted);
}
.ta-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ta-article-featured-img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 24px;
    background: #e2e8f0;
}
.ta-article-body {
    font-size: 15px;
    line-height: 1.75;
    color: #1e293b;
}
.ta-article-body p {
    margin: 0 0 16px;
}
.ta-article-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ta-primary);
    margin: 28px 0 12px;
    border-left: 4px solid var(--ta-accent-red);
    padding-left: 10px;
}
.ta-article-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ta-dark);
    margin: 22px 0 10px;
}
.ta-article-body ul, .ta-article-body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}
.ta-article-body li {
    margin-bottom: 6px;
}
.ta-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 14px 0;
}

/* Hộp điểm nhấn thông tin tuyển sinh */
.ta-program-highlight-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid var(--ta-accent-red);
    border-radius: 6px;
    padding: 16px 20px;
    margin: 24px 0;
}
.ta-program-highlight-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ta-primary);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ta-program-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    font-size: 13px;
}
.ta-program-highlight-item {
    color: var(--ta-text);
}
.ta-program-highlight-item strong {
    color: var(--ta-dark);
}

/* =======================================================
   KHỐI CTA ĐĂNG KÝ TƯ VẤN DƯỚI CHÂN BÀI VIẾT
   ======================================================= */
.ta-post-cta-card {
    background: linear-gradient(135deg, var(--ta-primary) 0%, #001f3f 100%);
    border-radius: 8px;
    padding: 24px 28px;
    color: #ffffff;
    margin: 32px 0 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ta-post-cta-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    text-transform: uppercase;
}
.ta-post-cta-card p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0 0 16px;
}
.ta-post-cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

/* Các trường input trong form */
.ta-form-control {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--ta-border-dark);
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--ta-dark);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.ta-form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background: #ffffff;
}
.ta-form-control::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

/* Xử lý tương phản chữ đồng ý bảo vệ dữ liệu cá nhân trên nền tối */
.ta-cta-consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 16px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #f1f5f9 !important;
}
.ta-cta-consent-wrapper input[type="checkbox"],
.ta-post-cta-card input[type="checkbox"] {
    margin-top: 2px !important;
    accent-color: #ef4444;
    width: 16px;
    height: 16px;
    min-width: 16px;
    cursor: pointer;
    flex-shrink: 0;
}
.ta-post-cta-card label,
.ta-cta-consent-label {
    color: #f1f5f9 !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    cursor: pointer;
    margin: 0 !important;
    font-weight: 400 !important;
    display: inline !important;
}
.ta-post-cta-card label a,
.ta-cta-consent-label a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease;
}
.ta-post-cta-card label a:hover,
.ta-cta-consent-label a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* =======================================================
   NÚT BẤM FORM TƯ VẤN CHUYÊN NGHIỆP (CALL-TO-ACTION)
   ======================================================= */
.ta-form-submit-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.ta-form-submit-btn:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}
.ta-form-submit-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.4) !important;
}
.ta-form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
    transform: none !important;
}
.ta-form-submit-btn .ta-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.ta-form-submit-btn:hover .ta-btn-icon {
    transform: translateX(3px) scale(1.08);
}

/* =======================================================
   BÀI VIẾT LIÊN QUAN (RELATED POSTS)
   ======================================================= */
.ta-related-section {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--ta-border);
    padding: 24px;
    margin-bottom: 28px;
}
.ta-related-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ta-primary);
    margin: 0 0 16px;
    text-transform: uppercase;
    border-left: 3px solid var(--ta-accent-red);
    padding-left: 8px;
}
.ta-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.ta-related-card {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--ta-border);
    background: #f8fafc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ta-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.ta-related-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: #e2e8f0;
}
.ta-related-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ta-related-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ta-dark);
    margin: 0 0 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ta-related-card-title a:hover {
    color: var(--ta-accent-red);
}
.ta-related-date {
    font-size: 11px;
    color: var(--ta-text-muted);
    margin-top: auto;
}

/* =======================================================
   TRANG LƯU TRỮ CHUYÊN MỤC (CATEGORY ARCHIVE)
   ======================================================= */
.ta-archive-header-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--ta-border);
    padding: 24px 28px;
    margin-bottom: 24px;
    border-left: 5px solid var(--ta-primary);
}
.ta-archive-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ta-primary);
    margin: 0 0 6px;
    text-transform: uppercase;
}
.ta-archive-desc {
    font-size: 13.5px;
    color: var(--ta-text-muted);
    margin: 0;
}

.ta-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.ta-archive-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--ta-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ta-archive-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.ta-archive-card-thumb-wrap {
    position: relative;
    width: 100%;
    height: 175px;
    background: #e2e8f0;
    overflow: hidden;
}
.ta-archive-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ta-archive-card:hover .ta-archive-card-thumb {
    transform: scale(1.04);
}
.ta-archive-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--ta-accent-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.ta-archive-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ta-archive-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ta-dark);
    margin: 0 0 8px;
    line-height: 1.35;
}
.ta-archive-card-title a:hover {
    color: var(--ta-accent-red);
}
.ta-archive-card-desc {
    font-size: 12.5px;
    color: var(--ta-text-muted);
    margin: 0 0 12px;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ta-archive-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed var(--ta-border);
    font-size: 11.5px;
}
.ta-archive-card-date {
    color: var(--ta-text-muted);
}
.ta-archive-card-link {
    font-weight: 700;
    color: var(--ta-primary);
}
.ta-archive-card-link:hover {
    color: var(--ta-accent-red);
}

/* Phân trang (Pagination) */
.ta-pagination {
    margin: 32px 0;
    text-align: center;
}
.ta-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    margin: 0 3px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid var(--ta-border);
    color: var(--ta-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ta-pagination .page-numbers.current,
.ta-pagination .page-numbers:hover {
    background: var(--ta-primary);
    color: #ffffff;
    border-color: var(--ta-primary);
}

/* =======================================================
   SIDEBAR WIDGETS
   ======================================================= */
.ta-panel {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--ta-border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ta-panel-header {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--ta-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ta-panel-header.ta-primary-header {
    background: var(--ta-primary);
    color: #ffffff;
    border-bottom: none;
}
.ta-panel-header.ta-primary-header .ta-panel-title,
.ta-panel-header.ta-primary-header h3 {
    color: #ffffff !important;
}
.ta-panel-title {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
}
.ta-panel-body {
    padding: 16px;
}

.ta-advisor-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ta-advisor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid var(--ta-border);
}
.ta-advisor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--ta-primary);
    flex-shrink: 0;
}
.ta-advisor-role {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ta-primary);
    margin: 0 0 2px;
}
.ta-advisor-phone {
    font-size: 12px;
    font-weight: 700;
    color: var(--ta-accent-red);
    margin: 0;
}
.ta-advisor-email {
    font-size: 11px;
    color: var(--ta-text-muted);
    margin: 1px 0 0;
}

.ta-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ta-schedule-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid var(--ta-primary);
    transition: background 0.2s ease;
}
.ta-schedule-item:hover {
    background: #f1f5f9;
}
.ta-schedule-date-box {
    background: var(--ta-primary);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
    min-width: 55px;
}
.ta-schedule-info {
    flex-grow: 1;
    min-width: 0;
}
.ta-schedule-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ta-dark);
    margin: 0 0 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ta-schedule-badge {
    font-size: 10.5px;
    color: var(--ta-accent-red);
    font-weight: 600;
}

/* Widget Hotline Hỗ trợ nhanh */
.ta-hotline-widget {
    background: linear-gradient(135deg, var(--ta-accent-red) 0%, #7f1d1d 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.2);
}
.ta-hotline-widget-title {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.ta-hotline-widget-number {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin: 6px 0;
    letter-spacing: 0.5px;
}
.ta-hotline-widget-desc {
    font-size: 11.5px;
    color: #fecaca;
    margin: 0;
}

/* =======================================================
   FOOTER CHÍNH THỨC (ENTERPRISE FOOTER)
   ======================================================= */
.ta-footer {
    background-color: var(--ta-dark);
    color: #e2e8f0;
    padding: 40px 0 20px;
    font-size: 13px;
    line-height: 1.6;
}
.ta-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 24px;
    margin-bottom: 28px;
}
.ta-footer-brand h3 {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 12px;
    letter-spacing: 0.3px;
}
.ta-footer-brand p {
    margin: 0 0 8px;
    color: #94a3b8;
    font-size: 12.5px;
}
.ta-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 14px;
    border-left: 3px solid var(--ta-accent-red);
    padding-left: 8px;
}
.ta-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ta-footer-links li {
    margin-bottom: 7px;
}
.ta-footer-links a {
    color: #94a3b8;
    font-size: 12.5px;
    transition: color 0.2s ease;
}
.ta-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.ta-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 18px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* =======================================================
   TRANG GIỚI THIỆU & NĂNG LỰC DOANH NGHIỆP
   ======================================================= */
.ta-about-hero-box {
    background: linear-gradient(135deg, var(--ta-primary) 0%, #001f3f 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 28px;
}
.ta-about-hero-box h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.ta-about-hero-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #e2e8f0;
    margin: 0;
}

.ta-about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.ta-about-pillar-card {
    background: #f8fafc;
    border: 1px solid var(--ta-border);
    border-radius: 6px;
    padding: 18px 16px;
    text-align: center;
    border-top: 3px solid var(--ta-primary);
}
.ta-about-pillar-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.ta-about-pillar-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ta-primary);
    margin: 0 0 6px;
    text-transform: uppercase;
}
.ta-about-pillar-desc {
    font-size: 12px;
    color: var(--ta-text-muted);
    margin: 0;
    line-height: 1.5;
}

.ta-process-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}
.ta-process-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid var(--ta-border);
    border-radius: 6px;
    padding: 14px 16px;
}
.ta-process-step-num {
    background: var(--ta-accent-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ta-process-step-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ta-dark);
    margin: 0 0 4px;
}
.ta-process-step-desc {
    font-size: 12.5px;
    color: var(--ta-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* =======================================================
   TRANG LIÊN HỆ & BẢN ĐỒ CHỈ ĐƯỜNG
   ======================================================= */
.ta-contact-offices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.ta-contact-office-card {
    background: #ffffff;
    border: 1px solid var(--ta-border);
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.ta-contact-office-card.headquarter {
    border-top: 4px solid var(--ta-primary);
}
.ta-contact-office-card.branch {
    border-top: 4px solid var(--ta-accent-red);
}
.ta-office-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.ta-contact-office-card.headquarter .ta-office-type {
    background: var(--ta-primary-light);
    color: var(--ta-primary);
}
.ta-contact-office-card.branch .ta-office-type {
    background: var(--ta-accent-red-light);
    color: var(--ta-accent-red);
}
.ta-office-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--ta-dark);
    margin: 0 0 12px;
}
.ta-office-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}
.ta-office-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--ta-text);
}
.ta-office-info-list li strong {
    color: var(--ta-dark);
    flex-shrink: 0;
}

.ta-map-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--ta-border);
    padding: 24px;
    margin-bottom: 28px;
}
.ta-map-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ta-primary);
    margin: 0 0 14px;
    text-transform: uppercase;
    border-left: 3px solid var(--ta-accent-red);
    padding-left: 8px;
}
.ta-map-frame-wrap {
    width: 100%;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--ta-border);
    background: #e2e8f0;
}
.ta-map-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =======================================================
   CỤM NÚT LIÊN HỆ NỔI (FLOATING ACTION BUTTONS - FAB)
   ======================================================= */
.ta-floating-contact {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.ta-fab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 50px;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    min-height: 46px;
}
.ta-fab-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    color: #ffffff;
}
.ta-fab-phone {
    background: linear-gradient(135deg, var(--ta-accent-red) 0%, #991b1b 100%);
    animation: ta-pulse 2s infinite;
}
.ta-fab-zalo {
    background: linear-gradient(135deg, #0068ff 0%, #0050cc 100%);
}
.ta-fab-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.ta-fab-text {
    line-height: 1.2;
    white-space: nowrap;
}
.ta-fab-text span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.9;
}
@keyframes ta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(185, 28, 28, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(185, 28, 28, 0);
    }
}
@media (max-width: 576px) {
    .ta-floating-contact {
        bottom: 16px;
        right: 14px;
        gap: 10px;
    }
    .ta-fab-btn {
        padding: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
    }
    .ta-fab-text {
        display: none;
    }
    .ta-fab-icon {
        width: 100%;
        height: 100%;
        background: transparent;
        font-size: 20px;
    }
}

/* =======================================================
   RESPONSIVE (MOBILE & TABLET)
   ======================================================= */
@media (max-width: 1199px) and (min-width: 992px) {
    .ta-menu > li > a {
        padding: 0 8px;
        font-size: 13px;
    }
    .ta-nav-right-group {
        gap: 6px;
    }
    .ta-nav-cta {
        padding: 0 10px;
        font-size: 11.5px;
    }
}

@media (max-width: 991px) {
    .ta-subpage-layout {
        flex-direction: column;
        gap: 28px;
    }
    .ta-subpage-main,
    .ta-subpage-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ta-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .ta-main-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .ta-header-brand-group {
        flex-direction: column;
        gap: 10px;
    }
    .ta-header-contact-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .ta-article-card {
        padding: 20px 16px;
    }
    .ta-article-title {
        font-size: 20px;
    }
    .ta-about-pillars-grid,
    .ta-contact-offices-grid {
        grid-template-columns: 1fr;
    }
    .ta-archive-grid {
        grid-template-columns: 1fr;
    }
    .ta-related-grid {
        grid-template-columns: 1fr;
    }
    .ta-post-cta-form-row {
        grid-template-columns: 1fr;
    }
    .ta-nav-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 4px 0;
    }
    .ta-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    .ta-menu > li > a {
        padding: 10px 12px;
        font-size: 13px;
    }
    .ta-nav-cta {
        display: none;
    }
    .ta-footer-grid {
        grid-template-columns: 1fr;
    }
}
