/* Reading column reuses the site's outer .container (720px) — do not nest
   another .container inside guide-hub / guide-wrap or the About box ends up
   a different width from the cards above. */

/* ---- Breadcrumb ---- */
.guide-crumb {
  font-size: 0.82rem;
  color: var(--color-muted, #5c6570);
  margin: 0.25rem 0 1rem;
  line-height: 1.5;
}
.guide-crumb a { color: var(--crimson, #7a1834); text-decoration: none; }
.guide-crumb a:hover { text-decoration: underline; }
.guide-crumb__sep { margin: 0 0.4rem; color: #b9afa6; }
.guide-crumb__here { color: var(--color-muted, #5c6570); }

/* ---- Article head + byline ---- */
.guide-head { margin: 0 0 1.4rem; }
.guide-title {
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 0.9rem;
  color: var(--color-text, #1a1a1a);
}
.guide-byline { display: flex; align-items: center; }
.guide-byline__author {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}
.guide-byline__photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-beige-border, #ecdfbe);
  flex: none;
}
.guide-byline__meta { display: flex; flex-direction: column; line-height: 1.3; }
.guide-byline__name { font-weight: 700; font-size: 0.9rem; color: var(--crimson, #7a1834); }
.guide-byline__author:hover .guide-byline__name { text-decoration: underline; }
.guide-byline__sub { font-size: 0.78rem; color: var(--color-muted, #5c6570); }

/* ---- Article body typography ---- */
.guide-body { font-size: 1.02rem; line-height: 1.75; color: var(--color-text, #23201e); }
.guide-body h2 {
  font-size: 1.28rem;
  line-height: 1.3;
  margin: 1.9rem 0 0.7rem;
  color: var(--crimson, #7a1834);
}
.guide-body h3 {
  font-size: 1.08rem;
  margin: 1.3rem 0 0.5rem;
  color: var(--color-text, #1a1a1a);
}
.guide-body p { margin: 0 0 1rem; }
.guide-body ul, .guide-body ol { margin: 0 0 1.1rem; padding-left: 1.35rem; }
.guide-body li { margin: 0 0 0.5rem; }
.guide-body a { color: var(--crimson, #7a1834); text-decoration: underline; text-underline-offset: 2px; }
.guide-body a:hover { color: var(--color-primary-hover, #6f1f35); }
.guide-body strong { font-weight: 700; }

/* ---- Related calculators ---- */
.guide-related { margin: 2.2rem 0 0; }
.guide-related__title {
  font-size: 1.15rem;
  margin: 0 0 0.9rem;
  color: var(--color-text, #1a1a1a);
}

/* ---- Author card ---- */
.guide-author {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 2.2rem 0 0;
  padding: 1.1rem 1.2rem;
  background: var(--color-beige, #fbf3df);
  border: 1px solid var(--color-beige-border, #ecdfbe);
  border-radius: 12px;
}
.guide-author__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-beige-border, #ecdfbe);
  flex: none;
}
.guide-author__name { margin: 0 0 0.3rem; font-weight: 700; }
.guide-author__name a { color: var(--crimson, #7a1834); text-decoration: none; }
.guide-author__name a:hover { text-decoration: underline; }
.guide-author__bio { margin: 0 0 0.4rem; font-size: 0.9rem; line-height: 1.6; color: var(--color-text, #3a332e); }
.guide-author__links { margin: 0; font-size: 0.85rem; }
.guide-author__links a { color: var(--crimson, #7a1834); text-decoration: none; }
.guide-author__links a:hover { text-decoration: underline; }
.guide-author__links span { margin: 0 0.4rem; color: #b9afa6; }

.guide-back { margin: 1.8rem 0 0; font-size: 0.9rem; }
.guide-back a { color: var(--crimson, #7a1834); text-decoration: none; font-weight: 600; }
.guide-back a:hover { text-decoration: underline; }

/* ---- Hub ---- */
.guide-hub__head { margin: 0.5rem 0 1.6rem; }
.guide-hub__title {
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  margin: 0 0 0.7rem;
  color: var(--color-text, #1a1a1a);
}
.guide-hub__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted, #5c6570);
  max-width: 60ch;
}
.guide-hub__intro a { color: var(--crimson, #7a1834); }

.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.guide-card { margin: 0; }
.guide-card__link {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 1rem;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e2e6ea);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}
.guide-card__link:hover {
  border-color: var(--color-beige-border, #ecdfbe);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.guide-card__icon-wrap { flex: none; }
.guide-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--color-beige-light, #fffaef);
  border: 1px solid var(--color-beige-border, #ecdfbe);
  padding: 4px;
}
.guide-card__body { display: flex; flex-direction: column; min-width: 0; }
.guide-card__title { font-weight: 700; font-size: 1rem; color: var(--color-text, #1a1a1a); line-height: 1.3; }
.guide-card__meta { font-size: 0.76rem; color: #8a7d73; margin-top: 0.35rem; }

/* ---- Author page ---- */
.astrologer__head {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  margin: 0.5rem 0 1.5rem;
  flex-wrap: wrap;
}
.astrologer__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-beige-border, #ecdfbe);
  flex: none;
}
.astrologer__intro { min-width: 0; }
.astrologer__name { font-size: clamp(1.5rem, 6vw, 2rem); margin: 0 0 0.25rem; color: var(--color-text, #1a1a1a); }
.astrologer__role { margin: 0 0 0.5rem; color: var(--color-muted, #5c6570); font-weight: 600; }
.astrologer__links { margin: 0; font-size: 0.9rem; }
.astrologer__links a { color: var(--crimson, #7a1834); text-decoration: none; font-weight: 600; }
.astrologer__links a:hover { text-decoration: underline; }
.astrologer__links span { margin: 0 0.4rem; color: #b9afa6; }
