/* Structural defaults for Studio Catalog blocks. Themes supply color, type, and spacing. */
.studio-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.studio-card-preview__link{display:block;aspect-ratio:4/3;overflow:hidden;text-decoration:none;color:inherit}
.studio-card-preview.is-pair .studio-card-preview__link{aspect-ratio:auto}
.studio-card-preview.is-single img{display:block;width:100%;height:auto;max-height:100%;object-fit:cover;object-position:top}
.studio-card-preview__empty{display:flex;align-items:center;justify-content:center;height:100%;padding:1rem;text-align:center}
/* Card pair: each screenshot keeps its natural height, cropped from the top at a 4:7.5 frame. */
.studio-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px}
.studio-pair__cell{position:relative;display:block;min-width:0;aspect-ratio:8/15}
.studio-pair__sheet{position:absolute;top:0;left:0;right:0;display:block;max-height:100%;overflow:hidden}
.studio-pair__sheet img{display:block;width:100%;height:auto}
.studio-pair__label{position:absolute;left:6px;bottom:6px;max-width:calc(100% - 12px);padding:2px 7px;overflow:hidden;font-size:14px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;background:#fff;color:#1d1a18}
.studio-quad{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.studio-shot{margin:0;min-width:0}
.studio-shot__link{display:block}
.studio-shot img,.studio-shot-main img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:top}
/* Product 2×2: natural height up to a 4:7.5 frame (width × 1.875); shorter pages stay short. */
.studio-gallery.is-tall .studio-quad{align-items:start}
.studio-gallery.is-tall .studio-shot{container-type:inline-size}
.studio-gallery.is-tall .studio-shot__link{aspect-ratio:8/15;overflow:hidden}
@supports (width:1cqw){.studio-gallery.is-tall .studio-shot__link{aspect-ratio:auto;max-height:187.5cqw}}
.studio-gallery.is-tall .studio-shot img{aspect-ratio:auto;object-fit:contain}
.studio-shot-main{margin:0}
.studio-shot-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:12px 0 0;padding:0;list-style:none}
.studio-facts{margin:0}
.studio-facts dd{margin:0}
.studio-facts.is-inline{display:flex;flex-wrap:wrap;gap:4px 14px}
.studio-facts.is-inline dt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.studio-pages,.studio-changelog,.studio-list{margin:0;padding:0;list-style:none}
.studio-controls{margin:0}
.studio-controls dd{margin:0}
.studio-platform-panel[hidden]{display:none!important}
.studio-platform-tabs__list{display:flex;margin:0;padding:0;list-style:none}
.studio-platform-tab{display:inline-flex;align-items:center;min-height:44px}

/* Existing compact catalog presentation, retained outside the Daybreak pilot. */
.studio-card-preview.is-quad .studio-quad{height:100%;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}
.studio-quad__cell{position:relative;display:block;min-height:0;overflow:hidden;border-radius:4px;background:#fff}
.studio-quad__cell img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.studio-quad__label{position:absolute;left:6px;bottom:6px;padding:2px 7px;border-radius:3px;background:rgba(255,255,255,.95);font-size:14px;line-height:1.4;color:#1d1a18}
/* Similar themes: three equal columns, one on mobile. Three items never leave a two-column orphan, so there is no tablet step. */
.studio-similar{display:grid;gap:24px;padding-block:clamp(32px,4vw,48px) clamp(40px,5vw,64px)}
.studio-similar__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 28px;margin:0;padding:0;list-style:none}
.studio-similar__item{display:flex;flex-direction:column;min-width:0;margin:0}
.studio-similar__caption{flex:1 1 auto}
.studio-similar__caption .studio-facts{margin-top:auto;padding-top:4px}
@media(max-width:700px){.studio-similar__list{grid-template-columns:1fr;gap:40px}}
/* Release notification sign-up (Coming soon editions). Borders and buttons follow the filter select and Live preview button. */
.studio-notify{margin-top:20px}.studio-notify__title{margin:0 0 10px;font-size:16px;font-weight:600}.studio-notify__label{display:block;margin:0 0 6px;font-size:14px;color:var(--muted,#5d544d)}.studio-notify__row{display:flex;flex-wrap:wrap;gap:8px}.studio-notify__input{flex:1 1 180px;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #8a7f76;border-radius:6px;background:var(--wp--preset--color--paper,#fff);color:inherit;font:inherit;font-size:16px}.studio-notify__button{min-height:44px;padding:10px 18px;border:1px solid currentColor;border-radius:4px;background:transparent;color:inherit;font:inherit;font-size:16px;font-weight:600;cursor:pointer}.studio-notify__button:hover{background:var(--wp--preset--color--wash,#f2f4f6)}.studio-notify__fine{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--muted,#5d544d)}.studio-notify__message{margin:0 0 10px;font-size:15px;font-weight:600}
.studio-notify.is-compact{margin-top:6px;font-size:14px}.studio-notify.is-compact>summary{cursor:pointer;width:max-content;max-width:100%;color:var(--muted,#5d544d);font-size:14px;text-decoration:underline;text-underline-offset:3px}.studio-notify.is-compact .studio-notify__form,.studio-notify.is-compact .studio-notify__message{margin-top:10px}
.studio-notify-result{max-width:640px;margin:0 auto;padding:clamp(48px,8vw,96px) clamp(20px,4vw,48px)}.studio-notify-result h1{margin:0 0 16px}
