/*
 * Mansour Studio 1.9.7 — structural layout for portable Editorial HTML.
 * Only descendants of .mf-native-mf_studio_editorial are affected.
 * The active WordPress theme retains ownership of header, footer, typography,
 * outer page width and background; do not enqueue the full editorial template
 * stylesheet on WordPress-native pages.
 */
.mf-native-mf_studio_editorial {
  min-width: 0;
  max-width: 100%;
}
.mf-native-mf_studio_editorial,
.mf-native-mf_studio_editorial * {
  box-sizing: border-box;
}
.mf-native-mf_studio_editorial .mf-ed-block {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  margin-block: 56px;
}
.mf-native-mf_studio_editorial .mf-ed-block.mf-ed-narrow {
  max-width: 740px;
  margin-inline: auto;
}
.mf-native-mf_studio_editorial .mf-ed-block img,
.mf-native-mf_studio_editorial .mf-studio-column img {
  max-width: 100%;
  height: auto;
}
.mf-native-mf_studio_editorial .mf-ed-split-content {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 25px;
  min-width: 0;
  max-width: 100%;
}
.mf-native-mf_studio_editorial .mf-ed-split-content > * {
  min-width: 0;
}
.mf-native-mf_studio_editorial .mf-ed-split-content.mf-ed-text-only {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.mf-native-mf_studio_editorial .mf-ed-split-media,
.mf-native-mf_studio_editorial .mf-ed-gallery > figure,
.mf-native-mf_studio_editorial .mf-studio-column figure {
  margin: 0;
  min-width: 0;
}
.mf-native-mf_studio_editorial .mf-ed-split-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 720px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}
.mf-native-mf_studio_editorial .mf-ed-split-content > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 720px;
  object-fit: contain;
  justify-self: center;
}
.mf-native-mf_studio_editorial .mf-ed-text,
.mf-native-mf_studio_editorial .mf-studio-column {
  min-width: 0;
  overflow-wrap: anywhere;
}
.mf-native-mf_studio_editorial .mf-ed-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  align-items: start;
}
.mf-native-mf_studio_editorial .mf-ed-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.mf-native-mf_studio_editorial .mf-ed-gallery figcaption {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}
.mf-native-mf_studio_editorial .mf-studio-gallery {
  grid-template-columns: repeat(var(--mf-gl-cols, 2), minmax(0, 1fr));
  gap: var(--mf-gl-gap, 16px);
}
.mf-native-mf_studio_editorial .mf-studio-gallery img {
  object-fit: var(--mf-gl-fit, contain);
  aspect-ratio: var(--mf-gl-ratio, auto);
  max-height: none;
}
.mf-native-mf_studio_editorial .mf-studio-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
}
.mf-native-mf_studio_editorial .mf-studio-ratio-40-60 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}
.mf-native-mf_studio_editorial .mf-studio-ratio-60-40 {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}
.mf-native-mf_studio_editorial .mf-studio-column-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mf-native-mf_studio_editorial .mf-studio-column-video {
  aspect-ratio: 16 / 9;
}
.mf-native-mf_studio_editorial .mf-studio-column-video iframe,
.mf-native-mf_studio_editorial .mf-ed-video iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
}
.mf-native-mf_studio_editorial .mf-ed-video iframe {
  height: auto;
  aspect-ratio: 16 / 9;
}
.mf-native-mf_studio_editorial .mf-ed-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.mf-native-mf_studio_editorial .mf-ed-work {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.mf-native-mf_studio_editorial .mf-ed-work img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.mf-native-mf_studio_editorial .mf-ed-work--film img {
  object-fit: contain;
}
.mf-native-mf_studio_editorial .mf-ed-hero-image {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}
.mf-native-mf_studio_editorial .mf-ed-image figure {
  margin: 0;
}
.mf-native-mf_studio_editorial .mf-studio-column-gallery img {
  max-width: 100%;
  height: auto;
}
.mf-native-mf_studio_editorial .mf-studio-column-prose {
  font-size: inherit;
  line-height: 1.8;
}
.mf-native-mf_studio_editorial .mf-studio-column-text-left { text-align: left; }
.mf-native-mf_studio_editorial .mf-studio-column-text-center { text-align: center; }
.mf-native-mf_studio_editorial .mf-studio-column-text-right { text-align: right; }
.mf-native-mf_studio_editorial .mf-ed-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 32px;
}
.mf-native-mf_studio_editorial .mf-ed-block[id] {
  scroll-margin-top: 32px;
}
@media (min-width: 1025px) {
  .mf-native-mf_studio_editorial .mf-studio-hide-desktop { display: none !important; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .mf-native-mf_studio_editorial .mf-studio-hide-tablet { display: none !important; }
  .mf-native-mf_studio_editorial .mf-studio-gallery {
    grid-template-columns: repeat(var(--mf-gl-tablet, 2), minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .mf-native-mf_studio_editorial .mf-ed-split-content {
    grid-template-columns: minmax(0, 1fr);
  }
  .mf-native-mf_studio_editorial .mf-ed-split-media img,
  .mf-native-mf_studio_editorial .mf-ed-split-content > img {
    max-height: 580px;
  }
}
@media (max-width: 680px) {
  .mf-native-mf_studio_editorial .mf-ed-block { margin-block: 42px; }
  .mf-native-mf_studio_editorial .mf-ed-gallery,
  .mf-native-mf_studio_editorial .mf-ed-featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .mf-native-mf_studio_editorial .mf-studio-hide-mobile { display: none !important; }
  .mf-native-mf_studio_editorial .mf-studio-gallery {
    grid-template-columns: repeat(var(--mf-gl-mobile, 1), minmax(0, 1fr));
  }
  .mf-native-mf_studio_editorial .mf-studio-two-columns {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px;
  }
}

/* Mansour Studio 1.9.49 — smart image + text fit (Editorial split, two-column image/text, record split). */
.mf-fit-focus-center{--mf-img-focus:50% 50%}.mf-fit-focus-bottom{--mf-img-focus:50% 85%}.mf-fit-mode-fill{--mf-fit-stretch:40}
.mf-fit-r25{--mf-img-r:0.25}.mf-fit-r30{--mf-img-r:0.3}.mf-fit-r35{--mf-img-r:0.35}.mf-fit-r40{--mf-img-r:0.4}.mf-fit-r45{--mf-img-r:0.45}.mf-fit-r50{--mf-img-r:0.5}.mf-fit-r55{--mf-img-r:0.55}.mf-fit-r60{--mf-img-r:0.6}.mf-fit-r65{--mf-img-r:0.65}.mf-fit-r70{--mf-img-r:0.7}.mf-fit-r75{--mf-img-r:0.75}.mf-fit-r80{--mf-img-r:0.8}.mf-fit-r85{--mf-img-r:0.85}.mf-fit-r90{--mf-img-r:0.9}.mf-fit-r95{--mf-img-r:0.95}.mf-fit-r100{--mf-img-r:1}.mf-fit-r105{--mf-img-r:1.05}.mf-fit-r110{--mf-img-r:1.1}.mf-fit-r115{--mf-img-r:1.15}.mf-fit-r120{--mf-img-r:1.2}.mf-fit-r125{--mf-img-r:1.25}.mf-fit-r130{--mf-img-r:1.3}.mf-fit-r135{--mf-img-r:1.35}.mf-fit-r140{--mf-img-r:1.4}.mf-fit-r145{--mf-img-r:1.45}.mf-fit-r150{--mf-img-r:1.5}.mf-fit-r155{--mf-img-r:1.55}.mf-fit-r160{--mf-img-r:1.6}.mf-fit-r165{--mf-img-r:1.65}.mf-fit-r170{--mf-img-r:1.7}.mf-fit-r175{--mf-img-r:1.75}.mf-fit-r180{--mf-img-r:1.8}.mf-fit-r185{--mf-img-r:1.85}.mf-fit-r190{--mf-img-r:1.9}.mf-fit-r195{--mf-img-r:1.95}.mf-fit-r200{--mf-img-r:2}.mf-fit-r205{--mf-img-r:2.05}.mf-fit-r210{--mf-img-r:2.1}.mf-fit-r215{--mf-img-r:2.15}.mf-fit-r220{--mf-img-r:2.2}.mf-fit-r225{--mf-img-r:2.25}.mf-fit-r230{--mf-img-r:2.3}.mf-fit-r235{--mf-img-r:2.35}.mf-fit-r240{--mf-img-r:2.4}.mf-fit-r245{--mf-img-r:2.45}.mf-fit-r250{--mf-img-r:2.5}.mf-fit-r255{--mf-img-r:2.55}.mf-fit-r260{--mf-img-r:2.6}.mf-fit-r265{--mf-img-r:2.65}.mf-fit-r270{--mf-img-r:2.7}.mf-fit-r275{--mf-img-r:2.75}.mf-fit-r280{--mf-img-r:2.8}.mf-fit-r285{--mf-img-r:2.85}.mf-fit-r290{--mf-img-r:2.9}.mf-fit-r295{--mf-img-r:2.95}.mf-fit-r300{--mf-img-r:3}
.mf-fit-smart > .mf-fit-text > :first-child,.mf-fit-smart > .mf-fit-text > :first-child > :first-child{margin-top:0}
.mf-fit-smart > .mf-fit-text > :last-child,.mf-fit-smart > .mf-fit-text > :last-child > :last-child{margin-bottom:0}
.mf-fit-smart > .mf-fit-media{margin:0;min-width:0;container-type:inline-size}
.mf-fit-smart .mf-fit-frame{position:relative;width:100%;overflow:hidden;
  height:min(calc(100cqw / var(--mf-img-r,.75)),125cqw,75vh)}
.mf-fit-smart .mf-fit-frame > a{position:absolute;inset:0;display:block}
.mf-fit-smart .mf-fit-frame img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  margin:0!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:var(--mf-img-focus,50% 22%)!important;background:transparent}
.mf-fit-smart > .mf-fit-media > figcaption{margin-top:8px}
@media (min-width:801px){
  .mf-ed-split-content.mf-fit-smart,.mfs-split.mf-fit-smart{align-items:stretch}
  .mf-ed-split-content.mf-fit-smart.mf-fit-short,.mfs-split.mf-fit-smart.mf-fit-short{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .mf-fit-smart.mf-fit-short > .mf-fit-text{align-self:center}
  .mf-ed-split-content.mf-fit-smart > .mf-fit-media,.mfs-split.mf-fit-smart > .mf-fit-media{display:flex;flex-direction:column;align-self:stretch!important}
  .mf-ed-split-content.mf-fit-smart .mf-fit-frame,.mfs-split.mf-fit-smart .mf-fit-frame{position:sticky;top:var(--mf-fit-top,32px);flex:1 1 auto;
    height:auto;min-height:min(calc(100cqw / var(--mf-img-r,.75)),85vh);
    max-height:max(min(calc(100cqw / var(--mf-img-r,.75) * var(--mf-fit-stretch,1.4)),calc(100vh - var(--mf-fit-top,32px) - 32px)),min(calc(100cqw / var(--mf-img-r,.75)),85vh))}
}
@media (min-width:601px){
  .mf-studio-two-columns.mf-fit-smart{align-items:stretch}
  .mf-studio-two-columns.mf-fit-smart.mf-fit-short > .mf-fit-text{align-self:center}
  .mf-studio-two-columns.mf-fit-smart > .mf-fit-media{display:flex;flex-direction:column;align-self:stretch!important}
  .mf-studio-two-columns.mf-fit-smart .mf-fit-frame{position:sticky;top:var(--mf-fit-top,32px);flex:1 1 auto;
    height:auto;min-height:min(calc(100cqw / var(--mf-img-r,.75)),85vh);
    max-height:max(min(calc(100cqw / var(--mf-img-r,.75) * var(--mf-fit-stretch,1.4)),calc(100vh - var(--mf-fit-top,32px) - 32px)),min(calc(100cqw / var(--mf-img-r,.75)),85vh))}
}
