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

body {
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    background: #FFFBEB;
    color: #4A3728;
}

body.page-inner {
    background: #fff;
}

.top-tips {
    background: #f5f5f5;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.top-tips .container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.top-tips-text {
    text-align: right;
}

.top-tips-lang a {
    color: #666;
    text-decoration: none;
}

.top-tips-lang a:hover,
.top-tips-lang .lang-active {
    color: #D4AF37;
}

/* Header */
.header {
    /* background: linear-gradient(to right, #eba637 0%, #f2df29 50%, #eba637 100%); */
    background: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo-circle {
    width: auto;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: auto;
    height: 90px;
    object-fit: contain;
}

.logo-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.nav {
    display: none;
    align-items: center;
    gap: 4px;
    height: 100%;
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item a {
    padding: 8px 20px;
    font-size: 17px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.nav-item a:hover,
.nav-item a.active {
    background: #FBBF24;
}

.nav-item .nav-no-link {
    padding: 8px 20px;
    font-size: 17px;
    color: inherit;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    cursor: default;
}

.nav-item.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    border-top: 2px solid #FBBF24;
    min-width: 128px;
    padding: 8px 0;
    display: grid;
    gap: 0 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s;
    z-index: 10;
}

.dropdown a {
    padding: 8px 16px;
    font-size: 16px;
    color: inherit;
    white-space: nowrap;
    font-weight: 400;
}

.dropdown a:hover {
    background: #FFFBEB;
    color: #D4AF37;
}

/* Hero */
/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: auto;  /* 高度由内容决定 */
    min-height: auto;  /* 移除最小高度 */
    overflow: hidden;
    background: #D4AF37;
    border-radius: 0;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: auto;  /* 高度自适应 */
}

.hero-slide {
    position: relative;  /* 改为relative，不再绝对定位 */
    width: 100%;
    height: auto;  /* 高度自适应 */
    opacity: 0;
    transition: opacity 1s;
    pointer-events: none;
    display: none;  /* 默认隐藏 */
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    display: block;  /* 显示当前slide */
    position: relative;  /* 确保在文档流中 */
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: auto;  /* 高度自适应 */
    text-decoration: none;
    background-color: #D4AF37;
    position: relative;  /* 改为relative */
}

/* 图片样式 - 宽度100%，高度auto */
.hero-img {
    width: 100%;
    height: auto;  /* 高度自适应，保持原始比例 */
    display: block;  /* 去除图片底部的间隙 */
    object-fit: contain;  /* 确保图片完整显示 */
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;  /* 让遮罩层不阻挡点击 */
}

/* 标题内容样式 */
.hero-content {
    position: absolute;  /* 改为绝对定位，浮在图片上方 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.hero-content h1 {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    color: #4A3728;
    margin-bottom: 16px;
    text-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.hero-content p {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    color: #4A3728;
    max-width: 768px;
}

/* 轮播按钮 - 调整为相对于hero定位 */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 12px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    font-size: 45px;
    color: #4A3728;
    z-index: 10;
    transition: background 0.2s;
}

.hero-btn:hover {
    background: #fff;
}

.hero-btn.prev {
    left: 0px;
}

.hero-btn.next {
    right: 0px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 128px;
    background: linear-gradient(to top, #FFFBEB, transparent);
    pointer-events: none;
    z-index: 3;
}

/* Container */
.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 16px;
}

/* About */
.about {
    padding: 64px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    /* 移动端：标题在上 → 图片在中 → 正文在下（DOM 仍为图|文两列结构） */
    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .about-grid .about-text {
        display: contents;
    }

    .about-grid > .about-img-wrap {
        order: 2;
    }

    .about-grid .section-title {
        order: 1;
        margin-bottom: 0;
    }

    .about-text p {
        order: 3;
    }
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 8px solid #fff;
}

.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: #FFD700;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.about-badge .bold {
    font-weight: 700;
    font-size: 14px;
}

.about-badge p:last-child {
    font-size: 12px;
}

@media (max-width: 768px) {
    .about-badge {
        display: none;
    }
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    border-bottom: 4px solid #FFD700;
    padding-bottom: 8px;
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 16px;
    background: rgba(255, 215, 0, 0.2);
    z-index: -1;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 15px;
}

.about-text .highlight {
    font-weight: 700;
    color: #D4AF37;
}

.about-text .highlight a {
    color: #dc2626;
}

.about-text .highlight a:hover {
    text-decoration: underline;
}

/* Services */
.services {
    padding: 48px 0;
}
 
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.buyers-banner img{
    display: block;
    width:100%;
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card h3,
.news-block h3,
.section-title

{
    font-size: 24px;
    font-weight: 700;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: inline-block;
}

.card-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.card-img img {
    width: 100%;
}

.tech-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.tech-block {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4A3728;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.tech-block:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: #D4AF37;
}

@media (max-width: 768px) {
    .tech-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tech-block {
        font-size: 15px;
        font-weight: 400;
        padding: 12px 6px;
    }
}

/* 合作 / 赞助 logo 静态列表 */
.logolist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
}

.logolist li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.logolist img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* 移动端/平板竖屏：强制每行 2 个（flex 固定宽度，避免 auto-fill 仍排出 3 列） */
@media (max-width: 1023px) {
    .logolist {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .logolist li {
        flex: 0 0 calc((100% - 12px) / 2);
        max-width: calc((100% - 12px) / 2);
    }

    .logolist img {
        max-height: 64px;
    }
}

.service-card ul {
    list-style: none;
    margin-top: 16px;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.2s;
}

.service-card li:hover {
    color: #D4AF37;
}

.dot {
    width: 4px;
    height: 4px;
    background: #4A3728;
    border-radius: 50%;
    flex-shrink: 0;
}

/* News */
.news {
    padding: 48px 0;
}

/* 多个新闻栏目时纵向堆叠，整块占满宽度（避免单栏目只占半屏留白） */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.news-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .news-cards {
        grid-template-columns: 1fr;
    }
}

.news-card {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-card:hover .news-card-title {
    color: #D4AF37;
}

.news-card-img {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-date {
    font-size: 13px;
    color: #999;
}

/* Media */
.media {
    background: #fff;
    padding: 64px 0;
}

.media-title-wrap {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.media-title {
    background: #FFD700;
    padding: 12px 48px;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border: 2px solid #fff;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #4A3728;
    position: relative;
    z-index: 1;
}

.media-title-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 1px;
    background: #e5e7eb;
    z-index: 0;
}

.media-carousel {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.media-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #f3f4f6;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.media-btn:hover {
    background: #FFD700;
}


.media-logos-wrap {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

/* 轨道 - 使用flex布局，不换行（间距与 script.js 中 item 宽度计算一致） */
.media-logos-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    will-change: transform;
}

/* 每个item设置固定宽度（根据每页数量计算） */
.media-logo-item {
    flex: 0 0 calc((100% - (5 * 20px)) / 6);  /* 桌面端6列，间距20px */
    /* 或根据实际情况调整 */
}





/*.media-logos-wrap {*/
/*    flex: 1;*/
/*    overflow: hidden;*/
/*    padding: 0 16px;*/
/*}*/

/*.media-logos-track {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    transition: transform 0.5s ease;*/
/*}*/

/*.media-logo-item {*/
/*    flex: 0 0 calc(100% / 6);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    padding: 0 8px;*/
/*}*/

.media-logo-item img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* 移动端每屏 1 个：宽度由 script.js syncItemWidths 按 .media-logos-wrap 宽度写入 */
@media (max-width: 768px) {
    .media-logo-item {
        min-width: 0;
    }
}

/* Page (overview, etc.) */
.page-banner {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background: #fff;
}

.page-banner .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.page-content {
    padding: 48px 0;
}

.content-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.content-wrap h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FFD700;
}

.content-wrap h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.content-wrap p {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 12px;
}

.content-wrap ul {
    margin: 12px 0 24px 24px;
}

.content-wrap li {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 8px;
}

/* 正文：宽图单独横向滚动，文字段落不跟着滚（见 .entry-content-img-scroll / p:has / figure） */
.page-content .content-wrap {
    min-width: 0;
    max-width: 100%;
}

.entry-content {
    min-width: 0;
    max-width: 100%;
    overflow-x: visible;
}

.entry-content p:has(> img:only-child),
.entry-content figure,
.entry-content .entry-content-img-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    overscroll-behavior-x: contain;
}

.entry-content p:has(> img:only-child) img,
.entry-content figure img,
.entry-content .entry-content-img-scroll img {
    max-width: none;
    width: auto;
    height: auto;
    display: block;
}

@media (min-width: 1024px) {
    .entry-content p:has(> img:only-child) img,
    .entry-content figure img,
    .entry-content .entry-content-img-scroll img {
        display: inline;
    }
}

/* 未包 p 时的兜底：由 footer 内联脚本包一层 .entry-content-img-scroll */
.entry-content > img {
    max-width: 100%;
    height: auto;
}

.content-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #666;
}

.content-prev a,
.content-next a {
    color: #D4AF37;
    text-decoration: none;
}

.content-prev a:hover,
.content-next a:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.contact-block {
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.contact-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 12px;
}

.contact-block p {
    font-size: 15px;
    color: #374151;
    margin: 0;
}

.contact-block a {
    color: #D4AF37;
    text-decoration: none;
}

.contact-block a:hover {
    text-decoration: underline;
}

.contact-block-full {
    grid-column: 1 / -1;
}

/* Detail Page */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

.detail-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.detail-sidebar .sidebar-title {
    margin-bottom: 16px;
}

.detail-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
}

.detail-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.detail-body p {
    margin-bottom: 16px;
}

.detail-body p:last-of-type {
    margin-bottom: 0;
}

.detail-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
}

.detail-nav {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.detail-nav .content-nav {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-bottom: 16px;
}

.detail-back {
    font-size: 14px;
    color: #D4AF37;
    text-decoration: none;
}

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

/* News List Page */
.news-list-page {
    padding: 24px 0 48px;
}

.breadcrumb {
    font-size: 14px;
    color: #333;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #D4AF37;
}

.news-list-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

@media (max-width: 768px) {
    .news-list-layout {
        grid-template-columns: 1fr;
    }
}

.news-list-items {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

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

.news-list-item-img {
    flex-shrink: 0;
    width: 160px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.news-list-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-item-body {
    flex: 1;
    min-width: 0;
    position: relative;
}

.news-list-item-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-list-item-title a {
    color: #333;
    text-decoration: none;
}

.news-list-item-title a:hover {
    color: #D4AF37;
}

.news-list-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 2;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-detail-link {
    color: #dc2626;
    text-decoration: none;
}

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

.news-list-item-date {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 13px;
    color: #D4AF37;
    border:1px solid #D4AF37;
    padding: 4px 8px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
}

.page-num:hover,
.page-num.active {
    background: #D4AF37;
    color: #fff;
}

.page-next {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    margin-left: 8px;
}

.page-next:hover {
    color: #D4AF37;
}

.page-info {
    font-size: 13px;
    color: #999;
    margin-left: 16px;
}

.news-list-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: fit-content;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-left: 12px;
    border-left: 4px solid #D4AF37;
}

.sidebar-all {
    font-size: 14px;
    color: #999;
    text-decoration: none;
}

.sidebar-all:hover {
    color: #D4AF37;
}

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

.sidebar-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.sidebar-list li a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    padding-top: 15px;
    display: block;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-list li a:hover {
    color: #D4AF37;
}

.sidebar-date {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* Footer */
.footer {
    background: #f2f2f2;
    padding: 40px 0 24px;
    color: #555;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 32px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #D4AF37;
}

.footer-right {
    text-align: right;
}

.footer-phone-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.footer-phone-time {
    font-size: 12px;
    color: #999;
}

.footer-enroll {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
}

.footer-enroll:hover {
    color: #D4AF37;
}

.footer-contact {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.footer-contact-left {
    flex: 1;
}

.footer-contact-left p {
    margin: 0 0 6px;
}

.footer-contact-left p:last-child {
    margin-bottom: 0;
}

.footer-contact-right {
    flex-shrink: 0;
    text-align: right;
}

.footer-contact-right .footer-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact-right .footer-phone-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.footer-contact-right .footer-phone p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #666;
}

.footer-contact-right .footer-phone p:last-of-type {
    margin-bottom: 4px;
}

.footer-contact-right .footer-phone a {
    color: #666;
    text-decoration: none;
}

.footer-contact-right .footer-phone a:hover {
    color: #D4AF37;
}

.footer-contact-right .footer-phone-time {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.footer-mid {
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.footer-copy {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.footer-copy p {
    margin-bottom: 4px;
}

.footer-copy p:last-child {
    margin-bottom: 0;
}

.footer-copy a {
    color: #666;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #D4AF37;
}

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

.footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #D4AF37;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-contact {
        flex-direction: column;
    }

    .footer-contact-right {
        text-align: left;
    }

    .footer-contact-right .footer-phone {
        align-items: flex-start;
    }
}

/* ========== 首页新闻区 ==========
 * 旧版：.news-grid 两列 = 两个「栏目板块」左右各一。
 * 现在仅 1 个栏目时：.news-grid 必须单列占满，否则只占左列、右侧空白；
 * 「左一条、右一条」由内部 .news-cards 两列 grid 实现。
 */
section.news .news-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    width: 100%;
}

/* 仍有两个新闻栏目（两个 .news-block）时，大屏恢复左右两大板块 */
@media (min-width: 992px) {
    section.news .news-grid:has(> .news-block:nth-child(2)) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

section.news .news-block {
    width: 100%;
    min-width: 0;
}

section.news .news-grid .news-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    gap: 16px;
    width: 100%;
}

section.news .news-grid .news-cards > .news-card {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 768px) {
    section.news .news-grid .news-cards {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}