.wp-block-hub-sample-gallery { min-width:0; }
.wp-block-hub-sample-gallery .hub-gallery-tabs { display:flex;justify-content:center;gap:8px;margin-bottom:28px; }
.wp-block-hub-sample-gallery .hub-gallery-tabs button { padding:10px 20px;border:1px solid var(--hub-line);border-radius:12px;font:inherit;font-size:15px;font-weight:600;color:var(--hub-muted);background:var(--hub-paper);cursor:pointer; }
.wp-block-hub-sample-gallery .hub-gallery-tabs [aria-selected="true"] { color:#fff;border-color:var(--hub-accent);background:var(--hub-accent); }
.wp-block-hub-sample-gallery .hub-gallery-panel { display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);gap:22px;align-items:stretch; }
.wp-block-hub-sample-gallery .hub-gallery-panel + .hub-gallery-panel { margin-top:28px; }
.wp-block-hub-sample-gallery[data-enhanced="true"] .hub-gallery-panel { margin-top:0; }
.wp-block-hub-sample-gallery .hub-gallery-shot { margin:0;min-width:0;border:1px solid var(--hub-line);border-radius:20px;overflow:hidden;box-shadow:0 20px 50px rgb(15 31 28 / 10%); }
.wp-block-hub-sample-gallery .hub-gallery-shot img { display:block;width:100%;height:100%;object-fit:cover; }
.wp-block-hub-sample-gallery .hub-gallery-details { display:flex;flex-direction:column;gap:12px;min-width:0;padding:26px;border:1px solid var(--hub-line);border-radius:20px;background:var(--hub-paper); }
.wp-block-hub-sample-gallery .hub-gallery-type { color:var(--hub-accent);font-size:13px;font-weight:700; }
.wp-block-hub-sample-gallery .hub-gallery-details h3 { margin:0;font-size:22px;line-height:1.45;font-weight:800;overflow-wrap:anywhere; }
.wp-block-hub-sample-gallery .hub-gallery-stat { padding:12px 14px;border-radius:12px;background:var(--hub-surface,var(--hub-accent-soft)); }
.wp-block-hub-sample-gallery .hub-gallery-stat small { display:block;color:var(--hub-muted);font-size:12px; }
.wp-block-hub-sample-gallery .hub-gallery-stat b { font-size:15px;overflow-wrap:anywhere; }
.wp-block-hub-sample-gallery .hub-gallery-open { display:inline-flex;align-items:center;justify-content:center;min-height:50px;margin-top:auto;padding:0 26px;border:1px solid transparent;border-radius:14px;color:#fff;background:var(--hub-accent);font-weight:700;font-size:15px;text-align:center;text-decoration:none;box-shadow:0 10px 24px rgb(14 124 107 / 25%); }
.wp-block-hub-sample-gallery .hub-gallery-open:hover { background:var(--hub-accent-hover); }
.wp-block-hub-sample-gallery [hidden] { display:none!important; }
.editor-styles-wrapper .hub-gallery-editor-fields { margin-top:16px;color:var(--hub-ink);font-size:14px; }
@media(max-width:760px) {
 .wp-block-hub-sample-gallery .hub-gallery-tabs { justify-content:flex-start;overflow-x:auto; }
 .wp-block-hub-sample-gallery .hub-gallery-tabs button { flex:0 0 auto;white-space:nowrap;padding:9px 14px;font-size:14px; }
 .wp-block-hub-sample-gallery .hub-gallery-panel { grid-template-columns:minmax(0,1fr); }
 .wp-block-hub-sample-gallery .hub-gallery-shot img { height:auto; }
}
