    html {
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
        -moz-tab-size: 4;
        tab-size: 4;
        font-feature-settings: normal;
        font-variation-settings: normal;
        -webkit-tap-highlight-color: transparent;
        font-size: 16px;
    }
    
    .wpml-ls-native {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"!important;
        /*font-family:  'Inter', sans-serif;*/
    }
    
     :root {
        --blue: #2563eb;
        --blue-light: #60a5fa;
        --blue-soft: #d5e8ff;
        --gold: #f5b800;
        --gold-light: #ffe48a;
        --bg: #fbfdff;
        --bg-alt: #f5f9ff;
        --ink: #1e293b;
        --ink-soft: #aac6ef;
        --white: #ffffff;
        --orange: #f9923c;
        --dark: #1e293b;
        --blue-dark: #0a4a7a;
    }
    
    body {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        background: #fff;
        color: #1e293b;
        min-width: 300px;
        -webkit-font-smoothing: antialiased;
    }
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    p,
    li,
    a {
        font-weight: 400;
    }
    
    li {
        margin-bottom: 0;
    }
    
    html.mm-size-small {
        font-size: 14px!important;
    }
    
    html.mm-size-large {
        font-size: 19px!important;
    }
    
    body.entrance-active {
        overflow: hidden;
        height: 100vh;
    }
    
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: linear-gradient(rgba(255, 109, 1, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 109, 1, 0.06) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
        z-index: -1;
        opacity: 0.6;
    }
    
    h1,
    h2,
    h3 {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    .text-block h1 {
        font-size: 2.4rem;
        color: #0a4a7a;
    }
    
    .text-block h2 {
        font-size: 2.1rem;
        color: #0a4a7a;
    }
    
    .text-block h3 {
        font-size: 1.8rem;
        color: #0a4a7a;
    }
    
    .text-block h4 {
        font-size: 1.6rem;
        color: #0a4a7a;
    }
    
    .text-block h5 {
        font-size: 1.4rem;
        color: #0a4a7a;
    }
    
    .text-block h6 {
        font-size: 1.2rem;
        color: #0a4a7a;
    }
    
    .text-block ul,
    .text-block ol {
        margin-left: 1rem;
    }
    
    .glass {
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
    }
    
    .inner-page .glass {
        background: rgba(255, 255, 255, 0.5);
    }
    
    #header {
        position: fixed;
        top: 0;
        z-index: 99;
        width: 100%;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }
    
    #header.sticky {
        position: fixed!important;
    }
    
    #header.sticky {
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
    }
    
    .main {
        margin-top: 136px;
    }
    
    .admin-bar .main {
        margin-top: 104px;
    }
    
    .header-bottom {
        border: 0;
        top: 47px;
        background-color: #f2f6fa;
        backdrop-filter: blur(12px);
        border: 0;
    }
    
    .header-logo {
        width: 296px;
    }
    
    .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -10px;
        left: 0;
        background: linear-gradient(to right, var(--cu-primary), var(--gold));
        transition: width 0.4s ease;
    }
    
    .nav-link:hover:after {
        width: 100%;
    }
    
    .nav-link:focus,
    .nav-link:hover {
        color: var(--orange);
    }
    
    .nav-link i {
        color: var(--dark);
    }
    
    .mega-content .sub-menu a {
        padding: 5px 0!important;
    }
    
    .tech-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        background: linear-gradient(135deg, var(--gold), var(--gold));
        box-shadow: 0 10px 30px -10px rgba(255, 109, 1, 0.5);
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
        color: white !important;
    }
    
    .tech-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 20px 40px -10px rgba(255, 109, 1, 0.7);
        background: linear-gradient(135deg, var(--gold), var(--gold));
    }
    
    .blue-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        background: linear-gradient(135deg, #068D9D, #14afc1);
        box-shadow: 0 10px 30px -10px rgba(6, 142, 157, 0.5);
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
        color: white !important;
    }
    
    .blue-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 20px 40px -10px rgba(6, 142, 157, 0.7);
        background: linear-gradient(135deg, #068D9D, #7eefad);
    }
    
    .blue-btn i {
        color: #fff;
    }
    
    .green-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        background: linear-gradient(135deg, rgb(44 173 168), rgb(52 225 144));
        box-shadow: 0 10px 30px -10px rgba(6, 142, 157, 0.5);
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
        color: white !important;
    }
    
    .green-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 20px 40px -10px rgba(6, 142, 157, 0.7);
        background: linear-gradient(135deg, #32d696, #14afc1);
    }
    
    .purple-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        background: linear-gradient(135deg, #A14DA0, #c564c3);
        box-shadow: 0 10px 30px -10px rgba(161, 77, 160, 0.5);
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
        color: white !important;
    }
    
    .purple-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 20px 40px -10px rgba(161, 77, 160, 0.7);
        background: linear-gradient(135deg, #A14DA0, #c564c3);
    }
    
    .orange-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        background: linear-gradient(135deg, #de700c, #f5b800);
        box-shadow: 0 10px 30px -10px rgba(222, 163, 12, 0.5);
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
        color: white !important;
    }
    
    .orange-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 20px 40px -10px rgba(222, 163, 12, 0.7);
        background: linear-gradient(135deg, #de700c, #f5b800);
    }
    
    .tech-btn-secondary {
        background: transparent;
        border: 2px solid rgba(255, 255, 255);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }
    
    .tech-btn-secondary:hover {
        border-color: var(--gold);
        background: rgba(255, 109, 1, 0.15);
        box-shadow: 0 0 30px rgba(255, 109, 1, 0.5);
        transform: translateY(-3px);
    }
    
    .font-size-btn {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 9999px;
        transition: all 0.3s ease;
        font-weight: 600;
    }
    
    .font-size-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
        transform: scale(1.1);
    }
    
    .font-size-btn.small {
        font-size: 12px;
    }
    
    .font-size-btn.medium {
        font-size: 16px;
    }
    
    .font-size-btn.large {
        font-size: 20px;
    }
    /* ---------- Menu header row (search + close) ---------- */
    
    .mm-header {
        display: flex;
        align-items: center;
        justify-content: end;
        /* search left, X right */
        padding: 16px 20px;
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .mm-search-btn {
        background: none;
        border: none;
        font-size: 17px;
        color: #555;
        cursor: pointer;
        padding: 4px;
        transition: color .2s;
    }
    
    .mm-search-btn:hover {
        color: #f9923c;
    }
    
    .mm-search-btn i {
        color: #555;
    }
    /* ---------- Utility section ---------- */
    
    .mm-utility {
        padding: 20px;
        background: #f7f7f7;
        border-top: 1px solid #e5e5e5;
    }
    /* Top links: CUHK / Prospective / Current / Alumni */
    
    .mm-top-links {
        display: flex;
        flex-direction: column;
    }
    
    .mm-top-links a {
        display: block;
        padding: 11px 0;
        font-size: 1.4em;
        font-weight: 600;
        letter-spacing: 0;
        color: #2563eb;
        text-decoration: none;
        border-bottom: 1px solid #e5e5e5;
        transition: color .2s;
    }
    
    .mm-top-links a:last-child {
        border-bottom: none;
    }
    
    .mm-top-links a:hover {
        color: #f9923c;
    }
    /* Row: font sizes + language selector */
    
    .mm-utility-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e5e5e5;
    }
    /* Font size switcher */
    
    .mm-font-sizes {
        display: inline-flex;
        align-items: baseline;
        gap: 10px;
        color: #888;
    }
    
    .mm-font-sizes span {
        cursor: pointer;
        line-height: 1;
        transition: color .2s;
    }
    
    .mm-font-sizes span:nth-child(1) {
        font-size: 13px;
    }
    
    .mm-font-sizes span:nth-child(2) {
        font-size: 16px;
    }
    
    .mm-font-sizes span:nth-child(3) {
        font-size: 19px;
    }
    
    .mm-font-sizes span:hover,
    .mm-font-sizes span.active {
        color: #f9923c;
    }
    /* Language selector — dark-on-light version */
    
    .mm-lang-select {
        background: #fff;
        border-radius: 9999px;
        padding: 6px 16px;
        font-size: 13px;
        color: #555;
        outline: none;
        cursor: pointer;
        transition: border-color .2s;
    }
    
    .language-switcher option {
        color: var(--dark);
        background-color: #ffffff;
    }
    
    .mm-lang-select:focus,
    .mm-lang-select:hover {
        border-color: #f9923c;
    }
    
    a.nav-link.flex.items-center.gap-1.parent-menu-link {
        font-size: 1.15rem;
        color: var(--dark);
    }
    
    .mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 74, 122, 0.98);
        backdrop-filter: blur(20px);
        border-top: 3px solid var(--gold);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 50;
    }
    
    .nav-item:hover .mega-menu {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1.2s ease-in-out;
    }
    
    .hero-slide.active {
        opacity: 1;
    }
    
    .hero-title {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        color: #184e84;
        text-shadow: none;
        line-height: 1.15;
        letter-spacing: -2.5px;
    }
    
    .hero-title span {
        line-height: 1.2;
    }
    
    .hero-slide {
        display: block;
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease, visibility 0.8s ease;
    }
    
    .hero-slide.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-slide .items-center {
        text-align: center;
    }
    
    .hero-dot:hover {
        background: rgba(18, 58, 99, 0.5);
    }
    
    .hero-dot.active {
        background: #017cca;
        transform: scale(1.2);
    }
    
    .news-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .frontiers-bg {
        background: #0A2540;
        background-color: var(--bg-alt);
    }
    
    .scroll-explore {
        display: none;
        animation: bounce 2s infinite;
        color: var(--blue);
        font-weight: 600;
        margin-top: 10px;
        top: 80%;
    }
    
    @keyframes bounce {
        0%,
        20% {
            transform: translateY(0)translateX(-50%);
        }
        50% {
            transform: translateY(8px)translateX(-50%);
        }
        100% {
            transform: translateY(0)translateX(-50%);
        }
    }
    
    .carousel-container {
        perspective: 1500px;
        perspective-origin: center center;
        position: relative;
        overflow: visible;
    }
    
    .carousel-track {
        position: relative;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
    }
    
    .carousel-container {
        position: relative;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 20px;
    }
    
    .carousel-track {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
        will-change: transform;
    }
    
    .carousel-slide {
        min-width: 33.333%;
        /* 3 items per view */
        padding: 12px;
        box-sizing: border-box;
    }
    
    .carousel-slide .card {
        padding: 0;
        border-radius: 0;
        border: 0;
    }
    
    .card {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        transition: all 0.4s ease;
    }
    
    .card:hover {
        transform: scale(1.04);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }
    
    .card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
        border: 0;
    }
    
    .indicator,
    .hero-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.4);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .indicator.active,
    .hero-dot.active {
        background: var(--gold);
        width: 24px;
        border-radius: 4px;
    }
    
    .nav-btn {
        color: var(--blue);
        background-color: #ffffff9b;
        cursor: pointer;
    }
    
    .nav-btn:active {
        transform: scale(0.95);
    }
    
    .carousel-section .nav-btn {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .carousel-section .nav-btn:hover {
        background-color: #f9923c;
    }
    
    .carousel-section .nav-btn i {
        color: #fff;
    }
    
    .parent-menu-link {
        color: #0A2540;
    }
    
    .font-sizes,
    .top-links {
        border-left: 1px solid #fff;
        padding-left: 1.5rem;
        color: #fff;
        gap: 1.25rem!important;
    }
    
    .social-icons,
    .language-switcher {
        color: #fff;
    }
    
    .font-sizes span {
        cursor: pointer;
        padding: 0 4px;
        line-height: 1;
    }
    
    .font-sizes span:nth-child(1) {
        font-size: 12px;
    }
    
    .font-sizes span:nth-child(2) {
        font-size: 15px;
    }
    
    .font-sizes span:nth-child(3) {
        font-size: 18px;
    }
    
    .hero-buttons {
        display: flex;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        display: inline-block;
        padding: 14px 32px;
        border-radius: 5px;
        ;
        font-family: 'Unbounded', sans-serif;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 1.5px;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
        border: none;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #393cb8, #06b6d4);
        color: #fff;
        box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    }
    
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
    }
    
    .btn-secondary {
        background: transparent;
        color: #fff;
        border: 1px solid var(--gold);
        backdrop-filter: blur(10px);
    }
    
    .btn-secondary:hover {
        background: rgba(253, 187, 116, 0.3);
        border-color: var(--gold);
        transform: translateY(-3px);
    }
    
    .view-all {
        color: var(--blue);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 1px;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        transition: color 0.3s;
    }
    
    footer {
        background-color: var(--blue);
    }
    
    .footer-menu .menu-item {
        position: relative;
    }
    
    .footer-menu a {
        position: relative;
        color: #fff;
        font-size: 1rem;
        transition: color 0.3s;
    }
    
    .footer-menu a:hover {
        color: var(--gold);
    }
    
    .footer-menu .menu-item:not(:last-child)::after,
    .footer-menu a:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 14px;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .top-bar {
        background-color: var(--blue);
        z-index: 100!important;
    }
    
    ul.sub-menu {
        list-style-type: none;
        list-style-position: outside;
        padding-left: 1.1rem;
    }
    
    ul.sub-menu a {
        padding-left: 0;
        padding: 8px 0;
    }
    
    .wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a,
    .wpml-ls-legacy-dropdown-click a:focus,
    .wpml-ls-legacy-dropdown-click a:hover {
        background-color: transparent!important;
    }
    
    .wpml-ls-legacy-dropdown-click a {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"!important;
    }
    
    ul.sub-menu li::marker {
        color: #0A2540;
    }
    
    ul.sub-menu>li {
        margin-bottom: 0;
    }
    /* Quick Links styling */
    
    .quick-links {
        position: absolute;
        right: 0;
        background: rgba(253, 186, 116, 0.1);
        border-left: 3px solid var(--gold);
        padding-left: 1.25rem;
        padding: 1rem;
    }
    
    .quick-links ul.sub-menu {
        list-style: none;
        margin: 0;
    }
    
    .mega-menu .sub-menu {
        margin: 0 0 1rem 0;
    }
    
    .quick-links .quick-link-heading,
    .quick-links a.quick-link-heading {
        width: 100%;
        display: block;
        color: #0A2540;
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
        cursor: unset;
        padding-left: 0;
        border-bottom: 2px solid var(--gold);
        padding-bottom: 0.5rem;
        text-transform: uppercase;
    }
    
    .quick-links .sub-menu a {
        display: block;
        padding: 0.45rem 0;
        transition: all 0.2s;
    }
    
    .quick-links ul.sub-menu {
        padding: 0;
    }
    
    .quick-links .sub-menu a:hover {
        color: var(--gold);
        padding-left: 8px;
    }
    /* ===== NEW MEGA MENU DESIGN ===== */
    
    .mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: transparent!important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.35s ease;
        z-index: 50;
    }
    
    .nav-item:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .mega-content {
        display: flex;
        gap: 2.5rem;
        max-width: 1400px;
        margin: 0 auto;
        border-radius: 0 0 10px 10px;
        gap: 2rem;
        padding: 2.5rem 2.5rem 2.5rem 1.5rem;
        padding-right: 210px;
        margin: 1.5rem auto 0 auto;
        background: #ffffff;
        border-radius: 5px;
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    }
    /* Section Headings */
    
    .mega-content>div>a.text-\[\var(--gold)\],
    .mega-content>div>div.text-\[\var(--gold)\] {
        color: #0A2540 !important;
        font-weight: 600;
        font-size: 0.95rem !important;
        letter-spacing: 1px !important;
        border-left: 4px solid var(--gold);
        padding-left: 12px;
        margin-bottom: 1rem !important;
    }
    /* Normal links */
    
    .mega-content a {
        color: #0A2540;
        font-weight: 500;
        font-size: 1rem;
        white-space: break-spaces;
        padding-left: 15px;
        transition: all 0.25s ease;
    }
    
    .mega-content a:hover {
        color: var(--gold);
        transform: translateX(6px);
    }
    /* Quick Links New Style */
    
    .quick-links {
        width: 250px;
        top: 3rem;
        right: 0;
        background: linear-gradient(135deg, #f8fafc, #eef2ff);
        border-radius: 16px;
        padding: 1.5rem;
        border-left: none;
        box-shadow: inset 0 0 0 1px rgba(10, 74, 122, 0.08);
    }
    
    .quick-links .sub-menu a {
        color: #0A2540;
        font-weight: 500;
        padding: 0.4rem 0;
        transition: all 0.25s ease;
    }
    
    .quick-links a:hover {
        color: var(--gold);
        padding-left: 8px;
    }
    
    .menu-subheading,
    .mega-content a.menu-subheading {
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        border-left: 3px solid #f9923c;
        padding-left: 13px;
        font-weight: 700;
        margin-bottom: 0.9em !important;
    }
    
    .menu-has-children .menu-subheading,
    .mega-content .menu-has-children a.menu-subheading {
        margin-bottom: 0.2em !important;
    }
    /* Optional subtle divider between columns */
    
    .mega-content>div:not(.quick-links) {
        padding-right: 1rem;
        width: 100%;
    }
    
    .wrapper {
        position: relative;
        max-width: 1600px!important;
        width: 96%;
        margin: auto;
        z-index: 2;
    }
    /* ===== Units (NEW STYLE: hover-reveal bar + numbered, blue family shades) ===== */
    
    .units-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 2%;
    }
    
    .unit-card {
        position: relative;
        display: block;
        flex-basis: 32%;
        margin-bottom: 2%;
        border-radius: 5px;
        padding: 30px 26px;
        overflow: hidden;
        align-items: center;
        gap: 18px;
        transition: transform .25s, box-shadow .25s;
        border: 1px solid rgba(37, 99, 235, 0.12);
    }
    
    .unit-card::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 5px;
        width: 0;
        background: var(--gold);
        transition: width .35s ease;
    }
    
    .unit-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 34px rgba(37, 99, 235, 0.18);
    }
    
    .unit-card:hover::after {
        width: 100%;
    }
    
    .unit-card span {
        display: block;
    }
    
    .unit-icon {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        position: relative;
        z-index: 1;
        color: #fff;
        margin-bottom: 3%;
    }
    
    .unit-icon i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
    
    .custom-icon {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: 1.2em;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .unit-text {
        position: relative;
        z-index: 1;
    }
    
    .unit-text .num {
        font-size: .72rem;
        font-weight: 800;
        color: var(--blue-light);
        letter-spacing: 1px;
    }
    
    .unit-card h3 {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--dark);
        line-height: 1.35;
        margin-top: 2px;
    }
    
    .unit-card .deco {
        position: absolute;
        top: -26px;
        right: -26px;
        width: 110px;
        height: 110px;
        opacity: .22;
        z-index: 0;
    }
    
    .unit-card span.unit-card-flex {
        display: flex;
        gap: 5%;
    }
    
    .event-card {
        display: block;
        background-color: #fff;
    }
    
    .event-card span {
        display: block;
    }
    /* Adjacent units differ in shade + pattern (all within the blue family) */
    
    .unit-card.u1 {
        background: linear-gradient(160deg, #e8f1ff, #fff);
    }
    
    .unit-card.u1 .unit-icon {
        background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    }
    
    .unit-card.u1 .deco {
        background: var(--blue-light);
        border-radius: 50%;
    }
    
    .unit-card.u2 {
        background: linear-gradient(160deg, #fff5d3, #fff);
    }
    
    .unit-card.u2 .unit-icon {
        background: linear-gradient(135deg, var(--orange)0, var(--gold));
    }
    
    .unit-card.u2 .deco {
        background: repeating-linear-gradient(45deg, var(--gold) 0 6px, transparent 6px 12px);
        opacity: .28;
    }
    
    .unit-card.u3 {
        background: linear-gradient(160deg, #eef0ff, #fff);
    }
    
    .unit-card.u3 .unit-icon {
        background: linear-gradient(135deg, #5F00BA, #984cdf);
    }
    
    .unit-card.u3 .deco {
        background-image: radial-gradient(#984cdf 3px, transparent 3px);
        background-size: 16px 16px;
        opacity: .3;
    }
    
    .unit-card.u5 {
        background: linear-gradient(160deg, #e3f4ff, #fff);
    }
    
    .unit-card.u5 .unit-icon {
        background: linear-gradient(135deg, #0369a1, #38bdf8);
    }
    
    .unit-card.u5 .deco {
        background: #38bdf8;
        border-radius: 50%;
    }
    
    .unit-card.u4 {
        background: linear-gradient(160deg, #e7fffa, #fff);
    }
    
    .unit-card.u4 .unit-icon {
        background: linear-gradient(135deg, #03CEA4, #6ddfc8);
    }
    
    .unit-card.u4 .deco {
        background-image: radial-gradient(#31d3ac 3px, transparent 3px);
        background-size: 16px 16px;
        opacity: .32;
    }
    
    .unit-card.u6 {
        background: linear-gradient(160deg, #fff1f9, #fff);
    }
    
    .unit-card.u6 .unit-icon {
        background: linear-gradient(135deg, #F991CC, #fabcdf);
    }
    
    .unit-card.u6 .deco {
        background: repeating-linear-gradient(0deg, #F991CC 0 5px, transparent 5px 12px);
        opacity: .28;
    }
    
    .home-heading {
        color: var(--blue);
    }
    
    .event-block {
        position: relative;
        color: var(--dark);
    }
    
    .event-block>div {
        position: relative;
        z-index: 2;
    }
    /* ===== Hero ===== */
    
    .hero {
        position: absolute;
        display: block;
        /*  background: radial-gradient(circle at 80% 20%, rgba(245, 184, 0, 0.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(96, 165, 250, 0.35), transparent 50%), linear-gradient(135deg, #e8f1ff 0%, #fff8e6 100%);*/
        background-color: #f3f9fe;
        width: 100%;
        height: 100%;
        text-align: center;
        overflow: hidden;
    }
    
    .hero-mobile {
        display: none;
    }
    /* ===== End of Hero ===== */
    
    .carousel-container {
        position: relative;
        overflow: hidden;
        border-radius: 5px;
    }
    
    .carousel-track {
        display: flex;
    }
    
    .carousel-slide {
        min-width: 33.333%;
        /* 3 items per view */
        padding: 12px;
        box-sizing: border-box;
    }
    /* Navigation Arrows */
    
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.95);
        border: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .carousel-btn:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
    }
    
    .carousel-btn.prev {
        left: 15px;
    }
    
    .carousel-btn.next {
        right: 15px;
    }
    /* Dots */
    
    .carousel-dots {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
        margin-top: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot.active {
        background: var(--gold);
        width: 24px;
        border-radius: 20px;
    }
    
    @media (max-width: 992px) {
        .carousel-slide {
            min-width: 50%;
        }
        /* 2 items on tablet */
    }
    
    @media (max-width: 600px) {
        .carousel-slide {
            min-width: 100%;
        }
        /* 1 item on mobile */
    }
    
    .carousel-section {
        padding-top: 5rem;
        padding-bottom: 9rem;
        position: relative;
        overflow: hidden;
    }
    
    .carousel-section:before {}
    
    .main-content {
        position: relative;
        background-color: #f3f9fe;
        overflow: hidden;
        background: linear-gradient(180deg, #eff6ff 0%, #d5e8ff 100%);
    }
    
    .main-content:before {
         ::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.55) 0 6px, transparent 7px), radial-gradient(circle at 22% 70%, rgba(37, 99, 235, 0.12) 0 10px, transparent 11px), radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.4) 0 4px, transparent 5px), radial-gradient(circle at 55% 85%, rgba(249, 115, 22, 0.15) 0 8px, transparent 9px), radial-gradient(circle at 70% 12%, rgba(37, 99, 235, 0.10) 0 12px, transparent 13px), radial-gradient(circle at 88% 55%, rgba(255, 255, 255, 0.5) 0 5px, transparent 6px), radial-gradient(circle at 95% 90%, rgba(249, 115, 22, 0.12) 0 7px, transparent 8px), radial-gradient(circle at 45% 8%, rgba(255, 255, 255, 0.35) 0 3px, transparent 4px);
            pointer-events: none;
        }
    }
    
    .main-grid {
        position: absolute;
        inset: 0;
        z-index: 1;
        background-image: linear-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
    }
    
    .search-btn {
        display: flex;
        align-items: center;
        gap: 7px;
        background: transparent;
        padding: 5px;
        font-size: 0.85rem;
        font-weight: 500;
        color: #fff;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .search-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
    }
    /* Vertical streak panels */
    
    .pattern {
        position: absolute;
        top: 0;
        width: 40%;
        height: 100%;
    }
    
    .pattern.left {
        left: 0;
    }
    
    .pattern.right {
        right: 0;
    }
    
    .streak {
        position: absolute;
        border-radius: 1px;
        transition: transform 0.3s ease;
    }
    
    .streak:hover {
        transform: scaleY(1.12);
        filter: brightness(1.15);
    }
    /* Fade overlays so streaks blend toward the center text */
    
    .fade {
        position: absolute;
        top: 0;
        width: 40%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }
    
    .fade.left {
        left: 0;
        background: linear-gradient(90deg, rgba(244, 248, 253, 0) 58%, rgba(244, 248, 253, 0.85) 82%, #f4f8fd 100%);
    }
    
    .fade.right {
        right: 0;
        background: linear-gradient(270deg, rgba(244, 248, 253, 0) 58%, rgba(244, 248, 253, 0.85) 82%, #f4f8fd 100%);
    }
    /* ====================================================== */
    
    .entrance {
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: #f4f7ff;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: opacity 1s ease, transform 1.1s ease;
    }
    
    .entrance:before {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: .5;
        background-image: url(images-new/color-stripes.png);
        background-position: center;
        background-size: cover;
        content: '';
    }
    
    .entrance.exit {
        opacity: 0;
        transform: scale(1.04);
        pointer-events: none;
    }
    /* ---- Animated colourful stripes background ---- */
    
    .ent-stripes {
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
        filter: blur(3px);
    }
    
    .ent-stripes .band {
        position: absolute;
        left: 0;
        width: 100%;
        height: 30%;
        display: flex;
        gap: 1.2%;
        padding: 0 0.6%;
    }
    
    .ent-stripes .band.top {
        top: 0;
        align-items: flex-start;
    }
    
    .ent-stripes .band.bottom {
        bottom: 0;
        align-items: flex-end;
    }
    
    .ent-stripes .stripe {
        flex: 1;
        border-radius: 6px;
        transform-origin: top;
        animation: stripePulse 4.5s ease-in-out infinite;
        opacity: 0.95;
    }
    
    .ent-stripes .band.bottom .stripe {
        transform-origin: bottom;
    }
    
    @keyframes stripePulse {
        0%,
        100% {
            transform: scaleY(0.72);
            opacity: 0.82;
        }
        50% {
            transform: scaleY(1);
            opacity: 1;
        }
    }
    /* Soft fade ONLY toward the center */
    
    .ent-stripes::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(244, 247, 255, 0) 0%, rgba(244, 247, 255, 0) 22%, rgba(244, 247, 255, 0.95) 42%, rgba(244, 247, 255, 1) 50%, rgba(244, 247, 255, 0.95) 58%, rgba(244, 247, 255, 0) 78%, rgba(244, 247, 255, 0) 100%);
        pointer-events: none;
    }
    /* ---- The sweeping light beam ---- */
    
    .ent-sweep {
        position: absolute;
        top: 0;
        left: 0;
        width: 45%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 40%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0) 100%);
        mix-blend-mode: overlay;
        filter: blur(6px);
        animation: sweep 6s linear infinite;
    }
    
    .ent-sweep.tint {
        width: 30%;
        background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(66, 133, 244, 0.18) 45%, rgba(52, 168, 83, 0.18) 55%, rgba(255, 255, 255, 0) 100%);
        mix-blend-mode: screen;
        filter: blur(14px);
        animation: sweep 9s linear infinite;
        animation-delay: -3s;
        opacity: 0.7;
    }
    
    @keyframes sweep {
        0% {
            transform: translateX(-60%) skewX(-12deg);
        }
        100% {
            transform: translateX(330%) skewX(-12deg);
        }
    }
    /* grid overlay */
    
    .ent-grid {
        position: absolute;
        inset: 0;
        z-index: 1;
        background-image: linear-gradient(rgba(255, 109, 1, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 109, 1, 0.05) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
    }
    
    .ent-canvas {
        position: absolute;
        inset: 0;
        z-index: 2;
        opacity: 0.5;
        mix-blend-mode: multiply;
    }
    /* corner brackets */
    
    .ent-bracket {
        position: absolute;
        width: 34px;
        height: 34px;
        z-index: 5;
        border: 2px solid rgba(255, 109, 1, 0.55);
    }
    
    .ent-bracket.tl {
        top: 22px;
        left: 22px;
        border-right: none;
        border-bottom: none;
    }
    
    .ent-bracket.tr {
        top: 22px;
        right: 22px;
        border-left: none;
        border-bottom: none;
    }
    
    .ent-bracket.bl {
        bottom: 22px;
        left: 22px;
        border-right: none;
        border-top: none;
    }
    
    .ent-bracket.br {
        bottom: 22px;
        right: 22px;
        border-left: none;
        border-top: none;
    }
    
    .ent-topbar {
        position: relative;
        z-index: 6;
        display: flex;
        justify-content: flex-end;
        padding: 26px 30px;
    }
    
    .ent-skip {
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0, 0, 0, 0.12);
        color: #2a2a2a;
        font-size: 11px;
        letter-spacing: 2px;
        font-weight: 600;
        padding: 9px 16px;
        border-radius: 5px;
        cursor: pointer;
        backdrop-filter: blur(6px);
        transition: all .25s ease;
    }
    
    .ent-skip:hover {
        background: var(--orange);
        color: #fff;
        border-color: var(--orange);
    }
    
    .ent-center {
        position: relative;
        z-index: 6;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
        color: #1a2233;
    }
    /* ===================================================== */
    /* ====  TWO-SCENE WRAPPER (new, keeps your styles)  ==== */
    /* ===================================================== */
    
    .scene {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
        opacity: 0;
        visibility: hidden;
        transform: scale(.985);
        transition: opacity .8s ease, transform .9s ease;
        pointer-events: none;
    }
    
    .scene.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    
    .scene.leaving {
        opacity: 0;
        visibility: visible;
        transform: scale(1.03);
    }
    
    .ent-eyebrow {
        font-size: 42px;
        letter-spacing: 3px;
        font-weight: 700;
        color: var(--orange);
        margin-bottom: 18px;
        opacity: 0;
    }
    
    .ent-mark-top {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: clamp(36px, 8vw, 65px);
        font-weight: 700;
        line-height: 1;
        letter-spacing: -2px;
        color: var(--blue);
        opacity: 0;
    }
    
    .ent-mark {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: clamp(48px, 11vw, 130px);
        font-weight: 700;
        line-height: 1;
        letter-spacing: -2px;
        color: var(--blue);
        opacity: 0;
    }
    
    .intro-dot {
        color: #40e594;
    }
    
    .ent-mark .punct {
        color: #f5b800;
    }
    
    .ent-slogan {
        margin-top: 22px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: clamp(15px, 3vw, 40px);
        font-weight: 500;
        color: #33415c;
        opacity: 0;
    }
    
    .ent-slogan .pivot {
        color: var(--orange);
        font-weight: 700;
    }
    
    .ent-slogan .row2 .pivot {
        color: #40e594;
    }
    
    .ent-zh {
        margin-top: 18px;
        font-size: clamp(14px, 2vw, 24px);
        letter-spacing: 3px;
        color: #4a5878;
        opacity: 0;
    }
    
    .ent-zh .sep {
        color: var(--orange);
        margin: 0 4px;
    }
    
    .ent-divider {
        margin-top: 26px;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--blue), var(--green), var(--amber), var(--orange));
        border-radius: 2px;
    }
    
    @keyframes growLine {
        to {
            width: min(420px, 70vw);
        }
    }
    
    .ent-meta {
        margin-top: 22px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 26px;
        font-size: 15px;
        letter-spacing: 2px;
        font-weight: 600;
        color: #5a6a8a;
        opacity: 0;
    }
    
    .ent-meta span {
        position: relative;
    }
    
    .ent-meta span:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -14px;
        top: 50%;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--orange);
        transform: translateY(-50%);
    }
    /* small label under slogan */
    
    .scene-tag {
        margin-top: 30px;
        font-size: 15px;
        letter-spacing: 4px;
        font-weight: 600;
        color: #5a6a8a;
        opacity: 0;
    }
    /* ===== animation triggers — fire only when a scene is active ===== */
    /* Scene 1 : slogan */
    
    .scene.active .ent-slogan {
        animation: fadeUp 1s ease forwards .15s;
    }
    
    .scene.active .ent-zh {
        animation: fadeUp 1s ease forwards .45s;
    }
    
    .scene.active .scene-tag {
        animation: fadeUp 1s ease forwards .75s;
    }
    /* Scene 2 : faculty */
    
    .scene.active .ent-eyebrow {
        animation: fadeUp .9s ease forwards .15s;
    }
    
    .scene.active .ent-mark-top {
        animation: fadeUp 1s ease forwards .35s;
    }
    
    .scene.active .ent-mark {
        animation: fadeUp 1s ease forwards .55s;
    }
    
    .scene.active .ent-divider {
        animation: growLine 1s ease forwards .9s;
    }
    
    .scene.active .ent-meta {
        animation: fadeUp 1s ease forwards 1s;
    }
    
    .ent-bottom {
        position: relative;
        z-index: 6;
        padding: 0 30px 26px;
    }
    
    .ent-status {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        letter-spacing: 2px;
        font-weight: 600;
        color: #5a6a8a;
        margin-bottom: 10px;
    }
    
    .ent-status .left {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .ent-status em {
        font-style: normal;
        color: var(--orange);
    }
    
    .ent-status .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--green);
        animation: blink 1.2s ease-in-out infinite;
    }
    
    .rounded-default {
        border-radius: 5px;
    }
    
    @keyframes blink {
        0%,
        100% {
            opacity: 1;
        }
        50% {
            opacity: .25;
        }
    }
    
    .ent-progress {
        width: 100%;
        height: 4px;
        background: rgba(0, 0, 0, 0.08);
        border-radius: 999px;
        overflow: hidden;
    }
    
    .ent-progress-fill {
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, var(--blue), var(--green), var(--amber), var(--orange));
        border-radius: 999px;
        animation: fillBar var(--ent-duration) linear forwards;
    }
    
    @keyframes fillBar {
        to {
            width: 100%;
        }
    }
    
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(18px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @media (prefers-reduced-motion: reduce) {
        .ent-stripes .stripe,
        .ent-sweep,
        .ent-sweep.tint {
            animation: none;
        }
    }
    /* ====================== UPDATED SLOGAN STYLES ====================== */
    
    .slogan-section {
        background: rgba(25, 74, 122, 0.2);
        position: relative;
        overflow: hidden;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .slogan-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 20% 30%, rgba(253, 186, 116, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(6, 141, 157, 0.15) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .slogan-content {
        position: relative;
        z-index: 2;
        color: #184e84;
    }
    
    .slogan-emphasis {
        background: linear-gradient(90deg, #ffe897, var(--gold), #ff9f4d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800;
        letter-spacing: -1px;
    }
    
    .slogan-line-middle {
        text-align: center;
        display: block;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    
    .slogan-line2 {
        font-size: 2.4rem;
        line-height: 1.05;
        font-weight: 600;
        letter-spacing: -1px;
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    .slogan-line2 .highlight {
        font-weight: 700;
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    .slogan-decor {
        height: 3px;
        width: 90px;
        background: linear-gradient(to right, var(#f9ae27), #a4fdc4);
        margin: 2rem auto;
        border-radius: 9999px;
    }
    
    html <style>.slogan-section {
        background: rgba(25, 74, 122, 0.2);
        position: relative;
        overflow: hidden;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .slogan-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 20% 30%, rgba(253, 186, 116, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(6, 141, 157, 0.15) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .slogan-content {
        position: relative;
        z-index: 2;
    }
    
    .slogan-line1 {
        font-size: 2.4rem;
        line-height: 1.05;
        font-weight: 700;
        letter-spacing: -1px;
        color: #32b6ab;
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    .slogan-emphasis {
        background: linear-gradient(90deg, #ffe897, var(--gold), #ff9f4d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
        letter-spacing: -1px;
    }
    
    .slogan-line2 .highlight {
        font-weight: 700;
    }
    
    .slogan-decor {
        height: 3px;
        width: 90px;
        background: linear-gradient(to right, #f9ae27, #a4fdc4);
        margin: 2rem auto;
        border-radius: 9999px;
    }
    /* Chinese slogan */
    
    .slogan-cn {
        font-size: 1.7rem;
        font-weight: 700;
        letter-spacing: 2px;
        margin-left: 1.5rem;
    }
    
    .cn-emphasis {
        background-color: #f9923c;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800;
    }
    
    .cn-highlight {
        background-color: #5296e6;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800;
    }
    /* ============================================================
       Page Hero — Split into LEFT (text) and RIGHT (image)
       LEFT side has a solid background color for readable text.
       ============================================================ */
    
    .page-hero {
        position: relative;
        overflow: hidden;
        background-color: #a0d1ef;
        display: flex;
        min-height: 420px;
    }
    
    .hero-left {
        position: relative;
        flex: 1 1 50%;
        background: linear-gradient(135deg, #d6ecfa 0%, #a9d6f2 55%, #7fc0ea 100%);
        display: flex;
        align-items: center;
        padding: 4.5rem 3rem 4.5rem 0;
        padding-left: 2.5%;
        z-index: 2;
    }
    /* subtle decorative pattern on the left panel */
    
    .hero-left::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 15% 25%, rgb(255 172 9 / 15%) 0%, transparent 45%), radial-gradient(circle at 85% 80%, rgb(36 231 229 / 17%) 0%, transparent 55%), linear-gradient(rgba(18, 58, 99, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 58, 99, 0.06) 1px, transparent 1px);
        background-size: auto, auto, 50px 50px, 50px 50px;
        pointer-events: none;
    }
    /* diagonal divider edge between left and right */
    
    .hero-left::after {
        content: '';
        position: absolute;
        top: 0;
        right: -40px;
        bottom: 0;
        width: 80px;
        background: linear-gradient(135deg, #94d1f0 0%, #81ccec 50%, transparent 50%);
        z-index: 3;
    }
    
    .hero-left-inner {
        position: relative;
        z-index: 2;
        margin-left: auto;
        /*max-width: 780px;*/
        width: 100%;
        box-sizing: border-box;
        width: 100%;
        padding-left: max(6%, calc((100vw - 1690px) / 2));
        padding-right: 2rem;
        /* spacing before the hero image */
    }
    
    .hero-right {
        position: relative;
        flex: 1 1 50%;
        overflow: hidden;
    }
    
    .hero-right img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    /* slight bottom fade to transition into the dark page */
    
    .page-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 4;
    }
    
    .hero-breadcrumb a {
        transition: color 0.3s;
    }
    
    .hero-breadcrumb a:hover {
        color: #2563eb;
    }
    
    .hero-breadcrumb .current {
        color: #2563eb;
        font-weight: 600;
    }
    
    .hero-breadcrumb .sep {
        color: #1e293b;
    }
    
    @media (max-width: 1023px) {
        .page-hero {
            flex-direction: column;
            min-height: 0;
        }
        .hero-left {
            flex: 1 1 auto;
            padding: 3rem 0;
            width: 100%;
            margin: auto;
        }
        .hero-left::before {
            background-image: radial-gradient(circle at 15% 25%, rgb(255 172 9 / 15%) 0%, transparent 45%), radial-gradient(circle at 85% 80%, rgb(36 231 229 / 17%) 0%, transparent 55%), linear-gradient(rgba(18, 58, 99, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 58, 99, 0.06) 1px, transparent 1px);
        }
        .hero-left::after {
            top: 143px;
            right: -80px;
            bottom: 0;
            height: 40px;
            width: 260px;
            background-color: #79caeb;
            background-image: linear-gradient(90deg, #86ceed 0%, #74c2e4 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
            z-index: 3;
        }
        .hero-left-inner {
            margin: 0 auto;
            padding-left: 0;
            max-width: 90%;
        }
        .hero-right {
            height: 0;
            padding-bottom: 57%;
            flex: 1 1 auto;
        }
    }
    
    .inner-page {
        background: linear-gradient(180deg, #d5e8ff 0%, rgba(10, 74, 122, 0) 100%);
    }
    
    .blue-soft-bg {
        position: relative;
        background-color: var(--blue-soft);
    }
    
    .scheme-section {
        position: relative;
        background-color: #cce4fa;
        padding: 90px 60px;
        overflow: hidden;
        /* 讓超出的圖案被裁走 */
    }
    
    .scheme-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.55) 0 6px, transparent 7px), radial-gradient(circle at 22% 70%, rgba(37, 99, 235, 0.12) 0 10px, transparent 11px), radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.4) 0 4px, transparent 5px), radial-gradient(circle at 55% 85%, rgba(249, 115, 22, 0.15) 0 8px, transparent 9px), radial-gradient(circle at 70% 12%, rgba(37, 99, 235, 0.10) 0 12px, transparent 13px), radial-gradient(circle at 88% 55%, rgba(255, 255, 255, 0.5) 0 5px, transparent 6px), radial-gradient(circle at 95% 90%, rgba(249, 115, 22, 0.12) 0 7px, transparent 8px), radial-gradient(circle at 45% 8%, rgba(255, 255, 255, 0.35) 0 3px, transparent 4px);
        pointer-events: none;
    }
    
    .blob {
        position: absolute;
        pointer-events: none;
        opacity: 0.45;
    }
    
    .blob-1 {
        top: -80px;
        left: -60px;
        width: 320px;
        height: 300px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
        transform: rotate(-12deg);
    }
    
    .blob-2 {
        bottom: -110px;
        right: -80px;
        width: 380px;
        height: 340px;
        background: rgba(37, 99, 235, 0.10);
        border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
        transform: rotate(18deg);
    }
    
    .blob-3 {
        top: 30%;
        right: 12%;
        width: 160px;
        height: 150px;
        background: rgba(249, 115, 22, 0.10);
        border-radius: 52% 48% 33% 67% / 63% 30% 70% 37%;
        transform: rotate(-25deg);
    }
    
    .blob-4 {
        bottom: 8%;
        left: 18%;
        width: 130px;
        height: 120px;
        background: rgba(255, 255, 255, 0.45);
        border-radius: 41% 59% 47% 53% / 61% 43% 57% 39%;
        transform: rotate(30deg);
    }
    
    .blob-5 {
        bottom: 10%;
        right: 5%;
        width: 170px;
        height: 160px;
        background: rgba(37, 99, 235, 0.07);
        border-radius: 58% 42% 37% 63% / 46% 62% 38% 54%;
        transform: rotate(-10deg);
    }
    
    .blob {
        position: absolute;
        pointer-events: none;
        z-index: 0;
    }
    
    .main-content .blob-1 {
        top: -100px;
        left: -90px;
        width: 380px;
        height: 350px;
        background: rgba(255, 255, 255, 0.55);
        border-radius: 62% 38% 55% 45% / 54% 47% 53% 46%;
        transform: rotate(-14deg);
    }
    
    .main-content .blob-2 {
        top: 20%;
        right: -120px;
        width: 420px;
        height: 380px;
        background: rgba(37, 99, 235, 0.08);
        border-radius: 39% 61% 64% 36% / 42% 45% 55% 58%;
        transform: rotate(20deg);
    }
    
    .main-content .blob-3 {
        bottom: -140px;
        left: -6%;
        width: 340px;
        height: 310px;
        background: rgba(249, 115, 22, 0.1);
        border-radius: 51% 49% 34% 66% / 62% 31% 69% 38%;
        transform: rotate(-28deg);
    }
    
    .main-content .blob-4 {
        top: 44%;
        left: 63%;
        width: 200px;
        height: 185px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 42% 58% 48% 52% / 60% 44% 56% 40%;
        transform: rotate(32deg);
    }
    
    .tri {
        position: absolute;
        width: 0;
        height: 0;
        pointer-events: none;
    }
    
    .tri-1 {
        top: 18%;
        right: 6%;
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-bottom: 22px solid rgba(37, 99, 235, 0.15);
        transform: rotate(22deg);
    }
    
    .main-content .tri-1 {
        right: 34%;
    }
    
    .tri-2 {
        bottom: 12%;
        left: 6%;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 17px solid rgba(249, 115, 22, 0.18);
        transform: rotate(-30deg);
    }
    
    .tri-3 {
        top: 8%;
        left: 44%;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-bottom: 15px solid rgba(255, 255, 255, 0.6);
        transform: rotate(50deg);
    }
    
    .main-content .tri-3 {
        top: 6%;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-bottom: 15px solid rgba(255, 255, 255, 0.8);
    }
    
    .ring {
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }
    
    .ring-1 {
        top: 47%;
        right: 8%;
        width: 46px;
        height: 46px;
        border: 4px solid rgba(37, 99, 235, 0.15);
    }
    
    .ring-2 {
        bottom: 38%;
        left: 4%;
        width: 30px;
        height: 30px;
        border: 3px solid rgba(249, 115, 22, 0.22);
    }
    
    .ring-3 {
        top: 22%;
        left: 3%;
        width: 22px;
        height: 22px;
        border: 3px solid rgba(255, 255, 255, 0.65);
    }
    
    .inner-page section {
        padding: 7em 0;
    }
    
    #introduction {
        position: relative;
        background-color: #f8fafc;
    }
    
    .announcement-section,
    .color-stripes-bg {
        position: relative;
        overflow: hidden;
    }
    
    .announcement-section:before,
    .color-stripes-bg:before {
        position: absolute;
        width: 80%;
        padding-bottom: 20%;
        content: '';
        opacity: 0.3;
        background-image: url(images-new/pattern-right.png);
        background-repeat: no-repeat;
        background-position: bottom right -100px;
        background-size: contain;
        bottom: 0;
        right: 0;
    }
    
    .scheme-overview {
        background-color: #eff6ff;
    }
    
    .nomination-section {
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    }
    
    .announcement-section,
    .color-stripes-bg {
        background-image: radial-gradient(circle at 20% 30%, rgba(253, 226, 116, 0.5) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(6, 141, 157, 0.15) 0%, transparent 50%);
    }
    
    #ambassadors {
        background-color: #f8fafc;
    }
    
    .slogan-section {
        background: rgba(25, 74, 122, 0.2);
    }
    
    .ambassador-card,
    .osa-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .ambassador-card:hover,
    .osa-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    }
    
    .ambassador-card button {
        border: 0;
    }
    
    .custom-contact-icon {
        display: inline-block;
        width: 18px;
        height: 18px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    
    .custom-contact-icon:hover {
        opacity: 0.8;
    }
    
    .cta-section,
    .light-sky-bg {
        background-color: var(--blue-soft);
    }
    
    .copyright {
        color: #fff;
        font-size: 1rem;
    }
    
    .text-dark {
        color: var(--blue-dark)!important;
    }
    /* #highlights-section {
    background-color: #f8fafc;
}

.units-section {
    background-color: #f0f9ff;
}*/
    
    .footer {
        background-color: var(--blue);
    }
    /* Rest of original styles (kept unchanged) */
    
    body.entrance-active {
        overflow: hidden;
        height: 100vh
    }
    
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: linear-gradient(rgba(255, 109, 1, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 109, 1, 0.06) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
        z-index: -1;
        opacity: 0.6;
    }
    
    h1,
    h2,
    h3 {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    .glass {
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
    }
    
    .nav-link {
        position: relative;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 1.15em;
    }
    
    .nav-item:hover .nav-link {
        color: var(--orange);
    }
    
    .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -10px;
        left: 0;
        background: linear-gradient(to right, var(--cu-primary), var(--gold));
        transition: width 0.4s ease;
    }
    
    .nav-link:hover:after {
        width: 100%;
    }
    /* Enhanced Hero Pattern */
    
    .streak {
        position: absolute;
        border-radius: 9999px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        filter: blur(0.5px);
    }
    
    .streak:hover {
        transform: scaleY(1.12);
        opacity: 0.9;
    }
    /* inner page */
    /* ============================================================ */
    
    .breadcrumb a {
        transition: color 0.3s;
    }
    
    .breadcrumb a:hover {
        color: var(--gold);
    }
    
    .inner-page .glass {
        background: rgba(255, 255, 255, 0.5);
    }
    /* Section tabs */
    
    .section-tab {
        position: relative;
        padding: 1.25rem 0;
        font-weight: 600;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: color 0.3s;
    }
    
    .section-tab.active,
    .section-tab.current {
        color: var(--blue);
    }
    
    .section-tab.active::after,
    .section-tab.current::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(to right, var(--blue), var(--blue-light));
        /*  background: linear-gradient(to right, var(--gold), #ffe897); */
        border-radius: 3px 3px 0 0;
    }
    
    .section-tab:hover {
        color: var(--orange);
    }
    
    .cta-section p {
        padding: 0 1em;
    }
    
    #mobile-btn {
        display: none;
    }
    /* Scheme overview cards */
    
    .feature-card {
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1.5rem;
        padding: 1.75rem 1.5rem;
        transition: all 0.4s;
        text-align: center;
        height: 100%;
    }
    
    .feature-card:hover {
        transform: translateY(-6px);
        background: #fff;
        border-color: rgba(255, 109, 1, 0.4);
        box-shadow: 0 25px 50px -12px rgba(255, 109, 1, 0.25);
    }
    
    .icon-circle {
        position: relative;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: var(--orange);
        margin: 0 auto 1.25rem;
    }
    
    .icon-circle span {
        background-size: 1.1em;
    }
    
    .icon-circle i {
        color: var(--orange);
    }
    /* Tables */
    
    .data-table table {
        border-collapse: separate;
        border-spacing: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 1rem;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .data-table thead {
        background: var(--blue);
    }
    
    .data-table th {
        padding: 1.1rem 1.25rem;
        text-align: left;
        font-weight: 700;
        color: #fff;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .data-table td {
        padding: 1rem 1.25rem;
        border-top: 1px solid rgba(48, 48, 48, 0.2);
        font-size: 0.95rem;
        vertical-align: top;
        font-weight: 400;
    }
    
    .data-table tbody tr {
        transition: background 0.3s;
    }
    
    .data-table tbody tr:hover {
        background-color: #fffcf1;
    }
    
    .data-table tbody tr {
        background-color: var(--white);
        border-bottom: 1px solid #d9d9d9;
    }
    
    .data-table a {
        color: var(--orange);
        transition: color 0.3s;
    }
    
    .data-table a:hover {
        color: var(--gold);
        text-decoration: underline;
    }
    /* World map - light minimal style like reference */
    
    .map-container {
        position: relative;
        background: #d3dce3;
        border-radius: 5px;
        padding: 2.5rem 2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
        overflow: hidden;
    }
    
    .map-wrapper {
        position: relative;
        width: 100%;
        margin: 0 auto;
        height: 0;
        padding-bottom: 58.16%;
    }
    
    .map-bg {
        position: absolute;
        display: block;
        width: 110%;
        height: 110%;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center center;
        background-image: url(images-new/map.png);
        left: -4%;
        top: -8.5%;
    }
    
    .markers {
        position: absolute;
        display: block;
        width: 110%;
        height: 110%;
        left: -4%;
        top: -8.5%;
    }
    
    .marker {
        position: absolute;
        z-index: 5;
    }
    
    .marker-pin {
        width: 20px;
        height: 20px;
        border-radius: 50% 50% 50% 0;
        transform: rotate(-45deg);
        position: relative;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
        margin: 0 auto;
    }
    
    .marker-pin::after {
        content: '';
        position: absolute;
        top: 5px;
        left: 6px;
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50%;
    }
    
    .marker-pin-pulse {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
        border-radius: 50%;
        opacity: 0.55;
        animation: pulse 1.5s ease-out infinite;
    }
    
    @keyframes pulse {
        0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.55;
        }
        100% {
            transform: translate(-50%, -50%) scale(1.5);
            opacity: 0.2;
        }
    }
    
    .marker-label {
        position: absolute;
        top: -75px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        white-space: nowrap;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    
    .marker-label::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 8px;
        height: 8px;
        background: inherit;
    }
    
    .illinois .marker-label {
        left: -55px;
        top: -42px;
    }
    
    .illinois .marker-label:after {
        bottom: 12px;
        left: 100%;
    }
    
    .section-title {
        position: relative;
        display: inline-block;
        padding-bottom: 0.75rem;
        font-size: 3rem;
        color: var(--blue);
    }
    
    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(to right, var(--blue), var(--blue-light));
        border-radius: 4px;
    }
    
    .info-callout {
        background: rgba(255, 236, 172, 0.7);
        border-radius: 5px;
        padding: 1.25rem 1.5rem;
    }
    
    .programme-list li {
        padding: 0.35rem 0;
    }
    
    .logo-banner {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 1.5rem;
        padding: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sci-connect-img {
        max-width: 500px;
        width: 65%;
        margin-bottom: 30px;
    }
    
    .virginia .marker-label::after,
    .marker-bottom .marker-label::after {
        bottom: unset;
        top: -4px;
    }
    
    .marker-bottom .marker-label {
        top: 26px;
    }
    /*
.ontario .marker-label {
    left: 43px;
}

.ontario .marker-label::after {
    bottom: -4px;
    left: 27%;
}
*/
    
    .ml-country {
        display: block;
        font-size: 1.5em;
        font-weight: 600;
    }
    
    .ml-city {
        display: block;
        font: 0.9em;
    }
    
    .work-panel {
        max-width: 1200px;
        margin: 0 auto;
        background: #F3DE8A;
        border-radius: 5px;
        padding: 48px 0 40px;
        box-shadow: 0 30px 60px rgba(43, 143, 218, 0.35);
        position: relative;
    }
    
    .work-header {
        text-align: center;
        margin-bottom: 36px;
        padding: 0 24px;
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    .work-title {
        color: #ffffff;
        font-size: 2.5rem;
        font-weight: 800;
        margin: 0 0 8px;
        letter-spacing: 0.5px;
    }
    
    .work-subtitle {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1rem;
        margin: 0;
    }
    
    .carousel-container {
        position: relative;
        overflow: visible;
    }
    
    .carousel-track {
        display: flex;
        align-items: center;
        transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .carousel-slide {
        flex: 0 0 auto;
        width: 40%;
        padding: 0 10px;
        transition: transform 0.5s ease, opacity 0.5s ease;
        transform: scale(0.85);
        opacity: 0.6;
    }
    
    .carousel-slide.is-active {
        transform: scale(1);
        opacity: 1;
        z-index: 5;
    }
    
    .card {
        background: #ffffff;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    }
    
    .card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }
    
    .card-title {
        text-align: center;
        font-weight: 600;
        color: #333;
        padding: 18px 12px 22px;
        font-size: 0.95rem;
    }
    
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
    }
    
    .carousel-dots .dot {
        width: 28px;
        height: 5px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: background 0.3s, width 0.3s;
    }
    
    .carousel-dots .dot.active {
        background: #ffffff;
        width: 40px;
    }
    
    .nav-wrapper {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 68px;
    }
    
    .nav-btn {
        width: 52px;
        height: 52px;
        border-radius: 5px;
        border: none;
        background: rgba(255, 255, 255, 0.8);
        color: var(--orange);
        font-size: 1.25rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s, background 0.2s;
    }
    
    .nav-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: scale(1.1);
    }
    
    @media (max-width: 600px) {
        .carousel-slide {
            width: 220px;
        }
        .work-title {
            font-size: 2rem;
        }
    }
    
    .hn-bottom {
        background-color: #fff;
        padding: 12px 15px;
        border-radius: 0 0 5px 5px;
    }
    /* floating bubbles */
    
    .bubble {
        position: absolute;
        border-radius: 50%;
        opacity: .5;
    }
    
    .b1 {
        width: 70px;
        height: 70px;
        background: var(--gold-light);
        top: 24%;
        left: 8%;
    }
    
    .b2 {
        width: 40px;
        height: 40px;
        background: #ffcb6e;
        top: 120px;
        right: 14%;
    }
    
    .b3 {
        width: 100px;
        height: 100px;
        background: rgba(96, 165, 250, 0.3);
        top: 58%;
        left: 20%;
    }
    
    .hero {
        position: relative;
        background: radial-gradient(circle at 80% 20%, rgba(245, 184, 0, 0.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(96, 165, 250, 0.35), transparent 50%), linear-gradient(135deg, #e8f1ff 0%, #fff8e6 100%);
    }
    
    .hero:before {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        opacity: .3;
        background-image: url(images-new/pattern-right.png);
        background-position: center bottom;
        background-size: contain;
        background-repeat: no-repeat;
        content: '';
    }
    
    .hero.has-image .bubble,
    .hero.has-image:before {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
        color: var(--blue);
        margin-bottom: 12px;
        line-height: 1.15;
    }
    
    .hero p {
        font-size: 1.3rem;
        color: var(--ink-soft);
        margin-bottom: 34px;
    }
    /* CUSTOM */
    /* all */
    
    .header-wrapper {
        padding: 0.5em 0;
    }
    
    footer .pt-6 {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    /* home */
    
    .ent-slogan {
        margin-top: 0;
        font-weight: 700;
    }
    
    .ent-bottom {
        padding: 29px 30px;
    }
    
    .hero-title {
        width: 100%;
        margin-left: -4px;
        /* color: #219aae; */
        color: #32b6ab;
    }
    
    .color-light .hero-title {
        color: #fff;
    }
    
    .color-dark .hero-title {
        color: var(--dark);
    }
    
    .color-orange .hero-title {
        color: var(--orange);
    }
    
    .color-blue .hero-title {
        color: var(--blue);
    }
    
    .hero-slider {
        padding-bottom: 42%;
    }
    
    .hero-slide .text-left,
    .hero-slide .text-right {
        width: 100%;
    }
    
    .hero-slide .text-top-left {
        position: absolute;
        top: calc(5% + 120px);
        left: 0;
    }
    
    .hero-slide .text-top-center {
        position: absolute;
        top: calc(5% + 120px);
        left: 50%;
        text-align: center;
        transform: translateX(-50%);
        width: 100%;
    }
    
    .hero-slide .text-top-right {
        position: absolute;
        top: calc(5% + 120px);
        right: 0;
    }
    
    .hero-slide .text-center-left {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
    
    .hero-slide .text-center {
        position: absolute;
        top: 50%;
        left: 50%;
        text-align: center;
        transform: translateX(-50%);
        width: 100%;
    }
    
    .hero-slide .text-center-right {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    
    .hero-slide .text-bottom-left {
        position: absolute;
        bottom: 165px;
        left: 0;
    }
    
    .hero-slide .text-bottom-center {
        position: absolute;
        bottom: 165px;
        left: 50%;
        text-align: center;
        transform: translateX(-50%);
        width: 100%;
    }
    
    .hero-slide .text-left .hero-buttons,
    .hero-slide .text-center-left .hero-buttons,
    .hero-slide .text-center-right .hero-buttons,
    .hero-slide .text-top-left .hero-buttons,
    .hero-slide .text-bottom-left .hero-buttons {
        justify-content: start;
    }
    
    .hero-slide .text-left,
    .hero-slide .text-center-left,
    .hero-slide .text-center-right,
    .hero-slide .text-top-left,
    .hero-slide .text-bottom-left,
    .hero-slide .text-right,
    .hero-slide .text-center-right,
    .hero-slide .text-bottom-right {
        text-align: left;
    }
    
    .hero-slide .text-right .hero-buttons,
    .hero-slide .text-center-right .hero-buttons,
    .hero-slide .text-bottom-right .hero-buttons {
        justify-content: end;
    }
    
    .hero-slide .text-bottom-right {
        position: absolute;
        bottom: 165px;
        right: 0;
    }
    
    .event-block>div.grid {
        margin-left: 0;
        width: 100%;
    }
    
    .news-title.mt-3 {
        margin-top: 0.3rem;
        font-size: 1.12rem;
        padding-bottom: 0;
    }
    
    .hn-bottom {
        padding: 12px 15px 13px 15px;
    }
    
    .multi-date-container {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .multi-date-separator {
        width: 8px;
        margin: 0 3px 0 3px;
        border-top: 1px solid rgb(30, 41, 59);
        color: transparent;
        font: 0 / 0 a;
    }
    /* inner */
    
    .map-container {
        padding: 0;
    }
    
    .marker-label {
        padding: 10px 18px 12px 18px;
        text-align: center;
    }
    
    .ml-country {
        font-size: 1.4em;
        line-height: 1.2;
    }
    
    .ml-city {
        line-height: 1.2;
    }
    
    .slogan-content {
        /* color: #219aae; */
        color: #32b6ab;
    }
    
    .slogan-line2 {
        font-weight: 700;
    }
    /* Mobile Menu layout */
    /* Left-aligned group: search + font sizes + language */
    
    .mm-header-left {
        display: flex;
        display: none;
        align-items: center;
        gap: 16px;
    }
    
    .mm-search-btn {
        background: none;
        border: none;
        font-size: 17px;
        color: #555;
        cursor: pointer;
        padding: 4px;
        transition: color .2s;
    }
    
    .mm-search-btn:hover {
        color: #f9923c;
    }
    /* Font size switcher */
    
    .mm-font-sizes {
        display: inline-flex;
        align-items: baseline;
        gap: 8px;
        color: #888;
    }
    
    .mm-font-sizes span {
        cursor: pointer;
        line-height: 1;
        transition: color .2s;
    }
    
    .mm-font-sizes span:nth-child(1) {
        font-size: 12px;
    }
    
    .mm-font-sizes span:nth-child(2) {
        font-size: 15px;
    }
    
    .mm-font-sizes span:nth-child(3) {
        font-size: 18px;
    }
    
    .mm-font-sizes span:hover,
    .mm-font-sizes span.active {
        color: #f9923c;
    }
    /* Language selector */
    
    span.wpml-ls-native {
        text-shadow: 0 0 0;
    }
    
    .mm-lang-select {
        background: #fff;
        border-radius: 9999px;
        padding: 4px 12px;
        font-size: 12px;
        color: #555;
        outline: none;
        cursor: pointer;
        transition: border-color .2s;
    }
    
    .mm-lang-select span.wpml-ls-native {
        color: #555;
    }
    
    .mm-lang-select:focus,
    .mm-lang-select:hover {
        border-color: #f9923c;
    }
    
    #mobile-menu-close {
        background: none;
        border: none;
        font-size: 20px;
        color: #333;
        cursor: pointer;
        line-height: 1;
        padding: 4px;
        flex-shrink: 0;
    }
    
    .top-links a {
        font-size: 1rem;
    }
    /* ---------- Utility section (top links only) ---------- */
    
    .mm-utility {
        padding: 8px 20px 20px;
        background: #f7f7f7;
        border-top: 1px solid #e5e5e5;
    }
    
    .mm-top-links {
        display: flex;
        flex-direction: column;
    }
    
    .mm-top-links a:last-child {
        border-bottom: none;
    }
    
    .mm-top-links a:hover {
        color: #f9923c;
    }
    /* Scroll Hint Badge */
    
    .scroll-hint {
        display: none;
        align-items: center;
        gap: 6px;
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 10;
        padding: 6px 12px;
        background-color: rgba(0, 0, 0, 0.65);
        color: #ffffff;
        font-size: 10px;
        font-weight: 500;
        border-radius: 10px;
        pointer-events: none;
        /* Prevents blocking clicks on the map */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    /* Bouncing Arrow Animation */
    
    .scroll-hint svg {
        animation: bounceRight 1.5s infinite;
    }
    
    @keyframes bounceRight {
        0%,
        100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(4px);
        }
    }
    /* Reset default WPML styles */
    
    .wpml-ls-legacy-dropdown-click {
        width: auto !important;
        max-width: none;
    }
    
    .wpml-ls-legacy-dropdown-click>ul>li {
        list-style: none;
    }
    /* Main toggle button - pill shape */
    
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
        background: transparent;
        width: auto;
        border: 1.5px solid #fff;
        /* light tan/beige border */
        border-radius: 50px;
        /* pill shape */
        color: #ffffff;
        font-size: 14px;
        font-weight: 400;
        padding: 5px 40px 5px 20px!important;
        line-height: 1.2;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .wpml-ls-legacy-dropdown-click>ul {
        width: auto;
    }
    /* Hover / focus state */
    
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:hover,
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border-color: #e6c9a8;
    }
    /* Chevron (down arrow) */
    
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
        content: ''!important;
        border: solid #ffffff!important;
        border-width: 0 2px 2px 0!important;
        display: inline-block!important;
        padding: 3px!important;
        position: absolute!important;
        right: 18px!important;
        top: 50%!important;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.3s ease;
    }
    /* Rotate chevron when dropdown is open */
    
    .wpml-ls-legacy-dropdown-click li:hover a.wpml-ls-item-toggle::after,
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle[aria-expanded="true"]::after {
        transform: translateY(-30%) rotate(-135deg);
    }
    /* Dropdown sub-menu */
    
    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
        border-top: none;
        background: #fff;
        /* match your blue background */
        border: 1.5px solid #d9b48f;
        border-radius: 0;
        overflow: hidden;
        margin-top: 0;
        min-width: 100%;
        z-index: 100;
    }
    
    .wpml-ls-sub-menu .wpml-ls-native,
    .wpml-ls-sub-menu span.wpml-ls-native:lang(zh-hant) {
        color: #555;
    }
    
    .wpml-ls-native,
    span.wpml-ls-native:lang(zh-hant) {
        text-shadow: 0 0 0!important;
    }
    /* Sub-menu links */
    
    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
        background: transparent;
        border: none;
        padding: 5px 10px;
        font-size: 15px;
        transition: background 0.3s ease;
    }
    
    .mm-lang-select .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
        background: transparent;
        color: #ffffff;
    }
    
    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a:hover,
    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a:focus {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }
    /* Reset default WPML styles */
    
    .mm-lang-select .wpml-ls-legacy-dropdown {
        width: auto;
    }
    
    .mm-lang-select .wpml-ls-legacy-dropdown ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    /* Pill-shaped button */
    
    .mm-lang-select .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 20px;
        background: #fff;
        border: 1px solid #d9d9d9;
        /* light gray border */
        border-radius: 9999px;
        /* fully rounded pill */
        color: #555;
        font-size: 15px;
        font-weight: 400;
        line-height: 1;
        text-decoration: none;
        transition: border-color 0.2s ease;
    }
    /* Remove WPML's default arrow */
    
    .mm-lang-select .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
        display: none;
        content: none;
    }
    /* Custom chevron-down icon */
    
    .mm-lang-select .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle .wpml-ls-native::after {
        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        margin-left: 8px;
        margin-bottom: 6px;
        border-right: 1.5px solid #555;
        border-bottom: 1.5px solid #555;
        transform: rotate(45deg);
        vertical-align: middle;
        transition: transform 0.2s ease;
    }
    /* Hover state */
    
    .mm-lang-select .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover,
    .mm-lang-select .wpml-ls-legacy-dropdown li:hover a.wpml-ls-item-toggle {
        background: #fff;
        border-color: #b5b5b5;
        color: #333;
    }
    /* Dropdown sub-menu styling */
    
    .mm-lang-select .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        min-width: 100%;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        z-index: 999;
    }
    
    .mm-lang-select .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
        display: block;
        padding: 8px 20px;
        border: none;
        color: #555;
        font-size: 15px;
        text-decoration: none;
    }
    
    .mm-lang-select .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover {
        background: #f5f5f5;
        color: #333;
    }
    /* Revise old styling */
    
    .fbc-page .fbc-wrap .fbc-items li:first-child {
        display: inline-block!important;
    }
    
    .fbc-page .fbc-wrap .fbc-items {
        background-color: transparent!important;
    }
    
    .fbc-page .fbc-wrap .fbc-items li:after {
        display: inline-block;
        vertical-align: middle;
        color: #1e293b;
        content: '›';
        padding: 0 8px;
    }
    
    .fbc-page .fbc-wrap .fbc-items li a {
        color: #1e293b!important;
        font-size: 1.1rem!important;
    }
    
    .fbc-page .fbc-wrap .fbc-items li::after {
        font-size: 1.2rem;
        margin-top: -5px;
    }
    
    #sci-top-banner {
        display: none!important;
    }
    
    .et_fixed_nav.et_show_nav #page-container {
        padding-top: 0!important;
    }
    
    .page-template-default .inner-page-menu .et_pb_menu {
        background-color: transparent;
    }
    
    .page-template-default .et_pb_section.et_pb_section_1.inner-page-menu.et_pb_with_background.et_section_regular.et_pb_section--with-menu {
        background-color: #dbeafe!important;
        padding: 0;
        height: 60px!important;
    }
    /* Tab items */
    
    .page-template-default .et_pb_section_1 .et_pb_menu .et_pb_menu__wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        height: 60px;
    }
    
    .page-template-default .et_pb_section_1 .et_pb_menu .et-menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap;
        margin: 0;
        padding: 0;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 1600px;
        gap: 1.2rem;
        flex-wrap: nowrap;
    }
    
    .page-template-default .et_pb_section_1 .et_pb_menu .et-menu>li {
        margin: 0;
        padding: 0;
        flex: 0 0 auto !important;
        display: inline-block;
    }
    
    .inner-page-menu .et_pb_section_1 .et_pb_menu .et-menu>li>a {
        position: relative;
        cursor: pointer!important;
        transition: color 0.3s;
    }
    
    .page-template-default .et_pb_section_1.inner-page-menu nav.et-menu-nav li.menu-item a {
        font-size: 1rem!important;
        line-height: 1.25rem!important;
        padding: 1.55rem 0!important;
        font-weight: 600!important;
        letter-spacing: 0.5px!important;
        text-transform: uppercase;
        color: var(--dark)!important;
    }
    
    .inner-page-menu .et_pb_menu .et-menu>li.current-menu-item>a,
    .inner-page-menu .et_pb_menu .et-menu>li.current_page_item>a {
        color: var(--blue)!important;
    }
    
    .et_pb_row_1.et_pb_row {
        padding-top: 0!important;
    }
    /* Hover */
    
    .inner-page-menu .et_pb_menu .et-menu>li>a:hover {
        color: var(--orange);
        opacity: 1;
        /* Divi defaults to opacity .7 on hover */
    }
    /* Active tab */
    
    .inner-page-menu .et_pb_menu .et-menu>li.current-menu-item>a,
    .inner-page-menu .et_pb_menu .et-menu>li.current_page_item>a {
        color: var(--blue);
    }
    /* Active gradient underline, flush with the bottom of the bar */
    
    .inner-page-menu .et_pb_menu .et-menu>li.current-menu-item>a::after,
    .inner-page-menu .et_pb_menu .et-menu>li.current_page_item>a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        background: linear-gradient(to right, var(--blue), var(--blue-light));
        border-radius: 3px 3px 0 0;
    }
    
    .inner-page-menu .current-menu-item {
        border: 0!important;
    }
    
    .et_pb_row_1,
    body #page-container .et-db #et-boc .et-l .et_pb_row_1.et_pb_row,
    body.et_pb_pagebuilder_layout.single #page-container #et-boc .et-l .et_pb_row_1.et_pb_row,
    body.et_pb_pagebuilder_layout.single.et_full_width_page #page-container #et-boc .et-l .et_pb_row_1.et_pb_row {
        max-width: 1600px!important;
        width: 96%!important;
    }
    
    .stat-desc {
        font-size: 1rem;
    }
    
    .text-block p {
        font-size: 1.13rem;
    }
    
    .text-block .text-sm {
        font-size: 0.88rem;
    }
    
    #Introduction {
        background-color: #f8fafc;
    }
    
    .feature-icon i {
        color: var(--orange);
    }
    
    .card-heading,
    .et_pb_module_header {
        color: var(--blue-dark);
        font-size: 1.125rem;
    }
    
    .text-block p,
    .text-block a,
    .text-block ul,
    .text-block ol {
        font-size: 1.125rem;
    }
    
    html {
        overflow-x: hidden;
    }
    
    .section-tab-bar {
        background-color: #d9eaff;
    }
    
    .custom-contact-icon-1 {
        display: inline-block;
    }
    
    .custom-contact-icon-1 i {
        display: inline-block;
        width: 18px;
        height: 18px;
        font-size: 1.1rem;
    }
    
    .custom-contact-icon-1 i:before {
        width: 18px;
        height: 18px;
        margin-top: -6px;
    }
    
    .cc-icons {
        flex-wrap: wrap;
        justify-content: end;
    }
    
    .cc-icon {}
    
    .icon-xiaohongshu {
        width: 24px;
        height: 18px;
        background-image: url(images/xiaohongshu-orange.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        display: inline-block;
    }
    
    .icon-xiaohongshu:hover {
        background-image: url(images/xiaohongshu-orange-h.png);
    }
    
    .et_pb_menu__wrap,
    .inpage-top-menu {
        background-color: #d9eaff!important;
    }
    
    #main-content .et_pb_section_1.et_pb_section {
        background-color: #d9eaff!important;
    }
    
    .inner-page-menu .et_pb_row--with-menu nav.et-menu-nav ul.et-menu.nav li a {
        position: relative;
        padding: 1.25rem 0;
        font-weight: 600;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: color 0.3s;
    }
    
    .et_pb_section_1.inner-page-menu nav.et-menu-nav li.menu-item {
        line-height: 1.25rem;
    }
    
    .et_pb_section_1.inner-page-menu nav.et-menu-nav li.menu-item a {
        font-size: 0.875rem!important;
        color: inherit!important;
        text-transform: uppercase;
    }
    
    .et_pb_section_1.inner-page-menu nav.et-menu-nav li.menu-item a:hover {
        color: var(--orange)!important;
    }
    
    .inner-page-menu .et_pb_menu_inner_container.clearfix {
        height: auto!important;
    }
    
    .inner-page-menu .et_pb_menu .et-menu>li.current_page_item>a {
        color: var(--blue)!important;
    }
    /* inpage menu */
    
    .inner-page-menu {
        display: none!important;
        width: 100%;
    }
    
    .inpage-menu-wrap {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .inpage-menu-container {
        overflow-y: hidden;
        overflow-x: auto;
        white-space: nowrap;
        flex: 1 1 auto;
        min-width: 0;
        /* CRITICAL: allows the flex item to shrink so overflow/scroll can happen */
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .inpage-menu-container::-webkit-scrollbar {
        display: none;
    }
    /* Prevent tabs from shrinking/wrapping so they overflow horizontally */
    
    .inpage-menu-container .section-tabs {
        display: inline-flex;
        flex-wrap: nowrap;
    }
    
    .inpage-menu-container .section-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .inpage-menu-arrow {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: none;
        background: transparent;
        color: inherit;
        cursor: pointer;
        transition: opacity 0.2s;
    }
    
    .inpage-menu-arrow.is-hidden {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    
    .fbc-items li:not([itemprop="itemListElement"]) {
        display: none;
    }
    
    .content {
        display: block!important;
        background-color: #f5f5f5;
    }
    /* Divi styling */
    
    .et_pb_button,
    .et_pb_module .et_pb_button,
    .page-template-default .et_pb_button_0_wrapper .et_pb_button_0,
    .page-template-default .et_pb_button_0_wrapper .et_pb_button_0:hover {
        padding: 0.3em 3em 0.3em 1em!important;
        font-size: 1rem!important;
        margin: 1em 0;
    }
    
    .et_pb_button:after,
    .et_pb_button:before {
        font-size: 27px;
    }
    
    .et_pb_button:after,
    .et_pb_button:hover:after,
    .et_pb_module .et_pb_button:after,
    .et_pb_module .et_pb_button:hover:after {
        right: 0.75em!important;
        left: auto!important;
        margin-left: 0!important;
        margin-right: 0!important;
        opacity: 1;
    }
    
    table.contact-us-table tr:first-child td:first-child,
    .page-id-270223 table.contact-us-table tr td:first-child,
    table.tabledemo9 tr table.contact-us-table tr td:first-child,
    .page-id-20521 table.contact-us-table tbody tr td:first-child {
        position: relative;
        width: 36px!important;
        height: 36px!important;
        padding: 0 5px!important;
        vertical-align: middle;
        vertical-align: middle;
    }
    
    table.contact-us-table tr:first-child td:first-child img,
    table.tabledemo9 tr table.contact-us-table tr td:first-child img,
    .page-id-20521 table.contact-us-table tbody tr td:first-child img {
        position: absolute;
        top: 0;
        width: 80%;
        height: 80%;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: center center;
        object-position: center center;
    }
    /* Tel icon */
    
    table.contact-us-table tr:first-child td:first-child img.wp-image-17513,
    table.tabledemo9 tr table.contact-us-table tr td:first-child img.wp-image-17513 {
        height: 65%;
        margin-top: 4px;
    }
    /* Email icon */
    
    table.contact-us-table tr:first-child td:first-child {
        position: relative;
    }
    
    table.contact-us-table tr:first-child td:first-child img.wp-image-17519,
    table.tabledemo9 tr table.contact-us-table tr td:first-child img.wp-image-17519,
    .page-id-20521 table.contact-us-table tbody tr td:first-child .wp-image-17519,
    .wp-image-17519 {
        margin-top: 5px;
    }
    
    .contact-us-table img.wp-image-17513,
    .contact-us-table img.wp-image-17514,
    .contact-us-table img.wp-image-17519 {
        position: absolute;
        margin-top: 0;
        object-fit: contain;
        object-position: center;
        position: absolute;
        width: 38px;
        margin-top: 0;
        margin-top: -4px;
    }
    
    .card-heading {
        font-size: 1.5rem;
        margin: 0.5em 0;
        font-weight: 700;
    }
    
    .et_pb_blurb_content {
        width: 100%;
        text-align: left;
    }
    
    .et_pb_accordion_0 {
        margin-top: 1rem;
    }
    
    div#search-filter-results-247646 .mec-event-date.mec-multiple-date-event:not(:last-child)::after {
        display: none!important;
    }
    
    .category-focs {
        display: flex;
        gap: 0;
        flex-wrap: wrap;
    }
    
    .category-focs .et_post_meta_wrapper {
        width: 30%;
        margin-right: 3%;
    }
    
    .category-focs .entry-content {
        width: 65%;
    }
    
    .single-focs #main-content .container:before {
        display: none;
    }
    
    .single-focs #left-area {
        width: 100%;
    }
    
    .single-focs .et_pb_post .entry-content {
        padding-top: 0;
    }
    
    .entry-content h1 {
        font-size: 2rem;
    }
    
    .entry-content h2 {
        font-size: 1.6rem;
    }
    
    .entry-content h3 {
        font-size: 1.38rem;
    }
    
    .entry-content h4 {
        font-size: 1.25rem;
    }
    
    .entry-content h5 {
        font-size: 1rem;
    }
    
    .entry-content h6 {
        font-size: 0.9rem;
    }
    
    .sec-padding {
        padding-bottom: 7em;
    }
    
    .award-card {
        display: flex;
        align-items: center;
        padding: 0;
        min-height: 220px;
        border-radius: 5px;
    }
    
    .osa-column {
        margin-top: 4em;
    }
    
    .osa-column:nth-child(4n+1) .osa-card {
        background-color: #a9cdff;
    }
    
    .award-card:nth-child(4n+2),
    .award-card:nth-child(4n+4),
    .osa-column:nth-child(4n+2) .osa-card,
    .osa-column:nth-child(4n+4) .osa-card {
        background-color: #e3efff;
    }
    
    .award-card:nth-child(4n+3),
    .osa-column:nth-child(4n+3) .osa-card {
        background-color: #306acf;
        color: #fff;
    }
    
    .award-card:nth-child(4n+3) .award-year,
    .award-card:nth-child(4n+3) .recipient-heading {
        color: #fff;
    }
    
    .award-card-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        padding: 20px;
        /* Ensures parent expands to fill available height */
    }
    
    .acc-bottom {
        margin-top: auto;
        /* Pushes the element to the bottom */
    }
    /*
.acc-bottom {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
}
*/
    
    .award-card-content.right {
        width: calc(100% - 180px);
    }
    
    .recipient-photo {
        width: 180px;
    }
    
    .recipient-photo img {
        width: 100%;
    }
    
    .award-year {
        font-size: 1.2rem;
        text-align: right;
    }
    
    .award-brief {
        opacity: .8;
    }
    
    .award-content a:hover {
        color: #f9923c;
    }
    
    .award-content a:hover {
        color: #f7a460;
    }
    
    .osa-year {
        color: #4a6cf7;
        font-size: 2rem;
        font-weight: 700;
    }
    
    .osa-columns {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .osa-column__title {
        display: block;
        text-align: center;
        font-weight: 700;
    }
    
    .osa-card {
        display: block;
        padding: 20px;
        height: 100%;
    }
    
    .osa-award {
        margin-bottom: 20px;
    }
    
    p.osa-award__name {
        font-weight: 700;
        margin: 0;
        padding-bottom: 0;
    }
    
    .osa-award__programme {
        color: #306acf;
        margin: 0;
    }
    
    .osa-column:nth-child(3) .osa-award__programme {
        color: #dce7f7;
    }
    
    .osa-year-block {
        padding-top: 4em;
    }
    
    .full-width-cols .acc-bottom {
        position: relative;
        top: unset;
        bottom: unset;
    }
    
    .full-width-cols .recipient-photo {
        width: 30%;
    }
    
    .flipbook-container {
        width: 100%;
        position: relative;
        min-height: 500px;
    }
    
    .flipbook-ratio-wrap {
        width: 100%;
        position: relative;
    }
    
    .sci-awards {
        padding: 3em 0;
    }
    
    .inpage-menu-arrow--left {
        position: absolute;
        left: -23px;
    }
    
    .inpage-menu-arrow--right {
        position: absolute;
        right: -23px;
    }
    
    .mec-event-info-desktop {
        display: block !important;
    }
    
    .mec-back-button {
        display: inline-block;
        padding: 10px 24px;
        background: #333;
        color: #fff;
        border-radius: 4px;
        text-decoration: none;
    }
    /* ===== Sidebar 容器 ===== */
    
    #right-area {
        padding: 30px 25px;
        border-radius: 8px;
    }
    /* ===== 日期 / 時間區塊 ===== */
    
    #right-area .mec-event-meta {
        margin-bottom: 20px;
    }
    
    #right-area .mec-single-event-date,
    #right-area .mec-single-event-time {
        position: relative;
        padding-left: 34px;
    }
    /* icon 定位 */
    
    #right-area .mec-single-event-date>i,
    #right-area .mec-single-event-time>i.mec-sl-clock {
        position: absolute;
        left: 0;
        top: 3px;
        font-size: 20px;
        color: #333;
    }
    /* 標籤文字（Date / Time） */
    
    #right-area .mec-date,
    #right-area .mec-time {
        font-weight: 700;
        font-size: 15px;
        color: #1a1a1a;
        margin-bottom: 4px;
    }
    /* 日期時間內容 */
    
    #right-area .mec-event-meta dl {
        margin: 0;
    }
    
    #right-area .mec-event-meta dd {
        margin: 0;
        font-size: 15px;
        color: #444;
        line-height: 1.5;
    }
    
    #right-area .mec-events-abbr {
        text-decoration: none;
        border: none;
    }
    /* ===== Back to Events 按鈕 ===== */
    
    #right-area .mec-back-to-events {
        margin: 25px 0;
    }
    
    #right-area .mec-back-button {
        display: block;
        padding: 12px 28px;
        background: #f9923c;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        border-radius: 4px;
        text-decoration: none;
        transition: background 0.3s ease;
    }
    
    .single-mec-events .mec-event-social.mec-frontbox {
        border: 2px solid #f9923c;
    }
    
    #right-area .mec-back-button:hover {
        background: #000;
        color: #fff;
    }
    /* ===== Share this event ===== */
    
    #right-area .mec-social-single {
        font-size: 16px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 12px;
    }
    /* icon 橫向排列 */
    
    #right-area .mec-event-sharing ul {
        display: flex;
        align-items: center;
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    #right-area .mec-event-social-icon {
        margin: 0;
    }
    
    .single-mec-events #content-area {
        position: relative;
        padding-top: 3em;
    }
    
    #right-area {
        width: 25%;
        top: 3em;
        position: absolute;
        right: 0;
    }
    /* 統一每個 icon 的外框尺寸 */
    
    #right-area .mec-event-social-icon a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f9923c;
        color: #fff;
        border-radius: 50%;
        font-size: 16px;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }
    
    #right-area .mec-event-social-icon a:hover {
        opacity: 0.75;
    }
    /* ★ 關鍵：限制 X (Twitter) SVG 的尺寸 */
    
    #right-area .mec-event-social-icon a svg {
        width: 16px;
        height: 16px;
    }
    
    #right-area .mec-event-social-icon a svg path {
        fill: #fff;
    }
    
    .desc-content {
        display: none;
    }
    
    .page-id-18271 .phone,
    .page-id-18271 .email,
    .page-id-19023 .phone,
    .page-id-19023 .email {
        display: none;
    }
    
    table.contact-us-table tr:first-child td:first-child {
        margin-left: 0!important;
    }
    
    table.contact-us-table tr td:first-child {
        position: relative;
    }
    
    .customizeAcc .et_pb_toggle_open:before {
        top: 0.6rem;
    }
    
    [lang="zh-hant"] .fbc-page .fbc-wrap .fbc-items li::after {
        padding: 0 8px 5px 8px;
    }
    
    ul.customPS_second-ul {
        margin-top: 15px!important;
    }
    
    .customPS_first-ul>li,
    .customPS_first-ul>li.external_link_icon>a,
    .customPS_first-ul>li.external_link_icon>strong>a {
        font-weight: 700;
    }
    
    .et_pb_row {
        max-width: 1600px!important;
        width: 96%!important;
    }
    
    .mec-event-grid-clean .mec-event-article {
        height: auto!important;
    }
    
    .not-found-title {
        font-size: 2.5rem;
    }
    
    .not_found {
        padding-bottom: 10em;
    }
    
    .page-id-18242 .et_pb_column_2,
    .page-id-18990 .et_pb_column_2 {
        width: 220px !important;
    }
    
    .page-id-18242 .et_pb_column_3,
    .page-id-18990 .et_pb_column_3 {
        width: calc(98% - 220px)!important;
    }
    
    .page-id-243672 .dropdown,
    .page-id-243669 .dropdown,
    .page-id-255260 .dropdown,
    .page-id-255258 .dropdown {
        display: none;
    }
    
    p.prglistp a {
        color: var(--blue);
    }
    
    p.prglistp a:hover {
        color: var(--blue-light);
    }
    
    @media (min-width: 981px) {
        .et_pb_gutters1 .et_pb_column_3_5,
        .et_pb_gutters1.et_pb_row .et_pb_column_3_5 {
            width: 60%;
            padding-right: 2%;
        }
    }
    
    .parent-pageid-270353 .et_pb_button:after,
    .parent-pageid-270353 .et_pb_button:before,
    .parent-pageid-270357 .et_pb_button:after,
    .parent-pageid-270357.et_pb_button:before {
        font-size: 20px;
        margin-top: 2px;
    }
    
    .parent-pageid-270353 .et_pb_module_header,
    .parent-pageid-270357 .et_pb_module_header {
        margin-top: 20px;
    }
    
    .parent-pageid-270353 .et_pb_button,
    .parent-pageid-270357 .et_pb_button {
        margin-left: 1em;
    }
    /* Outstanding Alumni Service Award: white cards, text and video on opposite sides. */
    
    .alumni-2-cols,
    .alumni-col-2 {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 36px !important;
        position: relative;
        overflow: visible;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 36px !important;
        margin-bottom: 20px !important;
        box-sizing: border-box;
    }
    
    .alumni-2-cols>.et_pb_column:has(.et_pb_blurb),
    .alumni-col-2>.et_pb_column:has(.et_pb_blurb),
    .alumni-col-1 {
        background: #fff !important;
        border-radius: 5px !important;
        box-shadow: 0 12px 32px rgba(40, 80, 110, 0.08);
        padding: 36px 40px !important;
        box-sizing: border-box;
    }
    
    .alumni-2-cols>.et_pb_column,
    .alumni-col-2>.et_pb_column {
        float: none !important;
        width: calc(50% - 18px) !important;
        max-width: calc(50% - 18px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .alumni-2-cols.et_pb_row .et_pb_blurb .et_pb_module_header,
    .alumni-col-2.et_pb_row .et_pb_blurb .et_pb_module_header {
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    
    .alumni-2-cols.et_pb_row .et_pb_blurb .et_pb_module_header,
    .alumni-2-cols.et_pb_row .et_pb_blurb .et_pb_module_header a,
    .alumni-2-cols.et_pb_row .et_pb_blurb .et_pb_module_header span,
    .alumni-col-2.et_pb_row .et_pb_blurb .et_pb_module_header,
    .alumni-col-2.et_pb_row .et_pb_blurb .et_pb_module_header a,
    .alumni-col-2.et_pb_row .et_pb_blurb .et_pb_module_header span {
        color: #2563eb !important;
        font-weight: 700 !important;
    }
    
    .alumni-2-cols .et_pb_module_header::before,
    .alumni-col-2 .et_pb_module_header::before {
        content: none !important;
        display: none !important;
    }
    
    .alumni-2-cols .et_pb_blurb_description,
    .alumni-col-2 .et_pb_blurb_description {
        color: #4a4a4a;
        line-height: 1.6;
    }
    
    .alumni-2-cols>.et_pb_column:has(.et_pb_video),
    .alumni-col-2>.et_pb_column:has(.et_pb_video) {
        position: relative;
    }
    
    .alumni-2-cols>.et_pb_column:has(.et_pb_video) .et_pb_video,
    .alumni-col-2>.et_pb_column:has(.et_pb_video) .et_pb_video {
        position: relative;
        z-index: 1;
    }
    
    .alumni-2-cols>.et_pb_column:first-child:has(.et_pb_video)::before,
    .alumni-col-2>.et_pb_column:first-child:has(.et_pb_video)::before,
    .alumni-2-cols>.et_pb_column:last-child:has(.et_pb_video)::before,
    .alumni-col-2>.et_pb_column:last-child:has(.et_pb_video)::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: -22px;
        width: 84px;
        height: 84px;
        border-radius: 5px;
        pointer-events: none;
    }
    
    .alumni-2-cols>.et_pb_column:first-child:has(.et_pb_video)::before,
    .alumni-col-2>.et_pb_column:first-child:has(.et_pb_video)::before {
        left: -22px;
        background: #bfdae2;
    }
    
    .alumni-2-cols>.et_pb_column:last-child:has(.et_pb_video)::before,
    .alumni-col-2>.et_pb_column:last-child:has(.et_pb_video)::before {
        right: -22px;
        background: #bfdae2;
    }
    
    .alumni-2-cols .et_pb_video,
    .alumni-2-cols .et_pb_video_box,
    .alumni-2-cols .fluid-width-video-wrapper,
    .alumni-col-2 .et_pb_video,
    .alumni-col-2 .et_pb_video_box,
    .alumni-col-2 .et_pb_video_box iframe,
    .alumni-col-2 .fluid-width-video-wrapper {
        position: relative;
        z-index: 1;
        border-radius: 0 !important;
    }
    
    @media (max-width: 980px) {
        .alumni-2-cols,
        .alumni-col-2 {
            flex-direction: column !important;
            align-items: stretch !important;
            gap: 20px !important;
            padding: 0 !important;
        }
        .alumni-2-cols>.et_pb_column:has(.et_pb_blurb),
        .alumni-col-2>.et_pb_column:has(.et_pb_blurb),
        .alumni-col-1 {
            padding: 28px 22px !important;
        }
        .alumni-2-cols>.et_pb_column,
        .alumni-col-2>.et_pb_column {
            width: 100% !important;
            max-width: 100% !important;
        }
        .alumni-2-cols>.et_pb_column:has(.et_pb_blurb),
        .alumni-col-2>.et_pb_column:has(.et_pb_blurb) {
            order: 1;
        }
        .alumni-2-cols>.et_pb_column:has(.et_pb_video),
        .alumni-col-2>.et_pb_column:has(.et_pb_video) {
            order: 2;
        }
    }
    /* Same card when text and video share one column. */
    
    body.page-id-21259 .et_pb_row:has(.et_pb_blurb):has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) {
        position: relative;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible;
        padding: 0 !important;
        margin-top: 36px !important;
        margin-bottom: 20px !important;
        box-sizing: border-box;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_blurb {
        background: #fff !important;
        border-radius: 5px !important;
        box-shadow: 0 12px 32px rgba(40, 80, 110, 0.08);
        padding: 36px 40px !important;
        box-sizing: border-box;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_blurb):has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 36px;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_blurb,
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_video {
        flex: 1 1 calc(50% - 18px);
        width: calc(50% - 18px) !important;
        max-width: calc(50% - 18px) !important;
        margin: 0 !important;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) .et_pb_blurb .et_pb_module_header,
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) .et_pb_blurb .et_pb_module_header span {
        color: #2563eb !important;
        font-weight: 700 !important;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) .et_pb_blurb .et_pb_module_header::before {
        content: none !important;
        display: none !important;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_video {
        position: relative;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_video::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: -22px;
        right: -22px;
        width: 84px;
        height: 84px;
        background: #bfdae2;
        border-radius: 5px;
        pointer-events: none;
    }
    
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) .et_pb_video,
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) .et_pb_video_box,
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) .et_pb_video_box iframe,
    body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) .fluid-width-video-wrapper {
        position: relative;
        z-index: 1;
        border-radius: 0 !important;
    }
    
    @media (max-width: 980px) {
        body.page-id-21259 .et_pb_row:has(.et_pb_blurb):has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2) {
            padding: 0 !important;
        }
        body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_blurb {
            padding: 28px 22px !important;
        }
        body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column {
            flex-direction: column !important;
            align-items: stretch;
            gap: 20px;
        }
        body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_blurb {
            order: 1;
            width: 100% !important;
            max-width: 100% !important;
        }
        body.page-id-21259 .et_pb_row:has(.et_pb_video):not(.alumni-2-cols):not(.alumni-col-2)>.et_pb_column>.et_pb_video {
            order: 2;
            width: 100% !important;
            max-width: 100% !important;
        }
    }
    
    .alumni-col-2 .fluid-width-video-wrapper iframe {
        position: absolute;
    }
    
    .buttons-container>div {
        display: flex;
        gap: 2%;
    }

/* Top bar social icons: fixed 2rem icon boxes.
   The demo site got this from Modern Events Calendar's inline ".fab:before" CSS;
   MEC is not active here, so define it explicitly. */
.social-icons .fab::before {
    display: block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    font-size: 1rem;
    text-align: center;
}
