/* ===== 左侧分类导航 - 完全复制技术服务样式 ===== */
.about-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-self: flex-start;
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* 公司分类菜单 */
.about-menu {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.about-menu__title {
    background: #008e4f;
    color: white;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-menu__title i {
    font-size: 1.2rem;
}

.about-menu__list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.about-menu__item {
    margin: 0;
    padding: 0;
}

.about-menu__item a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.about-menu__item a:hover {
    background-color: #f8fafc;
    color: #008e4f;
    border-left-color: #008e4f;
}

.about-menu__item.active a {
    background-color: rgba(0, 142, 79, 0.05);
    color: #008e4f;
    border-left-color: #008e4f;
    font-weight: 500;
}

/* 联系方式卡片 - 完全复制技术服务样式 */
.contact-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.contact-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #008e4f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card__title i {
    color: #008e4f;
    font-size: 1.2rem;
}

.contact-card__item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.contact-card__item i {
    color: #008e4f;
    font-size: 1rem;
    width: 20px;
    margin-top: 3px;
}

.contact-card__item-content {
    flex: 1;
}

.contact-card__item-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-card__item-value {
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-card__item-value a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card__item-value a:hover {
    color: #008e4f;
}

.contact-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #008e4f;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    margin-top: 1rem;
    width: 100%;
    border: none;
    cursor: pointer;
}

.contact-card__btn:hover {
    background: #006f3d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 142, 79, 0.2);
}

/* 响应式 - 与技术服务完全一致 */
@media screen and (max-width: 1024px) {
    .page-content {
        flex-direction: column;
    }

    .about-sidebar {
        position: static;
        width: 100%;
        flex-direction: row;
        gap: 1.5rem;
    }

    .about-menu,
    .contact-card {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .about-sidebar {
        flex-direction: column;
    }

    .about-menu,
    .contact-card {
        width: 100%;
    }
}

/* ===== 右侧内容区域 ===== */
.page-main {
    flex: 1;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.content-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #008e4f;
    border-radius: 2px;
}

.content-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    color: #64748b;
    font-size: 0.9rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.content-meta i {
    color: #008e4f;
    margin-right: 0.3rem;
}

.content-body {
    color: #334155;
    line-height: 1.8;
}

.content-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.content-body h3:first-child {
    margin-top: 0;
}

.content-body p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.content-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-body li {
    margin-bottom: 0.8rem;
}

.content-body li strong {
    color: #008e4f;
}

.content-image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-quote {
    background: #f8fafc;
    border-left: 4px solid #008e4f;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

.content-quote p {
    margin-bottom: 0.5rem;
}

.content-quote .quote-author {
    color: #008e4f;
    font-style: normal;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* 响应式 */
@media screen and (max-width: 1024px) {
    .page-content {
        flex-direction: column;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 180px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .page-main {
        padding: 1.5rem;
    }

    .content-title {
        font-size: 1.6rem;
    }

    .content-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .breadcrumb-wrapper {
        padding: 0 1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .page-content {
        padding: 0 1rem;
    }
}

/* 响应式 */
@media screen and (max-width: 1024px) {
    .page-content {
        flex-direction: column;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 180px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .page-main {
        padding: 1.5rem;
    }

    .content-title {
        font-size: 1.6rem;
    }

    .content-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .breadcrumb-wrapper {
        padding: 0 1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .page-content {
        padding: 0 1rem;
    }
}

/* 列表模式样式 */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.list-count {
    color: #64748b;
    font-size: 0.95rem;
    background: #f8fafc;
    padding: 5px 15px;
    border-radius: 20px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 142, 79, 0.1);
    border-color: #008e4f;
}

.article-item__image {
    flex: 0 0 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.article-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-item:hover .article-item__image img {
    transform: scale(1.05);
}

.article-item__content {
    flex: 1;
}

.article-item__title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-item__title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-item__title a:hover {
    color: #008e4f;
}

.article-item__summary {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.article-item__meta {
    display: flex;
    gap: 20px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.article-item__meta i {
    color: #008e4f;
    margin-right: 5px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.page-item:hover:not(.disabled):not(.active) {
    border-color: #008e4f;
    color: #008e4f;
    background: #f8fafc;
}

.page-item.active {
    background: #008e4f;
    border-color: #008e4f;
    color: white;
}

.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f1f5f9;
}

.page-dots {
    color: #94a3b8;
    padding: 0 5px;
}

/* 单篇模式内容样式 */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-body {
    line-height: 1.8;
    color: #334155;
}

.content-body h2 {
    margin: 30px 0 15px;
    font-size: 24px;
    color: #1e293b;
}

.content-body h3 {
    margin: 25px 0 15px;
    font-size: 20px;
    color: #1e293b;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-body li {
    margin-bottom: 10px;
}

/* 无数据样式 */
.no-data {
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .article-item {
        flex-direction: column;
        padding: 15px;
    }

    .article-item__image {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
    }

    .list-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.article-meta {
    margin-bottom: 25px;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
}

.article-meta i {
    color: #008e4f;
    margin-right: 5px;
}

.article-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
}

.nav-prev a,
.nav-next a {
    color: #008e4f;
    text-decoration: none;
    transition: all 0.3s;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-prev a:hover,
.nav-next a:hover {
    color: #006f3d;
    text-decoration: underline;
}

.nav-disabled {
    color: #94a3b8;
    opacity: 0.6;
}

/* 内容样式 */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-body {
    line-height: 1.8;
    color: #334155;
}

.content-body h2,
.content-body h3,
.content-body h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1e293b;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body ul,
.content-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-body li {
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .article-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .nav-prev a,
    .nav-next a {
        max-width: 100%;
        white-space: normal;
    }
}

/* 在现有样式末尾添加以下内容 */

/* ===== 图片列表模式样式 ===== */
.image-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.image-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 142, 79, 0.1);
    border-color: #008e4f;
}

.image-item a {
    text-decoration: none;
    display: block;
}

.image-item__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
}

.image-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover .image-item__image img {
    transform: scale(1.05);
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
    font-size: 48px;
}

.image-item__title {
    padding: 15px;
    text-align: center;
}

.image-item__title h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.image-item:hover .image-item__title h3 {
    color: #008e4f;
}

/* 图片列表响应式 */
@media screen and (max-width: 1024px) {
    .image-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 640px) {
    .image-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .image-item__image {
        height: 180px;
    }
}

/* ===== 分页样式 - 兼容 paginator->render() ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
}

.pagination > li {
    display: inline-block;
    margin: 0;
}

.pagination > li > a,
.pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
}

.pagination > li > a:hover {
    border-color: #008e4f;
    color: #008e4f;
    background: #f8fafc;
    transform: translateY(-2px);
}

.pagination > li.active > span {
    background: #008e4f;
    border-color: #008e4f;
    color: white;
    cursor: default;
}

.pagination > li.disabled > span {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.pagination > li.disabled > span:hover {
    transform: none;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

/* 上一页下一页箭头样式优化 */
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    padding: 0 14px;
}

.pagination > li > a i,
.pagination > li > span i {
    font-size: 0.8rem;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .pagination {
        gap: 5px;
    }

    .pagination > li > a,
    .pagination > li > span {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .pagination {
        flex-wrap: wrap;
    }

    .pagination > li > a,
    .pagination > li > span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.8rem;
    }
}

/* 专门为 Awards & Records (cid 25) 定制的图片列表样式 */
.image-list-certificate .image-item__image {
    /* 调整容器高度，以适应竖版图片，例如设为 auto 或固定高度 */
    height: auto;
    /* 或者设置一个最大高度 */
    max-height: 410px;
}

.image-list-certificate .image-item__image img {
    /* 让图片完整显示，不裁剪 */
    object-fit: contain;
    /* 或者有图片背景色的情况下 */
    /* object-fit: cover; */
    background-color: #f8fafc;
}

/* 移动端优化：针对证书页面的图片列表 */
@media (max-width: 768px) {
    .image-list-certificate .image-item__image {
        height: auto;
        max-height: 290px;
    }
}