/* ===== 变量与基础样式 ===== */
:root {
    --color-primary: #2a7ab8;
    --color-primary-dark: #1e5a8a;
    --color-accent: #f4c430;
    --color-dark: #2c2c2c;
    --color-gray: #4a4a4a;
    --color-light-gray: #f5f5f5;
    --color-white: #ffffff;
    --font-cambria: Cambria, 'Times New Roman', serif;
    --font-arial: Arial, 'Helvetica Neue', sans-serif;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/*滚动条美化*/
body::-webkit-scrollbar {
    width: 10px !important;
  }
  body::-webkit-scrollbar-track {
    background-color: #f3f3f3;
  }
  body::-webkit-scrollbar-track-piece {
    background-color: #f3f3f3;
    -webkit-border-radius: 4px;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border: solid 1px #C0C0C0;
    border-radius: 4px;
  }
  body::-webkit-scrollbar-corner {
    background-color: #ddd;
  }
  body::-webkit-resizer {
    background-repeat: no-repeat;
    background-position: bottom right;
  }
  body::-webkit-scrollbar-thumb:hover {
    background-color: #F3F3E0;
  }



body {
    font-family: var(--font-arial);
    color: var(--color-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    margin: 0 auto;
    max-width: 1320px;

}

/* 低分辨率时 container 全宽 */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-arial);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 8px;
}

.btn-yellow {
    background: var(--color-accent);
    color: var(--color-dark);
}

.btn-yellow:hover {
    background: #e5b320;
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: #c0392b;
    margin-top: 16px;
}

.btn-white:hover {
    background: var(--color-light-gray);
    transform: translateY(-2px);
}

.btn-detail {
    color: var(--color-primary) !important;
}

/* ===== 顶部导航栏 ===== */
.header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link-active {
    color: var(--color-primary);
    font-weight: 700;
}

.nav-link-disabled {
    cursor: default;
    pointer-events: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== 主视觉区域 ===== */
.hero {
    position: relative;
    width: 100%;
}

.hero-bg {
    position: relative;
    width: 100%;
    line-height: 0;
    background-color: #8b7355;
}

.hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-cambria);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.4;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-bottom .hero-content {
    align-items: flex-end;
    padding-bottom: 48px;
}

/* ===== 标语区域 ===== */
.tagline {
    padding: 80px 20px;
    background: var(--color-white);
    text-align: center;
}

.tagline-title {
    font-family: var(--font-cambria);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.tagline-line {
    width: 80px;
    height: 3px;
    background: var(--color-dark);
    margin: 0 auto 32px;
}

/* ===== 公司介绍区域 ===== */
.about {
    padding: 80px 0px;
    background: var(--color-white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-family: var(--font-arial);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--color-gray);
    text-align: justify;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== 产品出口区域 ===== */
.export-section {
    position: relative;
    background: url('../images/indexbg.jpg') center/cover no-repeat;
    background-color: var(--color-dark);
    padding: 80px 20px;
}

.export-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.export-overlay-black {
    background: rgba(80, 80, 80, 0.4);
    z-index: 0;
}

.export-overlay-grey {
    left: 50%;
    right: 0;
    background: rgba(80, 80, 80, 0.8);
    z-index: 0;
}

.export-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.export-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.export-left .btn {
    padding: 12px 24px;
    border-radius: 8px;
}

.export-title {
    font-family: var(--font-cambria);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.export-line {
    width: 60%;
    height: 2px;
    background: var(--color-white);
    margin: 0 auto 24px;
}

.export-right {
    color: #ffffff;
}

.export-flags-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.flags-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.flag-item {
    display: flex;
    align-items: flex-start;
}

.texts-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
    min-width: 0;
}

.text-item {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    min-width: 0;
}

.text-item p {
    margin: 0;
    color: #ffffff !important;
    opacity: 1;
}

.flag-img {
    width: 48px;
    height: 36px;
    flex-shrink: 0;
    object-fit: cover;
}

.country-text {
    color: white;
    font-family: var(--font-arial);
}

.country-text p {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.6;
}

/* ===== 产品展示区域 ===== */
.products {
    padding: 80px 20px;
    background: var(--color-white);
    text-align: center;
}

.products-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.products-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    margin-bottom: 20px;
}

.products-line {
    width: 80px;
    height: 3px;
    background: var(--color-dark);
    margin: 0 auto 24px;
}

.products-link:hover {
    color: var(--color-primary-dark);
}

.products-desc {
    max-width: 80%;
    margin: 0 auto 32px;
    font-size: 16px;
    font-family: var(--font-arial);
    color: var(--color-gray);
    line-height: 1.8;
}

.products .btn {
    margin-bottom: 48px;
}

.product-boxes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.product-box {
    display: block;
    position: relative;
    width: 280px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-box:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.product-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-box:hover img {
    opacity: 0.9;
}

.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
}

.product-brand {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.product-name, .product-name-ru {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

/* ===== 产品页 pro.html ===== */
.pro-section {
    padding: 80px 10px;
    background: var(--color-white);
}

.pro-section-title {
    font-family: var(--font-cambria);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 16px;
}

.pro-section-line {
    width: 80px;
    height: 3px;
    background: var(--color-dark);
    margin: 0 auto 40px;
}

.pro-block-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.pro-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pro-img-wrap .pro-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.pro-text-wrap .pro-text {
    font-family: var(--font-arial);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray);
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 滚动条样式 - Chrome/Edge/Safari */
.pro-text-scroll::-webkit-scrollbar {width: 2px;height: 4px;}
.pro-text-scroll::-webkit-scrollbar-thumb {border-radius: 5px;background:#2a7ab8;}
.pro-text-scroll::-webkit-scrollbar-track {border-radius: 0;background: #ededed;}



.pro-text-right{
    max-height: none;
    overflow-y: visible;
    line-height: 1.8;
    font-size: 16px;
}

.pro-text-wrap .pro-text p {
    margin-bottom: 12px;
}

.pro-text-wrap .pro-text p:last-child {
    margin-bottom: 0;
}

.pro-block-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.pro-table-title {
    font-family: var(--font-arial);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.pro-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-arial);
    font-size: 14px;

}

.pro-table th,
.pro-table td {
    padding: 8px 10px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #eee;
}

.pro-table th {
    font-weight: 700;
    color: var(--color-dark);
    background: transparent;
}

.pro-table tbody tr:hover {
    background: #fafafa;
}

.pro-text {
    font-family: var(--font-arial);
    font-size: 15px;
    line-height: 2;
    color: var(--color-gray);
}

.pro-text p {
    margin-bottom: 12px;
}

.pro-text p:last-child {
    margin-bottom: 0;
}

.pro-section-products .pro-section-line {
    margin-bottom: 32px;
}

.pro-products-title {
    display: inline-block;
    background: #f5c842;
    color: var(--color-dark);
    font-family: var(--font-cambria);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    padding: 12px 32px;
    text-align: center;
    margin: 0 auto 16px;
    display: block;
    width: fit-content;
    border-radius: 10px;
}

/* ===== 底部 ===== */
.footer {
    background: #8e8e8e;
    color: var(--color-white);
    padding: 60px 20px 20px;
}

.footer-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-content {
    display: flex;
    gap: 80px;
    flex: 1;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--color-white);
}

.footer-col-line {
    width: 40px;
    height: 2px;
    background: var(--color-white);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.95;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-link-disabled {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
    cursor: default;
}

.footer-address,
.footer-phone,
.footer-email {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.footer-contact-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-contact-icons .footer-icon {
    align-self: center;
}

.footer-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    box-sizing: border-box;
    position: relative;
}

.footer-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
}

.footer-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.footer-icon-link:hover {
    background: rgba(255,255,255,0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== 关于公司页面 ===== */
.about-page-section {
    padding: 80px 0px;
    background: var(--color-white);
}

.about-page-title {
    font-family: var(--font-cambria);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}

.about-carousel {
    position: relative;
    margin-bottom: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
}

.about-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: var(--color-white);
}

.carousel-btn-prev {
    left: 16px;
}

.carousel-btn-next {
    right: 16px;
}

.about-carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
}

.about-carousel-inner:active {
    cursor: grabbing;
}

.about-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.about-carousel-item {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.carousel-img-wrap {
    line-height: 0;
}

.about-carousel-item .carousel-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    background: #e0e0e0;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--color-white);
    font-family: var(--font-cambria);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.carousel-caption-full {
    padding: 40px 48px 120px;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.75) 100%);
    text-align: left;
    height: 100%;
}

.carousel-item-bottom .carousel-caption-full {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.carousel-caption-top {
    top: 0;
    bottom: auto;
    background: linear-gradient(rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 50%, transparent 100%);
}

.carousel-caption-top .carousel-caption-title,
.carousel-caption-top .carousel-caption-text {
    color: var(--color-dark);
}

.carousel-caption-top .carousel-caption-line {
    background: var(--color-dark);
}

.carousel-caption-title {
    font-family: var(--font-cambria);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.carousel-caption-line {
    width: 200px;
    height: 2px;
    background: var(--color-white);
    margin-bottom: 20px;
}

.carousel-caption-text {
    font-family: var(--font-arial);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    font-weight: 500;
}

.carousel-caption-text p {
    margin-bottom: 6px;
}

.carousel-caption-text p:last-child {
    margin-bottom: 0;
}

.carousel-caption-text strong {
    font-weight: 700;
}

.carousel-caption-logo {
    position: absolute;
    bottom: 24px;
    right: 48px;
    font-family: var(--font-cambria);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
}

.about-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d0d0d0;
    cursor: pointer;
    transition: background var(--transition);
}

.carousel-dot:hover {
    background: #a0a0a0;
}

.carousel-dot.active {
    background: var(--color-dark);
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .about-inner,
    .export-inner {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 300px;
    }

    .export-title {
        font-size: 22px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }


    .tagline,
    .about,
    .export-section,
    .products {
        padding: 80px 20px;
    }

    .product-box {
        width: 100%;
        max-width: 100%;
    }

    .product-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-carousel-item {
        position: relative;
        display: block;
    }

    .carousel-img-wrap {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #e0e0e0;
    }

    .about-carousel-item .carousel-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .about-carousel-item .carousel-caption {
        position: relative;
        z-index: 1;
    }

    .carousel-item-bottom .carousel-caption-full {
        position: relative;
        z-index: 1;
        min-height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .carousel-item-bottom {
        min-height: 70vh;
    }

    .carousel-caption-full {
        padding: 20px 16px 24px;
        background: linear-gradient(transparent 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.85) 100%);
    }

    .carousel-caption-top {
        background: linear-gradient(rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 70%, transparent 100%);
    }

    .carousel-caption-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .carousel-caption-line {
        margin-bottom: 12px;
    }

    .carousel-caption-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .carousel-caption-text p {
        margin-bottom: 4px;
    }

    .carousel-caption-logo {
        right: 16px;
        bottom: 16px;
        font-size: 18px;
    }

    .pro-block-2 {
        grid-template-columns: 1fr;
    }

    .pro-block-1 {
        grid-template-columns: 1fr;
    }

    .pro-text-wrap .pro-text {
        padding-right: 0;
        max-height: none;
        overflow-y: visible;
    }
}

/* ===== 文章内容页 newtxt.html ===== */
.article-section {
    padding: 60px 20px 80px;
    background: var(--color-white);
}

.article-title {
    font-family: var(--font-cambria);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.article-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 3px;
    background: var(--color-dark);
    margin: 16px auto 0;
}

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

.article-img-wrap {
    margin-bottom: 32px;
}

.article-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    background: #e0e0e0;
}

@media (min-width: 769px) {
    .article-img {
        width: 600px;
    }
}

.article-text {
    font-family: var(--font-arial);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray);
}

.article-text p {
    margin-bottom: 20px;
}

.article-text p:last-child {
    margin-bottom: 0;
}


/* ===== 媒体中心 news.html ===== */
.news-media {
    padding: 80px 20px;
    background: var(--color-white);
}

.news-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.news-media-card {
    display: block;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-media-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.news-media-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e0e0e0;
}

.news-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-media-caption {
    font-family: var(--font-arial);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-dark);
    padding: 20px;
    line-height: 1.5;
}

.news-media-btn-wrap {
    text-align: center;
}

.news-media-btn {
    display: inline-block;
    padding: 12px 24px;
}

@media (max-width: 768px) {
    .news-media-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* 图片占位 - 当图片不存在时显示背景色 */
.about-image img,
.export-image-wrap img,
.news-media-img-wrap img {
    background: #e0e0e0;
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

