/* Preserve Sites v28 geometry across native TYPO3 wrappers. */
.phable-import-main>.frame{display:contents}.phable-import-main>.frame>.frame-header{display:none}.phable-import-main>.frame:has(.phable-legal){display:block;max-width:960px;margin:2rem auto;padding:0 1.5rem}.phable-import-main:has(.phable-legal)>.frame>.frame-header{display:block}.phable-import-main .wp-block-image{margin:0 0 1.5em}.phable-import-main .article-body .frame{display:contents}.entry-content .ce-bodytext>p,.entry-content .ce-bodytext>ul,.entry-content .ce-bodytext>ol{margin-bottom:1.5em}.article-body .ce-gallery{float:none;margin:1.5em 0}.article-body .ce-gallery img{width:100%;height:auto}.phable-import-main .frame-header h2,.phable-import-main .frame-header h3{margin-top:1.8em}.phable-import-main .youtube-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.phable-import-main .youtube-video-card{width:auto;margin:0}.footer{margin-top:0}.header .nav-cta{display:inline-flex;align-items:center;gap:5px}.legal-links{flex-wrap:wrap}.legal-links a,.legal-links button{min-height:44px;display:inline-flex;align-items:center}.phable-import-main .phable-subpage{min-height:0}.youtube-spotlight-player .media-consent{min-height:100%;box-sizing:border-box}.youtube-filter-panel[hidden]{display:none!important}@media(max-width:960px){.phable-import-main .youtube-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.phable-import-main .youtube-video-grid{grid-template-columns:1fr}}

.phable-import-main:has(.phable-legal){max-width:960px;margin:2rem auto;padding:0 1.5rem}.phable-import-main:has(.phable-legal)>.frame:has(.phable-legal){display:contents}

#phable-player-dialog.youtube-watch-dialog{width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;background:#d7dccf;color:var(--ink)}#phable-player-dialog.youtube-watch-dialog .dialog-content{padding:30px}

.header nav>.nav-cta{padding:4px 8px}@media(max-width:760px){.header nav>.nav-cta{padding:8px 0}}

/* Shared spacing and controls after the responsive whole-site review (0.3.6). */
.services-page .phable-subpage>h1.visually-hidden{position:static!important;width:min(1376px,calc(100% - 88px));height:auto;padding:62px 0 0;margin:0 auto;overflow:visible;clip:auto;clip-path:none;white-space:normal;font-size:clamp(42px,6vw,76.8px);line-height:1.05;letter-spacing:-.045em}
.youtube-heading h1{font-size:clamp(42px,6vw,76.8px);line-height:1.05;letter-spacing:-.045em}
.media-consent{align-content:center}
.media-consent button{align-self:start;min-height:44px}
.subpage-main .text-link,.sound-service-grid [data-enquire]{display:inline-flex;align-items:center;gap:.5rem;min-height:44px}
.phable-import-main:has(.phable-legal){width:min(880px,calc(100% - 88px));max-width:none;margin:0 auto;padding:62px 0 78px}
.phable-import-main:has(.phable-legal) h1{font-size:clamp(42px,5vw,64px);line-height:1.08;letter-spacing:-.035em;margin:0 0 28px;text-transform:none}
.phable-legal h2{line-height:1.2;margin:44px 0 16px;text-transform:none}
.phable-legal p+p{margin-top:16px}
@media(max-width:760px){
 .services-page .phable-subpage>h1.visually-hidden{width:calc(100% - 36px);padding-top:44px}
 .phable-import-main:has(.phable-legal){width:calc(100% - 36px);padding:44px 0 52px}
 .phable-legal h2{margin-top:34px}
}
.archive-main.section{padding-block:62px 78px}
@media(max-width:760px){.archive-main.section{padding-block:44px 52px}}

.phable-asset-picture{display:contents}.studio-photo>.phable-asset-picture>img{width:100%;height:clamp(340px,42vw,640px);object-fit:cover;object-position:50% 48%}.phable-media-visual>.phable-asset-picture>img{width:100%;height:auto;display:block;max-width:100%;margin:0}
.guide-intro{max-width:880px;margin:0 0 40px;font-size:17px;line-height:1.8}.guide-intro p+p{margin-top:18px}.guide-intro ol{padding-left:1.4em;margin:24px 0}.guide-intro li+li{margin-top:12px}.guide-intro a,.acoustics-series a{text-decoration:underline;text-underline-offset:3px}.acoustics-series{border-block:1px solid var(--line);padding:24px 0;margin:36px 0}.acoustics-series h2{font-size:24px;text-transform:none;margin:0 0 16px}.acoustics-series ol{padding-left:1.4em}.acoustics-series li+li{margin-top:8px}.youtube-companion{display:inline-flex;min-height:44px;align-items:center;font-size:13px;text-decoration:underline;margin-top:12px}
@media(max-width:760px){.studio-photo>.phable-asset-picture>img{height:auto;aspect-ratio:1.18;object-position:50% 45%}.guide-intro{font-size:16px}}

/* Original WordPress service illustrations belong to the visual template. */
.services-page .sound-service-block:has([data-service="Mixing"])::before,.services-page .sound-service-block:has([data-service="Mastering"])::before{content:"";position:absolute;right:32px;top:34px;width:44px;height:44px;background:center/contain no-repeat;pointer-events:none}
.services-page .sound-service-block:has([data-service="Mixing"])::before{background-image:url("icons/mixing.svg")}
.services-page .sound-service-block:has([data-service="Mastering"])::before{background-image:url("icons/mastering.svg")}
@media(max-width:1000px){.services-page .sound-service-block:has([data-service])::before{right:26px;top:28px;width:36px;height:36px}}
@media(max-width:760px){.services-page .sound-service-block:has([data-service])::before{right:24px}}
