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

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-image: url('../img/hicetea2.png') ;
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: #F8F7F5;
    padding-top: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #fff;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #333;
}

.university-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.info-row {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 80px;
    height: 80px;
    background: #ddd;
}

.qr-code p {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Campus Image Section */
.campus-section {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    align-items: stretch;
    background-color: #fff;
}

.campus-swiper {
    width: 513px;
    height: 288px;
    border-radius: 10px;
    overflow: hidden;
}

.campus-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;
}

.campus-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campus-swiper .swiper-pagination {
    bottom: 10px;
}

.campus-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.campus-swiper .swiper-pagination-bullet-active {
    background: #28b485;
    opacity: 1;
}

.campus-swiper .swiper-button-prev,
.campus-swiper .swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.campus-swiper .swiper-button-prev:after,
.campus-swiper .swiper-button-next:after {
    font-size: 16px;
}

.campus-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-tags {
    display: flex;
    align-items: center;
    gap: 5px;
}

.extra-info {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.extra-info p {
    margin: 0;
}

.extra-info a {
    color: #28b485;
    text-decoration: none;
    margin-left: 10px;
}

.info-tag {
    width: 166px;
    height: 101px;
    background: #f5f5f5;
    padding: 5px 0;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-tag.highlight {
    background: #C8E4CF;
}

.info-tag strong {
    width: 100%;
    height: 50px;
            display: block;
            line-height: 50px;
            text-align: center;
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

.info-tag.highlight * {
    color: #28b485;
}

.info-tag-value {
    font-size: 14px;
    color: #666;
}

.info-tag span {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-top: 1px solid #fff;
}

.info-tag a {
    color: #28b485;
    text-decoration: none;
    font-size: 13px;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #28b485;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    background: none;
    font-weight: bold;
}

.tab.active {
    background: #28b485;
    color: white;
    border-bottom: 3px solid #28b485;
}

/* Content */
.breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.content-header {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    /* border-bottom: 2px solid #e0e0e0; */
    padding-bottom: 10px;
}

.content-header h2 {
    font-size: 18px;
    color: #28b485;
    position: relative;
    padding-bottom: 10px;
    cursor: pointer;
}

.content-header h2.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #28b485;
}

.content-header h3 {
    font-size: 18px;
    color: #666;
    font-weight: normal;
    padding-bottom: 10px;
    cursor: pointer;
}

/* Filters */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.filter-select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #999;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #28b485;
    color: white;
}

.btn-secondary {
    background: white;
    color: #28b485;
    border: 1px solid #28b485;
}

/* Table */
.table-container {
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

th {
    background: #f5f5f5;
    font-weight: bold;
}

tr:nth-child(even) {
    background: #fafafa;
}

.nestedheader {
    background: white;
    background-color: #fff;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination button,
.pagination span {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 13px;
}

.pagination button:hover {
    background: #f5f5f5;
}

.pagination .active {
    background: #28b485;
    color: white;
    border-color: #28b485;
}

/* Footer */
.footer {
    margin-top: 50px;
    padding-top: 30px;
    background-color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 265px;
    height: auto;
    margin-right: 150px;
}

.footer-info {
    font-size: 13px;
    color: #999;
    line-height: 2;
}

.footer-info img {
    vertical-align: middle;
    width: 15px;
    height: auto;
}

.footer-qr-codes {
    display: flex;
    gap: 20px;
}

.footer-qr {
    text-align: center;
}

.footer-qr img {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}

.footer-qr p {
    font-size: 12px;
    color: #999;
}

.footer-bottom {
    text-align: center;
    /* margin-top: 30px; */
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #333;
}

/* Article */
.article {
    background: #fff;
    padding: 40px 60px;
    border-radius: 10px;
    margin-bottom: 30px;
    min-height: 400px;
}

.article-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.article-date {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-bottom: 40px;
}

.article-content {
    font-size: 15px;
    line-height: 2;
    color: #666;
    text-align: justify;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 招生简章列表 */
.content-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.article-list {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s;
}

.article-item:hover {
    background: #f9f9f9;
    padding-left: 10px;
}

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

.article-item-title {
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
}

.article-item-title::before {
    content: '·';
    font-size: 20px;
    margin-right: 10px;
    color: #999;
}

.article-item-date {
    font-size: 14px;
    color: #ccc;
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-title::after {
    content: '>';
    color: #999;
    font-size: 16px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
}

.sidebar-list li:hover {
    color: #28b485;
    padding-left: 5px;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li::before {
    content: none;
}

.sidebar-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.sidebar-list a:hover {
    color: #28b485;
}

/* 分页样式优化 */
.pagination-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* 招生计划页面 */
.plan-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.plan-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
}

.filter-input::placeholder {
    color: #999;
}

.plan-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.plan-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
}

.plan-table th,
.plan-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 13px;
}

.plan-table th {
    background: #f8f8f8;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.plan-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.plan-table tbody tr:hover {
    background: #f0f8f5;
}

.major-link {
    color: #1890ff;
    text-decoration: none;
}

.major-link:hover {
    text-decoration: underline;
}

.detail-link {
    color: #1890ff;
    text-decoration: none;
    font-size: 12px;
}

.detail-link:hover {
    text-decoration: underline;
}

/* 学校概况页面 */
.overview-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.overview-main {
    flex: 1;
}

.overview-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.section-content {
    color: #666;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.more-link {
    color: #28b485;
    text-decoration: none;
    margin-left: 10px;
}

.more-link:hover {
    text-decoration: underline;
}

/* 院校简介文本 */
.intro-text {
    margin-bottom: 20px;
}

.intro-text p {
    margin-bottom: 8px;
    text-indent: 0;
    line-height: 1.8;
    margin: 0;
}

/* 简介内容文本限制 - 限制为4行，超出部分显示省略号 */
.intro-content {
    margin: 0 0 8px 0;
    text-indent: 0;
    line-height: 1.8;
    word-break: break-word;
    /* 备用CSS方案（某些浏览器可能不支持JS） */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 统计数据卡片布局 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-card {
    background: #f8f8f8;
    padding: 20px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon-card {
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon-card.orange {
    color: #ff9800;
}

.stat-icon-card.blue {
    color: #2196f3;
}

.stat-icon-card.red {
    color: #f44336;
}

.stat-icon-card.yellow {
    color: #ffc107;
}

.stat-label {
    font-size: 14px;
    color: #666;
    flex: 1;
}

.stat-number {
    font-size: 14px;
    font-weight: bold;
}

.stat-number.green {
    color: #28b485;
}

/* 招生政策 */
.policy-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    /* 确保列容器不会超出父容器 */
    width: 100%;
    min-width: 0;
}

.policy-column {
    /* 防止列内容溢出 */
    min-width: 0;
    overflow: hidden;
}

.policy-column h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    /* 标题文本截断处理 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.policy-list {
    list-style: none;
}

.policy-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    padding-left: 15px;
    /* 防止列表项溢出 */
    min-width: 0;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    flex-shrink: 0;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* 确保链接不会超出容器 */
    max-width: 100%;
    word-break: break-word;
}

.policy-list a:hover {
    color: #28b485;
}

/* 响应式设计 - 平板设备 */
@media (max-width: 768px) {
    .policy-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 480px) {
    .policy-column h3 {
        font-size: 14px;
    }

    .policy-list a {
        font-size: 13px;
    }
}

/* 院系设置表格 */
.department-table {
    width: 100%;
    border-collapse: collapse;
}

.department-table th,
.department-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.department-table th {
    background: #f8f8f8;
    font-weight: bold;
    color: #333;
}

.department-table tbody tr:hover {
    background: #f9f9f9;
}

/* 右侧边栏 */
.overview-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.card-header h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.more-arrow {
    color: #999;
    text-decoration: none;
    font-size: 18px;
}

.more-arrow:hover {
    color: #28b485;
}

/* 留言板 - 问答形式 */
.qa-list {
    margin-bottom: 15px;
}

.qa-item {
    margin-bottom: 15px;
}

.qa-item:last-child {
    margin-bottom: 0;
}

/* 问答项链接样式 */
.qa-item a {
    text-decoration: none !important;
    display: block;
    transition: all 0.3s;
    color: inherit;
}

.qa-item a:hover {
    background: #f9f9f9;
    padding: 5px;
    border-radius: 4px;
    text-decoration: none !important;
}

.question,
.answer {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    gap: 8px;
}

.question {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.answer {
    padding-top: 10px;
}

.qa-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.q-icon {
    background: #28b485;
}

.a-icon {
    background: #ff9800;
}

/* 问答内容文本 */
.qa-content {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    flex: 1;
    text-decoration: none !important;
    /* 文本截断处理 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-word;
}

.btn-message {
    width: 100%;
    padding: 10px;
    background: #28b485;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
    margin-top: 10px;
}

.btn-message:hover {
    background: #229b73;
}

/* 优势学科分类 */
.subject-category {
    padding-top: 5px;
}

.subject-category h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
    padding-left: 12px;
    line-height: 1.4;
}

.subject-category h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    background: #28b485;
    border-radius: 2px;
}

/* 标签容器 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tags-container:last-child {
    margin-bottom: 0;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f5f7fa;
    color: #555;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #edf0f5;
}

.tag:hover {
    color: #fff;
    background: #28b485;
    border-color: #28b485;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(40, 180, 133, 0.15);
}

/* 工具箱 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.tool-item:hover {
    transform: translateY(-2px);
}

.tool-item:hover .tool-name {
    color: #28b485;
}

.tool-icon {
    font-size: 24px;
}

.tool-name {
    font-size: 12px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}
