/* ============================================
   大象传媒 (Elephant Media) - 主样式表
   设计风格：纪实摄影/新闻调查风格
   CSS前缀：em-
   ============================================ */

/* --- 干扰标签隐藏 --- */
.docu-jammer-block { display: none; }

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Roboto", "Source Han Sans CN", "Noto Sans SC", sans-serif;
  background-color: #111111;
  color: #EAEAEA;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: #0074D9;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #FF4136;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
}

ul, ol {
  list-style: none;
}

/* --- 响应式容器 --- */
.em-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .em-container { padding: 0 40px; }
}

@media (min-width: 1024px) {
  .em-container { padding: 0 60px; }
}

/* --- 导航栏 (非Sticky) --- */
#em-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #DDDDDD;
  padding: 0;
  position: relative;
  z-index: 100;
}

.em-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.em-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.em-logo-img {
  height: 40px;
  width: auto;
}

.em-logo-text {
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.05em;
}

.em-nav-list {
  display: none;
  gap: 0;
}

@media (min-width: 768px) {
  .em-nav-list {
    display: flex;
    gap: 8px;
  }
}

.em-nav-item a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: #444444;
  font-weight: 500;
  transition: color 0.15s ease;
}

.em-nav-item a:hover,
.em-nav-item a.em-active {
  color: #0074D9;
}

/* --- 汉堡菜单 --- */
.em-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

@media (min-width: 768px) {
  .em-hamburger { display: none; }
}

.em-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333333;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.em-hamburger.em-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.em-hamburger.em-open span:nth-child(2) {
  opacity: 0;
}

.em-hamburger.em-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- 侧边移动菜单 --- */
.em-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 999;
  transition: right 0.3s ease;
  padding: 80px 30px 30px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
}

.em-mobile-menu.em-open {
  right: 0;
}

.em-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
}

.em-mobile-overlay.em-open {
  display: block;
}

.em-mobile-menu .em-mobile-nav-item {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  color: #333333;
  border-bottom: 1px solid #EEEEEE;
  font-weight: 500;
}

.em-mobile-menu .em-mobile-nav-item:hover {
  color: #0074D9;
}

.em-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333333;
  cursor: pointer;
}

/* --- 通用模块样式 --- */
.em-section {
  padding: 60px 0;
  border-bottom: 1px solid #222222;
}

.em-section:last-child {
  border-bottom: none;
}

.em-section-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.em-section-subtitle {
  font-size: 0.95rem;
  color: #999999;
  margin-bottom: 40px;
  font-style: italic;
}

/* --- 卡片网格 --- */
.em-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .em-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .em-card-grid { grid-template-columns: repeat(3, 1fr); }
}

.em-card {
  border: 1px solid #333333;
  background-color: #1A1A1A;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.em-card:hover {
  border-color: #555555;
}

.em-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.em-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.em-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 2px 6px;
}

.em-card-body {
  padding: 16px;
}

.em-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #EAEAEA;
  margin-bottom: 8px;
  line-height: 1.4;
}

.em-card-meta {
  font-size: 0.8rem;
  color: #777777;
}

/* --- 人物访谈模块 --- */
.em-interview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .em-interview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .em-interview-grid { grid-template-columns: repeat(3, 1fr); }
}

.em-interview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #333333;
  background: #1A1A1A;
}

.em-interview-portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.em-interview-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.em-interview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.em-interview-card:hover .em-interview-overlay {
  opacity: 1;
}

.em-interview-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.em-interview-role {
  font-size: 0.85rem;
  color: #CCCCCC;
  margin-top: 4px;
}

.em-interview-quote {
  padding: 16px;
  font-size: 0.9rem;
  color: #BBBBBB;
  font-style: italic;
  border-left: 3px solid #FF4136;
  margin: 0;
}

/* --- 深度专题模块 --- */
.em-feature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .em-feature-layout { grid-template-columns: 2fr 1fr; }
}

.em-feature-main {
  border: 1px solid #333333;
  background: #1A1A1A;
  overflow: hidden;
}

.em-feature-main-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.em-feature-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.em-feature-main-body {
  padding: 24px;
}

.em-feature-main-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.em-feature-main-excerpt {
  font-size: 0.9rem;
  color: #AAAAAA;
  line-height: 1.7;
}

.em-feature-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.em-feature-side-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #333333;
  background: #1A1A1A;
}

.em-feature-side-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.em-feature-side-title {
  font-size: 0.85rem;
  color: #EAEAEA;
  font-weight: 600;
  line-height: 1.4;
}

.em-feature-side-date {
  font-size: 0.75rem;
  color: #777777;
  margin-top: 4px;
}

/* --- 招募/征集模块 --- */
.em-recruit-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .em-recruit-section { flex-direction: row; }
}

.em-recruit-text {
  flex: 1;
}

.em-recruit-text p {
  font-size: 0.95rem;
  color: #BBBBBB;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* --- 按钮样式 --- */
.em-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  text-align: center;
}

.em-btn:hover {
  opacity: 0.85;
}

.em-btn-primary {
  background-color: #FF4136;
  color: #FFFFFF;
}

.em-btn-secondary {
  background-color: #333333;
  color: #EAEAEA;
}

.em-btn-outline {
  background-color: transparent;
  border: 1px solid #EAEAEA;
  color: #EAEAEA;
}

/* --- 线索征集表单 --- */
.em-tip-form {
  max-width: 600px;
  margin: 0 auto;
}

.em-input {
  width: 100%;
  padding: 12px 0;
  font-size: 0.95rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid #555555;
  color: #EAEAEA;
  outline: none;
  margin-bottom: 20px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.em-input:focus {
  border-bottom-color: #0074D9;
}

.em-textarea {
  width: 100%;
  padding: 12px 0;
  font-size: 0.95rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid #555555;
  color: #EAEAEA;
  outline: none;
  margin-bottom: 20px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s ease;
}

.em-textarea:focus {
  border-bottom-color: #0074D9;
}

/* --- 会员订阅模块 --- */
.em-membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .em-membership-grid { grid-template-columns: repeat(3, 1fr); }
}

.em-membership-card {
  border: 1px solid #333333;
  padding: 32px 24px;
  text-align: center;
  background: #1A1A1A;
}

.em-membership-card.em-featured {
  border-color: #FF4136;
}

.em-membership-tier {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.em-membership-price {
  font-size: 2rem;
  font-weight: 700;
  color: #FF4136;
  margin-bottom: 20px;
}

.em-membership-price span {
  font-size: 0.85rem;
  color: #999999;
  font-weight: 400;
}

.em-membership-features {
  text-align: left;
  margin-bottom: 24px;
}

.em-membership-features li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: #BBBBBB;
  border-bottom: 1px solid #222222;
}

.em-membership-features li::before {
  content: "—";
  margin-right: 8px;
  color: #555555;
}

/* --- 广告合作 --- */
.em-ad-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.em-ad-section p {
  font-size: 0.95rem;
  color: #BBBBBB;
  margin-bottom: 16px;
  line-height: 1.8;
}

.em-ad-email {
  font-size: 1.1rem;
  color: #0074D9;
  font-weight: 600;
}

/* --- APP下载模块 --- */
.em-app-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@media (min-width: 768px) {
  .em-app-section { flex-direction: row; justify-content: center; }
}

.em-app-mockup {
  max-width: 360px;
  width: 100%;
}

.em-app-info {
  text-align: center;
}

@media (min-width: 768px) {
  .em-app-info { text-align: left; }
}

.em-app-info p {
  font-size: 0.95rem;
  color: #BBBBBB;
  margin-bottom: 20px;
}

.em-app-qr {
  max-width: 160px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .em-app-qr { margin: 0; }
}

.em-app-stores {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .em-app-stores { justify-content: flex-start; }
}

.em-store-btn {
  padding: 10px 20px;
  background: #333333;
  color: #EAEAEA;
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- 关于传媒 --- */
.em-about-brief {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.em-about-brief blockquote {
  font-size: 1.05rem;
  color: #CCCCCC;
  font-style: italic;
  border-left: 3px solid #FF4136;
  padding-left: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.em-about-brief p {
  font-size: 0.95rem;
  color: #BBBBBB;
  line-height: 1.8;
}

/* --- 页脚 --- */
#em-footer {
  background-color: #0A0A0A;
  border-top: 1px solid #222222;
  padding: 50px 0 30px;
}

.em-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .em-footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.em-footer-col h4 {
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 700;
}

.em-footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #888888;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.em-footer-col a:hover {
  color: #EAEAEA;
}

.em-footer-social {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.em-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #444444;
  color: #AAAAAA;
  font-size: 0.85rem;
  font-weight: 700;
}

.em-footer-social a:hover {
  border-color: #0074D9;
  color: #0074D9;
}

.em-footer-bottom {
  border-top: 1px solid #222222;
  padding-top: 20px;
  text-align: center;
}

.em-footer-bottom p {
  font-size: 0.75rem;
  color: #666666;
  margin-bottom: 6px;
  line-height: 1.6;
}

.em-footer-license {
  font-size: 0.7rem;
  color: #555555;
  margin-top: 8px;
}

/* --- 内页样式 --- */
.em-page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid #222222;
}

.em-page-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.em-page-hero p {
  font-size: 0.95rem;
  color: #999999;
  max-width: 700px;
}

/* --- 内容页正文 --- */
.em-article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.em-article-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.em-article-content h3 {
  font-size: 1.2rem;
  margin: 30px 0 12px;
}

.em-article-content p {
  font-size: 0.95rem;
  color: #CCCCCC;
  margin-bottom: 20px;
  line-height: 1.85;
}

.em-article-content blockquote {
  border-left: 3px solid #FF4136;
  padding: 16px 20px;
  margin: 24px 0;
  background: #1A1A1A;
  font-style: italic;
  color: #BBBBBB;
}

.em-article-content figure {
  margin: 30px 0;
}

.em-article-content figcaption {
  font-size: 0.8rem;
  color: #777777;
  margin-top: 8px;
  text-align: center;
}

/* --- APP下载独立页 --- */
.em-app-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.em-app-page-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.em-app-page-subtitle {
  font-size: 1.1rem;
  color: #999999;
  margin-bottom: 40px;
  max-width: 500px;
}

.em-app-page-mockup {
  max-width: 320px;
  margin-bottom: 40px;
}

.em-app-page-qr {
  max-width: 180px;
  margin-bottom: 24px;
}

/* --- 警示标签 --- */
.em-warning-tag {
  display: inline-block;
  background: #FF4136;
  color: #FFFFFF;
  font-size: 0.7rem;
  padding: 2px 8px;
  margin-left: 10px;
  font-weight: 600;
  vertical-align: middle;
}

/* --- 街头实验卡片 --- */
.em-experiment-card {
  border: 1px solid #333333;
  background: #1A1A1A;
  overflow: hidden;
}

.em-experiment-card:hover {
  border-color: #FF4136;
}

/* --- 响应式断点优化 --- */
@media (max-width: 360px) {
  .em-section { padding: 40px 0; }
  .em-section-title { font-size: 1.4rem; }
  .em-card-grid { gap: 16px; }
}

@media (min-width: 361px) and (max-width: 767px) {
  .em-section { padding: 50px 0; }
}

@media (min-width: 1440px) {
  .em-container { max-width: 1440px; }
}

/* --- 视频播放按钮覆盖 --- */
.em-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255,65,54,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.em-play-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #FFFFFF;
  margin-left: 3px;
}

/* --- 提示标签 --- */
.em-notice {
  display: inline-block;
  font-size: 0.75rem;
  color: #FF4136;
  border: 1px solid #FF4136;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* --- 分页/加载更多 --- */
.em-load-more {
  text-align: center;
  margin-top: 40px;
}

/* --- 面包屑导航 --- */
.em-breadcrumb {
  font-size: 0.8rem;
  color: #777777;
  margin-bottom: 20px;
}

.em-breadcrumb a {
  color: #888888;
}

.em-breadcrumb span {
  margin: 0 6px;
  color: #555555;
}
