.home-page .media-gallery-action {
  margin-block: 12px 0;
  text-align: center;
}

.home-page .media-gallery-action .text-link {
  color: #50347b;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.media-main {
  padding-block: clamp(42px, 7vw, 84px);
}

.media-content {
  max-width: 1020px;
}

.media-heading h1 {
  font-size: clamp(2rem, 5.8vw, 4rem);
}

.media-feature {
  width: min(100%, 760px);
  margin-inline: auto;
}

.media-group {
  margin-top: clamp(32px, 6vw, 64px);
}

.media-group h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.media-group--screens .media-grid,
.media-group--identity .media-grid {
  max-width: 720px;
}

.media-frame {
  position: relative;
  display: block;
  border: 1px solid #cbb6d47a;
  border-radius: 12px;
  overflow: hidden;
  background: #35215e;
}

.media-frame img {
  width: 100%;
}

.media-group--screens .media-frame img,
.media-group--identity .media-frame img {
  aspect-ratio: 645 / 1398;
  object-fit: contain;
}

.media-group--identity .media-frame img {
  aspect-ratio: 1;
}

.media-expand {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ddd0f77a;
  border-radius: 50%;
  background: #20113edb;
  color: var(--cream);
}

.media-expand svg {
  width: 16px;
  height: 16px;
}

.media-card figcaption {
  margin-top: 7px;
  color: #534163;
  font-size: .9rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.media-group--maps .media-frame {
  background: #f0e5ca;
}

@media (min-width: 640px) {
  .media-group--maps .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
