/* ND369 — About page */
/* ============================================
   Trang Gi?i Thi?u ? section ri?ng (kh?ng khung card)
   T?ch theo H2/H3 t? tr?nh so?n th?o
   ============================================ */

body.page-template-page-gioi-thieu #content.site-content > .ast-container,
body.page-template-page-gioi-thieu-php #content.site-content > .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.page-template-page-gioi-thieu #primary,
body.page-template-page-gioi-thieu-php #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.about-page {
    background: #fff;
}

.about-hero {
    background-color: #003366;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
    text-align: center !important;
    color: #fff;
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 280px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.about-hero .ast-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center !important;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    width: 100%;
    margin: 0 0 14px;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color, #cc3300);
    color: #fff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.3;
}

.about-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    text-align: center !important;
}

.about-hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto;
    color: #fff;
    text-align: center !important;
    width: 100%;
}

/* M?i kh?i H2/H3 = 1 section full-width */
.about-section {
    width: 100%;
    padding: 56px 0;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.about-section--light {
    background: #fff;
}

.about-section--tint {
    background: var(--bg-light, #f4f8ff);
}

.about-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Ti?u ??: h?ng ri?ng ph?a tr?n, v?n trong kh?i section */
.about-section-header {
    width: 100%;
    margin: 0 0 28px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(0, 77, 153, 0.12);
    text-align: center;
}

.about-section-title {
    color: var(--primary-color, #004d99);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    text-align: center !important;
    border: 0;
    padding: 0;
    width: 100%;
    display: block;
}

.about-page .about-section-title,
.about-section .about-section-title,
.about-section-inner > h2.about-section-title,
.about-section-header .about-section-title {
    text-align: center !important;
}

/* H?ng d??i: text tr?i | ?nh ph?i */
.about-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
    align-items: center;
    width: 100%;
}

.about-section-grid--text-only {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.about-section-text > *:first-child {
    margin-top: 0;
}

.about-section-text > *:last-child {
    margin-bottom: 0;
}

.about-section-text h2,
.about-section-text h3,
.about-section-text h4 {
    color: var(--primary-color, #004d99);
    font-weight: 700;
    line-height: 1.35;
    margin: 1.4em 0 0.6em;
}

.about-section-text h2 { font-size: 1.4rem; }
.about-section-text h3 { font-size: 1.2rem; }
.about-section-text h4 { font-size: 1.05rem; }

.about-section-text p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1em;
}

.about-section-text ul,
.about-section-text ol {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1.1em;
    padding-left: 1.35em;
}

.about-section-text li {
    margin-bottom: 0.4em;
}

.about-section-text li::marker {
    color: var(--secondary-color, #cc3300);
}

.about-section-text strong {
    color: #222;
    font-weight: 700;
}

.about-section-text a {
    color: var(--primary-color, #004d99);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.about-section-text a:hover {
    color: var(--secondary-color, #cc3300);
}

.about-section-media {
    width: 100%;
}

.about-section-media figure,
.about-section-media p {
    margin: 0;
}

.about-section-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    max-height: 420px;
    aspect-ratio: 10 / 7;
}

.about-section-media--placeholder img {
    background: #e8eef5;
    border: 1px dashed rgba(0, 77, 153, 0.25);
    object-fit: cover;
}

.about-section-media--map {
    width: 100%;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8eef5;
    box-shadow: 0 4px 16px rgba(0, 51, 102, 0.08);
}

.about-section-media--map iframe {
    display: block;
    width: 100% !important;
    height: 360px !important;
    max-height: 420px;
    border: 0 !important;
    border-radius: 12px;
}

.about-section-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.2em 0;
    border-radius: 8px;
}

.about-section-text blockquote {
    border-left: 4px solid var(--secondary-color, #cc3300);
    margin: 1.4em 0;
    padding: 14px 18px;
    background: rgba(0, 77, 153, 0.06);
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
}

.about-section-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
}

.about-section-text table th,
.about-section-text table td {
    padding: 12px 14px;
    border: 1px solid #e4ebf3;
    text-align: left;
}

.about-section-text table th {
    background: var(--primary-color, #004d99);
    color: #fff;
    font-weight: 700;
}

.about-section-text table tr:nth-child(even) {
    background: #f8fafc;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary-color, #004d99) 0%, #003366 100%);
    padding: 56px 0;
    text-align: center;
    color: #fff;
    margin: 0;
}

.about-cta .ast-container {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.about-cta-inner h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.about-cta-inner p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin: 0 0 28px;
    line-height: 1.6;
}

.about-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.about-cta .btn-secondary-hero:hover {
    background: #fff;
    color: #003366;
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 220px;
        padding: 0 16px;
    }

    .about-hero .ast-container {
        padding: 36px 16px;
    }

    .about-hero h1 {
        font-size: 1.85rem;
        text-align: center !important;
    }

    .about-hero-desc {
        font-size: 1rem;
        text-align: center !important;
    }

    .about-section {
        padding: 40px 0;
    }

    .about-section-title {
        font-size: 1.4rem;
        text-align: center !important;
    }

    .about-section-header {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .about-section-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-section-media {
        order: -1;
    }

    .about-section-media img {
        max-height: 280px;
    }

    .about-section-text p,
    .about-section-text ul,
    .about-section-text ol {
        font-size: 0.98rem;
    }

    .about-cta {
        padding: 40px 0;
    }

    .about-cta-inner h2 {
        font-size: 1.4rem;
    }

    .about-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-cta .btn-primary-hero,
    .about-cta .btn-secondary-hero {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
