/* Editorial layout shared by the sites. Brand tokens live on .mgg-ed. */
.mgg-ed {
  --ed-ink: #172544;
  --ed-muted: #4b5b71;
  --ed-link: #254a75;
  --ed-tint: #edf3f8;
  --ed-rule: #d8e1e8;
  --ed-marker: #d5993c;
  --ed-radius: 8px;
  color: var(--ed-ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  line-height: 1.6;
}
.mgg-ed.institute {
  --ed-ink: #192751;
  --ed-muted: #4a5776;
  --ed-link: #2d459d;
  --ed-tint: #edf1fc;
  --ed-rule: #d8def2;
  --ed-marker: #4672cb;
  --ed-radius: 14px;
}
.mgg-ed.gws {
  --ed-ink: #18352a;
  --ed-muted: #465d4f;
  --ed-link: #24573d;
  --ed-tint: #edf3e6;
  --ed-rule: #d5e1d3;
  --ed-marker: #71963b;
}
.mgg-ed.grup {
  --ed-ink: #163931;
  --ed-muted: #4d5f58;
  --ed-link: #235747;
  --ed-tint: #edf3ec;
  --ed-rule: #d6e2d9;
  --ed-marker: #b0873c;
}
.mgg-ed.rtb {
  --ed-ink: #18372f;
  --ed-muted: #435f55;
  --ed-link: #17634e;
  --ed-tint: #eaf4ee;
  --ed-rule: #d2e3d9;
  --ed-marker: #3b8f72;
  --ed-radius: 16px;
  font-family: Jakarta, "Segoe UI", sans-serif;
}
.mgg-ed *, .mgg-ed *::before, .mgg-ed *::after { box-sizing: border-box; }
.mgg-ed h1, .mgg-ed h2, .mgg-ed h3, .mgg-ed p, .mgg-ed figure { margin: 0; }
.mgg-ed h1, .mgg-ed h2, .mgg-ed h3 {
  color: var(--ed-ink);
  font-family: inherit;
  letter-spacing: -.037em;
  line-height: 1.16;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.mgg-ed a { color: var(--ed-link); }
.mgg-ed a:focus-visible {
  outline: 3px solid var(--ed-link);
  outline-offset: 4px;
  border-radius: 3px;
}
.mgg-ed img { display: block; max-width: 100%; }
.mgg-ed .ed-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.mgg-ed-page { margin: 0; background: #fff; }
.ed-skip { position: absolute; left: 12px; top: -100px; z-index: 5; padding: 10px; background: #fff; }
.ed-skip:focus { top: 12px; }
.mgg-ed .ed-brandbar { border-bottom: 1px solid var(--ed-rule); background: #fff; }
.mgg-ed .ed-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 76px;
  padding-block: 12px;
}
.mgg-ed .ed-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ed-ink); font-weight: 800; text-decoration: none; }
.mgg-ed .ed-brand img { width: 142px; height: 48px; object-fit: contain; object-position: left center; }
.mgg-ed.grup .ed-brand img { width: 44px; }
.mgg-ed .ed-nav, .mgg-ed .ed-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; }
.mgg-ed .ed-nav a, .mgg-ed .ed-crumb a { text-underline-offset: .22em; }
.mgg-ed .ed-crumb { gap: 6px 10px; color: var(--ed-muted); }
.mgg-ed .ed-crumb [aria-current] { font-weight: 700; }
.mgg-ed .ed-intro { background: var(--ed-tint); padding: clamp(24px, 4vw, 48px) 0; }
.mgg-ed .ed-intro h1 { margin-top: 14px; font-size: clamp(2.1rem, 5vw, 3.35rem); }
.mgg-ed .ed-intro p { color: var(--ed-muted); max-width: 64ch; margin-top: 10px; font-size: clamp(.95rem, 2vw, 1.06rem); }
.mgg-ed.glog .ed-intro, .mgg-ed.grup .ed-intro { border-bottom: 4px solid var(--ed-marker); }
.mgg-ed.glog .ed-intro { background: #172b46; }
.mgg-ed.grup .ed-intro { background: #173d32; }
.mgg-ed.glog .ed-intro :is(h1, p, .ed-crumb, .ed-crumb a),
.mgg-ed.grup .ed-intro :is(h1, p, .ed-crumb, .ed-crumb a) { color: #f4f6f5; }
.mgg-ed.glog .ed-intro .ed-crumb a:focus-visible,
.mgg-ed.grup .ed-intro .ed-crumb a:focus-visible { outline-color: #f4f6f5; }
.mgg-ed.institute .ed-intro .ed-wrap { border-inline-start: 4px solid var(--ed-marker); padding-inline-start: clamp(14px, 3vw, 28px); }
.mgg-ed .ed-index { padding-block: clamp(28px, 4.5vw, 56px) clamp(46px, 7vw, 86px); }
.mgg-ed .ed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mgg-ed.glog .ed-index .ed-grid, .mgg-ed.rtb .ed-index .ed-grid { grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); }
.mgg-ed .ed-card {
  min-width: 0;
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius);
}
.mgg-ed .ed-card-link { display: flex; flex: 1; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; }
.mgg-ed .ed-card-link:focus-visible { outline-offset: -4px; }
.mgg-ed .ed-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--ed-tint); }
.mgg-ed.glog .ed-index .ed-card img, .mgg-ed.rtb .ed-index .ed-card img { aspect-ratio: auto; height: clamp(190px, 23vw, 320px); }
.mgg-ed .ed-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 9px; padding: clamp(17px, 2.35vw, 30px); }
.mgg-ed .ed-topic { color: var(--ed-link); font-size: .82rem; font-weight: 800; }
.mgg-ed .ed-card h2, .mgg-ed .ed-card h3 { font-size: clamp(1.18rem, 2.25vw, 1.68rem); }
.mgg-ed .ed-card p:not(.ed-topic) { color: var(--ed-muted); font-size: .94rem; }
.mgg-ed .ed-read { margin-top: auto; padding-top: 4px; color: var(--ed-link); font-size: .875rem; font-weight: 800; }
.mgg-ed .ed-card-link:hover .ed-read, .mgg-ed .ed-card-link:hover :is(h2,h3) { text-decoration: underline; text-underline-offset: .17em; }
.mgg-ed .ed-sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mgg-ed .ed-sectors a { border: 1px solid var(--ed-rule); border-radius: 6px; background: #fff; padding: 6px 12px; text-decoration: none; font-size: .875rem; font-weight: 700; }
.mgg-ed .ed-sectors a:hover { text-decoration: underline; }
.mgg-ed .ed-sector { scroll-margin-top: 26px; }
.mgg-ed .ed-sector + .ed-sector { margin-top: 40px; }
.mgg-ed .ed-sector h2 { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ed-rule); font-size: 1.4rem; }
.mgg-ed .ed-sector .ed-card img { aspect-ratio: 3 / 1; }
.mgg-ed.ed-home { padding-block: clamp(32px, 5vw, 68px); background: var(--ed-tint); }
.mgg-ed .ed-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.mgg-ed .ed-section-head h2 { font-size: clamp(1.85rem, 3.9vw, 2.65rem); }
.mgg-ed .ed-section-head p { color: var(--ed-muted); margin-top: 6px; }
.mgg-ed .ed-section-head > a { flex-shrink: 0; font-size: .9rem; font-weight: 800; text-underline-offset: .2em; }
.mgg-ed .ed-home-grid .ed-card-link { display: grid; grid-template-columns: minmax(96px, .66fr) minmax(0, 1fr); }
.mgg-ed .ed-home-grid img { height: 100%; min-height: 140px; aspect-ratio: auto; }
.mgg-ed .ed-home-grid h3 { font-size: clamp(1rem, 1.7vw, 1.28rem); }
.mgg-ed .ed-home-grid .ed-card-copy { padding: clamp(12px, 1.6vw, 22px); }
.mgg-ed .ed-detail { padding-block: clamp(22px, 4vw, 50px) 64px; }
.mgg-ed .ed-headline { max-width: 790px; padding-block: 26px 24px; }
.mgg-ed .ed-headline h1 { font-size: clamp(1.9rem, 4.5vw, 3.15rem); margin-block: 8px 13px; }
.mgg-ed .ed-standfirst { font-size: clamp(1rem, 2.1vw, 1.2rem); color: var(--ed-muted); max-width: 62ch; }
.mgg-ed .ed-cover img { width: 100%; max-height: 420px; aspect-ratio: 2.35 / 1; object-fit: cover; border-radius: var(--ed-radius); }
.mgg-ed .ed-cover figcaption { color: var(--ed-muted); padding-top: 6px; font-size: .78rem; }
.mgg-ed .ed-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 260px); gap: clamp(24px, 5.5vw, 76px); align-items: start; margin-top: 30px; }
.mgg-ed .ed-prose { max-width: 68ch; color: var(--ed-ink); font-size: 1.06rem; line-height: 1.8; }
.mgg-ed .ed-prose p + p { margin-top: 17px; }
.mgg-ed .ed-prose h2 { margin: 30px 0 10px; font-size: clamp(1.3rem, 2.8vw, 1.75rem); line-height: 1.25; }
.mgg-ed .ed-prose aside { margin-top: 25px; padding: 16px 20px; background: var(--ed-tint); border-inline-start: 4px solid var(--ed-marker); }
.mgg-ed .ed-related { border-top: 3px solid var(--ed-marker); padding: 15px 0; }
.mgg-ed .ed-related h2 { font-size: 1.13rem; margin-bottom: 10px; }
.mgg-ed .ed-related a { display: block; padding-block: 9px; text-underline-offset: .2em; }
.mgg-ed .ed-footer { padding: 24px 0; background: var(--ed-tint); color: var(--ed-muted); border-top: 1px solid var(--ed-rule); font-size: .875rem; }
.mgg-ed .ed-footer p { margin: 0; }
@media (max-width: 740px) {
  .mgg-ed .ed-wrap { width: calc(100% - 32px); }
  .mgg-ed .ed-grid,
  .mgg-ed.glog .ed-index .ed-grid,
  .mgg-ed.rtb .ed-index .ed-grid,
  .mgg-ed .ed-reading { grid-template-columns: minmax(0, 1fr); }
  .mgg-ed .ed-brandrow { flex-wrap: wrap; min-height: 64px; }
  .mgg-ed .ed-brand img { width: 115px; height: 37px; }
  .mgg-ed .ed-section-head { display: grid; }
  .mgg-ed .ed-cover img { aspect-ratio: 16 / 9; }
}
