/* Kept separate so WordPress.com's combined stylesheet cache cannot delay
   focused homepage refinements. */
.bsp-faculty-card__media {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}

.home .entry-content .bsp-home-programs__header,
.home .entry-content .bsp-faculty-section {
  --bsp-intro-heading-gap: clamp(14px, 1.4vw, 20px);
  --bsp-intro-content-gap: clamp(34px, 4vw, 52px);
}
.home .entry-content .bsp-home-programs__header > .bsp-eyebrow,
.home .entry-content .bsp-home-programs__header > h2,
.home .entry-content .bsp-home-programs__header > p,
.home .entry-content .bsp-faculty-section > .bsp-eyebrow,
.home .entry-content .bsp-faculty-section > h2,
.home .entry-content .bsp-faculty-section > h2 + p {
  margin-block: 0 !important;
}
.home .entry-content .bsp-home-programs__header > .bsp-eyebrow + h2,
.home .entry-content .bsp-faculty-section > .bsp-eyebrow + h2 {
  margin-top: 10px !important;
}
.home .entry-content .bsp-home-programs__header > h2 + p,
.home .entry-content .bsp-faculty-section > h2 + p {
  margin-top: var(--bsp-intro-heading-gap) !important;
}
.home .entry-content .bsp-home-programs__header {
  margin-bottom: var(--bsp-intro-content-gap) !important;
}
.home .entry-content .bsp-faculty-section > h2 + p {
  margin-bottom: var(--bsp-intro-content-gap) !important;
}

.home .entry-content > .wp-block-group > :is(.bsp-eyebrow,h1,h2,h3,p),
.home .entry-content > .wp-block-group > .wp-block-group > :is(.bsp-eyebrow,h1,h2,h3,p) {
  margin-block: 0;
}
.home .entry-content > .wp-block-group > .bsp-eyebrow + :is(h1,h2,h3),
.home .entry-content > .wp-block-group > .wp-block-group > .bsp-eyebrow + :is(h1,h2,h3) {
  margin-top: 10px !important;
}
.home .entry-content > .wp-block-group > :is(h1,h2,h3) + p,
.home .entry-content > .wp-block-group > .wp-block-group > :is(h1,h2,h3) + p {
  margin-top: clamp(14px,1.4vw,20px) !important;
}
.home .entry-content > .wp-block-group > p + :is(.wp-block-buttons,.wp-block-columns,.wp-block-image,.wp-block-gallery),
.home .entry-content > .wp-block-group > .wp-block-group > p + :is(.wp-block-buttons,.wp-block-columns,.wp-block-image,.wp-block-gallery) {
  margin-top: clamp(26px,3vw,42px) !important;
}
