/* ===================================================================
   TrÆ°á»ng Tiá»ƒu há»c Thiá»‡n Nghiá»‡p â€” CSS cá»§a TRANG CHá»¦ (chá»‰ Default.aspx náº¡p)

   Giao diá»‡n hÃ¬nh váº½ thiáº¿u nhi chá»§ Ä‘á» trÆ°á»ng há»c. Markup do Default.aspx.cs sinh ra:
   TÃŠN CLASS `hm-*` á»ž ÄÃ‚Y LÃ€ Há»¢P Äá»’NG Vá»šI Default.aspx.cs â€” sá»­a má»™t bÃªn pháº£i sá»­a bÃªn kia
   (xem CLAUDE.md quy táº¯c 13). Kiá»ƒm báº±ng document.querySelectorAll('<selector>').length.

   Quy Æ°á»›c cÃ²n nguyÃªn giÃ¡ trá»‹:
   - KhÃ´ng hard-code mÃ£ mÃ u. DÃ¹ng biáº¿n trong tokens.css.
   - Sá»­a file nÃ y xong pháº£i tÄƒng ?v=N á»Ÿ Default.aspx.
   - GiÃ£n cÃ¡ch Ä‘áº·t `gap` á»Ÿ cha, khÃ´ng `margin` á»Ÿ con.
   - CÃ¡c máº£ng cong giá»¯a section (sÃ³ng/bá» cÃ¡t) lÃ  pseudo-element tÃ´ báº±ng mÃ u ná»n cá»§a section káº¿ bÃªn.
   =================================================================== */

/* ---------- TiÃªu Ä‘á» section dÃ¹ng chung ---------- */
.hm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: clamp(20px, 3vw, 32px);
}
.hm-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: var(--c-accent-soft);
    color: var(--c-primary);
    font-family: var(--font-display);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hm-title {
    position: relative;
    margin: 0;
    padding-bottom: 14px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--c-primary);
}
.hm-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 64px; height: var(--rule);
    border-radius: var(--rule);
    background: var(--c-accent);
}
.hm-more {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid var(--c-primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--c-primary);
    transition: background var(--t-fast), color var(--t-fast);
}
.hm-more:hover { background: var(--c-primary); color: var(--c-white); }
.hm-head-dark .hm-kicker { background: rgba(255, 255, 255, .14); color: var(--c-accent); }
.hm-head-dark .hm-title { color: var(--c-white); }
.hm-head-dark .hm-more {border-color: var(--c-white);color: var(--c-white);background-color: #960303;}
.hm-head-dark .hm-more:hover { background: var(--c-white); color: var(--c-primary); }

/* ---------- Hero: slide trong khung bo + thanh lá»‘i táº¯t ---------- */
.hm-hero {
    position: relative;
    padding: clamp(20px, 3vw, 36px) 0 0;
    background: var(--c-sky-bg) url("../images/bg-hero.jpg") center / cover no-repeat;
}
/* Bá» cÃ¡t cong á»Ÿ Ä‘Ã¡y hero, cÃ¹ng mÃ u section giá»›i thiá»‡u. */
.hm-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: clamp(40px, 6vw, 80px);
    background: var(--c-sand);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
/* Hero náº±m TRONG .container chung (class "container hm-hero-wrap" do Default.aspx.cs sinh). */
.hm-hero-wrap {position: relative;z-index: 1;/* padding-bottom: clamp(40px, 5vw, 66px); */}   /* náº±m trong .container chung: chiá»u ngang do .container quyáº¿t Ä‘á»‹nh */

.hm-hero-frame {
    overflow: hidden;
    border: 5px solid var(--c-white);
    border-radius: clamp(16px, 2.6vw, 32px);
    background: var(--c-primary-mist);
    box-shadow: 0 20px 50px rgba(18, 71, 154, .3);
}
.hm-hero-slider { position: relative; overflow: hidden; }
/* components.css Ä‘á»‡m 6px 4px 10px cho Má»ŒI .js-swiper (chá»«a chá»— bÃ³ng Ä‘á»• cá»§a tháº») â€” slide áº£nh trÃ n viá»n thÃ¬ bá». */
.hm-hero-slider.js-swiper { padding: 0; }
.hm-hero-slider img { display: block; width: 100%; height: auto; }
.hm-hero-slider .swiper-slide { height: auto; }
/* TrÆ°á»›c khi Swiper khá»Ÿi táº¡o xong, cÃ¡c slide xáº¿p chá»“ng dá»c -> chá»‰ hiá»‡n slide Ä‘áº§u Ä‘á»ƒ trang khÃ´ng nháº£y. */
.hm-hero-slider.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.hm-hero-empty { height: clamp(200px, 30vw, 380px); background: linear-gradient(120deg, var(--c-sky) 0%, var(--c-primary) 100%); }

.hm-hero-slider .swiper-pagination { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; z-index: 2; }
.hm-hero-slider .swiper-pagination-bullet { width: 9px; height: 9px; background: var(--c-white); opacity: .7; }
.hm-hero-slider .swiper-pagination-bullet-active { width: 26px; border-radius: 6px; background: var(--c-accent); opacity: 1; }

/* MÅ©i tÃªn: luÃ´n hiá»‡n (responsive.css áº©n mÅ©i tÃªn cá»§a .js-swiper tá»« 1199px trá»Ÿ xuá»‘ng nÃªn pháº£i ghi Ä‘Ã¨ á»Ÿ Ä‘Ã¢y). */
.hm-hero-slider .swiper-button-prev,
.hm-hero-slider .swiper-button-next {
    display: inline-flex;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 13px;
    border: 0;
    border-radius: 50%;
    background: var(--c-sea);
    color: var(--c-white);
    opacity: .85;
    z-index: 3;
}
.hm-hero-slider .swiper-button-prev:hover,
.hm-hero-slider .swiper-button-next:hover { opacity: 1; background: var(--c-primary); }
.hm-hero-slider .swiper-button-prev { left: 16px; }
.hm-hero-slider .swiper-button-next { right: 16px; }
.hm-hero-slider .swiper-button-prev::after, .hm-hero-slider .swiper-button-next::after { font-size: 15px; font-weight: 700; }

/* Thanh lá»‘i táº¯t: má»™t thanh tráº¯ng bo trÃ²n gá»‘i lÃªn Ä‘Ã¡y khung, chia 4 Ã´ báº±ng váº¡ch máº£nh. */
.hm-dock {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: calc(-1 * clamp(26px, 3.4vw, 42px)) clamp(10px, 4vw, 56px) 0;
    padding: 8px;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hm-dock-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    transition: background var(--t-fast);
}
.hm-dock-item + .hm-dock-item { position: relative; }
.hm-dock-item + .hm-dock-item::before {
    content: "";
    position: absolute;
    left: -2px; top: 18%; bottom: 18%;
    width: 1px;
    background: var(--c-line);
}
a.hm-dock-item:hover { background: var(--c-sand); }
.hm-dock-item .item-icon { flex: 0 0 62px; width: 62px; height: 62px; background: transparent; border-radius: 0; }
.hm-dock-item .item-icon img { width: 62px; height: 62px; object-fit: contain; transition: transform var(--t); }
a.hm-dock-item:hover .item-icon img { transform: translateY(-3px) scale(1.06); }
.hm-dock-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hm-dock-text strong {font-family: var(--font-display);font-size: 20px;font-weight: 700;color: var(--c-primary);}
.hm-dock-text span {margin-top: 1px;font-size: 16px;color: var(--c-muted);}

/* ---------- Giá»›i thiá»‡u: chá»¯ + collage áº£nh ---------- */
.hm-welcome {
    padding: clamp(36px, 5vw, 64px) 0 clamp(46px, 6vw, 84px);
    background: var(--c-sand) url("../images/bg-doodle.png") center / cover no-repeat;
}
.hm-welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.hm-welcome-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
    color: var(--c-primary);
}
.hm-welcome-body {font-size: 17px;line-height: 1.8;color: var(--c-body);text-align: justify;font-weight: 500;}
.hm-welcome-body .home-intro-slogan {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 14px;
    font-family: var(--font-script);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--c-red);
}
.hm-welcome-body .home-intro-slogan::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 86px; height: var(--rule);
    border-radius: var(--rule);
    background: var(--c-accent);
}
.hm-welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hm-welcome-actions .btn-book { padding: 12px 26px; border-radius: var(--radius-pill); font-size: 15px; }
.hm-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 10px 26px;
    border: 2px solid var(--c-primary);
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    color: var(--c-primary);
    transition: background var(--t-fast), color var(--t-fast);
}
.hm-btn-ghost:hover { background: var(--c-primary); color: var(--c-white); }

/* Collage: áº£nh chÃ­nh dáº¡ng vÃ²m + áº£nh trÃ²n + áº£nh vuÃ´ng bo gÃ³c, Ä‘áº·t báº±ng % Ä‘á»ƒ co giÃ£n theo khung. */
.hm-collage { position: relative; aspect-ratio: 1.06 / 1; }
.hm-collage::before {
    content: "";
    position: absolute;
    right: 2%; bottom: 6%;
    width: 46%; aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--c-accent-soft);
    border: 3px dashed var(--c-accent);
}
.hm-collage-photo { position: absolute; display: block; overflow: hidden; border: 6px solid var(--c-white); background: var(--c-primary-mist); box-shadow: var(--shadow); }
.hm-collage-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-collage-a { left: 0; top: 0; width: 60%; height: 100%; border-radius: 999px 999px 26px 26px; }
.hm-collage-b {right: 0;top: 17%;width: 36%;aspect-ratio: 1 / 1;border-radius: 16px;}
.hm-collage-c { right: 3%; bottom: 3%; width: 42%; aspect-ratio: 1.15 / 1; border-radius: 24px; }

/* ---------- Dáº£i phÆ°Æ¡ng chÃ¢m ---------- */
.hm-motto {
    position: relative;
    padding: clamp(36px, 5vw, 30px) 0;
    /* background: var(--c-primary) url(../images/bg-motto.png) center / cover no-repeat; */
    color: var(--c-white);
    /* background-color: #1652a4; */
}
.hm-motto-grid { display: flex; align-items: stretch; justify-content: center; gap: clamp(14px, 2.4vw, 30px); }
/* Má»—i má»¥c lÃ  má»™t táº¥m tháº» kÃ­nh má»: icon to bÃªn trÃ¡i, tiÃªu Ä‘á» + mÃ´ táº£ bÃªn pháº£i, má»™t váº¡ch vÃ ng dÆ°á»›i tiÃªu Ä‘á». */
.hm-motto-item {
    flex: 1 1 0;
    max-width: 540px;
    display: flex;
    align-items: center;
    gap: clamp(26px, 2vw, 43px);
    padding: 20px 30px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 28px;
    background: rgb(7 36 87 / 96%);
    box-shadow: 0 14px 34px rgba(7, 36, 87, .35);
    backdrop-filter: blur(3px);
}
.hm-motto-item .item-icon {
    flex: 0 0 clamp(84px, 9vw, 80px);
    width: clamp(84px, 9vw, 80px);
    height: clamp(84px, 9vw, 80px);
    border-radius: 50%;
    background: var(--c-white);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 0 0 12px var(--c-accent-soft);
}
.hm-motto-item .item-icon img { width: 78%; height: 78%; object-fit: contain; }
.hm-motto-text { display: flex; flex-direction: column; gap: 8px; line-height: 1.25; }
.hm-motto-text strong {
    position: relative;
    padding-bottom: 15px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--c-accent);
}
.hm-motto-text strong::after {content: "";position: absolute;left: 0;bottom: 8px;width: 65px;height: var(--rule);border-radius: var(--rule);background: var(--c-white);}
.hm-motto-text span {font-size: 18px;font-weight: 400;line-height: 1.45;color: var(--c-white);}
.hm-motto-text { text-shadow: 0 1px 8px var(--c-primary-darker), 0 0 3px var(--c-primary-darker); }
/* Huy hiá»‡u logo á»Ÿ giá»¯a hai tháº» */
.hm-motto-emblem {
    flex: 0 0 auto;
    align-self: center;
    width: clamp(84px, 9vw, 120px); height: clamp(84px, 9vw, 120px);
    padding: 5px;
    border-radius: 50%;
    background: var(--c-white);
    box-shadow: 0 0 0 5px var(--c-accent), 0 10px 26px rgba(7, 36, 87, .4);
}
.hm-motto-emblem img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.hm-motto-sep { align-self: center; width: 14px; height: 14px; flex: 0 0 14px; background: var(--c-accent); transform: rotate(45deg); border-radius: 3px; }

/* ---------- Tin tá»©c: kiá»ƒu táº¡p chÃ­ ---------- */
.hm-news {position: relative;padding: clamp(24px, 3vw, 40px) 0 clamp(70px, 9vw, 112px);background: #fbf3e1;}
/* ÄÃ¡y cong mÃ u cÃ¡t ná»‘i sang khá»‘i Hoáº¡t Ä‘á»™ng ngay dÆ°á»›i. */
.hm-news::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(30px, 4.4vw, 60px);
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hm-news-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }

.hm-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(320px, 38vw, 470px);
    overflow: hidden;
    border-radius: 28px;
    background: var(--c-sea);
    box-shadow: var(--shadow);
}
.hm-feature-media { position: absolute; inset: 0; display: block; }
.hm-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-feature:hover .hm-feature-media img { transform: scale(1.04); }
.hm-feature-body {
    position: relative;
    z-index: 1;
    padding: 90px clamp(18px, 2.6vw, 30px) clamp(18px, 2.6vw, 28px);
    background: linear-gradient(to top, var(--c-sea-deep) 8%, transparent 100%);
    color: var(--c-white);
    pointer-events: none;
}
.hm-feature-body a { pointer-events: auto; }
.hm-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: var(--c-accent);
    color: var(--c-primary-darker);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hm-feature-title { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 700; line-height: 1.3; }
.hm-feature-title a { color: var(--c-white); }
.hm-feature-title a:hover { color: var(--c-accent); }
.hm-feature-desc {
    margin: 0 0 10px;
    font-size: .9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .88);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-date { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--c-muted); }
.hm-feature .hm-date { color: rgba(255, 255, 255, .8); }

.hm-newslist { display: flex; flex-direction: column; gap: 14px; }
.hm-newsrow {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: clamp(104px, 11vw, 150px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.hm-newsrow:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--c-accent); }
.hm-newsrow-media { display: block; overflow: hidden; border-radius: 14px; background: var(--c-primary-mist); aspect-ratio: 4 / 3; }
.hm-newsrow-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-newsrow-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hm-newsrow-title { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-newsrow-title a { color: var(--c-ink); }
.hm-newsrow-title a:hover { color: var(--c-primary); }
.hm-thumb-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 80px; color: var(--c-sky); font-size: 2rem; }

/* ---------- Báº£ng thÃ´ng bÃ¡o: ná»n báº£ng pháº¥n ---------- */
.hm-notice {
    position: relative;
    padding: clamp(64px, 8vw, 100px) 0 clamp(70px, 9vw, 112px);
    background: var(--c-sea) url("../images/bg-notice.jpg") center / cover no-repeat;
}
/* ThÃ´ng bÃ¡o Ä‘á»©ng ngay dÆ°á»›i dáº£i phÆ°Æ¡ng chÃ¢m, trÃªn tin tá»©c: Ä‘Ã¡y cong tÃ´ báº±ng mÃ u ná»n cá»§a section tin tá»©c (--c-bg). */
.hm-notice::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -1px;
    height: clamp(26px, 3.6vw, 50px);
    background: var(--c-bg);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.hm-notice::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(30px, 4.4vw, 60px);
    background: #fbf3e1;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hm-notice .container { position: relative; z-index: 1; }
.hm-notice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-notice .notice-item {
    height: 100%;
    padding: 12px 14px 12px 12px;
    border-radius: 18px;
    background: var(--c-white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.hm-notice .notice-item:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .26); }
.hm-notice .notice-item-icon {/* background: var(--c-primary-mist); *//* color: var(--c-primary); */border-radius: 12px;}
.hm-notice .notice-item:hover .notice-item-title { color: var(--c-red); }

/* ---------- Ná»n hÃ¬nh váº½ chung cho Hoáº¡t Ä‘á»™ng + GÃ³c há»c sinh ---------- */
.hm-sand {
    position: relative;
    padding: clamp(30px, 4vw, 56px) 0 clamp(64px, 8vw, 30px);
    background: var(--c-sand) url("../images/bg-doodle.jpg") center / cover no-repeat;
    padding-top: 20px;
}
.hm-sand::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: clamp(30px, 4.4vw, 60px);
    /* background: var(--c-bg); */
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Hoáº¡t Ä‘á»™ng giÃ¡o dá»¥c lÃ  slide Swiper (cáº¥u hÃ¬nh data-* â€” home.js). Khung Ä‘á»‡m chá»«a chá»— bÃ³ng Ä‘á»• + nháº¥c tháº» khi hover. */
.hm-cards-slider.js-swiper { padding: 8px 8px 14px; margin: -8px -8px 0; }
.hm-cards-slider .swiper-slide { height: auto; }
.hm-cards-slider .swiper-pagination { margin-top: 14px; text-align: center; }

.hm-act {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: clamp(300px, 32vw, 400px);
    overflow: hidden;
    border-radius: 28px;
    background: var(--c-sea);
    box-shadow: var(--shadow);
    transition: transform var(--t), box-shadow var(--t);
}
.hm-act:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hm-act-media { position: absolute; inset: 0; display: block; }
.hm-act-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-act:hover .hm-act-media img { transform: scale(1.06); }
/* Lá»›p phá»§ tá»‘i dáº§n xuá»‘ng Ä‘Ã¡y Ä‘á»ƒ chá»¯ tráº¯ng Ä‘á»c Ä‘Æ°á»£c trÃªn má»i áº£nh. */
.hm-act::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--c-sea-deep) 6%, transparent 62%);
    pointer-events: none;
}
.hm-act-body { padding: 22px 22px 24px; }
.hm-act .item-icon {
    position: absolute;
    top: 18px; left: 18px;
    z-index: 2;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-primary-darker);
    font-size: 1.35rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
}
.hm-act-2 .item-icon { background: var(--c-leaf); color: var(--c-white); }
.hm-act-3 .item-icon { background: var(--c-red); color: var(--c-white); }
.hm-act-title, .hm-act-body p { position: relative; z-index: 2; }
.hm-act-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.hm-act-title a { color: var(--c-white); }
.hm-act-title a:hover { color: var(--c-accent); }
.hm-act-body p { margin: 0; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }

/* ---------- GÃ³c há»c sinh ---------- */
.hm-student { margin-top: clamp(40px, 5vw, 64px); }
.hm-stu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-stu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px 18px 16px;
    border: 2px solid var(--c-primary-soft);
    border-radius: 28px;
    background: var(--c-primary-mist);
    transition: transform var(--t), box-shadow var(--t);
}
.hm-stu-2 { border-color: var(--c-accent); background: var(--c-accent-soft); }
.hm-stu-3 { border-color: var(--c-orange); background: var(--c-orange-soft); }
a.hm-stu:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-stu .item-icon { flex: 0 0 92px; width: 92px; height: 92px; background: transparent; border-radius: 0; }
.hm-stu .item-icon img { width: 92px; height: 92px; object-fit: contain; transition: transform var(--t); }
a.hm-stu:hover .item-icon img { transform: rotate(-5deg) scale(1.06); }
.hm-stu-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.3; }
.hm-stu-text strong {font-family: var(--font-display);font-size: 1.5rem;font-weight: 800;text-transform: uppercase;color: var(--c-primary);margin-bottom: 6px;}
.hm-stu-text span {font-size: 17px;color: var(--c-body);}
.hm-stu-go {
    flex: 0 0 34px;
    margin-left: auto;
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-primary);
    font-size: .8rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}
a.hm-stu:hover .hm-stu-go { transform: translateX(3px); background: var(--c-primary); color: var(--c-white); }

/* ---------- ThÆ° viá»‡n hÃ¬nh áº£nh: bento ---------- */
.hm-gallery {padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 30px);background: var(--c-bg);padding-top: 20px;}
.hm-gal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(120px, 15vw, 210px);
    gap: 14px;
}
.hm-gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.hm-gal-item:nth-child(4) { grid-column: span 2; }
.hm-gal-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: var(--c-primary-mist);
    box-shadow: var(--shadow-sm);
}
.hm-gal-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-gal-item:hover img { transform: scale(1.07); }
.hm-gal-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 34px 16px 12px;
    background: linear-gradient(to top, var(--c-sea-deep), transparent);
    color: var(--c-white);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--t), transform var(--t);
}
.hm-gal-item:hover .hm-gal-cap, .hm-gal-item:focus-visible .hm-gal-cap { opacity: 1; transform: none; }

/* ---------- Responsive cá»§a trang chá»§ ---------- */
@media (max-width: 991.98px) {
    .hm-dock { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; margin-right: 0; }
    .hm-dock-item:nth-child(3)::before { display: none; }
    .hm-hero-slider .swiper-button-prev, .hm-hero-slider .swiper-button-next { width: 34px; height: 34px; margin-top: -17px; padding: 10px; }
    .hm-welcome-grid { grid-template-columns: 1fr; }
    .hm-collage { max-width: 560px; width: 100%; margin: 0 auto; }
    .hm-news-grid { grid-template-columns: 1fr; }
    .hm-notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-stu-grid { grid-template-columns: 1fr; }
    .hm-gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 28vw, 220px); }
    .hm-gal-item:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 767.98px) {
    .hm-head {/* align-items: flex-start; *//* flex-direction: column; */}
    .hm-motto-grid {/* flex-direction: column; *//* align-items: center; *//* gap: 16px; */display: block;}
    .hm-motto-item { width: 100%; max-width: none; }
    .hm-motto-sep, .hm-motto-emblem {display: none;}
}
@media (max-width: 575.98px) {
    .hm-hero-frame { border-width: 3px; }
    .hm-dock-item { gap: 8px; padding: 8px; }
    .hm-dock-item .item-icon, .hm-dock-item .item-icon img { width: 44px; height: 44px; flex-basis: 44px; }
    .hm-dock-text strong { font-size: .875rem; }
    .hm-dock-text span { display: none; }
    .hm-notice-grid {grid-template-columns: 1fr;max-height: 455px;overflow-y: auto;overflow-x: hidden;}
    .hm-newsrow { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
    .hm-gal-grid { gap: 10px; }
    .hm-gal-grid .hm-gal-item:last-child{display:none;}
}

/* ---------- Dáº£i phÆ°Æ¡ng chÃ¢m dáº¡ng BANNER ngang (má»¥c con cÃ³ ImageUrl) ---------- */
.hm-motto-banner {
    position: relative;
    flex: 1 1 0;
    max-width: none;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 26px;
    background: var(--c-primary-dark);
    backdrop-filter: none;
    aspect-ratio: 3 / 1;
    box-shadow: 0 5px 15px rgba(7, 36, 87, .4);
    transition: transform var(--t), box-shadow var(--t);
}
.hm-motto-banner:hover {transform: translateY(-4px);box-shadow: 0 6px 30px rgba(7, 36, 87, .5);}
.hm-motto-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-motto-banner .hm-motto-text {
    position: absolute;
    left: clamp(18px, 3.2vw, 44px);
    top: 50%;
    width: 47%;
    transform: translateY(-50%);
    text-shadow: 0 1px 6px var(--c-primary-darker);
}
.hm-motto-banner .hm-motto-text strong { font-size: clamp(1.6rem, 3.4vw, 2.7rem); }
.hm-motto-banner .hm-motto-text span { font-size: clamp(.875rem, 1.35vw, 1.0625rem); font-weight: 500; }
/* Banner 2 ná»n xanh ngá»c sÃ¡ng: chá»¯ xanh Ä‘áº­m thay vÃ¬ tráº¯ng. */
.hm-motto-banner-2 .hm-motto-text { text-shadow: none; }
.hm-motto-banner-2 .hm-motto-text strong { color: var(--c-primary-dark); }
.hm-motto-banner-2 .hm-motto-text strong::after { background: var(--c-red); }
.hm-motto-banner-2 .hm-motto-text span { color: var(--c-primary-darker); font-weight: 600; }
@media (max-width: 767.98px) {
    .hm-motto-banner {/* aspect-ratio: 2.3 / 1; */margin-bottom: 15px;}
    .hm-motto-banner .hm-motto-text { width: 56%; }
}

/* ---------- Collage giá»›i thiá»‡u: bá»‘ cá»¥c bento (2 Ã´ nhá» xáº¿p dá»c bÃªn trÃ¡i, 1 Ã´ lá»›n cao bÃªn pháº£i) ---------- */
.hm-collage {
    position: relative;
    /* aspect-ratio: 1.12 / 1; */
    display: grid;
    /* grid-template-columns: 5fr 8fr; */
    /* grid-template-rows: 1fr 1.28fr; */
    /* gap: clamp(10px, 1.6vw, 20px); */
}
.hm-collage::before { display: none; }
.hm-collage-photo { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: auto; min-height: 0; border: 5px solid var(--c-white); border-radius: clamp(16px, 2vw, 26px); }
.hm-collage-a {
    position: absolute;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 230px;
    z-index: 1;
    top: 41px;
    left: 60px;
}   /* áº£nh lá»›n bÃªn pháº£i */
.hm-collage-b {
    position: absolute;
    aspect-ratio: 1/1;
    border-radius: 50%;
    left: 200px;
    width: 90%;
}       /* Ã´ nhá» trÃªn-trÃ¡i */
.hm-collage-c {
    position: absolute;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 60%;
    bottom: 8%;
    left: 0;
}       /* Ã´ nhá» dÆ°á»›i-trÃ¡i */
.hm-welcome{
    overflow: hidden;
}