/* ============================================================
   info-hub.css — 黄历  ·  Knowledge hub index (/info)
   Includes: hub hero, section groups, info cards
   Requires: base.css + info-shared.css
   ============================================================ */

/* ============================================================
   HUB WRAPPER
   ============================================================ */
.info-hub {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* ============================================================
   HERO
   ============================================================ */
.info-hub-hero {
  padding: 44px 32px 36px;
  text-align: center;
  border-bottom: 1px solid var(--paper-mid);
  position: relative;
}
.info-hub-hero::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 18px;
  border-radius: 2px;
}

.info-hub-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #c4a35a;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.info-hub-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 8px;
  margin-bottom: 14px;
  line-height: 1;
}

.info-hub-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   GROUP SECTIONS
   ============================================================ */
.info-hub-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.info-group-section {
  padding: 32px 28px 28px;
  border-bottom: 1px solid var(--paper-mid);
  background: var(--paper);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.info-group-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--paper-mid);
  border-top: 3px solid var(--red);
  border-radius: 9px;
  padding: 20px 18px 16px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.info-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 28px rgba(192,57,43,0.13);
  transform: translateY(-3px);
}
.info-card-emoji { font-size: 26px; margin-bottom: 10px; line-height: 1; }
.info-card-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 1px; margin-bottom: 6px; }
.info-card-sub   { font-size: 12px; color: #888; line-height: 1.7; flex: 1; margin-bottom: 12px; }
.info-card-arrow {
  font-size: 18px;
  color: var(--border);
  transition: color 0.15s, transform 0.18s;
  line-height: 1;
  margin-top: auto;
}
.info-card:hover .info-card-arrow {
  color: var(--red);
  transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 680px) {
  .info-hub-hero      { padding: 28px 18px 24px; }
  .info-hub-title     { font-size: 26px; letter-spacing: 5px; }
  .info-hub-desc      { font-size: 13px; }
  .info-group-section { padding-left: 16px; padding-right: 16px; }
  .info-group-cards   { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  /* Two-column on very small screens looks better than single-column */
  .info-group-cards { grid-template-columns: repeat(2, 1fr); }
}
