@charset "utf-8";

/* ==========================================================================
   全站基础层：变量、重置、头部、轮播、通用标题、新闻列表和页脚
   ========================================================================== */

:root {
    --luojia-green: #00797c;
    --luojia-light: #c3d4cf;
    --luojia-light-cream: #fdfaf5;
    --luojia-gold: #efd48d;
    --bg-cream: #fffbf4;
    --text-dark: #333333;
    --text-gray: #666666;
    --font-heading: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
    --font-san: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    --font-en: "Perpetua Titling MT", Georgia, serif;
    --header-z: 1000;
    --floating-z: 900;
    --modal-z: 1100;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-san);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open,
body.dialog-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease, opacity .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

button {
    font: inherit;
}

ul,
li {
    list-style: none;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid rgba(239, 212, 141, .95);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: var(--modal-z);
    padding: 10px 16px;
    background: #ffffff;
    color: var(--luojia-green);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.wp {
    position: relative;
    width: min(95%, 1280px);
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.flexjs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--header-z);
    width: 100%;
    min-height: 120px;
    padding-bottom: 15px;
    background-color: rgba(0, 121, 124, 0);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .32) 52%, rgba(0, 0, 0, 0) 100%);
    box-shadow: none;
    transition: background-color .45s ease, background-image .45s ease, box-shadow .45s ease, min-height .45s ease, transform .35s ease;
}

.header.move,
.header.nav-active {
    min-height: 92px;
    background-color: rgba(0, 121, 124, .96);
    background-image: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, .36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header a {
    color: #ffffff;
}

.header-inner {
    width: 100%;
    max-width: none;
    min-height: inherit;
    padding: 0 3.125vw;
    align-items: flex-start;
}

.logo {
    margin-top: 28px;
    flex: 0 1 auto;
}

.logo-text {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.logo-text .univ {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .3);
}

.logo-text .dept-line {
    width: 1px;
    height: 62px;
    margin: 0 20px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .62);
    box-shadow: 1px 0 2px rgba(0, 0, 0, .2);
}

.logo-text .dept {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .3);
}

.logo-text .dept small {
    display: block;
    margin-top: 4px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.topr {
    width: 100%;
    text-align: right;
}

.toplink {
    margin: 20px 0;
}

.toplink ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.toplink li {
    position: relative;
    margin-left: 15px;
    font-size: 13px;
}

.toplink li::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 15%;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .42);
}

.toplink li:first-child::before {
    display: none;
}

.toplink a:hover {
    color: var(--luojia-gold);
    text-decoration: underline;
}

.topnav {
    display: flex;
    justify-content: flex-end;
}

.topnav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: clamp(14px, 1.6vw, 38px);
    row-gap: 15px;
}

.topnav li {
    position: relative;
    margin-top: -5px;
    margin-left: 0;
    flex: 0 0 auto;
}

.topnav a {
    position: relative;
    display: block;
    padding-bottom: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.topnav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--luojia-gold);
    transform: translateX(-50%);
    transition: width .3s ease;
}

.topnav li:hover > a::after {
    width: 100%;
}

.topnav .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    row-gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    border-radius: 4px;
    z-index: 100;
}

.topnav li.has-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.topnav .sub-menu li {
    margin: 0;
}

.topnav .sub-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 121, 124, 0.15);
}

.topnav .sub-menu a {
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    color: #00797c;
}

.topnav .sub-menu a::after {
    display: none;
}

.topnav .sub-menu a:hover {
    background: #00797c;
    color: var(--luojia-gold);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Logo emblem (mobile brand mark, desktop hidden) */
.logo-emblem {
    display: none;
}

/* Navigation overlay backdrop */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: calc(var(--header-z) - 1);
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Active nav item highlight */
.topnav li.active > a {
    color: var(--luojia-gold);
}

.topnav li.active > a::after {
    width: 100%;
}

/* Hero */
.banner_box {
    position: relative;
    z-index: 1;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: #000000;
}

.banner-swiper,
.banner-swiper .swiper-wrapper,
.banner-swiper .swiper-slide,
.banner-swiper picture,
.banner-swiper img {
    width: 100%;
    height: 100%;
}

.banner-swiper img {
    object-fit: cover;
    transform: scale(1);
    transition: transform 6s ease-in-out;
}

.banner-swiper .swiper-slide-active img {
    transform: scale(1.08);
}

.swiper-pagination {
    bottom: 5vh !important;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #ffffff !important;
    opacity: .55 !important;
    transition: opacity .3s ease, width .3s ease;
}

.swiper-pagination-bullet-active {
    width: 30px !important;
    border-radius: 5px !important;
    opacity: 1 !important;
}

.banner-text {
    position: absolute;
    left: 50%;
    bottom: 15vh;
    z-index: 10;
    width: min(92%, 900px);
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .52);
    transform: translateX(-50%);
    pointer-events: none;
}

.banner-text h2 {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 600;
    letter-spacing: 5px;
}

.banner-text .line {
    width: 100px;
    height: 3px;
    margin: 20px auto;
    background: var(--luojia-gold);
}

.banner-text p {
    font-family: var(--font-en);
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: .82;
}

/* 通用标题与区块 */
.pad1 {
    padding: 80px 0;
}

.tit1 {
    position: relative;
    margin: 0 0 50px;
    text-align: center;
}

.tit1 h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--luojia-green);
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
}

.tit1 .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 15px;
    border-radius: 50%;
    background: var(--luojia-green);
}

.sicoh {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.sicoh .en-txt {
    position: relative;
    z-index: 2;
    margin: 0 15px;
    color: var(--luojia-green);
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 2px;
    opacity: .82;
}

.sicoh .en-txt.muted {
    color: #666666;
}

.animated-line-l,
.animated-line-r {
    position: relative;
    width: 250px;
    height: 1px;
    background: rgba(0, 121, 124, .3);
}

.animated-line-l::before,
.animated-line-r::before {
    content: "";
    position: absolute;
    top: 0;
    width: 30px;
    height: 1px;
    background: var(--luojia-green);
}

.animated-line-l::before {
    right: 0;
    animation: runL 4s infinite linear;
}

.animated-line-r::before {
    left: 0;
    animation: runR 4s infinite linear;
}

@keyframes runL {
    0% { right: 0; opacity: 1; }
    100% { right: 100%; opacity: 0; }
}

@keyframes runR {
    0% { left: 0; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* 新闻与列表 */
.news-wrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.news-left-list {
    width: 550px;
    padding-right: 50px;
}

.news-right-img {
    flex: 1;
    min-width: 0;
}

.major-news {
    display: block;
    height: 100%;
}

.major-news .img-wrap {
    position: relative;
    display: block;
    height: 350px;
    overflow: hidden;
}

.major-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.major-news:hover img {
    transform: scale(1.05);
}

.major-news .txt {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: -30px;
    margin-right: 20px;
    padding: 25px 30px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .03);
    transition: background-color .3s ease, color .3s ease;
}

.party-focus .major-news .txt {
    margin-right: 0;
    margin-left: 20px;
}

.major-news:hover .txt {
    background: var(--luojia-green);
    color: #ffffff;
}

.major-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.list2 li {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #e5e2df;
    transition: background-color .5s ease, transform .5s ease, border-color .5s ease;
}

.list2 li:last-child {
    border-bottom: 0;
}

.list2 li:hover {
    background: #fcf3e5;
    border-bottom-color: transparent;
    transform: translateX(10px);
}

.list2 li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--luojia-green);
    transition: width .4s ease;
}

.list2 li:hover::after {
    width: 100%;
}

.list2 .a {
    display: flex;
    align-items: center;
    padding: 25px 20px;
}

.list2 .time {
    display: flex;
    width: 85px;
    height: 85px;
    margin-right: 36px;
    flex: 0 0 85px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect x="5" y="5" width="90" height="90" fill="none" stroke="%23c3d4cf" stroke-width="1"/></svg>') center / contain no-repeat;
}

.list2 .day {
    margin-left: -20px;
    color: var(--luojia-green);
    font-family: var(--font-en);
    font-size: 24px;
    line-height: 1;
}

.list2 .tline {
    width: 45px;
    height: 1px;
    margin: 5px 0;
    background: var(--luojia-light);
    transform: rotate(-45deg);
}

.list2 .month {
    margin-right: -25px;
    color: var(--luojia-green);
    font-family: var(--font-en);
    font-size: 16px;
    line-height: 1;
}

.list2 .txt {
    min-width: 0;
    flex: 1;
}

.news-title {
    display: block;
    overflow: hidden;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .3s ease;
}

.list2 li:hover .news-title {
    color: var(--luojia-green);
}

.summary {
    display: -webkit-box;
    max-height: 0;
    margin-top: 10px;
    overflow: hidden;
    color: var(--text-gray);
    font-size: 14px;
    opacity: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: opacity .3s ease, max-height .3s ease;
}

.list2 li:hover .summary {
    max-height: 45px;
    opacity: 1;
}

.party-layout {
    flex-direction: row;
}

.party-focus {
    margin-right: 50px;
    order: 1;
}

.party-list {
    order: 2;
    padding-right: 0;
}

.more-btn-list {
    margin-top: 35px;
    text-align: left;
}

.more-btn-list.right {
    text-align: right;
}

.btn-elegant {
    display: inline-flex;
    align-items: center;
    color: var(--luojia-green);
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 2px;
}

.btn-elegant .en {
    margin-left: 10px;
    color: #999999;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 1px;
    transition: color .4s ease;
}

.btn-elegant .icon-circle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    margin-left: 20px;
    align-items: center;
    justify-content: center;
    color: var(--luojia-green);
    border: 1px solid var(--luojia-light);
    border-radius: 50%;
    transition: transform .4s ease, background-color .4s ease, color .4s ease, border-color .4s ease;
}

.btn-elegant:hover .en {
    color: var(--luojia-green);
}

.btn-elegant:hover .icon-circle {
    color: #ffffff;
    background: var(--luojia-green);
    border-color: var(--luojia-green);
    transform: translateX(10px);
}

.list2s {
    align-items: flex-start;
}

.list2s li {
    position: relative;
    width: 33.333%;
    padding: 0 40px;
}

.list2s .center-col::before,
.list2s .center-col::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ecd7ba;
}

.list2s .center-col::before {
    left: 0;
}

.list2s .center-col::after {
    right: 0;
}

.col-header {
    margin-bottom: 35px;
    align-items: flex-end;
}

.list2s .col-title {
    position: relative;
    margin-bottom: 0;
    color: var(--luojia-green);
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
}

.list2s .col-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 40px;
    height: 2px;
    background: var(--luojia-gold);
}

.more-link {
    position: relative;
    padding-bottom: 5px;
    color: #999999;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 1px;
}

.more-link:hover {
    color: var(--luojia-green);
}

.more-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--luojia-gold);
    transition: width .3s ease;
}

.more-link:hover::after {
    left: 0;
    right: auto;
    width: 100%;
}

.list2s .item {
    display: block;
    margin-bottom: 30px;
}

.list2s .item-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .3s ease;
}

.list2s .item:hover .item-title {
    color: var(--luojia-green);
}

.list2s .date {
    position: relative;
    display: block;
    margin-top: 8px;
    padding-left: 20px;
    color: #999999;
    font-family: var(--font-en);
    font-size: 13px;
}

.list2s .date::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--luojia-gold);
}

/* Footer */
.footer {
    position: relative;
    margin-top: 40px;
    padding: 75px 0 60px;
    overflow: hidden;
    background: var(--luojia-green);
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/footer/bottombg.jpg") center / cover no-repeat;
    opacity: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .06) 20%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .45) 65%, rgba(0, 0, 0, .7) 80%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .06) 20%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .45) 65%, rgba(0, 0, 0, .7) 80%, rgba(0, 0, 0, 1) 100%);
}

.footer-flex {
    position: relative;
    z-index: 1;
    align-items: flex-end;
    justify-content: space-between;
}

.footer-title {
    margin-bottom: 25px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
}

.footer-title span {
    margin: 0 20px;
    color: rgba(255, 255, 255, .82);
    font-size: 22px;
    font-weight: 400;
}

.footer-title small {
    margin-left: 20px;
    font-size: inherit;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-contact span {
    margin: 0 15px;
}

.friend-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin: 15px 0 25px;
    color: #ffffff;
    font-size: 15px;
    opacity: .84;
}

.friend-links span {
    margin-right: -10px;
    font-family: var(--font-heading);
}

.friend-links a:hover {
    color: var(--luojia-gold);
}

.copyright {
    margin-top: 25px;
    font-size: 13px;
    opacity: .65;
}

/* 悬浮工具（全站公共） */
.floating-widget {
    position: fixed;
    right: 25px;
    top: 50%;
    z-index: var(--floating-z);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, .86);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 121, 124, .12), inset 0 0 0 1px rgba(255, 255, 255, .6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: box-shadow .4s cubic-bezier(.175, .885, .32, 1.275);
}

.floating-widget:hover {
    box-shadow: 0 15px 50px rgba(0, 121, 124, .18), inset 0 0 0 1px rgba(255, 255, 255, .9);
}

.fw-item {
    position: relative;
    display: flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--luojia-green);
    background: transparent;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    text-align: center;
}

.fw-item .icon {
    display: flex;
    margin-bottom: 5px;
    opacity: .92;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.fw-item .icon svg {
    width: 24px;
    height: 24px;
}

.fw-item .text {
    font-family: var(--font-san);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
}

.fw-item:hover,
.fw-item:focus-visible,
.fw-item.is-open {
    color: #ffffff;
    background: var(--luojia-green);
    box-shadow: 0 6px 15px rgba(0, 121, 124, .3);
}

.fw-item:hover .icon,
.fw-item:focus-visible .icon,
.fw-item.is-open .icon {
    transform: translateY(-2px) scale(1.1);
}

.fw-qr-box {
    position: absolute;
    right: 74px;
    top: -28px;
    display: block;
    width: 170px;
    padding: 15px;
    color: var(--text-dark);
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--luojia-light);
    box-shadow: -5px 10px 20px rgba(0, 0, 0, .1);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity .3s ease, transform .3s ease;
}

.fw-qr-box::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 62px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-right: 1px solid var(--luojia-light);
    border-bottom: 1px solid var(--luojia-light);
    transform: rotate(-45deg);
}

.fw-qr-box img {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.fw-qr-box span {
    display: block;
    margin-top: 5px;
    font-family: var(--font-heading);
    font-size: 13px;
}

.fw-qr-trigger:hover .fw-qr-box,
.fw-qr-trigger:focus-visible .fw-qr-box,
.fw-qr-trigger.is-open .fw-qr-box {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* 响应式基础层 */
@media (max-width: 1599px) {
    .logo-text .univ {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .logo-text .dept {
        font-size: 24px;
    }

    .logo-text .dept small {
        font-size: 14px;
    }

    .logo-text .dept-line {
        height: 50px;
        margin: 0 14px;
    }

    .topnav a {
        font-size: 15px;
    }
}

@media (max-width: 1199px) {
    .header {
        min-height: 104px;
    }

    .news-left-list {
        width: 50%;
        padding-right: 30px;
    }

    .party-focus {
        margin-right: 30px;
    }

    .list2 .time {
        margin-right: 24px;
    }
}

@media (max-width: 991px) {
    .header {
        min-height: 78px;
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: 0;
        background-color: rgba(0, 121, 124, .85);
        background-image: none;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .header.move,
    .header.nav-active {
        min-height: 78px;
        background-color: rgba(0, 121, 124, .96);
    }

    .header-inner {
        align-items: center;
        padding: 0 22px;
    }

    .logo {
        margin-top: 0;
        max-width: calc(100% - 58px);
    }

    .logo a {
        display: flex;
        align-items: center;
    }

    .logo-emblem {
        display: block;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        margin-right: 10px;
    }

    .logo-text {
        align-items: flex-start;
        flex-direction: column;
        white-space: normal;
    }

    .logo-text .univ {
        font-size: 24px;
        line-height: 1.15;
    }

    .logo-text .dept-line {
        display: none;
    }

    .logo-text .dept {
        margin-top: 4px;
        font-size: 17px;
        line-height: 1.2;
    }

    .logo-text .dept small {
        margin-top: 2px;
        font-size: 13px;
    }

    .topr {
        display: flex;
        width: auto;
        align-items: center;
        margin-left: auto;
    }

    .toplink {
        display: none;
    }

    .menu-toggle {
        display: flex;
        background: rgba(255, 255, 255, .08);
        border: none;
        border-radius: 10px;
        transition: background .3s ease;
    }

    .menu-toggle:active {
        background: rgba(255, 255, 255, .2);
    }

    .topnav {
        position: absolute;
        top: 100%;
        right: 22px;
        width: min(360px, calc(100vw - 44px));
        max-height: 0;
        overflow: hidden;
        justify-content: stretch;
        background: rgba(0, 121, 124, .98);
        border: 1px solid rgba(255, 255, 255, .12);
        border-top: none;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
        opacity: 0;
        pointer-events: none;
        transition: max-height .35s ease, opacity .25s ease;
    }

    body.nav-open .topnav {
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        opacity: 1;
        pointer-events: auto;
    }

    .topnav ul {
        width: 100%;
        padding: 8px 0;
        flex-direction: column;
        row-gap: 0;
    }

    .topnav li {
        margin: 0;
    }

    .topnav a {
        padding: 13px 18px;
        font-size: 16px;
        text-align: left;
    }

    .topnav a::after {
        left: 18px;
        bottom: 8px;
        transform: none;
    }

    .topnav .has-dropdown > a {
        padding-right: 44px;
    }

    .topnav .has-dropdown > a::before {
        content: "";
        position: absolute;
        right: 18px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 2px solid rgba(255, 255, 255, .45);
        border-bottom: 2px solid rgba(255, 255, 255, .45);
        transform: translateY(-60%) rotate(45deg);
        transition: transform .3s ease, border-color .3s ease;
    }

    .topnav .has-dropdown.open > a::before {
        transform: translateY(-40%) rotate(-135deg);
        border-color: var(--luojia-gold);
    }

    .topnav .sub-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, .06);
        box-shadow: none;
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        padding: 0;
        margin-top: 0;
        transition: max-height .35s ease, margin-top .35s ease;
    }

    .topnav li.has-dropdown.open .sub-menu {
        max-height: 300px;
        margin-top: 5px;
    }

    .topnav .sub-menu a {
        padding: 10px 18px 10px 30px;
        text-align: left;
        color: #ffffff;
    }

    .topnav .sub-menu a:hover {
        background: rgba(255, 255, 255, .1);
        color: var(--luojia-gold);
    }

    .topnav li.active > a {
        color: var(--luojia-gold);
        background: rgba(255, 255, 255, .06);
        border-left: 3px solid var(--luojia-gold);
    }

    .banner_box {
        min-height: 560px;
        height: 76vh;
    }

    .banner-text {
        bottom: 11vh;
    }

    .banner-text h2 {
        font-size: 34px;
        letter-spacing: 3px;
    }

    .news-wrap,
    .party-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .news-left-list,
    .party-list {
        width: 100%;
        padding-right: 0;
    }

    .party-focus {
        margin-right: 0;
    }

    .party-focus,
    .party-list {
        order: initial;
    }

    .list2s {
        display: grid;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .list2s li {
        width: 100%;
        padding: 0;
    }

    .list2s .center-col::before,
    .list2s .center-col::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .floating-widget {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        border-radius: 0;
        box-shadow: 0 -8px 28px rgba(0, 0, 0, .12);
        transform: none;
    }

    .fw-item {
        width: 100%;
        height: 58px;
        border-radius: 8px;
    }

    .fw-qr-box {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 70px;
        transform: translateX(-50%) translateY(10px);
    }

    .fw-qr-box::after {
        left: 50%;
        right: auto;
        top: auto;
        bottom: -6px;
        transform: translateX(-50%) rotate(45deg);
    }

    .fw-qr-trigger:hover .fw-qr-box,
    .fw-qr-trigger:focus-visible .fw-qr-box,
    .fw-qr-trigger.is-open .fw-qr-box {
        transform: translateX(-50%) translateY(0);
    }

    .logo-text .dept small {
        display: none;
    }

    .logo-emblem {
        width: 32px;
        height: 32px;
    }

    .wp {
        width: min(92%, 680px);
    }

    .pad1 {
        padding: 56px 0;
    }

    .tit1 {
        margin-bottom: 34px;
    }

    .tit1 h2 {
        font-size: 28px;
    }

    .animated-line-l,
    .animated-line-r {
        width: 80px;
    }

    .sicoh .en-txt {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .banner_box {
        min-height: 520px;
        height: 70vh;
    }

    .banner-text h2 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .banner-text p {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .major-news .img-wrap {
        height: 260px;
    }

    .list2 .a {
        padding: 20px 6px;
    }

    .list2 .time {
        width: 72px;
        height: 72px;
        margin-right: 18px;
        flex-basis: 72px;
    }

    .list2 .day {
        font-size: 21px;
    }

    .news-title {
        white-space: normal;
    }

    .summary {
        display: none;
    }

    .more-btn-list,
    .more-btn-list.right {
        text-align: left;
    }

    .footer {
        padding: 58px 0 80px;
    }

    .footer-title {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .footer-title span,
    .footer-title small {
        display: block;
        margin: 8px 0 0;
    }

    .footer-contact span {
        display: block;
        width: 0;
        height: 0;
        margin: 0;
        overflow: hidden;
    }

    .friend-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .friend-links span {
        margin-right: 0;
    }
}

@media (max-width: 479px) {
    .header-inner {
        padding: 0 16px;
    }

    .logo-text .univ {
        font-size: 21px;
    }

    .logo-text .dept {
        font-size: 15px;
    }

    .logo-text .dept small {
        display: none;
    }

    .logo-emblem {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }

    .topnav {
        right: 16px;
        width: calc(100vw - 32px);
    }

    .tit1 h2 {
        font-size: 25px;
    }

    .animated-line-l,
    .animated-line-r {
        width: 44px;
    }

    .list2 .time {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
