
/* V45 image modes and responsive spacing */
.quote-box:after{content:none!important;display:none!important}
.ph-image-banner{height:var(--image-height);position:relative;border-radius:28px;overflow:hidden}
.ph-image-banner a,.ph-image-banner picture,.ph-image-banner img{display:block;width:100%;height:100%}
.ph-image-banner img{object-fit:cover}
.hero-image-actions{position:absolute!important;inset:auto 20px 24px!important;display:flex!important;justify-content:center!important;gap:12px;flex-wrap:wrap;z-index:3}
.hero-image-buttons:after{background:rgba(0,0,0,var(--overlay,0))!important}
.hero-image-buttons .hero-copy{display:none}
.ph-save-status{position:fixed;right:20px;bottom:24px;z-index:999999;background:#11283f;color:white;border-radius:14px;padding:14px 22px;box-shadow:0 4px 20px #0002;display:flex;gap:10px;align-items:center}
.ph-save-status.busy:before{content:'';width:16px;height:16px;border:2px solid #ffffff55;border-top-color:white;border-radius:50%;animation:ph-spin .7s linear infinite}
@keyframes ph-spin{to{transform:rotate(360deg)}}
@media(max-width:768px){.ph-image-banner,.hero.hero-image-buttons{height:auto!important;min-height:0!important;aspect-ratio:4/5!important;padding:0!important}.hero.hero-image-buttons{display:block!important}.hero-image-actions .btn{min-width:0!important;max-width:100%;font-size:13px;padding:10px 14px}.ph-image-banner{width:100%}.hero-image-actions{bottom:20px!important}}
@media(prefers-reduced-motion:reduce){.ph-save-status.busy:before{animation:none}}

/* V47 mode-aware layout and admin controls */
.banner-studio [hidden]{display:none!important}.banner-studio #banner-options{animation:ph-reveal .22s ease}.banner-studio .field>select+input{margin-top:8px}.admin-body .panel{scroll-margin-top:90px}.admin-body .editor-fields{align-items:start}.admin-body .field small{line-height:1.6}.admin-body .admin-savebar{gap:12px;flex-wrap:wrap}
@keyframes ph-reveal{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:769px){.hero-image-actions[data-align=left]{justify-content:flex-start!important}.hero-image-actions[data-align=right]{justify-content:flex-end!important}.hero-image-actions[data-y=top]{top:24px!important;bottom:auto!important}.hero-image-actions[data-y=center]{top:50%!important;bottom:auto!important;transform:translateY(-50%)}}
@media(max-width:768px){.hero-image-buttons[data-mobile-button-align=left] .hero-image-actions{justify-content:flex-start!important}.hero-image-buttons[data-mobile-button-align=right] .hero-image-actions{justify-content:flex-end!important}.hero-image-buttons[data-mobile-button-y=top] .hero-image-actions{top:20px!important;bottom:auto!important;transform:none!important}.hero-image-buttons[data-mobile-button-y=center] .hero-image-actions{top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}.hero-image-buttons:is([data-mobile-button-y=bottom],[data-mobile-button-y=afterText]) .hero-image-actions{top:auto!important;bottom:20px!important;transform:none!important}.hero-wrap{width:100%;box-sizing:border-box}.hero-image-buttons{min-width:0}}
@media(prefers-reduced-motion:reduce){.banner-studio #banner-options{animation:none}}
