/* Display typography for headings. Supporting copy inherits the portal type. */
:is(body.glw-v5.glw-colorful,body.glw-clay-preview) {
  --display-ink: #29445d;
  --display-accent: #57338a;
  --display-mark: #e9def8;
}
html:not(.light) body.glw-v5.glw-colorful {
  --display-ink: #c7e2ff;
  --display-accent: #e7bbff;
  --display-mark: #413953;
}
:is(body.glw-v5.glw-colorful,body.glw-clay-preview) :is(#main-content,.view) h1 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
:is(body.glw-v5.glw-colorful,body.glw-clay-preview) :is(#main-content,.view) h2 {
  font-family: system-ui, sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
html body.glw-v5.glw-colorful #main-content :is(.hub-section-head,.home-steps,.section-head) h2,
body.glw-clay-preview .view .heading h2 {
  color: var(--display-ink) !important;
  text-decoration: underline .14em var(--display-mark);
  text-underline-offset: .17em;
}
body.glw-clay-preview #landing h1 { color: #215b4c; font-size: clamp(2.6rem,6vw,5rem); }
body.glw-clay-preview #admin h1 { color: #215b4c; font-family: system-ui,sans-serif!important; font-weight: 800; }
body.glw-clay-preview #worker h1 { color: #204e88; font-family: system-ui,sans-serif!important; font-weight: 900; }
body.glw-clay-preview #signup h1 { color: #643080; font-style: italic; }
:is(body.glw-v5.glw-colorful,body.glw-clay-preview) :is(.landing-work-card,.work,.home-collab-card) h3 {
  line-height: 1.18;
  text-wrap: balance;
}
body.glw-clay-preview .work h3 { font-size: clamp(1.28rem,2.4vw,1.9rem); }
body.glw-clay-preview .work.rose h3 { font-size: clamp(1.45rem,2.6vw,2rem); }
body.glw-clay-preview .work.lavender h3 { letter-spacing: -.055em; }
body.glw-clay-preview .work.mint h3 { letter-spacing: -.05em; }
body.glw-clay-preview .preview-reel { display: grid; width:100%; touch-action:pan-y; }
body.glw-clay-preview .preview-reel article { grid-area:1/1; align-self:center; }
body.glw-clay-preview .preview-reel .is-active { animation: preview-reel-in .5s ease both; }
body.glw-clay-preview .preview-reel article:not(.is-active) { visibility:hidden; }
body.glw-clay-preview .preview-reel .tag { color:var(--display-accent); }
@keyframes preview-reel-in { from { opacity:0; transform: translateX(14px); } to { opacity:1; transform: none; } }
@media(prefers-reduced-motion:reduce) { body.glw-clay-preview .preview-reel .is-active { animation:none; } }

/* The carousel caption has a dedicated row below the picture. */
body.glw-clay-preview .preview-reel article {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(44px, auto);
  gap: 12px;
}
body.glw-clay-preview .preview-reel .tag {
  position: static;
  justify-self: center;
  text-align: center;
}
body.glw-v5.glw-colorful #main-content .hero-reel .reel-copy {
  position: relative;
  inset: auto;
}
