/* Show six examples at a time without changing their detail or playback behavior. */
[data-showcase-hidden]{display:none!important}
.ih-showcase-pagination{display:flex;flex-direction:column;align-items:center;gap:10px;grid-column:1/-1;margin:32px auto 12px}
.ih-showcase-pagination[hidden]{display:none!important}
.ih-showcase-pagination :is(.ih-showcase-more,.ih-showcase-less){min-width:144px;min-height:44px;padding:11px 24px;border:1px solid #171717;border-radius:999px;background:#171717;color:#fff;font:500 13px/20px var(--brand-font-body);cursor:pointer}
.ih-showcase-pagination :is(.ih-showcase-more,.ih-showcase-less):hover{background:#333;border-color:#333}
.ih-showcase-pagination :is(.ih-showcase-more,.ih-showcase-less):focus-visible{outline:2px solid #92988c;outline-offset:4px}
.ih-showcase-pagination>span{font:400 11px/1.5 var(--brand-font-body);color:#888d82}

.ih-showcase-page-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}
.ih-showcase-pagination button[hidden]{display:none!important}

/* A visible close action for the entire showcase, independent of pagination. */
.ih-showcase-toolbar{display:flex;justify-content:flex-end;align-items:center;margin-bottom:12px}
#ih-template-gallery #ih-template-close.ih-showcase-close{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 15px;border:1px solid #171717;border-radius:999px;background:#171717;color:#fff;font:500 12px/20px var(--brand-font-body);cursor:pointer}
#ih-template-gallery #ih-template-close.ih-showcase-close:hover{background:#333;border-color:#333}
#ih-template-close.ih-showcase-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
#ih-template-gallery #ih-template-close.ih-showcase-close:focus-visible{outline:2px solid #92988c;outline-offset:4px}

/* Keep the gallery footer free of supplementary copy. */
.ig-gallery-note{display:none!important}
.ih-showcase-pagination>span{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Keep the category selector and Close aligned on one row. */
.ih-showcase-filter-row{display:flex;align-items:center;gap:20px;margin-bottom:24px;min-width:0}
.ih-showcase-filter-row[hidden]{display:none!important}
.ih-showcase-filter-row>:first-child{flex:1;min-width:0;margin:0!important}
.ih-showcase-filter-row>#ih-template-close{flex:none;align-self:center}
.ih-showcase-toolbar:empty{display:none}
@media(max-width:650px){.ih-showcase-filter-row{gap:8px}.ih-showcase-filter-row>#ih-template-close.ih-showcase-close{padding:8px 10px;min-height:38px}.ih-showcase-filter-row .ih-video-filter-list{max-width:100%}}
