/* Shared story typography and spacing, with full-width copy instead of an empty label column. */
.example-site.and-new-five-case .and-project-story .and-story-text{grid-template-columns:minmax(0,1fr)!important}
.example-site.and-new-five-case .and-five-intro p{max-width:48ch}
.example-site.and-new-five-case .and-story-heading h1{font-size:clamp(48px,7vw,112px);overflow-wrap:normal;word-break:normal;text-wrap:balance}
.and-five-pair figure{aspect-ratio:3/2;overflow:hidden;margin:0!important}
.and-five-pair img{display:block;width:100%!important;height:100%!important;object-fit:contain!important}
.and-five-social-grid>.wp-block-group__inner-container,.and-five-social-grid:not(:has(>.wp-block-group__inner-container)){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.and-five-social-grid figure{margin:0!important}
.and-five-social-grid img{display:block;width:100%!important;height:auto!important}
.and-five-motion{max-width:540px!important;margin-inline:auto!important}
.and-five-motion-pair figure{aspect-ratio:1;overflow:hidden;margin:0!important}
.and-five-motion-pair video{width:100%!important;height:100%!important;object-fit:contain!important}
@media(min-width:761px){
.example-site #studio-main .studio-project-grid>article.studio-project:is([data-project-client="neumetria"],[data-project-client="the-kudu-x-mylo"],[data-project-client="markus-sittig"]){grid-column:1/-1!important}
.example-site #studio-main .studio-project-grid>article.studio-project:is([data-project-client="zoka"],[data-project-client="samhain"]){grid-column:span 3!important}
}
@media(max-width:760px){
.example-site.and-new-five-case .and-story-heading h1{font-size:clamp(36px,10vw,64px)}
.and-five-social-grid>.wp-block-group__inner-container,.and-five-social-grid:not(:has(>.wp-block-group__inner-container)){gap:8px}
}

/* Keep adjacent visual sections distinct without doubling the existing text padding. */
.and-new-five-case .and-story-content>:is(.and-story-wide,.and-story-pair,.and-five-social-grid)+:is(.and-story-wide,.and-story-pair,.and-five-social-grid){margin-top:clamp(24px,4vw,64px)!important}
.example-site.and-new-five-full .and-project-story>.and-story-flat{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;width:100vw!important;max-width:none!important}
.example-site.and-new-five-full .and-project-story>.and-story-flat img{display:block;width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:760px){.example-site.and-new-five-full .and-project-story>.and-story-flat{aspect-ratio:4/3!important}}
