@charset "utf-8";

/* Variables */
:root {
    --ouc-blue: #004098;
    --sky-blue: #00A0E9;
    --ouc-red: #C81528;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --footer-lift: 0px;
}

/* Reset & Base */
html {
    touch-action: manipulation;
}

#fullpage {
    background: var(--ouc-blue);
    margin: 0;
    padding: 0;
}

/* Deep ocean gradient - each section gets progressively deeper */
#section-hero {
    background: transparent;
}

#section-news {
    background: linear-gradient(to bottom, #f5faff 0%, #dceaf8 100%);
    margin-bottom: 0;
}

#section-overview {
    background: linear-gradient(to bottom, #dceaf8 0%, #c5d9f0 100%);
    margin-bottom: 0;
}

#section-research {
    background: linear-gradient(to bottom, #c5d9f0 0%, #a8cce8 75%, #2a6ab0 100%);
    margin-bottom: 0;
}

#section-join {
    background: linear-gradient(to bottom, #2a6ab0 0%, #012061 100%);
    margin-bottom: 0;
    padding-bottom: 0;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
body { font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--text-color); font-size: 1vw; line-height: 1.8; -webkit-font-smoothing: antialiased; touch-action: manipulation; -ms-touch-action: manipulation; }

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { border: 0; vertical-align: middle; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { zoom: 1; }
.float-left { float: left; }
.float-right { float: right; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    z-index: 120;
    color: #fff;
    padding-top: 0.5vh;
    transition: background 0.4s ease, color 0.3s ease, transform 0.4s ease;
}

.header.sy .wp {
    width: auto;
    max-width: 90vw;
    margin: 0 auto;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5vw;
}

.flexjs {
    display: flex;
    justify-content: space-between;
}

.flexc {
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo-stack {
    display: flex;
    align-items: center;
    gap: 0.8vw;
}

.logo-stack .logo-img {
    height: 12vh;
    width: auto;
}

.logo-stack .i2 {
    height: 4vh;
}

.header .topr {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5vh;
}

.toplink ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.toplink ul li {
    position: relative;
    padding: 0 1vw;
}

.toplink ul li:first-child {
    padding-left: 0;
}

.toplink ul li:last-child {
    padding-right: 0;
}

.toplink ul li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: inherit;
    opacity: 0.5;
    font-size: 0.9vw;
}

.toplink a,
.toplink button {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 0.9vw;
    letter-spacing: 0.05vw;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.1vh 0;
    font-weight: 600;
    white-space: nowrap;
}

.toplink button svg {
    width: 1.2vw;
    height: 1.2vw;
    stroke: currentColor;
}

.topnav {
    width: auto;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    justify-content: flex-end;
    gap: 2.5vw;
}

.nav-item {
    position: relative;
}

.nav-item a {
    font-size: 1.1vw;
    font-weight: 500;
    padding: 0.8vh 0;
    display: block;
    color: inherit;
    white-space: nowrap;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.15vh;
    background-color: currentColor;
    opacity: 0.85;
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.menu-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.8vh;
    color: inherit;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4vh;
}

.menu-btn span {
    display: block;
    width: 1.8vw;
    height: 0.15vh;
    background: currentColor;
    transition: transform 0.3s ease;
}

.menu-btn:hover span {
    animation: menuWave 0.8s ease-in-out infinite;
}

.menu-btn:hover span.line-1 {
    animation-delay: 0s;
}

.menu-btn:hover span.line-2 {
    animation-delay: 0.1s;
}

.menu-btn:hover span.line-3 {
    animation-delay: 0.2s;
}

@keyframes menuWave {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(0.2vw);
    }
    75% {
        transform: translateX(-0.2vw);
    }
}

.nav-hamburger {
    margin-left: 0.8vw;
}

.mega-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: rgba(0,0,0,0.35);
    z-index: 110;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mega-inner {
    background: linear-gradient(to bottom, #f5faff 10%, #dce9f8 100%);
    color: var(--ouc-blue);
    padding: 5vh 0 4vh;
    transform: translateY(-2vh);
    transition: transform 0.35s ease;
    box-shadow: 0 2vh 4vh rgba(0, 40, 100, 0.1);
    position: relative;
    overflow: hidden;
    text-shadow: none;
    border-top: 0.2vh solid var(--ouc-blue);
}

.mega-inner::before {
    content: 'AI';
    position: absolute;
    right: 3vw;
    bottom: -2vh;
    font-size: 15vw;
    font-weight: 900;
    color: var(--ouc-blue);
    opacity: 0.03;
    pointer-events: none;
    font-family: sans-serif;
    line-height: 1;
    z-index: 0;
}

.mega-grid {
    width: 90%;
    max-width: 90vw;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2vw;
    padding-top: 0.8vh;
    position: relative;
    z-index: 1;
}

.mega-col {
    animation: wave 3s ease-in-out infinite;
    padding-right: 0.5vw;
}

.mega-col:nth-child(1) { animation-delay: 0s; }
.mega-col:nth-child(2) { animation-delay: 0.2s; }
.mega-col:nth-child(3) { animation-delay: 0.4s; }
.mega-col:nth-child(4) { animation-delay: 0.6s; }
.mega-col:nth-child(5) { animation-delay: 0.8s; }
.mega-col:nth-child(6) { animation-delay: 1s; }
.mega-col:nth-child(7) { animation-delay: 1.2s; }

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.8vh);
    }
}

.mega-col h4 {
    font-size: 1.3vw;
    color: var(--ouc-blue);
    margin-bottom: 1.5vh;
    letter-spacing: 0.03vw;
    font-weight: 700;
    position: relative;
    padding-bottom: 1vh;
}

.mega-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1.5vw;
    height: 0.2vh;
    background: var(--sky-blue);
    transition: width 0.3s ease;
    border-radius: 0.1vh;
}

.mega-col:hover h4::after {
    width: 2.5vw;
}

.mega-col ul li {
    margin-bottom: 0.6vh;
}

.mega-col ul li a {
    color: #393939;
    font-size: 1vw;
    display: block;
    transition: all 0.3s ease;
    padding: 0.2vh 0;
}

.mega-col ul li a:hover {
    color: var(--ouc-blue);
    transform: translateX(0.3vw);
}

.mega-close {
    position: absolute;
    top: 1.5vh;
    right: 2vw;
    width: 2.5vw;
    height: 2.5vw;
    border: none;
    background: #f0f4f8;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3vw;
    color: #999;
}

.mega-close:hover {
    background: var(--ouc-blue);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 0.3vw 1vw rgba(0, 64, 152, 0.2);
}

.mega-close::before, .mega-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1vw;
    height: 0.15vh;
    background-color: currentColor;
    transform-origin: center;
    border-radius: 0.05vh;
    transition: background-color 0.3s;
}

.mega-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mega-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}


@keyframes rotateCircle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body.mega-open .mega-panel {
    height: 100%;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

body.mega-open .mega-inner {
    transform: translateY(0);
}

.header-hero {
    background: linear-gradient(
            to bottom,
            rgba(0, 20, 50, 0.95) 0%,
            rgba(0, 35, 100, 0.8) 45%,
            rgba(0, 50, 130, 0.4) 75%,
            rgba(0, 0, 0, 0) 100%
    );
    color: #fff;
    text-shadow: 0 0.15vh 0.3vh rgba(0,0,0,0.5);
    padding-top: 0.5vh;
    transition: all 0.4s ease;
}

.header-clear {
    background: transparent;
    color: var(--ouc-blue);
}

.header-dark {
    background: transparent;
    color: #fff;
    text-shadow: 0 0.15vh 0.3vh rgba(0,0,0,0.3);
}

/* Fullpage Sections */
.section {
    position: relative;
    overflow: hidden;
    background: transparent;
    margin: 0;
    padding: 0;
}

.container {
    width: 94%;
    max-width: 94vw;
    margin: 0 auto;
    padding-top: 5vh;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5vw;
    padding-right: 3vw;
    box-sizing: border-box;
}

#section-hero {
    position: relative;
    overflow: hidden;
}

#section-hero .hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
    transition: opacity 0.8s ease;
}

#section-hero .fp-tableCell {
    position: relative;
    width: 100%;
    height: 100% !important;
}

#section-hero img.hero-slide {
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
}

#section-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    text-shadow: 0 0.15vh 0.3vh rgba(0,0,0,0.5);
}

#section-hero h1 {
    font-size: 4vw;
    margin-bottom: 1.5vh;
    font-weight: 700;
    letter-spacing: 0.1vw;
}

#section-hero p {
    font-size: 1.5vw;
    font-weight: 300;
    text-transform: uppercase;
}

#waveCanvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    z-index: 3;
    pointer-events: none;
}

#footerWaveCanvasAnimation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7.5vh;
    z-index: 3;
    pointer-events: none;
}

#digitalOceanCanvasAnimation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

/* Section Overview Background */
#section-overview {
    position: relative;
    overflow: hidden;
}

#section-overview::before {
    display: none;
}

.overview-building {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

#section-overview.animated .overview-building {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.overview-building img {
    width: 100%;
    height: auto;
    max-height: 130vh;
    max-width: none;
    display: block;
    object-fit: contain;
}

.overview-text-wrapper {
    position: absolute;
    top: 18%;
    right: 5%;
    text-align: right;
    z-index: 2;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s ease-out 0.2s, opacity 0.8s ease-out 0.2s;
}

#section-overview.animated .overview-text-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.overview-text-wrapper .section-title {
    text-align: right;
}

.overview-text-wrapper .section-title::after {
    left: auto;
    right: 0;
}

.overview-text-wrapper .text-content {
    text-align: right;
}

.overview-text-wrapper .text-content p {
    margin: 0;
    line-height: 2;
}

.overview-text-wrapper .btn-more {
    display: inline-flex;
    justify-content: flex-end;
}

#section-overview .container {
    position: relative;
    z-index: 3;
}

/* Section news Background */
#section-news {
    position: relative;
    background: transparent;
}

#section-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/xha_background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* News Section - New Layout */
.news-container {
    width: 94%;
    max-width: 94vw;
    margin: 0 auto;
    padding-left: 3vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.news-left-panel {
    flex: 0 0 48%;
    height: 65%;
    max-height: 60vh;
    display: flex;
    align-items: center;
}

.news-right-panel {
    flex: 0 0 44%;
    height: 65%;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
}

.news-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5vh;
    padding-bottom: 1vh;
    border-bottom: 0.15vh solid var(--ouc-blue);
}

.news-panel-title {
    font-size: 2vw;
    color: var(--ouc-blue);
    font-weight: 700;
    margin: 0;
    position: relative;
}

.news-scroll-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5vw;
    overscroll-behavior: contain;
}

.news-scroll-list::-webkit-scrollbar {
    width: 0.3vw;
}

.news-scroll-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.1vw;
}

.news-scroll-list::-webkit-scrollbar-thumb {
    background: var(--ouc-blue);
    border-radius: 0.1vw;
}

.news-scroll-item {
    display: flex;
    align-items: flex-start;
    gap: 1vw;
    padding: 1.2vh 0;
    border-bottom: 0.05vh solid rgba(0,64,152,0.1);
    cursor: pointer;
    transition: background 0.3s ease;
}

.news-scroll-item:hover {
    background: rgba(0,64,152,0.03);
}

.news-scroll-item:last-child {
    border-bottom: none;
}

.news-scroll-date {
    flex-shrink: 0;
    width: 3.5vw;
    text-align: center;
    background: linear-gradient(135deg, var(--ouc-blue) 0%, #0056b3 100%);
    color: #fff;
    padding: 0.8vh 0.4vw;
    border-radius: 0.4vw;
}

.news-day {
    display: block;
    font-size: 1.4vw;
    font-weight: 700;
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 0.65vw;
    opacity: 0.9;
    margin-top: 0.3vh;
}

.news-scroll-content {
    flex: 1;
    min-width: 0;
}

.news-scroll-title {
    display: block;
    font-size: 1vw;
    color: #333;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.5vh;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-scroll-item:hover .news-scroll-title {
    color: var(--ouc-blue);
}

.news-scroll-desc {
    font-size: 0.8vw;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured Card */
.news-featured-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 0.8vw;
    overflow: hidden;
    box-shadow: 0 1.5vw 4vw rgba(0,64,152,0.15);
}

.news-featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-featured-card:hover .news-featured-img img {
    transform: scale(1.05);
}

.news-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,40,100,0.95) 0%, rgba(0,40,100,0.6) 40%, transparent 70%);
}

.news-featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2vh 1.5vw;
    color: #fff;
}

.news-featured-tag {
    display: inline-block;
    background: var(--sky-blue);
    color: #fff;
    padding: 0.4vh 0.8vw;
    font-size: 0.8vw;
    font-weight: 600;
    border-radius: 0.25vw;
    margin-bottom: 1vh;
}

.news-featured-title {
    font-size: 1.4vw;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 1vh 0;
    text-shadow: 0 0.1vh 0.3vh rgba(0,0,0,0.3);
}

.news-featured-desc {
    font-size: 0.85vw;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0 0 1.2vh 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 0.9vw;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 0.05vh solid rgba(255,255,255,0.5);
    padding-bottom: 0.3vh;
}

.news-featured-link:hover {
    color: var(--sky-blue);
    border-color: var(--sky-blue);
}

@media screen and (max-height: 800px) {
    .news-container {
        padding-top: 12vh;
    }
    .news-left-panel,
    .news-right-panel {
        height: 60%;
        max-height: 55vh;
    }
}

@media screen and (max-height: 700px) {
    .news-container {
        padding-top: 14vh;
    }
    .news-left-panel,
    .news-right-panel {
        height: 55%;
        max-height: 50vh;
    }
    .news-scroll-item {
        padding: 0.8vh 0;
    }
}

/* Common Section Styles */
.section-title {
    font-size: 2.8vw;
    color: var(--ouc-blue);
    margin-bottom: 2vh;
    position: relative;
    padding-bottom: 1vh;
    white-space: nowrap;
    min-height: 1.2em;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4vw;
    height: 0.25vh;
    background-color: var(--sky-blue);
}

.text-content {
    font-size: 1.3vw;
    line-height: 1.8;
    color: #1c1c1c;
    min-height: auto;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 2vw;
    margin-bottom: 2vh;
    border-bottom: 0.05vh solid rgba(0,0,0,0.05);
    padding-bottom: 0.8vh;
}

.section-header .section-title {
    margin-bottom: 0;
    padding-bottom: 1vh;
}

.section-header .section-title::after {
    display: block;
}

.text-col > .btn-more {
    margin-top: 2vh;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4vw;
    background-color: transparent;
    color: var(--ouc-blue);
    border-radius: 0;
    margin-top: 0;
    font-size: 1vw;
    font-weight: 600;
    letter-spacing: 0.05vw;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    cursor: pointer;
    padding: 0.5vh 0 1vh;
}

.btn-more-bottom {
    display: none;
}

.btn-more::after {
    content: '→';
    font-family: sans-serif;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-more:hover {
    background-color: transparent;
    box-shadow: none;
    transform: none;
    color: var(--sky-blue);
    padding-right: 0;
}

.btn-more:hover::after {
    transform: translateX(0.3vw);
}

/* News Section */
.news-box-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: 50vh;
    background: #fff;
    border-radius: 0.5vw;
    overflow: hidden;
    box-shadow: 0 0.3vw 1vw rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    margin: auto 0;
}

.news-box-card:hover {
    transform: translateY(-0.3vw);
    box-shadow: 0 1vw 2vw rgba(0,0,0,0.1);
}

.news-box-img {
    height: 22vh;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.news-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-box-card:hover .news-box-img img {
    transform: scale(1.05);
}

.news-box-info {
    flex: 1;
    padding: 1.5vh 1.2vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.news-box-date {
    color: var(--ouc-blue);
    font-size: 0.8vw;
    margin-bottom: 0.8vh;
    font-weight: 600;
    display: block;
}

.news-box-title {
    font-size: 1.3vw;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.8vh;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-box-desc {
    font-size: 0.9vw;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

#section-news .img-col {
    overflow: visible !important;
}

.news-list {
    margin-top: 0.5vh;
}

.news-item-simple {
    padding: 1.2vh 0;
    border-bottom: 0.05vh solid #eee;
    display: flex;
    align-items: center;
    gap: 1.2vw;
    transition: all 0.3s ease;
}

.news-item-simple:first-child {
    padding-top: 0;
}

.news-item-simple:last-child {
    border-bottom: none;
}

.news-item-simple:hover {
    padding-left: 0.5vw;
}

.news-date-simple {
    color: #999;
    font-size: 0.9vw;
    flex-shrink: 0;
}

.news-item-simple a {
    color: var(--text-color);
    font-size: 1.1vw;
    line-height: 1.6;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-simple a:hover {
    color: var(--ouc-blue);
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    margin-top: 1.5vh;
}

.news-item {
    flex: 1;
    min-width: 18vw;
    background: #fff;
    border: 0.05vh solid #eee;
    padding: 1.2vh 1vw;
    border-radius: 0.5vw;
    box-shadow: 0 0.3vw 1vw rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
}

.news-item:hover {
    transform: translateY(-0.3vw);
}

.news-date {
    width: 4vw;
    text-align: center;
    border-right: 0.05vh solid #eee;
    padding-right: 0.8vw;
    margin-right: 0.8vw;
    color: var(--ouc-blue);
}

.news-date .day {
    display: block;
    font-size: 1.8vw;
    font-weight: bold;
}

.news-date .year-month {
    display: block;
    font-size: 0.7vw;
    color: #999;
}

.news-info h3 {
    font-size: 1vw;
    margin-bottom: 0.8vh;
    line-height: 1.4;
}

.news-info p {
    font-size: 0.8vw;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Overview & Dean & Research Layout */
.container .text-col,
.container .img-col {
    float: none;
}

.text-col {
    width: 44%;
    padding-right: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.img-col {
    width: 55%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f4f8;
    border-radius: 0.3vw;
    position: relative;
    overflow: hidden;
}

#section-research .img-col {
    height: 50vh;
    background-color: transparent;
}

.float-left.text-col {
    order: 1;
}

.float-right.text-col {
    order: 2;
}

.float-left.img-col {
    order: 1;
}

.float-right.img-col {
    order: 2;
}

canvas {
    display: block;
}

/* Sub Pages */
.sub-banner {
    height: 25vh;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 10vh;
}

.banner-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 64, 152, 0.5);
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
}

.banner-title h1 {
    font-size: 2.5vw;
    font-weight: bold;
}

.main-container {
    width: 80vw;
    margin: 4vh auto;
    min-height: 50vh;
}

.sidebar {
    width: 18vw;
    background: #fff;
    border: 0.05vh solid #eee;
    box-shadow: 0 0.1vw 0.6vw rgba(0,0,0,0.05);
}

.sidebar-title {
    background-color: var(--ouc-blue);
    color: #fff;
    padding: 1.2vh 1.2vw;
}

.sidebar-title h3 {
    font-size: 1vw;
    margin: 0;
}

.sidebar-menu ul {
    padding: 0.8vh 0;
}

.sidebar-menu li a {
    display: block;
    padding: 1vh 1.2vw;
    border-bottom: 0.05vh solid #f5f5f5;
    font-size: 0.9vw;
}

.sidebar-menu li:last-child a {
    border-bottom: none;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    color: var(--ouc-blue);
    background-color: #f9f9f9;
    padding-left: 1.5vw;
}

.content-area {
    width: 58vw;
}

.location-bar {
    border-bottom: 0.05vh solid #eee;
    padding-bottom: 0.8vh;
    margin-bottom: 1.5vh;
    color: #666;
    font-size: 0.8vw;
}

.location-bar a:hover {
    color: var(--ouc-blue);
}

.list-content .news-list-v {
    margin-bottom: 2vh;
}

.news-item-v {
    padding: 1.5vh 0;
    border-bottom: 0.05vh solid #eee;
}

.news-item-v .date-box {
    float: left;
    width: 5vw;
    text-align: center;
    background: #f5f5f5;
    padding: 0.8vh 0;
    border-radius: 0.25vw;
    color: #666;
}

.news-item-v .date-box .day {
    display: block;
    font-size: 1.5vw;
    font-weight: bold;
    color: var(--ouc-blue);
}

.news-item-v .date-box .year {
    display: block;
    font-size: 0.7vw;
}

.news-item-v .info-box {
    margin-left: 6vw;
}

.news-item-v .info-box h3 {
    font-size: 1vw;
    margin-bottom: 0.8vh;
    font-weight: 500;
}

.news-item-v .info-box h3:hover {
    color: var(--ouc-blue);
}

.news-item-v .info-box p {
    color: #999;
    font-size: 0.8vw;
    line-height: 1.5;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    text-align: center;
    margin-top: 2vh;
}

.article-title {
    font-size: 3vh;
    color: #333;
    text-align: center;
    margin-bottom: 1.5vh;
    line-height: 1.4;
}

.article-meta {
    text-align: center;
    color: #999;
    font-size: 0.8vw;
    margin-bottom: 2vh;
    border-bottom: 0.05vh solid #eee;
    padding-bottom: 1.2vh;
}

.article-meta span {
    margin: 0 1vw;
}

.article-body {
    font-size: 1.5vh;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 1.5vh;
}

.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5vh auto;
}

/* Footer Section */
#section-footer {
    background-color: var(--ouc-blue);
    color: #fff;
    padding: 3vh 0;
    text-align: center;
}
.footer-wrapper {
    background-color: var(--ouc-blue);
    color: #fff;
    padding: 3vh 0;
    text-align: center;
    margin-top: 4vh;
}

.footer-inner p {
    margin-bottom: 0.8vh;
    opacity: 0.8;
}

#page-footer{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    background: #012061;
    color:#fff;
    padding: 2vh 1.5vw;
    transform:translateY(100%);
    transition:transform .4s ease;
    z-index:80;
    pointer-events:none;
    overflow: hidden;
}

#page-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/footer_background.JPG');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

body.footer-visible #page-footer{
    transform:translateY(0);
    pointer-events:auto;
}

body.footer-visible #fullpage .section:last-child .container{
    padding-bottom: 12vh;
}

#fullpage .section:last-child{
    transform:translateY(0);
    transition:transform .4s ease;
}

#fullpage .section:last-child .container{
    padding-bottom: 12vh;
}

#page-footer .footer-content {
    display: flex;
    flex-direction: column;
    max-width: 80vw;
    margin: 0 auto;
    padding: 0.8vh 0;
}

#page-footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 90%;
    margin-bottom: 1.5vh;
}

.f-links {
    flex: 1;
    padding-right: 2.5vw;
}

.f-links h3 {
    font-size: 0.95vw;
    margin-bottom: 1.2vh;
    font-weight: bold;
    color: #fff;
    border-left: 0.2vw solid #fff;
    padding-left: 0.6vw;
}

.f-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 15%);
    gap: 1vh 3vw;
}

.f-links ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.8vw;
    transition: color 0.3s;
}

.f-links ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.f-info {
    width: 100%;
    text-align: center;
    border-top: 0.05vh solid rgba(255,255,255,0.2);
    padding-top: 1.5vh;
}

.f-info p {
    margin: 0.4vh 0;
    font-size: 0.75vw;
    color: rgba(255,255,255,0.7);
}

.f-info p a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.f-info p a:hover {
    color: #fff;
}

#page-footer .footer-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.qrcode-box {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 0.8vh 0.6vw;
    border-radius: 0.3vw;
}

.qrcode-box img {
    width: 6vw;
    height: 6vw;
    display: block;
    margin: 0 auto 0.4vh;
}

.qrcode-box p {
    margin: 0;
    font-size: 0.7vw;
    color: rgba(255,255,255,0.9);
}

#page-footer a {
    color: #fff;
    text-decoration: none;
}

body.footer-visible #site-header{
    transform:translateY(-100%);
    box-shadow:none;
}

#site-header{
    transform:translateY(0);
    transition:background 0.4s ease,color 0.3s ease,transform 0.4s ease;
}

body.mega-open{
    overflow:hidden;
}

body.mega-open #site-header{
    background:#fff;
    color:var(--ouc-blue);
    box-shadow:0 0.6vw 2vw rgba(0,0,0,0.15);
}

body.mega-open .menu-btn span{
    background:var(--ouc-blue);
}

body.mega-open .toplink ul li:not(:last-child)::after {
    color: rgba(0, 64, 152, 0.3);
}

body.footer-visible #fullpage .section:last-child{
    transform:translateY(calc(-1 * var(--footer-lift, 0px)));
}
/* Hide fullpage navigation dots */
#fp-nav {
    display: none !important;
}

/* Navigation Dots - Git History Style */
.nav-dots {
    position: fixed;
    left: 2vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-dot {
    width: 1.2vw;
    height: 1.2vw;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2vh;
}

.nav-dot:last-child {
    margin-bottom: 0;
}

.nav-dot:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0.1vw;
    height: 2vh;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease;
}

.nav-dot:hover {
    transform: scale(1.1);
}

.dot-inner {
    display: block;
    width: 0.6vw;
    height: 0.6vw;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 0.25vw rgba(255, 255, 255, 0.25);
}

.nav-dot.active .dot-inner {
    background: #fff;
    box-shadow: 0 0 0 0.25vw rgba(255, 255, 255, 0.35), 0 0 0.8vw rgba(255, 255, 255, 0.5);
}

.nav-dot::before {
    content: attr(title);
    position: absolute;
    left: 2vw;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 64, 152, 0.95);
    color: #fff;
    padding: 0.5vh 0.8vw;
    border-radius: 0.25vw;
    font-size: 0.8vw;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-dot:hover::before {
    opacity: 1;
    visibility: visible;
    left: 2.2vw;
}

.nav-dots.on-light .nav-dot:not(:last-child)::after {
    background: rgba(0, 64, 152, 0.25);
}

.nav-dots.on-light .dot-inner {
    background: var(--ouc-blue);
    box-shadow: 0 0 0 0.25vw rgba(0, 64, 152, 0.2);
}

.nav-dots.on-light .nav-dot.active .dot-inner {
    background: var(--sky-blue);
    box-shadow: 0 0 0 0.25vw rgba(0, 160, 233, 0.3), 0 0 0.8vw rgba(0, 160, 233, 0.5);
}

.nav-dots.on-light .nav-dot::before {
    background: rgba(0, 64, 152, 0.95);
}

/* Research Grid (2x2) */
.research-grid {
    width: 100%;
    height: 100%;
    min-height: 40vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.2vw;
    border-radius: 0.5vw;
    overflow: hidden;
}

.research-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.15vw;
    background: #0a1628;
    opacity: 0;
    transform: translateY(2vh);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#section-research.animated .research-grid-item:nth-child(1) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

#section-research.animated .research-grid-item:nth-child(2) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

#section-research.animated .research-grid-item:nth-child(3) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

#section-research.animated .research-grid-item:nth-child(4) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.research-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.4s ease;
}

.research-grid-item:hover img {
    transform: scale(1.05);
}

.research-grid-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 64, 152, 0.7);
    color: #fff;
    padding: 0.6vh 0.8vw;
    font-size: 0.8vw;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s ease;
}

.research-grid-item:hover .research-grid-caption {
    background: rgba(0, 64, 152, 0.9);
}

/* Section Join Us */
#section-join .container {
    position: relative;
    z-index: 2;
}

#bubbleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.section-title-light {
    color: #fff;
}

.section-title-light::after {
    background-color: var(--sky-blue);
}

.text-content-light {
    color: rgba(255, 255, 255, 0.9);
}

.text-content-light p {
    line-height: 2;
}

.btn-more-light {
    color: #fff;
    border-bottom: 0.1vw solid rgba(255, 255, 255, 0.4);
}

.btn-more-light:hover {
    color: var(--sky-blue);
    border-color: var(--sky-blue);
}

.join-btns {
    display: flex;
    gap: 2vw;
    margin-top: 2vh;
}

.join-stats {
    display: flex;
    gap: 3vw;
    margin-top: 3vh;
    padding-top: 2vh;
    border-top: 0.05vw solid rgba(255, 255, 255, 0.15);
}

.join-stat-item {
    display: flex;
    flex-direction: column;
}

.join-stat-num {
    font-size: 2.2vw;
    font-weight: 700;
    color: var(--sky-blue);
    line-height: 1;
}

.join-stat-label {
    font-size: 0.85vw;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5vh;
}

.join-img-col {
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Join Video Wrapper */
.join-video-wrapper {
    width: 100%;
    height: 50vh;
    position: relative;
    padding: 0;
    border-radius: 0.5vw;
    background: linear-gradient(145deg, #001844, #002a66);
    box-shadow:
            0 0 0 0.4vw rgba(0, 160, 233, 0.3),
            0 0 0 0.8vw rgba(0, 64, 152, 0.2),
            0 0 3vw rgba(0, 160, 233, 0.4),
            inset 0 0 2vw rgba(0, 160, 233, 0.1),
            0 2vw 4vw rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.join-video-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
            from 0deg,
            transparent 0deg,
            rgba(0, 160, 233, 0.6) 60deg,
            rgba(255, 255, 255, 0.8) 120deg,
            rgba(0, 160, 233, 0.6) 180deg,
            transparent 240deg
    );
    animation: rotateBorder 4s linear infinite;
    pointer-events: none;
}

.join-video-wrapper::after {
    content: '';
    position: absolute;
    inset: 0.6vw;
    background: #000;
    border-radius: 0.5vw;
    z-index: 1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.join-video-wrapper iframe {
    position: relative;
    width: calc(100% - 1.2vw);
    height: calc(100% - 1.2vw);
    margin: 0.6vw;
    border-radius: 0.5vw;
    border: none;
    z-index: 2;
}

.join-video-wrapper video {
    position: relative;
    width: calc(100% - 1.2vw);
    height: calc(100% - 1.2vw);
    margin: 0.6vw;
    border-radius: 0.5vw;
    border: none;
    z-index: 2;
    object-fit: cover;
    cursor: pointer;
}

/* stylelint-disable-next-line selector-pseudo-element-no-unknown */
.join-video-wrapper video::-webkit-media-controls {
    display: none !important;
}

/* stylelint-disable-next-line selector-pseudo-element-no-unknown */
.join-video-wrapper video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5vw;
    height: 5vw;
    background: rgba(0, 160, 233, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0.4vw rgba(0, 160, 233, 0.3),
    0 0 2vw rgba(0, 160, 233, 0.6);
}

.video-play-button:hover {
    background: rgba(0, 160, 233, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 0.6vw rgba(0, 160, 233, 0.4),
    0 0 3vw rgba(0, 160, 233, 0.8);
}

.video-play-button svg {
    width: 2.5vw;
    height: 2.5vw;
    fill: #fff;
}

.join-video-wrapper.playing .video-play-button {
    opacity: 0;
    pointer-events: none;
}

body.mobile-scroll #section-join {
    min-height: 100vh;
    padding: 15vh 5vw 10vh;
}

body.mobile-scroll #section-join #bubbleCanvas {
    display: none;
}

body.mobile-scroll #section-join .container {
    display: flex;
    flex-direction: column;
    gap: 6vh;
    max-width: 100%;
}

body.mobile-scroll #section-join .text-col,
body.mobile-scroll #section-join .img-col {
    float: none;
    width: 100%;
    max-width: 100%;
}

body.mobile-scroll #section-join .img-col {
    order: -1;
}

body.mobile-scroll #section-join .section-title {
    font-size: 8vw;
    color: var(--ouc-blue) !important;
}

body.mobile-scroll #section-join .section-title::after {
    width: 12vw;
    height: 0.8vw;
    background-color: var(--ouc-blue) !important;
}

body.mobile-scroll #section-join .text-content {
    color: var(--text-color);
    font-size: 4vw;
    line-height: 1.8;
}

body.mobile-scroll #section-join .text-content p {
    margin-bottom: 2vh;
}

body.mobile-scroll #section-join .btn-more {
    font-size: 4vw;
    color: var(--ouc-blue);
    border-bottom: 0.5vw solid var(--ouc-blue);
}

body.mobile-scroll #section-join .join-btns {
    gap: 5vw;
    margin-top: 3vh;
}

body.mobile-scroll #section-join .join-stats {
    gap: 6vw;
    margin-top: 4vh;
    padding-top: 3vh;
    border-top: 0.2vw solid rgba(0, 64, 152, 0.2);
}

body.mobile-scroll #section-join .join-stat-num {
    font-size: 6vw;
}

body.mobile-scroll #section-join .join-stat-label {
    font-size: 3.5vw;
    color: #666;
}

body.mobile-scroll #section-join .join-video-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 2vw;
    box-shadow:
            0 0 0 1vw rgba(0, 160, 233, 0.3),
            0 0 0 2vw rgba(0, 64, 152, 0.2),
            0 0 6vw rgba(0, 160, 233, 0.4),
            inset 0 0 4vw rgba(0, 160, 233, 0.1),
            0 4vw 8vw rgba(0, 0, 0, 0.4);
}

body.mobile-scroll #section-join .join-video-wrapper::after {
    inset: 1.5vw;
    border-radius: 2vw;
}

body.mobile-scroll #section-join .join-video-wrapper video {
    width: calc(100% - 3vw);
    height: calc(100% - 3vw);
    margin: 1.5vw;
    border-radius: 2vw;
}

body.mobile-scroll #section-join .video-play-button {
    width: 15vw;
    height: 15vw;
    box-shadow: 0 0 0 1.2vw rgba(0, 160, 233, 0.3),
    0 0 5vw rgba(0, 160, 233, 0.6);
}

body.mobile-scroll #section-join .video-play-button:hover {
    box-shadow: 0 0 0 1.8vw rgba(0, 160, 233, 0.4),
    0 0 7vw rgba(0, 160, 233, 0.8);
}

body.mobile-scroll #section-join .video-play-button svg {
    width: 7vw;
    height: 7vw;
}

body.mobile-scroll .menu-btn {
    width: 8vw;
    height: 8vw;
    padding: 1.5vw;
    gap: 1vh;
}

body.mobile-scroll .menu-btn span {
    width: 100%;
    height: 0.8vh;
}

body.mobile-scroll .mega-close {
    width: 10vw;
    height: 10vw;
    top: 3vh;
    right: 5vw;
}

body.mobile-scroll .mega-close::before,
body.mobile-scroll .mega-close::after {
    width: 60%;
    height: 0.6vh;
}

/* Mobile Styles for Ocean AI Website */
/* Scoped to max-width: 768px */
@media (max-width: 768px) {
    /* 1. Disable Fullpage Styles & General Layout */
    html, body {
        overflow: auto !important;
        height: auto !important;
        position: relative !important;
    }
    #fullpage {
        height: auto !important;
        transform: none !important;
        background: linear-gradient(to bottom, #f5faff 10%, #dce9f8 100%) !important;
    }
    .section {
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
        display: block !important;
        background: transparent !important;
    }
    .fp-tableCell {
        height: auto !important;
        display: block !important;
        background: transparent !important;
    }
    .container {
        width: 100% !important;
        padding: 0 1rem !important;
        height: auto !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        box-sizing: border-box;
    }

    /* 5. Hide Navigation Dots */
    #navigation-dots {
        display: none !important;
    }

    /* 3. Header Simplification */
    .header.sy .wp {
        width: 100% !important;
        padding: 0 0.75rem !important;
        justify-content: space-between !important;
    }
    .toplink, .topnav .nav-list li:not(.nav-hamburger) {
        display: none !important;
    }
    .logo-img {
        height: 3rem !important;
    }
    .nav-hamburger {
        margin-left: 0 !important;
        float: right !important;
    }

    /* 4. Mega Menu Adjustments */
    .mega-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    .mega-col {
        animation: none !important;
        transform: none !important;
    }
    .mega-col h4 {
        font-size: 0.9rem !important;
    }
    .mega-col h4 a,
    .mega-col ul li a {
        display: block;
        padding: 0.5rem 0;
        -webkit-tap-highlight-color: rgba(0, 64, 152, 0.1);
        touch-action: manipulation;
    }
    .mega-col ul li a {
        font-size: 0.8rem !important;
    }
    .mega-inner {
        padding: 4rem 1rem 2rem !important;
    }

    /* 2. Hero Section & Images */
    #section-hero {
        width: 100% !important;
        aspect-ratio: 16/10 !important;
        height: auto !important;
        position: relative !important;
        padding: 0 !important;
    }

    #section-hero .hero-slide {
        background-size: cover !important;
    }

    .hero-content {
        width: 90% !important;
    }
    #section-hero h1 {
        font-size: 1rem !important;
    }
    #section-hero p {
        font-size: 0.65rem !important;
    }

    /* Hide Canvases on Mobile */
    #waveCanvas, #digitalOceanCanvasAnimation {
        display: none !important;
    }

    /* Section Layouts */
    .text-col, .img-col {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Section Title - 缩小字体 */
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.75rem !important;
    }

    .section-title::after {
        width: 3rem !important;
        height: 3px !important;
    }

    .text-content {
        font-size: 1rem !important;
        line-height: 1.8 !important;
        min-height: auto !important;
    }

    .btn-more {
        font-size: 0.875rem !important;
        padding-bottom: 0.75rem !important;
        margin-top: 1rem !important;
    }

    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .section-header .section-title {
        font-size: 1.25rem !important;
    }

    .btn-more-header {
        display: none !important;
    }

    .btn-more-bottom {
        display: inline-flex !important;
        margin-top: 1rem !important;
    }

    /* 7. Hide img-col/canvas/images in Overview, Dean */
    #section-overview .img-col,
    #section-dean .img-col {
        display: none !important;
    }

    /* Overview Section - mobile adjustments */
    #section-overview {
        display: block !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 1rem !important;
    }

    #section-overview .overview-building {
        display: none !important;
    }

    #section-overview .overview-text-wrapper {
        position: static !important;
        display: block !important;
        max-width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 1.5rem !important;
        opacity: 1 !important;
        transform: none !important;
    }

    #section-overview .overview-text-wrapper .section-title {
        text-align: left !important;
    }

    #section-overview .overview-text-wrapper .section-title::after {
        left: 0 !important;
        right: auto !important;
    }

    #section-overview .overview-text-wrapper .text-content {
        text-align: left !important;
    }

    #section-overview .overview-text-wrapper .text-content p {
        display: inline;
    }

    /* Research Section - show carousel above text */
    #section-research .container {
        display: flex !important;
        flex-direction: column !important;
    }

    #section-research .img-col {
        display: block !important;
        order: 1 !important;
        height: auto !important;
        margin-bottom: 1rem;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
    }

    #section-research .research-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    #section-research .research-grid-item {
        opacity: 1 !important;
        transform: translateY(0) !important;
        aspect-ratio: 1/1 !important;
        width: 100% !important;
        border-radius: 8px !important;
    }

    #section-research .research-grid-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    #section-research .research-grid-caption {
        font-size: 0.85rem !important;
        padding: 0.5rem !important;
    }

    #section-research .text-col {
        order: 2 !important;
    }

    /* 6. News Section Layout */
    #section-news .container {
        display: flex !important;
        flex-direction: column !important;
    }

    #section-news::before,
    #section-overview::before {
        display: none !important;
    }

    #section-news .img-col {
        display: block !important;
        order: 1;
        margin-bottom: 1rem;
    }
    #section-news .text-col {
        order: 2;
    }

    /* News Container - New Layout */
    .news-container {
        flex-direction: column !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
        height: auto !important;
    }

    .news-left-panel {
        width: 100% !important;
        flex: none !important;
        height: auto !important;
        max-height: none !important;
        order: 1 !important;
    }

    .news-right-panel {
        width: 100% !important;
        flex: none !important;
        height: auto !important;
        max-height: none !important;
        order: 2 !important;
    }

    .news-featured-card {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/10 !important;
    }

    .news-featured-title {
        font-size: 1.1rem !important;
    }

    .news-featured-desc {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }

    .news-featured-tag {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.75rem !important;
    }

    .news-featured-link {
        font-size: 0.85rem !important;
    }

    .news-featured-info {
        padding: 1rem !important;
    }

    .news-panel-header {
        margin-bottom: 1rem !important;
        padding-bottom: 0.75rem !important;
    }

    .news-panel-title {
        font-size: 1.5rem !important;
    }

    .news-scroll-list {
        max-height: none !important;
        overflow-y: visible !important;
    }

    .news-scroll-item {
        padding: 0.875rem 0 !important;
        gap: 0.875rem !important;
    }

    .news-scroll-date {
        width: 3.5rem !important;
        padding: 0.5rem 0.25rem !important;
    }

    .news-day {
        font-size: 1.25rem !important;
    }

    .news-month {
        font-size: 0.65rem !important;
    }

    .news-scroll-title {
        font-size: 0.95rem !important;
    }

    .news-scroll-desc {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 1 !important;
    }

    /* News Box */
    .news-box {
        display: block !important;
    }

    .news-box-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
    }
    .news-box-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .news-box-info {
        padding: 0.75rem !important;
    }

    .news-box-date {
        font-size: 0.75rem !important;
    }

    .news-box-title {
        font-size: 0.9rem !important;
        margin: 0.5rem 0 !important;
    }

    .news-box-desc {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    /* News List */
    .news-item-simple {
        padding: 0.75rem 0 !important;
        gap: 0.75rem !important;
        flex-wrap: wrap !important;
    }

    .news-date-simple {
        font-size: 0.75rem !important;
        flex-shrink: 0 !important;
    }

    .news-item-simple a {
        font-size: 0.85rem !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* Footer */
    #page-footer {
        position: relative !important;
        transform: none !important;
        bottom: auto !important;
        box-shadow: none !important;
        background-attachment: scroll !important;
    }

    body.footer-visible #page-footer {
        transform: none !important;
    }

    #page-footer .footer-content {
        padding: 1.5rem 1rem !important;
    }

    #page-footer .footer-top {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .f-links {
        width: 100% !important;
        padding-right: 0 !important;
        text-align: center !important;
    }

    .f-links h3 {
        font-size: 0.9rem !important;
        display: inline-block !important;
        border-left: none !important;
        padding-left: 0 !important;
        border-bottom: 2px solid #fff !important;
        padding-bottom: 0.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .f-links ul {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem 0.5rem !important;
        width: 100% !important;
    }

    .f-links ul li {
        text-align: center !important;
    }

    .f-links ul li a {
        font-size: 0.75rem !important;
        white-space: normal !important;
        display: block !important;
        word-break: break-word !important;
    }

    #page-footer .footer-right {
        width: 100% !important;
        justify-content: center !important;
        display: flex !important;
    }

    .qrcode-box {
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
    }

    .qrcode-box img {
        width: 5rem !important;
        height: 5rem !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .qrcode-box p {
        font-size: 0.7rem !important;
    }

    .f-info {
        padding-top: 1rem !important;
    }

    .f-info p {
        font-size: 0.7rem !important;
        line-height: 1.6 !important;
    }

    /* ===== xygk.htm 学院概况页面移动端适配 ===== */

    /* Banner */
    .page-banner {
        padding-bottom: 50% !important;
        margin-top: 0 !important;
    }

    .page-banner h1 {
        font-size: 1.25rem !important;
        letter-spacing: 0.1em !important;
    }

    .page-banner p {
        font-size: 0.7rem !important;
        letter-spacing: 0.15em !important;
    }

    /* 主内容区 */
    .page-main {
        padding: 1.5rem 0 3rem !important;
    }

    .page-container {
        flex-direction: column !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
    }

    /* 侧边栏导航 - 手机端隐藏 */
    .sidebar-nav {
        display: none !important;
    }

    /* 文章内容区 */
    .article-content {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .article-section {
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .section-heading {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }

    .section-body {
        font-size: 0.875rem !important;
        line-height: 1.8 !important;
    }

    .section-body p {
        text-align: left !important;
        margin-bottom: 0.75rem !important;
    }

    /* 文章图片 */
    .article-figure {
        margin: 1rem 0 !important;
    }

    .article-figure figcaption {
        font-size: 0.75rem !important;
    }

    /* 时间线 */
    .timeline {
        margin: 1.5rem 0 !important;
        padding-left: 1rem !important;
    }

    .timeline-item {
        flex-direction: column !important;
        gap: 0.25rem !important;
        padding: 0.75rem 0 0.75rem 1.5rem !important;
    }

    .timeline-year {
        font-size: 1rem !important;
        min-width: auto !important;
    }

    .timeline-event {
        font-size: 0.85rem !important;
    }

    /* 组织机构列表 */
    .org-list {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    .org-list li {
        font-size: 0.85rem !important;
    }

    /* 联系方式 */
    .contact-info {
        padding: 1rem !important;
    }

    .contact-item {
        flex-direction: column !important;
        gap: 0.25rem !important;
    }

    .contact-label {
        min-width: auto !important;
        font-size: 0.85rem !important;
    }

    .contact-value {
        font-size: 0.85rem !important;
    }

    /* subpage header 适配 */
    .subpage .header {
        position: absolute !important;
        height: auto !important;
    }

    .logo-img,
    .logo-img.i1,
    .logo-img.i1.logo-fade {
        transition: none !important;      /* 禁用所有过渡动画 */
        opacity: 1 !important;           /* 强制显示，防止淡出/隐藏 */
        filter: none !important;          /* 禁用任何变色滤镜（如变白效果） */
        animation: none !important;       /* 禁用任何可能的关键帧动画 */
    }
}

@charset "utf-8";

.subpage {
    background: linear-gradient(to bottom, #f5faff 10%, #dce9f8 100%);
    min-height: 100vh;
}

.subpage .header {
    position: absolute;
    height: auto;
    padding-bottom: 0.5rem;
}

.page-banner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 25%;
    margin-top: 0;
    overflow: hidden;
}

.page-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/top.png');
    background-size: cover;
    background-position: center;
}

.page-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-banner p {
    font-size: 1.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.9;
}

.page-main {
    background: linear-gradient(to bottom, #f5faff 10%, #dce9f8 100%);
    min-height: 60vh;
    padding: 3rem 0 5rem;
}

.page-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.sidebar-nav {
    width: 15rem;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
}

.side-nav {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,64,152,0.1);
    overflow: hidden;
}

.side-nav-header {
    background: var(--ouc-blue);
    padding: 1.25rem 1.5rem;
}

.side-nav-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.side-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav-item {
    border-bottom: 1px solid #eef3f8;
}

.side-nav-item:last-child {
    border-bottom: none;
}

.side-nav-item a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--ouc-blue);
    font-size: 1rem;
    transition: all 0.25s ease;
    position: relative;
}

.side-nav-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sky-blue);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.side-nav-item:hover a {
    background: #f5faff;
    padding-left: 2rem;
}

.side-nav-item:hover a::before {
    transform: scaleY(1);
}

.side-nav-item.active a {
    background: #f0f7ff;
    color: var(--ouc-blue);
    font-weight: 600;
    padding-left: 2rem;
}

.side-nav-item.active a::before {
    transform: scaleY(1);
    background: var(--ouc-blue);
}

.side-nav-item.nav-level-2 a {
    padding-left: 2.5rem;
    font-size: 0.9rem;
}

.side-nav-item.nav-level-2:hover a,
.side-nav-item.nav-level-2.active a {
    padding-left: 3rem;
}

.side-nav-item.nav-level-3 a {
    padding-left: 3.5rem;
    font-size: 0.85rem;
}

.side-nav-item.nav-level-3:hover a,
.side-nav-item.nav-level-3.active a {
    padding-left: 4rem;
}

.article-content {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,64,152,0.06);
    padding: 2.5rem 3rem;
}

.article-section {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eef3f8;
}

.article-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-heading {
    font-size: 1.75rem;
    color: var(--ouc-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--sky-blue);
    display: inline-block;
}

.section-body {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #444;
}

.section-body h2,
.section-body h3,
.section-body h4,
.section-body h5,
.section-body h6 {
    color: var(--ouc-blue);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.section-body h2 {
    font-size: 1.5rem;
}

.section-body h3 {
    font-size: 1.25rem;
}

.section-body h4 {
    font-size: 1.125rem;
}

.section-body p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.section-body strong,
.section-body b {
    color: var(--ouc-blue);
    font-weight: 600;
}

.article-figure {
    margin: 1.5rem 0;
    text-align: center;
}

.article-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #888;
    font-style: italic;
}

.timeline {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--ouc-blue);
}

.timeline-item {
    position: relative;
    padding: 1rem 0 1rem 2rem;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 1.35rem;
    width: 10px;
    height: 10px;
    background: var(--sky-blue);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--ouc-blue);
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ouc-blue);
    min-width: 4rem;
}

.timeline-event {
    color: #555;
    flex: 1;
}

.org-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.org-list li {
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.org-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--sky-blue);
    border-radius: 2px;
    transform: rotate(45deg);
}

.contact-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--ouc-blue);
}

.contact-item {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e0e6ed;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    color: var(--ouc-blue);
    font-weight: 600;
    min-width: 4rem;
}

.contact-value {
    color: #555;
}

.ordered-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    counter-reset: none;
}

.ordered-list li {
    position: relative;
    padding: 0.25rem 0;
    color: #555;
}

.ordered-list li::marker {
    color: var(--ouc-blue);
    font-weight: 600;
}

blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-left: 4px solid var(--sky-blue);
    color: #555;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

pre {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #1e293b;
    border-radius: 8px;
    overflow-x: auto;
}

pre code {
    color: #e2e8f0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

code {
    background: #f1f5f9;
    color: var(--ouc-blue);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

pre code {
    background: none;
    padding: 0;
}

del {
    color: #999;
    text-decoration: line-through;
}

.md-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,64,152,0.08);
}

.md-table th,
.md-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e6ed;
}

.md-table th {
    background: var(--ouc-blue);
    color: #fff;
    font-weight: 600;
}

.md-table tbody tr:hover {
    background: #f8fafc;
}

.md-table tbody tr:last-child td {
    border-bottom: none;
}

.static-footer {
    position: relative !important;
    transform: none !important;
    pointer-events: auto !important;
}

.static-footer::before {
    background-attachment: scroll !important;
}

.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 60px;
    height: 78px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    filter: drop-shadow(0 4px 10px rgba(0,64,152,0.3));
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(0,64,152,0.4));
}

.back-to-top svg {
    width: 100%;
    height: 100%;
}

.back-to-top .drop-shape {
    fill: var(--ouc-blue);
}

.back-to-top .arrow-icon {
    stroke: #fff;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 68px;
    }
}

@charset "utf-8";

.subpage {
    background: linear-gradient(to bottom, #f5faff 10%, #dce9f8 100%);
    min-height: 100vh;
}

.subpage .header {
    position: absolute;
    height: auto;
    padding-bottom: 0.5rem;
}

.page-banner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 25%;
    margin-top: 0;
    overflow: hidden;
}

.page-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/top.png');
    background-size: cover;
    background-position: center;
}

.page-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-banner p {
    font-size: 1.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.9;
}

.page-main {
    background: linear-gradient(to bottom, #f5faff 10%, #dce9f8 100%);
    min-height: 60vh;
    padding: 3rem 0 5rem;
}

.page-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.sidebar-nav {
    width: 15rem;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
}

.side-nav {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,64,152,0.1);
    overflow: hidden;
}

.side-nav-header {
    background: var(--ouc-blue);
    padding: 1.25rem 1.5rem;
}

.side-nav-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.side-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.side-nav-item:last-child {
    border-bottom: none;
}

.side-nav-item a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.side-nav-item a:hover {
    background: #f8f9fa;
    color: var(--ouc-blue);
    padding-left: 2rem;
}

.side-nav-item.active a {
    background: #f5faff;
    color: var(--ouc-blue);
    border-left: 4px solid var(--ouc-blue);
    padding-left: calc(1.5rem - 4px);
    font-weight: 600;
}

.news-list-container {
    flex: 1;
    padding-left: 0;
}

.news-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,64,152,0.06);
    overflow: hidden;
}

.loading-placeholder {
    padding: 3rem;
    text-align: center;
    color: #999;
    font-size: 1.1rem;
}

.news-item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    min-height: 7vh;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f9fa;
}

.news-date-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4vw;
    background: var(--ouc-blue);
    color: #fff;
    width: 6.5vw;
    height: 6.5vw;
    flex-shrink: 0;
}

.news-date-box .date-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2vh;
}

.news-date-box .date-day {
    font-size: 2.2vw;
    font-weight: 700;
    line-height: 1;
}

.news-date-box .date-month {
    font-size: 0.8vw;
    margin-top: 0.2vh;
    opacity: 0.9;
}

.news-date-box .date-year {
    font-size: 0.8vw;
    margin-top: 0.1vh;
    opacity: 0.85;
}

.news-item-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5vh 2vw;
    text-decoration: none;
    color: inherit;
}

.news-title {
    font-size: 0.95vw;
    color: #333;
    margin: 0 0 1vh 0;
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-item:hover .news-title {
    color: var(--ouc-blue);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1vw;
    font-size: 0.85vw;
    color: #999;
}

.news-date {
    color: #666;
}

.news-divider {
    color: #ddd;
}

.news-author {
    color: #999;
}

.news-views {
    display: flex;
    align-items: center;
    gap: 0.3vw;
}

.news-views svg {
    stroke: #999;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    margin-top: 3vh;
    padding: 2vh 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5vw;
    height: 2.5vw;
    padding: 0 0.8vw;
    border: 1px solid #ddd;
    border-radius: 0.3vw;
    background: #fff;
    color: #666;
    text-decoration: none;
    font-size: 0.9vw;
    transition: all 0.3s ease;
}

.page-link:hover {
    border-color: var(--ouc-blue);
    color: var(--ouc-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,64,152,0.15);
}

.page-link.active {
    background: var(--ouc-blue);
    border-color: var(--ouc-blue);
    color: #fff;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    color: #999;
    font-size: 0.9vw;
    padding: 0 0.5vw;
}

.static-footer {
    position: relative !important;
    transform: none !important;
    pointer-events: auto !important;
}

.static-footer::before {
    background-attachment: scroll !important;
}

.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 60px;
    height: 78px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    filter: drop-shadow(0 4px 10px rgba(0,64,152,0.3));
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(0,64,152,0.4));
}

.back-to-top svg {
    width: 100%;
    height: 100%;
}

.back-to-top .drop-shape {
    fill: var(--ouc-blue);
}

.back-to-top .arrow-icon {
    stroke: #fff;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media screen and (max-width: 768px) {
    .page-banner {
        padding-bottom: 35%;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .page-banner p {
        font-size: 0.9rem;
    }

    .page-main {
        padding: 2rem 0 3rem;
    }

    .page-container {
        flex-direction: column;
        padding: 0 1rem;
        gap: 2rem;
    }

    .sidebar-nav {
        width: 100% !important;
        position: static !important;
        margin-bottom: 1rem;
        display: block !important;
    }

    .side-nav {
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .side-nav-list {
        display: flex !important;
        gap: 1rem;
        padding: 0 !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .side-nav-item {
        flex: 1;
        display: block !important;
        border-bottom: none !important;
    }

    .side-nav-item a {
        display: block !important;
        padding: 0.75rem 1rem !important;
        background: #fff !important;
        border: 2px solid #dce9f8 !important;
        border-radius: 8px !important;
        text-align: center !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: var(--ouc-blue) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }

    .side-nav-item.active a {
        background: var(--ouc-blue) !important;
        color: #fff !important;
        border-color: var(--ouc-blue) !important;
        box-shadow: 0 4px 12px rgba(0,64,152,0.2) !important;
        border-left: none !important;
        padding-left: 1rem !important;
    }

    .news-list-container {
        padding-left: 0;
        margin-top: 0;
        width: 100%;
    }

    .news-list {
        border-radius: 8px;
        width: 100%;
    }

    .news-item {
        min-height: auto;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }

    .news-date-box {
        width: 100%;
        height: auto;
        padding: 0.8rem;
        gap: 1rem;
        flex-direction: row;
        box-sizing: border-box;
    }

    .news-date-box .date-left {
        flex-direction: row;
        gap: 0.5rem;
    }

    .news-date-box .date-day {
        font-size: 1.5rem;
    }

    .news-date-box .date-month {
        font-size: 0.85rem;
    }

    .news-date-box .date-year {
        font-size: 0.85rem;
    }

    .news-item-link {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .news-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.6;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .news-meta {
        font-size: 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .news-views svg {
        width: 12px;
        height: 12px;
    }

    .pagination {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .page-link {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 68px;
    }


    .header .topr {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0 !important;
        height: 100% !important;
    }

    .toplink {
        display: block !important;
        margin: 0 !important;
    }
    .toplink ul, .toplink li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .toplink ul li:not(:last-child) {
        display: none !important;
    }

    .search-toggle,
    .menu-btn {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
    }

    .search-toggle svg {
        width: 24px !important;
        height: 24px !important;
        stroke-width: 2.5px !important;
    }

    .menu-btn {
        flex-direction: column !important;
        gap: 5px !important;
    }
    .menu-btn span {
        width: 24px !important;
        height: 2px !important;
        background: #fff !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }

    .topnav, .nav-hamburger {
        margin: 0 !important;
        padding: 0 !important;
    }

    .search-pill-bar {
        padding: 4px 4px 4px 20px !important;
        border-radius: 40px !important;
    }

    .search-pill-bar input.keyword {
        height: 50px !important;
        font-size: 16px !important;
    }

    .search-submit-circle {
        width: 50px !important;
        height: 50px !important;
        box-shadow: 0 4px 10px rgba(0, 64, 152, 0.3) !important;
    }

    .search-submit-circle svg {
        width: 26px !important;
        height: 26px !important;
        stroke-width: 3.5px !important;
    }

    .close-search {
        top: 25px !important;
        right: 25px !important;
        width: 44px !important;
        height: 44px !important;
    }
}
