:root { --ih-accent:#ff3d5a; --ih-muted:#959cab; --ih-panel:#10131a; }
.imagehub-page .hero-section { display:none; }
.imagehub-page .site-main > .ct-container-full { padding-top:0; }
.imagehub-detail-page .page-title, .imagehub-detail-page .entry-title { color:#fff; }
.ih-library, .ih-home { box-sizing:border-box; width:min(1296px,calc(100% - 32px)); max-width:100%; margin:0 auto; padding:2.8rem 0 5rem; }
.ih-home { border-top:1px solid rgba(255,255,255,.08); }
.ih-library__heading, .ih-home > header { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.4rem; }
.ih-library__heading span, .ih-home > header span { color:var(--ih-accent); font-size:.7rem; font-weight:800; letter-spacing:.18em; }
.ih-library__heading h2, .ih-home > header h2 { margin:.15rem 0 0; color:#fff; font-size:clamp(1.8rem,3vw,2.6rem); }
.ih-home > header > a { color:#fff; font-size:.84rem; font-weight:700; text-decoration:none; }
.ih-filters { display:flex; overflow-x:auto; gap:.5rem; margin:0 0 1.5rem; scrollbar-width:none; }
.ih-filters::-webkit-scrollbar { display:none; }
.ih-filters a { flex:0 0 auto; border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:.42rem .8rem; color:#b7bdc8; font-size:.78rem; text-decoration:none; background:#12151c; }
.ih-filters a.is-active, .ih-filters a:hover { border-color:var(--ih-accent); color:#fff; background:rgba(255,61,90,.14); }
.ih-list { border-top:1px solid rgba(255,255,255,.1); }
.ih-gallery-row { border-bottom:1px solid rgba(255,255,255,.08); }
.ih-gallery-row > a { display:block; padding:1.3rem .35rem; color:inherit; text-decoration:none; }
.ih-gallery-row > a:hover { background:rgba(255,255,255,.025); }
.ih-gallery-row__heading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:1rem; margin-bottom:.85rem; }
.ih-gallery-row__heading small { color:var(--ih-accent); font-size:.68rem; font-weight:800; }
.ih-gallery-row h3 { margin:.12rem 0 .25rem; color:#fff; font-size:1.08rem; }
.ih-gallery-row__heading p { overflow:hidden; margin:0; color:var(--ih-muted); font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.ih-gallery-row__heading > span { color:var(--ih-muted); font-size:.72rem; white-space:nowrap; }
.ih-preview { display:grid; grid-template-columns:repeat(5,minmax(0,130px)); gap:.45rem; }
.ih-preview img { width:100%; aspect-ratio:16/10; border-radius:5px; object-fit:cover; }
.ih-no-images, .ih-empty { display:block; padding:1rem; color:var(--ih-muted); }
.ih-pagination { margin-top:2rem; }
.ih-pagination ul { display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem; margin:0; padding:0; list-style:none; }
.ih-pagination .page-numbers { display:grid; min-width:38px; min-height:38px; place-items:center; border:1px solid rgba(255,255,255,.12); border-radius:7px; padding:.42rem .7rem; color:#d9dce3; text-decoration:none; background:#151821; }
.ih-pagination .page-numbers:hover, .ih-pagination .current { border-color:var(--ih-accent); color:#fff; background:var(--ih-accent); }
.ih-pagination .dots { border-color:transparent; background:transparent; }
.ih-description { max-width:820px; margin:0 auto 2rem; color:#d9dce3; line-height:1.8; }
.ih-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.ih-detail-grid a { display:block; overflow:hidden; border-radius:7px; background:#151821; }
.ih-detail-grid img { display:block; width:100%; height:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .25s ease; }
.ih-detail-grid a:hover img { transform:scale(1.025); }
@media (max-width:700px) {
  .ih-library, .ih-home { width:100%; padding:2rem 10px 4rem; }
  .ih-gallery-row__heading { grid-template-columns:1fr; gap:.35rem; }
  .ih-gallery-row__heading > span { justify-self:start; }
  .ih-preview { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .ih-preview img:nth-child(n+5) { display:none; }
  .ih-pagination .page-numbers { min-width:36px; min-height:36px; padding:.35rem .6rem; font-size:.78rem; }
  .ih-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; }
}
