/* 1.0.87: shared editable magazine composition refinements. */
.ufa-surface .ufa-heading h1{font-size:clamp(39px,3.6vw,54px)}
.editor-styles-wrapper .editor-post-title .editor-post-title__input,
.editor-styles-wrapper .editor-post-title__input{font-size:clamp(39px,3.6cqw,54px)!important}
.ufa-surface .ufa-content :is(h1,h2,h3).is-style-ubflux-editorial,
.editor-styles-wrapper .is-root-container .is-style-ubflux-editorial{font-size:clamp(42px,5.4cqw,84px)}
.ufa-surface .ufa-content .ubflux-chapter-small.is-style-ubflux-editorial,
.editor-styles-wrapper .is-root-container .ubflux-chapter-small.is-style-ubflux-editorial{font-size:clamp(26px,2.6cqw,40px);margin-block:48px 28px}
/* Large portrait spans two rows; copy sits above the smaller pair. */
.ube-m03 .ube-item-0{grid-column:1/6;grid-row:1/3}
.ube-m03 .ube-item-4{grid-column:6/12;grid-row:1;align-self:start}
.ube-m03 .ube-item-1{grid-column:6/9;grid-row:2;align-self:end}
.ube-m03 .ube-item-2{grid-column:9/12;grid-row:2;align-self:end}
.ube-m03 .ube-item-3{grid-column:12/13;grid-row:2;align-self:end;display:flex;gap:12px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-3 p.ube-note{
 writing-mode:vertical-rl;text-orientation:mixed;white-space:normal;width:auto!important;max-width:none;max-height:320px;margin:0;font-size:12px;line-height:1.4
}
.ube-m03 .ube-item-3>.wp-block-group__inner-container,
.ube-m03 .ube-item-3>.block-editor-inner-blocks,
.ube-m03 .ube-item-3>.block-editor-inner-blocks>.block-editor-block-list__layout{display:contents}
:is(.ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4 .ube-title{margin-bottom:24px}
/* Full-width tall photographs around a narrower reading column. */
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides{gap:clamp(16px,2cqw,32px);align-items:stretch}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides .wp-block-image{
 width:100%!important;max-width:none!important;margin:0!important
}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides .wp-block-image img{
 width:100%!important;height:auto!important;aspect-ratio:2/3;object-fit:cover;object-position:50% 0
}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides .wp-block-column>p{width:100%;margin-inline:0}
@media(max-width:767px){
 :is(.ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4{order:1}
 :is(.ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-0{order:2}
 :is(.ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-1{order:3}
 :is(.ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-2{order:4}
 :is(.ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-3{order:5}
}
@container(max-width:767px){
 .editor-styles-wrapper .ube-m03 .ube-item-4{order:1}
 .editor-styles-wrapper .ube-m03 .ube-item-0{order:2}
 .editor-styles-wrapper .ube-m03 .ube-item-1{order:3}
 .editor-styles-wrapper .ube-m03 .ube-item-2{order:4}
 .editor-styles-wrapper .ube-m03 .ube-item-3{order:5}
}
@container(max-width:767px){
 .editor-styles-wrapper .ubflux-story-sides{flex-direction:column;gap:24px}
 .editor-styles-wrapper .ubflux-story-sides>.wp-block-column{flex-basis:auto!important;width:100%}
}

/* 1.0.88: mobile editorial rhythm, shared with the editor canvas. */
@media(max-width:767px){
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-module.ube-m03{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;gap:16px 10px;width:100%!important;max-width:100%!important;margin:40px 0!important}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item{order:initial;padding:0;min-width:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4{grid-column:1/-1;grid-row:1}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-0{grid-column:1/3;grid-row:2}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-1{grid-column:1;grid-row:3;align-self:start}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-2{grid-column:2;grid-row:3;align-self:start;margin-top:24px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-3{grid-column:3;grid-row:2/4;align-self:start;display:flex;gap:8px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-3 p.ube-note{writing-mode:vertical-rl;text-orientation:mixed;font-size:10px;line-height:1.2;max-height:280px;width:auto!important;margin:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-0 .ube-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:50% 0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 :is(.ube-item-1,.ube-item-2) .ube-photo img{width:100%;aspect-ratio:2/3;object-fit:cover;object-position:50% 0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4 :is(h2.ube-title,p){width:100%;max-width:none;margin-inline:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4 h2.ube-title{font-size:clamp(30px,8cqw,40px);line-height:1.08;margin-bottom:20px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4 p{font-size:16px;line-height:1.6}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;margin-block:32px 48px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column{width:100%;min-width:0;margin:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column:first-child{grid-column:1;grid-row:1}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column:last-child{grid-column:2;grid-row:1;padding-top:28px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column:nth-child(2){grid-column:1/-1;grid-row:2}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides .wp-block-image img{aspect-ratio:2/3}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides .wp-block-column>p{font-size:16px;line-height:1.65}
.ufa-surface .ufa-content :is(h1,h2,h3).is-style-ubflux-editorial,
.editor-styles-wrapper .is-root-container .is-style-ubflux-editorial{font-size:clamp(30px,8.2cqw,42px);line-height:1.12;margin-block:40px 24px;word-break:normal;overflow-wrap:break-word}
.ufa-surface .ufa-content .ubflux-chapter-small.is-style-ubflux-editorial,
.editor-styles-wrapper .is-root-container .ubflux-chapter-small.is-style-ubflux-editorial{font-size:clamp(24px,6.5cqw,30px);margin-block:36px 24px}
.ufa-surface .ufa-heading h1,
.editor-styles-wrapper .editor-post-title .editor-post-title__input,
.editor-styles-wrapper .editor-post-title__input{font-size:clamp(30px,8.4cqw,40px)!important;line-height:1.12!important}
}
@container(max-width:767px){
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-module.ube-m03{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;gap:16px 10px;width:100%!important;max-width:100%!important;margin:40px 0!important}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item{order:initial;padding:0;min-width:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4{grid-column:1/-1;grid-row:1}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-0{grid-column:1/3;grid-row:2}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-1{grid-column:1;grid-row:3;align-self:start}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-2{grid-column:2;grid-row:3;align-self:start;margin-top:24px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-3{grid-column:3;grid-row:2/4;align-self:start;display:flex;gap:8px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-3 p.ube-note{writing-mode:vertical-rl;text-orientation:mixed;font-size:10px;line-height:1.2;max-height:280px;width:auto!important;margin:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-0 .ube-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:50% 0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 :is(.ube-item-1,.ube-item-2) .ube-photo img{width:100%;aspect-ratio:2/3;object-fit:cover;object-position:50% 0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4 :is(h2.ube-title,p){width:100%;max-width:none;margin-inline:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4 h2.ube-title{font-size:clamp(30px,8cqw,40px);line-height:1.08;margin-bottom:20px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ube-m03 .ube-item-4 p{font-size:16px;line-height:1.6}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;margin-block:32px 48px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column{width:100%;min-width:0;margin:0}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column:first-child{grid-column:1;grid-row:1}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column:last-child{grid-column:2;grid-row:1;padding-top:28px}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides>.wp-block-column:nth-child(2){grid-column:1/-1;grid-row:2}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides .wp-block-image img{aspect-ratio:2/3}
:is(.ufa-surface .ufa-article .ufa-content,.editor-styles-wrapper) .ubflux-story-sides .wp-block-column>p{font-size:16px;line-height:1.65}
.ufa-surface .ufa-content :is(h1,h2,h3).is-style-ubflux-editorial,
.editor-styles-wrapper .is-root-container .is-style-ubflux-editorial{font-size:clamp(30px,8.2cqw,42px);line-height:1.12;margin-block:40px 24px;word-break:normal;overflow-wrap:break-word}
.ufa-surface .ufa-content .ubflux-chapter-small.is-style-ubflux-editorial,
.editor-styles-wrapper .is-root-container .ubflux-chapter-small.is-style-ubflux-editorial{font-size:clamp(24px,6.5cqw,30px);margin-block:36px 24px}
.ufa-surface .ufa-heading h1,
.editor-styles-wrapper .editor-post-title .editor-post-title__input,
.editor-styles-wrapper .editor-post-title__input{font-size:clamp(30px,8.4cqw,40px)!important;line-height:1.12!important}
}

@media(max-width:767px){.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks,
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout{display:contents}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column{width:100%;min-width:0;margin:0}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column:first-child{grid-column:1;grid-row:1}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column:nth-child(3){grid-column:2;grid-row:1;padding-top:28px}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column:nth-child(2){grid-column:1/-1;grid-row:2}
}
@container(max-width:767px){.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks,
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout{display:contents}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column{width:100%;min-width:0;margin:0}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column:first-child{grid-column:1;grid-row:1}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column:nth-child(3){grid-column:2;grid-row:1;padding-top:28px}
.editor-styles-wrapper .ubflux-story-sides>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-column:nth-child(2){grid-column:1/-1;grid-row:2}
}
