.pixl-hh-grid { display:grid; grid-template-columns:repeat(var(--pixl-columns,3),minmax(0,1fr)); gap:2px; }
.pixl-hh-grid .pixl-hh-item { display:flex; align-items:center; justify-content:center; aspect-ratio: 4/3; background:#fff; color:inherit; text-decoration:none; min-width:0; cursor:pointer; }
.pixl-hh-grid .pixl-hh-item img { width:100%; height:100%; object-fit:contain; display:block; }
.pixl-hh-grid .pixl-hh-item[aria-expanded=true] { box-shadow:inset 0 -3px #a53659; }
.pixl-hh-grid .pixl-hh-item:focus-visible,.pixl-hh-grid .pixl-hh-close:focus-visible { outline:2px solid currentColor; outline-offset:-3px; }
.pixl-hh-grid .pixl-hh-detail { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:clamp(16px,4vw,40px); padding:clamp(20px,4vw,40px); position:relative; background:#f7f7f7; }
.pixl-hh-grid .pixl-hh-detail[hidden] { display:none!important; }
.pixl-hh-grid .pixl-hh-detail > img { width:100%; height:auto; }
.pixl-hh-grid .pixl-hh-close { position:absolute; top:4px; right:8px; border:0; background:transparent; color:inherit; font-size:28px; line-height:1; padding:8px; cursor:pointer; }
@media(max-width:1023px){.pixl-hh-grid{grid-template-columns:repeat(var(--pixl-tablet,2),minmax(0,1fr));}}
@media(max-width:767px){.pixl-hh-grid,.pixl-hh-grid .pixl-hh-detail{grid-template-columns:minmax(0,1fr);}}

.pixl-hh-grid .pixl-hh-detail { box-sizing:border-box; overflow:hidden; min-height:0; align-self:start; }
