/* 首页专属样式 — Specialty Coffee Roast Journal (style-id e72f4d) */

/* [02] Hero 双栏并排 */
.e72f4d-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px 0;
}
.e72f4d-hero-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: flex-end;
}
.e72f4d-hero-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.e72f4d-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,13,17,0.1) 40%, rgba(15,13,17,0.88) 100%);
}
.e72f4d-hero-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #fff;
}
.e72f4d-hero-cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  margin-bottom: 12px;
}
.e72f4d-hero-title {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.e72f4d-hero-item a:hover .e72f4d-hero-title { color: #d9c6ff; }

/* [03] 标签云横向胶囊 */
.e72f4d-tags {
  padding: 20px 0 30px;
}
.e72f4d-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.e72f4d-tag-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 14px;
  color: var(--text-muted);
  transition: all .2s;
}
.e72f4d-tag-pill:hover { color: var(--accent); border-color: var(--accent); }

/* [04] Trending 横向滚动条 */
.e72f4d-trending { padding: 10px 0 30px; }
.e72f4d-trending h2 { font-size: 26px; margin-bottom: 18px; }
.e72f4d-trending-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.e72f4d-trending-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.e72f4d-trending-track::-webkit-scrollbar { height: 6px; }
.e72f4d-trending-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* [05] Main Feed 主栏2列 + 侧栏 */
.e72f4d-feed-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 20px 0 40px;
}
.e72f4d-feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.e72f4d-feed-head h2 { font-size: 28px; }
.e72f4d-feed-head a { font-size: 14px; color: var(--accent); }
.e72f4d-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.e72f4d-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.e72f4d-widget {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 20px;
}
.e72f4d-widget-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.e72f4d-widget ul { list-style: none; }
.e72f4d-widget li { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.e72f4d-widget li:last-child { border-bottom: none; }
.e72f4d-widget li a:hover { color: var(--accent); }
.e72f4d-ad {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* [06] 作者微卡片 */
.e72f4d-founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}
.e72f4d-founder img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.e72f4d-founder .name { font-size: 20px; font-weight: 700; }
.e72f4d-founder .bio { color: var(--text-muted); font-size: 15px; margin-top: 8px; max-width: 480px; }

/* [07] 顶部公告极简通知 */
.e72f4d-notice {
  text-align: center;
  padding: 16px 24px;
  background: var(--bg-alt);
  border-radius: 12px;
  margin: 0 0 30px;
  font-size: 14px;
  color: var(--text-muted);
}
.e72f4d-notice a { color: var(--accent); font-weight: 600; }

/* 响应式 */
@media (max-width: 900px) {
  .e72f4d-hero { grid-template-columns: 1fr; }
  .e72f4d-hero-item { height: 320px; }
  .e72f4d-feed-wrap { grid-template-columns: 1fr; }
  .e72f4d-feed-grid { grid-template-columns: 1fr; }
}
