/* =====================================================================
   zodiac-signs.php. Builds on horoscope.css (.hp-*): hero, sections, cards, chips, FAQ.
   ===================================================================== */
.zs-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.zs-jump { margin: 0 0 26px; }
.hp-section { scroll-margin-top: 90px; }
.zs-sign { scroll-margin-top: 90px; }

/* ---- Tables ---- */
.zs-table-wrap { overflow-x: auto; border: 1px solid #e9e5db; border-radius: 14px; background: #fff; }
.zs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.zs-table thead { background: #fff8e7; }
.zs-table th, .zs-table td { padding: 11px 14px; text-align: left; vertical-align: top; min-width: 90px; }
.zs-table thead th { color: #6b520d; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.zs-table tbody th { min-width: 110px; color: #252a35; font-weight: 800; }
.zs-table tbody td { color: #4b5160; line-height: 1.5; }
.zs-table tbody tr + tr > * { border-top: 1px solid #efeade; }
.zs-table tbody tr:nth-child(even) { background: #fffdf8; }
.zs-matrix td { white-space: nowrap; }

/* ---- Element chips under each element ---- */
.hp-linkgrid.zs-chips { margin: 0 0 8px; }

/* ---- Sign profiles ---- */
.zs-sign { margin: 28px 0 0; padding: 22px 20px; border: 1px solid #e9e5db; border-radius: 18px; background: #fff; box-shadow: 0 5px 14px rgba(32, 42, 59, .045); }
.zs-sign-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.zs-sign-head img { flex: 0 0 auto; width: 48px; height: 48px; object-fit: contain; }
.hp-section .zs-sign h3 { margin: 0; padding: 0; color: #252a35; font-size: 19px; font-weight: 800; line-height: 1.3; }
.hp-section .zs-sign h3::before { content: none; }
.hp-section .zs-sign .hp-card h3 { font-size: 13px; }
.hp-section .zs-sub { margin: 4px 0 0; color: #8a6a12; font-size: 13px; font-weight: 800; line-height: 1.4; }
.zs-lists { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 4px 0 14px; }
.hp-section .zs-facts { margin-bottom: 10px; }
.hp-section .zs-reads { margin: 0; padding-top: 12px; border-top: 1px solid #efeade; font-size: 14px; line-height: 1.9; }
.hp-section .zs-reads a { font-weight: 800; }
.zs-cross { margin-top: 26px; }

@media (min-width: 640px) {
  .zs-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zs-sign { padding: 26px 28px; }
}

/* ---- v3: hub links to profile pages + the profile page itself (zodiac-sign.php) ---- */
.hp-section .zs-profile-link { margin: 0 0 12px; font-size: 14px; font-weight: 800; line-height: 1.6; }
.zs-table tbody th a { color: #252a35; text-decoration: none; border-bottom: 1px dashed #d9ae4a; }
.zs-table tbody th a:hover { color: #8a6a12; }

.zp-topic { margin: 0 0 8px; }
.zp-note { margin: 10px 0 0; color: #6b7280; font-size: 13px; line-height: 1.6; }
.zp-focus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 14px 0 0; }
.hp-section .zp-focus .hp-card h3 { margin: 0 0 6px; font-size: 13px; }
.zp-focus .hp-card p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }
.zp-focus .hp-card a { font-size: 13px; font-weight: 800; }
.zp-score { color: #252a35; font-weight: 800; white-space: nowrap; }
.zp-compat-table td a { font-weight: 700; }
.zp-compat-table tbody tr.is-self { background: #fff8e7; }

@media (min-width: 720px) {
  .zp-focus { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
