/*!
 * Aishennuo Theme — 主样式表
 * 1:1 还原艾申诺（AISHENNUO）企业官网风格
 * 主色调: #0086D1 (蓝), #009654 (绿)
 */

/* ============================================
   1. Home Banner
   ============================================ */
.home-banner { position: relative; background:#073e68; }
.home-banner .swiper { width: 100%; height: clamp(360px,35.47vw,680px); }
.home-banner .swiper-slide { position: relative; overflow: hidden; }
.home-banner .banner-img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-mobile-copy{display:none}

/* Swiper 导航按钮 */
.home-banner .swiper-button-next,
.home-banner .swiper-button-prev { color: #fff; opacity: 0.6; transition: opacity 0.3s; }
.home-banner .swiper-button-next:hover,
.home-banner .swiper-button-prev:hover { opacity: 1; }
.home-banner .swiper-button-next::after,
.home-banner .swiper-button-prev::after { font-size: 24px; }

@media (max-width: 768px) {
    .home-banner .swiper { height: min(69vh,560px); min-height:420px; }
    .home-banner .banner-img{object-fit:cover}
    .hero-slide-fluid .banner-img{object-position:31% center}
    .hero-slide-brookfield .banner-img{object-position:30% center}
    .hero-slide-service .banner-img{object-position:68% center}
    .hero-slide:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,36,68,.82))}
    .hero-mobile-copy{display:flex;position:absolute;z-index:3;left:20px;right:52px;bottom:36px;flex-direction:column;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.3)}
    .hero-mobile-copy strong{font-size:27px;letter-spacing:.04em;line-height:1.2}
    .hero-mobile-copy span{font-size:16px;margin-top:8px}
    .home-banner .swiper-button-next,.home-banner .swiper-button-prev{transform:scale(.8)}
}

/* ============================================
   2. Home About Section
   ============================================ */
.home-about { padding: 80px 0; background: #fff; }
.about-grid { display: flex; gap: 60px; align-items: flex-start; }
.about-left { flex: 0 0 45%; }
.about-right { flex: 1; padding-top: 40px; }

.about-subtitle { font-size: 30px; font-weight: 700; font-family: "Microsoft YaHei", sans-serif; color: #333; margin-bottom: 30px; line-height: 1.2; }

.about-partners { margin-bottom: 30px; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 15px; }
.partner-logos img { height: 40px; width: auto; max-width: 120px; object-fit: contain; opacity: 0.7; transition: opacity 0.3s; }
.partner-logos img:hover { opacity: 1; }

.about-title { font-size: 36px; font-weight: 700; font-family: "Microsoft YaHei", sans-serif; color: #333; margin-bottom: 20px; }
.about-desc { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 15px; }

@media (max-width: 768px) {
    .home-about { padding: 50px 0; }
    .about-grid { flex-direction: column; gap: 30px; }
    .about-left { flex: 1; order: 2; }
    .about-right { flex: 1; order: 1; padding-top: 0; }
    .about-subtitle { font-size: 24px; }
    .about-title { font-size: 28px; }
}

/* ============================================
   3. Home Products Section
   ============================================ */
.home-products { padding: 80px 0; background: #f8f9fa; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.product-img { display: block; width: 100%; height: 220px; overflow: hidden; background: #f5f5f5; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.product-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #999; background: #f5f5f5; }
.product-info { padding: 20px; text-align: center; }
.product-info h3 { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 15px; }

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-img { height: 160px; }
    .product-info { padding: 12px; }
    .product-info h3 { font-size: 15px; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ============================================
   4. Home Applications Section
   ============================================ */
.home-applications { padding: 80px 0; background: #fff; }
.applications-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.app-card { position: relative; border-radius: 8px; overflow: hidden; }
.app-card-img { width: 100%; height: 350px; background-size: cover; background-position: center; position: relative; transition: transform 0.5s; }
.app-card:hover .app-card-img { transform: scale(1.05); }
.app-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 30px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; }
.app-card-overlay h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
@media (max-width: 768px) {
    .applications-grid { grid-template-columns: 1fr; }
    .app-card-img { height: 250px; }
}

/* ============================================
   5. Home Why Us Section
   ============================================ */
.home-whyus { padding: 80px 0; background: #f8f9fa; }
.whyus-intro { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.whyus-intro h3 { font-size: 28px; font-weight: 700; color: #333; margin-bottom: 20px; }
.whyus-intro p { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 25px; }
.whyus-intro .btn { padding: 12px 40px; font-size: 16px; background: #0086D1; color: #fff; border: none; border-radius: 5px; transition: background .3s; text-decoration: none; display: inline-block; }
.whyus-intro .btn:hover { background: #006ba6; }

.whyus-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { text-align: center; padding: 40px 30px; background: #fff; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { width: 80px; height: 80px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: #e8f4fd; border-radius: 50%; }
.feature-icon img { width: 40px; height: 40px; }
.feature-card h4 { font-size: 20px; font-weight: 700; color: #333; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: #666; line-height: 1.7; }
@media (max-width: 768px) {
    .whyus-features { grid-template-columns: 1fr; gap: 20px; }
    .feature-card { padding: 30px 20px; }
}

/* ============================================
   6. Home News Section
   ============================================ */
.home-news { padding: 80px 0; background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s; background: #fff; }
.news-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.news-img { width: 100%; height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-content { padding: 25px; }
.news-date { font-size: 13px; color: #999; margin-bottom: 8px; }
.news-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.news-content h3 a { color: #333; text-decoration: none; transition: color 0.3s; }
.news-content h3 a:hover { color: #0086D1; }
.news-excerpt { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 15px; }
.news-more { font-size: 14px; color: #0086D1; text-decoration: none; font-weight: 600; transition: color 0.3s; }
.news-more:hover { color: #005a8c; }
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* ============================================
   7. Footer
   ============================================ */
.site-footer { background: #1a1a2e; color: #ccc; }
.footer-top { padding: 60px 0 40px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; gap: 60px; }
.footer-col-left { flex: 0 0 350px; }
.footer-col-nav { flex: 1; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 45px; width: auto; }
.footer-slogan { font-size: 14px; color: #aaa; margin-bottom: 20px; line-height: 1.7; }
.footer-share { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-share .share-item { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background 0.3s; }
.footer-share .share-item:hover { background: rgba(255,255,255,.2); }
.footer-share .share-item img { width: 18px; height: 18px; }
.footer-contact { font-size: 14px; color: #aaa; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact a { color: #aaa; text-decoration: none; transition: color 0.3s; }
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { width: 16px; height: 16px; }

/* Footer Navigation */
.footer-nav-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; }
.footer-nav-list > li > a { color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; margin-bottom: 12px; display: block; }
.footer-nav-list > li > a:hover { color: #0086D1; }
.footer-nav-list .sub-menu { list-style: none; padding: 0; margin: 0; }
.footer-nav-list .sub-menu li { margin-bottom: 8px; }
.footer-nav-list .sub-menu li a { color: #999; font-size: 13px; text-decoration: none; transition: color 0.3s; }
.footer-nav-list .sub-menu li a:hover { color: #fff; }
.footer-nav-list .sub-menu .sub-menu { padding-left: 10px; margin-top: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #888; }
.footer-bottom a { color: #888; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom p { margin: 0; }

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-col-left { flex: 1; }
    .footer-nav-list { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================
   8. Single Article / Page
   ============================================ */
.single-article { padding: 40px 0; }
.article-meta { margin-bottom: 15px; }
.article-date { font-size: 14px; color: #999; }
.article-title { font-size: 28px; font-weight: 700; color: #333; margin-bottom: 20px; line-height: 1.4; }
.article-content { font-size: 16px; color: #444; line-height: 1.9; }
.article-content p { margin-bottom: 20px; }
.article-content h2 { font-size: 24px; margin-top: 40px; margin-bottom: 15px; color: #333; }
.article-content h3 { font-size: 20px; margin-top: 30px; margin-bottom: 10px; color: #333; }
.article-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 20px 0; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; }

/* ============================================
   9. News List / Archive
   ============================================ */
.news-card-row { display: flex; gap: 30px; padding: 30px 0; border-bottom: 1px solid #eee; }
.news-card-row:first-child { padding-top: 0; }
.news-card-img { flex: 0 0 250px; height: 170px; overflow: hidden; border-radius: 6px; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-content { flex: 1; }
.news-card-date { font-size: 13px; color: #999; margin-bottom: 8px; }
.news-card-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.news-card-content h3 a { color: #333; text-decoration: none; transition: color 0.3s; }
.news-card-content h3 a:hover { color: #0086D1; }
.news-card-content p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 10px; }
@media (max-width: 768px) {
    .news-card-row { flex-direction: column; gap: 15px; }
    .news-card-img { flex: none; width: 100%; height: 200px; }
}

/* Pagination */
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid #ddd; border-radius: 4px; color: #666; font-size: 14px; text-decoration: none; transition: all 0.3s; }
.pagination .page-numbers:hover { background: #f0f0f0; }
.pagination .page-numbers.current { background: #0086D1; border-color: #0086D1; color: #fff; }

/* ============================================
   10. Sidebar
   ============================================ */
.sidebar .widget { margin-bottom: 30px; }
.sidebar .widget-title { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #0086D1; }

/* ============================================
   11. Page Banner
   ============================================ */
.page-banner { position: relative; overflow: hidden; }
.page-banner h1 { text-shadow: 0 2px 4px rgba(0,0,0,.2); }

/* ============================================
   12. Page Content
   ============================================ */
.page-content { font-size: 16px; color: #444; line-height: 1.9; }
.page-content p { margin-bottom: 20px; }
.page-content h2 { font-size: 28px; margin-top: 40px; margin-bottom: 20px; }
.page-content h3 { font-size: 22px; margin-top: 30px; margin-bottom: 15px; }

/* ============================================
   13. Utility Classes
   ============================================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================
   14. Print & Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid #0086D1; outline-offset: 2px; }
