/* Two bounded photo arrangements; page size, artwork and type system stay fixed. */
.kz-page[data-template="starstruck"][data-photo-orientation="portrait"] .kz-composition--adaptive-photos-1 .kz-adaptive-photo{left:8%!important;top:28%!important;width:42%!important;height:61%!important;transform:rotate(-2deg)!important}
.kz-page[data-template="starstruck"][data-photo-orientation="portrait"] .kz-composition--adaptive-photos-1 .kz-edition-notes{left:55%!important;right:8%!important;top:28%!important;bottom:10%!important;grid-template-columns:1fr!important}
.kz-page[data-template="starstruck"][data-photo-orientation="landscape"] .kz-composition--adaptive-photos-1 .kz-adaptive-photo{left:8%!important;top:27%!important;width:84%!important;height:38%!important;transform:rotate(-1deg)!important}
.kz-page[data-template="starstruck"][data-photo-orientation="landscape"] .kz-composition--adaptive-photos-1 .kz-edition-notes{left:8%!important;right:8%!important;top:69%!important;bottom:8%!important;grid-template-columns:1fr!important;gap:2cqw}
.kz-page[data-template="starstruck"][data-photo-orientation="landscape"] .kz-composition--adaptive-photos-1 .kz-edition-notes:has(.kz-edition-note:nth-child(2)){grid-template-columns:1fr 1fr!important}
.kz-page[data-template="starstruck"][data-photo-orientation="landscape"] .kz-composition--adaptive-photos-1 .kz-edition-note p{font-size:2.5cqw!important;line-height:1.18!important}
.kz-page[data-template="starstruck"][data-photo-orientation] .kz-adaptive-heading h3{font-size:9.5cqw!important}
/* The current customer editor uses the same bounded arrangements for its photo/story pages. */
.kz-page[data-photo-orientation] .ss-oriented-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:3cqw!important;align-content:start!important}
.kz-page[data-photo-orientation] .ss-oriented-layout>.ss-orientation-header{grid-column:1/-1!important;position:relative!important;inset:auto!important;width:auto!important;height:auto!important;max-width:none!important;margin:0!important}
.kz-page[data-photo-orientation] .ss-oriented-layout>.ss-orientation-photo{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;max-width:none!important;overflow:hidden!important}
.kz-page[data-photo-orientation="portrait"] .ss-oriented-layout>.ss-orientation-photo{grid-column:1!important;aspect-ratio:3/4}
.kz-page[data-photo-orientation="landscape"] .ss-oriented-layout>.ss-orientation-photo{grid-column:1/-1!important;aspect-ratio:3/2}
.kz-page[data-photo-orientation] .ss-orientation-photo .kz-figure-img,.kz-page[data-photo-orientation] .ss-orientation-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
.kz-page[data-photo-orientation] .ss-oriented-layout>.ss-orientation-copy{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;max-width:none!important}
.kz-page[data-photo-orientation="landscape"] .ss-oriented-layout>.ss-orientation-copy{grid-column:1/-1!important}
.kz-page[data-photo-orientation="portrait"] .ss-oriented-layout>.ss-orientation-copy{grid-column:2!important}
.ss-orientation-picker{border:0;padding:0;margin:12px 0 16px;display:flex;gap:8px;flex-wrap:wrap}
.ss-orientation-picker legend{font-size:12px;font-weight:800;margin-bottom:7px}
.ss-purchase .ss-orientation-picker button,.ss-studio .ss-orientation-picker button{background:#fff9e9;color:#151515;border:1px solid #151515;min-height:44px;padding:8px 12px;border-radius:8px;font-size:12px}
.ss-purchase .ss-orientation-picker button[aria-pressed=true],.ss-studio .ss-orientation-picker button[aria-pressed=true]{background:#fff600;color:#151515}
.ss-orientation-locked{font-size:11px;margin:10px 0;color:#55434b}
.kz-page[data-photo-orientation] .ss-orientation-photo:has(figcaption){padding-bottom:4cqw}
.kz-page[data-photo-orientation] .ss-orientation-photo figcaption{position:absolute;bottom:0;left:0;right:0;height:4cqw;margin:0;padding:.5cqw;font-size:2cqw;line-height:1.2;background:#fff9e9;color:#151515}

/* Keep the top of the photograph clear for faces. */
.kz-page[data-template="starstruck"] .kz-composition--adaptive-photos-1>.kz-safe-photo-caption{position:absolute!important;z-index:4;margin:0!important;left:8%!important;right:auto!important;top:auto!important;max-width:none!important;box-sizing:border-box;max-height:none;overflow:visible;transform:rotate(-1deg);font-size:2.7cqw;line-height:1.15}
.kz-page[data-photo-orientation="portrait"] .kz-safe-photo-caption{bottom:12%!important;width:42%!important}
.kz-page[data-photo-orientation="landscape"] .kz-safe-photo-caption{bottom:36%!important;width:84%!important}

.kz-page[data-template="starstruck"] .kz-adaptive-heading>.kz-adaptive-dek{margin:0!important}
