/*
 * industries.css — extra styles for the /industries/*.php detail pages.
 * Builds on the brand tokens and components in custom.css (page-hero,
 * guide-body, callout, checklist, hub-grid/hub-card, post-cta).
 */
.ind-hero-cta{ margin-top:22px; }
.ind-hero-cta .btn{ margin:6px 10px 0 0; }

.ind-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr)); gap:18px; margin:18px 0 10px; }
.ind-card{ background:#fff; border:1px solid var(--pit-border, #e3e6ea); border-radius:12px; padding:18px 20px; }
.guide-body .ind-card h3{ font-size:18px; line-height:1.3; margin:0 0 8px; color:var(--pit-ink); }
.ind-card p{ font-size:15px; line-height:1.6; margin:0; color:#4a5361; }

.ind-help{ list-style:none; margin:0 !important; padding:0; }
.ind-help li{ border-left:4px solid var(--pit-primary); background:var(--pit-surface); border-radius:0 10px 10px 0; padding:14px 18px; margin-bottom:12px !important; }
.ind-help li > strong{ display:block; margin-bottom:4px; }

.ind-cities{ display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 18px; }
.guide-body .ind-cities a{ display:inline-block; text-decoration:none; background:var(--pit-surface); border:1px solid var(--pit-border, #e3e6ea); border-radius:999px; padding:5px 14px; font-size:14px; font-weight:600; }
.guide-body .ind-cities a:hover{ border-color:var(--pit-primary); }

.guide-body .hub-grid{ margin:14px 0 8px; }
.guide-body .hub-card{ text-decoration:none; }
.guide-body .hub-card h3{ font-size:17px; line-height:1.35; margin:0 0 6px; }

.ind-faq details{ border-bottom:1px solid var(--pit-border, #e3e6ea); padding:14px 0; }
/* Custom disclosure marker kept inside the content column. */
.ind-faq summary{ font-weight:700; font-size:17px; cursor:pointer; color:var(--pit-ink); list-style:none; position:relative; padding-left:24px; }
.ind-faq summary::-webkit-details-marker{ display:none; }
.ind-faq summary::before{ content:"\25B8"; position:absolute; left:2px; top:0; color:var(--pit-primary); transition:transform .15s; }
.ind-faq details[open] summary::before{ transform:rotate(90deg); }
.ind-faq details p{ padding-left:24px; }
.ind-faq details[open] summary{ margin-bottom:8px; color:var(--pit-anchor); }
.ind-faq details p{ margin:0 0 .6em; }

@media (max-width:575px){
  .ind-hero-cta .btn{ display:block; width:100%; margin:8px 0 0; text-align:center; }
  .ind-faq summary{ font-size:16px; }
}

.post-cta p a{ color:#fff; text-decoration:underline; }
.post-cta p a:hover{ color:#fff; opacity:.85; }
.ind-templates{ background:var(--pit-surface); border-radius:10px; padding:12px 16px; }

/* End-of-page CTA buttons */
.ind-cta-buttons{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.post-cta .ind-cta-buttons .btn{ margin:0; }

/* Hub (industries.php) card buttons: wrap cleanly with even gaps */
.ind-hub-cta{ display:flex; flex-wrap:wrap; gap:8px; }
.ind-hub-cta .btn{ margin:0 !important; }
.ind-hub-cta-sec .post-cta{ margin-top:0; }

/* Secondary (outline) button inside the blue end-of-page CTA box */
.post-cta .btn.btn-outline{ background:transparent; border-color:#fff; color:#fff; }
.post-cta .btn.btn-outline span{ color:#fff; }
.post-cta .btn.btn-outline:hover{ background:rgba(255,255,255,.14); }
@media (max-width:575px){
  .post-cta .btn{ display:block; width:100%; margin:8px 0 0 !important; }
  .post-cta .ind-cta-buttons{ display:block; }
}
