.realm-skill {
  min-height: 28px;
  margin: 4px 0 7px !important;
  color: #0c7778 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .06em;
}

.teaching-modal { z-index: 58; }

.teaching-card {
  width: min(900px, 96vw);
  max-height: 96vh;
  display: grid;
  grid-template-columns: minmax(270px, 420px) 1fr;
  gap: 12px 28px;
  align-items: center;
  padding: 24px;
  border: 7px double #d9a83b;
  border-radius: 34px 20px;
  background: linear-gradient(135deg, #fff9df, #e9f1cf 64%, #d8e8be);
  box-shadow: 0 25px 75px #001a, 0 0 38px #ffe47a66;
}

.teaching-card > .eyebrow {
  grid-column: 1 / -1;
  text-align: center;
}

.teaching-card canvas {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px #ffdc6a);
}

.teaching-copy h2 {
  margin: 5px 0 12px;
  color: #155665;
  font: 900 clamp(30px, 4vw, 52px) Georgia, serif;
  line-height: 1;
}

.teaching-copy p {
  min-height: 100px;
  color: #244d47;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.35;
}

.teaching-copy nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.teaching-copy .text-button {
  background: #236a71;
  color: #fff;
}

@media (max-width: 780px) {
  .teaching-card {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px;
    overflow: auto;
  }

  .teaching-card canvas {
    width: min(44vw, 230px);
    margin: auto;
  }

  .teaching-copy p { min-height: 60px; }
}
