/* Editorial compositions: native WordPress blocks remain editable. */
@font-face{font-family:UFPeople;src:url(fonts/FiraSans-ExtraLight.woff2) format('woff2');font-weight:200;font-style:normal;font-display:swap}
@font-face{font-family:UFPeople;src:url(fonts/FiraSans-Bold.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
.ufa-surface .ufa-article.ufa-magazine .ufa-content{width:90%;max-width:1760px;margin-inline:auto}
.ufa-magazine .ufa-content> *{max-width:1480px;margin-left:auto;margin-right:auto}
.ufa-magazine .ufa-content> :is(.alignwide,.alignfull){width:100%;max-width:none;margin-left:0;margin-right:0;left:auto;right:auto;transform:none}
:is(.ufa-content,.editor-styles-wrapper) .ubflux-magazine-row{display:flex;gap:clamp(24px,4vw,64px);margin-block:56px;align-items:flex-start}
:is(.ufa-content,.editor-styles-wrapper) .ubflux-magazine-row>.wp-block-column{min-width:0;margin:0;flex-grow:1;overflow-wrap:anywhere}
:is(.ufa-content,.editor-styles-wrapper) .ubflux-magazine-row .wp-block-image{margin:0}
:is(.ufa-content,.editor-styles-wrapper) .ubflux-magazine-row img{width:100%;height:auto;display:block}
:is(.ufa-content,.editor-styles-wrapper) .ubflux-magazine-row :is(h2,h3):first-child{margin-top:0}
.ufa-surface .ufa-content :is(h1,h2,h3,h4,h5,h6).is-style-ubflux-editorial,.editor-styles-wrapper .is-style-ubflux-editorial{font-family:UFPeople,Arial,sans-serif;font-weight:200;font-size:clamp(28px,3.6vw,56px);line-height:1.12;letter-spacing:-.02em;text-align:center;margin-block:64px 36px;overflow-wrap:anywhere}
:is(.ufa-content,.editor-styles-wrapper) .is-style-ubflux-editorial strong{font-weight:700}
:is(.ufa-content,.editor-styles-wrapper) .wp-block-gallery{gap:16px;margin-block:40px}
:is(.ufa-content,.editor-styles-wrapper) .wp-block-gallery.is-style-ubflux-uncropped img{object-fit:contain!important;height:auto!important;aspect-ratio:auto}
.ufa-content .wp-block-gallery.is-style-ubflux-carousel{display:flex;flex-wrap:nowrap;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:12px}
.ufa-content .wp-block-gallery.is-style-ubflux-carousel>figure.wp-block-image{flex:0 0 calc((100% - 32px)/3);width:calc((100% - 32px)/3)!important;max-width:none;margin:0;scroll-snap-align:start;align-self:start}
.ufa-content .wp-block-gallery.is-style-ubflux-carousel>figure img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;display:block}
.ufa-content .wp-block-gallery.is-style-ubflux-carousel>figure figcaption{position:static;background:none;color:inherit;max-height:none;padding:8px 0;text-align:left;font:12px/1.5 Arial,sans-serif}
.ufa-gallery-controls{display:flex;justify-content:flex-end;gap:12px;margin-top:-24px;margin-bottom:40px}
.ufa-gallery-controls button{border:1px solid currentColor;background:transparent;color:inherit;border-radius:0;min-width:44px;min-height:44px;font:24px/1 Arial,sans-serif;cursor:pointer}
.ufa-gallery-controls button:disabled{opacity:.3;cursor:default}
.ufa-gallery-controls button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
:is(.ufa-content,.editor-styles-wrapper) .ubflux-wide-photo{margin-block:48px}
:is(.ufa-content,.editor-styles-wrapper) .ubflux-wide-photo img{width:100%;height:auto}
.editor-styles-wrapper .wp-block{max-width:1480px}
.editor-styles-wrapper .alignwide{max-width:1760px}
@media(max-width:767px){
 .ufa-surface .ufa-article.ufa-magazine .ufa-content{width:calc(100% - 32px)}
 :is(.ufa-content,.editor-styles-wrapper) .ubflux-magazine-row{flex-direction:column;gap:24px;margin-block:32px}
 :is(.ufa-content,.editor-styles-wrapper) .ubflux-magazine-row>.wp-block-column{flex-basis:auto!important;width:100%}
 .ufa-surface .ufa-content .is-style-ubflux-editorial,.editor-styles-wrapper .is-style-ubflux-editorial{margin-block:40px 24px}
 .ufa-content .wp-block-gallery.is-style-ubflux-carousel>figure.wp-block-image{flex-basis:85%;width:85%!important}
}
@media print{.ufa-content .wp-block-gallery.is-style-ubflux-carousel{flex-wrap:wrap;overflow:visible}.ufa-gallery-controls{display:none}}
.ufa-gallery-controls[hidden]{display:none}

/* 1.0.62: inset reading text without narrowing photographs. */
.ufa-surface .ufa-content > :is(p,ul,ol,blockquote,h1,h2,h3,h4,h5,h6),
.ufa-surface .ufa-content :is(.wp-block-group,.wp-block-column) > :is(p,ul,ol,blockquote,h1,h2,h3,h4,h5,h6){width:82%;max-width:1180px;margin-left:auto;margin-right:auto}
.ufa-surface .ufa-content .wp-block-column > :is(p,ul,ol,blockquote,h1,h2,h3,h4,h5,h6){width:84%}
.editor-styles-wrapper :is(p,h2,h3,h4,h5,h6).wp-block{max-width:1180px}
.ufa-surface{container-type:inline-size}
.ufa-surface .ufa-article .ufa-content > .wp-block-gallery:is(.alignfull,.is-style-ubflux-edge){width:100cqw;max-width:none;margin-left:calc(50% - 50cqw);margin-right:calc(50% - 50cqw);left:auto;right:auto}
@media(max-width:767px){
 .ufa-surface .ufa-content > :is(p,ul,ol,blockquote,h1,h2,h3,h4,h5,h6),
 .ufa-surface .ufa-content :is(.wp-block-group,.wp-block-column) > :is(p,ul,ol,blockquote,h1,h2,h3,h4,h5,h6){width:100%}
}

/* 1.0.63: single images stay inside the reading width; gallery columns are explicit. */
.ufa-surface .ufa-article .ufa-content .wp-block-image:not(.wp-block-gallery .wp-block-image){width:78%;max-width:1120px;margin-left:auto;margin-right:auto;float:none;left:auto;right:auto;transform:none}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-image:not(.wp-block-gallery .wp-block-image) img{display:block;max-width:100%;height:auto;margin-inline:auto}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) p > img:only-child,:is(.ufa-surface .ufa-content,.editor-styles-wrapper) p > a:only-child > img:only-child{display:block;width:auto;max-width:90%;height:auto;margin-inline:auto}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-caption:not(.gallery .wp-caption){width:78%!important;max-width:1120px;margin-inline:auto;float:none}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery,.gallery){--ufa-columns:3;--ufa-gallery-gap:clamp(8px,1.2vw,16px)}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-1,.gallery-columns-1){--ufa-columns:1}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-2,.gallery-columns-2){--ufa-columns:2}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-3,.gallery-columns-3){--ufa-columns:3}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-4,.gallery-columns-4){--ufa-columns:4}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-5,.gallery-columns-5){--ufa-columns:5}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-6,.gallery-columns-6){--ufa-columns:6}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-7,.gallery-columns-7){--ufa-columns:7}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-8,.gallery-columns-8){--ufa-columns:8}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) :is(.wp-block-gallery.columns-9,.gallery-columns-9){--ufa-columns:9}

:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery:not(.is-style-ubflux-carousel),
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .gallery{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--ufa-gallery-gap)}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery > .blocks-gallery-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--ufa-gallery-gap);grid-column:1/-1;padding:0;margin:0;list-style:none}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery:not(.is-style-ubflux-carousel)>figure.wp-block-image,
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .blocks-gallery-grid>.blocks-gallery-item,
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .gallery>.gallery-item{width:calc((100% - (var(--ufa-columns) - 1)*var(--ufa-gallery-gap))/var(--ufa-columns))!important;max-width:none;min-width:0;margin:0;padding:0;flex:0 0 calc((100% - (var(--ufa-columns) - 1)*var(--ufa-gallery-gap))/var(--ufa-columns))}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery>.blocks-gallery-caption{grid-column:1/-1}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .gallery>br{display:none}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery.is-style-ubflux-carousel{gap:var(--ufa-gallery-gap)}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery.is-style-ubflux-carousel>figure.wp-block-image{flex:0 0 calc((100% - (var(--ufa-columns) - 1)*var(--ufa-gallery-gap))/var(--ufa-columns));width:calc((100% - (var(--ufa-columns) - 1)*var(--ufa-gallery-gap))/var(--ufa-columns))!important}
@media(max-width:767px){.ufa-surface .ufa-article .ufa-content .wp-block-image:not(.wp-block-gallery .wp-block-image){width:90%}}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery>figcaption{grid-column:1/-1}

/* 1.0.64: centered incomplete rows and the same column sizing in the editor. */
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery>figcaption{flex:0 0 100%;width:100%}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery>.blocks-gallery-grid{flex:0 0 100%;width:100%}
.editor-styles-wrapper .wp-block-gallery>.block-editor-inner-blocks{width:100%;flex:0 0 100%}
.editor-styles-wrapper .wp-block-gallery>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--ufa-gallery-gap)}
.editor-styles-wrapper .wp-block-gallery>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-image{width:calc((100% - (var(--ufa-columns) - 1)*var(--ufa-gallery-gap))/var(--ufa-columns))!important;flex:0 0 calc((100% - (var(--ufa-columns) - 1)*var(--ufa-gallery-gap))/var(--ufa-columns));min-width:0;max-width:none;margin:0}
.editor-styles-wrapper .wp-block-gallery .block-list-appender{flex:0 0 100%}


/* 1.0.66: compact by default, expanded and edge widths opt in per gallery. */
.ufa-surface .ufa-article .ufa-content :is(.wp-block-gallery,.gallery){
 width:min(60cqw,1180px);max-width:none;
 margin-left:calc(50% - min(30cqw,590px));margin-right:calc(50% - min(30cqw,590px));
 float:none;left:auto;right:auto;transform:none;box-sizing:border-box
}
.ufa-surface .ufa-article .ufa-content .wp-block-gallery.ubflux-gallery-expanded{
 width:min(90cqw,1760px);margin-left:calc(50% - min(45cqw,880px));margin-right:calc(50% - min(45cqw,880px))
}
.ufa-surface .ufa-article .ufa-content .wp-block-gallery:is(.alignfull,.is-style-ubflux-edge,.ubflux-gallery-edge){
 width:100cqw;max-width:none;margin-left:calc(50% - 50cqw);margin-right:calc(50% - 50cqw)
}
.editor-styles-wrapper .wp-block-gallery{
 width:60%;max-width:1180px;margin-inline:auto;float:none;left:auto;right:auto;transform:none
}
.editor-styles-wrapper .wp-block-gallery.ubflux-gallery-expanded{width:90%;max-width:1760px}
.editor-styles-wrapper .wp-block-gallery:is(.alignfull,.is-style-ubflux-edge,.ubflux-gallery-edge){
 width:100%;max-width:none;margin-inline:0
}
.editor-styles-wrapper .wp-block-image:not(.wp-block-gallery .wp-block-image){
 width:78%;max-width:1120px;margin-inline:auto
}
@media(max-width:767px){
 .ufa-surface .ufa-article .ufa-content :is(.wp-block-gallery,.gallery):not(.alignfull):not(.is-style-ubflux-edge):not(.ubflux-gallery-edge){
  width:calc(100cqw - 32px);margin-inline:calc(50% - 50cqw + 16px)
 }
}

@media(max-width:767px){.editor-styles-wrapper .wp-block-gallery:not(.alignfull):not(.is-style-ubflux-edge):not(.ubflux-gallery-edge){width:calc(100% - 32px)}}

/* 1.0.67: automatic columns use the actual photo count, like core/gallery. */
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery.columns-default:has(>figure.wp-block-image:first-of-type:nth-last-of-type(2)),
.editor-styles-wrapper .wp-block-gallery.columns-default:has(>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-image:first-of-type:nth-last-of-type(2)){--ufa-columns:2}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery.columns-default:has(>figure.wp-block-image:only-of-type),
.editor-styles-wrapper .wp-block-gallery.columns-default:has(>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-image:only-of-type){--ufa-columns:1}
:is(.ufa-surface .ufa-content,.editor-styles-wrapper) .wp-block-gallery.columns-default:not(.ubflux-gallery-expanded):not(.ubflux-gallery-edge):not(.alignfull):not(.is-style-ubflux-edge)>figure.wp-block-image:only-of-type{
 width:94%!important;flex:0 0 94%;margin-inline:auto
}
.ufa-surface .ufa-article .ufa-content > .wp-block-image:not(.wp-block-gallery .wp-block-image){
 width:min(56.4cqw,1109.2px);max-width:none;margin-inline:calc(50% - min(28.2cqw,554.6px))
}
@media(max-width:767px){
 .ufa-surface .ufa-article .ufa-content > .wp-block-image:not(.wp-block-gallery .wp-block-image){
 width:calc((100cqw - 32px)*.94);margin-inline:calc(50% - (100cqw - 32px)*.47)
 }
}
