/* 基础样式 */
.major-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 图标样式 */
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* 调整图标间距 */
.section-title .icon,
.card-header .icon,
.fact-icon .icon,
.direction-info .icon,
.faq-question .icon:first-child,
.copyright-notice .icon {
    margin-right: 10px;
}

.school-link-button .icon {
    margin-left: 5px;
}

/* 专业头部区域 */
.major-hero-section {
    position: relative;
    margin-bottom: 30px;
    margin-top: 90px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.mdc-layout-grid__inner{ padding:15px}

.hero-background {
    height: 200px;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background img {
    max-width: 100%;
    height: auto;
}

.major-essential-info {
    background: white;
    padding: 25px;
    position: relative;
    margin-top: -50px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.major-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background: #e6f7ff;
    color: #1890ff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.major-title-container {
    margin-bottom: 20px;
}

.major-title {
    font-size: 28px;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.direction-info {
    color: #666;
    font-size: 15px;
}

.direction-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.direction-info .icon {
    margin-right: 8px;
    color: #1890ff;
}

/* 快速事实区域 */
.quick-facts-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fact-icon {
    width: 50px;
    height: 50px;
    background: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-icon .icon {
    font-size: 24px;
    color: #1890ff;
}

.fact-content h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #666;
}

.fact-content p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

/* 专业开设院校 */
.schools-offering-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.school-card {
    background: #fafafa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.school-name {
    margin: 0 0 10px;
    font-size: 18px;
}

.school-name a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.school-name a:hover {
    color: #1890ff;
}

.school-excerpt {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px;
}

.school-link-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: #1890ff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.school-link-button:hover {
    background: #096dd9;
}

/* 专业详情内容 */
.major-detail-content {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.major-explanation {
    margin-top: 20px;
}

/* 标签页样式 */
.article-tabs {
    margin-top: 20px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 15px;
    color: #666;
    transition: all 0.3s;
}

.tab-button.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
    font-weight: 500;
}

.tab-button:hover:not(.active) {
    color: #1a1a1a;
}

.tabs-content {
    margin-top: 15px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 两列布局（7:3比例） */
.two-column-section {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .two-column-section {
        grid-template-columns: 1fr;
    }
}

/* 单招历年试卷列 */
.exam-papers-column {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exam-papers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.exam-paper-item {
    transition: all 0.3s;
}

.exam-paper-item:hover {
    transform: translateY(-3px);
}

.exam-paper-thumbnail {
    height: 160px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
}

.exam-paper-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.exam-paper-item:hover .exam-paper-thumbnail img {
    transform: scale(1.05);
}

.exam-paper-title {
    margin: 0;
    font-size: 16px;
    text-align: center;
}

.exam-paper-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.exam-paper-item:hover .exam-paper-title a {
    color: #1890ff;
}

/* 相关专业列 */
.related-majors-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
}

/* 相关专业列表 */
.related-majors-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-majors-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.related-majors-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-majors-list a:hover {
    color: #1890ff;
}

/* 二维码区域 */
.qr-code-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-code-content img {
    width: 140px;
    height: 140px;
    margin-bottom: 10px;
}

.qr-code-text p {
    margin: 5px 0;
    color: #666;
}

/* 广告位 */
.sidebar-ad {
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-ad img {
    width: 100%;
    height: auto;
    display: block;
}

/* 常见问题 */
.faq-section {
    margin-top: 40px;
}

.faq-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.faq-items {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
}

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

.faq-question {
    padding: 15px;
    background: #fafafa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}

.faq-question .toggle-icon {
    transition: transform 0.3s;
}

.faq-question.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-answer.show {
    padding: 15px;
    max-height: 1000px;
}

/* 版权声明 */
.copyright-notice {
    margin-top: 30px;
    padding: 15px;
    background: #fffbe6;
    border-left: 3px solid #ffe58f;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

/* 面包屑导航样式 */
.breadcrumb-container {
    padding: 0 0 15px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumb-nav {
    padding: 0 15px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #adb5bd;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 10px 0;
    }
    
    .breadcrumb-list {
        font-size: 13px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 8px;
    }
}