﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿/* style.css */
:root {
    --primary-blue: #0056b3;
    --header-blue: #1e3c72;
    --light-blue: #e3f2fd;
    --btn-blue: #2196f3;
    --text-color: #333;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
    background-color: #f4f7fa;
    background-image: linear-gradient(to bottom, #f4f7fa 0%, #eef 100%); /* 模拟背景 */
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.main-header {
    background-color: #0b4e95;
    background-image: url("/imgs/head.png");
    background-repeat: repeat-x;
    background-position: center top;
    background-size: auto 100%;
    color: white;
    padding: 20px 0 0 0;
    position: relative;
    overflow: hidden;
    height: 280px;
    margin-bottom: 12px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    height: 100%;
    gap: 24px;
}

.titles h1 {
    font-size: 55px;
    margin-left:80px;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.titles p {
    font-size: 18px;
    opacity: 0.8;
    padding-left: 70px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* City Skyline Placeholder */
.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0,20 L0,10 L10,10 L10,5 L20,5 L20,15 L30,15 L30,8 L40,8 L40,20 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 20% 100%;
}

/* Top Cards Grid */
.grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}

.news-card {
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-header {
    background-image: url("/imgs/lab_bg.png");
    color: white;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.card-body {
    padding: 15px;
}

.read-more {
    font-size: 12px;
    color: #eaf2ff;
}

.article-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #e6e6e6;
    font-size: 13px;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-text {
    display: flex;
    align-items: center;
    min-width: 0;
}

.article-title {
    color: #333;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-title.highlight-red {
    color: #c62828;
}

.article-date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

/* Banners */
.banners {
    position: relative;
    height: 70px;
    margin-bottom: 14px;
}

.banner-item {
    position: absolute;
    inset: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.banner-item.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.light-blue {
    background-color: #e1f5fe;
    color: #0277bd;
    border: 1px solid #b3e5fc;
}

.dark-blue {
    background: linear-gradient(to right, #0d47a1, #1976d2);
    color: white;
}

.ai-icon {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-style: italic;
}

.floating-window {
    position: fixed;
    left: 0;
    top: 0;
    width: 150px;
    height: 100px;
    z-index: 999;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.floating-close {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}

.floating-close::before {
    content: "×";
}

.floating-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.side-boxes {
    position: fixed;
    right: 64px;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 170px;
    z-index: 10;
}

.side-card {
    background: linear-gradient(180deg, #fafafa 0%, #f4f4f4 100%);
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 12px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.side-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d9d9d9, #bdbdbd);
}

.side-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    pointer-events: none;
}

.side-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

.side-compact {
    padding: 10px 12px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
}

.side-compact .side-icon {
    width: 34px;
    height: 34px;
    margin: 0;
    font-size: 16px;
}

.side-compact .side-title {
    margin: 0;
    font-size: 13px;
}

.side-compact .side-link {
    margin-left: auto;
    font-size: 12px;
    padding: 2px 6px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    color: #444;
    background: #f7f7f7;
    white-space: nowrap;
}

.side-qr {
    width: 110px;
    height: 110px;
    margin: 0 auto 8px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.side-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    border: 1px solid #d6d6d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.side-top {
    background: linear-gradient(180deg, #f8f8f8 0%, #eeeeee 100%);
    border: 1px solid #d9d9d9;
}

.side-top .side-icon {
    background: #ededed;
    color: #555;
    border-color: #d2d2d2;
}

.side-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.side-link {
    font-size: 12px;
    color: #555;
}

.side-link:hover {
    color: #222;
}

@keyframes float-window {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Icons Section */
.icon-section {
    background: transparent;
    padding: 0;
    border: none;
}

.section-title {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 14px;
    border-left: 4px solid var(--primary-blue);
    padding-left: 10px;
}

.section-panel {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 5px 5px;
    margin-bottom: 14px;
    border-radius: 4px;
}

.section-panel .panel-inner {
    border: 1px solid #e1e1e1;
    padding: 14px 16px;
    border-radius: 3px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}

.icon-item {
    cursor: pointer;
}

    .icon-item .circle {
        width: 60px;
        height: 60px;
        background-color: #2b71be;
        border-radius: 50%;
        margin: 0 auto 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 25px;
        transition: background-color 0.3s;
    }

    .icon-item:hover .circle {
        background-color: #094c93;
    }

    .icon-item p {
        font-size: 12px;
        color: #333;
        font-family: "SimHei", "Microsoft YaHei", Arial, sans-serif;
        font-weight: 700;
    }

/* Bottom Layout */
.bottom-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
    align-items: stretch;
}

.business-section .pill-grid {
    margin-bottom: 0;
}

.pill-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.pill-btn {
    background: #1976d2;
    color: white;
    border: none;
    padding: 8px 0;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: "SimHei", "Microsoft YaHei", Arial, sans-serif;
    font-weight: 700;
}

    .pill-btn:hover {
        background: #2b71be;
    }

.news-image {
    background: #ccd7e8;
    border: 1px solid #ddd;
    position: relative;
    min-height: 150px;
    max-height: 280px;
    height: 100%;
    overflow: hidden;
}

.news-carousel {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: news-carousel-scroll 16s infinite;
}

.news-carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 0 0 25%;
}

.news-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.5px;
}

@keyframes news-carousel-scroll {
    0% {
        transform: translateX(0);
    }
    22% {
        transform: translateX(0);
    }
    28% {
        transform: translateX(-25%);
    }
    50% {
        transform: translateX(-25%);
    }
    56% {
        transform: translateX(-50%);
    }
    78% {
        transform: translateX(-50%);
    }
    84% {
        transform: translateX(-75%);
    }
    100% {
        transform: translateX(-75%);
    }
}

.notice-area {
    background: white;
    padding: 15px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

    .notice-header span {
        color: var(--primary-blue);
        font-weight: bold;
        font-size: 18px;
    }

    .notice-header .more-link {
        font-size: 12px;
        color: #999;
        margin-top: 5px;
    }

.notice-list li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notice-text {
    display: flex;
    align-items: center;
    min-width: 0;
}

.notice-date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

    .notice-list li a:hover {
        color: var(--primary-blue);
        text-decoration: underline;
    }

.dot {
    width: 4px;
    height: 4px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
}

.footer {
    background: #404040;
    color: #bbb;
    padding: 10px 0;
    margin-top: 14px;
    text-align: center;
    line-height: 1.8;
}

.footer p {
    font-size: 13px;
}

.footer-links {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links-title {
    font-size: 14px;
    color: #e6e6e6;
    font-weight: 300;
}

.footer-links-selects {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links select {
    width:200px;
    background: #5a5a5a;
    color: #e9e9e9;
    border: 1px solid #6c6c6c;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
}

.xhgk {
    background-image: url("/imgs/gk_bg.png");
}