/* PSH Categories — PNG Stock Hub branded styles
   Brand: primary #0660E7 · ink #071B3A · soft #f7fbff
   Responsive: desktop / tablet / mobile. No page builder required. */

.psh-page{--psh-blue:#0660E7;--psh-blue-d:#0647ad;--psh-ink:#071B3A;--psh-muted:#52647a;--psh-line:#e4edf9;--psh-soft:#f7fbff;
  font-family:Inter,'Segoe UI',system-ui,-apple-system,sans-serif;color:var(--psh-ink);width:100%;box-sizing:border-box;}
.psh-page *,.psh-page *::before,.psh-page *::after{box-sizing:border-box;}
.psh-container{width:100%;max-width:1200px;margin:0 auto;padding:0 16px;}

/* Theme compatibility: keep the content column full width on our category pages
   so the card grid never collapses into a single column. */
body.psh-category .content-area,
body.psh-category #primary,
body.psh-category .site-main,
body.psh-category .site-content{width:100%!important;max-width:100%!important;float:none!important;}
body.psh-category .sidebar,
body.psh-category #right-sidebar,
body.psh-category #left-sidebar{display:none!important;}

/* Breadcrumbs */
.psh-crumbs{font-size:13px;color:var(--psh-muted);padding:14px 0 0;}
.psh-crumbs a{color:var(--psh-muted);text-decoration:none;font-weight:600;}
.psh-crumbs a:hover{color:var(--psh-blue);}
.psh-crumbs__sep{margin:0 8px;opacity:.5;}
.psh-crumbs__cur{color:var(--psh-ink);font-weight:800;}

/* Hero / banner */
.psh-hero{position:relative;margin:14px 0 8px;border-radius:22px;overflow:hidden;
  background:linear-gradient(135deg,#eef6ff,#ffffff);}
.psh-hero__inner{position:relative;max-width:1200px;margin:0 auto;padding:46px 24px;text-align:center;}
.psh-hero--banner{background-size:cover;background-position:center;}
.psh-hero--banner::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,27,58,.30),rgba(7,27,58,.66));}
.psh-hero--banner .psh-hero__inner{padding:74px 24px;}
.psh-hero--banner .psh-hero__title,.psh-hero--banner .psh-hero__desc{color:#fff;position:relative;}
.psh-hero__title{font-size:40px;line-height:1.1;font-weight:900;margin:0 0 10px;color:var(--psh-ink);}
.psh-hero__desc{font-size:16px;line-height:1.65;max-width:760px;margin:0 auto;color:var(--psh-muted);}
.psh-hero__desc p{margin:0 0 8px;}

/* Counters */
.psh-stats{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:22px 0 6px;}
.psh-stat{background:#fff;border:1px solid var(--psh-line);border-radius:16px;padding:14px 26px;min-width:130px;text-align:center;
  box-shadow:0 10px 26px rgba(7,27,58,.07);}
.psh-stat__num{display:block;font-size:24px;font-weight:900;color:var(--psh-blue);}
.psh-stat__label{display:block;font-size:12px;font-weight:700;color:var(--psh-muted);margin-top:2px;}

/* Sections */
.psh-section{margin:34px 0;}
.psh-grouphead{display:flex;align-items:center;gap:12px;margin:0 0 18px;}
.psh-grouphead h2{font-size:26px;font-weight:900;margin:0;color:var(--psh-ink);}
.psh-grouphead__line{flex:1;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--psh-blue),transparent);}
.psh-grouphead__all{font-size:13px;font-weight:800;color:var(--psh-blue);text-decoration:none;white-space:nowrap;}

/* Subcategory cards */
.psh-subgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;}
.psh-cat{display:flex;flex-direction:column;background:#fff;border:1px solid var(--psh-line);border-radius:18px;overflow:hidden;
  text-decoration:none;box-shadow:0 12px 28px rgba(7,27,58,.09);transition:transform .18s,box-shadow .18s,border-color .18s;}
.psh-cat:hover{transform:translateY(-5px);box-shadow:0 22px 46px rgba(6,96,231,.18);border-color:#b7d5ff;}
.psh-cat__thumb{position:relative;min-height:150px;display:flex;align-items:center;justify-content:center;background:var(--psh-soft);}
.psh-cat__thumb img{max-width:100%;max-height:128px;width:auto;object-fit:contain;padding:16px;
  filter:drop-shadow(0 7px 13px rgba(7,27,58,.12));}
.psh-cat__ph{font-size:38px;}
.psh-cat__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:3px;}
.psh-cat__name{font-size:16px;font-weight:900;color:var(--psh-ink);}
.psh-cat__count{font-size:12px;font-weight:700;color:var(--psh-muted);}

/* PNG grid + masonry */
.psh-pnggrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(228px,1fr));gap:26px;align-items:stretch;}
.psh-pnggrid.is-masonry{display:block;column-count:4;column-gap:26px;}
.psh-pnggrid.is-masonry .psh-png{break-inside:avoid;margin:0 0 26px;}
.psh-png{height:100%;background:#fff;border:1px solid var(--psh-line);border-radius:20px;overflow:hidden;
  box-shadow:0 14px 32px rgba(7,27,58,.11);display:flex;flex-direction:column;
  transition:transform .18s,box-shadow .18s,border-color .18s;}
.psh-png:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(6,96,231,.18);border-color:#b7d5ff;}
.psh-png__thumb{position:relative;min-height:210px;padding:18px;display:flex;align-items:center;justify-content:center;
  text-decoration:none;background:var(--psh-soft);}
.psh-png__thumb.is-checker{background-color:#fff;
  background-image:linear-gradient(45deg,#eaf3ff 25%,transparent 25%),linear-gradient(-45deg,#eaf3ff 25%,transparent 25%),
  linear-gradient(45deg,transparent 75%,#eaf3ff 75%),linear-gradient(-45deg,transparent 75%,#eaf3ff 75%);
  background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0;}
.psh-png__thumb img{display:block;max-width:100%;max-height:200px;width:auto;object-fit:contain;margin:0 auto;opacity:0;
  transition:opacity .35s ease;filter:drop-shadow(0 7px 13px rgba(7,27,58,.12));}
.psh-png__thumb img.is-loaded{opacity:1;}
.psh-png__ph{font-size:42px;}
.psh-png__type{position:absolute;left:12px;bottom:9px;font-size:10px;font-weight:900;color:var(--psh-muted);
  background:rgba(255,255,255,.82);border:1px solid #e6edf7;border-radius:999px;padding:2px 8px;text-transform:uppercase;}
.psh-png__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:9px;flex:1;}
.psh-png__title{font-size:16px;line-height:1.25;margin:0;font-weight:900;}
.psh-png__title a{color:var(--psh-ink);text-decoration:none;}
.psh-png__title a:hover{color:var(--psh-blue);}
.psh-png__dls{font-size:12px;font-weight:800;color:var(--psh-blue-d);}
.psh-png__btn{margin-top:auto;display:block;text-align:center;text-decoration:none;background:var(--psh-blue);color:#fff;
  border-radius:13px;padding:11px 12px;font-size:13px;font-weight:900;box-shadow:0 8px 20px rgba(6,96,231,.22);}
.psh-png__btn:hover{background:var(--psh-blue-d);color:#fff;}

/* Search bar (inside hero) */
.psh-searchwrap{position:relative;margin:24px auto 2px;max-width:600px;}
.psh-search{display:flex;width:100%;margin:0 auto;background:#fff;border:1px solid var(--psh-line);
  border-radius:14px;overflow:hidden;box-shadow:0 14px 34px rgba(7,27,58,.12);}
.psh-search__input{flex:1;min-width:0;height:54px;border:0;outline:0;background:#fff;color:var(--psh-ink);
  font-size:16px;padding:0 20px;}
.psh-search__input::placeholder{color:#9aa7b8;}
.psh-search__btn{width:64px;height:54px;border:0;background:var(--psh-blue);color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;}
.psh-search__btn:hover{background:var(--psh-blue-d);}
.psh-search__btn svg{width:20px;height:20px;}
@media(max-width:460px){.psh-search__input{height:50px;font-size:15px;}.psh-search__btn{width:54px;height:50px;}}

/* Misc */
.psh-empty{grid-column:1/-1;text-align:center;background:#fff;border:1px solid var(--psh-line);border-radius:18px;
  padding:38px;color:var(--psh-muted);}
.psh-pagi{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:36px 0 10px;}
.psh-pagi .page-numbers{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;
  border-radius:12px;border:1px solid #dbeafe;text-decoration:none;font-weight:900;color:var(--psh-blue);background:#fff;}
.psh-pagi .page-numbers.current{background:var(--psh-blue);color:#fff;border-color:var(--psh-blue);}

/* Tablet */
@media(max-width:1024px){
  .psh-pnggrid.is-masonry{column-count:3;}
  .psh-hero__title{font-size:32px;}
}
@media(max-width:760px){
  .psh-subgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .psh-pnggrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .psh-pnggrid.is-masonry{column-count:2;column-gap:16px;}
  .psh-pnggrid.is-masonry .psh-png{margin-bottom:16px;}
  .psh-hero__title{font-size:26px;}
  .psh-hero__inner{padding:34px 18px;}
  .psh-hero--banner .psh-hero__inner{padding:54px 18px;}
  .psh-grouphead h2{font-size:21px;}
  .psh-png__thumb{min-height:158px;padding:14px;}
  .psh-png__thumb img{max-height:150px;}
  .psh-stat{padding:11px 18px;min-width:104px;}
  .psh-stat__num{font-size:20px;}
}
@media(max-width:460px){
  .psh-pnggrid{grid-template-columns:1fr;}
  .psh-pnggrid.is-masonry{column-count:1;}
  .psh-cat__thumb{min-height:128px;}
}
