html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    color: #333;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 1.6;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

.containOfHeader {
    flex-shrink: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.banner-wrap,
.main-content,
.section-news-hero,
.news-panel,
.section-notice,
.section-two-col,
.panel,
.teacher-card,
.footer,
.study-quote,
.side-arrow,
.footer-bottom,
.footer-inner,
.module-group {
    box-sizing: border-box;
}

.container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    justify-content: flex-start !important;
}

/* 通屏元素统一处理 */
.containOfHeader,
.banner-wrap,
.footer,
.footer-bottom {
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
}

/* ========== Banner 区域 ========== */
.banner-wrap {
    width: 100%;
    height: 360px;
    flex-shrink: 0;
    background-image: url(images/Banner.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* 有轮播数据时：高度按图片原图宽高比自适应 */
.banner-wrap.banner-auto {
    height: auto;
    background: none;
}

/* 顶部 Banner 轮播（窗口56，结构与学院动态左侧轮播一致） */
#certifyBanner {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.banner-wrap.banner-auto #certifyBanner {
    height: auto;
}

#certifyBanner .swiper-container,
#certifyBanner .swiper-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.banner-wrap.banner-auto .swiper-container,
.banner-wrap.banner-auto .swiper-wrapper {
    height: auto;
}

#certifyBanner .swiper-slide {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
}

.banner-wrap.banner-auto .swiper-slide {
    height: auto;
}

#certifyBanner .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    display: block;
}

.banner-wrap.banner-auto .swiper-slide img {
    height: auto !important;
    object-fit: none;
}

#certifyBanner .swiper-pagination {
    bottom: 12px;
}

#certifyBanner .swiper-pagination-bullet {
    margin: 0 5px;
    background: #d5d5d5;
    opacity: 1;
}

#certifyBanner .swiper-pagination-bullet-active {
    background: #0a8aa8;
}

/* ========== 内容主体 ========== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
}

/* ========== 模块1：学院动态 + 图片 ========== */
.section-news-hero {
    display: grid;
    grid-template-columns: 500px 1fr;
    /*! gap: 20px; */
    margin-bottom: 25px;
    height: 348px;
    overflow: hidden;
}

.news-hero-img {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: #ddd;
    width: 500px;
    height: 348px;
}

.news-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 首页轮播图（参照文学所 certify 结构，适配 Swiper 8） */
#certify {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#certify .swiper-container,
#certify .swiper-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#certify .swiper-slide {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
}

#certify .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    display: block;
}

#certify .transparentBackground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    text-indent: 20px;
}

#certify .time {
    color: #fff;
    font-size: 14px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
}

#certify .swiper-pagination {
    bottom: 12px;
}

#certify .swiper-pagination-bullet {
    margin: 0 5px;
    background: #d5d5d5;
    opacity: 1;
}

#certify .swiper-pagination-bullet-active {
    background: #0a8aa8;
}

/* 学院动态列表 */
.news-panel {
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    flex-shrink: 0;
}

.panel-title {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: bold;
    color: #009fc7;
}

.panel-title img.title-icon {
    width: 34px;
    height: 25px;
    padding-right: 5px;
    margin-right: 10px;
    border-right: 3px solid #009FC7;
    object-fit: contain;
}

.panel-more {
    font-size: 12px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.panel-more:hover {
    color: #0a8aa8;
}

.news-list {
    flex: 1;
    padding: 4px 18px 8px;
    overflow: hidden;
}

.news-list li {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    /*! border-bottom: 1px dashed #eee; */
}

.news-list li:last-child {
    border-bottom: none;
}

.news-date {
    flex-shrink: 0;
    width: 58px;
    margin-right: 14px;
    text-align: center;
}

.news-date .day {
    display: block;
    background: #E6F7FB;
    color: #009FC7;
    font-size: 16px;
    font-weight: bold;
    padding: 5.2px 0;
    border-radius: 2px 2px 0 0;
}

.news-date .year {
    display: block;
    background: #009FC7;
    color: #fff;
    font-size: 11px;
    padding: 2px 0;
    border-radius: 0 0 2px 2px;
}

.news-info {
    flex: 1;
    min-width: 0;
}

.news-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
    margin-top: 6px;
}

.news-info h4:hover {
    color: #0a8aa8;
}

.news-info p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 模块2：通知公告 ========== */
.section-notice {
    background: #fff;
    border: 1px solid #eee;
    display: grid;
    grid-template-columns: 259px minmax(0, 1fr);
    margin-bottom: 25px;
    overflow: hidden;
    align-items: stretch;
    height: 160px;
}

.notice-left {
    background: #0a8aa8 url(images/Link.png) no-repeat center;
    background-size: cover;
    cursor: pointer;
    transition: opacity 0.2s;
    height: 100%;
}

.notice-left:hover {
    opacity: 0.92;
}

.notice-left > * {
    visibility: hidden;
}

.notice-right {
    padding: 18px 20px;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.notice-col {
    column-count: 2;
    column-gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    padding: 18px;
}

.notice-col li {
    padding: 9px 0;
    display: flex;
    align-items: center;
    /*! border-bottom: 1px dashed #eee; */
    font-size: 13px;
    break-inside: avoid;
    min-width: 0;
    overflow: hidden;
}

.notice-col li:last-child {
    border-bottom: none;
}

.notice-col li::before {
    content: '●';
    color: #16b5b0;
    font-size: 8px;
    margin-right: 8px;
    flex-shrink: 0;
}

.notice-col li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #444;
    transition: color 0.2s;
}

.notice-col li a:hover {
    color: #0a8aa8;
}

/* ========== 模块3+4：通屏白色背景 + 统一2x2 grid ========== */
.module-group {
    background: #fff;
    width: 100vw;
    margin-left: -50vw;
    margin-bottom: -25px;
    left: 50%;
    position: relative;
    /* 通屏背景 + 内部内容居中到 1200px，小屏时最小留 20px */
    padding: 25px clamp(20px, calc((100vw - 1200px) / 2), calc(50vw - 20px));
    box-sizing: border-box;
    /* 统一的 2列 grid —— 理论学习和科学动态共享左列宽度 */
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 行间距 25px：让上下两行的竖线分开 */
    gap: 25px 0;
}

/* section-two-col 不再自己做 grid，让子 panel 直接参与父级 grid */
.module-group > .section-two-col {
    display: contents;
}

/* 第 1 列的 panel（理论学习、科学动态）加右边框 —— 两条独立的竖线 */
/* 注意：必须放在 .panel { border: none } 之后，否则会被覆盖 */
.panel {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-group > .panel:nth-child(odd) {
    border-right: 1px solid #e0e0e0;
}

/* 理论学习 */
.study-quote {
    margin: 14px 18px 8px;
    padding: 16px 25px 14px;
    background: #fdfaef;
    border: 1px solid #f2e8c9;
    border-radius: 4px;
    position: relative;
}

.study-quote::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 8px;
    font-size: 36px;
    color: #e8a33d;
    font-family: Georgia, serif;
    font-weight: bold;
    line-height: 1.2;
}

.study-quote::after {
    content: '\201D';
    position: absolute;
    bottom: -4px;
    right: 10px;
    font-size: 36px;
    color: #e8a33d;
    font-family: Georgia, serif;
    font-weight: bold;
    line-height: 1;
}

.study-quote .theoreticalTitle {
    font-size: 14px;
    font-weight: 700;
    color: #D32F2F;
    text-align: left;
    padding: 0 10px;
    margin-bottom: 0px;
    line-height: 1.6;
}

.study-quote .theoreticalContent {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    color: #333;
    line-height: 1.9;
    text-align: justify;
    padding: 0 6px;
    text-indent: 5px;
}

.study-quote p {
    padding-left: 16px;
    padding-right: 10px;
}

.study-list li:first-child {
    display: none;
}

.study-list {
    padding: 4px 18px 18px;
}

.study-list li {
    display: flex;
    align-items: center;
    padding: 7px 0;
    /*! border-bottom: 1px dashed #eee; */
    font-size: 13px;
}

.study-list li:last-child {
    border-bottom: none;
}

.study-list li::before {
    content: '•';
    color: #16b5b0;
    font-size: 18px;
    margin-right: 10px;
    line-height: 1;
}

.study-list li a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #444;
    transition: color 0.2s;
}

.study-list li a:hover {
    color: #0a8aa8;
}

.study-list .date {
    flex-shrink: 0;
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* 名师风采（通栏横版：一行四列） */
.module-group > .panel.panel-teacher {
    grid-column: 1 / -1;
    border-right: none;
}

.teacher-grid {
    flex: 1;
    padding: 14px 18px 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-content: stretch;
}

.teacher-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f9fbfc;
    border: 1px solid #e8f0f3;
    border-radius: 4px;
    transition: all 0.25s;
    cursor: pointer;
    height: 100%;
}

.teacher-card:hover {
    box-shadow: 0 3px 10px rgba(10, 138, 168, 0.12);
    transform: translateY(-2px);
    border-color: #0a8aa8;
}

.teacher-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #16b5b0;
    flex-shrink: 0;
    background: #ddd;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.teacher-info h4 {
    font-size: 14px;
    color: #0a8aa8;
    margin-bottom: 4px;
    font-weight: 600;
}

.teacher-info p {
    font-size: 11px;
    color: #888;
    line-height: 1.5;
}

/* ========== 科学动态 + 专题聚焦 ========== */
.section-two-col .simple-list {
    padding: 4px 18px 18px;
}

.simple-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    /*! border-bottom: 1px dashed #eee; */
    font-size: 13px;
}

.simple-list li:last-child {
    border-bottom: none;
}

.simple-list li::before {
    content: '◆';
    color: #16b5b0;
    font-size: 10px;
    margin-right: 10px;
    flex-shrink: 0;
}

.simple-list li a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #444;
    transition: color 0.2s;
}

.simple-list li a:hover {
    color: #0a8aa8;
}

.simple-list .date {
    flex-shrink: 0;
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* ========== Footer ========== */
.footer {
    background: #0a8aa8;
    color: #fff;
    padding: 28px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo img {
    height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text h3 {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: 1px;
}

.footer-logo-text .sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
}

.footer-info {
    text-align: start;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

.footer-info p {
    margin: 0;
}

.footer-bottom {
    background: #076a82;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
}

/* ========== 侧边箭头装饰 ========== */
.side-arrow {
    position: fixed;
    right: 15px;
    width: 24px;
    height: 24px;
    background: rgba(10, 138, 168, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    z-index: 999;
    border-radius: 2px;
    transition: background 0.2s;
}

.side-arrow:hover {
    background: rgba(10, 138, 168, 0.9);
}

.side-arrow.top {
    bottom: 80px;
}

.side-arrow.bottom {
    bottom: 50px;
}
.anotherVerticalLine {
	border-right: 1px solid #eee;
}