.move-up-north-story-cards{
  display: grid;
  gap: clamp(40px, 6vw, 84px);
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  /* No horizontal padding here; each row handles its own padding so media/polygon can reach the viewport edge */
  padding-inline: 0;

  /* Distance from the centered 1200px container edge to the viewport edge */
  --mun-edge-gap: clamp(0px, (100vw - 1200px) / 2, 9999px);
  --mun-row-pad: clamp(16px, 3vw, 40px);
  --mun-poly-extra: clamp(240px, 10vw, 260px);
}


/* Card layout */
.mun-story-card{
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 72px);
  padding-inline: var(--mun-row-pad);
}

@media (min-width: 960px){
  .mun-story-card{
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  }
  .move-up-north-story-cards > .mun-story-card:nth-child(even){
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  }
  .move-up-north-story-cards > .mun-story-card:nth-child(even) .mun-story-card__text{
    order: 2;
  }
  .move-up-north-story-cards > .mun-story-card:nth-child(even) .mun-story-card__media{
    order: 1;
  }
}

.mun-story-card__text{
  max-width: 58ch;
}

.mun-story-card__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%; /* 20.8px */
  letter-spacing: -0.24px;
  text-transform: uppercase;
}

.mun-story-card__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mun-dot-color, currentColor);
  flex: 0 0 auto;
}

.mun-story-card__title{
  margin: 0 0 14px;
}

.mun-story-card__body{
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%; /* 36px */
  letter-spacing: -0.36px;
}
.mun-story-card__body p{ margin: 0 0 12px; }
.mun-story-card__body p:last-child{ margin-bottom: 0; }

/* Media circle + polygon */
.mun-story-card__media{
  position: relative;
  width: min(520px, 72vw);
  aspect-ratio: 1 / 1;
  justify-self: end;
  margin-inline: auto;
  overflow: visible;
}

@media (min-width: 960px){
  .mun-story-card__media{
    justify-self: end;
    margin-inline: 0;
    /* bleed media to the container edge */
    margin-right: calc(var(--mun-row-pad) * -1);
  }
  .move-up-north-story-cards > .mun-story-card:nth-child(even) .mun-story-card__media{
    justify-self: start;
    margin-left: calc(var(--mun-row-pad) * -1);
    margin-right: 0;
  }
}

/* Polygon stroke behind.
   Centered on the circle and pushed out to the *viewport* edge (not clipped by the 1200px container). */
.mun-story-card__poly{
     position: absolute;
     top: 50%;
     left: 50%;
     width: 170%;
     height: auto;
     transform: translate(-50%, -50%)
       translateX(calc(var(--mun-edge-gap) + var(--mun-poly-extra)));
     color: var(--mun-poly-color, #E19508);
     pointer-events: none;
     z-index: 0;
   }
   
   .move-up-north-story-cards > .mun-story-card:nth-child(even) .mun-story-card__poly{
     transform: translate(-50%, -50%)
       translateX(calc(-1 * (var(--mun-edge-gap) + var(--mun-poly-extra))));
   }

.mun-story-card__img-wrap{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
  z-index: 1;
}

.mun-story-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA button (arrow) */
body .move-up-north-story-cards .mun-story-card__cta {
  position: absolute;
  right: 80px;
  bottom: -20px;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ast-global-color-4, #fff);
  border: 2px solid var(--mun-poly-color, currentColor);
  color: var(--mun-poly-color, currentColor);
  text-decoration: none;
  z-index: 2;
}
body .move-up-north-story-cards .mun-story-card__cta:hover {
  background: var(--ast-global-color-0, #E19508);
}

.mun-story-card__cta-icon {
  font-size: 30px;
  line-height: 1;
  color: var(--ast-global-color-2, #000);
}
.mun-story-card__cta-icon:hover {
  color: var(--ast-global-color-4, #fff);
}

/* Focus visibility (WCAG) */
.mun-story-card__cta:focus{
  outline: 3px solid var(--mun-poly-color, currentColor);
  outline-offset: 3px;
}
.mun-story-card__cta:focus:not(:focus-visible){
  outline: none;
}
.mun-story-card__cta:focus-visible{
  outline: 3px solid var(--mun-poly-color, currentColor);
  outline-offset: 3px;
}
