/* ===================== 弈马主题 - 主题样式 ===================== */
/* 弈马咨询主题样式 */

/* ===================== CSS 变量 ===================== */
:root {
    --ym-primary: #cb0c0c;
    --ym-bg-dark: #000000;
    --ym-bg-light: #e5e5e5;
    --ym-bg-footer: #262626;
    --ym-text: #333333;
    --ym-text-secondary: #666666;
    --ym-text-light: #999999;
    --ym-border: #d2d2d2;
    --ym-content-width: 1200px;
    --ym-font-main: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --ym-font-en: 'Arial', 'Helvetica', sans-serif;
}

/* ===================== 全局重置 ===================== */
* { box-sizing: border-box; }

body {
    font-family: var(--ym-font-main);
    color: var(--ym-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { color: var(--ym-primary); }
img { max-width: 100%; height: auto; border: none; padding: 0; margin: 0; display: block; }
ul, li { list-style: none; margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }

/* ===================== 容器 ===================== */
.ym-container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ym-content {
    width: 1200px;
    margin: 0 auto;
}

/* ===================== 顶部栏 ===================== */
.ym-top-bar {
    background: #fff;
    border-bottom: 1px solid var(--ym-border);
    padding: 10px 0;
}

.ym-top-bar .ym-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Logo */
.ym-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--ym-text);
}

.ym-logo img {
    height: 40px;
    margin-right: 10px;
}

/* 搜索框 */
.ym-search {
    flex: 1;
    max-width: 300px;
    display: flex;
}

.ym-search input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--ym-border);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.ym-search button {
    padding: 8px 16px;
    background: var(--ym-primary);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}

.ym-search button:hover { background: #a90a0a; }

/* 联系信息 */
.ym-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.ym-contact .phone {
    color: var(--ym-primary);
    font-weight: bold;
}

/* 快捷链接 */
.ym-quick-links {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.ym-quick-links a {
    padding: 5px 12px;
    border: 1px solid var(--ym-primary);
    color: var(--ym-primary);
    border-radius: 4px;
}

.ym-quick-links a:hover {
    background: var(--ym-primary);
    color: #fff;
}

/* ===================== 导航栏 ===================== */
.ym-nav-bar {
    background: var(--ym-bg-dark);
    color: #fff;
}

.ym-nav-bar .ym-container {
    display: flex;
    align-items: center;
}

.ym-main-nav {
    display: flex;
    flex: 1;
}

.ym-main-nav > li {
    position: relative;
}

.ym-main-nav > li > a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    color: #fff;
}

.ym-main-nav > li > a:hover,
.ym-main-nav > li.current-menu-item > a,
.ym-main-nav > li.current-page-item > a {
    background: var(--ym-primary);
}

/* 下拉菜单 */
.ym-main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

.ym-main-nav > li:hover > .sub-menu {
    display: block;
}

.ym-main-nav .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--ym-text);
    border-bottom: 1px solid var(--ym-border);
}

.ym-main-nav .sub-menu li a:hover {
    background: var(--ym-bg-light);
    color: var(--ym-primary);
}

/* 宽下拉菜单 */
.ym-main-nav .sub-menu.mega-menu {
    min-width: var(--ym-content-width);
    left: 0;
    padding: 20px;
}

.ym-main-nav .sub-menu.mega-menu .ym-container {
    padding: 0;
}

.ym-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ym-mega-item h4 {
    color: var(--ym-primary);
    margin: 0 0 10px;
    font-size: 15px;
}

.ym-mega-item a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: var(--ym-text);
}

.ym-mega-item a:hover {
    color: var(--ym-primary);
}

/* ===================== 移动端菜单按钮 ===================== */
.ym-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.ym-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
    .ym-banner-inner {
        flex-direction: column;
        height: auto;
        padding: 40px 0;
    }
    .ym-banner-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 30px;
    }
    .ym-banner-image {
        width: 100%;
        height: auto;
        max-width: 500px;
    }
    .ym-banner-title {
        font-size: 32px;
    }
    .ym-banner-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .ym-banner-inner {
        padding: 30px 0;
    }
    .ym-banner-title {
        font-size: 28px;
    }
    .ym-banner-desc {
        font-size: 14px;
    }
}

/* ===================== 响应式 - 顶部栏 ===================== */
@media (max-width: 1024px) {
    .ym-top-bar .ym-search { display: none; }
    .ym-contact { font-size: 12px; }
    .ym-quick-links { display: none; }
}

@media (max-width: 768px) {
    .ym-top-bar { padding: 8px 0; }
    .ym-logo { font-size: 18px; }
    .ym-logo img { height: 30px; }
    .ym-contact { display: none; }

    /* 移动端导航 */
    .ym-mobile-toggle { display: flex; }

    .ym-main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--ym-bg-dark);
        max-height: 80vh;
        overflow-y: auto;
    }

    .ym-main-nav.active { display: flex; }

    .ym-main-nav > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .ym-main-nav .sub-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .ym-main-nav .sub-menu.show {
        max-height: 500px;
    }

    .ym-main-nav .sub-menu.mega-menu {
        min-width: 100%;
        transform: none;
        left: 0;
        padding: 10px;
    }

    .ym-mega-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ===================== 页脚 ===================== */
.ym-footer {
    background: var(--ym-bg-footer);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}

.ym-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
}

.ym-footer h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ym-primary);
}

.ym-footer p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 10px;
}

.ym-footer ul li {
    margin-bottom: 8px;
}

.ym-footer ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.ym-footer ul li a:hover {
    color: #fff;
}

.ym-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .ym-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* ===================== 首页区域样式 ===================== */

/* 区域标题样式 */
.ym-section-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 30px;
    font-weight: bold;
    color: #333333;
    margin: 0 0 8px 0;
}

.ym-section-title-white {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 30px;
    font-weight: bold;
    color: #ffffff;
}

.ym-section-desc {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    max-width: 660px;
    margin: 0 auto;
}

.ym-section-desc-white {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #999999;
    line-height: 1.8;
    width: 660px;
}

.ym-more-link {
    color: #333333;
    font-size: 14px;
}

.ym-more-link:hover {
    color: #212c67;
}

.ym-more-link-gray {
    color: #999999;
    font-size: 14px;
}

.ym-more-link-gray:hover {
    color: #ffffff;
}

/* 区域标题容器 */
.ym-section-header {
    padding-top: 42px;
    text-align: center;
}

/* 区域1：Banner 样式 */
.ym-banner-wrapper {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5364 50%, #1e3a5f 100%);
    overflow: hidden;
}

.ym-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ym-banner-bg-1 {
    background-image: url('../images/banner-bg-1.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 600px 532px;
    opacity: 0.6;
}

.ym-banner-bg-2 {
    background-image: url('../images/banner-bg-2.svg');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
    opacity: 0.4;
}

.ym-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 532px;
    position: relative;
    z-index: 3;
}

.ym-banner-content {
    flex: 1;
    padding-right: 40px;
}

.ym-banner-image {
    flex-shrink: 0;
    width: 600px;
    height: 532px;
}

.ym-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ym-banner-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 14px;
}

.ym-banner-desc {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.8;
    max-width: 570px;
}

/* ===================== 区域2：功能咨询卡片布局（重构版） ===================== */
.ym-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin-top: 34px;
}

.ym-service-card {
    width: calc(20% - 20px);
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ym-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 44, 103, 0.1);
    border-color: #212c67;
}

.ym-service-card-inner {
    padding: 15px 15px 20px;
    height: 274px;
    display: flex;
    flex-direction: column;
}

.ym-service-icon {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.ym-service-icon img {
    width: 100%;
    height: auto;
    max-width: 200px;
    display: block;
}

.ym-service-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.ym-service-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ym-service-title a:hover {
    color: #212c67;
}

.ym-service-desc {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}


/* 区域3：数据展示 flex布局 */
.ym-stats-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 328px;
    padding: 60px 0;
    background: transparent;
    box-sizing: border-box;
}
.ym-stats-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 40px;
}
.ym-stat-item {
    text-align: center;
    flex: 1;
}
.ym-stat-item .ym-stat-number {
    display: block;
    color: #cb0c0c;
}
.ym-stat-item .ym-stat-text {
    display: block;
    margin-top: 8px;
}
/* 区域3：数据展示样式 */
.ym-stat-number {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 60px;
    font-weight: bold;
    color: #cb0c0c;
}

.ym-stat-text {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin-left: 8px;
}

/* 区域4：解决方案布局 */
.ym-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ym-solution-item {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ym-solution-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.ym-solution-thumb {
    width: 100%;
    aspect-ratio: 374 / 272;
    background: linear-gradient(135deg, #27347d, #212c67);
    overflow: hidden;
}

.ym-solution-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ym-solution-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.ym-solution-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #212c67;
    text-decoration: none;
    line-height: 1.5;
}

.ym-solution-item:hover .ym-solution-title {
    color: #e42c64;
}

/* 区域5：行业方案 */
.ym-industry-section {
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23212c67' stroke-width='0.5' stroke-opacity='0.06' fill='none'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    padding: 50px 0 40px;
    margin-top: 30px;
}

.ym-industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ym-industry-card {
    background: #ffffff;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    padding: 24px 20px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ym-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ym-industry-icon {
    margin-bottom: 14px;
}

.ym-industry-icon img {
    width: 60px;
    height: 60px;
}

.ym-industry-main {
    display: block;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #212c67;
}

.ym-industry-main:hover {
    color: #212c67;
}

.ym-industry-children {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
}

.ym-industry-sub {
    display: block;
    width: 100%;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    line-height: 1.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ym-industry-sub:hover {
    color: #e42c64;
}

.ym-industry-more {
    display: block;
    width: 100%;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #999;
    text-decoration: none;
    line-height: 1.8;
}

.ym-industry-more:hover {
    color: #212c67;
}

@media (max-width: 1024px) {
    .ym-industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ym-industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ym-industry-section {
        padding: 30px 0 24px;
    }
}

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

/* ===================== 区域6：经典案例轮播 ===================== */
.ym-cases-section {
    background: #f5f5f5;
    padding: 50px 0 40px;
}

.ym-cases-carousel-wrapper {
    position: relative;
    margin-top: 30px;
}

.ym-cases-viewport {
    overflow: hidden;
    position: relative;
}

.ym-cases-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ym-cases-track li {
    flex: 0 0 auto;
}

.ym-case-item {
    display: flex;
    flex-direction: column;
    width: 288px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ym-case-item:hover {
    transform: translateY(-4px);
}

.ym-case-thumb {
    width: 288px;
    height: 208px;
    background: linear-gradient(135deg, #27347d, #212c67);
    border-radius: 6px;
    overflow: hidden;
}

.ym-case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ym-case-info {
    padding: 12px 0;
}

.ym-case-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    line-height: 1.5;
}

.ym-case-summary {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    margin-top: 6px;
}

.ym-cases-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #d2d2d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.ym-cases-arrow:hover {
    background: #212c67;
    border-color: #212c67;
}

.ym-cases-arrow:hover svg {
    stroke: #ffffff;
}

.ym-cases-prev {
    left: -22px;
}

.ym-cases-next {
    right: -22px;
}

.ym-cases-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.ym-cases-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d2d2d2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ym-cases-indicator:hover {
    background: #212c67;
}

.ym-cases-indicator.active {
    background: #212c67;
}

/* ===================== 区域7：资讯动态 ===================== */
.ym-news-section {
    background: linear-gradient(135deg, #212c67, #27347d);
    padding: 50px 0;
}

.ym-news-header {
    text-align: center;
}

.ym-section-desc-white {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 660px;
    margin: 8px auto 0;
}

.ym-more-link-white {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.ym-more-link-white:hover {
    color: #ffffff;
}

.ym-news-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* 左侧：推荐阅读 */
.ym-news-featured {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ym-news-featured .ym-news-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* 右侧：最新资讯 */
.ym-news-latest {
    flex: 1;
}

.ym-news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.ym-news-date-block {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    background: #e42c64;
    border-radius: 4px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ym-news-day {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
}

.ym-news-month {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

.ym-news-content {
    flex: 1;
    min-width: 0;
}

.ym-news-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.ym-news-title:hover {
    color: rgba(255, 255, 255, 0.8);
}

.ym-news-summary {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-top: 8px;
    margin-bottom: 0;
}

/* ===================== 区域6/7 响应式 ===================== */
@media (max-width: 1024px) {
    .ym-cases-prev,
    .ym-cases-next {
        display: none;
    }

    .ym-news-layout {
        flex-direction: column;
        gap: 30px;
    }

    .ym-news-featured {
        flex: none;
        width: 100%;
    }

    .ym-news-date-block {
        width: 50px;
    }

    .ym-news-day {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .ym-cases-section {
        padding: 30px 0 24px;
    }

    .ym-news-section {
        padding: 30px 0;
    }

    .ym-case-item {
        width: 260px;
    }

    .ym-case-thumb {
        width: 260px;
        height: 188px;
    }

    .ym-news-item {
        flex-direction: column;
        gap: 12px;
    }

    .ym-news-date-block {
        width: 100%;
        flex-direction: row;
        gap: 8px;
        padding: 8px 12px;
    }

    .ym-news-day {
        font-size: 20px;
    }

    .ym-news-month {
        margin-top: 0;
        font-size: 13px;
    }
}

/* ===================== 响应式适配 ===================== */
@media (min-width: 1200px) {
    /* 桌面端：5列布局 */
    .ym-services-grid .ym-service-card {
        width: calc(20% - 20px);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    /* 平板端：3列布局 */
    .ym-services-grid {
        justify-content: center;
    }
    .ym-services-grid .ym-service-card {
        width: calc(33.333% - 9px);
    }
}

@media (max-width: 767px) {
    /* 移动端：2列布局 */
    .ym-services-grid {
        gap: 10px;
    }
    .ym-services-grid .ym-service-card {
        width: calc(50% - 5px);
    }
    .ym-service-card-inner {
        padding: 12px 10px 15px;
        height: auto;
        min-height: 240px;
    }
    .ym-service-icon {
        height: 100px;
    }
}

@media (max-width: 1200px) {
    .ym-content {
        width: 100%;
        padding: 0 15px;
    }
    .ym-section-desc {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .ym-services-grid .ym-service-card {
        width: calc(50% - 7px);
    }
    .ym-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .ym-services-grid .ym-service-card {
        width: 100%;
        margin: 0 0 15px 0;
    }
    .ym-solutions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ym-section-title,
    .ym-section-title-white {
        font-size: 24px;
    }

    .ym-section-desc,
    .ym-section-desc-white {
        width: 100%;
        font-size: 13px;
    }

    .ym-banner-title {
        font-size: 24px;
    }

    .ym-banner-desc {
        font-size: 14px;
    }

    .ym-stat-number {
        font-size: 40px;
    }

    .ym-stat-text {
        font-size: 14px;
    }
}

/* ===================== 内页通用样式 ===================== */

/* 内页主容器 */
.ym-inside-main {
    margin-top: 16px;
}

/* 内页双栏布局 */
.ym-inside-layout {
    display: flex;
    gap: 15px;
}

/* 左侧边栏 */
.ym-inside-sidebar {
    width: 252px;
    flex-shrink: 0;
    padding-top: 15px;
}

/* 右侧内容区 */
.ym-inside-content {
    flex: 1;
    min-width: 0;
}

/* ===================== 侧边栏组件样式 ===================== */

/* 分类导航框 */
.ym-sidebar-nav {
    width: 232px;
    border-top: 2px solid var(--ym-primary);
}

.ym-sidebar-nav-inner {
    border: 1px solid var(--ym-border);
    border-top: none;
    padding-top: 6px;
}

.ym-sidebar-nav a {
    display: block;
    padding: 8px 10px;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
}

.ym-sidebar-nav a:hover {
    color: var(--ym-primary);
}

.ym-sidebar-nav a.current-cat,
.ym-sidebar-nav a.current {
    color: var(--ym-primary);
}

/* 侧边栏标题 */
.ym-sidebar-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--ym-primary);
    margin-bottom: 10px;
}

/* 相关推荐列表 */
.ym-sidebar-list {
    margin-top: 14px;
}

.ym-sidebar-list-item {
    height: 30px;
    display: flex;
    align-items: center;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="232" height="1"><rect fill="%23d2d2d2" x="0" y="0" width="232" height="1"/></svg>') center bottom no-repeat;
}

.ym-sidebar-list-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 29px;
    background: var(--ym-primary);
    margin-right: 6px;
    flex-shrink: 0;
}

.ym-sidebar-list-item a {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ym-sidebar-list-item a:hover {
    color: var(--ym-primary);
}

/* ===================== 文章列表样式 ===================== */

/* 文章列表项 */
.ym-article-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #dcdcdc;
}

.ym-article-thumb {
    width: 154px;
    flex-shrink: 0;
}

.ym-article-img {
    width: 154px;
    height: 109px;
    object-fit: cover;
    display: block;
}

.ym-article-info {
    flex: 1;
    min-width: 0;
}

/* 文章标题 */
.ym-article-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 0 0 8px 0;
}

.ym-article-title a {
    text-decoration: none;
    color: inherit;
}

.ym-article-title a:hover {
    color: var(--ym-primary);
}

/* 文章元信息 */
.ym-article-meta {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #999999;
    margin-bottom: 8px;
}

/* 文章摘要 */
.ym-article-excerpt {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #666666;
    line-height: 1.6;
}

/* 分页导航 */
.ym-pagination {
    margin-top: 30px;
    text-align: center;
}

.ym-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.ym-pagination a,
.ym-pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--ym-border);
    font-size: 14px;
    text-decoration: none;
    color: #333333;
}

.ym-pagination a:hover {
    border-color: var(--ym-primary);
    color: var(--ym-primary);
}

.ym-pagination .current {
    background: var(--ym-primary);
    color: #fff;
    border-color: var(--ym-primary);
}

.ym-no-posts {
    text-align: center;
    padding: 60px 0;
    color: #999999;
    font-size: 14px;
}

/* ===================== 文章详情样式 ===================== */

/* 文章详情容器 */
.ym-article-detail {
    margin: 20px 0;
}

/* 文章标题 */
.ym-article-detail-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin: 20px 0;
}

/* 文章元信息栏 */
.ym-article-detail-meta-bar {
    height: 24px;
    background: #e8ecd9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ym-article-detail-meta {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #333333;
}

/* 分隔线 */
.ym-article-detail-separator {
    height: 1px;
    background: #d2d2d2;
    margin: 0;
}

/* 文章正文 */
.ym-article-detail-content {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #232323;
    line-height: 1.8;
    margin-top: 10px;
}

.ym-article-detail-content p {
    margin: 0 0 1em 0;
    text-indent: 2em;
}

.ym-article-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* 上下篇导航 */
.ym-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--ym-border);
}

.ym-post-nav-prev,
.ym-post-nav-next {
    flex: 1;
}

.ym-post-nav-prev {
    text-align: left;
}

.ym-post-nav-next {
    text-align: right;
}

.ym-post-nav a {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
}

.ym-post-nav a:hover {
    color: var(--ym-primary);
}

/* ===================== 内页响应式 ===================== */
@media (max-width: 1024px) {
    .ym-inside-layout {
        flex-direction: column;
    }

    .ym-inside-sidebar {
        width: 100%;
    }

    .ym-article-item {
        flex-direction: column;
    }

    .ym-article-thumb {
        width: 100%;
    }

    .ym-article-img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .ym-article-detail-title {
        font-size: 20px;
    }

    .ym-post-nav {
        flex-direction: column;
        gap: 10px;
    }

    .ym-post-nav-prev,
    .ym-post-nav-next {
        text-align: center;
    }
}

/* ===================== 功能咨询/解决方案详情页样式 ===================== */

/* 面包屑+标题栏 */
.ym-breadcrumb-bar {
    margin-top: 16px;
    border-bottom: 2px solid #d2d2d2;
    padding: 10px 0;
}

.ym-breadcrumb-bar .ym-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ym-breadcrumb-left {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.ym-category-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
}

.ym-category-title-en {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 14px;
    color: #999999;
}

.ym-breadcrumb-right {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #999999;
    padding-top: 12px;
}

.ym-breadcrumb-right a {
    color: #666666;
    text-decoration: none;
}

.ym-breadcrumb-right a:hover {
    color: var(--ym-primary);
}

/* 主内容区 */
.ym-content {
    margin-top: 0;
}

.ym-content-inner {
    display: flex;
    gap: 0;
    padding-top: 15px;
}

/* 左侧边栏 */
.ym-sidebar-service {
    width: 252px;
    flex-shrink: 0;
    padding-top: 15px;
}

/* 手风琴分类导航 - 复刻 bothink */
.ym-sidebar-accordion {
    width: 232px;
    border-top: 2px solid var(--ym-primary);
}

.ym-sidebar-accordion-inner {
    border: 1px solid #d2d2d2;
    border-top: none;
    padding-top: 6px;
}

/* 手风琴主标题 */
.ym-sidebar-accordion .subNav {
    display: block;
    padding: 10px 15px;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><path d="M5 0L10 10H0Z" fill="%23999"/></svg>') right 15px center no-repeat;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ym-sidebar-accordion .subNav:hover {
    color: var(--ym-primary);
}

/* 当前激活状态 */
.ym-sidebar-accordion .subNav.currentDd {
    color: var(--ym-primary);
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><path d="M0 0L5 10L10 0Z" fill="%23cb0c0c"/></svg>') right 15px center no-repeat;
}

.ym-sidebar-accordion .subNav.currentDt {
    font-weight: bold;
}

/* 手风琴内容区 */
.ym-sidebar-accordion .navContent {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f8f8;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ym-sidebar-accordion .navContent.collapsed {
    max-height: 0;
}

.ym-sidebar-accordion .navContent li {
    border-bottom: 1px solid #eeeeee;
}

.ym-sidebar-accordion .navContent li:last-child {
    border-bottom: none;
}

.ym-sidebar-accordion .navContent li a {
    display: block;
    padding: 8px 15px 8px 25px;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 13px;
    color: #666666;
    text-decoration: none;
}

.ym-sidebar-accordion .navContent li a:hover {
    color: var(--ym-primary);
    background: #f0f0f0;
}

.ym-sidebar-accordion .navContent li a.active {
    color: var(--ym-primary);
    font-weight: bold;
}

/* 侧边栏列表样式（相关新闻、成功业绩） */
.ym-sidebar-list {
    margin-top: 14px;
    width: 232px;
}

.ym-sidebar-list .ym-sidebar-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--ym-primary);
    margin-bottom: 10px;
}

.ym-sidebar-list-item {
    height: 30px;
    display: flex;
    align-items: center;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="232" height="1"><rect fill="%23d2d2d2" x="0" y="0" width="232" height="1"/></svg>') center bottom no-repeat;
}

.ym-sidebar-bullet {
    display: inline-block;
    width: 6px;
    height: 29px;
    background: var(--ym-primary);
    margin-right: 6px;
    flex-shrink: 0;
}

.ym-sidebar-list-item a {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.ym-sidebar-list-item a:hover {
    color: var(--ym-primary);
}

/* 右侧内容区 */
.ym-main-service {
    flex: 1;
    min-width: 0;
    padding-top: 8px;
}

/* Tab导航 - 复刻 bothink */
.ym-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
}

.ym-tab-item {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ym-tab-item:hover {
    color: var(--ym-primary);
}

.ym-tab-item.ym-tab-active {
    color: var(--ym-primary);
    font-weight: bold;
    border-bottom: 2px solid var(--ym-primary);
}

/* Tab内容区 */
.ym-tab-content {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #333333;
    line-height: 1.8;
}

.ym-tab-content p {
    margin: 0 0 1em 0;
}

.ym-tab-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

.ym-tab-content strong,
.ym-tab-content b {
    color: #000000;
    font-weight: bold;
}

.ym-tab-content h2,
.ym-tab-content h3 {
    margin: 1.5em 0 0.8em 0;
    color: #333333;
}

.ym-tab-content ul,
.ym-tab-content ol {
    margin: 0 0 1em 0;
    padding-left: 2em;
}

.ym-tab-content li {
    margin-bottom: 0.5em;
}

/* 内页Banner - 复刻 bothink 307px高 */
.hsd-inner-banner {
    background: #000000;
}

.hsd-inner-banner .hsd-container {
    width: 1200px;
    margin: 0 auto;
}

.hsd-banner-table {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 307px;
}

.hsd-banner-left {
    flex: 1;
    padding-left: 35px;
}

.hsd-banner-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 14px 0;
}

.hsd-banner-desc {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    max-width: 610px;
}

.hsd-banner-right {
    flex-shrink: 0;
}

.hsd-banner-right img {
    height: 307px;
    max-width: 500px;
    width: auto;
    display: block;
}

/* 响应式 - 功能咨询/解决方案详情页 */
@media (max-width: 1024px) {
    .ym-content-inner {
        flex-direction: column;
    }

    .ym-sidebar-service {
        width: 100%;
    }

    .ym-sidebar-accordion,
    .ym-sidebar-list {
        width: 100%;
    }

    .ym-breadcrumb-bar .ym-container {
        flex-direction: column;
        gap: 10px;
    }

    .ym-breadcrumb-right {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .ym-category-title {
        font-size: 16px;
    }

    .ym-category-title-en {
        font-size: 12px;
    }

    .ym-tabs-nav {
        gap: 5px;
    }

    .ym-tab-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hsd-banner-table {
        flex-direction: column;
        height: auto;
        padding: 30px 15px;
        text-align: center;
    }

    .hsd-banner-left {
        padding-left: 0;
        margin-bottom: 20px;
    }

    .hsd-banner-title {
        font-size: 24px;
    }

    .hsd-banner-desc {
        max-width: 100%;
    }

    .hsd-banner-right img {
        max-width: 100%;
        height: auto;
    }
}

/* ===================== 资讯列表页样式 ===================== */

/* 列表页 Banner */
/* ===================== 资讯页统一 Banner ===================== */
.ym-news-banner {
    position: relative;
    background: linear-gradient(135deg, #1a2744 0%, #212c67 50%, #27347d 100%);
    overflow: hidden;
}

.ym-news-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -40px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(228,44,100,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ym-news-banner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: 20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ym-news-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 260px;
}

.ym-news-banner-text {
    flex: 1;
    padding-right: 40px;
}

.ym-news-banner-sub {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ym-news-banner-title {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.ym-news-banner-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    line-height: 1.7;
}

.ym-news-banner-illustration {
    flex-shrink: 0;
    width: 400px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ym-news-banner-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Banner 底部波浪过渡 */
.ym-news-banner-transition {
    position: relative;
    z-index: 2;
    width: 100%;
    line-height: 0;
    margin-top: -1px;
}

.ym-news-banner-transition img {
    width: 100%;
    height: auto;
    display: block;
}

/* 面包屑（banner外独立） */
.ym-news-list-breadcrumb,
.ym-news-detail-breadcrumb {
    background: #f8f8f8;
    padding: 14px 0;
    font-size: 13px;
    color: #999;
}

.ym-news-list-breadcrumb-inner,
.ym-news-detail-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ym-news-list-breadcrumb-inner a,
.ym-news-detail-breadcrumb-inner a {
    color: #666;
    text-decoration: none;
}

.ym-news-list-breadcrumb-inner a:hover,
.ym-news-detail-breadcrumb-inner a:hover {
    color: #212c67;
}

.ym-news-list-breadcrumb-inner .separator,
.ym-news-detail-breadcrumb-inner .separator {
    margin: 0 8px;
    color: #ccc;
}

.ym-news-list-breadcrumb-inner .current,
.ym-news-detail-breadcrumb-inner .current {
    color: #999;
}

/* 主内容区布局 */
.ym-news-list-main {
    padding-bottom: 40px;
}

.ym-news-list-layout {
    display: flex;
    gap: 30px;
}

/* 左侧边栏 */
.ym-news-list-sidebar {
    width: 220px;
    flex-shrink: 0;
}

/* 分类导航 */
.ym-news-list-cat-nav {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.ym-news-list-cat-title {
    font-size: 16px;
    font-weight: bold;
    color: #212c67;
    padding: 14px 16px;
    border-left: 3px solid #e42c64;
    background: #fff;
}

.ym-news-list-cat-list {
    background: #fff;
    border-radius: 4px;
}

.ym-news-list-cat-item {
    border-bottom: 1px solid #f0f0f0;
}

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

.ym-news-list-cat-item a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.2s;
}

.ym-news-list-cat-item a:hover,
.ym-news-list-cat-item.current a {
    color: #e42c64;
    background: rgba(228,44,100,0.04);
    padding-left: 22px;
}

/* 手风琴子分类 */
.ym-news-list-cat-list .children {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fafafa;
}

.ym-news-list-cat-list .children .ym-news-list-cat-item a {
    padding: 10px 16px 10px 32px;
    font-size: 13px;
    color: #777;
}

.ym-news-list-cat-list .children .ym-news-list-cat-item a:hover,
.ym-news-list-cat-list .children .ym-news-list-cat-item.current a {
    padding-left: 38px;
}

/* 热门阅读 */
.ym-news-list-hot {
    margin-top: 20px;
}

.ym-news-list-hot-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #e42c64;
}

.ym-news-list-hot-list {
    background: #fff;
    border-radius: 4px;
}

.ym-news-list-hot-item {
    border-bottom: 1px solid #f5f5f5;
}

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

.ym-news-list-hot-item .hot-rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: #ccc;
    margin-right: 8px;
}

.ym-news-list-hot-item .hot-rank-1 {
    background: #e42c64;
}

.ym-news-list-hot-item .hot-rank-2 {
    background: #ff6b6b;
}

.ym-news-list-hot-item .hot-rank-3 {
    background: #ffa07a;
}

.ym-news-list-hot-item .hot-title {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    text-decoration: none;
}

.ym-news-list-hot-item .hot-title:hover {
    color: #e42c64;
}

/* 右侧文章列表 */
.ym-news-list-content {
    flex: 1;
    min-width: 0;
}

.ym-news-list-items {
    display: flex;
    flex-direction: column;
}

.ym-news-list-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 16px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.ym-news-list-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: rgba(228,44,100,0.15);
}

.ym-news-list-card-inner {
    display: flex;
    gap: 20px;
    text-decoration: none;
    width: 100%;
}

.ym-news-list-thumb {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    border-radius: 4px;
    overflow: hidden;
}

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

.ym-news-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ym-news-list-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #212c67;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.ym-news-list-card:hover .ym-news-list-card-title {
    color: #e42c64;
}

.ym-news-list-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* 小号红色日期块 */
.ym-news-date-block-sm {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #e42c64;
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    line-height: 1;
}

.ym-news-day {
    font-size: 18px;
    font-weight: bold;
}

.ym-news-month {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
}

.ym-news-list-cat-tag {
    font-size: 12px;
    color: #fff;
    background: #27347d;
    padding: 2px 10px;
    border-radius: 12px;
}

.ym-news-list-card-excerpt {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.ym-news-list-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.ym-news-list-pagination ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.ym-news-list-pagination a,
.ym-news-list-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    color: #555;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.ym-news-list-pagination span.current {
    background: #212c67;
    color: #fff;
    border-color: #212c67;
}

.ym-news-list-pagination a:hover {
    background: #f0f0f0;
}

/* 空状态 */
.ym-news-list-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}

/* ===================== 资讯详情页样式 ===================== */

/* 详情页 Banner */
/* 详情页主内容 */
.ym-news-detail-main {
    padding-bottom: 60px;
}

.ym-news-detail-article {
    margin: 0 auto;
}

/* 详情页标题 */
.ym-news-detail-title {
    font-size: 28px;
    font-weight: bold;
    color: #212c67;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* 详情页元信息 */
.ym-news-detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #999;
    padding: 14px 0;
}

.ym-news-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ym-news-detail-meta .meta-separator {
    color: #d2d2d2;
}

/* 详情页正文 */
.ym-news-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-top: 40px;
}

.ym-news-detail-content p {
    text-indent: 2em;
    margin-bottom: 16px;
}

.ym-news-detail-content h2 {
    font-size: 20px;
    color: #212c67;
    margin: 30px 0 16px;
    padding-left: 12px;
    border-left: 3px solid #e42c64;
}

.ym-news-detail-content h3 {
    font-size: 18px;
    color: #27347d;
    margin: 24px 0 12px;
}

.ym-news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 4px;
}

.ym-news-detail-content a {
    color: #212c67;
    text-decoration: underline;
}

.ym-news-detail-content a:hover {
    color: #e42c64;
}

/* 详情页相关推荐 */
.ym-news-detail-related {
    margin-top: 40px;
}

.ym-news-detail-related-title {
    font-size: 20px;
    font-weight: bold;
    color: #212c67;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #e42c64;
}

.ym-news-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ym-news-detail-related-grid .ym-news-list-card {
    margin-bottom: 0;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid transparent;
}

.ym-news-detail-related-grid .ym-news-list-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ym-news-detail-related-grid .ym-news-list-card-inner {
    flex-direction: column;
    padding: 0;
}

.ym-news-detail-related-grid .ym-news-list-thumb {
    width: 100%;
    height: 160px;
    margin-bottom: 0;
}

.ym-news-detail-related-grid .ym-news-list-info {
    padding: 16px;
}

.ym-news-detail-related-grid .ym-news-list-card-title {
    font-size: 15px;
    margin-bottom: 8px;
}

.ym-news-detail-related-grid .ym-news-list-card-meta {
    margin-bottom: 0;
}

.ym-news-detail-related-grid .ym-news-date-block-sm {
    width: auto;
    padding: 4px 8px;
}

.ym-news-detail-related-grid .ym-news-day {
    font-size: 14px;
}

.ym-news-detail-related-grid .ym-news-month {
    font-size: 10px;
}

/* ===================== 列表页/详情页响应式 ===================== */
@media (max-width: 1024px) {
    .ym-news-list-layout {
        flex-direction: column;
    }

    .ym-news-list-sidebar {
        width: 100%;
    }

    .ym-news-list-cat-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .ym-news-list-cat-item {
        flex: none;
    }

    .ym-news-list-cat-item a,
    .ym-news-list-cat-list .children .ym-news-list-cat-item a {
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
        padding: 10px 14px;
    }

    .ym-news-list-cat-item:last-child a {
        border-right: none;
    }

    .ym-news-list-hot {
        display: none;
    }

    .ym-news-list-card,
    .ym-news-list-card-inner {
        flex-direction: column;
    }

    .ym-news-list-thumb {
        width: 100%;
        height: 180px;
    }

    .ym-news-detail-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ym-news-detail-related-grid .ym-news-list-thumb {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .ym-news-banner-inner {
        flex-direction: column;
        height: auto;
        padding: 40px 0 20px;
        text-align: center;
    }

    .ym-news-banner-text {
        padding-right: 0;
    }

    .ym-news-banner-title {
        font-size: 24px;
    }

    .ym-news-banner-desc {
        font-size: 13px;
        margin: 0 auto;
    }

    .ym-news-banner-illustration {
        width: 280px;
        height: 180px;
    }

    .ym-news-banner-transition img {
        height: 30px;
        width: 100%;
    }

    .ym-news-list-thumb {
        height: 160px;
    }

    .ym-news-detail-title {
        font-size: 22px;
    }

    .ym-news-detail-meta {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }

    .ym-news-detail-content {
        font-size: 15px;
    }

    .ym-news-detail-content h2 {
        font-size: 18px;
        margin: 20px 0 12px;
    }

    .ym-news-detail-content h3 {
        font-size: 16px;
        margin: 16px 0 10px;
    }

    .ym-news-detail-related-grid {
        grid-template-columns: 1fr;
    }

    .ym-news-detail-related-grid .ym-news-list-thumb {
        height: 160px;
    }

    .ym-news-list-pagination a,
    .ym-news-list-pagination span {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

