/* WisdomSpoon Studio v0.3.8 — redesigned /tools directory.
 * Scoped to the enhanced All Tools hub. Never modifies other plugin pages.
 */
body.wst-site .wsce-hub-page.wst-alltools-ready {
  --wst-catalog-ink:#13324a;
  --wst-catalog-blue:#037daa;
  --wst-catalog-cyan:#39bce4;
  --wst-catalog-mist:#e5f6fd;
  --wst-catalog-border:#cfe4f1;
  --wst-catalog-muted:#607991;
  margin-top:22px;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero {
  position:relative;
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 300px;
  align-items:center;
  gap:24px;
  min-height:232px;
  padding:32px 39px !important;
  overflow:hidden;
  isolation:isolate;
  border-radius:23px;
  background:linear-gradient(111deg,#063149 3%,#0b5478 53%,#048d9c 100%) !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero:before {
  content:"";
  position:absolute;
  right:-110px;top:-130px;
  width:420px;height:420px;
  border:1px solid rgba(188,235,249,.14);
  border-radius:50%;pointer-events:none;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero .wsce-platform-icon {
  width:68px;height:68px;
  background:#e4f5ff !important;
  color:#075c80 !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero > div:not(.wst-directory-hero-art) {
  min-width:0;position:relative;z-index:1;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero h1 {
  font-size:clamp(36px,4vw,52px);line-height:1.08;
  letter-spacing:-.045em;
  color:white !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero p {
  font-size:14px;line-height:1.65;
  max-width:545px;
  color:#d9edf7 !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero .wsce-kicker {
  color:#9cebf4 !important;
  font-size:11px;letter-spacing:.15em;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-hero-art {
  position:relative;z-index:1;
  padding:16px 20px 19px;
  min-height:156px;
  border-radius:17px;
  background:linear-gradient(149deg,rgba(246,252,255,.97),rgba(193,242,250,.87));
  border:1px solid rgba(209,244,252,.75);
  box-shadow:0 16px 26px rgba(3,37,66,.18);
  transform:rotate(-3deg);
}
.wst-directory-art-top{display:flex;gap:6px;align-items:center;}
.wst-directory-art-dot{width:7px;height:7px;border-radius:50%;background:#7acfe8;}
.wst-directory-art-caption{font-size:8px;letter-spacing:.14em;color:#22738d;font-weight:800;margin-left:auto;}
.wst-directory-art-bars{height:88px;display:flex;align-items:end;gap:9px;padding:15px 4px 2px;border-bottom:1px solid rgba(24,121,156,.18);}
.wst-directory-art-bars i{flex:1;min-width:7px;background:linear-gradient(#39c7d5,#0b85bb);border-radius:4px 4px 0 0;height:29%;}
.wst-directory-art-bars i:nth-child(2){height:44%;}.wst-directory-art-bars i:nth-child(3){height:39%;}.wst-directory-art-bars i:nth-child(4){height:58%;}.wst-directory-art-bars i:nth-child(5){height:74%;}.wst-directory-art-bars i:nth-child(6){height:68%;}.wst-directory-art-bars i:nth-child(7){height:95%;}
.wst-directory-art-trend{display:flex;justify-content:flex-end;gap:6px;margin-top:9px;}
.wst-directory-art-trend span{height:5px;width:36px;background:#a7dae6;border-radius:5px;}.wst-directory-art-trend span:nth-child(2){width:53px;}.wst-directory-art-trend span:nth-child(3){width:27px;background:#2b9ec1;}

/* Search and filters */
body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-section {padding-top:24px;}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-toolbar {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:14px 18px;margin:0 0 7px;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-search {
  display:flex;align-items:center;gap:10px;
  flex:1 1 325px;max-width:470px;min-height:46px;
  padding:0 15px;color:#287b9e;
  border:1px solid #bcdce9;border-radius:999px;
  background:#fff;box-shadow:0 4px 12px rgba(5,62,92,.04);
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-search:focus-within {outline:2px solid #49bedf;outline-offset:2px;}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-search input {
  flex:1;width:100%;min-width:0;height:43px;margin:0;padding:8px 0;
  border:0;box-shadow:none;outline:0;background:transparent;
  color:#153952;font-size:13px;font-weight:500;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-search input::placeholder {color:#67859a;opacity:1;}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filters {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filter-label {
  margin-right:4px;color:#42697f;font-size:11px;font-weight:750;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filters button {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:35px;margin:0;padding:8px 12px;
  background:#f4faff !important;
  border:1px solid #bcddec !important;
  border-radius:999px;color:#285873 !important;
  font-size:11px;line-height:1.2;font-weight:750;
  cursor:pointer;box-shadow:none !important;transform:none;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filters button[aria-pressed="true"] {
  color:#05334d !important;background:#6ed6ed !important;border-color:#6ed6ed !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filters button:focus-visible {outline:2px solid #0b75a4;outline-offset:2px;}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-status {
  margin:5px 0 20px;min-height:15px;color:#648296;
  text-align:right;font-size:11px;
}

/* Category sections and cards */
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group {
  margin:0 0 36px;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-heading {
  display:flex;align-items:center;gap:15px;
  margin:0 0 15px;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-icon {
  flex:none;width:50px;height:50px;display:grid;place-items:center;
  color:#0a84b3;
  border-radius:14px;background:linear-gradient(135deg,#e2f6ff,#c5eff7);
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-copy {flex:1;min-width:0;}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-eyebrow {
  display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#1687b3;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group h2 {
  margin:3px 0 2px;color:#0c2b43;font-size:clamp(22px,2.7vw,28px);font-weight:800;line-height:1.18;
  letter-spacing:-.035em;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-heading p {
  margin:0;color:#668099;font-size:12px;line-height:1.5;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-count {
  flex:none;margin-left:auto;padding:5px 10px;
  border-radius:999px;background:#eff7fd;color:#27769a;
  border:1px solid #d6eaf4;font-size:11px;font-weight:750;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid.wsce-tool-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:13px !important;margin:0 !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card {
  display:flex;flex-direction:column;min-width:0;min-height:205px;
  padding:17px 18px 16px;border-radius:16px;
  background:#fff;border:1px solid #cfe4f1 !important;
  box-shadow:0 9px 17px rgba(5,60,91,.065) !important;
  color:#14334b;transition:border-color .17s,transform .17s,box-shadow .17s;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card:hover,
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card:focus-visible {
  border-color:#75c7ea !important;transform:translateY(-2px);
  box-shadow:0 14px 27px rgba(5,60,91,.10) !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card .wsce-platform-icon {
  width:43px;height:43px;flex:none;margin:0 0 11px !important;
  background:#e4f4fd !important;color:#0d87b7 !important;
  border-radius:12px;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card strong {
  font-size:14px;line-height:1.28;color:#15344b !important;
  font-weight:800;letter-spacing:-.015em;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card span:not(.wsce-platform-icon) {
  margin-top:9px;color:#617b92;font-size:12px;line-height:1.55;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card em {
  margin-top:auto;padding-top:12px;color:#027da7 !important;font-size:12px;font-weight:850;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-other .wst-directory-grid.wsce-tool-grid {
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wst-alltools-compact.wsce-tool-card {
  min-height:175px;padding:18px 15px;
}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wst-alltools-compact.wsce-tool-card strong {font-size:13px;}
body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wst-alltools-compact.wsce-tool-card span:not(.wsce-platform-icon) {
  font-size:11px;line-height:1.4;
}
body.wst-site .wsce-hub-page.wst-alltools-ready [hidden] {display:none !important;}
@media (max-width:1050px) {
  body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero {grid-template-columns:62px minmax(0,1fr) 225px;gap:17px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid.wsce-tool-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-other .wst-directory-grid.wsce-tool-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:800px) {
  body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero {grid-template-columns:54px minmax(0,1fr);padding:27px 25px !important;min-height:185px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-hero-art {display:none;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero .wsce-platform-icon {width:54px;height:54px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid.wsce-tool-grid,
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-other .wst-directory-grid.wsce-tool-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-toolbar {align-items:stretch;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-search {max-width:none;flex-basis:100%;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filters {justify-content:flex-start;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-status {text-align:left;}
}
@media (max-width:520px) {
  body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero {grid-template-columns:1fr;gap:12px;padding:24px 21px !important;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wsce-hub-hero h1 {font-size:34px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filter-label {flex-basis:100%;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-filters button {min-height:33px;padding:8px 11px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-heading {gap:10px;align-items:flex-start;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-icon {width:43px;height:43px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-heading p {font-size:11px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-count {display:none;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid.wsce-tool-grid,
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-group-other .wst-directory-grid.wsce-tool-grid {grid-template-columns:1fr !important;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wsce-tool-card {min-height:0;padding:15px 17px;}
  body.wst-site .wsce-hub-page.wst-alltools-ready .wst-directory-grid .wst-alltools-compact.wsce-tool-card {min-height:0;padding:15px 17px;}
}
