:root {
    --theme-color: #0f4c33;
    --theme-color-light: #2daa53;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}
html,
body {
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
ul,
li {
    list-style: none;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
.py-30 {
    padding: 30px 0;
}
.py-50 {
    padding: 50px 0;
}
.py-70 {
    padding: 70px 0;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--theme-color) !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--theme-color-light) !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--theme-color) !important;
}
.header {
    background-color: #fff;
}
.header-top {
    background-color: #f5f5f5;
}
.header-top > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    line-height: 32px;
}
.header-top .hellow {
    color: #333;
}
.header-top .sitemap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top .sitemap a {
    color: #666;
    margin-left: 20px;
}
.header-top .sitemap a:hover {
    color: #333;
}
.header-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px 0;
}
.header-middle .logo {
    width: auto;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-middle .logo img {
    width: 66px;
    height: 66px;
}
.header-middle .logo h1 {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--theme-color) 0%, #00a651 50%, var(--theme-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 103, 59, 0.3);
    position: relative;
    display: inline-block;
}

.header-middle .logo h1::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 2px;
    color: rgba(0, 103, 59, 0.1);
    z-index: -1;
}

.header-middle .phone {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: var(--theme-color);
}
.header-middle .phone i {
    margin-right: 10px;
}
.header-nav {
    background-color: var(--theme-color);
}
.header-nav .container > ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-nav .container > ul > li {
    flex: 1;
    position: relative;
}
.header-nav .container > ul > li::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    width: 2px;
    height: 20px;
    background-color: var(--theme-color-light);
    transition: all 0.3s ease-in-out;
}
.header-nav .container > ul > li:last-child::after {
    display: none;
}
.header-nav .container > ul > li a {
    color: #fff;
    font-size: 15px;
    line-height: 50px;
    display: block;
    text-align: center;
}
.header-nav .container > ul > li a:hover,
.header-nav .container > ul > li a.active {
    color: var(--theme-color-light);
}
.header-nav .container > ul > li .sub-menu {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: var(--theme-color);
    display: none;
    z-index: 999;
}
.header-nav .container > ul > li:hover .sub-menu {
    display: block;
}
.header-nav .container > ul > li:hover .sub-menu li {
    border-top: 1px solid #ffffff4e;
}
.header-nav .container > ul > li:hover .sub-menu li a {
    color: #fff;
    font-size: 14px;
    line-height: 32px;
    display: block;
    text-align: center;
    padding: 5px 0;
}
.header-nav .container > ul > li:hover .sub-menu li a:hover {
    color: var(--theme-color-light);
}
.heroSwiper .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.products .row {
    display: flex;
    justify-content: space-between;
}
.products .row .left {
    width: 220px;
    text-align: center;
    background-color: var(--theme-color);
    color: #fff;
    border-radius: 3px;
    overflow: hidden;
}
.products .row .left .more {
    display: block;
    padding: 15px 0;
    font-size: 14px;
}
.products .row .left a {
    color: #fff;
}
.products .row .left h2 {
    font-size: 24px;
    line-height: 80px;
    /*background-image: linear-gradient(var(--theme-color-light),var(--theme-color));*/
    border-bottom: 1px solid #ffffff4e;
}
.products .row .left ul {
    /*background-image: linear-gradient(var(--theme-color),var(--theme-color-light));*/
    height: 418px;
    overflow-y: auto;
}
.products .row .left ul li {
    border-bottom: 1px solid #ffffff4e;
}
.products .row .left ul li:hover {
    background-color: var(--theme-color-light);
}
.products .row .left ul li a {
    display: block;
    padding: 15px 0;
    font-size: 14px;
}
.products .row .right {
    width: 960px;
}
.products .row .right .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    line-height: 36px;
    padding: 0 10px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ffffff4e;
}
.products .row .right .title span {
    font-weight: bold;
}
.products .row .right .title a {
    font-size: 14px;
    color: #666;
}
.products .row .right .product-swiper {
    width: 100%;
    height: 500px;
    margin: 10px auto 0;
}
.products .row .right .product-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: calc((100% - 30px) / 2 - 12px) !important;
    border: 1px solid #00000023;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 12px;
    border-radius: 5px;
}
.products .row .right .product-swiper .swiper-slide:hover {
    background-color: #fafafa;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.products .row .right .product-swiper .swiper-slide:hover .product-name {
    /*color: #fff;*/
}
.products .row .right .product-swiper .swiper-slide .product-img {
    overflow: hidden;
    border-bottom: 1px solid #00000023;
    border-radius: 5px;
}
.products .row .right .product-swiper .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.products .row .right .product-swiper .swiper-slide .product-name {
    font-size: 14px;
    color: #333;
    line-height: 32px;
}
.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    background-image: url(../images/divider.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 200px;
}
.section-divider .container {
    width: 900px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}
.section-divider .container div {
    color: #fff;
    text-align: right;
}
.section-divider .container div:first-child {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    /* color: #ffd700; */
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.4),
        2px 2px 0 rgba(139, 69, 19, 0.6),
        -1px -1px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
}
.section-divider .container div:last-child {
    font-size: 16px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    position: relative;
    padding-right: 40px;
}
.section-divider .container div:last-child::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.6), #ffd700);
}
.advantage {
    background: url(../images/bg-4.jpg) no-repeat;
    background-size: 100% 100%;
}
.advantage .title {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.advantage .title span:first-child {
    font-size: 32px;
    color: var(--theme-color);
    margin-bottom: 10px;
}
.advantage .title span:last-child {
    font-size: 16px;
}
.advantage .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}
.advantage .icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 10px;
}
.advantage .icon-item span:first-child {
    font-size: 36px;
    color: #fff;
    background-color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.advantage .icon-item span:nth-child(2) {
    font-size: 24px;
    color: var(--theme-color);
}
.advantage .icon-item span:last-child {
    font-size: 16px;
}
.advantage .order {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.advantage .order-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}
.advantage .order-item:nth-child(2) .order-img {
    order: 2;
}
.advantage .order-item .order-img {
    width: 50%;
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
}
.advantage .order-item .order-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.advantage .order-item .order-content {
    width: 50%;
}
.advantage .order-item .order-content .order-title {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.advantage .order-item .order-content .order-title span {
    color: #fff;
    background-color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 100px;
    margin-right: 10px;
}
.advantage .order-item .order-content .order-desc {
    margin-top: 20px;
}
.advantage .order-item .order-content .order-desc p {
    font-size: 16px;
    line-height: 32px;
    position: relative;
    padding-left: 24px;
    margin-bottom: 15px;
}
.advantage .order-item .order-content .order-desc p::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--theme-color);
    font-size: 16px;
    line-height: 32px;
}
.advantage img {
    display: block;
    margin: 0 auto;
}
.case .title {
    font-size: 32px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.case .title span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.case .title span i {
    color: var(--theme-color);
}
.case .title span:first-child {
    font-size: 32px;
    color: var(--theme-color);
    margin-bottom: 10px;
    font-weight: bold;
}
.case .title span:last-child {
    font-size: 16px;
}
.case .case-swiper {
    margin-top: 20px;
}
.case .case-swiper .swiper-slide {
    height: 280px;
    cursor: pointer;
}
.case .case-swiper .case-img {
    overflow: hidden;
}
.case .case-swiper .case-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.case .case-swiper .case-name {
    font-size: 14px;
    color: #333;
    line-height: 32px;
    text-align: center;
}
.about {
    background: url(../images/bg-1.png) no-repeat;
    background-size: 100% 100%;
    /* color: #fff; */
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}
.about-img {
    margin-top: 20px;
    padding: 20px 0;
    /* background-color: #f8f8f8; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.about .title {
    font-size: 28px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.about .description {
    width: 900px;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 14px;
    /* color: #fff; */
    line-height: 32px;
    text-align: center;
}
.news {
    position: relative;
    /* background-color: #f6f3d8; */
}
.news .news-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url(../images/bg-6.png); */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    /* background-position: center; */
    opacity: 0.02;
}
.news .title {
    font-size: 24px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.news .title span {
    font-size: 28px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.news .title span i {
    /* color: var(--theme-color); */
}
.news-list {
    display: flex;
    gap: 20px;
}
.news-list .col {
    flex: 1;
}
.news-item-first {
    display: flex;
    gap: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.news-item-first .news-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}
.news-item-first .news-title:hover {
    color: var(--theme-color);
}
.news-item-first .news-desc {
    font-size: 14px;
    color: #666;
    line-height: 24px;
    margin-bottom: 20px;
    flex: 1;
}
.news-item-first .news-date {
    font-size: 12px;
    color: #999;
}
.news-item-first .news-img {
    flex: 0 0 200px;
    display: block;
    text-decoration: none;
}
.news-item-first .news-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
}
.news-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.news-item .news-info {
    flex: 1;
    padding-right: 20px;
}
.news-item .news-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}
.news-item .news-title:hover {
    color: var(--theme-color);
}
.news-item .news-desc {
    font-size: 13px;
    color: #666;
    line-height: 20px;
}
.news-item .news-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.news-item .news-date {
    font-size: 12px;
    color: #999;
}
.news-item .news-more {
    font-size: 12px;
    color: var(--theme-color);
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid var(--theme-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.news-item .news-more:hover {
    background-color: var(--theme-color);
    color: #fff;
}
.contact {
    background-image: url(../images/bg-2.png);
    background-size: 100% 100%;
    background-color: #f5f5f5;
}
.contact .title {
    font-size: 28px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.contact-content {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.contact-info {
    flex: 0 0 45%;
    background-color: #fff;
    padding: 25px;
    border: 1px solid #eaeaea;
}
.contact-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}
.info-item i {
    font-size: 16px;
    color: var(--theme-color);
    width: 20px;
    text-align: center;
}
.info-item span {
    font-size: 14px;
    color: #666;
}
.wechat-qr {
    margin-top: 25px;
    text-align: center;
}
.wechat-qr img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 1px solid #eaeaea;
    padding: 8px;
}
.wechat-qr p {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}
.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 25px;
    border: 1px solid #eaeaea;
}
.form-group {
    margin-bottom: 15px;
    position: relative;
}
.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: bold;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--theme-color);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: "微软雅黑", sans-serif;
}
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.error-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    padding: 8px 12px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.error-tooltip::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 10px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #000;
}
.form-group.error input,
.form-group.error textarea {
    border-color: #ff4d4f;
}
.submit-btn,
.reset-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.submit-btn {
    background-color: var(--theme-color);
    color: #fff;
    margin-right: 20px;
}
.submit-btn:hover {
    background-color: var(--theme-color-light);
}
.reset-btn {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #eaeaea;
}
.reset-btn:hover {
    background-color: #e0e0e0;
}
.friendlink-list {
    margin-top: 10px;
}
.friendlink-list a {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
}
.footer {
    background-color: var(--theme-color);
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.footer p {
    line-height: 28px;
}
.footer a {
    color: #fff;
}

.page {
    margin: 20px auto;
    padding: 20px 30px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    column-gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.breadcrumbs {
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #333;
    font-size: 14px;
}
.page .left {
    width: 220px;
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
}
.page .left .page-title {
    font-size: 24px;
    line-height: 80px;
    font-weight: bold;
    background-color: var(--theme-color);
    color: #fff;
}
.page .left ul.nav-list {
    background-color: var(--theme-color);
}
.page .left ul.nav-list li {
    border-top: 1px solid #ffffff4e;
}
.page .left ul.nav-list li.active {
    background-color: var(--theme-color-light);
}
.page .left ul.nav-list li a {
    color: #fff;
    display: block;
    padding: 15px 0;
    font-size: 14px;
}
.page .left ul.nav-list li a:hover {
    background-color: var(--theme-color-light);
}
.page .left .page-news {
    margin: 10px 0;
}
.page .left .page-news .page-news-title {
    font-size: 14px;
    background-color: #f8f8f8;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page .left .page-news .page-news-title span {
    line-height: 32px;
}
.page .left .page-news .page-news-title span {
    background-color: var(--theme-color);
    padding: 5px 30px 5px 25px;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
    color: #fff;
}
.page .left .page-news .page-news-title a {
    margin-right: 10px;
    color: #333;
}
.page .left .page-news ul {
    margin-top: 10px;
}
.page .left .page-news ul li {
    border: 1px solid #eaeaea;
    padding: 0 10px;
}
.page .left .page-news ul li a {
    font-size: 14px;
    line-height: 48px;
    color: #333;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
.page .left .page-news ul li:hover {
    background-color: var(--theme-color);
}
.page .left .page-news ul li:hover a {
    color: #fff;
}
.page .right {
    flex: 1;
    overflow: hidden;
}
.page .right .page-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 产品列表网格布局 */
.page .right .page-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.list-item {
    display: block;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 10px 0 10px;
}
.list-item .list-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.list-item .list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.list-item .list-title {
    text-align: center;
    line-height: 42px;
    font-size: 14px;
    color: #333;
}
.list-item:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}
.list-item:hover .list-title {
    color: #fff;
}
.list-item:hover .list-img img {
    transform: scale(1.05);
}
.pagination {
    margin: 30px 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.pagination li {
    display: inline-block;
}
.pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    text-decoration: none;
    color: #4e5969;
    font-size: 14px;
    font-weight: 500;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    box-sizing: border-box;
}
.pagination li:first-child a {
    background-color: #f9fafb;
    border-color: #f3f4f6;
    color: #6b7280;
    cursor: default;
    min-width: 80px;
}
.pagination li.active a {
    background-color: var(--theme-color);
    color: #ffffff;
    font-weight: 600;
}
.pagination li:not(:first-child):not(.active) a:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #1f2937;
}
.pagination li a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        gap: 3px;
    }
    .pagination li a {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
    .pagination li:first-child a,
    .pagination li:nth-last-child(2) a,
    .pagination li:last-child a {
        min-width: 60px;
    }
}
.pagination li a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
@media (prefers-color-scheme: dark) {
    .pagination li a {
        background-color: #1f2937;
        border-color: #374151;
        color: #e5e7eb;
    }
    .pagination li:first-child a {
        background-color: #111827;
        border-color: #374151;
    }
    .pagination li:not(:first-child):not(.active) a:hover {
        background-color: #374151;
        border-color: #4b5563;
    }
}
.page .right h1 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
}

/* 文章内容信息样式 */
.page-content .content-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.page-content .content-info .font-size-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.page-content .content-info .font-size-btn {
    color: var(--theme-color);
    text-decoration: none;
    padding: 5px 8px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-content .content-info .font-size-btn:hover {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

/* 文章内容样式 */
.page-content .content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    transition: font-size 0.3s ease;
}
.page-content .content-body .show-img {
    display: block;
    margin: 0 auto;
    width: 360px;
    margin-bottom: 20px;
}
.page-content .content-body p {
    margin-bottom: 15px;
}

/* 字体大小类 */
.page-content .content-body.font-size-large {
    font-size: 18px;
}

.page-content .content-body.font-size-medium {
    font-size: 16px;
}

.page-content .content-body.font-size-small {
    font-size: 14px;
}
.page-content .content-body img {
    max-width: 100%;
    height: auto;
}

/* 上一篇下一篇导航 */
.page-content .prev-next-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-content .prev-next-nav .prev-article,
.page-content .prev-next-nav .next-article {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.page-content .prev-next-nav span {
    color: var(--theme-color);
    font-weight: 500;
}

.page-content .prev-next-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content .prev-next-nav a:hover {
    color: var(--theme-color);
}

/* 相关产品模块 */
.page-content .related-products {
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid #eaeaea;
}

.page-content .related-products h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--theme-color);
    display: inline-block;
}

.page-content .related-products .related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.page-content .related-products .related-card {
    display: block;
    text-decoration: none;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 10px 10px 0 10px;
}

.page-content .related-products .related-card:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.page-content .related-products .related-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.page-content .related-products .related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-content .related-products .related-title {
    padding: 12px;
    font-size: 14px;
    color: #333;
    text-align: center;
    transition: color 0.3s ease;
}

.page-content .related-products .related-card:hover .related-title {
    color: #fff;
}

/* 文章列表布局 */
.page-list-article {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-list-article .list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-list-article .list-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
}

.page-list-article .list-img {
    width: 260px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.page-list-article .list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-list-article .list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-list-article .list-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
    text-align: left;
}

.page-list-article .list-item:hover .list-title {
    color: var(--theme-color);
}

.page-list-article .list-desc {
    font-size: 16px;
    color: #666;
    line-height: 30px;
}