/* ============ 首页专属样式 Pro Camera Products Review ============ */
/* 仅 is_front_page 时加载 */

/* ============ Hero 焦点/头条 杂志网格 ============ */
.be821f-hero {
  padding: 44px 0 20px;
  position: relative;
}

/* Memphis 几何点缀 */
.be821f-hero::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--mem-sun);
  border-radius: 50%;
  top: 8px;
  right: 4%;
  opacity: 0.7;
  z-index: 0;
}

.be821f-hero::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 36px solid var(--mem-teal);
  top: 100px;
  left: 2%;
  opacity: 0.6;
  z-index: 0;
}

.be821f-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.be821f-hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
}

.be821f-hero-main .be821f-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.be821f-hero-main:hover .be821f-card-bg { transform: scale(1.05); }

.be821f-hero-main .be821f-card-overlay {
  background: linear-gradient(180deg, rgba(31,29,38,0.02) 20%, rgba(31,29,38,0.82) 100%);
  padding: 30px;
  min-height: 520px;
}

.be821f-hero-main .be821f-card-title {
  font-size: 38px;
  letter-spacing: -0.8px;
  max-width: 520px;
}

.be821f-hero-side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 24px;
}

.be821f-hero-side .be821f-card {
  min-height: 0;
}

.be821f-hero-side .be821f-card-title { font-size: 19px; }

/* ============ 辅助页面快捷链接区 ============ */
.be821f-quicklinks {
  padding: 28px 0;
  display: flex;
  justify-content: center;
  gap: 14px 34px;
  flex-wrap: wrap;
  position: relative;
}

.be821f-quicklinks a {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0.4px;
  padding: 8px 0;
  position: relative;
}

.be821f-quicklinks a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--mem-coral);
  transition: width 0.25s ease;
}

.be821f-quicklinks a:hover::after { width: 100%; }
.be821f-quicklinks a:hover { color: var(--accent); }

.be821f-quicklinks-sep {
  color: var(--border);
  font-size: 15px;
  align-self: center;
}

/* ============ 编辑精选 Editor's Choice（无图纯文本） ============ */
.be821f-editors-choice {
  padding: 50px 0;
  position: relative;
}

.be821f-editors-choice::before {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--mem-pink);
  border-radius: 50%;
  top: 30px;
  right: 8%;
  opacity: 0.5;
}

.be821f-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 18px;
}

.be821f-section-label::before {
  content: '';
  width: 26px;
  height: 4px;
  background: var(--mem-coral);
  border-radius: 2px;
  display: inline-block;
}

.be821f-ec-list { list-style: none; margin: 0; padding: 0; }

.be821f-ec-item {
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}

.be821f-ec-item:last-child { border-bottom: none; }

.be821f-ec-item a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  color: var(--text);
}

.be821f-ec-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  color: var(--mem-coral);
  min-width: 28px;
}

.be821f-ec-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.be821f-ec-item a:hover .be821f-ec-title { color: var(--accent); }

.be821f-ec-meta {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 14px;
  white-space: nowrap;
}

/* ============ 顶部公告/紧急焦点 滚动栏 ============ */
.be821f-ticker {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 10px 0 40px;
  position: relative;
}

.be821f-ticker-label {
  background: var(--mem-coral);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 20px;
  white-space: nowrap;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.be821f-ticker-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: be821f-pulse 1.2s ease infinite;
}

@keyframes be821f-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.be821f-ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 48px;
}

.be821f-ticker-track {
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  animation: be821f-scroll 24s linear infinite;
  padding: 14px 0;
}

.be821f-ticker-track a { color: #fff; }
.be821f-ticker-track a:hover { color: var(--mem-sun); }

.be821f-ticker-track span { margin: 0 40px; color: var(--mem-sun); }

@keyframes be821f-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============ 主内容流 Main Feed（图文交错） ============ */
.be821f-mainfeed { padding: 20px 0 70px; }

.be821f-mainfeed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
}

.be821f-mainfeed-head h2 {
  font-size: 30px;
  letter-spacing: -0.5px;
  margin: 0;
}

.be821f-mainfeed-head a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}

.be821f-feed-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.be821f-feed-item:nth-child(even) .be821f-feed-media { order: 2; }

.be821f-feed-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.be821f-feed-media .be821f-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.be821f-feed-item:hover .be821f-card-bg { transform: scale(1.05); }

.be821f-feed-body { }

.be821f-feed-body .be821f-card-cat {
  position: static;
  color: var(--accent);
  background: var(--bg-alt);
}

.be821f-feed-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin: 10px 0 12px;
}

.be821f-feed-title a { color: var(--text); }
.be821f-feed-title a:hover { color: var(--accent); }

.be821f-feed-excerpt {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.be821f-feed-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  margin-top: 14px;
}

.be821f-feed-more::after {
  content: '→';
  transition: transform 0.2s ease;
}

.be821f-feed-item:hover .be821f-feed-more::after { transform: translateX(4px); }

/* 首页响应式 */
@media (max-width: 960px) {
  .be821f-hero-grid { grid-template-columns: 1fr; }
  .be821f-hero-main { min-height: 420px; }
  .be821f-hero-main .be821f-card-overlay { min-height: 420px; }
  .be821f-hero-main .be821f-card-title { font-size: 28px; }
  .be821f-hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .be821f-feed-item { grid-template-columns: 1fr; gap: 20px; }
  .be821f-feed-item:nth-child(even) .be821f-feed-media { order: 0; }
}

@media (max-width: 640px) {
  .be821f-hero-side { grid-template-columns: 1fr; }
  .be821f-ec-title { font-size: 22px; }
  .be821f-ec-meta { display: none; }
  .be821f-hero-main { min-height: 340px; }
  .be821f-hero-main .be821f-card-overlay { min-height: 340px; }
}
