/* ================================================================
   HMO — PSU Academic Style
   Scope: #hmo-page  (body id)
   Mục đích: specificity cao hơn style.css / main.css / frontend.css
   Không dùng !important trừ khi thực sự cần.
   ================================================================ */

/* ----------------------------------------------------------------
   FONT VARIABLES
   Override CSS variables từ main.css (:root) trong scope #hmo-page
   main.css dùng var(--tg-heading-font-family) cho h1..h6
   Bằng cách override var đó trong #hmo-page, tất cả heading bên trong
   tự động dùng Montserrat — không cần !important.
   ---------------------------------------------------------------- */
:root {
    --hmo-blue:    #001e44;
    --hmo-sky:     #009cde;
    --hmo-gray-bg: #f0f3f5;
    --hmo-ff-head: 'Montserrat', sans-serif;
    --hmo-ff-body: 'Open Sans', sans-serif;
}

/* Override tg-* variables của main.css trong toàn bộ #hmo-page */
#hmo-page {
    --tg-heading-font-family: 'Montserrat', sans-serif;
    --tg-body-font-family:    'Open Sans', sans-serif;
    --tg-body-font-size:      16px;
    --tg-heading-color:       #001e44;
    --tg-body-color:          #1d1d1d;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Heading — dùng font trực tiếp (không qua var) để chắc chắn */
#hmo-page h1,
#hmo-page h2,
#hmo-page h3,
#hmo-page h4,
#hmo-page h5,
#hmo-page h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    color: #001e44;
}

/* p — override style.css "p { line-height:28px }" */
#hmo-page p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ================================================================
   TOP BAR
   ================================================================ */
#hmo-page .hmo-top-bar {
    background: var(--hmo-blue);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
}
#hmo-page .hmo-top-bar__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 7px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#hmo-page .hmo-top-bar__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    width: 100%;
}
#hmo-page .hmo-top-bar__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
#hmo-page .hmo-top-bar__item { position: relative; }
#hmo-page .hmo-top-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.2s;
    white-space: nowrap;
}
#hmo-page .hmo-top-bar__link:hover { color: #fff; }
#hmo-page .hmo-top-bar__caret { font-size: 8px; opacity: 0.7; }
#hmo-page .hmo-top-bar__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 3px solid var(--hmo-sky);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 2100;
}
#hmo-page .hmo-top-bar__item--has-child:hover > .hmo-top-bar__dropdown { display: block; }
#hmo-page .hmo-top-bar__dropdown li a {
    display: block;
    padding: 8px 16px;
    color: var(--hmo-blue);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
#hmo-page .hmo-top-bar__dropdown li a:hover {
    background: #f0f3f5;
    color: var(--hmo-sky);
}
#hmo-page .hmo-top-bar__auth {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
#hmo-page .hmo-top-bar__auth a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.2s;
    white-space: nowrap;
}
#hmo-page .hmo-top-bar__auth a:hover { color: #fff; }
#hmo-page .hmo-top-bar__login {
    background: var(--hmo-sky);
    color: #fff !important;
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 600;
}
#hmo-page .hmo-top-bar__logout { color: #f87171 !important; }

/* ================================================================
   MAIN HEADER
   ================================================================ */
#hmo-page .hmo-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}
#hmo-page .hmo-header--scrolled {
    box-shadow: 0 4px 16px rgba(0,30,68,0.12);
}
#hmo-page .hmo-header__inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo */
#hmo-page .hmo-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
#hmo-page .hmo-header__logo-seal  { height: 72px; width: auto; flex-shrink: 0; }
#hmo-page .hmo-header__logo-text-img { height: 64px; width: auto; flex-shrink: 0; }
#hmo-page .hmo-header__logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
#hmo-page .hmo-header__logo-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.3;
    text-transform: none;
}
#hmo-page .hmo-header__logo-sub strong {
    font-weight: 700;
    color: var(--hmo-blue);
}
#hmo-page .hmo-header__logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--hmo-blue);
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Nav — dưới logo. Dải nền màu chạy hết chiều ngang (full-width),
   nội dung bên trong vẫn căn theo max-width 1400px */
#hmo-page .hmo-nav {
    width: 100%;
    background: #efefef;
}

/* Nav list — căn giữa cùng max-width với __inner */
#hmo-page .hmo-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
}
#hmo-page .hmo-nav__item { position: relative; }

/* Nav link — style.css ".navbar-nav>li>a { color:#fff; font-size:15px }"
   specificity = 0-0-1-2 = 12
   #hmo-page .hmo-nav__link = 1-0-1-0 = 110  → wins */
#hmo-page .hmo-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: var(--hmo-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
    line-height: normal;
}
#hmo-page .hmo-nav__link:hover,
#hmo-page .hmo-nav__item--active > .hmo-nav__link {
    color: var(--hmo-sky);
    border-bottom-color: var(--hmo-sky);
}
#hmo-page .hmo-nav__caret { font-size: 10px; opacity: 0.7; }

/* Dropdown */
#hmo-page .hmo-nav__dropdown {
    display: none;
    position: absolute;
    top: 90%;
    left: 0;
    min-width: 210px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 3px solid var(--hmo-sky);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 2000;
}
#hmo-page .hmo-nav__item--has-child:hover > .hmo-nav__dropdown { display: block; }

/* dropdown links — style.css ".wm-dropdown-menu li a { font-size:16px }"
   wins because #hmo-page prefix */
#hmo-page .hmo-nav__dropdown li a {
    display: block;
    padding: 9px 20px;
    color: var(--hmo-blue);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    text-transform: none;
    line-height: 1.4;
}
#hmo-page .hmo-nav__dropdown li a:hover,
#hmo-page .hmo-nav__dropdown li.active > a {
    background: #f0f3f5;
    color: var(--hmo-sky);
}

/* Hamburger */
#hmo-page .hmo-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
#hmo-page .hmo-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hmo-blue);
    border-radius: 2px;
    transition: 0.3s;
}
#hmo-page .hmo-nav__close {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 16px 20px;
    align-self: flex-end;
}

/* ================================================================
   HOME CONTENT WRAPPER
   ================================================================ */
#hmo-page .wm-main-content {
    float: none;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}
#hmo-page .hmo-home {
    float: none;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    color: #1d1d1d;
}
#hmo-page .hmo-home *,
#hmo-page .hmo-home *::before,
#hmo-page .hmo-home *::after { box-sizing: border-box; }
#hmo-page .hmo-home img { max-width: 100%; display: block; }
#hmo-page .hmo-home a { text-decoration: none; color: inherit; }
#hmo-page .hmo-home ul { list-style: none; padding: 0; margin: 0; }

#hmo-page .hmo-home h1,
#hmo-page .hmo-home h2,
#hmo-page .hmo-home h3,
#hmo-page .hmo-home h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    float: none;
    color: inherit;
}
#hmo-page .hmo-home p {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

#hmo-page .hmo-home section,
#hmo-page .hmo-home .hmo-split-layout,
#hmo-page .hmo-home .hmo-impact-grid,
#hmo-page .hmo-home .hmo-feature-grid,
#hmo-page .hmo-home .hmo-opp-grid,
#hmo-page .hmo-home .hmo-gallery {
    float: none;
    width: 100%;
    clear: both;
}

/* ================================================================
   HERO
   ================================================================ */
#hmo-page .hmo-hero {
    position: relative;
    height: 85vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: #fff;
}
#hmo-page .hmo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,30,68,0.9) 0%, rgba(0,30,68,0) 60%);
    pointer-events: none;
}
#hmo-page .hmo-hero__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}
#hmo-page .hmo-hero__eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--hmo-sky);
    font-size: 14px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}
#hmo-page .hmo-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}
#hmo-page .hmo-hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
    text-transform: none;
}
#hmo-page .hmo-btn-main {
    background: var(--hmo-sky);
    color: #fff;
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
    letter-spacing: 0.5px;
}
#hmo-page .hmo-btn-main:hover {
    background: #007bb1;
    color: #fff;
    transform: translateY(-3px);
}

/* ================================================================
   STATS BAR
   ================================================================ */
#hmo-page .hmo-stats-bar {
    background: var(--hmo-blue);
    color: #fff;
    padding: 60px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
#hmo-page .hmo-stat-item h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--hmo-sky);
    margin-bottom: 8px;
    text-transform: none;
    line-height: 1.1;
}
#hmo-page .hmo-stat-item p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

/* ================================================================
   IMPACT / NEWS
   ================================================================ */
#hmo-page .hmo-impact-section {
    padding: 80px 5%;
    background: var(--hmo-gray-bg);
}
#hmo-page .hmo-impact-section__title { text-align: center; }
#hmo-page .hmo-impact-section__actions {
    text-align: center;
    margin-top: 40px;
}
#hmo-page .hmo-impact-section__title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--hmo-blue);
    text-transform: uppercase;
}
#hmo-page .hmo-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
#hmo-page .hmo-impact-card {
    background: #fff;
    border-bottom: 6px solid var(--hmo-blue);
    overflow: hidden;
    transition: 0.3s;
}
#hmo-page .hmo-impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
#hmo-page .hmo-impact-card > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
#hmo-page .hmo-impact-info { padding: 30px; }
#hmo-page .hmo-tag {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--hmo-sky);
}
#hmo-page .hmo-impact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0;
    color: var(--hmo-blue);
    text-transform: none;
    line-height: 1.35;
}
#hmo-page .hmo-impact-info h3 a { color: inherit; }
#hmo-page .hmo-impact-info h3 a:hover { color: var(--hmo-sky); }
#hmo-page .hmo-impact-info p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #444;
    line-height: 1.65;
    margin: 0;
    text-transform: none;
}

/* ================================================================
   MODULE SECTIONS
   ================================================================ */
#hmo-page .hmo-module-section { padding: 100px 5%; }
#hmo-page .hmo-module-section--light { background: #f8f9fa; }

#hmo-page .hmo-section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--hmo-blue);
    border-left: 8px solid var(--hmo-sky);
    padding-left: 20px;
    margin-bottom: 40px;
    text-transform: uppercase;
    line-height: 1.2;
}
#hmo-page .hmo-section-title--center {
    text-align: center;
    margin-bottom: 60px;
}
#hmo-page .hmo-section-title--center h2 {
    border-left: none;
    padding-left: 0;
}
#hmo-page .hmo-section-title--gallery { margin-bottom: 40px; }

/* Feature grid */
#hmo-page .hmo-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
#hmo-page .hmo-feature-item {
    background: var(--hmo-blue);
    color: #fff;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
#hmo-page .hmo-feature-item--sky { background: var(--hmo-sky); }
#hmo-page .hmo-feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    color: #fff;
    text-transform: none;
    line-height: 1.3;
}
#hmo-page .hmo-feature-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    opacity: 1;
    position: relative;
    z-index: 2;
    line-height: 1.65;
    margin: 0;
    text-transform: none;
}

/* Box đào tạo dạng link (mục 3) */
#hmo-page a.hmo-feature-item {
    display: block;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#hmo-page a.hmo-feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,30,68,0.22);
}
#hmo-page .hmo-feature-item__more {
    display: inline-block;
    margin-top: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}
#hmo-page a.hmo-feature-item:hover .hmo-feature-item__more { opacity: 1; }

/* Split layout */
#hmo-page .hmo-split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}
/* Box nghiên cứu dạng link (mục 4) */
#hmo-page a.hmo-split-layout--link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
}
#hmo-page a.hmo-split-layout--link:hover { transform: translateY(-4px); }
#hmo-page a.hmo-split-layout--link .hmo-split-image img {
    transition: box-shadow 0.25s ease;
}
#hmo-page a.hmo-split-layout--link:hover .hmo-split-image img {
    box-shadow: 24px 24px 0 var(--hmo-sky);
}
#hmo-page .hmo-split-image { flex: 1; }
#hmo-page .hmo-split-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--hmo-sky);
}
#hmo-page .hmo-split-text { flex: 1; }
#hmo-page .hmo-split-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--hmo-blue);
    margin-bottom: 20px;
    text-transform: none;
    line-height: 1.15;
}
#hmo-page .hmo-split-text > p {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 20px;
    color: #444;
    line-height: 1.75;
    text-transform: none;
}
#hmo-page .hmo-checklist { list-style: none; padding: 0; margin: 0; }
#hmo-page .hmo-checklist li {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
    text-transform: none;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
}
#hmo-page .hmo-checklist li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

/* Opportunity cards */
#hmo-page .hmo-opp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
#hmo-page .hmo-opp-card {
    height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: #fff;
    text-decoration: none;
}
#hmo-page .hmo-opp-overlay {
    background: linear-gradient(to top, rgba(0,30,68,0.9), transparent);
    padding: 40px;
    width: 100%;
}
#hmo-page .hmo-opp-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-transform: none;
    line-height: 1.3;
}
#hmo-page .hmo-opp-overlay p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    text-transform: none;
    color: rgba(255,255,255,0.92);
}

/* ================================================================
   GALLERY — đời sống sinh viên (giống hệt template)
   ================================================================ */
#hmo-page .hmo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    float: none;
    width: 100%;
}
#hmo-page .hmo-gallery-item {
    background-size: cover;
    background-position: center;
    transition: filter 0.5s;
    cursor: pointer;
    overflow: hidden;
}
#hmo-page .hmo-gallery-item:hover { filter: brightness(1.2); }
#hmo-page .hmo-gallery-item.span-2 {
    grid-column: span 2;
    grid-row: span 2;
}
/* Box đời sống sinh viên dạng link (mục 5) */
#hmo-page a.hmo-gallery-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ================================================================
   FOOTER
   ================================================================ */
#hmo-page .hmo-footer {
    background: var(--hmo-blue);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    padding: 70px 5% 0;
    border-top: 4px solid var(--hmo-sky);
}
#hmo-page .hmo-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
#hmo-page .hmo-footer__heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hmo-sky);
    display: inline-block;
    color: #fff;
    line-height: 1.3;
}
#hmo-page .hmo-footer__logos { margin-bottom: 14px; }
#hmo-page .hmo-footer__logos img { border-radius: 4px; }
#hmo-page .hmo-footer__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #b0bcc8;
    line-height: 1.7;
    margin-bottom: 16px;
}
#hmo-page .hmo-footer__contact { list-style: none; padding: 0; margin: 0 0 18px; }
#hmo-page .hmo-footer__contact li {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #b0bcc8;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
#hmo-page .hmo-footer__contact li i { color: var(--hmo-sky); margin-top: 3px; flex-shrink: 0; }
#hmo-page .hmo-footer__contact a { color: #b0bcc8; text-decoration: none; }
#hmo-page .hmo-footer__contact a:hover { color: #fff; }
#hmo-page .hmo-footer__social { display: flex; gap: 10px; margin-top: 4px; }
#hmo-page .hmo-footer__social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
#hmo-page .hmo-footer__social a:hover { background: var(--hmo-sky); }
#hmo-page .hmo-footer__links { list-style: none; padding: 0; margin: 0; }
#hmo-page .hmo-footer__links li { margin-bottom: 10px; }
#hmo-page .hmo-footer__links a {
    font-family: 'Open Sans', sans-serif;
    color: #b0bcc8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
#hmo-page .hmo-footer__links a:hover { color: #fff; }
#hmo-page .hmo-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
    text-align: center;
}
#hmo-page .hmo-footer__bottom p {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    font-size: 12px;
    color: #6b7e94;
    line-height: 1.5;
}

/* ================================================================
   SCROLL-TO-TOP & CHAT
   ================================================================ */
.hmo-scroll-top {
    position: fixed; bottom: 30px; right: 20px;
    width: 40px; height: 40px;
    background: var(--hmo-sky); color: #fff;
    border: none; border-radius: 4px; cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    z-index: 9000;
}
.hmo-scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.hmo-scroll-top:hover { background: #007bb1; }
.hmo-chat-btn {
    position: fixed; bottom: 78px; left: 20px; z-index: 9000;
}
.hmo-chat-btn img {
    width: 52px; height: 52px; border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
    transition: transform 0.3s;
}
.hmo-chat-btn img:hover { transform: scale(1.1); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    #hmo-page .hmo-nav__link { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 992px) {
    #hmo-page .hmo-hamburger { display: flex; }
    #hmo-page .hmo-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, 85vw);
        background: var(--hmo-blue);
        padding: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1100;
        display: flex;
        flex-direction: column;
    }
    #hmo-page .hmo-nav.is-open { transform: translateX(0); }
    #hmo-page .hmo-nav__close { display: block; }
    #hmo-page .hmo-nav__list { flex-direction: column; gap: 0; padding: 0 0 30px; }
    #hmo-page .hmo-nav__item { width: 100%; }
    #hmo-page .hmo-nav__link {
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 14px 20px;
        font-size: 14px;
    }
    #hmo-page .hmo-nav__link:hover,
    #hmo-page .hmo-nav__item--active > .hmo-nav__link {
        color: var(--hmo-sky);
        background: rgba(0,156,222,0.08);
        border-bottom-color: rgba(255,255,255,0.1);
    }
    #hmo-page .hmo-nav__dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border-top: none;
        background: rgba(0,0,0,0.2);
    }
    #hmo-page .hmo-nav__item--has-child.is-open > .hmo-nav__dropdown { display: block; }
    #hmo-page .hmo-nav__dropdown li a {
        color: rgba(255,255,255,0.82);
        padding: 10px 34px;
    }
    #hmo-page .hmo-nav__dropdown li a:hover {
        background: rgba(255,255,255,0.06);
        color: #fff;
    }
    #hmo-page .hmo-hero h1 { font-size: 40px; }
    #hmo-page .hmo-stats-bar { grid-template-columns: 1fr 1fr; gap: 30px; }
    #hmo-page .hmo-feature-grid { grid-template-columns: 1fr; }
    #hmo-page .hmo-split-layout { flex-direction: column; gap: 40px; }
    #hmo-page .hmo-split-image img { box-shadow: 12px 12px 0 var(--hmo-sky); }
    #hmo-page .hmo-opp-grid { grid-template-columns: 1fr; }
    #hmo-page .hmo-opp-card { height: 320px; }
    #hmo-page .hmo-gallery { grid-template-columns: repeat(2, 1fr); }
    #hmo-page .hmo-gallery-item.span-2 { grid-column: span 2; grid-row: span 1; }
    #hmo-page .hmo-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    #hmo-page .hmo-header__logo-text-img { display: none; }
}
@media (max-width: 767px) {
    #hmo-page .hmo-hero { height: auto; min-height: 420px; padding: 80px 5%; }
    #hmo-page .hmo-hero h1 { font-size: 32px; }
    #hmo-page .hmo-stats-bar { grid-template-columns: 1fr; }
    #hmo-page .hmo-module-section { padding: 60px 5%; }
    #hmo-page .hmo-impact-section { padding: 60px 5%; }
    #hmo-page .hmo-impact-section__title h2 { font-size: 28px; }
    #hmo-page .hmo-gallery { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    #hmo-page .hmo-gallery-item.span-2 { grid-column: span 1; }
    #hmo-page .hmo-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    #hmo-page .hmo-header__logo-text { display: none; }
}

/* ================================================================
   INNER PAGES — Giới thiệu & custom pages
   ================================================================ */
#hmo-page .hmo-inner-page {
    float: none;
    width: 100%;
    background: var(--hmo-gray-bg);
    font-family: 'Open Sans', sans-serif;
}
#hmo-page .hmo-inner-page *,
#hmo-page .hmo-inner-page *::before,
#hmo-page .hmo-inner-page *::after { box-sizing: border-box; }

/* Compact page hero */
#hmo-page .hmo-page-hero {
    position: relative;
    min-height: 300px;
    padding: 48px 5% 56px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: #fff;
}
#hmo-page .hmo-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,30,68,0.92) 0%, rgba(0,30,68,0.55) 100%);
    pointer-events: none;
}
#hmo-page .hmo-page-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}
#hmo-page .hmo-page-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    margin-bottom: 16px;
}
#hmo-page .hmo-page-hero__breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}
#hmo-page .hmo-page-hero__breadcrumb a:hover { color: #fff; }
#hmo-page .hmo-page-hero__sep { color: rgba(255,255,255,0.4); }
#hmo-page .hmo-page-hero__current { color: var(--hmo-sky); font-weight: 600; }
#hmo-page .hmo-page-hero__eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--hmo-sky);
    margin-bottom: 10px;
}
#hmo-page .hmo-page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.15;
    text-transform: uppercase;
}
#hmo-page .hmo-page-hero__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
    max-width: 640px;
    margin: 0;
}

/* Section subnav */
#hmo-page .hmo-subnav {
    background: var(--hmo-blue);
    border-bottom: 3px solid var(--hmo-sky);
    z-index: 900;
}
#hmo-page .hmo-subnav__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}
#hmo-page .hmo-subnav__list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
#hmo-page .hmo-subnav__list::-webkit-scrollbar { display: none; }
#hmo-page .hmo-subnav__link {
    display: block;
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: color 0.2s, border-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
#hmo-page .hmo-subnav__link:hover { color: #fff; }
#hmo-page .hmo-subnav__link.is-active {
    color: var(--hmo-sky);
    border-bottom-color: var(--hmo-sky);
}

/* Content area */
#hmo-page .hmo-inner-page__body {
    padding: 0 5% 80px;
    margin-top: -36px;
    position: relative;
    z-index: 10;
}
#hmo-page .hmo-inner-page__container {
    max-width: 1100px;
    margin: 0 auto;
}
#hmo-page .hmo-inner-page__card {
    background: #fff;
    padding: 48px 56px;
    box-shadow: 0 8px 40px rgba(0,30,68,0.1);
    border-top: 4px solid var(--hmo-sky);
}
#hmo-page .hmo-inner-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e8edf2;
}
#hmo-page .hmo-btn-outline {
    display: inline-block;
    padding: 13px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--hmo-blue);
    border: 2px solid var(--hmo-blue);
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
#hmo-page .hmo-btn-outline:hover {
    background: var(--hmo-blue);
    color: #fff;
}

/* CMS prose — override TinyMCE inline styles */
#hmo-page .hmo-prose {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #1d1d1d;
}
#hmo-page .hmo-prose > * + * { margin-top: 1.1em; }
#hmo-page .hmo-prose h1,
#hmo-page .hmo-prose h2,
#hmo-page .hmo-prose h3,
#hmo-page .hmo-prose h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--hmo-blue);
    line-height: 1.3;
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}
#hmo-page .hmo-prose h2 { font-size: 1.5rem; }
#hmo-page .hmo-prose h3 { font-size: 1.25rem; color: var(--hmo-sky); }
#hmo-page .hmo-prose p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 0;
    text-align: justify;
}
#hmo-page .hmo-prose strong,
#hmo-page .hmo-prose b {
    font-weight: 700;
    color: var(--hmo-blue);
}
#hmo-page .hmo-prose span[style*="#2980b9"],
#hmo-page .hmo-prose span[style*="#3498db"],
#hmo-page .hmo-prose strong span[style*="color"] {
    color: var(--hmo-sky) !important;
}
#hmo-page .hmo-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5em auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,30,68,0.1);
}
#hmo-page .hmo-prose ul,
#hmo-page .hmo-prose ol {
    padding-left: 1.4em;
    margin: 1em 0;
}
#hmo-page .hmo-prose li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}
#hmo-page .hmo-prose a {
    color: var(--hmo-sky);
    text-decoration: underline;
    text-underline-offset: 3px;
}
#hmo-page .hmo-prose a:hover { color: #007bb1; }
#hmo-page .hmo-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 15px;
}
#hmo-page .hmo-prose table th,
#hmo-page .hmo-prose table td {
    padding: 10px 14px;
    border: 1px solid #dde3ea;
    text-align: left;
}
#hmo-page .hmo-prose table th {
    background: var(--hmo-blue);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
#hmo-page .hmo-prose table tr:nth-child(even) td { background: #f8f9fa; }
#hmo-page .hmo-prose blockquote {
    border-left: 4px solid var(--hmo-sky);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: #f0f7fc;
    color: var(--hmo-blue);
    font-style: italic;
}

@media (max-width: 767px) {
    #hmo-page .hmo-page-hero { min-height: 240px; padding: 36px 5% 44px; }
    #hmo-page .hmo-page-hero h1 { font-size: 26px; }
    #hmo-page .hmo-inner-page__card { padding: 28px 22px; }
    #hmo-page .hmo-inner-page__body { padding-bottom: 60px; }
    #hmo-page .hmo-subnav__link { padding: 12px 14px; font-size: 12px; }
    #hmo-page .hmo-inner-page__actions { flex-direction: column; }
    #hmo-page .hmo-btn-outline,
    #hmo-page .hmo-inner-page__actions .hmo-btn-main { text-align: center; }
}
