/* =====================================================
   Theme 17: Black White Classic - Components
   黑白经典报社风 - 组件样式与特效
   ===================================================== */

/* ============ 广告区报社风格 ============ */
.hero-banner {
  position: relative;
}

/* 红色分割线 */
.hero-banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #CC0000;
  z-index: 3;
}

/* 报纸网格背景 */
.hero-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

/* ============ 标题报社风 ============ */
.hero-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============ 按钮报社风格 ============ */
.btn-register {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-download {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============ 导航栏报社 ============ */
.site-header {
  border-bottom: 4px solid #CC0000;
}

.site-branding a {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-menu a {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
}

.nav-menu a::after {
  height: 2px;
  background: #CC0000;
}

.nav-btn {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ============ 卡片报社风格 ============ */
.post-card {
  border: 1px solid #E0E0E0;
  background: #fff;
  border-radius: 0;
}

.post-card:hover {
  border-color: #CC0000;
  box-shadow: none;
  transform: translateY(-2px);
}

.post-card-title {
  font-weight: 700;
}

/* ============ 页脚CTA报社 ============ */
.footer-cta-banner {
  background: #111111;
  border-top: 4px solid #CC0000;
}

/* ============ 滚动提示 ============ */
.scroll-hint .scroll-arrow {
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.3);
  border-radius: 0;
}

/* ============ 侧边栏widget ============ */
.widget {
  border: 1px solid #E0E0E0;
  border-radius: 0;
}

.widget-title {
  border-bottom: 2px solid #CC0000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ============ 文章内CTA ============ */
.in-content-cta {
  background: #111111;
  border: 2px solid #CC0000;
  border-radius: 0;
}

/* ============ 移动端FAB ============ */
.fab-register {
  border-radius: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(204,0,0,0); }
}

/* ============ 搜索表单 ============ */
.search-form input[type="search"] {
  border: 2px solid #E0E0E0;
  border-radius: 0;
}

.search-form button {
  border-radius: 0;
}

/* ============ 404页面 ============ */
.error-404 .page-title {
  color: #CC0000;
}

/* ============ 响应式微调 ============ */
@media (max-width: 767px) {
  .site-header {
    border-bottom: 3px solid #CC0000;
  }
}

/* === 赌场装饰增强 (经典红) [casino-enhance] === */

/* SVG装饰可见度提升 */
.hero-casino-decor svg {
  color: rgba(204,0,0,0.10);
  opacity: 0.5;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.06));
}

/* 装饰层光晕 */
.hero-casino-decor::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 扑克牌花色散布 */
.hero-casino-decor::before {
  content: '♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣';
  position: absolute;
  top: 15%;
  left: 5%;
  font-size: 1.8rem;
  letter-spacing: 1.2rem;
  color: rgba(204,0,0,0.10);
  opacity: 0.25;
  pointer-events: none;
  word-spacing: 1.5rem;
}

/* 页脚三栏增强 (暗色页脚) */
.footer-nav-section {
  background: var(--color-primary);
}

.footer-nav-title {
  color: #fff;
  border-bottom-color: var(--color-secondary);
}

.footer-nav-list a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-nav-list a:hover {
  color: #fff;
  padding-left: 4px;
}

/* 页脚CTA横幅 */
.footer-cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(255,255,255,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

/* 内页底部CTA */
.page-bottom-cta {
  background: linear-gradient(135deg, var(--color-primary), rgba(0,0,0,0.1));
  border-left: 4px solid var(--color-secondary);
  color: #fff;
}

.page-bottom-cta a {
  color: #fff;
}

/* 面包屑 */
.page-breadcrumb a {
  color: var(--color-secondary);
}

/* FAQ手风琴 */
.page-body details {
  border-left: 3px solid var(--color-secondary);
}

/* 联系卡片 */
.contact-card {
  border-top: 3px solid var(--color-secondary);
}


/* ============ Hero & Navigation — Classic Heritage Theme ============ */
/* Auto-generated by batch_theme_hero_css.php */

/* Navigation Glass */
.site-header {
  background: rgba(255,253,250,0.92);
}

.brand-icon { color: #B71C1C; }

.nav-link:hover { color: #B71C1C; }
.nav-link::after { background: #B71C1C; }

.hero-stats-bar {
  background: rgba(183,28,28,0.03);
  border-color: rgba(183,28,28,0.08);
}

.btn-register { --btn-register-glow: rgba(183,28,28,0.2); }

.scroll-arrow {
  background: rgba(0,0,0,0.03);
  border-color: rgba(183,28,28,0.08);
}

/* Theme-specific Effects */
.hero-title { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.02em; }
  .hero-stats-bar { background: rgba(183,28,28,0.02); border-color: rgba(183,28,28,0.08); }
  .hero-visual-wrapper svg { animation: heroVisualFloat 12s ease-in-out infinite; }


/* ============ Layout Variant B Enhancement ============ */
/* Auto-generated by batch_theme_layout_css.php */

/* Variant B Enhancement: Classic Heritage Cinematic */
.hero-banner[data-variant="B"] { background: linear-gradient(135deg, #FFF8F0 0%, #FFEFDB 50%, #FAEBD7 100%); }
.hero-banner[data-variant="B"]::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(183,28,28,0.05) 0%, transparent 60%);
  z-index: 1;
}
.hero-banner[data-variant="B"] .hero-stats-fullwidth .hero-stats-bar {
  background: linear-gradient(to top, rgba(183,28,28,0.08), rgba(255,255,255,0.6));
}
.site-header[data-nav-style="transparent"] .nav-link { color: #333; }
.site-header[data-nav-style="transparent"] .brand-name { color: #B71C1C; }
.site-header[data-nav-style="transparent"] .hamburger-line { background: #333; }

