/* ============ 首页专属样式 Road Trip Location Quest ============ */

/* ============ Hero 双栏并排 ============ */
.f322ea-hero {
  padding: 44px 0 20px;
}

.f322ea-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.f322ea-hero-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

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

.f322ea-hero-item:hover .f322ea-card-bg { transform: scale(1.05); }

.f322ea-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,17,0.05) 20%, rgba(13,17,17,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.f322ea-hero-item .f322ea-card-cat {
  color: var(--accent);
  margin-bottom: 10px;
}

.f322ea-hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.f322ea-hero-title a { color: #fff; }
.f322ea-hero-title a:hover { color: var(--accent); opacity: 1; }

.f322ea-hero-meta {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============ 区块标题 ============ */
.f322ea-section { padding: 40px 0; }

.f322ea-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 26px;
}

.f322ea-section-head h2 {
  font-size: 24px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.f322ea-section-head h2::before {
  content: '';
  width: 5px;
  height: 22px;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(81, 225, 236, 0.5);
  display: inline-block;
}

.f322ea-section-head a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
}

/* ============ Main Feed（主栏 70% List + 侧边栏 30%） ============ */
.f322ea-feed-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
}

/* 主栏最新文章 List（带 Trending 序号） */
.f322ea-feed-list { display: flex; flex-direction: column; }

.f322ea-feed-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.f322ea-feed-rank {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1;
  text-align: center;
}

.f322ea-feed-item:first-child .f322ea-feed-rank { color: var(--accent); }

.f322ea-feed-content .f322ea-card-cat { margin-bottom: 6px; font-size: 11px; }

.f322ea-feed-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 8px;
}

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

.f322ea-feed-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 10px;
}

/* 侧边栏 */
.f322ea-sidebar { display: flex; flex-direction: column; gap: 24px; }

.f322ea-sidebar-widget {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
}

.f322ea-sidebar-widget h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.f322ea-sidebar-subscribe p { color: var(--text-muted); font-size: 14px; margin: 0 0 14px; }

.f322ea-sidebar-subscribe input[type="email"] {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  outline: none;
  margin-bottom: 10px;
}

.f322ea-sidebar-subscribe button {
  width: 100%;
  background: var(--accent);
  color: #0d1111;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.f322ea-sidebar-list { list-style: none; margin: 0; padding: 0; }

.f322ea-sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}

.f322ea-sidebar-list li:last-child { border-bottom: none; }

.f322ea-sidebar-list a { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.f322ea-sidebar-list a:hover { color: var(--accent); opacity: 1; }

.f322ea-sidebar-comment {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ============ 辅助页面快捷链接区（卡片式网格） ============ */
.f322ea-pagelinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.f322ea-pagelink-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.f322ea-pagelink-card:hover {
  transform: translateY(-4px);
  border-color: rgba(81, 225, 236, 0.4);
}

.f322ea-pagelink-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.f322ea-pagelink-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.f322ea-pagelink-card h3 a { color: var(--text); }
.f322ea-pagelink-card h3 a:hover { color: var(--accent); opacity: 1; }

.f322ea-pagelink-card p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* ============ Editor's Choice 横向 3 列专题卡片 ============ */
.f322ea-ec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.f322ea-ec-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
}

.f322ea-ec-card h3 {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.f322ea-ec-card h3 a { color: var(--text); }
.f322ea-ec-card h3 a:hover { color: var(--accent); opacity: 1; }

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

.f322ea-ec-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--glass-border);
}

.f322ea-ec-list li:last-child { border-bottom: none; }

.f322ea-ec-list a {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
}

.f322ea-ec-list a:hover { color: var(--accent); opacity: 1; }

.f322ea-ec-num {
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  min-width: 18px;
}

/* 首页响应式 */
@media (max-width: 960px) {
  .f322ea-hero-grid { grid-template-columns: 1fr; }
  .f322ea-hero-item { min-height: 360px; }
  .f322ea-feed-wrap { grid-template-columns: 1fr; }
  .f322ea-ec-grid { grid-template-columns: 1fr; }
  .f322ea-pagelinks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .f322ea-pagelinks { grid-template-columns: 1fr; }
  .f322ea-hero-item { min-height: 300px; }
  .f322ea-hero-title { font-size: 24px; }
  .f322ea-feed-rank { font-size: 30px; }
  .f322ea-feed-item { grid-template-columns: 44px 1fr; }
}
