/* ============================================================
   LOCALHORSEBACK RIDING.COM — Homepage SEO CSS (v2)
   Append to style.css
   New sections: Why Directory, Testimonials, FAQ, Guides
   Updated: Activity cards with descriptions, State keyword copy
   ============================================================ */

/* ── Activity card description text ─────────────────────── */
.hp-activity-card__desc {
  font-size: 11px;
  color: var(--hp-text-muted, #5A5248);
  line-height: 1.5;
  margin: 4px 0 6px;
}

.hp-activity-card__count {
  font-size: 10.5px;
  color: var(--hp-text-light, #8A8070);
  font-weight: 600;
}

/* ── State card — keyword copy ───────────────────────────── */
.hp-state-card__name {
  font-size: 10px;
  color: var(--hp-text-muted, #5A5248);
  font-weight: 500;
  line-height: 1.3;
  transition: color .15s;
}
.hp-state-card:hover .hp-state-card__name { color: var(--hp-gold, #C8A24A); }

/* ── WHY SECTION ─────────────────────────────────────────── */
.hp-why-section {
  background: var(--hp-card-bg, #FDFAF5);
  border-top: 1px solid var(--hp-border, #DDD8CC);
  border-bottom: 1px solid var(--hp-border, #DDD8CC);
  padding: 32px 24px;
}

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 4px;
}

.hp-why-card {
  background: #fff;
  border: 1px solid var(--hp-border, #DDD8CC);
  border-radius: 10px;
  padding: 20px 16px;
  position: relative;
}

/* Connector line between why cards */
.hp-why-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 22px;
  color: var(--hp-gold, #C8A24A);
  font-size: 14px;
  font-weight: 700;
  z-index: 1;
}

.hp-why-card__num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--hp-green-dark, #2F4F3A);
  color: var(--hp-cream, #F7F1E3);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, serif;
}

.hp-why-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-green-deep, #1E3329);
  margin-bottom: 8px;
  line-height: 1.35;
}

.hp-why-card__desc {
  font-size: 12px;
  color: var(--hp-text-muted, #5A5248);
  line-height: 1.65;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.hp-testimonials-section {
  padding: 32px 24px;
  background: var(--hp-green-deep, #1E3329);
}

.hp-testimonials-section .hp-section__hdr .hp-section__title {
  color: var(--hp-cream, #F7F1E3);
}

.hp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}

.hp-testimonial {
  background: rgba(247, 241, 227, 0.07);
  border: 1px solid rgba(200, 162, 74, 0.2);
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.hp-testimonial::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 48px;
  color: var(--hp-gold, #C8A24A);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.hp-testimonial__quote {
  font-size: 13px;
  color: rgba(247, 241, 227, 0.85);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
  padding-top: 8px;
}

.hp-testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(200, 162, 74, 0.2);
  padding-top: 10px;
}

.hp-testimonial__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-gold, #C8A24A);
  font-style: normal;
}

.hp-testimonial__loc {
  font-size: 11px;
  color: rgba(247, 241, 227, 0.45);
}

/* ── FAQ SECTION ─────────────────────────────────────────── */
.hp-faq-section {
  padding: 32px 24px;
  background: var(--hp-card-bg, #FDFAF5);
  border-top: 1px solid var(--hp-border, #DDD8CC);
}

.hp-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.hp-faq-item {
  border-bottom: 1px solid var(--hp-border, #DDD8CC);
}

.hp-faq-item:first-child {
  border-top: 1px solid var(--hp-border, #DDD8CC);
}

.hp-faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background .15s;
}

.hp-faq-item__question:hover {
  background: rgba(200, 162, 74, 0.05);
}

.hp-faq-item__question h3 {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-green-deep, #1E3329);
  line-height: 1.4;
  flex: 1;
}

.hp-faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hp-green-dark, #2F4F3A);
  color: var(--hp-cream, #F7F1E3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: background .15s;
}

.hp-faq-item__question[aria-expanded="true"] .hp-faq-item__icon {
  background: var(--hp-gold, #C8A24A);
  color: var(--hp-charcoal, #2B2B2B);
}

.hp-faq-item__answer {
  padding: 0 4px 16px;
}

.hp-faq-item__answer p {
  font-size: 13.5px;
  color: var(--hp-text-muted, #5A5248);
  line-height: 1.75;
}

.hp-faq-more {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--hp-text-muted, #5A5248);
}

.hp-faq-more a {
  color: var(--hp-gold, #C8A24A);
  font-weight: 600;
  text-decoration: none;
}

.hp-faq-more a:hover { text-decoration: underline; }

/* ── GUIDES / BLOG ───────────────────────────────────────── */
.hp-guides-section {
  padding: 32px 24px;
  background: #fff;
  border-top: 1px solid var(--hp-border, #DDD8CC);
  border-bottom: 1px solid var(--hp-border, #DDD8CC);
}

.hp-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}

.hp-guide-card {
  border: 1px solid var(--hp-border, #DDD8CC);
  border-radius: 10px;
  overflow: hidden;
  transition: all .2s;
  background: var(--hp-card-bg, #FDFAF5);
}

.hp-guide-card:hover {
  box-shadow: 0 6px 20px rgba(47, 79, 58, 0.12);
  transform: translateY(-2px);
  border-color: var(--hp-gold, #C8A24A);
}

.hp-guide-card__img {
  height: 120px;
  background: #EEF2EC;
  position: relative;
}

.hp-guide-card__body {
  padding: 14px;
}

.hp-guide-card__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--hp-gold, #C8A24A);
  margin-bottom: 6px;
}

.hp-guide-card__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hp-green-dark, #2F4F3A);
  line-height: 1.35;
  margin-bottom: 8px;
}

.hp-guide-card__title a {
  color: inherit;
  text-decoration: none;
}

.hp-guide-card__title a:hover { color: var(--hp-gold, #C8A24A); }

.hp-guide-card__excerpt {
  font-size: 12px;
  color: var(--hp-text-muted, #5A5248);
  line-height: 1.6;
  margin-bottom: 10px;
}

.hp-guide-card__link {
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-gold, #C8A24A);
  text-decoration: none;
}

.hp-guide-card__link:hover { text-decoration: underline; }

/* ── Hero SEO phrase style update ───────────────────────── */
.hp-hero__seo-phrase {
  font-size: 13px;
  color: rgba(247, 241, 227, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Keep old .hp-hero__seo for backward compat */
.hp-hero__seo {
  font-size: 12px;
  color: rgba(247, 241, 227, 0.45);
  font-style: italic;
  margin-top: 6px;
}

/* ── Section sub-label ───────────────────────────────────── */
.hp-section__sub {
  font-size: 11px;
  color: var(--hp-text-light, #8A8070);
  margin-top: 2px;
}

/* ── RESPONSIVE 1024px ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-why-card:not(:last-child)::after { display: none; }
  .hp-testimonials-grid { grid-template-columns: 1fr; }
  .hp-guides-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE 768px ────────────────────────────────────── */
@media (max-width: 768px) {
  .hp-why-grid { grid-template-columns: 1fr; }
  .hp-testimonials-section { padding: 24px 16px; }
  .hp-testimonials-grid { grid-template-columns: 1fr; }
  .hp-faq-section { padding: 24px 16px; }
  .hp-faq-item__question h3 { font-size: 13px; }
  .hp-guides-section { padding: 24px 16px; }
  .hp-guides-grid { grid-template-columns: 1fr; }
  .hp-why-section { padding: 24px 16px; }
  .hp-activity-grid { grid-template-columns: repeat(2, 1fr); }
}
