/* ToolHex Creators — directory-specific styles.
   Layers on top of the shared style.css; uses the same theme variables. */

/* search (hub) */
.dir-search-wrap { max-width: 560px; margin: 18px auto 0; }
.dir-search { width: 100%; padding: 12px 14px; font-size: 1rem; }
.dir-count { text-align: center; margin-top: 8px; min-height: 1.2em; }
.dir-hidden { display: none !important; }

/* breadcrumb */
.dir-crumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.dir-crumb a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.dir-crumb a:hover { color: var(--brand); }

/* chips under tool h1 */
.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: .8rem; font-weight: 600;
}
.chip-price { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, var(--border)); }

/* hero card on tool pages */
.dir-hero {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px;
  align-items: start; padding: 22px;
}
.dir-hero-main p { margin-top: 0; }
.dir-facts { margin: 0; border-left: 1px solid var(--border); padding-left: 22px; }
.dir-facts div + div { margin-top: 12px; }
.dir-facts dt {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--faint); font-weight: 700; margin-bottom: 2px;
}
.dir-facts dd { margin: 0; font-size: .92rem; color: var(--ink); }
@media (max-width: 720px) {
  .dir-hero { grid-template-columns: 1fr; }
  .dir-facts { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 16px; }
}

/* hub section titles link to category pages */
.dir-section .tool-section-title a { color: inherit; text-decoration: none; }
.dir-section .tool-section-title a:hover { color: var(--brand); }

/* footnote on listing pages */
.dir-note { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--border); }

/* A-Z index page */
.dir-letter { margin-top: 26px; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
.dir-az { list-style: none; margin: 10px 0 0; padding: 0; }
.dir-az li { padding: 6px 0; }
.dir-az li a { font-weight: 600; }
.dir-az-cat { color: var(--muted); font-size: .88rem; font-weight: 400; }
