@font-face {
    font-family: "Manulife JH Sans";
    src: url("../fonts/ManulifeJHSans-Optimized-Light.woff2") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Manulife JH Sans";
    src: url("../fonts/ManulifeJHSans-Optimized.woff2") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Manulife JH Sans";
    src: url("../fonts/ManulifeJHSerif-Optimized-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Manulife JH Sans";
    src: url("../fonts/ManulifeJHSans-Optimized-Demibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Manulife JH Sans";
    src: url("../fonts/ManulifeJHSans-Optimized-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "static-icons";
    src: url("../fonts/static-icons.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "manulife-icons";
    src: url("../fonts/manulife-icons.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manulife JH Sans", sans-serif;
    margin: 0;
    padding: 0;
}

.main-page {
    display: flex;
    --header-height: 60px;
    --offset-header-height: var(--header-height);
}
@media all and (min-width: 996px) {
    .main-page {
        --header-height: 80px;
    }
}
.side-page {
    position: sticky;
    top: 0;
    left: 0;
    width: 80px;
    background-color: #34384b;
    height: 100vh;
    z-index: 1111;
    display: none;
}
@media all and (min-width: 1024px) {
    .side-page {
        display: block;
    }
}
.header-page {
    --manulife-logo-size: 60px;

    position: fixed;
    top: 0;
    left: 0px;
    right: 0;
    height: var(--header-height);
    padding-left: 0;
    background-color: #34384b;
    -webkit-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.01);
    -moz-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.01);
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.01);
    z-index: 11111;
    display: flex;
    align-items: center;
    gap: 20px;
}
@media all and (min-width: 1024px) {
    .header-page {
        --manulife-logo-size: 80px;

        /* left: 80px; */
        background-color: rgba(255, 255, 255, 0.95);
        gap: 40px;
    }
}
.header-page .manulife-logo {
    display: inline-block;
}
.header-page .manulife-logo img {
    display: block;
    width: var(--manulife-logo-size);
    height: var(--manulife-logo-size);
    object-fit: contain;
}
.mnlicon-Manulife-logo-black {
    font-family: "manulife-icons" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    font-size: 22px;
}
.mnlicon-Manulife-logo-black::before {
    content: "\ebb1";
    color: #fff;

    @media all and (min-width: 996px) {
        color: #000;
    }
}
.content-page {
    flex: 1;
    margin-top: var(--header-height);
}

.footer-page {
    background: #282b3e;
    color: #fff;
    min-height: 80px;
}

/* =====================================================================================
=====================================================================================
===================================================================================== */

/* ─── AEM Grid helper ───────────────────────────────────────── */
.aem-Grid {
    display: flex;
    flex-wrap: wrap;
}
.aem-GridColumn {
    width: 100%;
}
.aem-GridColumn--default--12 {
    width: 100%;
}

/* ─── Footer outer wrapper ──────────────────────────────────── */
.responsivegrid.xfpage-footer__layout-container {
    color: #c8cdd9;
    font-size: 14px;
    line-height: 1.65;
}

/* ─── Inner container ───────────────────────────────────────── */
.footer-inner {
    /* max-width: 1440px; */
    margin: 0 auto;
    padding: 0 32px;
}

@media all and (min-width: 600px) {
    .footer-inner {
        padding: 0 32px;
    }
}

@media all and (min-width: 1280px) {
    .footer-inner {
        padding: 0 40px;
    }
}

@media all and (min-width: 1600px) {
    .footer-inner {
        padding: 0 60px;
    }
}

@media all and (min-width: 1800px) {
    .footer-inner {
        padding: 0 80px;
    }
}

/* ════════════════════════════════════════════
       SECTION 1 — 4-column link grid
    ════════════════════════════════════════════ */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 48px 0 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    font-size: 10px;
    font-weight: 400;
    /* letter-spacing: 1.8px; */
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    /* transition: color 0.18s; */
}

.footer-col ul li a:hover {
    color: #ffffff;
    border-bottom: 1px solid #fff;
}

/* ════════════════════════════════════════════
       SECTION 2 — Legal links row  +  Social icons
    ════════════════════════════════════════════ */
.footer-middle {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    padding: 28px 0 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links-legal {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    font-size: 13.5px;
    line-height: 2;
}

/* links on same line separated by spaces */
.footer-links-legal a {
    text-decoration: none;
    color: #ffffff;
    /* white-space: nowrap; */
}
.footer-links-legal a:hover {
    color: #ffffff;
    border-bottom: 1px solid #fff;
}

/* separator dot between inline links */
.footer-links-legal .sep {
    margin: 0 10px;
    opacity: 0.35;
}

/* "Hướng dẫn..." goes on its own line */
.footer-links-legal .legal-long {
    display: block;
    width: 100%;
    margin-top: 2px;
}

/* ─── Social icons ──────────────────────────────────────────── */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 4px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social a:hover {
}

.footer-social img {
    display: block;
}

/* ════════════════════════════════════════════
       SECTION 3 — Logo + Copyright row
    ════════════════════════════════════════════ */
.footer-brand {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    /* gap: 48px; */
    padding: 32px 0 36px;
}

/* ─── Logo ──────────────────────────────────────────────────── */
.footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    opacity: 0.9;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 12px;
    line-height: 1.85;
    color: #fff;
}

.footer-copyright a {
    text-decoration: none;
    transition: color 0.18s;
}
.footer-copyright a:hover {
    color: #fff;
}
.footer-copyright .footer-hotline {
    letter-spacing: 0.3px;
    color: inherit;
    text-decoration: none;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 40px;
    }
    .footer-brand {
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-middle {
        flex-direction: column;
        gap: 18px;
    }
    .footer-brand {
        flex-direction: column;
        gap: 20px;
    }
}
