/* Workshop homepage */
#mss-workshop-home {
  --mwh-ink: #181816;
  --mwh-muted: #585851;
  --mwh-rule: #d8d6cd;
  width: min(100%, 1360px);
  padding: clamp(28px, 3.2vw, 46px) clamp(18px, 3.2vw, 40px) clamp(48px, 7vw, 90px);
}
#mss-workshop-home .mwh-intro {
  margin: 0 0 clamp(18px, 2vw, 28px);
}
#mss-workshop-home :is(h1, h2, h3) {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}
#mss-workshop-home h1 {
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.042em;
  text-wrap: balance;
}
#mss-workshop-home .mwh-heroes {
  align-items: stretch;
  gap: clamp(15px, 2vw, 28px);
}
#mss-workshop-home .mwh-hero-card > a {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-content: stretch;
  height: 100%;
  aspect-ratio: auto;
  background: #faf9f5;
  color: var(--mwh-ink);
  overflow: visible;
  text-decoration: none;
  cursor: pointer;
}
#mss-workshop-home .mwh-hero-card > a::after {
  content: none;
}
#mss-workshop-home .mwh-hero-card .mwh-photo {
  position: static;
  z-index: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  pointer-events: none;
}
#mss-workshop-home .mwh-hero-card a[href*="/rome-"] .mwh-photo {
  object-position: center 42%;
}
#mss-workshop-home .mwh-hero-card .mwh-caption {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: 4px 14px;
  padding: clamp(14px, 1.8vw, 24px);
  border: 1px solid var(--mwh-rule);
  border-top: 0;
  color: var(--mwh-ink);
  pointer-events: none;
}
#mss-workshop-home .mwh-hero-card .mwh-place {
  grid-column: 1;
  margin: 0;
  color: inherit;
  font-size: clamp(25px, 2.4vw, 37px);
  line-height: 1.1;
  letter-spacing: -.032em;
  text-shadow: none;
}
#mss-workshop-home .mwh-hero-card .mwh-date {
  position: absolute;
  inset-inline-start: -1px;
  bottom: 100%;
  padding: 6px clamp(14px, 1.8vw, 24px);
  background: #181816;
  color: #fff;
  font: 500 clamp(13px, 1.1vw, 16px)/1.45 system-ui, sans-serif;
}
#mss-workshop-home .mwh-hero-card .mwh-action {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--mwh-ink);
  background: var(--mwh-ink);
  color: #fff;
  font: 600 14px/1.25 system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
#mss-workshop-home .mwh-hero-card a:is(:hover, :focus-visible) .mwh-action {
  background: #faf9f5;
  color: var(--mwh-ink);
}
#mss-workshop-home a:focus-visible {
  outline: 3px solid #13599c;
  outline-offset: 3px;
}
#mss-workshop-home .mwh-program {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--mwh-rule);
  margin-top: clamp(38px, 5.2vw, 76px);
  padding-top: clamp(18px, 2.5vw, 34px);
}
#mss-workshop-home :is(.mwh-program, .mwh-instructor) h2 {
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
#mss-workshop-home .mwh-program > p {
  margin: 2px 0 0;
  max-width: 65ch;
  color: var(--mwh-muted);
  font: 400 clamp(15px, 1.12vw, 17px)/1.55 system-ui, sans-serif;
}
#mss-workshop-home .mwh-program > .mwh-grid {
  grid-column: 1 / -1;
  margin-top: clamp(18px, 2.4vw, 32px);
}
#mss-workshop-home .mwh-card .mwh-place {
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
@media (min-width: 701px) and (max-width: 1020px), (max-width: 420px) {
  #mss-workshop-home .mwh-hero-card .mwh-caption {
    grid-template-columns: 1fr;
  }
  #mss-workshop-home .mwh-hero-card .mwh-action {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }
}
@media (max-width: 700px) {
  #mss-workshop-home .mwh-hero-card .mwh-photo {
    aspect-ratio: 1.42;
  }
  #mss-workshop-home .mwh-program {
    grid-template-columns: minmax(0, 1fr);
  }
  #mss-workshop-home .mwh-program > p {
    margin-top: 8px;
  }
}
