/* === JM 4.2.1 mockup polish === */

/* About: top-align all three columns */
.jm-about__grid {
  align-items: start !important;
}
.jm-about__photo .wp-block-image img,
.jm-about__photo img {
  aspect-ratio: 4 / 5 !important;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.jm-about__copy,
.jm-about__aside,
.jm-about__photo {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.jm-about__creds {
  gap: 1.1rem !important;
  padding-top: 0.15rem;
}

/* Speaking topics: clean list, no unfinished box */
.jm-speak__topics .jm-topics,
.jm-speak__topics ul.jm-topics {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.jm-speak__topics .jm-topics li {
  margin: 0 !important;
  padding: 0.95rem 0 0.95rem 0.95rem !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
}
.jm-speak__topics .jm-topics li:last-child {
  border-bottom: 1px solid var(--line) !important;
  padding-bottom: 0.95rem !important;
  margin-bottom: 0 !important;
}
.jm-speak__grid {
  align-items: start !important;
}
.jm-speak__photo .wp-block-image img,
.jm-speak__photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Ideas: slightly shorter overlay cards + steadier header row */
.jm-essay-card--overlay {
  min-height: 20rem !important;
}
.jm-essay-card--overlay .wp-block-image img,
.jm-essay-card--overlay img {
  height: 20rem !important;
}
@media (min-width: 900px) {
  .jm-essay-card--overlay {
    min-height: 22.5rem !important;
  }
  .jm-essay-card--overlay .wp-block-image img,
  .jm-essay-card--overlay img {
    height: 22.5rem !important;
  }
}
.jm-band--ideas .jm-row {
  align-items: baseline !important;
}
.jm-band--ideas .jm-row > .wp-block-column:first-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.jm-band--ideas .jm-row > .wp-block-column:last-child {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 12rem !important;
}
