body,
html {
    height: auto;
    overflow: auto;
    background: #fdf6f6;
}

/* 头部横幅自定义样式 */
.custom-hero {
    margin-top: 100px;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.custom-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}

.custom-hero-content {
    position: absolute;
    left: 250px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    z-index: 2;
}

.custom-hero-content h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.custom-hero-content p {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.news-section {
    max-width: 1200px;
    /* margin: 0 auto; */
    padding: 40px 0 0 0;
}

.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.news-section-title {
    font-size: 22px;
    color: #d7262b;
    font-weight: bold;
    letter-spacing: 1px;
    margin-left: 4px;
}

.news-section-body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.news-main {
    width: 100%;
}

.news-cards {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s, border 0.2s;
    min-height: 320px;
    cursor: pointer;
}

.news-card:hover {
    /* box-shadow: 0 8px 32px rgba(215, 38, 43, 0.10); */
    border: 1px solid #e5e5e5;
}

.news-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

.news-card-content {
    flex: 1;
    padding: 20px 24px 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-desc {
    font-size: 15px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 0;
    min-height: 40px;
}

.news-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.news-card-date {
    font-size: 13px;
    color: #bbb;
}

.news-card-detail-btn {
    color: #d7262b;
    border: 1px solid #d7262b;
    border-radius: 4px;
    padding: 2px 16px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    margin-left: 12px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.news-card-detail-btn:hover {
    background: #d7262b;
    color: #fff;
}

.news-side {
    margin-top: 50px;
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-block {
    background: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); */
    border: 1px solid #f0f0f0;
    padding: 20px 18px;
    margin-bottom: 0;
}

.side-block-title {
    font-weight: 700;
    font-size: 18px;
    color: #000000;
    line-height: 28px;
    margin-bottom: 16px;
}

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-list li {
    font-weight: 500;
    font-size: 14px;
    color: #000000;
    line-height: 20px;
    margin-bottom: 14px;
    transition: color 0.2s;
}

.side-list li:last-child {
    margin-bottom: 0;
}

.side-list li a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.side-list li a:hover {
    color: #d7262b;
}

.quick-entries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quick-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fafbfc;
    border-radius: 8px;
    padding: 18px 10px 14px 10px;
    font-size: 15px;
    color: #333;
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03); */
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    min-height: 80px;
}

.quick-entry:hover {
    background: #fbeaec;
    color: #d7262b;
}

.quick-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.quick-entry span:last-child {
    font-size: 15px;
    margin-top: 2px;
}

.news-hero {
    width: 100%;
    min-width: 300px;
    /* 降低最小宽度，适应小屏幕 */
    height: 30vw;
    /* 使用视口宽度百分比定义高度，保持比例 */
    min-height: 200px;
    /* 确保在极小屏幕下有足够高度 */
    max-height: 400px;
    /* 限制在大屏幕上的最大高度 */
    margin: 0 auto 40px auto;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); */
    position: relative;
    /* 为遮罩层提供定位上下文 */
}

.news-hero-img {
    width: 100%;
    height: 100%;
    /* 填充容器高度 */
    object-fit: cover;
    object-position: top;
    display: block;
    /* 修正为块级元素 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-hero {
        height: 40vw;
        /* 在小屏幕上增加高度比例 */
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .news-hero {
        height: 50vw;
        min-height: 120px;
        border-radius: 8px 8px 0 0;
    }
}

@media (max-width: 700px) {
    .news-hero {
        margin-bottom: 18px;
        border-radius: 8px 8px 0 0;
    }

    .news-hero-img {
        height: 160px;
    }
}

@media (max-width: 1000px) {

    .news-section-body,
    .industry-section-body {
        flex-direction: column;
        gap: 0;
    }

    .news-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-side {
        width: 100%;
        flex-direction: row;
        gap: 16px;
        margin-top: 32px;
    }
}

@media (max-width: 700px) {
    .news-section {
        padding: 8px 0 0 0;
    }

    .news-section-header {
        margin-bottom: 12px;
    }

    .news-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card-content {
        padding: 12px 8px 8px 8px;
    }

    .news-side {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .side-block {
        padding: 12px 6px;
    }

    .quick-entries {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.industry-section {
    max-width: 1200px;
    margin: 56px  0  0;
    padding-bottom: 32px;
}

.industry-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.industry-section-title {
    font-size: 22px;
    color: #d7262b;
    font-weight: bold;
    letter-spacing: 1px;
}

.industry-more {
    font-size: 15px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.industry-more:hover {
    color: #d7262b;
}

.industry-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.industry-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 14px;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); */
    padding: 24px 32px;
    transition: box-shadow 0.2s, background 0.2s;
    border-bottom: 1px solid #f2f2f2;
    position: relative;
}

.industry-item:last-child {
    border-bottom: none;
}

.industry-item:hover {
    background: #f9f2f2;
    box-shadow: 0 8px 32px rgba(215, 38, 43, 0.10);
}

.industry-img {
    width: 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 28px;
    flex-shrink: 0;
    background: #eee;
}

.industry-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-title {
    font-size: 17px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
}

.industry-desc {
    font-size: 15px;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.7;
}

.industry-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.industry-date {
    font-size: 13px;
    color: #bbb;
}

.industry-detail-btn {
    color: #d7262b;
    border: 1px solid #d7262b;
    border-radius: 4px;
    padding: 2px 16px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    margin-left: 12px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.industry-detail-btn:hover {
    background: #d7262b;
    color: #fff;
}

@media (max-width: 1000px) {
    .industry-section {
        margin: 32px auto 0 auto;
        padding-bottom: 16px;
    }

    .industry-item {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 10px;
    }

    .industry-img {
        width: 100%;
        height: 140px;
        margin-right: 0;
        margin-bottom: 12px;
    }
}

@media (max-width: 700px) {
    .industry-section {
        margin: 18px auto 0 auto;
        padding-bottom: 8px;
    }

    .industry-section-header {
        margin-bottom: 10px;
    }

    .industry-item {
        padding: 10px 4px;
        border-radius: 8px;
    }

    .industry-img {
        height: 90px;
    }

    .industry-title {
        font-size: 15px;
    }

    .industry-desc {
        font-size: 13px;
    }
}

.hot-list .hot-date {
    font-size: 13px;
    color: #bbb;
    margin-top: 2px;
    margin-bottom: 8px;
    margin-left: 2px;
}

.hot-list li:last-child .hot-date {
    margin-bottom: 0;
}

.news-more {
    font-size: 15px;
    color: #888;
    text-decoration: none;
    float: right;
    margin-left: 18px;
    transition: color 0.2s;
}

.news-more:hover {
    color: #d7262b;
}

.news-page-body {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 32px;
    align-items: flex-start;
}

.news-main {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-side {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 1000px) {
    .news-page-body {
        flex-direction: column;
        gap: 0;
    }

    .news-side {
        width: 100%;
        flex-direction: row;
        gap: 16px;
        margin-top: 32px;
    }

    .news-main {
        width: 100%;
        gap: 24px;
    }
}