.mc-features {
  background: linear-gradient(145deg, #f1f8fa, #fff 65%);
  box-shadow: inset 0 1px #c0dbe1, inset 0 -1px #c0dbe1;
}

.mc-features .mc-features-head {
  margin-bottom: clamp(24px, 4vw, 48px);
}

.mc-features-head > p {
  color: var(--body-text);
}

.mc-feature-atlas {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: #a8c9d0;
  border: 1px solid #a8c9d0;
  box-shadow: 0 22px 50px #0b344916;
}

.mc-feature-entry {
  grid-column: span 6;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: #fff;
  scroll-margin-top: 10rem;
}

.mc-feature-entry:nth-child(1),
.mc-feature-entry:nth-child(4) {
  grid-column: span 5;
}

.mc-feature-entry:nth-child(2),
.mc-feature-entry:nth-child(3) {
  grid-column: span 7;
}

.mc-feature-study-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(95px, .9fr);
  align-items: center;
  min-height: clamp(130px, 15vw, 170px);
  gap: clamp(8px, 1.6vw, 24px);
  padding: clamp(12px, 2.2vw, 30px);
  background:
    linear-gradient(#69d9d011 1px, transparent 1px),
    linear-gradient(90deg, #69d9d011 1px, transparent 1px),
    radial-gradient(ellipse at 100% 0, #174f61, #082d40 72%);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: inset 0 -2px #5aaab0;
  transition: box-shadow 220ms ease;
}

.mc-feature-study-field p {
  margin: 0;
  color: #f2fbff;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.25;
}

.mc-feature-study {
  display: block;
  width: 100%;
  max-height: 128px;
  height: auto;
  pointer-events: none;
}

.mc-feature-study > g {
  stroke: #93bec8;
}

.mc-feature-study [fill="#e5f2f3"],
.mc-feature-study [fill="#f7fbfc"] {
  fill: #124457;
}

.mc-feature-study-accent {
  stroke: #74dcd5;
  stroke-width: 2.4;
  transition: stroke 220ms ease;
}

.mc-feature-entry:is(:hover, :focus-within) .mc-feature-study-field {
  box-shadow: inset 0 -4px #80ebe3;
}

.mc-feature-entry:is(:hover, :focus-within) .mc-feature-study-accent {
  stroke: #eefeff;
}

.mc-feature-reading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 34px);
}

.mc-feature-reading h3 {
  color: #0a344a;
  margin: 0 0 .6rem;
}

.mc-feature-reading > p {
  margin: 0 0 .9rem;
  color: var(--body-text);
}

.mc-feature-reading > .mc-feature-context {
  padding-left: .9rem;
  border-left: 2px solid #69aeb6;
}

.mc-feature-reading > .ip-inline-link {
  max-width: 100%;
  margin-top: auto;
}

.mc-feature-entry:target {
  outline: 2px solid #087d86;
  outline-offset: -2px;
}

.mc-features :is(h2, h3, p, a) {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .mc-feature-atlas {
    grid-template-columns: minmax(0, 1fr);
  }

  .mc-feature-entry:nth-child(n) {
    grid-column: auto;
    scroll-margin-top: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-feature-study-field,
  .mc-feature-study-accent {
    transition: none;
  }
}
