/**
 * GS Homepage — Guides Block
 * Featured guide card + grid of standard cards.
 */

.gs-guides {
  padding: 48px 24px;
  border-bottom: 1.5px solid #111;
}
.gs-guides__inner { max-width: 1060px; margin: 0 auto; }
.gs-guides__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.gs-guides__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.gs-guides__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}
.gs-guide-card {
  border: 1.5px solid #111;
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: all 0.2s;
  background: #fff;
}
.gs-guide-card--featured {
  background: #111;
  color: #fff;
  min-height: 260px;
}
.gs-guide-card:not(.gs-guide-card--featured):hover { background: #111; color: #fff !important; }
.gs-guide-card:not(.gs-guide-card--featured):hover .gs-guide-card__title { color: #fff !important; }
.gs-guide-card:not(.gs-guide-card--featured):hover .gs-guide-card__desc { color: #ccc !important; }
.gs-guide-card:not(.gs-guide-card--featured):hover .gs-guide-card__tag { background: #333; color: #ccc !important; }
a.gs-guide-card:not(.gs-guide-card--featured):hover { color: #fff !important; }
.gs-guide-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 12px;
  display: inline-block;
  width: fit-content;
  background: #f5f5f5;
  color: #000;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.gs-guide-card--featured .gs-guide-card__tag {
  background: #333;
  color: #ccc;
}
.gs-guide-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
  flex: 1;
}
.gs-guide-card--featured .gs-guide-card__title { font-size: 22px; }
.gs-guide-card__desc {
  font-size: 13px;
  color: #000;
  line-height: 1.6;
  transition: color 0.2s;
}
.gs-guide-card__desc p {
  margin: 0 0 8px 0;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}
.gs-guide-card__desc p:last-child { margin-bottom: 0; }
.gs-guide-card--featured .gs-guide-card__desc { color: #ccc; }
.gs-guide-card__arrow {
  margin-top: 20px;
  font-size: 18px;
  color: #ccc;
}
.gs-guide-card--featured .gs-guide-card__arrow { color: #444; }

/* Link overrides for guide cards — hardened against theme a:hover */
a.gs-guide-card,
a.gs-guide-card:visited,
a.gs-guide-card:active { color: inherit !important; text-decoration: none !important; }
a.gs-guide-card--featured,
a.gs-guide-card--featured:visited { color: #fff !important; }
a.gs-guide-card:not(.gs-guide-card--featured):hover { color: #fff !important; text-decoration: none !important; }

/* ── GUIDES TABLET ── */
@media (max-width: 1024px) and (min-width: 641px) {
  .gs-guides__grid { grid-template-columns: 1fr 1fr; }
}

/* ── GUIDES MOBILE ── */
@media (max-width: 640px) {
  .gs-guides__grid { grid-template-columns: 1fr; }
  .gs-guides__header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
