/* ===== 首页专属样式（Dark Glassmorphism / Tech-News） ===== */

/* --- Breaking News 滚动条 --- */
.a2529a-ticker {
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.a2529a-ticker-label {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 9px 16px;
  white-space: nowrap;
  z-index: 2;
  flex-shrink: 0;
}
.a2529a-ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.a2529a-ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: a2529a-ticker-scroll 45s linear infinite;
}
.a2529a-ticker-inner a {
  display: inline-block;
  padding: 9px 28px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.a2529a-ticker-inner a::before { content: "•"; color: var(--accent); margin-right: 28px; }
.a2529a-ticker-inner a:hover { color: var(--accent); }
@keyframes a2529a-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Hero（左超大图 + 右文字） --- */
.a2529a-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 8px;
}
.a2529a-hero-media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
  border: 1px solid var(--border);
}
.a2529a-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.a2529a-hero-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.a2529a-hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.a2529a-hero-title a:hover { color: var(--accent); }
.a2529a-hero-excerpt {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.a2529a-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.a2529a-hero-meta img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.a2529a-hero-meta-text { line-height: 1.4; }
.a2529a-hero-author { font-weight: 600; font-size: 14.5px; }
.a2529a-hero-sub { color: var(--text-muted); font-size: 13px; }

/* --- Main Feed（70/30） --- */
.a2529a-feed {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 36px;
  padding: 32px 0 8px;
}
.a2529a-section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.a2529a-section-title::before {
  content: "";
  width: 6px;
  height: 22px;
  background: var(--accent);
  border-radius: 3px;
}

.a2529a-feed-list { list-style: none; }
.a2529a-feed-item {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.a2529a-feed-item:first-child { padding-top: 0; }
.a2529a-feed-thumb {
  width: 140px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.a2529a-feed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.a2529a-feed-body { flex: 1; min-width: 0; }
.a2529a-feed-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}
.a2529a-feed-title a:hover { color: var(--accent); }
.a2529a-feed-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* --- 侧边栏 --- */
.a2529a-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.a2529a-side-widget {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.a2529a-side-widget h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}

/* 作者微卡 */
.a2529a-side-author {
  display: flex;
  gap: 14px;
  align-items: center;
}
.a2529a-side-author img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.a2529a-side-author-name { font-weight: 700; font-size: 15px; }
.a2529a-side-author-bio { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }

/* 热门榜 */
.a2529a-hot-list { list-style: none; counter-reset: hot; }
.a2529a-hot-list li {
  counter-increment: hot;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(51,49,63,0.6);
}
.a2529a-hot-list li:last-child { border-bottom: none; }
.a2529a-hot-list li::before {
  content: counter(hot);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.a2529a-hot-list a {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.a2529a-hot-list a:hover { color: var(--accent); }

/* 标签云 */
.a2529a-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.a2529a-tagcloud a {
  display: inline-block;
  background: rgba(122,112,205,0.12);
  border: 1px solid rgba(122,112,205,0.3);
  color: var(--text);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
}
.a2529a-tagcloud a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 邮件订阅 */
.a2529a-newsletter p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 14px;
}
.a2529a-newsletter form { display: flex; flex-direction: column; gap: 10px; }
.a2529a-newsletter input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.a2529a-newsletter button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-weight: 700;
  cursor: pointer;
}
.a2529a-newsletter button:hover { opacity: 0.9; }

/* --- 作者简介 Banner --- */
.a2529a-author-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px 28px;
  margin: 28px 0;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.a2529a-author-banner img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}
.a2529a-author-banner-body { flex: 1; }
.a2529a-author-banner-hi {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}
.a2529a-author-banner-name { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.a2529a-author-banner-bio { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.a2529a-social { display: flex; gap: 10px; }
.a2529a-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}
.a2529a-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* --- 标签云话题索引（横向胶囊） --- */
.a2529a-topic-index {
  padding: 20px 0 32px;
}
.a2529a-topic-index .a2529a-tagcloud { justify-content: center; }
.a2529a-topic-index .a2529a-tagcloud a {
  font-size: 14px;
  padding: 8px 20px;
}

/* --- 响应式 --- */
@media (max-width: 900px) {
  .a2529a-hero { grid-template-columns: 1fr; }
  .a2529a-feed { grid-template-columns: 1fr; }
  .a2529a-feed-thumb { width: 110px; height: 80px; }
}

@media (max-width: 620px) {
  .a2529a-hero-title { font-size: 26px; }
  .a2529a-author-banner { flex-direction: column; text-align: center; }
  .a2529a-social { justify-content: center; }
  .a2529a-feed-item { flex-direction: column; }
  .a2529a-feed-thumb { width: 100%; height: 180px; }
}
