/* Tools hub [dp_tools_hub] (inc/tools-hub.php). Light brand: navy #1f3a93, orange #ff6b00. */
.dpth{--n:#1f3a93;--n2:#14256b;--a:#ff6b00;--a2:#e85d00;--ink:#1A202C;--mu:#4A5568;--li:#718096;--bd:#E2E8F0;--so:#F1F4FA;--so2:#E7EDF9;--ease:cubic-bezier(.16,1,.3,1);--fh:Urbanist,'Urbanist Fallback',ui-sans-serif,system-ui,sans-serif;margin:8px 0 12px}
.dpth *,.dpth *::before,.dpth *::after{box-sizing:border-box}
.dpth-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.dpth-filters{display:flex;gap:8px;flex-wrap:wrap}
.dpth .dpth-chip{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px solid var(--bd);border-radius:999px;background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--mu);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.dpth .dpth-chip span{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--so);font-size:12px;font-weight:700;line-height:22px;color:var(--n);text-align:center}
.dpth .dpth-chip:hover{border-color:rgba(31,58,147,.35);color:var(--n)}
.dpth .dpth-chip[aria-pressed="true"]{background:var(--n);border-color:var(--n);color:#fff}
.dpth .dpth-chip[aria-pressed="true"] span{background:rgba(255,255,255,.18);color:#fff}
.dpth .dpth-chip:focus-visible{outline:2px solid var(--n);outline-offset:2px}
.dpth-meta{margin:0!important;font-size:13.5px;color:var(--li)}
.dpth-meta b{color:var(--ink)}
.dpth .dpth-grid{list-style:none;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dpth .dpth-grid li{margin:0!important;padding:0!important;list-style:none;min-width:0}
.dpth .dpth-grid li::marker{content:none}
.dpth-item[hidden]{display:none}
.dpth .dpth-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid var(--bd);border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease)}
.dpth .dpth-card:hover,.dpth .dpth-card:focus-visible{transform:translateY(-3px);border-color:rgba(31,58,147,.28);box-shadow:0 18px 40px -24px rgba(31,58,147,.45);color:var(--ink)}
.dpth .dpth-card:focus-visible{outline:2px solid var(--n);outline-offset:2px}
.dpth-media{position:relative;display:block;aspect-ratio:1200/630;overflow:hidden;background:#0E1A3F}
.dpth-media img{display:block;width:100%;height:100%;object-fit:cover;margin:0!important;border-radius:0!important;transition:transform .5s var(--ease)}
.dpth-card:hover .dpth-media img{transform:scale(1.03)}
.dpth-flag{position:absolute;right:12px;bottom:12px;padding:5px 10px;border-radius:999px;background:var(--a);color:#fff;font-style:normal;font-size:12px;font-weight:700;letter-spacing:.02em;box-shadow:0 6px 16px -6px rgba(255,107,0,.7)}
.dpth-body{display:flex;flex-direction:column;gap:6px;flex:1;padding:16px 18px 18px}
.dpth-cat{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--a2)}
.dpth-name{font-family:var(--fh);font-size:19px;font-weight:800;line-height:1.25;color:var(--ink)}
.dpth-desc{font-size:14px;line-height:1.55;color:var(--mu)}
.dpth-go{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:10px;font-size:14px;font-weight:700;color:var(--n)}
.dpth-go svg{width:16px;height:16px;transition:transform .3s var(--ease)}
.dpth-card:hover .dpth-go svg{transform:translateX(3px)}
.dpth-item.is-featured{grid-column:1/-1}
.dpth-item.is-featured .dpth-card{flex-direction:row}
.dpth-item.is-featured .dpth-media{flex:0 0 56%;aspect-ratio:1200/630;align-self:flex-start}
.dpth-item.is-featured .dpth-body{justify-content:center;padding:28px 32px}
.dpth-item.is-featured .dpth-desc{font-size:15.5px}
.dpth-item.is-featured .dpth-go{margin-top:14px}
.dpth-item.is-featured .dpth-name{font-size:28px}
.dpth-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding:18px 22px;border:1px solid var(--so2);border-radius:18px;background:linear-gradient(135deg,#fff,var(--so))}
.dpth-cta div{display:flex;flex-direction:column;gap:2px}
.dpth-cta b{font-family:var(--fh);font-size:18px;color:var(--ink)}
.dpth-cta span{font-size:14px;color:var(--mu)}
.dpth .dpth-btn{flex:none;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:12px;background:var(--a);color:#fff;font-size:14px;font-weight:700;text-decoration:none;box-shadow:0 10px 22px -12px rgba(255,107,0,.8);transition:background .2s,transform .2s}
.dpth .dpth-btn:hover{background:var(--a2);color:#fff;transform:translateY(-1px)}
.dpth-btn svg{width:16px;height:16px}
@media (max-width:980px){
  .dpth .dpth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .dpth .dpth-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .dpth-item.is-featured{grid-column:auto}
  .dpth-item.is-featured .dpth-card{flex-direction:column}
  .dpth-item.is-featured .dpth-media{flex:none;aspect-ratio:1200/630}
  .dpth-item.is-featured .dpth-body{padding:16px 18px 18px}
  .dpth-item.is-featured .dpth-name{font-size:20px}
  .dpth-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -2px;padding:2px}
  .dpth-filters::-webkit-scrollbar{display:none}
  .dpth .dpth-chip{flex:none}
  .dpth-meta{display:none}
  .dpth-cta{flex-direction:column;align-items:flex-start}
  .dpth .dpth-btn{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.dpth *{transition:none!important}}
.dpth-item.is-featured.is-solo{grid-column:auto}
.dpth-item.is-featured.is-solo .dpth-card{flex-direction:column}
.dpth-item.is-featured.is-solo .dpth-media{flex:none;aspect-ratio:1200/630}
.dpth-item.is-featured.is-solo .dpth-name{font-size:19px}
/* trust chips under a tool, related tools */
.dpth-trust{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:-6px 0 28px!important;padding:0!important;font-size:13.5px;font-weight:600;color:#4A5568}
.dpth-trust li{display:inline-flex;align-items:center;gap:6px;margin:0!important}
.dpth-trust svg{width:15px;height:15px;color:#13612e}
.dpth.is-related{margin-top:6px}
.dpth.is-related .dpth-name{font-size:17px}
.dpth.is-related .dpth-desc{font-size:13.5px}
.dpth-all{margin:14px 0 0!important;text-align:center;font-weight:700}
