:root {
    --school-primary: #0b4f8a;
    --school-primary-dark: #073b68;
    --school-accent: #f59e0b;
    --school-background: #f4f7fb;
    --school-surface: #ffffff;
    --school-text: #1f2937;
    --school-muted: #64748b;
    --school-border: #dce5ef;
    --school-radius: 12px;
    --school-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --school-width: 1280px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--school-text);
    background: var(--school-background);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.school-shell {
    width: calc(100% - 32px);
    max-width: var(--school-width);
    margin-right: auto;
    margin-left: auto;
}

.school-topbar {
    min-height: 38px;
    color: #fff;
    background: var(--school-primary-dark);
}

.school-topbar a {
    color: #fff;
}

.school-topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.school-topbar-left,
.school-topbar-right {
    display: flex;
    align-items: center;
}

.school-topbar-right {
    gap: 18px;
}

.school-topbar .social-icons,
.school-topbar .personalArea {
    float: none;
}

.school-brand {
    background: var(--school-surface);
    border-bottom: 1px solid var(--school-border);
}

.school-brand-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.school-brand-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.school-brand-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 94px;
    max-height: 88px;
}

.school-brand-content {
    flex: 1 1 auto;
    min-width: 0;
}

.school-brand-content h1,
.school-site-name {
    margin: 0;
    color: var(--school-primary-dark);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.school-description {
    margin-top: 6px;
    color: var(--school-muted);
    font-size: 15px;
}

.school-brand-extra {
    flex: 0 1 auto;
}

.school-navigation {
    position: relative;
    z-index: 100;
    background: var(--school-primary);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.12);
}

.school-menu {
    min-height: 50px;
}

.school-menu .navbar {
    min-height: 50px;
    margin: 0;
    border: 0;
    background: transparent;
}

.school-menu .navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.school-menu .navbar-nav > li > a {
    padding: 15px 18px;
    color: #fff;
    font-weight: 600;
    line-height: 20px;
}

.school-menu .navbar-nav > li > a:hover,
.school-menu .navbar-nav > li > a:focus,
.school-menu .navbar-nav > .active > a,
.school-menu .navbar-nav > .open > a {
    color: #fff;
    background: var(--school-primary-dark);
}

.school-menu .dropdown-menu {
    min-width: 220px;
    padding: 8px 0;
    border: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--school-shadow);
}

.school-menu .dropdown-menu > li > a {
    padding: 9px 18px;
}

.school-context {
    background: #fff;
    border-bottom: 1px solid var(--school-border);
}

.school-context-inner {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.school-context-meta {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--school-muted);
}

.school-context .breadcrumbs-wrap {
    margin: 0;
}

.school-context .current-time {
    display: inline-block;
    color: var(--school-muted);
}

.school-search {
    width: 300px;
    flex: 0 0 300px;
}

.school-search .input-group {
    width: 100%;
}

.school-search .form-control {
    height: 40px;
    border: 1px solid var(--school-border);
    border-radius: 8px 0 0 8px;
    box-shadow: none;
}

.school-search .btn {
    height: 40px;
    padding-right: 15px;
    padding-left: 15px;
    color: #fff;
    background: var(--school-primary);
    border: 1px solid var(--school-primary);
    border-radius: 0 8px 8px 0;
}

.school-page {
    min-height: 500px;
    padding: 26px 0 44px;
}

.school-main-content {
    min-width: 0;
}

.school-page .panel,
.school-page .well,
.school-page .nv-block-banners {
    border-color: var(--school-border);
    border-radius: var(--school-radius);
    box-shadow: none;
}

.school-page .panel-heading {
    border-radius: var(--school-radius) var(--school-radius) 0 0;
}

.school-home-primary,
.school-home-secondary,
.school-home-laws,
.school-home-public,
.school-home-bottom,
.school-content-top,
.school-content-bottom {
    margin-bottom: 24px;
}

.school-footer {
    color: rgba(255, 255, 255, 0.88);
    background: var(--school-primary-dark);
}

.school-footer-top {
    background: var(--school-primary);
}

.school-footer-main {
    padding: 46px 0 38px;
}

.school-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(240px, 1.2fr);
    gap: 42px;
}

.school-footer-title {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.school-footer-description {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
}

.school-footer-info {
    margin-top: 18px;
}

.school-footer-heading {
    margin-bottom: 15px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

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

.school-footer li {
    margin-bottom: 8px;
}

.school-footer a {
    color: rgba(255, 255, 255, 0.84);
}

.school-footer a:hover,
.school-footer a:focus {
    color: #fff;
}

.school-footer-bottom {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.school-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.school-backtop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.school-backtop a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--school-primary);
    border-radius: 50%;
    box-shadow: var(--school-shadow);
}

.school-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--school-border);
    border-radius: 8px;
}

.school-mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--school-primary-dark);
}

@media (max-width: 991px) {
    .school-brand-inner {
        min-height: 92px;
    }

    .school-brand-content h1,
    .school-site-name {
        font-size: 22px;
    }

    .school-brand-extra {
        display: none;
    }

    .school-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .school-footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .school-shell {
        width: calc(100% - 24px);
    }

    .school-topbar-left,
    .school-social {
        display: none;
    }

    .school-topbar-inner {
        justify-content: flex-end;
    }

    .school-brand-inner {
        min-height: 78px;
        gap: 12px;
    }

    .school-brand-logo img {
        max-width: 60px;
        max-height: 60px;
    }

    .school-brand-content h1,
    .school-site-name {
        font-size: 17px;
    }

    .school-description {
        margin-top: 3px;
        font-size: 12px;
    }

    .school-mobile-toggle {
        display: block;
        flex: 0 0 44px;
    }

    .school-navigation {
        display: none;
    }

    .school-navigation.school-menu-open {
        display: block;
    }

    .school-menu .navbar-nav {
        float: none;
        margin: 0;
    }

    .school-menu .navbar-nav > li {
        float: none;
    }

    .school-menu .navbar-nav > li > a {
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .school-context-inner {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .school-search {
        width: 100%;
        margin-top: 10px;
    }

    .school-page {
        padding-top: 16px;
    }

    .school-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .school-footer-about {
        grid-column: auto;
    }

    .school-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==========================================================
   SCHOOL V2 HOMEPAGE
   ========================================================== */

.school-home {
    display: grid;
    gap: 28px;
}

.school-home-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(120deg, rgba(7, 59, 104, .96), rgba(11, 79, 138, .76)),
        linear-gradient(135deg, #0b4f8a, #3b82c4);
    box-shadow: var(--school-shadow);
}

.school-home-hero-content {
    width: 100%;
    max-width: 760px;
    padding: 52px;
    color: #fff;
}

.school-home-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.school-home-hero h2 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 750;
}

.school-home-hero p {
    max-width: 650px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 17px;
}

.school-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.school-home-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--school-primary-dark);
    background: #fff;
    border-radius: 9px;
    font-weight: 700;
}

.school-home-button:hover {
    color: var(--school-primary);
}

.school-home-button-secondary {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255,255,255,.45);
}

.school-home-section {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--school-border);
    border-radius: 16px;
    box-shadow: 0 5px 22px rgba(15,23,42,.05);
}

.school-home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.school-home-section-title {
    margin: 0;
    color: var(--school-primary-dark);
    font-size: 24px;
    font-weight: 750;
}

.school-home-section-description {
    margin: 5px 0 0;
    color: var(--school-muted);
}

.school-home-section-link {
    flex: 0 0 auto;
    color: var(--school-primary);
    font-weight: 700;
}

.school-home-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr);
    gap: 24px;
}

.school-home-feature {
    min-height: 300px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    border-radius: 14px;
    background:
        linear-gradient(to top, rgba(7,59,104,.96), rgba(7,59,104,.14)),
        linear-gradient(135deg, #4287b8, #8dc2df);
}

.school-home-feature h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.35;
}

.school-home-feature p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.84);
}

.school-home-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.school-home-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--school-border);
}

.school-home-list li:first-child {
    padding-top: 0;
}

.school-home-list li:last-child {
    border-bottom: 0;
}

.school-home-list a {
    color: var(--school-text);
    font-weight: 650;
}

.school-home-list time {
    display: block;
    margin-top: 4px;
    color: var(--school-muted);
    font-size: 13px;
}

.school-home-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.school-home-card {
    min-height: 150px;
    padding: 23px;
    color: var(--school-text);
    background: var(--school-background);
    border: 1px solid var(--school-border);
    border-radius: 13px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.school-home-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--school-shadow);
}

.school-home-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--school-primary);
    border-radius: 12px;
    font-size: 19px;
}

.school-home-card h3 {
    margin: 0;
    color: var(--school-primary-dark);
    font-size: 17px;
}

.school-home-card p {
    margin: 8px 0 0;
    color: var(--school-muted);
    font-size: 14px;
}

.school-home-document-list {
    display: grid;
    gap: 12px;
}

.school-home-document {
    display: grid;
    grid-template-columns: 130px minmax(0,1fr) 110px;
    gap: 18px;
    align-items: center;
    padding: 17px 19px;
    background: var(--school-background);
    border: 1px solid var(--school-border);
    border-radius: 11px;
}

.school-home-document-code {
    color: var(--school-primary);
    font-weight: 750;
}

.school-home-document-title {
    color: var(--school-text);
    font-weight: 650;
}

.school-home-document-date {
    color: var(--school-muted);
    font-size: 13px;
    text-align: right;
}

@media (max-width: 991px) {
    .school-home-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-home-hero-content {
        padding: 38px;
    }
}

@media (max-width: 767px) {
    .school-home {
        gap: 18px;
    }

    .school-home-hero {
        min-height: 310px;
        border-radius: 12px;
    }

    .school-home-hero-content {
        padding: 26px 22px;
    }

    .school-home-hero h2 {
        font-size: 27px;
    }

    .school-home-section {
        padding: 20px;
        border-radius: 12px;
    }

    .school-home-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .school-home-news-grid,
    .school-home-card-grid {
        grid-template-columns: 1fr;
    }

    .school-home-document {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .school-home-document-date {
        text-align: left;
    }
}

/* School activity cards */
.school-activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.school-activity-card {
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #dce5ef;
    border-radius: 13px;
}

.school-activity-image {
    height: 180px;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.school-activity-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.school-activity-card:hover .school-activity-image img {
    transform: scale(1.035);
}

.school-activity-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b4f8a;
    font-size: 36px;
}

.school-activity-body {
    padding: 18px;
}

.school-activity-category {
    margin-bottom: 7px;
    color: #0b4f8a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.school-activity-body h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
}

.school-activity-body h3 a {
    color: #1f2937;
}

.school-activity-body h3 a:hover {
    color: #0b4f8a;
    text-decoration: none;
}

@media (max-width: 991px) {
    .school-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .school-activity-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   SCHOOL V2 PROFESSIONAL FOOTER
   ========================================================== */

.school-footer {
    margin-top: 44px;
    padding: 48px 0 0;
    color: rgba(255,255,255,.86);
    background: #0b4776;
}

.school-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .9fr 1fr;
    gap: 46px;
}

.school-footer-column {
    min-width: 0;
}

.school-footer-heading {
    margin-bottom: 17px;
    color: #fff;
    font-size: 17px;
    font-weight: 750;
}

.school-footer-about p {
    max-width: 430px;
    margin: 0 0 17px;
    color: rgba(255,255,255,.74);
    line-height: 1.7;
}

.school-footer-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 650;
}

.school-footer-home-link:hover,
.school-footer-home-link:focus {
    color: #dbeafe;
    text-decoration: none;
}

.school-footer-links,
.school-footer-contact {
    padding: 0;
    margin: 0;
    list-style: none;
}

.school-footer-links li + li,
.school-footer-contact li + li {
    margin-top: 11px;
}

.school-footer-links a {
    color: rgba(255,255,255,.82);
}

.school-footer-links a:hover,
.school-footer-links a:focus {
    color: #fff;
    text-decoration: none;
}

.school-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: rgba(255,255,255,.76);
    line-height: 1.55;
}

.school-footer-contact i {
    width: 16px;
    margin-top: 3px;
    color: #93c5fd;
    text-align: center;
}

.school-footer-bottom {
    margin-top: 40px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255,255,255,.65);
    border-top: 1px solid rgba(255,255,255,.13);
    font-size: 13px;
}

.school-footer-meta {
    text-align: right;
}

@media (max-width: 991px) {
    .school-footer-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .school-footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .school-footer {
        margin-top: 28px;
        padding-top: 34px;
    }

    .school-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .school-footer-about {
        grid-column: auto;
    }

    .school-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .school-footer-meta {
        text-align: left;
    }
}

/* ==========================================================
   LAWS FLOATING BOX
   ========================================================== */

.school-laws-float {
    position: fixed;
    right: 24px;
    bottom: 82px;
    z-index: 1040;
    width: 340px;
    max-width: calc(100vw - 48px);
    overflow: hidden;
    color: #1f2937;
    background: #fff;
    border: 1px solid #d6e1ec;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
    transition: opacity .2s ease, transform .2s ease;
}

.school-laws-float.is-closed {
    pointer-events: none;
    opacity: 0;
    transform: translateY(18px);
}

.school-laws-float-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 44px 14px 17px;
    color: #fff;
    background: linear-gradient(135deg, #073b68, #0b5f9d);
    font-size: 16px;
    font-weight: 750;
}

.school-laws-float-close {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: rgba(255,255,255,.9);
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 23px;
    line-height: 28px;
    cursor: pointer;
}

.school-laws-float-close:hover,
.school-laws-float-close:focus {
    color: #fff;
    background: rgba(255,255,255,.14);
    outline: none;
}

.school-laws-float-content {
    position: relative;
    max-height: 240px;
    overflow: hidden;
    padding: 5px 17px;
}

/* Chạy danh sách theo chiều dọc */
.school-laws-float-content > * {
    animation: schoolLawsTicker 22s linear infinite;
}

.school-laws-float:hover .school-laws-float-content > *,
.school-laws-float:focus-within .school-laws-float-content > * {
    animation-play-state: paused;
}

.school-laws-float-content ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.school-laws-float-content li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.school-laws-float-content a {
    color: #1f2937;
    font-weight: 650;
    line-height: 1.45;
}

.school-laws-float-content a:hover,
.school-laws-float-content a:focus {
    color: #0b5f9d;
    text-decoration: none;
}

.school-laws-float-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 17px;
    color: #0b4f8a;
    background: #f5f8fc;
    border-top: 1px solid #dce5ef;
    font-size: 13px;
    font-weight: 700;
}

.school-laws-float-more:hover,
.school-laws-float-more:focus {
    color: #073b68;
    text-decoration: none;
}

@keyframes schoolLawsTicker {
    0%,
    14% {
        transform: translateY(0);
    }

    86%,
    100% {
        transform: translateY(-45%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-laws-float-content > * {
        animation: none;
    }

    .school-laws-float-content {
        overflow-y: auto;
    }
}

@media (max-width: 767px) {
    .school-laws-float {
        display: none;
    }
}

/* ==========================================================
   SCHOOL HOME DESKTOP 8 / 4
   ========================================================== */

.school-home-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 26px;
    align-items: start;
}

.school-home-main,
.school-home-sidebar {
    min-width: 0;
    display: grid;
    gap: 26px;
}

.school-home-sidebar-section {
    padding: 22px;
}

.school-home-sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 13px;
    border-bottom: 2px solid #e3edf6;
}

.school-home-sidebar-head > i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    color: #fff;
    background: #0b4f8a;
    border-radius: 9px;
}

.school-home-sidebar-head h2 {
    margin: 0;
    color: #073b68;
    font-size: 19px;
    font-weight: 750;
}

.school-home-sidebar-description {
    margin: -2px 0 15px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.school-sidebar-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.school-sidebar-links li {
    border-bottom: 1px solid #e5edf5;
}

.school-sidebar-links li:last-child {
    border-bottom: 0;
}

.school-sidebar-links a {
    position: relative;
    display: block;
    padding: 12px 4px 12px 17px;
    color: #334155;
    font-weight: 650;
}

.school-sidebar-links a::before {
    position: absolute;
    top: 18px;
    left: 2px;
    width: 5px;
    height: 5px;
    content: "";
    background: #0b5f9d;
    border-radius: 50%;
}

.school-sidebar-links a:hover {
    color: #0b4f8a;
    text-decoration: none;
}

.school-sidebar-more {
    display: inline-flex;
    margin-top: 15px;
    color: #0b4f8a;
    font-size: 13px;
    font-weight: 700;
}

.school-sidebar-more:hover {
    color: #073b68;
    text-decoration: none;
}

.school-sidebar-quicklinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.school-sidebar-quicklinks a {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 12px 8px;
    color: #334155;
    background: #f5f8fc;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
}

.school-sidebar-quicklinks i {
    color: #0b4f8a;
    font-size: 20px;
}

.school-sidebar-quicklinks a:hover {
    color: #073b68;
    background: #eef5fb;
    border-color: #bfd5e8;
    text-decoration: none;
}

/* Ba cong khai trong cot 8 */
.school-home-card-grid-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* LAWS block compact inside sidebar */
.school-home-sidebar .panel {
    margin-bottom: 0;
    border-color: #dce5ef;
    box-shadow: none;
}

.school-home-sidebar .panel-heading {
    padding: 10px 12px;
}

.school-home-sidebar .panel-body {
    padding: 12px;
}

@media (max-width: 991px) {
    .school-home-columns {
        grid-template-columns: 1fr;
    }

    .school-home-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-home-sidebar > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .school-home-columns,
    .school-home-main,
    .school-home-sidebar {
        gap: 18px;
    }

    .school-home-sidebar {
        grid-template-columns: 1fr;
    }

    .school-home-sidebar > :last-child {
        grid-column: auto;
    }

    .school-home-card-grid-main,
    .school-sidebar-quicklinks {
        grid-template-columns: 1fr;
    }
}

/* Sticky right sidebar on desktop */
@media (min-width: 992px) {
    .school-home-sidebar {
        position: sticky;
        top: 20px;
        align-self: start;
    }
}

/* ==========================================================
   SCHOOL V2 OFFICIAL FOOTER
   ========================================================== */

.school-footer {
    position: relative;
    margin-top: 38px;
    color: rgba(255,255,255,.78);
    background: linear-gradient(135deg,#073b68,#0b4f8a 60%,#0c5c98);
}

.school-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg,#f59e0b,#fbbf24,#60a5fa);
}

.school-footer-main {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.1fr .8fr;
    gap: 40px;
    padding: 46px 0 40px;
}

.school-footer-unit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.school-footer-unit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    color: #0b4f8a;
    background: #fff;
    border-radius: 14px;
    font-size: 25px;
}

.school-footer-kicker {
    margin-bottom: 5px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.school-footer-unit-name {
    color: #fff;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}

.school-footer-description {
    max-width: 340px;
    margin: 11px 0 0;
    line-height: 1.7;
}

.school-footer-title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 750;
}

.school-footer-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2px;
    content: "";
    background: #60a5fa;
}

.school-footer-info,
.school-footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.school-footer-info {
    display: grid;
    gap: 14px;
}

.school-footer-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.school-footer-info i {
    width: 18px;
    margin-top: 3px;
    color: #93c5fd;
    text-align: center;
}

.school-footer-info strong,
.school-footer-info span {
    display: block;
}

.school-footer-info strong {
    margin-bottom: 2px;
    color: rgba(255,255,255,.92);
    font-size: 12px;
}

.school-footer-info span {
    color: rgba(255,255,255,.65);
    font-size: 13px;
}

.school-footer-responsibility {
    display: grid;
    gap: 12px;
}

.school-footer-responsibility > div {
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.school-footer-responsibility > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.school-footer-responsibility span,
.school-footer-responsibility strong {
    display: block;
}

.school-footer-responsibility span {
    margin-bottom: 3px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.school-footer-responsibility strong {
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.5;
}

.school-footer-links {
    display: grid;
    gap: 9px;
}

.school-footer-links a {
    color: rgba(255,255,255,.74);
    font-size: 13px;
}

.school-footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.school-footer-bottom {
    background: rgba(2,23,43,.27);
    border-top: 1px solid rgba(255,255,255,.1);
}

.school-footer-bottom-grid {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.school-footer-bottom-grid strong,
.school-footer-bottom-grid span {
    display: block;
}

.school-footer-bottom-grid strong {
    color: rgba(255,255,255,.88);
    font-size: 13px;
}

.school-footer-bottom-grid span {
    margin-top: 3px;
    color: rgba(255,255,255,.53);
    font-size: 11px;
}

.school-footer-bottom-right {
    color: rgba(255,255,255,.55);
    font-size: 11px;
    text-align: right;
}

@media (max-width: 1199px) {
    .school-footer-main {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 767px) {
    .school-footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 38px 0 30px;
    }

    .school-footer-bottom-grid {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .school-footer-bottom-right {
        text-align: left;
    }
}

/* Home library */
.school-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.school-library-item {
    overflow: hidden;
    color: #334155;
    background: #f5f8fc;
    border: 1px solid #dce5ef;
    border-radius: 12px;
}

.school-library-item:hover {
    color: #0b4f8a;
    border-color: #bdd4e7;
    text-decoration: none;
}

.school-library-placeholder {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1672ad, #073b68);
    font-size: 36px;
}

.school-library-item strong {
    display: block;
    padding: 14px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .school-library-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact official footer */
.school-footer {
    margin-top: 28px;
}

.school-footer-main {
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 26px;
}

.school-footer-unit-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 22px;
}

.school-footer-unit-name {
    font-size: 18px;
}

.school-footer-description {
    margin-top: 7px;
    line-height: 1.55;
}

.school-footer-title {
    margin-bottom: 13px;
    padding-bottom: 8px;
}

.school-footer-info {
    gap: 10px;
}

.school-footer-responsibility {
    gap: 8px;
}

.school-footer-responsibility > div {
    padding-bottom: 8px;
}

.school-footer-links {
    gap: 7px;
}

.school-footer-bottom-grid {
    min-height: 54px;
}

@media (max-width: 767px) {
    .school-footer-main {
        gap: 24px;
        padding-top: 28px;
        padding-bottom: 24px;
    }
}

/* ==========================================================
   SCHOOL FOOTER - COMPACT FINAL
   ========================================================== */

.school-footer {
    margin-top: 26px;
}

/* Thu gọn vùng 4 cột */
.school-footer-main {
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 24px;
}

/* Logo nhỏ hơn */
.school-footer-unit-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    font-size: 21px;
    border-radius: 11px;
}

.school-footer-unit {
    gap: 12px;
}

.school-footer-kicker {
    margin-bottom: 3px;
    font-size: 10px;
}

.school-footer-unit-name {
    font-size: 17px;
    line-height: 1.25;
}

.school-footer-description {
    margin-top: 7px;
    line-height: 1.5;
    font-size: 12px;
}

/* Tiêu đề các cột gọn lại */
.school-footer-title {
    margin-bottom: 12px;
    padding-bottom: 7px;
    font-size: 14px;
}

/* Liên hệ */
.school-footer-info {
    gap: 9px;
}

.school-footer-info strong {
    font-size: 11px;
}

.school-footer-info span {
    font-size: 12px;
}

/* Trách nhiệm nội dung */
.school-footer-responsibility {
    gap: 7px;
}

.school-footer-responsibility > div {
    padding-bottom: 7px;
}

.school-footer-responsibility span {
    margin-bottom: 2px;
    font-size: 10px;
}

.school-footer-responsibility strong {
    font-size: 12px;
}

/* Danh sách liên kết */
.school-footer-links {
    gap: 6px;
}

.school-footer-links a {
    font-size: 12px;
}

/* Thanh copyright */
.school-footer-bottom-grid {
    min-height: 48px;
}

.school-footer-bottom-grid strong {
    font-size: 12px;
}

.school-footer-bottom-grid span {
    margin-top: 2px;
    font-size: 10px;
}

.school-footer-bottom-right {
    font-size: 10px;
}

/* Tablet */
@media (max-width: 1199px) {
    .school-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 32px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .school-footer {
        margin-top: 20px;
    }

    .school-footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 26px;
        padding-bottom: 22px;
    }

    .school-footer-bottom-grid {
        min-height: auto;
        padding: 14px 0;
    }
}

/* School Muine branding banner */
.school-brand-banner {
    width: 100%;
    height: clamp(260px, 27vw, 380px);
    overflow: hidden;
    background: #dceefa;
}

.school-brand-banner-link {
    width: 100%;
    height: 100%;
    display: block;
    line-height: 0;
}

.school-brand-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 44%;
}

@media (max-width: 991px) {
    .school-brand-banner {
        height: 250px;
    }

    .school-brand-banner-image {
        object-position: center center;
    }
}

@media (max-width: 767px) {
    .school-brand-banner {
        height: 190px;
    }

    .school-brand-banner-image {
        object-position: 48% center;
    }
}

@media (max-width: 479px) {
    .school-brand-banner {
        height: 150px;
    }
}

.school-footer-unit-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    padding: 3px;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}

.school-footer-unit-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

/* Banner final: show complete artwork */
.school-brand-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #dceefa;
}

.school-brand-banner-link {
    display: block;
    width: 100%;
    height: auto;
    line-height: 0;
}

.school-brand-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
}

/* Keep banner from becoming too tall on very wide desktops */
@media (min-width: 1600px) {
    .school-brand-banner-image {
        max-width: 1536px;
    }

    .school-brand-banner {
        background: #bfe4fa;
    }
}

/* Mobile: still preserve the complete banner */
@media (max-width: 767px) {
    .school-brand-banner {
        height: auto;
    }

    .school-brand-banner-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.school-footer-unit-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    padding: 3px;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}

.school-footer-unit-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Banner balanced final size */
.school-brand-banner {
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #bfe3f7;
    text-align: center;
}

.school-brand-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.school-brand-banner-image {
    display: block;
    width: min(100%, 1380px);
    height: auto;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
    .school-brand-banner-image {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .school-brand-banner-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* ==========================================================
   OFFICIAL SCHOOL LOGO ON BANNER
   ========================================================== */

.school-brand-banner {
    position: relative;
}

.school-brand-banner-link {
    position: relative;
}

.school-brand-official-logo {
    position: absolute;
    top: 24px;
    left: max(24px, calc((100% - 1380px) / 2 + 24px));
    z-index: 5;

    width: 118px;
    height: 118px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7px;
    overflow: hidden;

    background: rgba(255,255,255,.96);
    border: 3px solid rgba(255,255,255,.95);
    border-radius: 50%;

    box-shadow:
        0 8px 24px rgba(7,59,104,.28),
        0 0 0 2px rgba(11,79,138,.15);
}

.school-brand-official-logo img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: contain;
    object-position: center;

    border-radius: 50%;
}

/* Tablet */
@media (max-width: 991px) {
    .school-brand-official-logo {
        top: 16px;
        left: 16px;

        width: 92px;
        height: 92px;

        padding: 5px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .school-brand-official-logo {
        top: 10px;
        left: 10px;

        width: 68px;
        height: 68px;

        padding: 4px;
        border-width: 2px;
    }
}

@media (max-width: 479px) {
    .school-brand-official-logo {
        width: 56px;
        height: 56px;
    }
}

/* ==========================================================
   OFFICIAL LOGO - FORCE VISIBLE
   ========================================================== */

.school-brand-banner {
    position: relative !important;
}

.school-brand-banner-link {
    position: relative !important;
    display: block !important;
}

.school-brand-banner-image {
    position: relative;
    z-index: 1;
}

.school-brand-official-logo {
    position: absolute !important;
    top: 24px !important;
    left: 24px !important;
    z-index: 50 !important;

    width: 132px !important;
    height: 132px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 7px;

    background: #fff;
    border: 3px solid #fff;
    border-radius: 50%;

    box-shadow: 0 8px 28px rgba(0, 50, 90, .35);
}

.school-brand-official-logo img {
    position: relative;
    z-index: 51;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    object-fit: contain;
    border-radius: 50%;
}

/* Tablet */
@media (max-width: 991px) {
    .school-brand-official-logo {
        top: 14px !important;
        left: 14px !important;

        width: 96px !important;
        height: 96px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .school-brand-official-logo {
        top: 8px !important;
        left: 8px !important;

        width: 68px !important;
        height: 68px !important;

        padding: 3px;
        border-width: 2px;
    }
}

/* ==========================================================
   HQC BANNER FINAL
   ========================================================== */

.school-brand-banner {
    position: relative !important;
    width: 100%;
    height: auto !important;
    overflow: hidden;
    background: #c9eafb;
    text-align: center;
}

.school-brand-banner-link {
    position: relative !important;
    display: block !important;
    width: 100%;
    height: auto !important;
    line-height: 0;
}

.school-brand-banner-image {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 1380px) !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto;
    object-fit: contain !important;
    object-position: center center !important;
}

/*
 * Logo thật Hồ Quang Cảnh.
 * Nhỏ hơn phiên bản trước để không cạnh tranh với tiêu đề banner.
 */
.school-brand-official-logo {
    position: absolute !important;
    top: 16px !important;
    left: max(16px, calc((100% - 1380px) / 2 + 16px)) !important;
    z-index: 20 !important;

    width: 82px !important;
    height: 82px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 4px;

    background: rgba(255,255,255,.94);
    border: 2px solid rgba(255,255,255,.96);
    border-radius: 50%;

    box-shadow: 0 5px 18px rgba(7,59,104,.25);
}

.school-brand-official-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center;
    border-radius: 50%;
}

/* Tablet */
@media (max-width: 991px) {
    .school-brand-banner-image {
        width: 100% !important;
    }

    .school-brand-official-logo {
        top: 10px !important;
        left: 10px !important;
        width: 66px !important;
        height: 66px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .school-brand-official-logo {
        top: 6px !important;
        left: 6px !important;
        width: 48px !important;
        height: 48px !important;
        padding: 2px;
    }
}

/* HQC logo final prominence */
.school-brand-official-logo {
    top: 18px !important;
    left: max(18px, calc((100% - 1380px) / 2 + 18px)) !important;

    width: 128px !important;
    height: 128px !important;

    padding: 6px !important;
    z-index: 50 !important;

    background: rgba(255,255,255,.97) !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;

    box-shadow: 0 7px 24px rgba(7,59,104,.32) !important;
}

.school-brand-official-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Tablet */
@media (max-width: 991px) {
    .school-brand-official-logo {
        width: 92px !important;
        height: 92px !important;
        top: 12px !important;
        left: 12px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .school-brand-official-logo {
        width: 66px !important;
        height: 66px !important;
        top: 7px !important;
        left: 7px !important;
        padding: 3px !important;
        border-width: 2px !important;
    }
}
/* Safe homepage cleanup after restoring 8/4 */

/* Banner phía trên đã đảm nhiệm nhận diện */
.school-home > .school-home-hero {
    display: none !important;
}

/* Thư viện hiện chỉ là placeholder tĩnh */
.school-home-library {
    display: none !important;
}

/* LAWS COMPACT FINAL */

.school-home-sidebar .panel {
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.school-home-sidebar .panel > .panel-heading {
    display: none;
}

.school-home-sidebar .panel > .panel-body {
    padding: 0;
}

.school-law-compact {
    height: 220px;
    overflow: hidden;
}

.school-law-item {
    padding: 11px 1px;
    border-bottom: 1px solid #e3ebf3;
}

.school-law-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.school-law-code {
    color: #0b5f9d;
    font-size: 12px;
    font-weight: 700;
}

.school-law-date {
    color: #8a98a8;
    font-size: 10px;
    white-space: nowrap;
}

.school-law-title {
    display: block;
    color: #26384a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.school-law-code:hover,
.school-law-code:focus,
.school-law-title:hover,
.school-law-title:focus {
    color: #073b68;
    text-decoration: none;
}

/* Hide empty activities until real content exists */
.school-home-activities {
    display: none !important;
}

/* Hide placeholder library until real media exists */
.school-home-library {
    display: none !important;
}
/* HOME MOMENTS */
.school-moments {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dce6ef;
    border-radius: 12px;
}
.school-moments-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}
.school-moments-head h2 {
    margin: 0;
    color: #073b68;
    font-size: 18px;
}
.school-moments-head p {
    margin: 3px 0 0;
    color: #708092;
    font-size: 12px;
}
.school-moments-head > a {
    color: #0b5f9d;
    font-size: 12px;
    font-weight: 700;
}
.school-moments-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 118px);
    gap: 10px;
}
.school-moment {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    background: #dce8f2;
}
.school-moment-main {
    grid-row: 1 / 3;
}
.school-moment img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}
.school-moment:hover img {
    transform: scale(1.035);
}
.school-moment-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(3,33,58,.9),rgba(3,33,58,0));
}
.school-moment-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12px;
    color: #fff;
}
.school-moment-caption small,
.school-moment-caption strong {
    display: block;
}
.school-moment-caption small {
    margin-bottom: 3px;
    color: rgba(255,255,255,.75);
    font-size: 10px;
}
.school-moment-caption strong {
    font-size: 12px;
    line-height: 1.35;
}
.school-moment-main .school-moment-caption strong {
    font-size: 15px;
}
@media(max-width:767px) {
    .school-moments-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .school-moment-main {
        grid-row: auto;
    }
    .school-moment {
        min-height: 180px;
    }
}
/* FOOTER V3 - COMPACT 3 COLUMNS */
.school-footer-v3 {
    margin-top: 18px;
    color: rgba(255,255,255,.82);
    background: linear-gradient(135deg,#074879,#0b5a91);
    border-top: 3px solid #f2af21;
}
.school-footer-v3-main {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.1fr;
    gap: 34px;
    padding: 30px 0 26px;
}
.school-footer-v3-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.school-footer-v3-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    padding: 3px;
    overflow: hidden;
    background: #fff;
    border-radius: 50%;
}
.school-footer-v3-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 50%;
}
.school-footer-v3-kicker {
    margin-bottom: 4px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.school-footer-v3-name {
    color: #fff;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.3;
}
.school-footer-v3-brand p {
    max-width: 340px;
    margin: 8px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.55;
}
.school-footer-v3-column h2 {
    position: relative;
    margin: 0 0 15px;
    padding-bottom: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
}
.school-footer-v3-column h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    content: "";
    background: #69b7e8;
}
.school-footer-v3-info {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.school-footer-v3-info li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.school-footer-v3-info i {
    width: 18px;
    margin-top: 3px;
    color: #9fd4f5;
    text-align: center;
}
.school-footer-v3-info strong,
.school-footer-v3-info span {
    display: block;
}
.school-footer-v3-info strong {
    color: #fff;
    font-size: 12px;
}
.school-footer-v3-info span {
    margin-top: 2px;
    color: rgba(255,255,255,.7);
    font-size: 12px;
}
.school-footer-v3-responsibility {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
}
.school-footer-v3-responsibility > div {
    padding: 7px 8px;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
}
.school-footer-v3-responsibility span,
.school-footer-v3-responsibility strong {
    display: block;
}
.school-footer-v3-responsibility span {
    color: rgba(255,255,255,.6);
    font-size: 10px;
}
.school-footer-v3-responsibility strong {
    margin-top: 3px;
    color: #fff;
    font-size: 11px;
}
.school-footer-v3-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
}
.school-footer-v3-links a {
    color: #d7edfb;
    font-size: 11px;
}
.school-footer-v3-links a:hover {
    color: #fff;
    text-decoration: none;
}
.school-footer-v3-bottom {
    background: rgba(2,29,52,.28);
    border-top: 1px solid rgba(255,255,255,.1);
}
.school-footer-v3-bottom-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.school-footer-v3-bottom-inner strong,
.school-footer-v3-bottom-inner span {
    display: block;
}
.school-footer-v3-bottom-inner strong {
    color: #fff;
    font-size: 12px;
}
.school-footer-v3-bottom-inner span {
    margin-top: 2px;
    color: rgba(255,255,255,.6);
    font-size: 10px;
}
.school-footer-v3-system {
    color: rgba(255,255,255,.6);
    font-size: 10px;
    text-align: right;
}

@media(max-width:991px) {
    .school-footer-v3-main {
        grid-template-columns: 1fr 1fr;
    }
    .school-footer-v3-brand {
        grid-column: 1 / -1;
    }
}
@media(max-width:767px) {
    .school-footer-v3-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 0 22px;
    }
    .school-footer-v3-brand {
        grid-column: auto;
    }
    .school-footer-v3-responsibility {
        grid-template-columns: 1fr;
    }
    .school-footer-v3-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }
    .school-footer-v3-system {
        text-align: left;
    }
}

/* EDUCATION & PUBLIC SYSTEM LINKS */
.school-system-link-list {
    display: grid;
    gap: 8px;
}
.school-system-link-list > a {
    display: grid;
    grid-template-columns: 36px minmax(0,1fr) 14px;
    align-items: center;
    gap: 9px;
    padding: 9px;
    color: #263b4f;
    background: #f7fafc;
    border: 1px solid #dce7ef;
    border-radius: 8px;
    text-decoration: none;
    transition: .2s ease;
}
.school-system-link-list > a:hover {
    color: #073b68;
    background: #edf6fc;
    border-color: #a9cce4;
    transform: translateY(-1px);
}
.school-system-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #08649c;
    border-radius: 8px;
}
.school-system-icon i {
    font-size: 14px;
}
.school-system-text {
    min-width: 0;
}
.school-system-text strong,
.school-system-text small {
    display: block;
}
.school-system-text strong {
    color: #153c5d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}
.school-system-text small {
    margin-top: 2px;
    color: #7e8e9e;
    font-size: 9px;
    line-height: 1.3;
}
.school-system-out {
    color: #9aa9b6;
    font-size: 10px;
}


/* HOME MESSAGE FREE CONTENT TICKER FINAL */
.school-home-main > .panel-body {
    position: relative;
    margin: 20px 0;
    padding: 0 !important;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(120deg,#06497b,#0875ad 52%,#07588c);
    border: 1px solid rgba(255,255,255,.2);
    border-left: 4px solid #ffc83d;
    border-radius: 11px;
    box-shadow: 0 7px 20px rgba(5,62,102,.14);
}
.school-home-main > .panel-body .featured-products {
    position: relative;
    z-index: 2;
}
.school-home-main > .panel-body .row.clearfix {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    min-height: 60px;
    margin: 0 !important;
}
.school-home-main > .panel-body .h3 {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 17px 0 43px;
    color: #fff3b5;
    background: rgba(1,38,66,.36);
    border-right: 1px solid rgba(255,255,255,.17);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
}
.school-home-main > .panel-body .h3::before {
    position: absolute;
    left: 17px;
    content: "\f0a1";
    color: #ffd252;
    font-family: FontAwesome;
    font-size: 16px;
    animation: schoolMessageBell 3s ease-in-out infinite;
}
.school-home-main > .panel-body .col-xs-24.col-sm-5.col-md-8 {
    display: none;
}
.school-home-main > .panel-body .col-xs-24.col-sm-19.col-md-16 {
    width: auto !important;
    max-width: none !important;
    overflow: hidden;
    padding: 0 !important;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 60px;
    text-indent: 100%;
    white-space: nowrap;
    animation: schoolMessageTicker 20s linear infinite;
}
.school-home-main > .panel-body:hover .col-xs-24.col-sm-19.col-md-16 {
    animation-play-state: paused;
}
.school-home-main > .panel-body::after {
    position: absolute;
    top: 0;
    right: 13px;
    bottom: 0;
    width: 6px;
    height: 6px;
    margin: auto;
    content: "";
    background: #ffd252;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,210,82,.13),0 0 12px rgba(255,210,82,.45);
}
@keyframes schoolMessageTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-200%); }
}
@keyframes schoolMessageBell {
    0%,86%,100% { transform: rotate(0); }
    91% { transform: rotate(-11deg); }
    96% { transform: rotate(11deg); }
}
@media(max-width:767px) {
    .school-home-main > .panel-body .row.clearfix {
        grid-template-columns: 1fr;
    }
    .school-home-main > .panel-body .h3 {
        height: 40px;
        justify-content: center;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }
    .school-home-main > .panel-body .col-xs-24.col-sm-19.col-md-16 {
        line-height: 48px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .school-home-main > .panel-body .col-xs-24.col-sm-19.col-md-16 {
        padding: 12px 15px !important;
        line-height: 1.5;
        text-indent: 0;
        white-space: normal;
        animation: none;
    }
    .school-home-main > .panel-body .h3::before {
        animation: none;
    }
}

/* HOME MESSAGE TICKER - READABILITY OVERRIDE */
.school-home-main > .panel-body .row.clearfix {
    min-height: 68px;
}
.school-home-main > .panel-body .h3 {
    height: 68px;
    padding: 0 20px 0 48px;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .035em;
}
.school-home-main > .panel-body .h3::before {
    left: 20px;
    font-size: 19px;
}
.school-home-main > .panel-body .col-xs-24.col-sm-19.col-md-16 {
    padding-right: 28px !important;
    font-size: 16px;
    font-weight: 650;
    line-height: 68px;
}
@media(max-width:767px) {
    .school-home-main > .panel-body .h3 {
        height: 44px;
        font-size: 13px;
    }
    .school-home-main > .panel-body .col-xs-24.col-sm-19.col-md-16 {
        font-size: 14px;
        line-height: 52px;
    }
}
/* HOME MESSAGE COMPACT FLEX FIX */

.school-home-main > .panel-body {
    height: 64px !important;
    min-height: 64px !important;
    margin: 20px 0 26px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.school-home-main > .panel-body .featured-products {
    width: 100% !important;
    height: 64px !important;
}

.school-home-main > .panel-body .row.clearfix {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
}

.school-home-main > .panel-body .h3 {
    order: 1 !important;
    position: relative !important;
    flex: 0 0 190px !important;
    width: 190px !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 16px 0 47px !important;
    display: flex !important;
    align-items: center !important;
    color: #fff3b5 !important;
    background: rgba(1,38,66,.38) !important;
    border-right: 1px solid rgba(255,255,255,.16) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
}

.school-home-main > .panel-body .h3::before {
    left: 19px !important;
    font-size: 18px !important;
}

.school-home-main > .panel-body .col-xs-24.col-sm-5.col-md-8 {
    display: none !important;
}

.school-home-main > .panel-body .col-xs-24.col-sm-19.col-md-16 {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 34px 0 0 !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 64px !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .school-home-main > .panel-body,
    .school-home-main > .panel-body .featured-products,
    .school-home-main > .panel-body .row.clearfix {
        height: auto !important;
    }

    .school-home-main > .panel-body .row.clearfix {
        flex-direction: column !important;
    }

    .school-home-main > .panel-body .h3 {
        flex: 0 0 42px !important;
        width: 100% !important;
        height: 42px !important;
        justify-content: center !important;
        border-right: 0 !important;
    }

    .school-home-main > .panel-body .col-xs-24.col-sm-19.col-md-16 {
        width: 100% !important;
        height: 52px !important;
        font-size: 14px !important;
        line-height: 52px !important;
    }
}
/* HOME MESSAGE TEXT VISIBILITY FIX */

.school-home-main > .panel-body
.col-xs-24.col-sm-19.col-md-16 {
    position: static !important;
    display: flex !important;
    align-items: center !important;

    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 64px !important;

    margin: 0 !important;
    padding: 0 40px 0 22px !important;

    overflow: hidden !important;
    color: #fff !important;

    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;

    text-indent: 0 !important;
    white-space: normal !important;

    transform: none !important;
    animation: none !important;
}

@media (max-width: 767px) {
    .school-home-main > .panel-body
    .col-xs-24.col-sm-19.col-md-16 {
        width: 100% !important;
        height: auto !important;
        min-height: 58px !important;

        padding: 10px 16px !important;

        font-size: 14px !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }
}
/* HOME MESSAGE TEXT VISIBILITY FIX */

.school-home-main > .panel-body
.col-xs-24.col-sm-19.col-md-16 {
    position: static !important;
    display: flex !important;
    align-items: center !important;

    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 64px !important;

    margin: 0 !important;
    padding: 0 40px 0 22px !important;

    overflow: hidden !important;
    color: #fff !important;

    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;

    text-indent: 0 !important;
    white-space: normal !important;

    transform: none !important;
    animation: none !important;
}

@media (max-width: 767px) {
    .school-home-main > .panel-body
    .col-xs-24.col-sm-19.col-md-16 {
        width: 100% !important;
        height: auto !important;
        min-height: 58px !important;

        padding: 10px 16px !important;

        font-size: 14px !important;
        line-height: 1.45 !important;
        text-align: center !important;
    }
}

/* WELCOME TICKER */

.school-welcome-ticker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;

    height: 42px;
    margin: 12px 0 18px;

    overflow: hidden;

    background: #fff;
    border: 1px solid #d7e4ee;
    border-left: 4px solid #f5ad24;
    border-radius: 8px;

    box-shadow: 0 3px 12px rgba(7,59,104,.07);
}

.school-welcome-label {
    height: 42px;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 0 15px;

    color: #fff;
    background: #075b91;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
    text-transform: uppercase;
}

.school-welcome-label i {
    color: #ffd256;
    font-size: 15px;
}

.school-welcome-window {
    position: relative;

    min-width: 0;
    height: 42px;

    overflow: hidden;
}

.school-welcome-track {
    position: absolute;
    top: 0;
    left: 100%;

    display: flex;
    align-items: center;
    gap: 14px;

    width: max-content;
    height: 42px;

    color: #164d73;

    font-size: 14px;
    font-weight: 650;

    white-space: nowrap;

    animation: schoolWelcomeTicker 24s linear infinite;
}

.school-welcome-dot {
    color: #e99818;
    font-size: 18px;
}

.school-welcome-ticker:hover .school-welcome-track {
    animation-play-state: paused;
}

@keyframes schoolWelcomeTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 100vw));
    }
}

@media (max-width: 767px) {
    .school-welcome-ticker {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .school-welcome-label {
        justify-content: center;
        padding: 0 8px;
        font-size: 10px;
    }

    .school-welcome-track {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-welcome-track {
        position: static;

        width: auto;
        padding: 0 14px;

        overflow: hidden;
        text-overflow: ellipsis;

        animation: none;
    }
}
/* WELCOME TICKER - COMPACT FINAL */

.school-welcome-ticker {
    height: 40px !important;
    margin: 8px 0 10px !important;
    border-radius: 7px !important;
}

.school-welcome-label,
.school-welcome-window,
.school-welcome-track {
    height: 40px !important;
}

.school-welcome-label {
    padding: 0 14px !important;
    font-size: 11px !important;
}

.school-welcome-label i {
    font-size: 14px !important;
}

.school-welcome-track {
    font-size: 13px !important;
}
/* HOMEPAGE VERTICAL RHYTHM FINAL */

.school-home {
    gap: 18px !important;
}

.school-welcome-ticker {
    height: 40px !important;
    margin: 0 !important;
}

.school-welcome-label,
.school-welcome-window,
.school-welcome-track {
    height: 40px !important;
}
/* WELCOME TICKER - VISUAL POLISH */

.school-welcome-ticker {
    height: 40px !important;
    margin: 0 !important;
    background: linear-gradient(90deg, #ffffff, #f7fbfe) !important;
    border-color: #cfdfeb !important;
    border-left: 4px solid #f4ae25 !important;
    box-shadow: 0 3px 10px rgba(7, 59, 104, .06) !important;
}

.school-welcome-label {
    height: 40px !important;
    padding: 0 15px !important;
    background: linear-gradient(135deg, #07598e, #0871aa) !important;
    font-size: 12px !important;
    letter-spacing: .02em;
}

.school-welcome-label i {
    color: #ffd354 !important;
    font-size: 15px !important;
}

.school-welcome-window,
.school-welcome-track {
    height: 40px !important;
}

.school-welcome-track {
    color: #14567f !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 40px !important;
    animation-duration: 28s !important;
}

.school-welcome-dot {
    color: #e99c20 !important;
}
/* DYNAMIC EDUCATION ACTIVITIES */

.school-education-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.school-education-dynamic-card {
    min-width: 0;
    padding: 20px;
    background: #f5f8fc;
    border: 1px solid #d9e4ed;
    border-radius: 12px;
    transition: transform .2s ease,
                border-color .2s ease,
                box-shadow .2s ease;
}

.school-education-dynamic-card:hover {
    transform: translateY(-2px);
    border-color: #b5cfdf;
    box-shadow: 0 8px 20px rgba(7, 67, 108, .08);
}

.school-education-dynamic-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.school-education-dynamic-head .school-home-card-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.school-education-dynamic-head h3 {
    margin: 0;
    color: #073f6c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.school-education-dynamic-head a {
    display: inline-block;
    margin-top: 3px;
    color: #47728f;
    font-size: 11px;
    font-weight: 600;
}

.school-education-news-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-education-news-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 10px 0;
    border-top: 1px solid #dce6ee;
}

.school-education-news-list time {
    padding-top: 2px;
    color: #8193a3;
    font-size: 10px;
    font-weight: 600;
}

.school-education-news-list a {
    display: -webkit-box;
    overflow: hidden;
    color: #233e56;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.school-education-news-list a:hover {
    color: #08699f;
}

.school-education-fallback {
    min-height: 42px;
    margin: 0;
    color: #587188;
    font-size: 12px;
    line-height: 1.55;
}

.school-education-updating {
    display: inline-block;
    margin-top: 9px;
    color: #8a9aa8;
    font-size: 10px;
    font-style: italic;
}

@media (max-width: 767px) {
    .school-education-dynamic-grid {
        grid-template-columns: 1fr;
    }

    .school-education-dynamic-card {
        padding: 17px;
    }
}
/* EDUCATION CATEGORY - LARGE CLICK TARGET */

.school-education-dynamic-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.school-education-category-link {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #073f6c;
    text-decoration: none;
}

.school-education-category-link:hover,
.school-education-category-link:focus {
    color: #0873aa;
    text-decoration: none;
}

.school-education-category-link .school-home-card-icon {
    flex: 0 0 48px;
}

.school-education-category-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.school-education-more {
    display: inline-flex !important;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    color: #356985 !important;
    background: #fff;
    border: 1px solid #d4e2eb;
    border-radius: 7px;
    font-size: 11px !important;
    font-weight: 650 !important;
    white-space: nowrap;
    text-decoration: none;
}

.school-education-more:hover,
.school-education-more:focus {
    color: #fff !important;
    background: #08699f;
    border-color: #08699f;
    text-decoration: none;
}

@media (max-width: 767px) {
    .school-education-dynamic-head {
        grid-template-columns: 1fr;
    }

    .school-education-more {
        width: max-content;
        margin-left: 60px;
    }
}
/* EDUCATION CATEGORY HEADER - BALANCED */

.school-education-dynamic-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 16px !important;
    margin-bottom: 14px !important;
}

.school-education-category-link {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 16px !important;

    min-width: 0 !important;
    color: #073f6c !important;
    text-decoration: none !important;
}

.school-education-category-link .school-home-card-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: none !important;
}

.school-education-category-title {
    display: block !important;
    min-width: 0 !important;

    margin: 0 !important;

    color: #073f6c !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.school-education-category-link:hover
.school-education-category-title {
    color: #0873aa !important;
}

.school-education-more {
    min-width: 118px !important;
    min-height: 36px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 11px !important;

    font-size: 11px !important;
    line-height: 1 !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    .school-education-dynamic-head {
        grid-template-columns: 1fr !important;
        row-gap: 10px !important;
    }

    .school-education-category-link {
        grid-template-columns: 46px minmax(0, 1fr) !important;
        column-gap: 13px !important;
    }

    .school-education-category-link .school-home-card-icon {
        width: 46px !important;
        height: 46px !important;
    }

    .school-education-more {
        width: auto !important;
        min-width: 0 !important;
        margin-left: 59px !important;
        justify-self: start !important;
    }
}
/* WELCOME TICKER - HIGHLIGHT EFFECT */

.school-welcome-track {
    color: #07598e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-shadow: 0 0 0 transparent;
    animation:
        schoolWelcomeTicker 28s linear infinite,
        schoolWelcomeGlow 3.5s ease-in-out infinite;
}

.school-welcome-ticker:hover .school-welcome-track {
    animation-play-state: paused;
}

.school-welcome-label i {
    transform-origin: center;
    animation: schoolWelcomeBell 3s ease-in-out infinite;
}

.school-welcome-dot {
    display: inline-block;
    color: #e99c20 !important;
    font-size: 18px !important;
    animation: schoolWelcomePulse 1.8s ease-in-out infinite;
}

@keyframes schoolWelcomeGlow {
    0%, 100% {
        color: #07598e;
        text-shadow: 0 0 0 rgba(7,89,142,0);
    }

    50% {
        color: #087bbb;
        text-shadow: 0 0 7px rgba(8,123,187,.18);
    }
}

@keyframes schoolWelcomeBell {
    0%, 82%, 100% {
        transform: rotate(0);
    }

    88% {
        transform: rotate(-10deg);
    }

    94% {
        transform: rotate(10deg);
    }
}

@keyframes schoolWelcomePulse {
    0%, 100% {
        opacity: .55;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-welcome-track,
    .school-welcome-label i,
    .school-welcome-dot {
        animation: none !important;
    }
}
/* WELCOME TEXT - VISIBLE COLOR EFFECT */

.school-welcome-track {
    animation:
        schoolWelcomeMoveFinal 24s linear infinite,
        schoolWelcomeTextGlow 1.6s ease-in-out infinite alternate !important;
}

@keyframes schoolWelcomeTextGlow {
    0% {
        color: #07598e;
        text-shadow:
            0 0 0 rgba(0, 112, 183, 0);
    }

    50% {
        color: #f28c00;
        text-shadow:
            0 0 4px rgba(242, 140, 0, .25),
            0 0 8px rgba(242, 140, 0, .15);
    }

    100% {
        color: #087bbb;
        text-shadow:
            0 0 3px rgba(8, 123, 187, .35),
            0 0 7px rgba(8, 123, 187, .20);
    }
}

.school-welcome-ticker:hover .school-welcome-track {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    .school-welcome-track {
        color: #07598e !important;
        text-shadow: none !important;
        animation: none !important;
    }
}
/* WELCOME GOLD SHIMMER - FINAL */

.school-welcome-track {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;

    width: max-content !important;
    height: 40px !important;

    display: flex !important;
    align-items: center !important;
    gap: 14px !important;

    color: #07598e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    white-space: nowrap !important;

    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;

    animation: schoolWelcomeMoveFinal 24s linear infinite !important;
}

/* Chữ luôn nhìn thấy */
.school-welcome-track {
    background-image: linear-gradient(
        90deg,
        #07598e 0%,
        #07598e 38%,
        #f4aa16 47%,
        #ffe58a 50%,
        #f4aa16 53%,
        #07598e 62%,
        #07598e 100%
    ) !important;

    background-size: 250% 100% !important;
    background-position: 100% 0;

    -webkit-background-clip: text !important;
    background-clip: text !important;

    -webkit-text-fill-color: transparent;

    animation:
        schoolWelcomeMoveFinal 24s linear infinite,
        schoolWelcomeGoldSweep 2.8s linear infinite !important;
}

@keyframes schoolWelcomeMoveFinal {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 100vw));
    }
}

@keyframes schoolWelcomeGoldSweep {
    from {
        background-position: 120% 0;
    }

    to {
        background-position: -120% 0;
    }
}

.school-welcome-ticker:hover .school-welcome-track {
    animation-play-state: paused !important;
}

/* Chấm phân cách vẫn vàng nhưng không cần nhấp nháy mạnh */
.school-welcome-dot {
    color: #e99c20 !important;
}

/* Fallback */
@supports not (-webkit-background-clip: text) {
    .school-welcome-track {
        color: #07598e !important;
        background: none !important;
        -webkit-text-fill-color: #07598e !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-welcome-track {
        position: static !important;
        width: auto !important;

        padding: 0 14px !important;

        color: #07598e !important;
        background: none !important;

        -webkit-text-fill-color: #07598e !important;

        transform: none !important;
        animation: none !important;
    }
}
