/* =============================================
   91植物视频社区 - 主样式文件
   mssp0L.cn | 植物视频 | 植物测评 | 植物社区
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  color: #2d3a2e;
  background: #f8fdf5;
  line-height: 1.7;
}
a { color: #2e7d32; text-decoration: none; transition: color .25s; }
a:hover { color: #1b5e20; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---- Variables ---- */
:root {
  --green-dark:  #1b5e20;
  --green-main:  #2e7d32;
  --green-mid:   #388e3c;
  --green-light: #81c784;
  --green-pale:  #e8f5e9;
  --gold:        #c8a84b;
  --white:       #ffffff;
  --gray-light:  #f5f5f5;
  --gray-mid:    #9e9e9e;
  --text-dark:   #1a2e1b;
  --text-body:   #3a4a3b;
  --shadow:      0 4px 20px rgba(46,125,50,.12);
  --radius:      12px;
  --radius-sm:   6px;
}

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--gray-mid);
  font-size: .95rem;
  margin-bottom: 40px;
}

/* ---- Header ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(27,94,32,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo-text { color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: 2px; }
.logo-text span { color: var(--gold); }

/* Nav */
#main-nav ul { display: flex; gap: 4px; }
#main-nav ul li a {
  color: rgba(255,255,255,.88);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  transition: background .2s, color .2s;
}
#main-nav ul li a:hover,
#main-nav ul li a.active {
  background: var(--green-mid);
  color: #fff;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* Search bar */
.search-bar-wrap {
  background: var(--green-dark);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.search-bar-inner {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 6px 16px;
  gap: 10px;
}
.search-bar-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: .95rem;
}
.search-bar-inner input::placeholder { color: rgba(255,255,255,.55); }
.search-bar-inner button {
  background: var(--gold);
  border: none;
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  transition: background .2s;
}
.search-bar-inner button:hover { background: #a08030; }

/* Breadcrumb */
.breadcrumb {
  background: var(--green-pale);
  padding: 10px 0;
  font-size: .85rem;
  color: var(--gray-mid);
}
.breadcrumb a { color: var(--green-main); }
.breadcrumb span { margin: 0 6px; }

/* ---- Hero Banner ---- */
#hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-content h1 em { color: var(--gold); font-style: normal; }
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: .9;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--green-main);
  color: #fff;
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--green-main);
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-label { font-size: .82rem; opacity: .8; }

/* ---- Video Cards ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(46,125,50,.18); }
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #1a2e1b;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .3s;
}
.video-card:hover .play-btn { opacity: 1; }
.play-btn svg {
  width: 60px;
  height: 60px;
  fill: rgba(255,255,255,.92);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform .2s;
}
.video-card:hover .play-btn svg { transform: scale(1.1); }
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green-main);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .78rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }
.video-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--gray-mid); flex-wrap: wrap; }
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ---- Feature Modules ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s;
  border-top: 4px solid var(--green-main);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--text-body); line-height: 1.7; }

/* ---- Expert Cards ---- */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.expert-card:hover { transform: translateY(-5px); }
.expert-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 1.15rem; font-weight: 800; color: var(--green-dark); margin-bottom: 4px; }
.expert-role { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: .88rem; color: var(--text-body); line-height: 1.7; margin-bottom: 14px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.expert-btns { display: flex; gap: 10px; }
.btn-sm {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--green-main);
  transition: background .2s, color .2s;
}
.btn-sm.filled { background: var(--green-main); color: #fff; }
.btn-sm.filled:hover { background: var(--green-dark); }
.btn-sm.outline { background: transparent; color: var(--green-main); }
.btn-sm.outline:hover { background: var(--green-pale); }

/* ---- AI Section ---- */
.ai-section { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #1a237e 100%); }
.ai-section .section-title { color: #fff; }
.ai-section .section-subtitle { color: rgba(255,255,255,.7); }
.ai-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ai-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 28px 22px;
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background .25s, transform .25s;
}
.ai-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }
.ai-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.ai-card p { font-size: .87rem; opacity: .85; line-height: 1.7; }
.ai-icon { font-size: 2.2rem; margin-bottom: 12px; }

/* ---- Community ---- */
.community-section { background: var(--green-pale); }
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.community-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-main);
}
.community-card h4 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.community-card p { font-size: .87rem; color: var(--text-body); line-height: 1.7; }

/* ---- Reviews ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.review-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--green-pale);
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
  font-family: Georgia, serif;
}
.review-stars { color: #ffc107; font-size: 1rem; margin-bottom: 10px; }
.review-text { font-size: .9rem; color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.reviewer-name { font-weight: 700; font-size: .9rem; color: var(--text-dark); }
.reviewer-date { font-size: .78rem; color: var(--gray-mid); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: .97rem;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .2s;
}
.faq-question:hover { background: var(--green-pale); }
.faq-question .arrow { transition: transform .3s; font-size: 1.1rem; color: var(--green-main); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding: 0 22px;
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }

/* ---- Partners ---- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--green-dark);
  font-size: .95rem;
  border: 2px solid var(--green-pale);
  transition: border-color .2s, transform .2s;
}
.partner-logo:hover { border-color: var(--green-main); transform: translateY(-3px); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); margin-bottom: 16px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-text { font-size: .9rem; color: var(--text-body); line-height: 1.6; }
.qr-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.qr-item { text-align: center; }
.qr-item img { width: 120px; height: 120px; border-radius: var(--radius-sm); border: 2px solid var(--green-pale); }
.qr-item p { font-size: .8rem; color: var(--gray-mid); margin-top: 6px; }

/* ---- Share Bar ---- */
.share-bar {
  background: var(--green-pale);
  padding: 20px 0;
  text-align: center;
}
.share-bar p { font-size: .9rem; color: var(--text-body); margin-bottom: 12px; font-weight: 600; }
.share-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: #fff;
  transition: opacity .2s, transform .2s;
}
.share-btn:hover { opacity: .85; transform: translateY(-2px); }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #010101; }
.share-bilibili { background: #00a1d6; }
.share-qq { background: #1d7de6; }

/* ---- Footer ---- */
#site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
  padding: 50px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .logo-text { font-size: 1.3rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .85rem; line-height: 1.8; opacity: .75; }
.footer-col h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-logo-img { width: 36px; height: 36px; border-radius: 50%; margin-bottom: 10px; }

/* ---- Tabs ---- */
.tabs-nav { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 22px;
  border-radius: 20px;
  border: 2px solid var(--green-main);
  background: transparent;
  color: var(--green-main);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--green-main); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Badges & Labels ---- */
.badge-hot { background: #e53935; color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; margin-left: 6px; }
.badge-new { background: var(--green-main); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; margin-left: 6px; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.bg-light { background: var(--gray-light); }
.bg-green-pale { background: var(--green-pale); }
.hidden { display: none !important; }

/* ---- Interference tags (hidden) ---- */
.dz-hidden, [id^="dz"], [class^="dz"] { 
  display: none !important; 
  visibility: hidden !important; 
  position: absolute !important; 
  left: -9999px !important; 
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  #main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--green-dark); padding: 16px; }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 4px; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
}

/* ---- Sub-menu ---- */
.has-sub { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  min-width: 160px;
  padding: 8px 0;
  z-index: 999;
}
.has-sub:hover .sub-menu { display: block; }
.sub-menu li a {
  display: block;
  padding: 8px 18px;
  color: var(--text-body) !important;
  font-size: .88rem;
  background: none !important;
  transition: background .2s, color .2s;
}
.sub-menu li a:hover { background: var(--green-pale) !important; color: var(--green-main) !important; }

/* ---- Menu toggle ---- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---- Back to top ---- */
#back-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green-main);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  z-index: 999;
  transition: background .2s, transform .2s;
}
#back-top:hover { background: var(--green-dark); transform: translateY(-3px); }
#back-top.visible { display: flex; }

/* ---- Video modal ---- */
#video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#video-modal.open { display: flex; }
.modal-inner {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 860px;
  width: 95%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.35); }
.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  flex-direction: column;
  gap: 12px;
}

/* ---- Logo link ---- */
.logo { display: flex; align-items: center; gap: 10px; color: #fff !important; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ---- Responsive additions ---- */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.open .sub-menu { display: block; position: static; box-shadow: none; background: rgba(255,255,255,.08); border-radius: 6px; margin-top: 4px; }
  .has-sub.open .sub-menu li a { color: rgba(255,255,255,.8) !important; }
  .community-grid { grid-template-columns: 1fr; }
  .ai-cards { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Partners Logo Wall (首页品牌合作Logo墙) ---- */
.partners-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.partner-logo-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--green-pale);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  cursor: default;
}
.partner-logo-item:hover {
  border-color: var(--green-main);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(46,125,50,.16);
}
.partner-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.partner-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.partner-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ---- EEAT 信任徽章 ---- */
.eeat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.eeat-badge {
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1.5px solid var(--green-light);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, transform .2s;
}
.eeat-badge:hover {
  background: var(--green-main);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- 专家资质卡片补充 ---- */
.expert-credentials {
  background: #f0f9f0;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  font-size: .85rem;
  line-height: 1.8;
  color: var(--text-body);
  border-left: 3px solid var(--green-main);
}
.expert-social {
  font-size: .78rem;
  color: var(--gray-mid);
  margin-bottom: 12px;
  word-break: break-all;
}

/* ---- 合作品牌页Logo墙（cooperation页） ---- */
.coop-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.coop-logo-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--green-pale);
  transition: border-color .2s, transform .2s;
}
.coop-logo-card:hover {
  border-color: var(--green-main);
  transform: translateY(-3px);
}
.coop-logo-icon { font-size: 2rem; margin-bottom: 8px; }
.coop-logo-name { font-size: .82rem; font-weight: 700; color: var(--green-dark); }

/* ---- 视频卡片移动端touch优化 ---- */
@media (hover: none) {
  .play-btn { opacity: 0.7 !important; }
  .video-card:active .play-btn { opacity: 1 !important; }
  .video-card:active { transform: scale(0.98); }
}

/* ---- 移动端子菜单展开 ---- */
@media (max-width: 768px) {
  .has-sub .sub-menu { display: none; position: static; box-shadow: none; background: rgba(255,255,255,.08); border-radius: 0; padding: 0; }
  .has-sub.open .sub-menu { display: block; }
  .sub-menu li a { color: rgba(255,255,255,.85) !important; padding: 8px 28px; font-size: .85rem; }
  .sub-menu li a:hover { background: rgba(255,255,255,.12) !important; color: var(--gold) !important; }
  .partners-logo-wall { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .coop-logo-wall { grid-template-columns: repeat(3, 1fr); }
  .eeat-badges { gap: 8px; }
  .eeat-badge { font-size: .78rem; padding: 5px 12px; }
  .expert-credentials { font-size: .8rem; }
  .community-card h3 { font-size: .95rem; }
}
@media (max-width: 480px) {
  .partners-logo-wall { grid-template-columns: repeat(2, 1fr); }
  .coop-logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .tabs-nav { gap: 6px; }
  .tab-btn { padding: 7px 14px; font-size: .82rem; }
  .hero-stats { justify-content: center; }
}

/* ---- 面包屑样式 ---- */
.breadcrumb {
  background: var(--green-pale);
  padding: 10px 0;
  font-size: .85rem;
  color: var(--gray-mid);
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--green-main); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span:not(:last-child) { color: var(--gray-mid); }

/* ---- 视频卡片h4支持（社区页） ---- */
.video-info h4 { font-size: .95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }

/* ---- sr-only（屏幕阅读器专用） ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
