/*
Theme Name: 本心国医书院
Theme URI: https://guoyishuyuan.cn
Description: 本心国医书院官方站 WordPress 主题（由已验收静态站 1:1 移植，服务端渲染，适配 AI/GEO 收录）
Version: 1.0.0
Author: WorkBuddy
Tags: chinese-medicine, education, responsive
Text Domain: guoyi
*/


:root {
  --primary: #8B4513;
  --primary-light: #A0522D;
  --accent: #C0392B;
  --accent-light: #E74C3C;
  --gold: #D4A76A;
  --gold-light: #F5DEB3;
  --bg-cream: #FDF8F0;
  --bg-warm: #F5EDE0;
  --text-dark: #2C1810;
  --text-medium: #5D4037;
  --text-light: #8D6E63;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(139,69,19,0.08);
  --shadow-hover: 0 8px 30px rgba(139,69,19,0.15);
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:80px; }
body {
  font-family: "PingFang SC","Microsoft YaHei","Hiragino Sans GB",sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height:1.7;
  overflow-x:hidden;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color: var(--primary); transition:0.3s; }
a:hover { color: var(--accent); }

/* ===== NAVBAR ===== */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(253,248,240,0.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(139,69,19,0.1);
  transition:0.3s;
}
.navbar-inner {
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:flex; align-items:center; justify-content:space-between; height:70px;
}
.navbar-logo {
  font-size:22px; font-weight:700; color:var(--primary);
  display:flex; align-items:center; gap:8px;
}
.navbar-logo span { color:var(--primary); }
.navbar-links { display:flex; gap:28px; align-items:center; }
.navbar-links a {
  font-size:14px; color:var(--text-medium); font-weight:500;
  position:relative; padding:4px 0;
}
.navbar-links a::after {
  content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
  background:var(--accent); transition:0.3s;
}
.navbar-links a:hover::after { width:100%; }
.navbar-links a:hover { color:var(--primary); }
.navbar-cta {
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  color:#fff !important; padding:8px 20px; border-radius:20px;
  font-size:13px; font-weight:600;
}
.navbar-cta:hover { transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.mobile-menu-btn { display:none; background:none; border:none; font-size:24px; cursor:pointer; color:var(--primary); }

/* ===== HERO ===== */
.hero {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
  background: linear-gradient(135deg, #2C1810 0%, #5D4037 50%, #8B4513 100%);
}
.hero-bg {
  position:absolute; inset:0; opacity:0.3;
  background: url('images/banner_main.png') center/cover no-repeat;
}
.hero-overlay {
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(44,24,16,0.7) 0%, rgba(44,24,16,0.4) 50%, rgba(44,24,16,0.8) 100%);
}
.hero-content {
  position:relative; z-index:2; text-align:center; color:#fff; padding:120px 20px 80px;
  max-width:800px;
}
.hero-subtitle {
  font-size:16px; letter-spacing:8px; text-transform:uppercase;
  color:var(--gold); margin-bottom:20px; opacity:0.9;
}
.hero h1 {
  font-size:56px; font-weight:700; margin-bottom:16px;
  text-shadow:0 4px 20px rgba(0,0,0,0.3); line-height:1.2;
}
.hero h1 span { color:var(--gold); }
.hero-slogan {
  font-size:22px; color:var(--gold-light); margin-bottom:40px;
  font-weight:300; letter-spacing:2px;
}
.hero-desc {
  font-size:16px; color:rgba(255,255,255,0.8); max-width:600px; margin:0 auto 40px;
  line-height:1.8;
}
.hero-btns { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.btn-primary {
  display:inline-block; padding:14px 36px; background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:var(--text-dark); font-weight:600; border-radius:30px; font-size:15px;
  transition:0.3s; border:none; cursor:pointer;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 8px 25px rgba(212,167,106,0.4); }
.btn-outline {
  display:inline-block; padding:14px 36px; background:transparent;
  color:#fff; font-weight:600; border-radius:30px; font-size:15px;
  border:2px solid rgba(255,255,255,0.4); transition:0.3s;
}
.btn-outline:hover { background:rgba(255,255,255,0.1); border-color:#fff; }
.hero-scroll {
  position:absolute; bottom:30px; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,0.6); font-size:12px; text-align:center;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(-10px);} }

/* ===== SECTION COMMON ===== */
.section { padding:80px 20px; }
.section-inner { max-width:1200px; margin:0 auto; }
.section-header { text-align:center; margin-bottom:50px; }
.section-tag {
  display:inline-block; background:var(--accent); color:#fff; font-size:12px;
  padding:4px 16px; border-radius:20px; margin-bottom:12px; font-weight:600;
}
.section-header h2 {
  font-size:36px; font-weight:700; color:var(--primary); margin-bottom:12px;
}
.section-header p {
  font-size:16px; color:var(--text-light); max-width:600px; margin:0 auto;
}

/* ===== ABOUT ===== */
.about-section { background:var(--white); }
.about-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;
}
.about-img { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.about-img img { width:100%; height:400px; object-fit:cover; }
.about-content h3 {
  font-size:28px; color:var(--primary); margin-bottom:16px;
}
.about-content .about-text {
  font-size:15px; color:var(--text-medium); line-height:1.9; margin-bottom:30px;
}
.about-features { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; }
.about-feature {
  text-align:center; padding:24px 16px; background:var(--bg-cream);
  border-radius:var(--radius-sm); transition:0.3s;
}
.about-feature:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.about-feature-icon {
  width:50px; height:50px; margin:0 auto 12px;
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:22px;
}
.about-feature h4 { font-size:15px; color:var(--primary); margin-bottom:6px; }
.about-feature p { font-size:13px; color:var(--text-light); line-height:1.6; }

/* ===== CHANNELS ===== */
.channels-section { background:var(--bg-warm); }
.channels-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.channel-card {
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); transition:0.3s; text-align:center; padding-bottom:24px;
}
.channel-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-hover); }
.channel-card-img { height:160px; overflow:hidden; }
.channel-card-img img { width:100%; height:100%; object-fit:cover; transition:0.5s; }
.channel-card:hover .channel-card-img img { transform:scale(1.05); }
.channel-card-icon {
  width:60px; height:60px; margin:-30px auto 16px;
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:26px; color:#fff; border:4px solid var(--white);
}
.channel-card h3 { font-size:18px; color:var(--primary); margin-bottom:8px; }
.channel-card p { font-size:13px; color:var(--text-light); padding:0 20px; line-height:1.6; }
.channel-card .channel-link {
  display:inline-block; margin-top:12px; font-size:13px; color:var(--accent);
  font-weight:600;
}
.channel-card .channel-link:hover { text-decoration:underline; }

/* ===== COURSES ===== */
.courses-section { background:var(--white); }
.courses-tabs {
  display:flex; justify-content:center; gap:12px; margin-bottom:40px;
}
.course-tab {
  padding:10px 28px; border-radius:30px; border:2px solid var(--gold);
  background:transparent; color:var(--primary); font-size:14px; font-weight:600;
  cursor:pointer; transition:0.3s;
}
.course-tab.active, .course-tab:hover {
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  color:#fff; border-color:transparent;
}
.courses-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.course-card {
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); transition:0.3s; border:1px solid rgba(139,69,19,0.08);
}
.course-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.course-card-img { height:180px; overflow:hidden; position:relative; }
.course-card-img img { width:100%; height:100%; object-fit:cover; transition:0.5s; }
.course-card:hover .course-card-img img { transform:scale(1.05); }
.course-card-tag {
  position:absolute; top:12px; left:12px;
  background:var(--accent); color:#fff; font-size:11px; padding:4px 12px;
  border-radius:4px; font-weight:600;
}
.course-card-body { padding:20px; }
.course-card-body h3 { font-size:17px; color:var(--primary); margin-bottom:8px; }
.course-card-body p { font-size:13px; color:var(--text-light); line-height:1.6; }
.course-card-meta {
  display:flex; gap:16px; margin-top:12px; padding-top:12px;
  border-top:1px solid rgba(139,69,19,0.08);
}
.course-card-meta span { font-size:12px; color:var(--text-light); }

/* ===== FOLLOW TEACHER ===== */
.follow-section { background:var(--bg-warm); }
.follow-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.follow-content h3 { font-size:26px; color:var(--primary); margin-bottom:16px; }
.follow-content > p { font-size:15px; color:var(--text-medium); line-height:1.8; margin-bottom:24px; }
.follow-steps {
  display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-bottom:24px;
}
.follow-step {
  text-align:center; padding:16px 8px; background:var(--white);
  border-radius:var(--radius-sm); position:relative;
}
.follow-step-num {
  width:32px; height:32px; margin:0 auto 8px;
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  color:#fff; border-radius:50%; display:flex; align-items:center;
  justify-content:center; font-size:14px; font-weight:700;
}
.follow-step p { font-size:12px; color:var(--text-medium); font-weight:600; }
.follow-features { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.follow-feature {
  display:flex; align-items:center; gap:10px; padding:12px 16px;
  background:var(--white); border-radius:var(--radius-sm);
}
.follow-feature-icon { font-size:20px; }
.follow-feature span { font-size:13px; color:var(--text-medium); font-weight:500; }
.follow-img { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.follow-img img { width:100%; height:100%; object-fit:cover; min-height:400px; }

/* ===== HOSPITALS ===== */
.hospitals-section { background:var(--white); }
.hospitals-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;
}
.hospitals-content h3 { font-size:26px; color:var(--primary); margin-bottom:16px; }
.hospitals-content > p { font-size:15px; color:var(--text-medium); line-height:1.8; margin-bottom:20px; }
.hospitals-list {
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px;
}
.hospital-item {
  display:flex; align-items:center; gap:10px; padding:12px;
  background:var(--bg-cream); border-radius:var(--radius-sm);
}
.hospital-item img { width:36px; height:36px; object-fit:contain; border-radius:4px; }
.hospital-item span { font-size:13px; color:var(--text-medium); font-weight:500; }
.hospitals-target {
  background:linear-gradient(135deg,rgba(139,69,19,0.05),rgba(212,167,106,0.1));
  padding:20px; border-radius:var(--radius); border-left:4px solid var(--primary);
}
.hospitals-target h4 { font-size:15px; color:var(--primary); margin-bottom:8px; }
.hospitals-target p { font-size:13px; color:var(--text-light); line-height:1.7; }
.hospitals-img { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.hospitals-img img { width:100%; height:400px; object-fit:cover; }
.hospital-gallery { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hospital-gallery img { width:100%; height:190px; object-fit:cover; border-radius:var(--radius-sm); }
.hospital-gallery img:first-child { grid-column:1 / -1; height:200px; }

/* ===== EXPERTS ===== */
.experts-section { background:var(--bg-warm); }
.experts-tabs {
  display:flex; justify-content:center; gap:8px; margin-bottom:40px; flex-wrap:wrap;
}
.expert-tab {
  padding:8px 20px; border-radius:20px; border:1px solid var(--gold);
  background:transparent; color:var(--primary); font-size:13px; font-weight:600;
  cursor:pointer; transition:0.3s;
}
.expert-tab.active, .expert-tab:hover {
  background:var(--primary); color:#fff; border-color:var(--primary);
}
.experts-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.expert-card {
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); transition:0.3s; text-align:center; padding-bottom:20px;
}
.expert-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.expert-card-img {
  width:100%; height:200px; overflow:hidden; position:relative;
}
.expert-card-img img { width:100%; height:100%; object-fit:cover; object-position:top; }
.expert-card-tag {
  position:absolute; bottom:10px; right:10px;
  background:var(--accent); color:#fff; font-size:10px; padding:3px 10px;
  border-radius:4px; font-weight:600;
}
.expert-card h4 { font-size:16px; color:var(--primary); margin:14px 0 4px; padding:0 12px; }
.expert-card .expert-title { font-size:12px; color:var(--accent); font-weight:600; margin-bottom:8px; }
.expert-card p { font-size:12px; color:var(--text-light); padding:0 16px; line-height:1.6; }

/* ===== NEWS ===== */
.news-section { background:var(--white); }
.news-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.news-card {
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); transition:0.3s; border:1px solid rgba(139,69,19,0.06);
}
.news-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.news-card-img { height:180px; overflow:hidden; }
.news-card-img img { width:100%; height:100%; object-fit:cover; transition:0.5s; }
.news-card:hover .news-card-img img { transform:scale(1.05); }
.news-card-body { padding:18px; }
.news-card-meta {
  display:flex; gap:12px; margin-bottom:10px;
}
.news-card-meta .news-category {
  font-size:11px; color:var(--accent); font-weight:600;
  background:rgba(192,57,43,0.08); padding:2px 10px; border-radius:4px;
}
.news-card-meta .news-date { font-size:11px; color:var(--text-light); }
.news-card-body h3 { font-size:15px; color:var(--primary); margin-bottom:8px; line-height:1.5; }
.news-card-body p { font-size:13px; color:var(--text-light); line-height:1.6; }
.news-more {
  text-align:center; margin-top:40px;
}

/* ===== FAQ ===== */
.faq-section { background:var(--bg-warm); }
.faq-search {
  max-width:500px; margin:0 auto 40px; position:relative;
}
.faq-search input {
  width:100%; padding:14px 20px 14px 48px; border-radius:30px;
  border:2px solid var(--gold); background:var(--white); font-size:14px;
  outline:none; transition:0.3s;
}
.faq-search input:focus { border-color:var(--primary); }
.faq-search-icon {
  position:absolute; left:18px; top:50%; transform:translateY(-50%);
  font-size:18px; color:var(--text-light);
}
.faq-list { max-width:800px; margin:0 auto; }
.faq-item {
  background:var(--white); border-radius:var(--radius-sm); margin-bottom:12px;
  overflow:hidden; box-shadow:var(--shadow);
}
.faq-question {
  padding:18px 24px; display:flex; justify-content:space-between; align-items:center;
  cursor:pointer; font-size:15px; font-weight:600; color:var(--primary);
  transition:0.3s;
}
.faq-question:hover { background:rgba(139,69,19,0.03); }
.faq-question::after {
  content:'+'; font-size:20px; color:var(--accent); font-weight:400;
  transition:0.3s;
}
.faq-item.open .faq-question::after { content:'−'; }
.faq-answer {
  max-height:0; overflow:hidden; transition:0.3s;
  padding:0 24px;
}
.faq-item.open .faq-answer {
  max-height:300px; padding:0 24px 18px;
}
.faq-answer p { font-size:14px; color:var(--text-medium); line-height:1.8; }

/* ===== CONTACT ===== */
.contact-section { background:linear-gradient(135deg, #2C1810, #5D4037); color:#fff; }
.contact-section .section-header h2 { color:var(--gold); }
.contact-section .section-header p { color:rgba(255,255,255,0.7); }
.contact-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;
}
.contact-info h3 { font-size:22px; color:var(--gold); margin-bottom:20px; }
.contact-item {
  display:flex; align-items:flex-start; gap:14px; margin-bottom:20px;
}
.contact-item-icon {
  width:44px; height:44px; background:rgba(212,167,106,0.2);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:20px; flex-shrink:0;
}
.contact-item h4 { font-size:15px; color:var(--gold-light); margin-bottom:4px; }
.contact-item p { font-size:14px; color:rgba(255,255,255,0.8); }
.contact-item a { color:var(--gold-light); }
.contact-item a:hover { color:var(--gold); }
.phone-link { font-size:18px; font-weight:600; color:var(--gold); padding:8px 16px; background:rgba(212,167,106,0.15); border-radius:8px; display:inline-block; }
.phone-link:hover { background:rgba(212,167,106,0.25); color:var(--gold-light); }
.contact-form {
  background:rgba(255,255,255,0.05); padding:32px; border-radius:var(--radius);
  border:1px solid rgba(212,167,106,0.2);
}
.contact-form h3 { font-size:18px; color:var(--gold); margin-bottom:20px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; color:var(--gold-light); margin-bottom:6px; }
.form-group input, .form-group textarea, .form-group select {
  width:100%; padding:12px 16px; border-radius:var(--radius-sm);
  border:1px solid rgba(212,167,106,0.3); background:rgba(255,255,255,0.08);
  color:#fff; font-size:14px; outline:none; transition:0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color:var(--gold);
}
.form-group input::placeholder, .form-group textarea::placeholder { color:rgba(255,255,255,0.4); }
.form-group textarea { min-height:100px; resize:vertical; }
.form-group select { color:#fff; }
.form-group select option { background:#2C1810; color:#fff; }

/* ===== FOOTER ===== */
.footer {
  background:#1A0F0A; color:rgba(255,255,255,0.6); padding:50px 20px 20px;
}
.footer-inner { max-width:1200px; margin:0 auto; }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px;
}
.footer-brand h3 { font-size:20px; color:var(--gold); margin-bottom:12px; }
.footer-brand p { font-size:13px; line-height:1.8; }
.footer-col h4 { font-size:14px; color:var(--gold-light); margin-bottom:16px; font-weight:600; }
.footer-col a {
  display:block; font-size:13px; color:rgba(255,255,255,0.5);
  margin-bottom:10px; transition:0.3s;
}
.footer-col a:hover { color:var(--gold); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08); padding-top:20px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.footer-bottom p { font-size:12px; }
.footer-bottom a { color:rgba(255,255,255,0.5); font-size:12px; }
.footer-bottom a:hover { color:var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .channels-grid { grid-template-columns:repeat(2,1fr); }
  .experts-grid { grid-template-columns:repeat(3,1fr); }
  .news-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 768px) {
  .navbar-links { display:none; position:absolute; top:70px; left:0; right:0; background:var(--bg-cream); flex-direction:column; padding:20px; gap:16px; box-shadow:var(--shadow); }
  .navbar-links.active { display:flex; }
  .mobile-menu-btn { display:block; }
  .hero h1 { font-size:36px; }
  .hero-slogan { font-size:18px; }
  .about-grid, .follow-grid, .hospitals-grid, .contact-grid { grid-template-columns:1fr; }
  .channels-grid, .courses-grid, .experts-grid, .news-grid { grid-template-columns:1fr; }
  .about-features { grid-template-columns:1fr; }
  .follow-steps { grid-template-columns:repeat(3,1fr); }
  .hospitals-list { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
}
@media (max-width: 480px) {
  .follow-steps { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity:0; transform:translateY(30px);
  transition:opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track { background:var(--bg-cream); }
::-webkit-scrollbar-thumb { background:var(--gold); border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:var(--primary); }
/* ===== MODAL & LIGHTBOX ===== */
.course-modal, .lightbox {
  position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,0.7);
  display:flex; align-items:center; justify-content:center;
  padding:20px; backdrop-filter:blur(4px);
}
.course-modal-content {
  background:var(--white); border-radius:var(--radius);
  max-width:560px; width:100%; padding:36px;
  position:relative; animation:modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity:0; transform:translateY(30px) scale(0.95); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
.course-modal-close, .lightbox-close {
  position:absolute; top:14px; right:18px;
  background:none; border:none; font-size:28px; color:var(--text-light);
  cursor:pointer; width:36px; height:36px; line-height:36px;
  border-radius:50%; transition:0.2s;
}
.course-modal-close:hover, .lightbox-close:hover { background:rgba(0,0,0,0.06); color:var(--primary); }
.course-modal-tag {
  display:inline-block; background:var(--accent); color:#fff;
  font-size:12px; padding:4px 14px; border-radius:4px; margin-bottom:12px;
}
.course-modal-content h3 { font-size:22px; color:var(--primary); margin-bottom:8px; }
.course-modal-meta { display:flex; gap:20px; margin-bottom:16px; }
.course-modal-meta span { font-size:13px; color:var(--text-light); }
.course-modal-desc { font-size:14px; color:var(--text); line-height:1.8; margin-bottom:24px; }
.lightbox img { max-width:90vw; max-height:85vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,0.4); }
.lightbox-close { top:20px; right:24px; color:#fff; font-size:36px; z-index:1; }

/* ===== COURSE CARD CLICKABLE ===== */
.course-card { cursor:pointer; }

/* ===== CHANNEL CARD AS LINK ===== */
.channel-card-link { display:block; text-decoration:none; color:inherit; }
.channel-card-link:hover .channel-card-img img { transform:scale(1.05); }
.channel-card-link .channel-link { display:inline-block; margin-top:12px; color:var(--primary); font-weight:600; font-size:14px; }

/* ===== COURSE SIGNUP FORM ===== */
.signup-box { margin-top:22px; padding:18px; background:#f8f5f0; border-radius:10px; border:1px solid var(--border); }
.signup-box h4 { font-size:16px; color:var(--primary); margin-bottom:12px; }
.signup-box input { width:100%; padding:10px 12px; margin-bottom:10px; border:1px solid var(--border); border-radius:6px; font-size:14px; font-family:inherit; box-sizing:border-box; }
.signup-box input:focus { border-color:var(--gold); outline:none; }
.signup-box .btn { width:100%; }
.signup-msg { font-size:13px; text-align:center; margin-top:8px; min-height:18px; }
.signup-msg.ok { color:var(--green); }
.signup-msg.err { color:var(--red); }


/* ===== STANDALONE PAGES ===== */
.page-hero{background:linear-gradient(135deg,#8B4513,#A0522D);color:#fff;padding:130px 20px 64px;text-align:center}
.page-hero h1{font-size:34px;margin-bottom:14px;font-weight:700}
.page-hero p{opacity:.92;max-width:780px;margin:0 auto;font-size:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:768px){.grid-2,.grid-3{grid-template-columns:1fr}}
.expert-cat{font-size:22px;color:var(--primary);margin:40px 0 18px;padding-left:12px;border-left:4px solid var(--gold)}
.lead-text{max-width:880px;margin:0 auto 36px;color:var(--text-medium);line-height:1.95;font-size:16px}
.faq-item{border-bottom:1px solid rgba(139,69,19,.12);padding:20px 0}
.faq-item h3{font-size:17px;color:var(--text-dark);margin-bottom:10px;font-weight:600}
.faq-item p{color:var(--text-medium);line-height:1.85}
.proc-steps{counter-reset:step;max-width:760px;margin:0 auto;padding:0}
.proc-steps li{list-style:none;position:relative;padding:14px 0 14px 52px;border-bottom:1px dashed rgba(139,69,19,.15)}
.proc-steps li:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:12px;width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}

/* ===== 文章正文排版（GEO 平台发文图片/文字适配） ===== */
.lead-text { color:#333; }
.lead-text p { margin:0 0 1.2em; }
.lead-text img { max-width:100%; height:auto; display:block; margin:1.6em auto; border-radius:10px; box-shadow:0 6px 22px rgba(0,0,0,.08); }
.lead-text h2, .lead-text h3, .lead-text h4 { margin:1.6em 0 .6em; color:var(--primary); line-height:1.4; font-weight:700; }
.lead-text h2 { font-size:1.4em; }
.lead-text h3 { font-size:1.2em; }
.lead-text ul, .lead-text ol { margin:0 0 1.2em 1.4em; }
.lead-text li { margin:.45em 0; }
.lead-text a { color:var(--primary); text-decoration:underline; }
.lead-text blockquote { margin:1.4em 0; padding:.9em 1.2em; background:#faf6f0; border-left:4px solid var(--primary); border-radius:6px; color:#555; }
.lead-text table { width:100%; border-collapse:collapse; margin:1.4em 0; }
.lead-text th, .lead-text td { border:1px solid #e8ddd0; padding:.6em .8em; }
.aligncenter { display:block; margin:1.6em auto; }
.alignleft { float:left; margin:0 1.2em 1em 0; }
.alignright { float:right; margin:0 0 1em 1.2em; }
.wp-caption { max-width:100%; }
.wp-caption-text { font-size:13px; color:#888; text-align:center; margin-top:.4em; }
.section-title { font-size:1.5em; color:var(--primary); margin:0 0 1em; font-weight:700; }
a.news-card { text-decoration:none; color:inherit; display:block; }
