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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #FDF2E9;
    color: #3D3429;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #5C3A21;
    transition: all 0.3s;
}
a:hover {
    color: #C28A4A;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-family: 'Times New Roman', Times, serif;
    color: #5C3A21;
    font-weight: bold;
    margin-bottom: 8px;
}
.section-sub {
    text-align: center;
    color: #8A7E6F;
    font-size: 16px;
    margin-bottom: 30px;
}

.header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(194, 138, 74, 0.15);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    color: #5C3A21;
    letter-spacing: 2px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav ul li a {
    font-size: 15px;
    color: #5C3A21;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav ul li a:hover,
.nav ul li a.active {
    border-bottom-color: #C28A4A;
    color: #C28A4A;
}

.hero {
    background-color: #FDF2E9;
    padding: 50px 0 60px;
    position: relative;
}

.hero-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.hero-left {
    flex: 1;
}

.hero-right {
    width: 420px;
    flex-shrink: 0;
}

.hero-left h1 {
    font-size: 45px;
    font-family: 'Times New Roman', Times, serif;
    color: #000000;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 24px;
    color: #000000;
    display: inline-block;
    padding: px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.search-box {
    margin-bottom: 30px;
}
.search-box form {
    display: flex;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(92, 58, 33, 0.07);
    border: 1px solid rgba(194, 138, 74, 0.15);
    overflow: hidden;
}
.search-box input {
    flex: 1;
    border: none;
    padding: 18px 24px;
    font-size: 16px;
    background: transparent;
    outline: none;
    color: #3D3429;
}
.search-box input::placeholder {
    color: #b5a99a;
}
.search-box button {
    padding: 18px 32px;
    background: #5C3A21;
    color: #FDF2E9;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
    border-radius: 0 50px 50px 0;
}
.search-box button:hover {
    background: #C28A4A;
}

.feature-cards {
    display: flex;
    gap: 16px;
}

.feature-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    padding: 40px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(92, 58, 33, 0.05);
    border: 1px solid rgba(194, 138, 74, 0.15);
    transition: all 0.3s ease;
    min-height: 260px;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 58, 33, 0.08);
}

.feature-icon-wrapper {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(253, 242, 233, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon {
    width: px;
    height: 23px;
    color: #000000;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #494949;
    padding-right: 50px;
    margin-top: 40px;
    margin-bottom: 18px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card p {
    font-size: 14px;
    color: #787777;
    line-height: 1.8;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.feature-link {
    font-size: 13px;
    color: #5C3A21;
    font-weight: 600;
    border-bottom: 1px solid #C28A4A;
    padding-bottom: 1px;
}

.feature-link:hover {
    color: #C28A4A;
}

.stats-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(92, 58, 33, 0.06);
    border: 1px solid rgba(194, 138, 74, 0.15);
    margin-bottom: 20px;
}

.stats-card h3 {
    font-size: 24px;
    font-family: 'Times New Roman', Times, serif;
    color: #49494D;
    margin-bottom: 16px;
    font-weight: bold;
}

.stats-desc {
    font-size: 13px;
    color: #6A5E4F;
    margin-bottom: 16px;
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 12px;
}

.stat-box {
    flex: 1;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
}

.stat-primary {
    background-color: rgba(194, 138, 74, 0.15);
}

.stat-secondary {
    background-color: rgba(194, 138, 74, 0.10);
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #5C3A21;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #8A7E6F;
    margin-top: 4px;
}

.recommend-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(92, 58, 33, 0.06);
    border: 1px solid rgba(194, 138, 74, 0.15);
}

.recommend-section h3 {
    font-size: 24px;
    font-family: 'Times New Roman', Times, serif;
    color: #49494D;
    margin-bottom: 20px;
    font-weight: bold;
}

.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recommend-item {
    display: flex;
    flex-direction: column;
    padding: 14px;
    background: rgba(255, 234, 231, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.recommend-item:hover {
    background: #FDF2E9;
    border-color: rgba(194, 138, 74, 0.2);
}

.recommend-item:nth-child(3n+1) {
    background: #FFEAE7;
}

.recommend-item:nth-child(3n+2) {
    background: #F8EDF7;
}

.recommend-item:nth-child(3n) {
    background: #E9EEF9;
}

.recommend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.rec-tag {
    background: rgba(194, 138, 74, 0.15);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: #5C3A21;
}

.rec-tag.highlight {
    background: #C28A4A;
    color: #fff;
}
.rec-tag.price {
    background: #a57654;
    color: #fff;
}

.recommend-title {
    font-size: 14px;
    color: #000000;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-tuition {
    font-size: 12px;
    color: #8A7E6F;
}

.about {
    padding: 50px 0 40px;
    background: #FDF2E9;
}

.about .section-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.about-content {
    background: #FDF2E9;
    padding: 35px 0;
    border-radius: 14px;
}
.about-content p {
    color: #4A3F34;
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 14px;
}
.about-content p:last-child {
    margin-bottom: 0;
}

.regions {
    padding: 50px 0 60px;
    background: #FDF2E9;
}

.library-row {
    display: flex;
    gap: 60px;
}

.library-left {
    width: 320px;
    flex-shrink: 0;
    padding-top: 20px;
}

.library-label {
    font-size: 24px;
    color: #5C3A21;
    font-weight: 600;
    margin-bottom: 8px;
}

.library-left h3 {
    font-size: 32px;
    font-family: 'Times New Roman', Times, serif;
    color: #5C3A21;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 22px;
}

.library-link {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
    color: #5C3A21;
    font-weight: 600;
    margin-bottom: 16px;
}



.library-tip {
    font-size: 14px;
    color: #8A7E6F;
    line-height: 1.6;
}

.library-right {
    flex: 1;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.region-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 26px 20px;
    border: 1px solid rgba(194, 138, 74, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    justify-content: center;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5C3A21, #C28A4A, #5C3A21);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(92, 58, 33, 0.1);
    border-color: rgba(194, 138, 74, 0.2);
}

.region-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.region-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.region-name {
    font-size: 20px;
    color: #5C3A21;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.region-count-wrap {
    display: flex;
    align-items: baseline;
    gap: 3px;
    white-space: nowrap;
}

.region-count-num {
    font-size: 26px;
    font-weight: 800;
    color: #C28A4A;
    font-family: 'Times New Roman', 'Georgia', serif;
    line-height: 1.2;
}

.region-count-text {
    font-size: 12px;
    color: #8A7E6F;
    line-height: 1.2;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition: 0.3s;
    cursor: pointer;
}
.btn-primary {
    background: #5C3A21;
    color: #FDF2E9;
}
.btn-primary:hover {
    background: #C28A4A;
    color: #FDF2E9;
}

.footer {
    background: #F5E8DB;
    color: #5C3A21;
    padding: 32px 0 28px;
    margin-top: 10px;
}

.footer-links {
    text-align: center;
    margin-bottom: 12px;
}
.footer-links a {
    color: #8A7E6F;
    font-size: 16px;
}
.footer-links a:hover {
    color: #C28A4A;
}
.footer-links .divider {
    margin: 0 12px;
    color: rgba(194, 138, 74, 0.3);
}

.footer-copy {
    text-align: center;
    font-size: 13px;
    margin-bottom: 4px;
    color: #8A7E6F;
}
.footer-icp {
    text-align: center;
    font-size: 13px;
    color: rgba(138, 126, 111, 0.6);
}
.footer-info {
    font-size: 14px;
    color: #8A7E6F;
}
.footer-info a {
    color: #8A7E6F;
}
.footer-info a:hover {
    color: #C28A4A;
}

@media (max-width: 992px) {
    .hero-row {
        flex-direction: column;
    }
    .hero-right {
        width: 100%;
    }
    .feature-cards {
        flex-direction: column;
    }
    .hero-left h1 {
        font-size: 28px;
    }
    .hero-left h2 {
        font-size: 22px;
    }
    .library-row {
        flex-direction: column;
        gap: 30px;
    }
    .library-left {
        width: 100%;
        padding-top: 0;
    }
    .region-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
    }
    .search-box input {
        padding: 12px 16px;
        font-size: 14px;
    }
    .search-box button {
        padding: 12px 20px;
        font-size: 14px;
    }
    .nav ul {
        gap: 14px;
    }
    .nav ul li a {
        font-size: 13px;
    }
    .about-content {
        padding: 22px 20px;
    }
    .region-grid {
        grid-template-columns: 1fr;
    }
    .library-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .library-left h3 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero {
        padding: 30px 0 40px;
    }
    .hero-left h1 {
        font-size: 24px;
    }
    .hero-left h2 {
        font-size: 18px;
    }
}
/* ============================================================
   项目库列表页样式
   ============================================================ */

/* ---- 页面标题区 ---- */
.page-header {
    padding: 40px 0 30px;
    text-align: center;
    background: #FDF2E9;
}
.page-header h2 {
    font-size: 20px;
    color: #8A7E6F;
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    margin-bottom: 12px;
}
.page-header h1 {
    font-size: 32px;
    font-family: 'Times New Roman', Times, serif;
    color: #3D3429;
    font-weight: bold;
    margin-bottom: 24px;
}

/* ---- 页面搜索框 ---- */
.page-search {
    max-width: 700px;
    margin: 0 auto 20px;
}
.page-search form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    padding: 15px 15px 15px 20px;
    box-shadow: 0 5px 12px rgba(92, 58, 33, 0.05);
    border: 1px solid rgba(194, 138, 74, 0.1);
}
.page-search i {
    color: #b5a99a;
    font-size: 16px;
    margin-right: 10px;
}
.page-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #3D3429;
    outline: none;
}
.page-search input::placeholder {
    color: #b5a99a;
}
.page-search .search-clear {
    background: none;
    border: none;
    color: #b5a99a;
    font-size: 16px;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s;
}
.page-search .search-clear:hover {
    color: #5C3A21;
}

/* ---- 办学层次标签 ---- */
.degree-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}
.degree-label {
    font-size: 14px;
    color: #8A7E6F;
}
.degree-tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #5C3A21;
    background: #fff;
    border: 1px solid rgba(194, 138, 74, 0.15);
    text-decoration: none;
    transition: 0.2s;
}
.degree-tag:hover,
.degree-tag.active {
    background: #5C3A21;
    color: #FDF2E9;
    border-color: #5C3A21;
}

/* ---- 地区标签 ---- */
.region-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(194, 138, 74, 0.1);
}
.region-tag {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: #5C3A21;
    background: #fff;
    border: 1px solid rgba(194, 138, 74, 0.15);
    text-decoration: none;
    transition: 0.2s;
}
.region-tag:hover,
.region-tag.active {
    background: rgba(194, 138, 74, 0.1);
    border-color: rgba(194, 138, 74, 0.3);
}

/* ---- 主内容区 ---- */
.list-main {
    padding: 20px 0 40px;
    background: #FDF2E9;
}
.list-row {
    display: flex;
    gap: 30px;
}

/* ---- 左侧筛选栏 ---- */
.list-sidebar {
    width: 260px;
    flex-shrink: 0;
}
.sidebar-title {
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    color: #5C3A21;
    font-weight: bold;
    margin-bottom: 16px;
    text-align: left;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(194, 138, 74, 0.15);
}

.filter-panel {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(194, 138, 74, 0.1);
}

.filter-item {
    margin-bottom: 18px;
}
.filter-item:last-child {
    margin-bottom: 0;
}

.filter-item .filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #5C3A21;
    margin-bottom: 8px;
}

.filter-item .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-option {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    color: #6A5E4F;
    background: #fff;
    border: 1px solid rgba(194, 138, 74, 0.1);
    text-decoration: none;
    transition: 0.2s;
}
.filter-option:hover {
    background: #F5F0EA;
    color: #5C3A21;
}
.filter-option.active {
    background: #5C3A21;
    color: #FDF2E9;
    border-color: #5C3A21;
}

.filter-option {
    cursor: pointer;
}

.filter-item .loading {
    font-size: 12px;
    color: #999;
    padding: 4px 12px;
}

.filter-item .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
    font-size: 12px;
    color: #C28A4A;
    cursor: pointer;
    gap: 4px;
}

.filter-item .filter-toggle:hover {
    color: #5C3A21;
}

.filter-item .filter-toggle .toggle-arrow {
    font-size: 10px;
}

.course-direction-filter .filter-options {
    max-height: none;
    overflow: visible;
}

.filter-item.reset-item {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(194, 138, 74, 0.1);
}

.btn-reset {
    width: 100%;
    padding: 10px;
    background: #FDF2E9;
    border: 1px solid rgba(194, 138, 74, 0.3);
    border-radius: 8px;
    font-size: 13px;
    color: #5C3A21;
    cursor: pointer;
    transition: 0.2s;
}

.btn-reset:hover {
    background: #5C3A21;
    color: #FDF2E9;
    border-color: #5C3A21;
}

/* ---- 右侧项目列表 ---- */
.list-content {
    flex: 1;
}

/* ---- 结果统计 ---- */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 12px;
}
.result-count {
    font-size: 15px;
    color: #6A5E4F;
}
.result-count strong {
    color: #5C3A21;
    font-size: 18px;
}
.result-sort {
    display: flex;
    gap: 12px;
}
.result-sort a {
    font-size: 14px;
    color: #8A7E6F;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 16px;
    transition: 0.2s;
}
.result-sort a:hover {
    background: #F5F0EA;
}
.result-sort a.active {
    background: #5C3A21;
    color: #FDF2E9;
}

/* ---- 项目卡片列表 ---- */
.project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(92, 58, 33, 0.04);
    border: 1px solid rgba(194, 138, 74, 0.08);
    transition: 0.3s;
}
.project-card:hover {
    box-shadow: 0 6px 24px rgba(92, 58, 33, 0.08);
    transform: translateY(-2px);
}

.card-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #e8ddd0;
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    font-size: 16px;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #5C3A21;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}
.card-body h3 a {
    color: #5C3A21;
}
.card-body h3 a:hover {
    color: #C28A4A;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #8A7E6F;
    margin-bottom: 8px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.card-tag {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: #5C3A21;
    background: rgba(194, 138, 74, 0.1);
}
.card-tag.price {
    background: #a57654;
    color: #FDF2E9;
}

.card-desc {
    font-size: 13px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #6A5E4F !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    margin-bottom: 12px !important;
    max-height: 62px !important;
}
.card-desc * {
    font-size: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
    white-space: normal !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
}

.card-link {
    font-size: 13px;
    color: #5C3A21;
    font-weight: 600;
    text-decoration: none;
}
.card-link:hover {
    color: #C28A4A;
}

/* ---- 空结果 ---- */
.empty-result {
    grid-column: span 2;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
}
.empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
}
.empty-result h3 {
    font-size: 20px;
    color: #5C3A21;
    margin-bottom: 8px;
}
.empty-result p {
    color: #8A7E6F;
    margin-bottom: 20px;
}

/* ---- 加载更多 ---- */
.load-more {
    grid-column: span 2;
    text-align: center;
    padding: 28px 0 10px;
}
.btn-load {
    padding: 12px 40px;
    border-radius: 30px;
    border: 1px solid rgba(194, 138, 74, 0.2);
    background: #fff;
    color: #5C3A21;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}
.btn-load:hover {
    background: #5C3A21;
    color: #FDF2E9;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
    .list-row {
        flex-direction: column;
        gap: 20px;
    }
    .list-sidebar {
        width: 100%;
    }
    .project-list {
        grid-template-columns: 1fr;
    }
    .empty-result {
        grid-column: span 1;
    }
    .load-more {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 24px;
    }
    .region-tags {
        gap: 8px;
    }
    .region-tag {
        padding: 4px 14px;
        font-size: 13px;
    }
    .result-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .card-thumb {
        height: auto;
        width: 100%;
        object-fit: contain;
        display: block;
        background: none;
    }
}

/* ============================================================
   项目详情页样式
   ============================================================ */

/* ---- Banner区域 ---- */
.detail-banner {
    position: relative;
    height: 450px;
    overflow: hidden;
}
.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
}
.banner-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 24px;
    background: rgba(231, 231, 231, 0.7);
    padding: 40px 48px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    min-height: 250px;
}
.banner-logo {
    flex-shrink: 0;
}
.logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: #FDF2E9;
    padding: 8px;
}
.banner-info h1 {
    font-size: 26px;
    font-family: 'Times New Roman', Times, serif;
    color: #3D3429;
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.4;
}
.banner-info p {
    font-size: 14px;
    color: #8A7E6F;
    margin-bottom: 8px;
}
.cert-info {
    font-size: 13px;
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.region-tag {
    padding: 4px 12px;
    background: rgba(194, 138, 74, 0.1);
    border-radius: 16px;
    font-size: 12px;
    color: #5C3A21;
}
.banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.meta-tag {
    padding: 4px 12px;
    background: rgba(194, 138, 74, 0.1);
    border-radius: 16px;
    font-size: 12px;
    color: #5C3A21;
}
.course-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.course-tag {
    font-size: 13px;
    color: #5C3A21;
    padding: 4px 12px;
    background: rgba(194, 138, 74, 0.15);
    border-radius: 4px;
}

.school-tags {
    display: flex;
    gap: 8px;
}
.school-tag {
    padding: 4px 14px;
    background: #5C3A21;
    color: #FDF2E9;
    border-radius: 16px;
    font-size: 12px;
}

/* ---- 详情页通用区域 ---- */
.detail-section {
    padding: 36px 0;
    background: #FDF2E9;
}
.section-title {
    font-size: 24px;
    font-family: 'Times New Roman', Times, serif;
    color: #3D3429;
    font-weight: bold;
    margin-bottom: 24px;
}
.home-section-title {
    font-size: 32px;
}
.intro-content {
    font-size: 15px;
    color: #5C3A21;
    line-height: 1.8;
    text-align: justify;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

/* ---- 关键信息卡片 ---- */
.key-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.key-info-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.info-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #C28A4A 0%, #d4a05a 100%);
    border-radius: 8px;
    flex-shrink: 0;
}
.info-icon-wrap svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}
.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-label {
    font-size: 12px;
    color: #8A7E6F;
}
.info-value {
    font-size: 16px;
    font-weight: bold;
    color: #5C3A21;
}

/* ---- 左右布局 ---- */
.detail-row {
    display: flex;
    gap: 24px;
}
.detail-left {
    flex: 2;
}
.detail-right {
    flex: 1;
    flex-shrink: 0;
}

/* ---- 白色卡片 ---- */
.white-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(92, 58, 33, 0.04);
}
.card-title {
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    color: #3D3429;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(194, 138, 74, 0.15);
}
.card-section {
    margin-bottom: 20px;
}
.card-section:last-child {
    margin-bottom: 0;
}
.section-subtitle {
    font-size: 15px;
    font-weight: bold;
    color: #5C3A21;
    margin-bottom: 8px;
}
.section-content {
    font-size: 14px;
    color: #6A5E4F;
    line-height: 1.7;
}

.admission-content {
    font-size: 14px;
    color: #6A5E4F;
    line-height: 1.9;
    padding-top: 10px;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

.admission-content h4 {
    font-size: 15px;
    color: #5C3A21;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.admission-content h4:first-child {
    margin-top: 0;
}

.admission-content p {
    margin-bottom: 10px;
}

.admission-content ul, .admission-content ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.admission-content li {
    margin-bottom: 6px;
}

.admission-content strong {
    color: #5C3A21;
}

.school-intro {
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

.school-intro h4 {
    font-size: 15px;
    color: #5C3A21;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.school-intro h4:first-child {
    margin-top: 0;
}

.school-intro p {
    font-size: 14px;
    color: #6A5E4F;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* ---- 灰色卡片 ---- */
.gray-card {
    background: #4A4A4A;
    border-radius: 12px;
    padding: 24px;
    color: #fff;
}
.gray-card .card-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.info-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.info-row:last-child {
    border-bottom: none;
}
.info-row .info-icon {
    font-size: 16px;
    margin-right: 10px;
    flex-shrink: 0;
}
.info-row .info-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 80px;
}
.info-row .info-text {
    font-size: 13px;
    color: #fff;
    flex: 1;
}

/* ---- 橙色咨询表单卡片 ---- */
.orange-card {
    background: #F9B57C;
    border-radius: 12px;
    padding: 24px;
}
.orange-card .card-title {
    color: #5C3A21;
    border-bottom-color: rgba(92, 58, 33, 0.1);
}
.consult-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #3D3429;
}
.form-input::placeholder {
    color: #A09488;
}
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #3D3429;
    resize: vertical;
    min-height: 100px;
}
.form-textarea::placeholder {
    color: #A09488;
}
.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background: #E67E22;
    cursor: pointer;
    transition: 0.3s;
}
.submit-btn:hover {
    background: #D35400;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
    .banner-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .banner-info h1 {
        font-size: 22px;
    }
    .key-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .detail-row {
        flex-direction: column;
    }
    .detail-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .detail-banner {
        height: 300px;
    }
    .key-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .key-info-grid {
        grid-template-columns: 1fr;
    }
}

.footer {
    margin-top: auto;
    flex-shrink: 0;
}