
/* SuperToolZone tool-page sidebar */
.stz-tool-layout{max-width:1440px;margin:0 auto;padding:0 22px 40px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.stz-tool-main{min-width:0}
.stz-tool-main>.section{padding-left:0;padding-right:0}
.stz-tool-main>.section>.wrap{max-width:none;padding-left:0;padding-right:0}
.stz-tool-sidebar{position:sticky;top:18px;display:flex;flex-direction:column;gap:16px}
.stz-tool-widget{background:#fff;border:1px solid var(--line,#d8e0dc);border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(28,38,34,.07)}
.stz-tool-widget h2{margin:0;padding:13px 16px;background:#1f5c4e;color:#fff;font-size:17px;line-height:1.35}
.stz-tool-widget-label{display:block;padding:8px 12px;color:#66736d;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.stz-tool-ad{height:250px;margin:0 12px 12px;border:2px dashed #bdc9c3;background:#f6f9f7;display:grid;place-content:center;text-align:center;color:#6c7973}
.stz-tool-ad strong{display:block;color:#1c2622;font-size:23px}.stz-tool-ad span{font-size:13px}
.stz-tool-search{padding:14px}.stz-tool-search-row{display:flex}.stz-tool-search input{min-width:0;flex:1;border:1px solid #bdc9c3;border-right:0;border-radius:9px 0 0 9px;padding:11px 12px;font:inherit}
.stz-tool-search button{border:0;border-radius:0 9px 9px 0;background:#1f5c4e;color:#fff;padding:0 13px;cursor:pointer}.stz-tool-search-status{margin:8px 0 0;color:#66736d;font-size:12px}
.stz-tool-popular,.stz-tool-categories{padding:8px 14px 14px}
.stz-tool-popular a{display:flex;justify-content:space-between;gap:10px;padding:9px 3px;border-bottom:1px solid #edf1ef;text-decoration:none;color:#245f9b}.stz-tool-popular a:hover{color:#1f5c4e;background:#f7faf8}.stz-tool-popular a.is-hidden{display:none}
.stz-tool-categories{display:flex;flex-wrap:wrap;gap:8px}.stz-tool-categories a{padding:7px 10px;border-radius:999px;background:#edf7f3;color:#1f5c4e;text-decoration:none;font-size:13px;font-weight:600}
.stz-tool-categories a:hover{background:#dcefe7}
@media(max-width:1050px){.stz-tool-layout{grid-template-columns:1fr}.stz-tool-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stz-tool-ad-widget{grid-row:span 2}}
@media(max-width:700px){.stz-tool-layout{padding-left:14px;padding-right:14px}.stz-tool-sidebar{grid-template-columns:1fr}.stz-tool-ad-widget{grid-row:auto}}
/* Standard tool sidebar: consistent placement and widget spacing */
.stz-tool-sidebar{align-self:start}
.stz-tool-sidebar .stz-tool-widget{width:100%}
.stz-tool-sidebar .stz-tool-widget + .stz-tool-widget{margin-top:16px}
@media (min-width:1025px){.stz-tool-sidebar{position:sticky;top:18px}}
@media (max-width:1024px){.stz-tool-sidebar{position:static}}

/* Combined Popular Tools + All Categories widget */
.stz-tool-category-divider{border-top:1px solid #e5e7eb;margin:4px 0 0;padding:12px 16px 8px}
.stz-tool-category-divider span{display:block;color:#1f5f4f;font-size:14px;font-weight:800}
.stz-tool-categories-combined{padding-top:0!important;border-top:0!important}


/* Combined Popular + All Categories: single-line lower bar */
.stz-tool-category-divider-inline{
  display:block;
  padding:8px 12px 0;
  margin:0;
  border-top:1px solid #d8dee6;
  background:#eef1f4;
  color:#4f5965;
  font-size:13px;
  font-weight:600;
}
.stz-tool-categories-line{
  display:flex !important;
  align-items:center;
  flex-wrap:nowrap !important;
  gap:0 !important;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  padding:7px 8px 10px !important;
  margin:0 !important;
  background:#eef1f4;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.stz-tool-categories-line a{
  flex:0 0 auto;
  display:inline-block !important;
  padding:0 8px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#0b63a8 !important;
  text-decoration:underline;
  font-size:13px;
  line-height:1.4;
}
.stz-tool-categories-line a + a{
  border-left:1px solid #8d98a4 !important;
}
.stz-tool-categories-line::-webkit-scrollbar{
  height:5px;
}
@media (max-width:640px){
  .stz-tool-category-divider-inline{
    padding-left:10px;
    padding-right:10px;
  }
  .stz-tool-categories-line{
    padding-left:4px !important;
    padding-right:4px !important;
  }
  .stz-tool-categories-line a{
    padding:0 7px !important;
    font-size:12px;
  }
}
