/* tc-activite — activite-seo.css (pages filtrées SEO + hub) */

/* ── Wrap général ───────────────────────────────────────────────── */
.tcact-seo-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ── Header ────────────────────────────────────────────────────── */
.tcact-seo-header {
  margin: 28px 0 20px;
}
.tcact-seo-h1 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #1b1b1b;
  line-height: 1.25;
}
.tcact-seo-intro {
  font-size: 15px;
  color: #444;
  line-height: 1.65;
  max-width: 720px;
}
.tcact-seo-intro p { margin: 0 0 10px; }
.tcact-seo-intro p:last-child { margin: 0; }

/* ── Grille SEO (identique à .tcact-cards-grid) ─────────────────── */
.tcact-seo-grid {
  /* hérite .tcact-cards-grid déjà défini dans frontend.css */
}

/* activite-seo.css est enqueue après frontend.css (dépendance 'tcact-front'),
   donc sans ce sélecteur plus spécifique, une future règle sur .tcact-seo-grid
   gagnerait la cascade et casserait la colonne unique du split-view — même
   piège déjà rencontré et corrigé côté tc-agriturismo (.tcag-seo-grid). */
.tcact-seo-grid.tcact-split-cards {
  grid-template-columns: 1fr;
}

/* ── Texte SEO bas ─────────────────────────────────────────────── */
.tcact-seo-bottom {
  margin-top: 40px;
  padding: 28px 32px;
  background: #f7fbf8;
  border-radius: 14px;
  border-left: 4px solid #52b788;
  line-height: 1.7;
  font-size: 14px;
  color: #333;
}
.tcact-seo-bottom p { margin: 0 0 14px; }
.tcact-seo-bottom p:last-child { margin: 0; }
.tcact-seo-bottom em { color: #2d6a4f; font-style: italic; }
.tcact-seo-bottom strong { color: #1b1b1b; }

/* ── « Affiner la recherche » — carte moderne, liens en pastilles ──────────────────────────
   22/09 : remplace l'ancienne présentation (3 colonnes de liens nus, bordure grise, années 2000). */
.tcact-seo-footer-nav {
  margin-top: 48px;
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid #E6DAB9;
  border-radius: 22px;
  box-shadow: 0 14px 30px -24px rgba(60,40,10,.5);
}
.tcact-seo-footer-nav > p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tcact-green, #2d6a4f);
  margin: 0 0 22px;
  font-weight: 800;
}
.tcact-seo-footer-nav > p::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tcact-green, #2d6a4f);
  flex: 0 0 auto;
}
.tcact-seo-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 32px;
  align-items: start;
}
.tcact-seo-footer-col-heading {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8a8378;
  margin-bottom: 12px;
}
.tcact-seo-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tcact-seo-footer-col li { margin: 0; }
.tcact-seo-footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #F1F6F2;
  border: 1px solid transparent;
  color: #2d5f42 !important;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.tcact-seo-footer-col a svg { width: 13px; height: 13px; flex: 0 0 auto; }
.tcact-seo-footer-col a:hover,
.tcact-seo-footer-col a.is-current {
  background: var(--tcact-green, #2d6a4f) !important;
  border-color: var(--tcact-green, #2d6a4f);
  color: #fff !important;
  transform: translateY(-1px);
}
.tcact-seo-footer-col a:hover .tcact-fnav-count,
.tcact-seo-footer-col a.is-current .tcact-fnav-count { color: rgba(255,255,255,.85); }
.tcact-fnav-count {
  font-size: 11px;
  color: #8a8378;
  font-weight: 600;
}

/* ── Search wrap (shortcode hub) ────────────────────────────────── */
.tcact-search-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .tcact-seo-h1 { font-size: 22px; }
  .tcact-seo-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tcact-seo-footer-nav { padding: 22px 16px 24px; border-radius: 18px; }
  .tcact-seo-footer-cols { grid-template-columns: 1fr; }
  .tcact-seo-wrap { padding: 0 12px 40px; }
}
