/*
 * 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;
  }
}
