main.is-rich .block-text:has(.intro-frame),
.block-text:has(.intro-frame) {
  position: relative;
  overflow: hidden;
  background: var(--background);
}
.intro-frame {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.intro-frame-visual { order: 1; }
.intro-frame-copy { order: 2; }
.intro-frame:not(:has(.intro-frame-visual)) { grid-template-columns: minmax(0, 1fr); }
.intro-frame-visual,
.intro-frame-copy { position: relative; z-index: 1; min-width: 0; }
.intro-frame-visual { padding: 0 0 0.9rem 0.9rem; }
.intro-frame-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 58%;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  pointer-events: none;
}
.intro-frame-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius);
}
.intro-frame-kicker {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.intro-frame h1,
.intro-frame h2 { max-width: 18ch; margin: 0; }
.intro-frame .intro-mark { color: var(--primary); white-space: nowrap; }
.intro-frame .prose p { margin: 0.9rem 0 0; color: var(--text); }
.intro-frame-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  color: var(--surface);
}
.intro-frame-go svg { width: 1rem; height: 1rem; }
@media (max-width: 800px) {
  .intro-frame,
  .intro-frame:not(:has(.intro-frame-visual)) { grid-template-columns: minmax(0, 1fr); }
  .intro-frame h1,
  .intro-frame h2 { max-width: none; }
  .intro-frame .intro-mark { white-space: normal; }
  .intro-frame-copy { display: contents; }
  .intro-frame-head { order: 1; }
  .intro-frame-visual { order: 2; }
  .intro-frame-rest { order: 3; }
  .intro-frame-photo { max-height: none; }
}
