/* 成功案例页面样式 */

/* 封面图样式 */

/* 分类标签栏样式 */
.case-categories {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.category-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0px 10px;
    min-width: 160px;
    height: 42px;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-tab:hover {
    border-color: #0051bc;
    color: #0051bc;
    transform: translateY(-2px);
}

.category-tab.active {
    background: #0051bc;
    border-color: #0051bc;
    color: #fff;
    font-weight: 600;
}

/* 案例列表样式 */
.case-list {
    background: #fff;
    padding: 30px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.case-card:hover {
    background: #0051bc;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 81, 188, 0.3);
}

.case-card:hover .case-date,
.case-card:hover .case-title,
.case-card:hover .more-details {
    color: #fff;
}

.case-header {
    padding: 25px 20px 20px 20px;
    gap: 15px;
}

.case-meta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.case-date {
font-weight: 400;
font-size: 14px;
color: #666666;
    display: block;
    transition: color 0.3s ease;
}

.case-title {
font-weight: 400;
font-size: 18px;
color: #333333;
    transition: color 0.3s ease;
}

.more-details {
    width: 100px;
    height: 32px;
    border-radius: 50px 50px 50px 50px;
    border: 1px solid #bababa;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-details:hover {
    color: #0051bc;
}

.case-card:hover .more-details:hover {
    color: rgba(255, 255, 255, 0.8);
}

.case-image {
    padding: 0 20px 25px 20px;
}

.case-image img {
    width: 100%;
    height: 388px;
    border-radius: 8px;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .case-cover {
        height: 350px;
    }

    .cover-title {
        font-size: 42px;
    }

    .cover-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .case-list {
        padding: 60px 0;
    }

    .cases-grid {
        gap: 25px;
        max-width: 900px;
    }

    .case-header {
        padding: 20px 18px 15px 18px;
    }

    .case-image {
        padding: 0 18px 20px 18px;
    }
}

@media (max-width: 768px) {
    .case-cover {
        height: 300px;
        background-attachment: scroll;
    }

    .cover-title {
        font-size: 36px;
    }

    .cover-subtitle {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .case-categories {
        padding: 30px 0;
    }

    .category-tabs {
        gap: 15px;
        padding: 0 20px;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .case-list {
        padding: 50px 0;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .case-header {
        padding: 18px 15px 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .more-details {
        align-self: flex-end;
    }

    .case-title {
        font-size: 16px;
    }

    .case-date {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .case-image {
        padding: 0 15px 18px 15px;
    }
}

@media (max-width: 480px) {
    .case-cover {
        height: 250px;
    }

    .cover-title {
        font-size: 28px;
    }

    .cover-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .case-categories {
        padding: 25px 0;
    }

    .category-tabs {
        gap: 12px;
        justify-content: center;
        overflow-x: auto;
        padding: 0 15px;
    }

    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .case-list {
        padding: 40px 0;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .case-header {
        padding: 15px 12px 10px 12px;
    }

    .case-title {
        font-size: 15px;
    }

    .case-date {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .more-details {
        font-size: 13px;
    }

    .case-image {
        padding: 0 12px 15px 12px;
    }

    /* 滚动条样式（移动端） */
    .category-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .category-tabs::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }

    .category-tabs::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }

    .category-tabs::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-card {
    animation: fadeInUp 0.6s ease-out;
}

.case-card:nth-child(1) {
    animation-delay: 0.1s;
}
.case-card:nth-child(2) {
    animation-delay: 0.2s;
}
.case-card:nth-child(3) {
    animation-delay: 0.3s;
}
.case-card:nth-child(4) {
    animation-delay: 0.4s;
}
.case-card:nth-child(5) {
    animation-delay: 0.5s;
}
.case-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* 案例详情页面样式 */
.case-detail {
    background: #fff;
    padding: 80px 0;
}

.case-detail-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.detail-title {
font-weight: 400;
font-size: 34px;
color: #333333;
margin-bottom: 60px;
}

.detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.detail-date,
.detail-views {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    width: 80%;
    margin: 0 auto 40px auto;
}
.content-section img{
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #0051bc;
    border-radius: 2px;
}

.content-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 20px 0;
    text-align: justify;
    text-indent: 2em;
}

.content-text:last-child {
    margin-bottom: 0;
}

.content-image {
    margin: 40px 0;
    text-align: center;
}

.content-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.02);
}

/* 案例详情页面响应式设计 */
@media (max-width: 1024px) {
    .content-section{
        width: 100%;
    }
    .case-detail {
        padding: 30px 0;
    }

    .case-detail-header {
        margin-bottom: 50px;
        padding-bottom: 25px;
    }

    .detail-title {
        font-size: 32px;
    }

    .detail-meta {
        gap: 25px;
    }

    .detail-date,
    .detail-views {
        font-size: 15px;
    }

    .case-detail-content {
        max-width: 700px;
    }

    .content-section {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 18px;
    }

    .content-text {
        font-size: 15px;
    }

    .content-image {
        margin: 35px 0;
    }
}

@media (max-width: 768px) {
    .news-description{
        margin-top: 0 !important;
    }
    .case-detail {
        padding: 30px 0;
    }

    .case-detail-header {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .detail-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .detail-meta {
        gap: 20px;
    }

    .detail-date,
    .detail-views {
        font-size: 14px;
    }

    .case-detail-content {
        max-width: 100%;
    }

    .content-section {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .content-text {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .content-image {
        margin: 30px 0;
    }
}

@media (max-width: 480px) {
    .case-detail {
        padding: 40px 0;
    }

    .case-detail-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .detail-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .detail-meta {
        gap: 15px;
    }

    .detail-date,
    .detail-views {
        font-size: 13px;
    }

    .content-section {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-left: 12px;
    }

    .section-title::before {
        width: 3px;
        height: 16px;
    }

    .content-text {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
        text-indent: 1.5em;
    }

    .content-image {
        margin: 25px 0;
    }

    .content-image img {
        border-radius: 8px;
    }
}

/* 新闻详情页面样式 */
.news-detail {
    background: #fff;
    padding: 80px 0;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.news-detail .detail-title {
    font-weight: 400;
    font-size: 34px;
    color: #333333;
    margin-bottom: 40px;
}
.news-icon {
    width: 20px;
    height: 20px;
}
.news-detail .detail-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.news-detail .detail-date,
.news-detail .detail-views {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail .content-section {
    margin-bottom: 40px;
}

.news-detail .content-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 20px 0;
    text-align: justify;
    text-indent: 2em;
}

.news-detail .content-text:last-child {
    margin-bottom: 0;
}

.news-detail .content-image {
    margin: 40px 0;
    text-align: center;
}

.news-detail .content-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 12px;
}

/* 新闻详情页面响应式设计 */
@media (max-width: 1024px) {
    .news-detail {
        padding: 60px 0;
    }

    .news-detail-header {
        margin-bottom: 50px;
        padding-bottom: 25px;
    }

    .news-detail .detail-title {
        font-size: 32px;
    }

    .news-detail .detail-meta {
        gap: 25px;
    }

    .news-detail .detail-date,
    .news-detail .detail-views {
        font-size: 15px;
    }

    .news-detail-content {
        max-width: 700px;
    }

    .news-detail .content-section {
        margin-bottom: 35px;
    }

    .news-detail .content-text {
        font-size: 15px;
    }

    .news-detail .content-image {
        margin: 35px 0;
    }
}

@media (max-width: 768px) {
    .news-detail {
        padding: 20px 0;
    }

    .news-detail-header {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .news-detail .detail-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .news-detail {
        gap: 20px;
        flex-direction: column;
    }
    .detail-meta{
        margin-top: 20px;
    }
    .news-detail .detail-date,
    .news-detail .detail-views {
        font-size: 14px;
    }

    .news-detail-content {
        max-width: 100%;
    }

    .news-detail .content-section {
        margin-bottom: 30px;
    }

    .news-detail .content-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .news-detail .content-image {
        margin: 30px 0;
    }
}

@media (max-width: 480px) {
    .news-detail {
        padding: 20px 0;
    }

    .news-detail-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .news-detail .detail-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .news-detail .detail-meta {
        gap: 15px;
    }

    .news-detail .detail-date,
    .news-detail .detail-views {
        font-size: 13px;
    }

    .news-detail .content-section {
        margin-bottom: 25px;
    }

    .news-detail .content-text {
        font-size: 13px;
        line-height: 1.6;
        text-indent: 1.5em;
    }

    .news-detail .content-image {
        margin: 25px 0;
    }

    .news-detail .content-image img {
        border-radius: 8px;
    }
}

/* 关键词展示区样式 */
.keywords-section {
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.keywords-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.keyword-tag {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.keyword-tag:hover {
    color: #003d8f;
    text-decoration: underline;
}

.keywords-separator {
    font-size: 16px;
    color: #666;
}

/* 上下篇导航样式 */
.article-navigation {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

/* .nav-link {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0051bc;
} */

.prev-article {
    text-align: left;
}

.next-article {
    text-align: right;
}

.nav-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
    font-weight: 500;
}

.navs-title {
    font-size: 16px;
    color: inherit;
    line-height: 1.4;
}

/* 关键词和导航响应式设计 */
@media (max-width: 768px) {
    .article-navigation{
        margin-top: 0;
    }
    .keywords-section {
        margin: 40px 0 30px 0;
        padding: 15px 0;
        align-items: flex-start;
        gap: 10px;
    }

    .keywords-label,
    .keyword-tag,
    .keywords-separator {
        font-size: 15px;
    }

    .article-navigation {
        flex-direction: column;
        gap: 25px;
        padding: 25px 0;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        font-size: 16px;
    }

    .nav-label {
        font-size: 13px;
    }

    .nav-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .article-navigation{
        padding-bottom: 0;
    }
    .keywords-section {
        margin: 30px 0 25px 0;
        padding: 12px 0;
    }

    .keywords-label,
    .keyword-tag,
    .keywords-separator {
        font-size: 14px;
    }

    .article-navigation {
        gap: 20px;
        padding: 20px 0;
    }

    .nav-label {
        font-size: 12px;
    }

    .nav-title {
        font-size: 14px;
    }
}

/* 新闻列表样式 */
.news-list {
    background: #fff;
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-card:hover .news-title,
.news-card:hover .news-description,
.news-card:hover .more-details,
.news-card:hover .news-date {
    color: #fff;
}
.news-card:hover .news-content {
    background: #0051bc;
}
.news-card:hover .more-details,.case-card:hover .more-details{
    border-color: #FFF;
}
.news-image {
    width: 100%;
    height: 324px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    padding: 25px 20px;
    background: #fafafa;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-content:hover {
    background: #0051bc;
}
.news-title {
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.news-description {
    font-weight: 400;
    font-size: 14px;
    color: #999999;
    margin: 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    transition: color 0.3s ease;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.news-date {
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    transition: color 0.3s ease;
}

.news-meta .more-details {
font-weight: 400;
font-size: 14px;
color: #999999;
}

.news-meta .more-details:hover {
    color: #FFF;
}

/* 分页器样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    border-color: #0051bc;
    color: #0051bc;
}

.page-btn.active {
    background: #0051bc;
    border-color: #0051bc;
    color: #fff;
}

.page-dots,
.page-info {
    color: #999;
    font-size: 14px;
    padding: 0 8px;
}

/* 新闻列表响应式设计 */
@media (max-width: 1024px) {
    .news-list {
        padding: 60px 0;
    }

    .news-grid {
        gap: 25px;
        max-width: 900px;
        margin-bottom: 50px;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 20px 18px;
    }

    .news-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .news-description {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .news-date,
    .news-meta .more-details {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .news-list {
        padding: 50px 0;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .news-image {
        height: 160px;
    }

    .news-content {
        padding: 18px 15px;
    }

    .news-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .news-description {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-meta .more-details {
        align-self: flex-end;
    }

    .pagination-wrapper {
        gap: 6px;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .news-list {
        padding: 40px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .news-image {
        height: 140px;
    }

    .news-content {
        padding: 15px 12px;
    }

    .news-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .news-description {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .news-date,
    .news-meta .more-details {
        font-size: 12px;
    }

    .pagination-wrapper {
        gap: 4px;
        flex-wrap: wrap;
    }

    .page-btn {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 4px 8px;
    }

    .page-dots,
    .page-info {
        font-size: 12px;
        padding: 0 4px;
    }
}
