/* ElephantGuide 2026: hub pages (species, anatomy, behaviors, diet, conservation, destinations). Open layouts, hairlines, big type. 1rem = 10px. */

/* ---------- topic strip ---------- */
.eg-prose>.eg-hubstrip{width:100%;max-width:var(--max);margin:0 auto 3.2rem;padding:0 2rem}
.eg-hubstrip ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}
.eg-hubstrip li{margin:0}
.eg-prose .eg-hubstrip a.eg-chip{color:var(--ink);text-decoration:none}
.eg-prose .eg-hubstrip a.eg-chip:hover{color:var(--acacia-deep)}
.eg-prose .eg-hubstrip a.eg-chip.is-current,.eg-prose .eg-hubstrip a.eg-chip.is-current:hover{color:#fff}

/* ---------- quick facts: open numerals, like the homepage ---------- */
.eg-facts.eg-hub-facts{gap:3rem;margin-top:3.6rem;margin-bottom:3.6rem}
.eg-facts.eg-hub-facts .eg-fact{background:none;border:0;border-top:3px solid var(--savanna);border-radius:0;padding:1.8rem 1rem 0 0}
.eg-facts.eg-hub-facts .eg-fact::before{display:none}
.eg-facts.eg-hub-facts .eg-fact .eg-fact-num{font-size:4.2rem!important}
.eg-facts.eg-hub-facts.eg-hub-n3{grid-template-columns:repeat(3,1fr)}

/* ---------- article grid: open tiles (image, tag, serif title), no box ---------- */
.eg-prose>.eg-hub-grid{max-width:var(--wide);margin-top:3rem;margin-bottom:2rem;gap:4.4rem 3.2rem}
.eg-hub-grid .eg-card{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
.eg-hub-grid .eg-card-img{line-height:0}
.eg-hub-grid .eg-card-img img{border-radius:6px!important;background:var(--sand-deep)}
.eg-hub-grid .eg-card:hover .eg-card-img img{opacity:.92}
.eg-hub-grid .eg-card-body{padding:1.6rem 0 0}
.eg-hub-grid .eg-card-body .eg-tag{padding:0;border-radius:0;background:none;font-size:1.2rem;letter-spacing:.14em;color:var(--acacia);margin-bottom:.6rem}
.eg-hub-grid .eg-card h3{font-size:2.4rem;line-height:1.2;font-weight:620;margin:0 0 .8rem}
.eg-hub-grid .eg-card h3 a:hover{color:var(--acacia-deep)}
.eg-hub-grid .eg-card p{font-size:1.6rem;color:var(--ink-soft);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.eg-prose>.eg-hub-more{margin-top:3.2rem;margin-bottom:1rem}
.eg-prose .eg-hub-more a.eg-more{color:var(--clay);text-decoration:none}
.eg-prose .eg-hub-more a.eg-more:hover{color:var(--clay-deep)}

/* ---------- destinations: region index as open lists ---------- */
.eg-prose>.eg-regions{display:grid;grid-template-columns:repeat(3,1fr);gap:0 4.4rem;margin-top:2.4rem;margin-bottom:2.4rem}
.eg-regions .eg-region{margin:0;border-top:1px solid var(--line);padding-top:1.8rem}
.eg-prose .eg-regions h3{font-size:1.25rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;font-family:var(--body);color:var(--acacia);margin:0 0 1rem}
.eg-regions ul{list-style:none;padding:0!important;margin:0}
.eg-regions li{margin:0;padding:0}
.eg-regions li::marker{content:""}
.eg-prose .eg-regions li a{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line);font-family:var(--head);font-size:2.2rem;font-weight:560;line-height:1.25;color:var(--ink);text-decoration:none}
.eg-prose .eg-regions li a::after{content:"\2192";font-family:var(--body);font-size:1.7rem;color:var(--clay);opacity:.7}
.eg-prose .eg-regions li a:hover{color:var(--acacia-deep)}
.eg-prose .eg-regions li:last-child a{border-bottom:0}

/* ---------- note callouts on hubs ---------- */
.eg-prose>.eg-note{margin-bottom:1.4rem}

/* ---------- facts-check line ---------- */
.eg-prose>.eg-hub-foot{margin-top:5rem;padding-top:2.4rem;border-top:1px solid var(--line)}
.eg-hub-foot p{font-size:1.6rem!important;color:var(--ink-soft);margin:0!important}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .eg-facts.eg-hub-facts.eg-hub-n3{grid-template-columns:repeat(3,1fr)}
  .eg-facts.eg-hub-facts .eg-fact .eg-fact-num{font-size:3.4rem!important}
  .eg-prose>.eg-regions{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
  .eg-prose>.eg-hubstrip{padding:0;margin-bottom:.4rem}
  .eg-hubstrip ul{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding:.4rem 2rem 1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .eg-hubstrip ul::-webkit-scrollbar{display:none}
  .eg-facts.eg-hub-facts,.eg-facts.eg-hub-facts.eg-hub-n3{grid-template-columns:repeat(2,1fr);gap:2.4rem 2rem}
  .eg-facts.eg-hub-facts .eg-fact .eg-fact-num{font-size:3rem!important}
  .eg-prose>.eg-hub-grid{gap:3.6rem}
  .eg-hub-grid .eg-card h3{font-size:2.3rem}
  .eg-prose>.eg-regions{grid-template-columns:1fr;gap:2.4rem}
}
