/* ================================================================
   南京医科大学康达学院 · 2026 级新生服务大厅
   视觉风格：清华式克制 · 留白 · 典雅 · 深紫 + 金色点缀
   Primary: #5a0c1a (深红紫), Gold: #8a6a30, Text: #1a1a1a
   ================================================================ */

/* ---------- 基础与重置 ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    font-size: 16px;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans CN", "Noto Sans CJK SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.75;
    background: linear-gradient(180deg, #fbfbfb 0%, #f7f7f5 100%);
    font-weight: 400;
    font-style: normal;
}

/* 标题与品牌：使用宋体/思源宋体 —— 稳重、正式、庄重 */
.serif,
.brand-cn,
.banner-hero-text .main-heading,
.card-title,
.title-group .main-title,
.intro-paragraph strong {
    font-family: "SimSun", "Source Han Serif CN", "Noto Serif CJK SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
    letter-spacing: 0.06em;
    font-style: normal;
}

/* 英文与数字：等宽衬线体，端庄 */
.en-num,
.brand-en,
.title-group .sub-title,
.banner-hero-text .sub-heading,
.banner-meta-line,
.countdown-sub,
.countdown-label,
.card-subtitle,
.wifi-flag,
.wifi-fact-unit,
.banner-meta .meta-item,
.news-date,
.news-arrow,
.stat .label,
.stat .unit,
.wifi-card-status,
.card-status,
.footer-text {
    font-family: "Times New Roman", Georgia, "SimSun", serif;
    letter-spacing: 0.08em;
    font-style: normal;
}

/* ---------- 主题颜色 ---------- */
:root {
    --color-primary: #5a0c1a;        /* 主色 - 深紫红，校徽色 */
    --color-primary-deep: #3d0812;
    --color-primary-light: #b53a52;
    --color-secondary: #8a6a30;         /* 辅色 - 金色 */
    --color-secondary-light: #c2a66e;
    --color-gold: #b58a3a;
    --color-cmcc-blue: #1a73e8;         /* 中国移动蓝 */
    --color-cmcc-blue-deep: #0d47a1;
    --color-text: #1a1a1a;
    --color-text-secondary: #666;
    --color-text-tertiary: #999;
    --color-text-muted: #bbb;
    --color-bg: #fbfbfb;
    --color-bg-card: #ffffff;
    --color-bg-warm: #faf8f5;
    --color-divider: #eceae6;
    --color-border: #e8e5df;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-soft: 0 2px 12px rgba(90, 12, 26, 0.05), 0 8px 24px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.05);
    --max-width: 720px;
}

/* ================================================================
   顶部院校信息栏（清华式品牌条）
   ================================================================ */
.brand-bar {
    width: 100%;
    margin: 0 auto;
    padding: 22px 0 18px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid var(--color-divider);
    background: var(--color-bg);
    z-index: 5;
}

.brand-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid var(--color-divider);
    padding: 5px;
    background: #fff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-cn {
    font-size: 19px;
    color: var(--color-primary-deep);
    font-weight: 700;
    letter-spacing: 0.12em;
}

.brand-en {
    font-size: 12px;
    color: var(--color-text-tertiary);
    letter-spacing: 0.14em;
    margin-top: 6px;
    text-transform: uppercase;
    font-weight: 500;
}

.brand-right .brand-slogan {
    font-size: 12px;
    color: var(--color-primary-deep);
    letter-spacing: 0.14em;
    padding: 7px 14px;
    border: 1px solid rgba(90, 12, 26, 0.15);
    border-radius: 2px;
    white-space: nowrap;
    font-family: "SimSun", serif;
    font-weight: 600;
}

.brand-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 12, 26, 0.12), transparent);
    margin-top: 18px auto 0;
    max-width: calc(var(--max-width) - 48px);
}

/* ================================================================
   导航栏
   ================================================================ */
.nav-bar {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    z-index: 10;
    border-bottom: 1px solid rgba(90, 12, 26, 0.06);
    max-width: var(--max-width);
    margin: 0 auto;
}

.icon-btn {
    width: 38px;
    height: 38px;
    padding: 9px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.icon-btn svg {
    width: 20px;
    height: 20px;
}
.icon-btn:active {
    background: rgba(90, 12, 26, 0.06);
}

.title-group {
    text-align: center;
    flex: 1;
}

.title-group .main-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary-deep);
    letter-spacing: 0.1em;
}

.title-group .sub-title {
    display: block;
    font-size: 11px;
    color: var(--color-text-tertiary);
    letter-spacing: 0.14em;
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ================================================================
   Banner：左校徽 · 右标题（克制优雅）
   ================================================================ */
.banner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 56px 24px 48px;
    position: relative;
    background:
        radial-gradient(ellipse at top, rgba(90, 12, 26, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
    overflow: hidden;
}

.banner-hero-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.banner-hero-logo-wrap {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-hero-logo {
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(90, 12, 26, 0.08));
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--color-divider);
}

.banner-hero-logo-fallback {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
    color: #f2e6b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 1px solid rgba(138, 106, 48, 0.3);
    font-family: "SimSun", "Source Han Serif CN", serif;
}

.banner-hero-text {
    flex: 1;
    min-width: 0;
}

.banner-hero-text .main-heading {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary-deep);
    line-height: 1.35;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.banner-hero-text .sub-heading {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.banner-meta-line {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed var(--color-divider);
    font-size: 12.5px;
    color: var(--color-secondary);
    letter-spacing: 0.14em;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 600;
}

.banner-meta {
    margin-top: 26px;
    font-size: 12px;
    color: var(--color-text-secondary);
    text-align: left;
    padding: 14px 0 0;
    border-top: 1px solid var(--color-divider);
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.banner-meta .meta-item {
    display: inline;
    padding: 0 2px;
}

.banner-meta .meta-sep {
    color: var(--color-text-muted);
    margin: 0 4px;
}

.banner-divider {
    margin-top: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 12, 26, 0.1), transparent);
}

/* ================================================================
   主内容区
   ================================================================ */
.main-content {
    padding: 0 0 40px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   倒计时卡片
   ================================================================ */
.countdown-card {
    background:
        linear-gradient(135deg, #fff 0%, #faf8f5 100%);
    border: 1px solid var(--color-divider);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 26px 24px 24px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: var(--shadow-card);
}

.countdown-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.countdown-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 12, 26, 0.06) 0%, rgba(138, 106, 48, 0.06) 100%);
    border-radius: 8px;
}
.countdown-icon svg { width: 22px; height: 22px; }

.countdown-title-group {
    flex: 1;
    min-width: 0;
}

.countdown-title {
    font-size: 19px;
    color: var(--color-primary-deep);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.countdown-sub {
    font-size: 12px;
    color: var(--color-text-tertiary);
    margin-top: 6px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
}

.countdown-date {
    font-size: 12px;
    color: var(--color-secondary);
    padding: 7px 14px;
    border: 1px solid rgba(138, 106, 48, 0.2);
    border-radius: 2px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.countdown-item {
    flex: 1;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    padding: 18px 10px 16px;
    min-width: 0;
}

.countdown-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary-deep);
    letter-spacing: 0.02em;
    display: block;
    line-height: 1;
    font-family: "Times New Roman", Georgia, serif;
}

.countdown-label {
    font-size: 11px;
    color: var(--color-text-tertiary);
    margin-top: 12px;
    display: block;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}

.countdown-separator {
    font-size: 28px;
    font-weight: 400;
    color: var(--color-secondary);
    line-height: 1;
    font-family: Georgia, serif;
}

/* ================================================================
   公告条
   ================================================================ */
.notice-bar {
    background: linear-gradient(90deg, rgba(90, 12, 26, 0.06) 0%, rgba(138, 106, 48, 0.06) 100%);
    border: 1px solid var(--color-divider);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.speaker-icon {
    color: var(--color-primary);
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: rgba(90, 12, 26, 0.06);
    border-radius: 50%;
}
.speaker-icon svg { width: 18px; height: 18px; }

.notice-text {
    flex: 1;
    font-size: 13.5px;
    color: var(--color-text-secondary);
    line-height: 1.85;
    letter-spacing: 0.03em;
    font-weight: 500;
}
.notice-text strong {
    color: var(--color-primary-deep);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ================================================================
   快速入口
   ================================================================ */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 16px 0 24px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    padding: 18px 8px 14px;
    background: #fff;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
}

.quick-nav-item:active {
    transform: scale(0.97);
    background: var(--color-bg);
}

.quick-nav-item .icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quick-nav-item .icon svg { width: 22px; height: 22px; }
.quick-nav-item .icon.c1 { background: linear-gradient(135deg, #5a0c1a 0%, #7a1c2e 100%); }
.quick-nav-item .icon.c2 { background: linear-gradient(135deg, #8a6a30 0%, #b58a3a 100%); }
.quick-nav-item .icon.c3 { background: linear-gradient(135deg, #3a3a3a 0%, #5a5a5a 100%); }
.quick-nav-item .icon.c4 { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.quick-nav-item .icon.c5 { background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); }

.quick-nav-item .label {
    font-size: 13px;
    color: var(--color-text);
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* ================================================================
   通用卡片
   ================================================================ */
.card {
    background: #fff;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg);
    padding: 26px 24px 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-divider);
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 12, 26, 0.06) 0%, rgba(138, 106, 48, 0.06) 100%);
    border-radius: 8px;
}
.card-icon svg { width: 20px; height: 20px; }

.text-group {
    flex: 1;
    min-width: 0;
}

.card-title {
    font-size: 18px;
    color: var(--color-primary-deep);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.card-subtitle {
    font-size: 12px;
    color: var(--color-text-tertiary);
    margin-top: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-status {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--color-text-tertiary);
    padding: 6px 14px;
    border: 1px solid var(--color-divider);
    border-radius: 2px;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.card-status.hot {
    color: var(--color-primary);
    border-color: rgba(90, 12, 26, 0.2);
    background: rgba(90, 12, 26, 0.04);
}

.card-status.new {
    color: var(--color-secondary);
    border-color: rgba(138, 106, 48, 0.25);
    background: rgba(138, 106, 48, 0.05);
}

/* ================================================================
   校园网卡片（中国移动蓝主题）
   ================================================================ */
.wifi-card {
    border: 1px solid rgba(26, 115, 232, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f0f6fd 100%);
    position: relative;
}

.wifi-card-header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26, 115, 232, 0.12);
}

.wifi-card-icon {
    color: var(--color-cmcc-blue);
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(13, 71, 161, 0.1) 100%);
}

.wifi-card-title {
    color: var(--color-cmcc-blue-deep);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wifi-card-status {
    color: var(--color-cmcc-blue-deep);
    border-color: rgba(26, 115, 232, 0.25);
    background: rgba(26, 115, 232, 0.06);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.wifi-intro {
    display: flex;
    align-items: stretch;
    gap: 24px;
    padding: 26px 24px 28px;
    border: 1px solid var(--color-divider);
    background: linear-gradient(180deg, #fff 0%, #fafaf5 100%);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.wifi-intro-left {
    flex: 1;
    min-width: 0;
}

.wifi-flag {
    font-size: 11px;
    color: var(--color-secondary);
    letter-spacing: 0.18em;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: Georgia, serif;
}

.wifi-flag-cmcc {
    color: var(--color-cmcc-blue-deep);
}

.wifi-slogan {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-deep);
    letter-spacing: 0.2em;
    margin: 6px 0 6px;
    padding: 0 0 10px;
    border-bottom: 1px dashed rgba(138, 106, 48, 0.4);
}

.wifi-slogan-en {
    display: block;
    font-size: 12px;
    color: var(--color-secondary);
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: Georgia, serif;
}

.wifi-title-line {
    font-size: 18px;
    color: var(--color-primary-deep);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.wifi-title-cmcc {
    color: var(--color-cmcc-blue-deep);
}

.wifi-desc {
    font-size: 14px;
    color: var(--color-text);
    line-height: 2;
    letter-spacing: 0.03em;
}

.wifi-intro-right {
    flex-shrink: 0;
    width: 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.wifi-fact {
    background: linear-gradient(180deg, #fff 0%, #eaf2fd 100%);
    border: 1px solid rgba(26, 115, 232, 0.2);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    text-align: center;
}

.wifi-fact-num {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: inline-block;
    line-height: 1;
    font-family: Georgia, serif;
}

.wifi-fact-num-blue {
    color: var(--color-cmcc-blue-deep);
}

.wifi-fact-unit {
    font-size: 12.5px;
    color: var(--color-text-secondary);
    margin-left: 6px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ================================================================
   通用宫格
   ================================================================ */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 10px 20px;
    background: #fff;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.grid-item:active {
    transform: scale(0.98);
    background: var(--color-bg);
    border-color: rgba(90, 12, 26, 0.2);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.icon-wrapper.color-crimson {
    background: linear-gradient(135deg, rgba(90, 12, 26, 0.1) 0%, rgba(90, 12, 26, 0.15) 100%);
}
.icon-wrapper.color-crimson-light {
    background: linear-gradient(135deg, rgba(90, 12, 26, 0.06) 0%, rgba(138, 106, 48, 0.12) 100%);
}
.icon-wrapper.color-gold {
    background: linear-gradient(135deg, rgba(138, 106, 48, 0.1) 0%, rgba(181, 138, 58, 0.14) 100%);
}
.icon-wrapper.color-teal {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.1) 0%, rgba(20, 184, 166, 0.12) 100%);
}
.icon-wrapper.color-purple {
    background: linear-gradient(135deg, rgba(90, 12, 26, 0.1) 0%, rgba(138, 106, 48, 0.12) 100%);
}
.icon-wrapper.color-cmcc {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(13, 71, 161, 0.14) 100%);
}
.icon-wrapper.color-cmcc-light {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(138, 106, 48, 0.1) 100%);
}
.icon-wrapper.color-cmcc-purple {
    background: linear-gradient(135deg, rgba(90, 12, 26, 0.1) 0%, rgba(138, 106, 48, 0.12) 100%);
}

.badge {
    position: absolute;
    top: -2px;
    right: -4px;
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 10px;
    letter-spacing: 0.06em;
    background: var(--color-primary);
    color: #fff;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    font-family: Georgia, serif;
}

.badge.crimson { background: var(--color-primary); }
.badge.gold { background: var(--color-secondary); }
.badge.teal { background: #0f766e; }
.badge.cmcc { background: var(--color-cmcc-blue); }
.badge.cmcc-light { background: var(--color-secondary); }
.badge.cmcc-purple { background: #5a0c1a; }

.item-label {
    font-size: 13.5px;
    color: var(--color-text);
    letter-spacing: 0.06em;
    font-weight: 600;
    text-align: center;
}

/* ================================================================
   学院简介卡片
   ================================================================ */
.intro-card {
    background: linear-gradient(180deg, #fff 0%, #fafaf5 100%);
    border: 1px solid var(--color-divider);
}

.intro-card-icon {
    color: var(--color-primary);
}

.intro-body {
    padding: 6px 4px 0;
}

.intro-paragraph {
    font-size: 14.5px;
    color: var(--color-text);
    line-height: 2.1;
    margin-bottom: 14px;
    text-align: justify;
    letter-spacing: 0.03em;
    font-weight: 400;
}

.intro-paragraph strong {
    color: var(--color-primary-deep);
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(138, 106, 48, 0.12) 60%);
    padding: 0 2px;
}

/* ================================================================
   校园动态
   ================================================================ */
.news-list {
    padding: 0 4px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 14px 4px;
    border-bottom: 1px dashed var(--color-divider);
    font-size: 13.5px;
    gap: 12px;
    transition: background 0.2s ease;
    cursor: pointer;
    border-radius: 4px;
}

.news-item:hover {
    background: rgba(90, 12, 26, 0.03);
}

.news-item:last-child {
    border-bottom: none;
}

.tag-news {
    flex-shrink: 0;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    border: 1px solid var(--color-divider);
    color: var(--color-text-tertiary);
    background: #fff;
    font-weight: 600;
}

.tag-news.hot {
    color: var(--color-primary);
    border-color: rgba(90, 12, 26, 0.2);
    background: rgba(90, 12, 26, 0.05);
}
.tag-news.new {
    color: var(--color-cmcc-blue-deep);
    border-color: rgba(26, 115, 232, 0.2);
    background: rgba(26, 115, 232, 0.05);
}
.tag-news.notice {
    color: var(--color-secondary);
    border-color: rgba(138, 106, 48, 0.25);
    background: rgba(138, 106, 48, 0.08);
}

.news-title {
    flex: 1;
    color: var(--color-text);
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.news-date {
    flex-shrink: 0;
    color: var(--color-text-tertiary);
    font-size: 12px;
    font-family: Georgia, serif;
    letter-spacing: 0.04em;
}

.news-arrow {
    flex-shrink: 0;
    color: var(--color-secondary);
    font-size: 18px;
    font-family: Georgia, serif;
    font-weight: 700;
}

/* ================================================================
   FAQ 手风琴
   ================================================================ */
.faq-list {
    padding: 0 4px;
}

.faq-item {
    border-bottom: 1px solid var(--color-divider);
    margin-bottom: 4px 0;
    padding-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 4px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-q-label {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-secondary);
    background: rgba(138, 106, 48, 0.1);
    border-radius: 3px;
    padding: 5px 10px;
    letter-spacing: 0.08em;
    min-width: 44px;
    text-align: center;
}

.faq-q-text {
    flex: 1;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.faq-toggle {
    flex-shrink: 0;
    color: var(--color-secondary);
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 106, 48, 0.06);
    border-radius: 50%;
}
.faq-toggle svg { width: 14px; height: 14px; }

.faq-item.open .faq-toggle {
    transform: rotate(180deg);
    color: var(--color-primary-deep);
    background: rgba(90, 12, 26, 0.08);
}

.faq-item.open .faq-q-text {
    color: var(--color-primary-deep);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 4px 0 74px;
}

.faq-item.open .faq-answer {
    max-height: 1200px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 13.5px;
    color: var(--color-text-secondary);
    line-height: 1.9;
    text-align: justify;
    letter-spacing: 0.02em;
}

/* ================================================================
   页脚
   ================================================================ */
.footer {
    margin-top: 16px;
    padding: 32px 24px 24px;
    background: linear-gradient(180deg, #fff 0%, #fafaf5 100%);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg);
    text-align: center;
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-divider);
}

.stat {
    padding: 0 4px;
}

.stat .label {
    font-size: 11.5px;
    color: var(--color-text-tertiary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.stat .value {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary-deep);
    display: block;
    line-height: 1.2;
    font-family: Georgia, serif;
}

.stat .unit {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-left: 4px;
    font-family: Georgia, serif;
    letter-spacing: 0.04em;
}

.footer-logos {
    display: flex;
    align-items: stretch;
    gap: 18px;
    margin: 0 auto 26px;
    justify-content: center;
    max-width: 560px;
}

.footer-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    background: #fff;
}

.footer-sep-line {
    width: 1px;
    background: var(--color-divider);
    flex-shrink: 0;
    align-self: stretch;
}

.logo-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--color-divider);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.logo-box.cmcc-box {
    border-color: rgba(26, 115, 232, 0.2);
    background: linear-gradient(135deg, #fff 0%, #eaf2fd 100%);
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-badge, .logo-badge-cmcc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-family: Georgia, serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    padding: 8px;
}

.logo-badge {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
    letter-spacing: 0.06em;
}
.logo-badge-cmcc {
    background: linear-gradient(135deg, var(--color-cmcc-blue) 0%, var(--color-cmcc-blue-deep) 100%);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.logo-name {
    font-size: 14px;
    color: var(--color-primary-deep);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-top: 6px;
    line-height: 1.4;
}

.logo-sub {
    font-size: 11.5px;
    color: var(--color-text-tertiary);
    letter-spacing: 0.06em;
    line-height: 1.5;
    font-family: Georgia, serif;
}

.footer-text {
    font-size: 12.5px;
    color: var(--color-text-secondary);
    line-height: 2;
    letter-spacing: 0.04em;
    padding-top: 18px;
    border-top: 1px dashed var(--color-divider);
    font-family: Georgia, "SimSun", serif;
}

/* ================================================================
   返回顶部
   ================================================================ */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(90, 12, 26, 0.15);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--color-primary);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(90, 12, 26, 0.12);
    z-index: 20;
    transition: all 0.2s ease;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.visible {
    display: flex;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    animation: fadeInUp 0.4s ease;
}

/* ================================================================
   Toast 通知
   ================================================================ */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 26, 0.92);
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: toastIn 0.3s ease;
    max-width: 80%;
    text-align: center;
    line-height: 1.6;
}

/* ================================================================
   动画与进入动画
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* ================================================================
   响应式：窄屏
   ================================================================ */
@media (max-width: 480px) {
    .brand-cn { font-size: 13.5px; }
    .brand-en { font-size: 10px; }
    .brand-right .brand-slogan { font-size: 10px; padding: 3px 8px; }

    .brand-logo { width: 34px; height: 34px; }

    .banner { padding: 28px 20px 24px; }
    .banner-hero-row { gap: 16px; }
    .banner-hero-logo-wrap { width: 76px; height: 76px; }
    .banner-hero-logo, .banner-hero-logo-fallback { width: 70px; height: 70px; }
    .banner-hero-logo-fallback { font-size: 22px; }
    .banner-hero-text .main-heading { font-size: 18px; }
    .banner-hero-text .sub-heading { font-size: 11.5px; }

    .container { padding: 0 16px; }
    .nav-bar { padding: 12px 16px; }

    .countdown-number { font-size: 22px; }
    .countdown-label { font-size: 9.5px; }
    .countdown-separator { font-size: 18px; }

    .quick-nav { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .quick-nav-item { padding: 12px 4px 8px; }
    .quick-nav-item .label { font-size: 10.5px; }

    .grid-container { gap: 8px; }
    .grid-item { padding: 14px 6px 12px; }
    .icon-wrapper { width: 42px; height: 42px; }
    .icon-wrapper svg { width: 22px; height: 22px; }
    .item-label { font-size: 11px; }
    .badge { font-size: 8.5px; padding: 2px 6px; }

    .wifi-intro { flex-direction: column; gap: 12px; }
    .wifi-intro-right { width: 100%; flex-direction: row; gap: 8px; }
    .wifi-fact { flex: 1; padding: 10px 6px; }

    .card { padding: 18px 16px; }
    .card-title { font-size: 14.5px; }
    .intro-paragraph { font-size: 12.5px; }

    .footer { padding: 24px 16px 18px; }
    .footer-stats { gap: 8px; }
    .stat .value { font-size: 18px; }
    .stat .label { font-size: 10px; }

    .footer-logos { gap: 10px; }
    .logo-box { width: 48px; height: 48px; }
    .logo-badge, .logo-badge-cmcc { font-size: 11px; }
    .logo-name { font-size: 11.5px; }
    .logo-sub { font-size: 9.5px; }

    .back-to-top { right: 14px; bottom: 20px; width: 40px; height: 40px; }
    .toast { font-size: 12px; padding: 10px 18px; }
}

@media (max-width: 360px) {
    .brand-inner { padding: 0 16px; }
    .quick-nav-item .label { font-size: 10px; }
    .item-label { font-size: 10.5px; }
}

/* ================================================================
   减少动画（无障碍）
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .back-to-top { transition: none; }
    * { animation: none !important; }
}

/* ================================================================
   刘海屏安全区
   ================================================================ */
@supports (padding: max(0px)) {
    .brand-bar { padding-top: max(18px, env(safe-area-inset-top)); }
    .footer { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
