/* Editorial templates own their canvas; the opt-in Site Design palette still applies. */
body.mf-ed-body {
  margin: 0 !important;
  background: var(--mf-sd-bg, #fcfcfa) !important;
  color: var(--mf-sd-fg, #212523) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.mf-ed-body * { box-sizing: border-box; }
.mf-ed-body .mf-ed-site { min-height: 100vh; color: var(--mf-sd-fg, #212523); }
.mf-ed-body .mf-ed-header a,
.mf-ed-body .mf-ed-footer a,
.mf-ed-body .mf-ed-main a { color: inherit; }
.mf-ed-body .mf-ed-page-title h1,
.mf-ed-body .mf-ed-block > :is(h1,h2),
.mf-ed-body .mf-ed-block p,
.mf-ed-body .mf-ed-quote blockquote,
.mf-ed-body .mf-ed-work span,
.mf-ed-body .mf-ed-cta {
  color: var(--mf-sd-fg, #212523) !important;
  text-transform: none;
}
.mf-ed-header, .mf-ed-footer {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 29px 24px;
}
.mf-ed-header { border-bottom: 1px solid var(--mf-sd-line, #dddeda); }
.mf-ed-body .mf-ed-header > a {
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 14px;
  text-decoration: none;
  color: var(--mf-sd-fg, #212523) !important;
}
.mf-ed-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.mf-ed-body .mf-ed-header nav a {
  font-size: 12px;
  text-decoration: none;
  color: var(--mf-sd-muted, #626a65) !important;
}
.mf-ed-body .mf-ed-header a:focus-visible,
.mf-ed-body .mf-ed-main a:focus-visible,
.mf-ed-body .mf-ed-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.mf-ed-main { max-width: 1120px; margin: 0 auto; padding: 44px 24px 72px; }
.mf-ed-page-title { margin: 0 0 40px; max-width: 850px; }
.mf-ed-body .mf-ed-page-title p {
  letter-spacing: .15em;
  color: var(--mf-sd-muted, #626a65) !important;
  font-size: 10px;
}
.mf-ed-page-title h1 {
  font: 400 clamp(36px, 4vw, 60px)/1.04 var(--mf-sd-heading, Georgia), serif;
  letter-spacing: -.04em;
  margin: 15px 0;
}
.mf-ed-block { margin: 56px 0; min-width: 0; overflow-wrap: break-word; }
.mf-ed-block.mf-ed-narrow { max-width: 740px; margin-left: auto; margin-right: auto; }
.mf-ed-block :is(h1,h2) {
  font: 400 clamp(28px, 4vw, 55px)/1.12 var(--mf-sd-heading, Georgia), serif;
  letter-spacing: -.02em;
  margin: 0 0 28px;
}
.mf-ed-block p { font-size: 17px; line-height: 1.8; max-width: 760px; }
.mf-ed-block img { display: block; max-width: 100%; height: auto; }
.mf-ed-hero-image { width: 100%; max-height: 700px; object-fit: cover; }
.mf-ed-image figure { margin: 0; }
.mf-ed-body .mf-ed-image figcaption {
  font-size: 12px;
  color: var(--mf-sd-muted, #626a65) !important;
  margin-top: 12px;
}
.mf-ed-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.mf-ed-gallery img { width: 100%; object-fit: contain; }
/* Only the inner image/text wrapper is a grid; the section heading spans the block. */
.mf-ed-split-content { display: grid; gap: 25px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.mf-ed-split-content > * { min-width: 0; }
.mf-ed-split-content > img { width: 100%; }

.mf-ed-quote blockquote { font: italic clamp(24px, 3.2vw, 42px)/1.45 var(--mf-sd-heading, Georgia), serif; margin: 0; max-width: 890px; }
.mf-ed-divider hr { border: 0; border-top: 1px solid var(--mf-sd-line, #d3d6d1); }
.mf-ed-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.mf-ed-work { text-decoration: none; display: grid; gap: 10px; }
.mf-ed-work img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mf-ed-work span { font-size: 15px; font-weight: 600; }
.mf-ed-cta { display: inline-block; border-bottom: 1px solid currentColor; padding: 12px 0; text-decoration: none; font-size: 15px; }
.mf-ed-video iframe { width: 100%; max-width: 100%; aspect-ratio: 16/9; height: auto; }
.mf-ed-body .mf-ed-footer { border-top: 1px solid var(--mf-sd-line, #e1e2df); color: var(--mf-sd-muted, #626a65); font-size: 12px; }
.mf-ed-footer a { text-decoration: none; }
.mf-ed-layout-compact .mf-ed-block { margin-top: 32px; margin-bottom: 32px; }
.mf-ed-layout-immersive .mf-ed-main { max-width: 1500px; }
/* Shared members and selected cards must use the same Editorial palette. */
.mf-ed-body .mfs-section > h2,
.mf-ed-body .mfs-member h3,
.mf-ed-body .mfs-card h3,
.mf-ed-body .mfs-member-links a,
.mf-ed-body .mfs-card p { color: var(--mf-sd-fg, #212523) !important; }
.mf-ed-body .mfs-member-role,
.mf-ed-body .mfs-kicker,
.mf-ed-body .mfs-meta,
.mf-ed-body .mfs-card-link { color: var(--mf-sd-muted, #626a65) !important; }
.mf-ed-body .mfs-section { border-color: var(--mf-sd-line, #dcded8); }
@media (max-width: 680px) {
  .mf-ed-header, .mf-ed-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .mf-ed-main { padding: 20px 20px 50px; }
  .mf-ed-page-title { margin: 30px 0; }
  .mf-ed-block { margin: 42px 0; }
  .mf-ed-gallery, .mf-ed-featured-grid, .mf-ed-split-content { grid-template-columns: 1fr; }
  .mf-ed-block p { font-size: 16px; }
}

/* The section title is the page heading when its separate page title is hidden. */
.mf-ed-main > .mf-ed-block:first-child{margin-top:0}
.mf-ed-body .mf-ed-block > h1{font-size:clamp(34px,4vw,52px);line-height:1.15;font-weight:400}
.mf-ed-split-content > img{max-height:720px;object-fit:contain;object-position:top}
.mf-ed-sr-only,.mf-ed-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mf-ed-skip:focus{display:block;padding:14px;background:var(--mf-sd-bg,#fcfcfa);color:var(--mf-sd-fg,#212523);position:relative;z-index:100}
.mf-ed-body .mf-ed-header{position:relative;z-index:10;min-height:88px}
.mf-ed-header .mf-ed-nav{display:flex;gap:24px;align-items:center}
.mf-ed-nav .mfv-nav-group{position:relative}
.mf-ed-nav summary,.mf-ed-mobile-nav summary{cursor:pointer;font-size:13px}
.mf-ed-nav .mfv-nav-group > div{position:absolute;right:0;top:100%;min-width:190px;background:var(--mf-sd-bg,#fcfcfa);border:1px solid var(--mf-sd-line,#dddeda);padding:16px;display:grid;gap:12px;z-index:11}
.mf-ed-nav .mfv-nav-group .mfv-nav-group > div{right:100%;top:0}
.mf-ed-body .mf-ed-header nav a,.mf-ed-body .mf-ed-header summary{color:var(--mf-sd-fg,#212523)!important;text-transform:none;letter-spacing:normal;line-height:1.5;text-decoration:none}
.mf-ed-header .mf-ed-mobile-nav{display:none}
.mf-ed-footer nav{display:flex;gap:18px;flex-wrap:wrap}
@media(max-width:800px){
  .mf-ed-body .mf-ed-header{align-items:center;flex-direction:row;gap:16px;min-height:76px}
  .mf-ed-header .mf-ed-nav{display:none}
  .mf-ed-header .mf-ed-mobile-nav{display:block}
  .mf-ed-mobile-nav > nav{position:absolute;left:20px;right:20px;top:100%;display:grid;gap:16px;padding:20px;background:var(--mf-sd-bg,#fcfcfa);border:1px solid var(--mf-sd-line,#dddeda);z-index:11}
  .mf-ed-mobile-nav .mfv-nav-group > div{display:grid;gap:12px;padding:14px 0 2px 16px}
  .mf-ed-split-content{grid-template-columns:1fr}
  .mf-ed-split-content > img{max-width:480px;max-height:580px;margin:0 auto}
}
.mf-ed-split-content>img{width:auto;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain;background:transparent;justify-self:center}
.mf-ed-split-content.mf-ed-text-only{grid-template-columns:minmax(0,760px);justify-content:center}
.mf-ed-split-content .mf-ed-text{min-width:0;overflow-wrap:anywhere}
.mf-ed-preview-note{padding:12px 16px;border:1px dashed #a0b1a3;background:#f4f7ee;color:#35462f;font:14px/1.6 system-ui}

/* Film cards use the whole poster. */
.mf-ed-work--film img{object-fit:contain}

/* A media wrapper keeps portrait sizing independent of grid-item stretch. */
.mf-ed-split-content>.mf-ed-split-media{margin:0;min-width:0;max-width:100%;align-self:start}
.mf-ed-split-media img{display:block;width:auto;height:auto;max-width:100%;max-height:720px;aspect-ratio:auto;object-fit:contain;background:transparent;margin-left:auto;margin-right:auto}
@media(max-width:800px){.mf-ed-split-media img{max-width:100%;max-height:580px}}

/* Imported content uses Studio typography, with editable media metadata. */
.mf-ed-text{font-size:17px;line-height:1.8;overflow-wrap:anywhere}.mf-ed-text ul,.mf-ed-text ol{padding-left:1.5em;margin:1em 0}.mf-ed-text li{margin:.4em 0}.mf-ed-text a{text-decoration:underline;text-underline-offset:3px}.mf-ed-text table{border-collapse:collapse;width:100%;max-width:100%;display:block;overflow-x:auto}.mf-ed-text th,.mf-ed-text td{border:1px solid var(--mf-sd-line,#dce0d5);padding:10px;text-align:left}.mf-ed-text img{max-width:100%;height:auto}.mf-ed-gallery>figure{margin:0;min-width:0}.mf-ed-gallery>figure img{width:100%;height:auto;object-fit:contain}.mf-ed-gallery figcaption{font-size:13px;line-height:1.5;margin-top:8px}.mf-ed-anchor{display:block;height:0;scroll-margin-top:32px}.mf-ed-block[id]{scroll-margin-top:32px}.mf-ed-hero-media{display:block}.mf-ed-hero-media img{width:100%}
/* 1.7.2 — responsive sections, galleries, independent columns. */
.mf-ed-body .mf-studio-gallery{display:grid;grid-template-columns:repeat(var(--mf-gl-cols,2),minmax(0,1fr));gap:var(--mf-gl-gap,16px);align-items:start}
.mf-ed-body .mf-studio-gallery img{width:100%;height:auto;object-fit:var(--mf-gl-fit,contain);aspect-ratio:var(--mf-gl-ratio,auto);max-height:none}
.mf-ed-body .mf-studio-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,64px);align-items:start}
.mf-ed-body .mf-studio-ratio-40-60{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
.mf-ed-body .mf-studio-ratio-60-40{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.mf-ed-body .mf-studio-column{min-width:0;overflow-wrap:anywhere}
.mf-ed-body .mf-studio-column-text-left{text-align:left}.mf-ed-body .mf-studio-column-text-center{text-align:center}.mf-ed-body .mf-studio-column-text-right{text-align:right}
.mf-ed-body .mf-studio-column img{max-width:100%;height:auto}
.mf-ed-body .mf-studio-column figure{margin:0}
.mf-ed-body .mf-studio-column-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mf-ed-body .mf-studio-column-video{aspect-ratio:16 / 9}.mf-ed-body .mf-studio-column-video iframe{display:block;width:100%;height:100%;border:0}
.mf-ed-body .mf-studio-column-prose{font-size:inherit;line-height:1.8}
@media(min-width:1025px){.mf-ed-body .mf-studio-hide-desktop{display:none!important}}
@media(min-width:601px) and (max-width:1024px){.mf-ed-body .mf-studio-hide-tablet{display:none!important}.mf-ed-body .mf-studio-gallery{grid-template-columns:repeat(var(--mf-gl-tablet,2),minmax(0,1fr))}}
@media(max-width:600px){.mf-ed-body .mf-studio-hide-mobile{display:none!important}.mf-ed-body .mf-studio-gallery{grid-template-columns:repeat(var(--mf-gl-mobile,1),minmax(0,1fr))}.mf-ed-body .mf-studio-two-columns{grid-template-columns:1fr!important;gap:26px}}
