/* ===========================================================
   Hearthside Picks — Design System
   Reusable utility classes and tokens used across all templates.
   Import order: style.css -> design-system.css -> elementor-overrides.css
   =========================================================== */

/* ---- Containers ---- */
.hsp-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.hsp-container--narrow { max-width: 840px; }
.hsp-container--text { max-width: 760px; }

/* ---- Buttons ---- */
.hsp-btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
  line-height: 1.2;
}
.hsp-btn:active { transform: translateY(1px); }

.hsp-btn--primary {
  background: #1B4D3E;
  color: #FAFAF8;
}
.hsp-btn--primary:hover {
  background: #E8A838;
  color: #1A1A2E;
}

.hsp-btn--accent {
  background: #E8A838;
  color: #1A1A2E;
}
.hsp-btn--accent:hover {
  background: #1B4D3E;
  color: #FAFAF8;
}

.hsp-btn--outline {
  background: transparent;
  color: #1B4D3E;
  border: 2px solid #1B4D3E;
}
.hsp-btn--outline:hover {
  background: #1B4D3E;
  color: #FAFAF8;
}

.hsp-btn--lg { padding: 16px 32px; font-size: 17px; }
.hsp-btn--sm { padding: 10px 18px; font-size: 14px; }
.hsp-btn--full { display: block; width: 100%; text-align: center; }

/* ---- Badges ---- */
.hsp-badge--roundup    { background: #1B4D3E; color: #FAFAF8; }
.hsp-badge--comparison { background: #2563eb; color: #FAFAF8; }
.hsp-badge--review     { background: #E8A838; color: #1A1A2E; }
.hsp-badge--guide      { background: #7c3aed; color: #FAFAF8; }

/* ---- Cards ---- */
.hsp-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hsp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
}
.hsp-card__image {
  width: 100%;
  height: 200px;
  background: #E5E7EB center/cover no-repeat;
}
.hsp-card__body { padding: 20px 22px 22px; }

/* ---- Section headers ---- */
.hsp-eyebrow {
  display: inline-block;
  color: #1B4D3E;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 12px;
}

/* ---- Spacing ---- */
.hsp-mt-0 { margin-top: 0; }
.hsp-mt-sm { margin-top: 12px; }
.hsp-mt-md { margin-top: 24px; }
.hsp-mt-lg { margin-top: 40px; }
.hsp-mb-0 { margin-bottom: 0; }
.hsp-mb-sm { margin-bottom: 12px; }
.hsp-mb-md { margin-bottom: 24px; }
.hsp-mb-lg { margin-bottom: 40px; }

/* ---- Text alignment ---- */
.hsp-text-center { text-align: center; }
.hsp-text-left { text-align: left; }

/* ---- Related grid (used in Steps 6, 7, 8) ---- */
.hsp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hsp-related-card {
  display: block;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #1A1A2E;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hsp-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.08);
}
.hsp-related-card img { width: 100%; height: 160px; object-fit: cover; }
.hsp-related-card h3 { margin: 12px 16px 4px; font-size: 16px; }
.hsp-related-card span {
  display: block;
  margin: 0 16px 16px;
  color: #1B4D3E;
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 767px) {
  .hsp-related-grid { grid-template-columns: 1fr; }
}
