/* HERO-UNIFY-20261128: every page banner follows the /university hero (dev lead, 28 Nov 2026).
   Light gradient band, soft ring, logo lockup, navy-to-blue headline, grey lead, blue uppercase buttons,
   framed picture. Palette only (theme guide 25 Sep 2026). Undo: remove the <link> from nginx (see backup README). */

:root {
  --hu-blue: #0068DF;
  --hu-blue-hover: #0055B7;
  --hu-navy: #0D4875;
  --hu-dark: #10384D;
  --hu-ink: #3A3A3A;
  --hu-mid: #555555;
  --hu-soft: #666666;
  --hu-wash: #F3F8FE;
  --hu-tint: #E6F0FC;
  --hu-border: #BFD8F5;
  --hu-white: #FFFFFF;
  --hu-band: linear-gradient(135deg, #FFFFFF 0%, #F3F8FE 58%, #E6F0FC 100%);
  --hu-title: linear-gradient(120deg, #10384D 0%, #0D4875 52%, #0068DF 100%);
  --hu-ring: 0 0 0 80px rgba(191, 216, 245, .22), 0 0 0 160px rgba(191, 216, 245, .12);
  --hu-frame-shadow: 0 28px 70px rgba(13, 72, 117, .18);
  --hu-display: Montserrat, "Montserrat Fallback", Arial, Helvetica, sans-serif;
  --hu-body: Assistant, "Assistant Fallback", Arial, Helvetica, sans-serif;
}

/* ---------- 1. The band ---------- */
main .page-hero,
#main .hero,
main .pr-hero,
main [class*="tool-page-module"][class*="__hero"],
main [class*="library-module"][class*="__hero"],
main section[aria-labelledby="learn-title"],
main [class*="design-doctor_hero__"],
main #top > section.relative.isolate:first-child,
main > section.border-b:first-child,
main > section.mx-auto.max-w-\[1200px\]:first-child {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  background: var(--hu-band) !important;
  border-bottom: 1px solid var(--hu-border) !important;
  color: var(--hu-ink) !important;
}

/* Soft ring, bottom right, like the University hero glow */
main .page-hero::after,
#main .hero::after,
main .pr-hero::after,
main [class*="tool-page-module"][class*="__hero"]::after,
main [class*="library-module"][class*="__hero"]::after,
main section[aria-labelledby="learn-title"]::after,
main #top > section.relative.isolate:first-child::after,
main > section.border-b:first-child::after,
main > section.mx-auto.max-w-\[1200px\]:first-child::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -45%;
  width: 48rem;
  height: 48rem;
  border: 1px solid var(--hu-border);
  border-radius: 999px;
  opacity: .7;
  box-shadow: var(--hu-ring);
  pointer-events: none;
}

/* Bands that live inside a centred .wrap: paint the band edge to edge, keep the ring inside */
main .article-hero,
main .enquiry-intro {
  position: relative;
  isolation: isolate;
  border-image: var(--hu-band) fill 0 / / 0 100vw;
  clip-path: inset(0 -100vw);
  border-bottom: 1px solid var(--hu-border);
  padding-top: clamp(2.4rem, 5vw, 3.6rem) !important;
  padding-bottom: clamp(2.4rem, 5vw, 3.6rem) !important;
}
main .article-hero::after,
main .enquiry-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -24rem;
  top: -8rem;
  width: 40rem;
  height: 40rem;
  border: 1px solid var(--hu-border);
  border-radius: 999px;
  opacity: .7;
  box-shadow: var(--hu-ring);
  pointer-events: none;
}
main .breadcrumbs:has(+ .article-hero),
main .breadcrumbs:has(+ .page-hero) {
  border-image: linear-gradient(#FFFFFF, #FFFFFF) fill 0 / / 0 100vw;
}

/* ---------- 2. Headline ---------- */
main .page-hero h1,
#main .hero h1,
main .pr-hero h1,
main .article-hero h1,
main .enquiry-intro h1,
main [class*="tool-page-module"][class*="__hero"] h1,
main [class*="library-module"][class*="__hero"] h1,
main section[aria-labelledby="learn-title"] h1,
main [class*="design-doctor_hero__"] h1,
main #top > section.relative.isolate:first-child h1,
main > section.border-b:first-child h1,
main > section.mx-auto.max-w-\[1200px\]:first-child h1 {
  font-family: var(--hu-display) !important;
  font-weight: 650 !important;
  letter-spacing: -.035em !important;
  line-height: 1.06 !important;
  text-wrap: balance;
  color: var(--hu-dark) !important;
  background: var(--hu-title) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  padding-bottom: .06em;
}
main .page-hero h1 span,
#main .hero h1 span,
main > section.mx-auto.max-w-\[1200px\]:first-child h1 span {
  color: inherit !important;
  -webkit-text-fill-color: transparent !important;
}
main .page-hero h1,
main .article-hero h1,
main .enquiry-intro h1,
main > section.border-b:first-child h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.9rem) !important;
}
#main .hero h1,
main .pr-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.7rem) !important;
}
@media (forced-colors: active) {
  main :is(.page-hero, .hero, .pr-hero, .article-hero, .enquiry-intro) h1 {
    background: none !important;
    -webkit-text-fill-color: CanvasText !important;
    color: CanvasText !important;
  }
}

/* ---------- 3. Eyebrow + logo lockup ---------- */
main .page-hero .eyebrow,
#main .hero .eyebrow,
main .pr-hero .pr-kicker,
main .article-hero .eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: var(--hu-display) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase;
  color: var(--hu-blue) !important;
  background: none !important;
}
main .page-hero .eyebrow::before,
#main .hero .eyebrow::before,
main .pr-hero .pr-kicker::before,
main .article-hero .eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 8.85rem;
  height: 2.45rem;
  padding-right: .9rem;
  border-right: 1px solid var(--hu-border);
  background: url("/live-assets/20260909/approved-logo-20260915.webp") left center / 8.85rem auto no-repeat;
  margin-right: .2rem;
}
main .article-hero .eyebrow a {
  color: var(--hu-blue) !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* ---------- 4. Lead + small print ---------- */
main .page-hero .lead,
#main .hero .hero-intro,
main .pr-hero .pr-copy,
main .article-hero .lead,
main .enquiry-intro .lead {
  color: var(--hu-mid) !important;
  font-family: var(--hu-body) !important;
  font-size: clamp(1.08rem, 2vw, 1.25rem) !important;
  line-height: 1.65 !important;
  max-width: 42rem;
  margin-top: 1.3rem !important;
}
#main .hero .hero-note,
main .article-hero .article-byline,
main .page-hero .journal-hero-detail {
  color: var(--hu-soft) !important;
  border: 0 !important;
  padding-top: 0 !important;
  font-size: .92rem !important;
}
main .page-hero :is(ul, li),
main .page-hero .split p:not(.eyebrow):not(.lead) {
  color: var(--hu-mid) !important;
}

/* ---------- 5. Buttons ---------- */
main .page-hero .button,
#main .hero .button,
main .pr-hero .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .5rem !important;
  min-height: 46px;
  padding: .8rem 1.25rem !important;
  border: 1px solid var(--hu-blue) !important;
  border-radius: 5px !important;
  background: var(--hu-blue) !important;
  color: var(--hu-white) !important;
  box-shadow: none !important;
  font-family: var(--hu-display) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  transform: none !important;
}
main .page-hero .button:hover,
#main .hero .button:hover,
main .pr-hero .button:hover {
  background: var(--hu-blue-hover) !important;
  border-color: var(--hu-blue-hover) !important;
  color: var(--hu-white) !important;
}
main .page-hero .text-link,
#main .hero .text-link {
  display: inline-flex !important;
  align-items: center;
  min-height: 46px;
  padding: .8rem 1.25rem !important;
  border: 1px solid var(--hu-blue) !important;
  border-radius: 5px !important;
  background: var(--hu-white) !important;
  color: var(--hu-blue) !important;
  font-family: var(--hu-display) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  text-decoration: none !important;
}
main .page-hero .text-link:hover,
#main .hero .text-link:hover {
  background: var(--hu-tint) !important;
}

/* ---------- 6. Framed picture ---------- */
main .page-hero .split img,
main .page-hero .hero-image {
  border: 1px solid var(--hu-border) !important;
  border-radius: 1.75rem !important;
  background: var(--hu-white) !important;
  box-shadow: var(--hu-frame-shadow) !important;
}
main .article-cover img {
  border: 1px solid var(--hu-border);
  border-radius: 1.75rem !important;
  box-shadow: var(--hu-frame-shadow);
}
main .article-cover {
  position: relative;
  z-index: 1;
  align-self: center;
}
main .page-hero .journal-hero-mark {
  border-radius: 1.75rem !important;
  border: 1px solid var(--hu-border) !important;
  background: var(--hu-white) !important;
  box-shadow: var(--hu-frame-shadow) !important;
}

/* Home: the dark rounded box becomes the light band; picture card + floating caption */
#main .hero {
  margin: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hu-border) !important;
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 !important;
}
#main .hero .hero-intro,
#main .hero .hero-note {
  color: var(--hu-mid) !important;
}
#main .hero .hero-note {
  color: var(--hu-soft) !important;
}
html[dir] #main .hero-art {
  border: 1px solid var(--hu-border) !important;
  border-radius: 1.75rem !important;
  background: var(--hu-white) !important;
  box-shadow: var(--hu-frame-shadow) !important;
  overflow: visible !important;
}
html[dir] #main .hero-art > img {
  border-radius: 1.75rem 1.75rem 0 0;
}
html[dir] #main .hero-art figcaption {
  border-radius: 0 0 1.75rem 1.75rem;
  background: var(--hu-white) !important;
  color: var(--hu-dark) !important;
}
#main .hero-art strong { color: var(--hu-dark) !important; }
#main .hero-art figcaption > span { color: var(--hu-soft) !important; }
#main .hero-art a { color: var(--hu-blue) !important; }

/* Portfolio */
main .pr-hero .pr-feature-media {
  border: 1px solid var(--hu-border) !important;
  border-radius: 1.75rem !important;
  box-shadow: var(--hu-frame-shadow) !important;
}
main .pr-hero .pr-pill {
  border: 1px solid var(--hu-border) !important;
  background: var(--hu-white) !important;
  color: var(--hu-navy) !important;
}

/* Tools, Library, Learn: already the same family; align band, headline size and picture frame */
main [class*="tool-page-module"][class*="__hero"] h1,
main [class*="library-module"][class*="__hero"] h1,
main section[aria-labelledby="learn-title"] h1 {
  font-size: clamp(2.3rem, 4.6vw, 4.1rem) !important;
}
main [class*="tool-page-module"][class*="__hero"] a.bg-brand {
  border-radius: 5px !important;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-family: var(--hu-display) !important;
  font-size: 12px !important;
}
main [class*="tool-page-module"][class*="__hero"] a.border {
  border-radius: 5px !important;
  border-color: var(--hu-blue) !important;
  color: var(--hu-blue) !important;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-family: var(--hu-display) !important;
  font-size: 12px !important;
}
main section[aria-labelledby="learn-title"] > div[aria-hidden="true"].absolute {
  display: none;
}

/* Glossary (was a dark navy band): light band, dark words */
main #top > section.relative.isolate:first-child { color: var(--hu-ink) !important; }
main #top > section.relative.isolate:first-child nav,
main #top > section.relative.isolate:first-child nav a,
main #top > section.relative.isolate:first-child p {
  color: var(--hu-mid) !important;
}
main #top > section.relative.isolate:first-child p.uppercase {
  color: var(--hu-blue) !important;
}
main #top > section.relative.isolate:first-child .text-white,
main #top > section.relative.isolate:first-child dd,
main #top > section.relative.isolate:first-child dt,
main #top > section.relative.isolate:first-child span {
  color: var(--hu-navy) !important;
}
main #top > section.relative.isolate:first-child a.rounded-full {
  border-radius: 5px !important;
}
main #top > section.relative.isolate:first-child a.rounded-full:first-child {
  background: var(--hu-blue) !important;
  color: var(--hu-white) !important;
}
main #top > section.relative.isolate:first-child a.rounded-full:not(:first-child) {
  background: var(--hu-white) !important;
  color: var(--hu-blue) !important;
  border: 1px solid var(--hu-blue) !important;
}
main #top > section.relative.isolate:first-child > div.absolute { display: none; }
main #top > section.relative.isolate:first-child span.rounded-full,
main #top > section.relative.isolate:first-child [class*="bg-[#10384D]"],
main #top > section.relative.isolate:first-child [class*="bg-[#0D4875]"] {
  background: var(--hu-white) !important;
  border-color: var(--hu-border) !important;
  color: var(--hu-navy) !important;
}

/* Design Doctor: its own University-style hero was dark; same light look, dark words */
main [class*="design-doctor_hero__"] h2 {
  font-family: var(--hu-display) !important;
  font-weight: 650 !important;
  letter-spacing: -.035em !important;
  line-height: 1.06 !important;
  text-wrap: balance;
  color: var(--hu-dark) !important;
  background: var(--hu-title) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
main [class*="design-doctor_hero__"] [class*="__eyebrow"] { color: var(--hu-blue) !important; }
main [class*="design-doctor_hero__"] [class*="__brandLockup"] span { color: var(--hu-navy) !important; }
main [class*="design-doctor_hero__"] [class*="__brandLockup"] img { background: none !important; padding: 0 !important; box-shadow: none !important; }
main [class*="design-doctor_hero__"] [class*="__heroLead"] { color: var(--hu-mid) !important; }
main [class*="design-doctor_hero__"] [class*="__heroNotes"] span { color: var(--hu-soft) !important; }
main [class*="design-doctor_hero__"] [class*="__primaryAction"] {
  background: var(--hu-blue) !important; color: var(--hu-white) !important; border-color: var(--hu-blue) !important;
}
main [class*="design-doctor_hero__"] [class*="__secondaryAction"] {
  background: var(--hu-white) !important; color: var(--hu-blue) !important; border: 1px solid var(--hu-blue) !important;
}
main [class*="design-doctor_hero__"] [class*="__heroImageFrame"] {
  border: 1px solid var(--hu-border) !important;
  box-shadow: var(--hu-frame-shadow) !important;
}
main [class*="design-doctor_hero__"]::after { display: none; }

/* Blog index (journal) band: was dark */
main .page-hero:has(.journal-hero-mark) .lead,
main .page-hero:has(.journal-hero-mark) p {
  color: var(--hu-mid) !important;
}
main .page-hero:has(.journal-hero-mark) .eyebrow { color: var(--hu-blue) !important; }
main .page-hero .journal-hero-topics li {
  background: var(--hu-white) !important;
  border: 1px solid var(--hu-border) !important;
  color: var(--hu-navy) !important;
}

/* Get a quote: the "FREE QUOTE" words keep the gradient, the little bar becomes sky */
main > section.mx-auto.max-w-\[1200px\]:first-child {
  max-width: none !important;
  padding-left: max(1.25rem, calc((100vw - 1160px) / 2)) !important;
  padding-right: max(1.25rem, calc((100vw - 1160px) / 2)) !important;
  padding-bottom: 2.5rem !important;
}
main > section.mx-auto.max-w-\[1200px\]:first-child h1 {
  text-transform: none;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem) !important;
}

/* ---------- 7. About page ---------- */
/* The D mark alone (stitched D in its circle), no card: rings drawn behind it */
main .page-hero:has(+ .about-compact)::before { display: none !important; }
main .page-hero:has(+ .about-compact) .eyebrow::before { display: none; }
main .page-hero:has(+ .about-compact) .wrap > div {
  position: relative !important;
  z-index: 1;
  min-height: 270px !important;
  padding-right: min(38vw, 430px) !important;
}
html[dir="rtl"] main .page-hero:has(+ .about-compact) .wrap > div {
  padding-right: 0 !important;
  padding-left: min(38vw, 430px) !important;
}
main .page-hero:has(+ .about-compact) .wrap > div::before,
main .page-hero:has(+ .about-compact) .wrap > div::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 24px !important;
  left: auto !important;
  width: min(30vw, 330px) !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  transform: translateY(-50%) !important;
  border-radius: 50% !important;
  animation: none !important;
  filter: none !important;
}
main .page-hero:has(+ .about-compact) .wrap > div::before {
  border: 1px dashed var(--hu-sky, #4CBAEB) !important;
  background: none !important;
  opacity: .8 !important;
  box-shadow: 0 0 0 18px rgba(76, 186, 235, .08), 0 0 0 40px rgba(191, 216, 245, .26) !important;
}
main .page-hero:has(+ .about-compact) .wrap > div::after {
  background: url("/form-assets/20260909-v1/about-hero-d-mark-20261128.webp") center / 64% auto no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
}
html[dir="rtl"] main .page-hero:has(+ .about-compact) .wrap > div::before,
html[dir="rtl"] main .page-hero:has(+ .about-compact) .wrap > div::after {
  right: auto !important;
  left: 24px !important;
}
@media (max-width: 767px) {
  html[dir] main .page-hero:has(+ .about-compact) .wrap > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: calc(min(58vw, 230px) + 2.4rem) !important;
    min-height: 0 !important;
  }
  html[dir] main .page-hero:has(+ .about-compact) .wrap > div::before,
  html[dir] main .page-hero:has(+ .about-compact) .wrap > div::after {
    top: 1.2rem !important;
    left: 1.2rem !important;
    right: auto !important;
    width: min(58vw, 230px) !important;
    transform: none !important;
  }
}

/* Story section: a new icon in place of the old round picture */
.ab-story .ab-story-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 170px;
  height: 170px;
  border: 1px solid var(--hu-border);
  border-radius: 999px;
  background: var(--hu-white);
  color: var(--hu-blue);
  box-shadow: 0 0 0 14px rgba(191, 216, 245, .35), 0 18px 40px rgba(13, 72, 117, .14);
}
.ab-story .ab-story-icon svg {
  width: 72px;
  height: 72px;
}
@media (max-width: 767px) {
  .ab-story .ab-story-icon {
    width: 64px;
    height: 64px;
    box-shadow: 0 0 0 6px rgba(191, 216, 245, .35);
  }
  .ab-story .ab-story-icon svg { width: 30px; height: 30px; }
}

/* ---------- 8. University home: headline lines and column balance ---------- */
main [class*="HomeLanding-module"][class*="__heroGrid"] {
  align-items: center;
}
@media (min-width: 960px) {
  main [class*="HomeLanding-module"][class*="__heroGrid"] {
    grid-template-columns: minmax(0, 1.04fr) minmax(28rem, .96fr) !important;
    min-height: 38rem !important;
  }
}
main [class*="HomeLanding-module"][class*="__heroCopy"] h1 {
  max-width: none !important;
  /* nginx swaps the spaces inside each sentence for no-break spaces, so the lines break only between sentences */
  font-size: clamp(2.2rem, 3.9vw, 3.2rem) !important;
  line-height: 1.08 !important;
  text-wrap: wrap !important;
}
@media (max-width: 959px) {
  main [class*="HomeLanding-module"][class*="__heroCopy"] h1 {
    font-size: min(7.6vw, 3.2rem) !important;
  }
}
main [class*="HomeLanding-module"][class*="__heroCopy"] > p:first-of-type {
  margin-top: 0;
}
main [class*="HomeLanding-module"][class*="__brandLockup"] img {
  margin-left: -3px;
}
main [class*="HomeLanding-module"][class*="__heroLead"] {
  text-wrap: pretty;
  max-width: 36rem !important;
}
main [class*="HomeLanding-module"][class*="__heroNote"] {
  text-wrap: pretty;
}

@media (max-width: 767px) {
  main .page-hero .eyebrow::before,
  #main .hero .eyebrow::before,
  main .pr-hero .pr-kicker::before {
    width: 7.2rem;
    height: 2rem;
    background-size: 7.2rem auto;
    padding-right: .6rem;
  }
  main .page-hero .button,
  #main .hero .button,
  main .page-hero .text-link,
  #main .hero .text-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  main .page-hero .wrap > div::after,
  main .page-hero .wrap > div::before { animation: none !important; }
}

/* ---------- 9. Banners that had no picture get the University picture frame ---------- */
main .page-hero:not(:has(img)):not(:has(+ .about-compact)) > .wrap {
  position: relative !important;
  padding-right: min(46%, 560px) !important;
  min-height: 330px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
main .page-hero:not(:has(img)):not(:has(+ .about-compact)) > .wrap > div { max-width: 100%; }
main .page-hero:not(:has(img)):not(:has(+ .about-compact)) > .wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: min(42%, 520px);
  height: 330px;
  transform: translateY(-50%);
  border: 1px solid var(--hu-border);
  border-radius: 1.75rem;
  background: var(--hu-white) url("/live-assets/20260909/optimized/panda-embroidery-design-12af05-640w.webp") center / cover no-repeat;
  box-shadow: var(--hu-frame-shadow);
}
body:has(.pricing-page) .page-hero:not(:has(img)) > .wrap::after {
  background-image: url("/live-assets/20260909/service-unique-20260921/digitizing-directory-0-image-000-640w.webp");
}
body:has(.name-comparison-image) .page-hero:not(:has(img)) > .wrap::after {
  background-image: url("/live-assets/20260909/service-unique-20260921/personalized-names-page-0-image-059-640w.webp");
}
body:has(.service-jumps) .page-hero:not(:has(img)) > .wrap::after {
  background-image: url("/live-assets/20260909/custom-patches/custom-iron-on-patches-coastal-set-640w.webp");
}
@media (max-width: 767px) {
  main .page-hero:not(:has(img)):not(:has(+ .about-compact)) > .wrap {
    display: block !important;
    padding-right: 22px !important;
    min-height: 0;
  }
  main .page-hero:not(:has(img)):not(:has(+ .about-compact)) > .wrap::after {
    position: relative;
    display: block;
    top: auto;
    right: auto;
    width: 100%;
    height: 230px;
    margin-top: 1.6rem;
    transform: none;
  }
}

/* Pricing had its own dark band + tilted white card: the card is replaced by the frame above */
body:has(.pricing-page) .page-hero::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  right: -10% !important;
  bottom: -45% !important;
  top: auto !important;
  left: auto !important;
  width: 48rem !important;
  height: 48rem !important;
  transform: none !important;
  background: none !important;
  border: 1px solid var(--hu-border) !important;
  border-radius: 999px !important;
  box-shadow: var(--hu-ring) !important;
}
body:has(.pricing-page) .page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 !important; }
body:has(.pricing-page) .page-hero h1 { letter-spacing: -.035em !important; font-size: clamp(2.2rem, 4.4vw, 3.9rem) !important; }
body:has(.pricing-page) .page-hero .lead { color: var(--hu-mid) !important; }
body:has(.pricing-page) .page-hero .eyebrow { color: var(--hu-blue) !important; }

/* Blog: the journal picture becomes a full-size frame like the other banners */
main .page-hero .wrap:has(.journal-hero-mark) {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 3rem;
  align-items: center;
}
main .page-hero .journal-hero-mark {
  display: grid !important;
  place-items: center;
  width: 100% !important;
  max-width: 520px;
  justify-self: end;
  height: 330px !important;
  padding: 2rem !important;
}
main .page-hero .journal-hero-mark img {
  width: 100% !important;
  height: 100% !important;
  max-width: 340px;
  object-fit: contain;
}
@media (max-width: 767px) {
  main .page-hero .wrap:has(.journal-hero-mark) { grid-template-columns: 1fr; gap: 1.6rem; }
  main .page-hero .journal-hero-mark { height: 230px !important; justify-self: stretch; max-width: none; }
}

/* /services had its own small icon drawn before the text: removed, the framed picture replaces it */
main .page-hero:not(:has(+ .about-compact)) > .wrap::before { display: none !important; }

/* Free tools directory: a picture about tools, not the default panda */
body:has(.tools-directory) .page-hero:not(:has(img)) > .wrap::after {
  background-image: url("/univ-home-assets-20261001/hero-workflow.webp");
}

/* narrow laptop windows (1200-1279 px): the header with the Tools link is a little tight in es, pt and ar, so it shrinks a few percent instead of scrolling sideways */
@media (min-width: 1200px) and (max-width: 1279px) {
  dt-site-header { zoom: .9; }
}

/* Design Doctor hero: readable text on the light band (class names are design-doctor_heroLead__xxxx etc.; the first attempt used the wrong order) */
main [class*="design-doctor_hero__"] [class*="design-doctor_eyebrow"] { color: var(--hu-blue) !important; }
main [class*="design-doctor_hero__"] [class*="design-doctor_brandLockup"] span { color: var(--hu-navy) !important; }
main [class*="design-doctor_hero__"] [class*="design-doctor_heroLead"] { color: var(--hu-mid) !important; }
main [class*="design-doctor_hero__"] [class*="design-doctor_heroNotes"] span { color: var(--hu-soft) !important; }
main [class*="design-doctor_hero__"] [class*="design-doctor_primaryAction"] {
  background: var(--hu-blue) !important; color: var(--hu-white) !important; border: 1px solid var(--hu-blue) !important;
}
main [class*="design-doctor_hero__"] [class*="design-doctor_secondaryAction"] {
  background: var(--hu-white) !important; color: var(--hu-blue) !important; border: 1px solid var(--hu-blue) !important;
}

/* Design Doctor page: one balanced hero (compact title band, then the hero card with a bigger video and a smaller headline) */
body:has([class*="design-doctor_hero__"]) main > section.border-b:first-child > div {
  padding-top: 1.5rem !important; padding-bottom: 1.4rem !important;
}
body:has([class*="design-doctor_hero__"]) main > section.border-b:first-child h1 { font-size: clamp(1.9rem, 3vw, 2.6rem) !important; }
body:has([class*="design-doctor_hero__"]) main > section.border-b:first-child > div > p { margin-top: .35rem !important; font-size: 1.12rem !important; }
body:has([class*="design-doctor_hero__"]) main > section.border-b:first-child nav { margin-top: .6rem !important; }
section[class*="design-doctor_hero__"] h2 { font-size: clamp(2rem, 3.3vw, 3.1rem) !important; line-height: 1.1 !important; }
section[class*="design-doctor_hero__"] { box-shadow: 0 18px 46px rgba(13, 72, 117, .12) !important; }
@media (min-width: 960px) {
  section[class*="design-doctor_hero__"] {
    padding: 2.2rem 2.6rem !important;
    gap: 3rem !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
    min-height: 0 !important;
  }
}

/* Design Doctor: the separate "Design Doctor / See it. Feel it. Make it." title band is hidden from view (dev lead, 30 Nov). It stays in the page for search engines and screen readers (the page's only H1 and its breadcrumb). */
body:has([class*="design-doctor_hero__"]) main > section.border-b:first-child {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important; border: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
