/* Natural media in individual projects, including older Elementor wrappers. */
body.uhb2026 .uhb-main:has(.uhb-project-opening) :is(
  figure.uhb-project-opening__media,
  .uhb-project-emblem,
  .uhb-project-gallery-v91 .uhb-project-gallery__item > button,
  .uhb-project-story__body figure
) {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
body.uhb2026 .uhb-main:has(.uhb-project-opening) :is(
  figure.uhb-project-opening__media,
  .uhb-project-emblem,
  .uhb-project-gallery-v91 .uhb-project-gallery__item,
  .uhb-project-story__body,
  .uhb-project-awards__image
) img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

/* An image-led story can mix paragraphs, figures and image pairs in source order. */
body.uhb2026 .uhb-project-story:has(.uhb-project-story__body img) .uhb-project-story__copy {
  grid-column: 1 / -1;
}
body.uhb2026 .uhb-project-story:has(.uhb-project-story__body img) .uhb-project-story__body {
  display: flow-root;
  max-width: none;
}
body.uhb2026 .uhb-project-story:has(.uhb-project-story__body img) .uhb-project-story__body > :is(p:not(:has(img)), h2, h3, ul, ol) {
  max-width: 52ch;
}
body.uhb2026 .uhb-project-story__body .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--uhb-layout-gap, 24px);
  align-items: start;
}
body.uhb2026 .uhb-project-story__body .wp-block-gallery > figure {
  width: 100% !important;
  margin: 0;
}
@media (max-width: 680px) {
  body.uhb2026 .uhb-project-story__body .wp-block-gallery { grid-template-columns: minmax(0, 1fr); }
}

/*
 * UrbanizeHub 2026 v106 — continuity and flow corrections.
 * Loaded after every programme skin so shared interaction, contrast and
 * orientation rules remain consistent across all page families.
 */

:root {
  --uhb-v106-ink-on-lime: #064a43;
}

/* Semantic article headings inherit the established card geometry. */
body.uhb2026 .uhb-article-featured__title {
  margin: 0;
  color: inherit;
}

/* A project row should complete the six-column desktop rhythm. */
body.uhb2026 .uhb-projects-preview .uhb-home-urbanvision-project-grid {
  align-items: start;
}

/* Standalone actions share one minimum target and one compact visual weight. */
body.uhb2026 :is(
  .uhb-text-link,
  .uhb-back-link,
  .uhb-section-link,
  .uhb-related-text-link,
  .uhb-person-division-link,
  .uhb-person-socials a,
  .uhb-publication-card__actions a
) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

body.uhb2026 :is(
  .uhb-button,
  .uhb-conversation-cta__button,
  form button[type="submit"],
  form input[type="submit"]
) {
  font-size: var(--font-body) !important;
  font-weight: var(--weight-medium) !important;
  line-height: var(--line-display) !important;
}

/* Related article titles are separate entries, including when titles are short. */
body.uhb2026 .uhb-related-text-link {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Feature headings follow the same display leading as the shared hierarchy. */
body.uhb2026 .uhb-feature-case :is(h2, h3),
body.uhb2026 .uhb-contextual-next-project h2,
body.uhb2026 .uhb-urbanvision-collaboration h2 {
  line-height: var(--line-display) !important;
}

/* Primary actions keep a single border; keyboard focus uses the outline below. */
body.uhb2026 :is(a, button).uhb-button--primary,
body.uhb2026 :is(
  form button[type="submit"],
  form input[type="submit"],
  .uhb-conversation-cta__button
) {
  border-color: var(--uhb-deep) !important;
  background: var(--uhb-deep) !important;
  color: #fff !important;
}

body.uhb2026 :is(a, button).uhb-button--primary:is(:hover, :focus-visible),
body.uhb2026 :is(
  form button[type="submit"],
  form input[type="submit"],
  .uhb-conversation-cta__button
):is(:hover, :focus-visible) {
  border-color: var(--uhb-deep) !important;
  background: #fff !important;
  color: var(--uhb-deep) !important;
  box-shadow: none;
}

/* Header Contact stays outlined at rest, with a 30% lighter 1.4px border. */
body.uhb2026 .uhb-header .uhb-header__actions .uhb-button--primary {
  border: 1.4px solid var(--uhb-deep) !important;
  background: transparent !important;
  color: var(--uhb-deep) !important;
  box-shadow: none !important;
}

/* Light/scrolled header: dark-green fill and white type on interaction. */
body.uhb2026 .uhb-header .uhb-header__actions .uhb-button--primary:is(:hover, :focus-visible) {
  border: 1.4px solid var(--uhb-deep) !important;
  background: var(--uhb-deep) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Hero/glass header: white outline at rest, white fill on interaction. */
body.uhb2026 :is(.uhb-header.is-over-hero, .uhb-header.is-glass:not(.is-scrolled)) .uhb-header__actions .uhb-button--primary {
  border: 1.4px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.uhb2026 :is(.uhb-header.is-over-hero, .uhb-header.is-glass:not(.is-scrolled)) .uhb-header__actions .uhb-button--primary:is(:hover, :focus-visible) {
  border: 1.4px solid #fff !important;
  background: #fff !important;
  color: var(--uhb-deep) !important;
  box-shadow: none !important;
}

body.uhb2026 .uhb-header .uhb-header__actions .uhb-button--primary:focus-visible {
  outline: 2px solid var(--uhb-deep) !important;
  outline-offset: 3px;
}

body.uhb2026 :is(.uhb-header.is-over-hero, .uhb-header.is-glass:not(.is-scrolled)) .uhb-header__actions .uhb-button--primary:focus-visible {
  outline-color: #fff !important;
}

body.uhb2026 :is(
  .uhb-conversation-cta,
  .uhb-competencies-contact,
  .uhb-services-cta,
  .uhb-urbanvision-collaboration,
  .uhb-urbantalks-partnership
) :is(
  .uhb-button--primary,
  .uhb-conversation-cta__button,
  button[type="submit"],
  input[type="submit"]
) {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--uhb-deep) !important;
}

body.uhb2026 :is(
  .uhb-conversation-cta,
  .uhb-competencies-contact,
  .uhb-services-cta,
  .uhb-urbanvision-collaboration,
  .uhb-urbantalks-partnership
) :is(
  .uhb-button--primary,
  .uhb-conversation-cta__button,
  button[type="submit"],
  input[type="submit"]
):is(:hover, :focus-visible) {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--uhb-deep) !important;
  box-shadow: none;
}

/* Filled green controls use white labels/icons, including their filled hover
   state. Outline/white-button variants retain their own foreground colours. */
body.uhb2026 .uhb-program-card--vision:is(:hover, :focus-visible) > span,
body.uhb2026 .uhb-urbantalks-platform-badge:is(:hover, :focus-visible),
body.uhb2026 .uhb-share-row :is(a, button):is(:hover, :focus-visible),
body.uhb2026 .uhb-project-end .uhb-share-row :is(a, button):is(:hover, :focus-visible),
body.uhb2026 .uhb-article-meta__share .uhb-share-row :is(a, button):is(:hover, :focus-visible) {
  color: #fff !important;
}

body.uhb2026 .uhb-video-card__play::before,
body.uhb2026 .uhb-urbantalks-video-card__play::after {
  border-left-color: #fff;
}

/* A visible focus ring must contrast with its surface, including disclosures.
   Keep component-specific offsets (such as inset map controls) intact. */
body.uhb2026 :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--uhb-deep) !important;
}

body.uhb2026 :is(
  .uhb-home-hero,
  .uhb-hub-hero.has-media,
  .uhb-article-hero.has-media,
  .uhb-search,
  .uhb-lightbox,
  .uhb-conversation-cta,
  .uhb-competencies-contact,
  .uhb-services-cta,
  .uhb-urbanvision-collaboration,
  .uhb-urbantalks-partnership
) :is(a, button, input, select, textarea, summary):focus-visible {
  outline-color: #fff !important;
}

/* Progressive directories can reveal a non-link entry. Its programmatic
   focus should be as visible as focus on a linked card. */
body.uhb2026 [data-uhb-progressive-item][tabindex="-1"]:focus {
  outline: 2px solid var(--uhb-deep);
  outline-offset: 6px;
}

/* Search focus is indicated by the form's existing underline, not a box. */
body.uhb2026 .uhb-search #uhb-search-input:focus-visible {
  outline: none !important;
}

/* Result labels sit on the dark search surface; portraits keep their identity. */
body.uhb2026 .uhb-search .uhb-search-card__type {
  color: var(--uhb-green) !important;
}

/* Center complete and partial result rows without enlarging individual cards. */
body.uhb2026 .uhb-search .uhb-search-grid {
  --uhb-search-card-width: calc((100% - 3 * var(--uhb-gap)) / 4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

body.uhb2026 .uhb-search .uhb-search-card {
  flex: 0 0 var(--uhb-search-card-width);
  width: var(--uhb-search-card-width);
  text-align: center;
}

body.uhb2026 .uhb-search :is(.uhb-search__count, .uhb-search__prompt) {
  text-align: center;
}

body.uhb2026 .uhb-search .uhb-search-card:not(.uhb-search-card--person) :is(img, .uhb-search-card__placeholder) {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
}

/* A circle's diameter equals the height of its neighbouring 16:9 thumbnail. */
body.uhb2026 .uhb-search .uhb-search-card--person :is(img, .uhb-search-card__placeholder) {
  width: 56.25%;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover;
  margin-inline: auto;
}

@media (min-width: 681px) and (max-width: 1100px) {
  body.uhb2026 .uhb-search .uhb-search-grid {
    --uhb-search-card-width: calc((100% - var(--uhb-gap)) / 2);
  }
}

@media (max-width: 680px) {
  body.uhb2026 .uhb-search .uhb-search-grid {
    --uhb-search-card-width: 100%;
  }
}

/* Short profiles meet the footer directly, without the generic 55vh filler.
   Use the footer surface token; photography and project sections stay intact. */
body.uhb2026 .uhb-hub-page:has(> .uhb-person-hero:only-child:not(.has-cover)) {
  min-height: 0;
  background-color: var(--uhb-pale);
}

body.uhb2026 .uhb-hub-page > .uhb-person-hero:not(.has-cover) {
  background-color: var(--uhb-pale);
}

/* Profile opening: portrait and return link have separate rows so the summary
   can be centred against the photograph itself, not photograph plus link. */
@media (min-width: 1101px) {
  body.uhb2026 .uhb-person-hero__grid:has(.uhb-person-hero__portrait) {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--uhb-layout-gap);
    row-gap: 16px;
  }

  body.uhb2026 .uhb-person-hero__grid > .uhb-person-hero__portrait-column {
    display: contents;
  }

  body.uhb2026 .uhb-person-hero__grid .uhb-person-hero__portrait {
    grid-column: 1 / span 3;
    grid-row: 1;
  }

  body.uhb2026 .uhb-person-hero__grid .uhb-person-hero__return {
    grid-column: 1 / span 3;
    grid-row: 2;
    margin-top: 0;
  }

  body.uhb2026 .uhb-person-hero__grid:has(.uhb-person-hero__portrait) > .uhb-person-hero__summary {
    grid-column: 4 / span 7;
    grid-row: 1;
    align-self: center;
    margin-inline-start: 0;
  }

  body.uhb2026 .uhb-person-hero__grid:has(.uhb-person-hero__portrait) > .uhb-person-hero__meta {
    grid-column: 11 / span 2;
    grid-row: 1;
  }
}

@media (min-width: 681px) and (max-width: 1100px) {
  body.uhb2026 .uhb-person-hero__grid:has(.uhb-person-hero__portrait) {
    column-gap: var(--uhb-layout-gap);
  }
  body.uhb2026 .uhb-person-hero__grid > .uhb-person-hero__portrait-column {
    grid-column: 1;
  }

  body.uhb2026 .uhb-person-hero__grid:has(.uhb-person-hero__portrait) > .uhb-person-hero__summary {
    grid-column: 2 / span 3;
    margin-inline-start: 0;
    padding-top: 0;
    align-self: center;
  }
}

/* The portrait column owns the return link; the image fills that column and
   the title remains aligned with the top of the portrait. */
body.uhb2026 .uhb-person-hero__portrait-column {
  min-width: 0;
}

body.uhb2026 .uhb-person-hero__portrait-column .uhb-person-hero__portrait {
  width: 100%;
  max-width: none;
}

body.uhb2026 .uhb-person-hero__portrait-column .uhb-person-hero__return {
  display: inline-block;
  margin-top: clamp(0.75rem, 1.5vw, 1.25rem);
}

body.uhb2026 .uhb-person-hero__portrait img {
  filter: none !important;
}

body.uhb2026 .uhb-main.uhb-hub-page .uhb-person-card__portrait,
body.uhb2026 .uhb-main .uhb-person-hero__portrait {
  aspect-ratio: 1 / 1;
  border-radius: 24px !important;
  overflow: hidden;
}

body.uhb2026 .uhb-main.uhb-hub-page .uhb-person-card__portrait img,
body.uhb2026 .uhb-main .uhb-person-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px !important;
  filter: none !important;
}

body.uhb2026 .uhb-person-hero__summary > h1 {
  margin-top: 0;
}

/* Individual portraits are softer than the 24px team-grid portraits. */
body.uhb2026 .uhb-main .uhb-person-hero__portrait,
body.uhb2026 .uhb-main .uhb-person-hero__portrait img {
  border-radius: 48px !important;
}

body.uhb2026 .uhb-main :is(.uhb-person-projects, .uhb-person-contributions) .uhb-person-project-card__image,
body.uhb2026 .uhb-main :is(.uhb-person-projects, .uhb-person-contributions) .uhb-person-project-card__image img {
  border-radius: 12px !important;
}

body.uhb2026 .uhb-main .uhb-person-contributions--talks .uhb-person-project-card__image {
  aspect-ratio: 16 / 9;
}

body.uhb2026 .uhb-main .uhb-person-articles .uhb-person-masonry > article {
  padding: 20px;
  border: 1px solid rgba(7, 87, 78, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(34, 34, 34, .04);
}

@media (min-width: 681px) {
  body.uhb2026 .uhb-person-hero__grid:has(.uhb-person-hero__portrait) > .uhb-person-hero__summary {
    min-width: 0;
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  body.uhb2026 .uhb-person-hero__grid > .uhb-person-hero__portrait-column,
  body.uhb2026 .uhb-person-hero__grid > .uhb-person-hero__summary,
  body.uhb2026 .uhb-person-hero__grid > .uhb-person-hero__meta {
    grid-column: 1 / -1;
  }

  body.uhb2026 .uhb-person-hero__grid > .uhb-person-hero__summary {
    margin-block-start: var(--uhb-layout-gap);
  }
}

/* One-shot scroll entrance, without overriding existing hover transforms. */
@keyframes uhb-scroll-enter {
  from { opacity: .15; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  body.uhb2026 .uhb-main .uhb-scroll-reveal {
    animation: uhb-scroll-enter 800ms cubic-bezier(.22, .61, .36, 1) both;
  }
  body.uhb2026 .uhb-main .uhb-scroll-reveal:focus-within { animation: none; }
}
@media (prefers-reduced-motion: reduce), print {
  body.uhb2026 .uhb-main .uhb-scroll-reveal { animation: none; }
}

/* Profile details share the name's left edge; return remains under the photo. */
body.uhb2026 .uhb-person-hero--horizontal {
  position: relative; isolation: isolate; overflow: hidden;
  background: #192525; color: #fff;
}
body.uhb2026 .uhb-person-hero__ambient {
  position: absolute; inset: -100px; z-index: -2; pointer-events: none;
  opacity: 1; filter: blur(90px) saturate(1.25);
}
body.uhb2026 .uhb-person-hero__ambient img { width: 100%; height: 100%; object-fit: cover; }
/* The blurred portrait supplies its own palette; the dark glass preserves contrast. */
body.uhb2026 .uhb-person-hero--horizontal::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 15, 20, .55), rgba(8, 15, 20, .18) 45%, transparent 85%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
body.uhb2026 .uhb-person-hero--horizontal :is(h1, p, a, strong, span) {
  color: #fff !important;
}
body.uhb2026 .uhb-person-hero--horizontal a {
  text-decoration-color: rgba(255, 255, 255, .55);
}
body.uhb2026 .uhb-person-hero--horizontal a:focus-visible {
  outline: 2px solid #fff; outline-offset: 4px;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-division-link img {
  filter: brightness(0) invert(1);
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-socials > a {
  text-decoration: underline solid rgba(255, 255, 255, .65) 1px !important;
  text-underline-offset: 4px;
  text-decoration-skip-ink: auto;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-active-dot {
  width: 10.4px;
  height: 10.4px;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__return {
  opacity: .55;
  transition: opacity 200ms ease;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__return:is(:hover, :focus-visible) {
  opacity: 1;
}
body.uhb2026 .uhb-main .uhb-person-hero--horizontal .uhb-person-hero__portrait {
  border: 1pt solid rgba(255, 255, 255, .5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18), 0 0 18px rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .08);
  box-sizing: border-box;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__meta > .uhb-person-hero__details {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px var(--uhb-layout-gap); margin: 0; padding: 0; border: 0;
}
body.uhb2026 .uhb-person-hero__details > div { min-width: 0; }
body.uhb2026 .uhb-person-hero__details > div > span {
  display: block; color: var(--uhb-muted); margin-bottom: 10px; text-transform: uppercase;
}
body.uhb2026 .uhb-person-hero__details .uhb-person-socials {
  grid-column: span 2; display: flex; flex-wrap: wrap; align-content: start;
  gap: 10px 20px; margin: 0; min-width: 0;
}
body.uhb2026 .uhb-person-hero__details .uhb-person-socials > span { flex-basis: 100%; }
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__meta .uhb-person-hero__return {
  grid-column: 1 / span 3; grid-row: auto; margin: 0; align-self: start;
}
@media (min-width: 681px) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--uhb-layout-gap);
  }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__portrait-column { display: contents; }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__portrait { grid-column: 1 / span 3; grid-row: 1; }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__grid > .uhb-person-hero__summary {
    grid-column: 4 / -1; grid-row: 1; align-self: center;
  }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__grid > .uhb-person-hero__meta {
    grid-column: 1 / -1; grid-row: 2; display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--uhb-layout-gap);
  }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__meta > .uhb-person-hero__details { grid-column: 4 / -1; }
}
@media (max-width: 1100px) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__meta > .uhb-person-hero__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__meta { display: grid; gap: 24px; }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__meta .uhb-person-hero__return { grid-column: 1 / -1; }
}

/* Unified profile: 2 editorial columns for the 80% portrait, 4 for all copy. */
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__summary > .uhb-person-hero__meta {
  display: block; margin: 24px 0; padding: 0;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__summary .uhb-person-hero__details {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  font-size: 16px; line-height: 1.45;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details .uhb-person-socials {
  grid-column: auto; margin: 0; gap: 4px 12px; font-size: inherit; line-height: 1.1;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details .uhb-person-socials > :is(span, a) {
  min-height: 0; line-height: 1.1;
}
@media (pointer: coarse) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details .uhb-person-socials > a {
    min-height: 44px;
  }
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details :is(strong, a) { font-size: inherit; line-height: inherit; }
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details .uhb-person-socials > span {
  text-transform: uppercase; color: var(--uhb-muted); margin-bottom: 2px;
}
/* Quiet, sentence-case labels across the entire technical-details band. */
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details > div > span,
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details .uhb-person-socials > span {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  opacity: .78;
  line-height: 1.2;
  margin-bottom: 8px;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__summary .uhb-person-hero__details {
  line-height: 1.3;
  align-items: start;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details :is(strong, a) {
  font-weight: 500;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__bio { margin-top: 28px; }
@media (min-width: 681px) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__grid > .uhb-person-hero__portrait-column {
    display: block; grid-column: 1 / span 4; grid-row: 1; align-self: start;
  }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__portrait-column .uhb-person-hero__portrait { width: 80%; }
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__grid > .uhb-person-hero__summary {
    grid-column: 5 / -1; grid-row: 1; align-self: center;
  }
  body.uhb2026 .uhb-person-hero--horizontal.has-no-portrait .uhb-person-hero__grid > .uhb-person-hero__summary { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__summary .uhb-person-hero__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__portrait-column .uhb-person-hero__portrait { width: 80%; }
}

/* Singleton collections can share a row without merging their headings. */
body.uhb2026 .uhb-person-collection-row__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px var(--uhb-layout-gap, 24px);
}
body.uhb2026 .uhb-person-collection-row__grid > .uhb-person-collection-row__group {
  grid-column: span var(--profile-card-count);
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 24px;
  margin: 0;
  padding: 0;
}
body.uhb2026 .uhb-person-collection-row__group .uhb-section-heading { margin-bottom: 0; }
body.uhb2026 .uhb-person-collection-row__group .uhb-person-project-grid {
  grid-template-columns: repeat(var(--profile-card-count), minmax(0, 1fr)) !important;
  align-content: start;
}
body.uhb2026 .uhb-person-collection-row__group .uhb-person-project-grid > .uhb-person-project-card { grid-column: auto !important; }
@media (max-width: 900px) {
  body.uhb2026 .uhb-person-collection-row__grid { grid-template-columns: minmax(0, 1fr); }
  body.uhb2026 .uhb-person-collection-row__grid > .uhb-person-collection-row__group {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-rows: auto auto;
  }
}
@media (max-width: 680px) {
  body.uhb2026 .uhb-person-collection-row__group .uhb-person-project-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Individual profiles use Archivo throughout, including rich-text accents. */
body.uhb2026 .uhb-main:has(.uhb-person-hero),
body.uhb2026 .uhb-main:has(.uhb-person-hero) :is(h1, h2, h3, h4, h5, h6, p, a, span, strong, b, em, i, div, section, aside, blockquote, li, dt, dd, figcaption, button, label, input, textarea, select, small) {
  font-family: Archivo, Arial, sans-serif !important;
}

/* Profile navigation and overlapping programme badges stay outside the photo clip. */
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__portrait-column .uhb-person-hero__return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  padding: 7px 12px;
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
}
@media (pointer: coarse) {
  body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__portrait-column .uhb-person-hero__return { min-height: 44px; }
}
body.uhb2026 .uhb-person-hero__portrait-wrap { position: relative; width: 80%; }
body.uhb2026 .uhb-person-hero__portrait-wrap.has-badges { margin-bottom: 27px; }
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__portrait-column .uhb-person-hero__portrait-wrap .uhb-person-hero__portrait { width: 100%; }
body.uhb2026 .uhb-person-hero__badges {
  position: absolute;
  right: 8%;
  bottom: 0;
  transform: translateY(45%);
  display: flex;
  isolation: isolate;
}
body.uhb2026 .uhb-person-hero__badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(39px, 3.75vw, 57px);
  aspect-ratio: 1;
  flex-shrink: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1pt solid rgba(255,255,255,.55);
  background: var(--uhb-program-color);
  box-shadow: 0 4px 16px rgba(0,0,0,.2), inset 0 0 10px rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
}
body.uhb2026 .uhb-person-hero__badge + .uhb-person-hero__badge { margin-left: -13.5px; }
body.uhb2026 .uhb-person-hero__badge {
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease;
}
body.uhb2026 .uhb-person-hero__badge:is(:hover, :focus-visible) {
  z-index: 2;
  transform: translateY(-2px) scale(1.1);
  border-color: #fff;
}
body.uhb2026 .uhb-person-hero__badge:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  body.uhb2026 .uhb-person-hero__badge { transition: none; }
  body.uhb2026 .uhb-person-hero__badge:is(:hover, :focus-visible) {
    transform: none;
    outline: 2px solid #fff;
    outline-offset: 4px;
  }
}
body.uhb2026 .uhb-person-hero__badge img { width: 82%; height: 82%; object-fit: contain; filter: brightness(0) invert(1); }
body.uhb2026 .uhb-person-hero__badge.is-vision { background: #fff; }
body.uhb2026 .uhb-person-hero__badge:is(.is-vision, .is-lab) img { filter: none; }
body.uhb2026 .uhb-person-hero__badge.is-lab img { width: 61.5%; height: 61.5%; }
body.uhb2026 .uhb-person-hero__badge.is-sasaus img { width: 49.2%; height: 49.2%; }
body.uhb2026 .uhb-person-hero__badge.is-talks { background: #07584e; }
body.uhb2026 .uhb-person-hero__badge.is-talks img { width: 76%; height: 76%; filter: none; }
body.uhb2026 .uhb-person-hero__badge span { font-size: 11px; font-weight: 600; text-align: center; line-height: 1.1; }

/* Technical groups follow their content, with a consistent 48px separation. */
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__summary .uhb-person-hero__details {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details > div {
  flex: 0 1 auto;
  max-width: 100%;
}
body.uhb2026 .uhb-person-hero--horizontal .uhb-person-hero__details .uhb-person-socials {
  flex: 0 1 320px;
  max-width: 100%;
}

/* Keep the associated projects close to the profile while preserving the
   section rhythm used by the other profile subsections. */
body.uhb2026 .uhb-person-hero:has(.uhb-person-hero__portrait-column):has(+ :is(.uhb-person-projects, .uhb-person-contributions, .uhb-person-articles, .uhb-person-media)) {
  padding-bottom: clamp(1.5rem, 2vw, 2rem);
}

/* Compact the opening by trimming whitespace, never cropping or scaling copy.
   Content remains free to grow for longer biographies and narrow screens. */
body.uhb2026 .uhb-main.uhb-hub-page > .uhb-person-hero.uhb-person-hero--horizontal {
  background-color: #192525;
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (max-width: 680px) {
  body.uhb2026 .uhb-main.uhb-hub-page > .uhb-person-hero.uhb-person-hero--horizontal {
    padding-block: 24px;
  }
}

body.uhb2026 .uhb-person-hero + :is(.uhb-person-projects, .uhb-person-contributions, .uhb-person-articles, .uhb-person-media) {
  padding-top: clamp(1.5rem, 3vw, 3rem);
}

body.uhb2026 .uhb-person-department {
  display: block;
  margin-top: 0.4em;
}

body.uhb2026 .uhb-person-project-card > .uhb-person-project-card__meta,
body.uhb2026 .uhb-person-project-card > .uhb-person-project-card__contribution {
  font-style: normal;
}

body.uhb2026 .uhb-person-projects .uhb-person-project-card > .uhb-person-project-card__contribution {
  color: var(--uhb-green);
}

body.uhb2026 .uhb-person-project-card > .uhb-person-project-card__meta + .uhb-person-project-card__contribution {
  margin-top: 0.4em;
}

body.uhb2026 .uhb-person-contributions .uhb-person-project-card:not(:has(.uhb-person-project-card__image)) > h3 {
  margin-top: 0;
}

/* Article photography always carries white type. The gradient plugin may set
   a dark text colour inline after sampling a bright image; this scoped token
   keeps that automatic choice from breaking the article contrast contract. */
body.uhb2026 .uhb-single .uhb-article-hero.has-media {
  --uh-hero-text: 255 255 255 !important;
  isolation: isolate;
}

/* Only bright covers need an adjusted tint. All other images retain the
   original sampled, progressive overlay from the gradient plugin. */
body.uhb2026 .uhb-single .uhb-article-hero.has-media[data-uh-article-tint]::before {
  /* Show the sharp source image, not the plugin's blurred duplicate. */
  display: none;
}

body.uhb2026 .uhb-single .uhb-article-hero.has-media[data-uh-article-tint]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* A translucent shade of the cover's own hue protects white copy while
     preserving image detail. Never turn the photograph into a solid fill. */
  background: linear-gradient(
    to bottom,
    rgb(var(--uhb-article-shade) / 0) 0%,
    rgb(var(--uhb-article-shade) / 0.04) calc(var(--uhb-article-tint-start, 45%) * 0.20),
    rgb(var(--uhb-article-shade) / 0.18) calc(var(--uhb-article-tint-start, 45%) * 0.45),
    rgb(var(--uhb-article-shade) / 0.38) calc(var(--uhb-article-tint-start, 45%) * 0.70),
    rgb(var(--uhb-article-shade) / 0.56) calc(var(--uhb-article-tint-start, 45%) * 0.90),
    rgb(var(--uhb-article-shade) / 0.64) var(--uhb-article-tint-start, 45%),
    rgb(var(--uhb-article-shade) / 0.68) 100%
  );
}

body.uhb2026 .uhb-single .uhb-article-hero.has-media[data-uh-article-tint] .uhb-article-hero__content {
  text-shadow: none;
}

body.uhb2026 .uhb-single .uhb-article-hero.has-media .uhb-article-hero__content {
  z-index: 3;
  color: #fff;
}

body.uhb2026 .uhb-single .uhb-article-hero.has-media .uhb-article-hero__content :is(h1, p, a, span) {
  color: #fff !important;
}

/* Cover topics are approximately 30% larger than the previous 16px label. */
body.uhb2026 .uhb-single .uhb-article-hero__meta a {
  max-width: 100%;
  font-size: 21px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Lime remains a brand surface, with an ink colour that passes for body copy. */
body.uhb2026 .uhb-impact,
body.uhb2026 .uhb-home-impact__heading :is(h2, p),
body.uhb2026 .uhb-impact__grid > a,
body.uhb2026 .uhb-impact__grid > a :is(strong, span) {
  color: var(--uhb-v106-ink-on-lime) !important;
}

body.uhb2026 .uhb-impact__grid > a:is(:hover, :focus-visible) {
  background: rgba(3, 47, 43, 0.1);
}

body.uhb2026 .uhb-impact__grid > a > span:last-child::after {
  content: "\00a0→";
  font-weight: var(--weight-bold);
}

/* Process steps retain order even after structural separator lines are gone. */
body.uhb2026 .uhb-competency__process {
  counter-reset: uhb-process;
}

body.uhb2026 .uhb-competency__process li {
  counter-increment: uhb-process;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding-top: 0;
}

body.uhb2026 .uhb-competency__process li::before {
  content: counter(uhb-process, decimal-leading-zero);
  min-width: 28px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--uhb-pill);
  background: var(--uhb-green);
  color: var(--uhb-v106-ink-on-lime);
  font-size: var(--font-micro);
  font-weight: var(--weight-active);
  line-height: 1;
}

/* Shared section families now use the same compact / standard cadence. */
body.uhb2026 .uhb-competencies-intro,
body.uhb2026 .uhb-competencies-contact {
  padding-block: var(--uhb-v105-space-standard);
}

body.uhb2026 .uhb-competency,
body.uhb2026 .uhb-article-category-section {
  padding-block: var(--uhb-v105-space-compact);
}

/* Programme cards never turn lime into low-contrast text on a white surface. */
body.uhb2026 :is(
  .uhb-urbantalks-video-card h3 a,
  .uhb-urbantalks-edition-card h3 a,
  .uhb-urbantalks-crosslink
):is(:hover, :focus-visible) {
  color: var(--uhb-deep) !important;
  text-decoration-line: underline;
  text-decoration-color: var(--uhb-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Progressive page reductions are enhancements; complete content stays in DOM. */
body.uhb2026 [data-uhb-long-list-item][hidden],
body.uhb2026 .uhb-long-page-more[hidden] {
  display: none !important;
}

body.uhb2026 .uhb-long-page-more {
  margin: 34px 0 0;
}

/* Contextual parents remain visible while their child page is open. */
body.uhb2026 :is(
  .uhb-nav__item.is-current,
  .uhb-nav__item.is-context-current
) > .uhb-nav__top > a,
body.uhb2026 .uhb-nav__dropdown a[aria-current="page"] {
  font-weight: var(--weight-active) !important;
  text-decoration-line: underline;
  text-decoration-color: var(--uhb-v105-focus);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* A no-JS orientation index for the long Hub page. Its tracks follow the
   shared 6 / 4 / 2 page grid rather than introducing a local breakpoint. */
body.uhb2026 .uhb-hub-section-nav {
  background: #fff;
}

body.uhb2026 .uhb-hub-section-nav__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px var(--uhb-layout-gap, var(--uhb-gap));
  padding-block: clamp(20px, 2.8vw, 36px);
}

body.uhb2026 .uhb-hub-section-nav a {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--uhb-deep);
  font-size: var(--font-caption);
  font-weight: var(--weight-medium);
  line-height: var(--line-body);
  text-decoration-line: underline;
  text-decoration-color: rgba(7, 87, 78, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.uhb2026 .uhb-hub-section-nav a:is(:hover, :focus-visible) {
  color: var(--uhb-deep);
  text-decoration-color: var(--uhb-v105-focus);
}

body.uhb2026 :is(#team, #interns, #collaborators, #alumni, #advisors, #notices, #partners) {
  scroll-margin-top: 96px;
}

body.uhb2026 .uhb-person-return {
  padding-block: clamp(26px, 3vw, 40px);
  background: #fff;
}

/* Profile contact links share one type size, baseline and arrow geometry. */
body.uhb2026 .uhb-person-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

body.uhb2026 .uhb-person-socials,
body.uhb2026 .uhb-person-socials > :is(span, a) {
  font-size: max(var(--uhb-min-text-size, 0px), 16px) !important;
  line-height: var(--line-body, 1.38);
}

body.uhb2026 .uhb-person-socials > :is(span, a) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.uhb2026 .uhb-person-socials > a {
  min-width: 0;
  max-width: 100%;
  gap: 6px;
  border-bottom: 0;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.uhb2026 .uhb-person-socials :is(.uhb-person-socials__arrow, .uhb-inline-arrow) {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

body.uhb2026 .uhb-person-socials .uhb-person-socials__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* The arrow enhancer leaves a NBSP in this legacy wrapper. Hide that spacer,
   not the fallback text arrow when JavaScript is unavailable. */
body.uhb2026 .uhb-person-socials .uhb-person-socials__arrow:has(> .uhb-inline-arrow) {
  font-size: 0;
  line-height: 0;
}

@media (min-width: 681px) and (max-width: 1100px) {
  body.uhb2026 .uhb-hub-section-nav__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.uhb2026 .uhb-hub-section-nav__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 18px;
  }

  /* The project CTA inherits a more specific six-column desktop contract.
     Collapse both children explicitly so its heading, copy and action cannot
     occupy implicit zero-width tracks on narrow screens. */
  body.uhb2026 .uhb-project-commercial.uhb-conversation-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  body.uhb2026 .uhb-project-commercial.uhb-conversation-cta > :is(
    h2,
    .uhb-conversation-cta__content
  ) {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
  }

  body.uhb2026 .uhb-competency__process li {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    font-size: var(--font-caption);
  }

}

/* UrbanVision project case study: a forward-moving, six-column opening.
   The title leads into full-width media; description and dossier then share
   two equal three-track fields. This scope intentionally
   excludes the UrbanVision archive and every other page family. */
body.uhb2026:has(.uhb-project-opening) .uhb-project-opening {
  padding: clamp(24px, 3vw, 44px) 0 clamp(72px, 7vw, 112px);
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--uhb-layout-gap, var(--uhb-uv-gap, 24px));
  row-gap: 0;
  align-items: start;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__intro {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--uhb-deep, #07574e);
  font-size: 96px !important;
  font-weight: var(--weight-title, 400) !important;
  letter-spacing: -0.035em;
  line-height: 0.94 !important;
  text-wrap: balance;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__lead {
  grid-column: 1 / span 3;
  grid-row: 3;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: clamp(36px, 4vw, 60px) 0 0;
  font-size: var(--font-introduction, 21.6px) !important;
  line-height: var(--line-body, 1.38) !important;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__details {
  grid-column: 4 / span 3;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 1.6vw, 24px);
  min-width: 0;
  margin-top: clamp(36px, 4vw, 60px);
  padding-top: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__grid:not(:has(.uhb-project-opening__lead)) .uhb-project-opening__details {
  grid-column: 1 / -1;
}

body.uhb2026:has(.uhb-project-opening) :is(
  .uhb-project-opening__facts-column,
  .uhb-project-opening__team-column,
  .uhb-project-opening__team,
  .uhb-project-opening__role
) {
  min-width: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 2.2vw, 34px);
  margin: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__facts > div {
  margin: 0;
  padding: 0;
  border: 0;
}

body.uhb2026:has(.uhb-project-opening) :is(
  .uhb-project-opening__facts dt,
  .uhb-project-opening__team > h2,
  .uhb-project-opening__role > :first-child
) {
  display: block;
  margin: 0 0 7px;
  color: var(--uhb-muted, #666);
  /* Keep the complete right-hand detail area at the requested local 14px scale. */
  font-size: 14px !important;
  font-weight: var(--weight-medium, 600) !important;
  letter-spacing: 0;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__facts dd {
  margin: 0;
  color: var(--uhb-ink, #222);
  /* This is the one local exception to the site-wide desktop text floor. */
  font-size: 14px !important;
  font-weight: var(--weight-medium, 600);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team > h2 {
  margin-bottom: clamp(14px, 1.4vw, 20px);
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team .uhb-project-credits__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(17px, 1.8vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team .uhb-project-credit-group {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team .uhb-project-credit__role {
  color: var(--uhb-ink, #222);
  font-size: 14px !important;
  font-weight: var(--weight-regular, 400);
  line-height: 1.25;
  text-decoration: none;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team .uhb-project-credit__names {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team .uhb-project-credit__name {
  min-width: 0;
  color: var(--uhb-ink, #222);
  font-size: 14px !important;
  font-weight: var(--weight-bold, 700);
  line-height: 1.16;
  overflow-wrap: anywhere;
  text-decoration: none;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team .uhb-project-credit.has-profile .uhb-project-credit__name {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: currentColor;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team a.uhb-project-credit__name:is(:hover, :focus-visible) {
  color: var(--uhb-deep, #07574e);
  text-decoration-line: underline;
  text-decoration-color: currentColor;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__role {
  margin-top: clamp(28px, 3vw, 44px);
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__role:first-child {
  margin-top: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__role > p {
  margin: 0;
  color: var(--uhb-ink, #222);
  font-size: 14px !important;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__media {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  aspect-ratio: auto;
  min-width: 0;
  min-height: 0;
  /* Keep the image directly below the title without cropping its source. */
  margin: clamp(28px, 3vw, 48px) 0 0 !important;
  overflow: hidden;
}

body.uhb2026:has(.uhb-project-opening) figure.uhb-project-opening__media > img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

/* The first narrative pairing occupies two clear half-width fields. Further
   structured case modules auto-place as alternating three-column blocks. */
body.uhb2026:has(.uhb-project-opening) .uhb-project-story {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  column-gap: var(--uhb-layout-gap, var(--uhb-uv-gap, 24px));
  row-gap: clamp(32px, 4vw, 56px);
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-story__heading {
  grid-column: 1 / span 3;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-story__copy {
  grid-column: 4 / span 3;
  display: block;
  min-width: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules {
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules > article:nth-child(n) {
  grid-column: span 3;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules > .uhb-project-case-modules__impact {
  grid-column: span 3;
}

/* Project media may be either a paired half-width sequence or a full-width
   editorial plate. Ignore legacy 2/4 spans and crop every thumbnail centrally. */
/* Keep the case-study grid authoritative over the later generic collection
   rhythm. The paired classes intentionally add one point of specificity. */
body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery.uhb-project-gallery-v91 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
}

body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 > .uhb-project-gallery__item:nth-child(n) {
  grid-column: span 3 !important;
}

body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 > .uhb-project-gallery__item.is-span-6 {
  grid-column: 1 / -1 !important;
}

body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 .uhb-project-gallery__item:nth-child(n) > button {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3 !important;
}

body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 > .uhb-project-gallery__item.is-span-6 > button {
  aspect-ratio: 16 / 9 !important;
}

body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 img {
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
}

/* Close the case study in one deliberate sequence: actions, chronological
   next project, then the route into UrbanVision competencies. */
body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end-v91 > .uhb-urbanvision-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.2vw, 48px);
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end-v91 {
  padding: clamp(28px, 3.4vw, 48px) 0 clamp(56px, 6vw, 88px);
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end-v91 > .uhb-urbanvision-shell > :is(
  .uhb-project-end__actions,
  .uhb-contextual-next-project,
  .uhb-project-competencies
) {
  grid-column: 1 / -1;
  grid-row: auto;
  width: 100%;
  min-width: 0;
  margin: 0;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 64px);
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-project-end__share {
  flex: 0 0 auto;
  min-width: 0;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-share,
body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-project-appreciation {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-action-label {
  color: var(--uhb-ink, #222);
  font-size: 22px;
  font-weight: var(--weight-medium, 600);
  line-height: 1.2;
  white-space: nowrap;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: 100%;
  margin: 0;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-row :is(a, button) {
  display: grid;
  place-items: center;
  width: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--uhb-deep, #07574e) !important;
  box-shadow: none !important;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-row :is(a, button):is(:hover, :focus-visible) {
  background: var(--uhb-deep, #07574e) !important;
  color: #fff !important;
  transform: none;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-icon {
  width: 28px;
  height: 28px;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation {
  position: relative;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--uhb-deep, #07574e) !important;
  box-shadow: none !important;
  overflow: visible;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation > .uhb-project-action-label {
  width: auto;
  height: auto;
  display: inline;
  background: none;
  -webkit-mask: none;
  mask: none;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation > .uhb-project-appreciation__visual {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  -webkit-mask: none;
  mask: none;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation .uhb-project-appreciation__icon {
  display: block;
  width: 28px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url("../icons/uhb-heart-icon-stroke.svg") center / contain no-repeat;
  mask: url("../icons/uhb-heart-icon-stroke.svg") center / contain no-repeat;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation.is-active .uhb-project-appreciation__icon {
  -webkit-mask-image: url("../icons/uhb-heart-icon-fill.svg");
  mask-image: url("../icons/uhb-heart-icon-fill.svg");
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation .uhb-project-appreciation__visual > strong {
  position: absolute;
  right: -7px;
  bottom: -7px;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 5px;
  border: 2px solid var(--uhb-uv-soft, #FAF5F7);
  border-radius: 999px;
  background: var(--uhb-deep, #07574e);
  color: #fff;
  font-size: max(var(--uhb-min-text-size, 0px), 12px);
  font-weight: var(--weight-bold, 700);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation:is(:hover, :focus-visible) {
  background: transparent !important;
  color: var(--uhb-deep, #07574e) !important;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation.is-active {
  background: transparent !important;
  color: var(--uhb-green, #a9c131) !important;
}

body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation.is-active .uhb-project-appreciation__visual > strong {
  background: var(--uhb-green, #a9c131);
  color: #fff;
}

body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project {
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
}

body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project > a {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
}

body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__media {
  grid-column: 1 / span 3;
  min-width: 0;
  min-height: clamp(340px, 36vw, 540px);
  aspect-ratio: auto;
}

body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__body {
  grid-column: 4 / span 3;
  min-width: 0;
}

/* Centered next-project navigation, shared by RO/EN and all viewport sizes. */
body.uhb2026 .uhb-contextual-next-project.is-centered > a {
  display: block;
  text-align: center;
}

body.uhb2026 .uhb-contextual-next-project.is-centered .uhb-contextual-next-project__body {
  grid-column: 1 / -1;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 64px);
  text-align: center;
}

body.uhb2026 .uhb-contextual-next-project.is-centered p {
  margin-inline: auto;
}

body.uhb2026 .uhb-contextual-next-project.is-centered .uhb-contextual-next-project__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Reveal one quarter of the next cover, normalized to the gallery's 3:2 ratio. */
body.uhb2026 .uhb-contextual-next-project.is-centered .uhb-contextual-next-project__cover-peek {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 1;
  overflow: hidden;
  border-radius: 0 0 3px 3px;
}

body.uhb2026 .uhb-contextual-next-project.is-centered .uhb-contextual-next-project__cover-peek img {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100% !important;
  height: 400% !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies > h2 {
  grid-column: 1 / span 3;
}

body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies > .uhb-conversation-cta__content {
  grid-column: 4 / span 3;
}

@media (min-width: 681px) and (max-width: 1100px) {
  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__intro {
    grid-column: 1 / -1;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening h1 {
    font-size: clamp(64px, 7.3vw, 80px) !important;
    line-height: 0.96 !important;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__details {
    grid-column: 3 / span 2;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(30px, 4vw, 44px);
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__lead {
    grid-column: 1 / span 2;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions {
    flex-wrap: wrap;
  }

  body.uhb2026:has(.uhb-project-opening) figure.uhb-project-opening__media > img {
    height: 100% !important;
    min-height: 0;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-story,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules,
  body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery.uhb-project-gallery-v91 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-story__heading,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-story__copy,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules > article:nth-child(n) {
    grid-column: span 2;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules > .uhb-project-case-modules__impact {
    grid-column: span 2;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 > .uhb-project-gallery__item:nth-child(n) {
    grid-column: span 2 !important;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 > .uhb-project-gallery__item.is-span-6 {
    grid-column: 1 / -1 !important;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project > a,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__media,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies > h2 {
    grid-column: 1 / span 2;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__body,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies > .uhb-conversation-cta__content {
    grid-column: 3 / span 2;
  }
}

@media (max-width: 680px) {
  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening {
    padding: 22px 0 66px;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__grid,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-story,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules,
  body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery.uhb-project-gallery-v91,
  body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project > a,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies {
    grid-template-columns: minmax(0, 1fr);
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__intro,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__details,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__lead,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__media,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-story__heading,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-story__copy,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules > article:nth-child(n),
  body.uhb2026:has(.uhb-project-opening) .uhb-project-case-modules > .uhb-project-case-modules__impact,
  body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 > .uhb-project-gallery__item:nth-child(n),
  body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__media,
  body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__body,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies > h2,
  body.uhb2026:has(.uhb-project-opening) .uhb-project-competencies > .uhb-conversation-cta__content {
    grid-column: 1 / -1 !important;
    grid-row: auto;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening h1 {
    font-size: clamp(42px, 13.5vw, 60px) !important;
    letter-spacing: -0.025em;
    line-height: 0.98 !important;
    text-wrap: wrap;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__lead {
    margin-top: 28px;
    font-size: var(--font-introduction, 20.4px) !important;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__details {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 32px;
    padding-top: 0;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__team .uhb-project-credits__list {
    gap: 20px;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-opening__media {
    margin-top: 24px !important;
  }

  body.uhb2026:has(.uhb-project-opening) figure.uhb-project-opening__media > img {
    height: 100% !important;
    min-height: 0;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-project-story {
    row-gap: 28px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end-v91 > .uhb-urbanvision-shell {
    gap: 32px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 28px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-action-label {
    font-size: 16px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-share,
  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-project-appreciation {
    gap: 10px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-row {
    gap: 8px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-row :is(a, button) {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-icon {
    width: 23px;
    height: 23px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation > .uhb-project-appreciation__visual {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation .uhb-project-appreciation__icon {
    width: 24px;
    height: 21px;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-contextual-next-project__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 3px 3px 0 0;
  }

  body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 .uhb-project-gallery__item:nth-child(n) > button,
  body.uhb2026:has(.uhb-project-opening) .uhb-main .uhb-project-gallery-v91 > .uhb-project-gallery__item.is-span-6 > button {
    aspect-ratio: 4 / 3 !important;
  }
}

@media (max-width: 340px) {
  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions {
    gap: 8px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-row {
    gap: 8px;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) .uhb-project-end__actions .uhb-share-row :is(a, button) {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  body.uhb2026:has(:is(.uhb-project-opening, .uhb-calm-project)) button.uhb-project-appreciation > .uhb-project-appreciation__visual {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.uhb2026 .uhb-impact__grid > a,
  body.uhb2026 :is(
    .uhb-urbantalks-video-card h3 a,
    .uhb-urbantalks-edition-card h3 a,
    .uhb-urbantalks-crosslink
  ) {
    transition: none !important;
  }
}
/* Diana Ristea's requested pink profile, scoped to its existing RO/EN Pages.
 * Identity, portrait, programme badges and the shared site chrome stay intact. */
body.uhb2026:is(.page-id-19159, .page-id-19622) .uhb-main.uhb-hub-page {
  --uhb-deep: #8d1b54;
  --uhb-green: #b82169;
  --uhb-paper: #fff0f7;
  background: #fff0f7;
}

body.uhb2026:is(.page-id-19159, .page-id-19622) .uhb-main.uhb-hub-page > .uhb-person-hero.uhb-person-hero--horizontal {
  background: #9c1f60;
}

body.uhb2026:is(.page-id-19159, .page-id-19622) .uhb-person-hero__ambient {
  opacity: .22;
  filter: blur(90px) grayscale(1);
}

body.uhb2026:is(.page-id-19159, .page-id-19622) .uhb-person-hero--horizontal::after {
  background: linear-gradient(115deg, rgba(156, 31, 96, .93), rgba(182, 33, 112, .92) 55%, rgba(123, 23, 77, .97));
}

body.uhb2026:is(.page-id-19159, .page-id-19622) .uhb-person-hero__portrait {
  border-color: #ffd0e7 !important;
  box-shadow: 0 8px 32px rgba(78, 8, 42, .2), 0 0 24px rgba(255, 175, 214, .22) !important;
}

body.uhb2026:is(.page-id-19159, .page-id-19622) .uhb-person-hero--horizontal .uhb-active-dot {
  background: #ffd0e7;
}

body.uhb2026:is(.page-id-19159, .page-id-19622) :is(.uhb-person-hero__return, .uhb-person-hero__details > div > span, .uhb-person-socials > span) {
  opacity: .9;
}

body.uhb2026:is(.page-id-19159, .page-id-19622) .uhb-main > :is(.uhb-person-projects, .uhb-person-contributions, .uhb-person-articles, .uhb-person-media) {
  background: transparent;
}
/*
 * UrbanizeHub 2026 — v107 homepage opening and desktop header tools.
 * Keeps the existing content, media and mobile drawer while clarifying the
 * opening composition and grouping the utility actions at the right edge.
 */

/* Homepage: one centered reading unit over the selected Media slideshow. */
body.uhb2026 .uhb-home-hero {
  --uhb-home-top-space: 56px;
  --uhb-home-opening-height: calc((100vh - var(--uhb-home-top-space)) * 0.8);
}

@supports (height: 100dvh) {
  body.uhb2026 .uhb-home-hero {
    --uhb-home-opening-height: calc((100dvh - var(--uhb-home-top-space)) * 0.8);
  }
}

body.uhb2026 .uhb-home-hero,
body.uhb2026 .uhb-home-hero__content {
  min-height: var(--uhb-home-opening-height) !important;
}

body.uhb2026 .uhb-home-hero__content {
  align-items: center;
  justify-content: center;
  /* Reserve room for both the overlay header and the scroll cue. Natural
     growth keeps the copy readable on short screens and with enlarged text. */
  padding-block: 76.8px;
  text-align: center;
}

body.uhb2026 .uhb-home-hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: calc(50% - 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  opacity: 0.65;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: opacity 180ms ease;
}

body.uhb2026 .uhb-home-hero__scroll .uhb-icon {
  width: 24px;
  height: 24px;
  transform: none;
  animation: uhbHomeScrollHint 2.8s ease-in-out infinite;
}

body.uhb2026 .uhb-home-hero__scroll:is(:hover, :focus-visible) { opacity: 1; }
body.uhb2026 .uhb-home-hero__scroll:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
  border-radius: 50%;
}

body.uhb2026 #uhb-home-about { scroll-margin-top: 72px; }
body.uhb2026 .uhb-home-about__copy > h2 { font-weight: 700 !important; }

@keyframes uhbHomeScrollHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

body.uhb2026 .uhb-home-hero h1 {
  width: 100%;
  max-width: 18ch;
  margin: 0 auto 20px;
  font-size: clamp(77px, 5.16vw, 91px) !important;
  font-size: round(nearest, clamp(77px, 5.16vw, 91px), 1px) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

body.uhb2026 .uhb-home-hero__content > p {
  width: 100%;
  max-width: 62ch;
  margin: 0 auto 28px;
  font-size: 24px !important;
  text-wrap: balance;
}

body.uhb2026 .uhb-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  max-width: 100%;
}

body.uhb2026 .uhb-home-hero .uhb-home-hero__actions > .uhb-button {
  --uhb-button-pad-block: 10px;
  --uhb-button-pad-inline: 29px;
  align-self: center;
  max-width: 100%;
  min-height: 53px;
  font-size: 19px !important;
  transform: none;
}

body.uhb2026 .uhb-home-hero .uhb-home-hero__actions .uhb-button--primary {
  border: 2px solid #a9c131 !important;
  background: #a9c131 !important;
  color: #fff !important;
}

body.uhb2026 .uhb-home-hero .uhb-home-hero__actions .uhb-button--secondary {
  border: 2px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
}

body.uhb2026 .uhb-home-hero .uhb-home-hero__actions .uhb-button:is(:hover, :focus-visible) {
  border-color: #a9c131 !important;
  background: transparent !important;
  color: #a9c131 !important;
  box-shadow: none !important;
  transform: none;
}

body.uhb2026 .uhb-home-hero .uhb-home-hero__actions .uhb-button--primary:is(:hover, :focus-visible) {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--uhb-deep) !important;
}

body.uhb2026 .uhb-home-hero .uhb-home-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(2, 39, 35, 0.12) 0%,
    rgba(2, 39, 35, 0.22) 25%,
    rgba(2, 39, 35, 0.38) 50%,
    rgba(2, 39, 35, 0.48) 72%,
    rgba(2, 39, 35, 0.56) 100%
  );
}

body.uhb2026 .uhb-home-hero__content :is(h1, p) {
  text-shadow: none;
}

/* A short frosted dissolve; photographs settle sharp between transitions. */
body.uhb2026 .uhb-home-hero .uhb-home-hero__slide {
  animation: none;
  transform: scale(1.025);
  filter: blur(6px);
  transition: opacity 800ms ease, filter 900ms ease;
}

body.uhb2026 .uhb-home-hero .uhb-home-hero__slide.is-active {
  filter: blur(0);
}

/* Match the existing header overlay breakpoint. JS refines the actual top
   space, including the WordPress toolbar and Elementor wrapper geometry. */
@media (min-width: 1400px) and (hover: hover) {
  body.uhb2026 .uhb-home-hero { --uhb-home-top-space: 0px; }
}

@media (max-width: 900px) {
  body.uhb2026 .uhb-home-hero { --uhb-home-top-space: 61px; }
}

/* The homepage introduction is quieter than the hero; phone type is unchanged. */
@media (min-width: 681px) {
  body.uhb2026 .uhb-home-about__copy {
    --font-manifest: clamp(34px, 4vw, 60px);
  }
}

/* Desktop: Lang, Contact and Search read as one utility cluster. */
@media (min-width: 1400px) {
  /* Pixel-sized primary labels; utility and dropdown type is unchanged. */
  body.uhb2026 .uhb-nav {
    --font-navigation: 21px;
    gap: clamp(12px, 1.2vw, 24px);
  }

  body.uhb2026 .uhb-nav__top > a,
  body.uhb2026 .uhb-nav__item > a,
  body.uhb2026 .uhb-nav__item.has-children .uhb-nav__top > a {
    padding-inline: 6px;
  }

  body.uhb2026 .uhb-header__inner {
    --uhb-header-tool-size: 44px;
    --uhb-header-tool-gap: 12px;
    /* Center the compact menu between the logo and language switcher.
       Utilities retain their own compact spacing. */
    grid-template-columns: auto minmax(0, 1fr) auto var(--uhb-header-tool-size);
    column-gap: 0;
  }

  body.uhb2026 .uhb-header__inner > .uhb-drawer > .uhb-nav {
    grid-column: 2;
    justify-content: center;
  }

  body.uhb2026 .uhb-header__inner > .uhb-drawer > .uhb-header__actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-inline-end: var(--uhb-header-tool-gap);
  }

  body.uhb2026 .uhb-header__inner > .uhb-search-button {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    z-index: 2;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  body.uhb2026 .uhb-header__inner {
    width: min(1440px, calc(100% - 32px));
  }
}

/* Desktop dropdowns share the parent pill's surface and brand colour.
   The small-screen drawer keeps its existing inline disclosure behaviour. */
@media (min-width: 1400px) {
  body.uhb2026 .uhb-header {
    --uhb-nav-panel-solid: #fff;
    --uhb-nav-panel-glass: rgba(255, 255, 255, .9);
    --uhb-nav-panel-border: rgba(7, 87, 78, .12);
    --uhb-nav-panel-text: var(--uhb-deep, #07574e);
    --uhb-nav-hover-surface: rgba(7, 87, 78, .07);
  }

  body.uhb2026 .uhb-header.is-over-hero {
    --uhb-nav-panel-solid: #07574e;
    --uhb-nav-panel-glass: linear-gradient(180deg, rgba(3, 43, 39, .82), rgba(3, 43, 39, .74));
    --uhb-nav-panel-border: rgba(255, 255, 255, .2);
    --uhb-nav-panel-text: #fff;
    --uhb-nav-hover-surface: rgba(255, 255, 255, .14);
  }

  /* Extend only the highlight, not the menu's layout or label positions. */
  body.uhb2026 .uhb-header .uhb-nav__top {
    position: relative;
    isolation: isolate;
  }

  body.uhb2026 .uhb-header .uhb-nav__top::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -6px;
    border-radius: inherit;
    pointer-events: none;
    background: transparent;
    transition: background-color 160ms ease;
  }

  body.uhb2026 .uhb-header .uhb-nav__item:is(:hover, :focus-within) .uhb-nav__top,
  body.uhb2026 .uhb-header.is-over-hero .uhb-nav__item:is(:hover, :focus-within) .uhb-nav__top {
    background: transparent;
  }

  body.uhb2026 .uhb-header .uhb-nav__item:is(:hover, :focus-within) .uhb-nav__top::before {
    background: var(--uhb-nav-hover-surface);
  }

  body.uhb2026 .uhb-header .uhb-nav__item:is(:hover, :focus-within) .uhb-nav__top > a {
    color: var(--uhb-nav-panel-text) !important;
  }

  body.uhb2026 .uhb-header .uhb-nav__dropdown {
    background: var(--uhb-nav-panel-solid);
    border: 1px solid var(--uhb-nav-panel-border);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(3, 43, 39, .08);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }

  body.uhb2026 .uhb-header .uhb-nav__dropdown a {
    color: var(--uhb-nav-panel-text) !important;
    background: transparent;
    transition: background-color 160ms ease;
  }

  body.uhb2026 .uhb-header .uhb-nav__dropdown a:is(:hover, :focus-visible) {
    color: var(--uhb-nav-panel-text) !important;
    background: var(--uhb-nav-hover-surface);
  }

  body.uhb2026 .uhb-header .uhb-nav__dropdown a:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: -4px !important;
  }

  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body.uhb2026 .uhb-header .uhb-nav__dropdown {
      background: var(--uhb-nav-panel-glass);
    }
  }
}

@media (min-width: 681px) and (max-width: 1399px) {
  body.uhb2026 .uhb-home-hero h1 {
    font-size: clamp(60px, 7.2vw, 77px) !important;
    font-size: round(nearest, clamp(60px, 7.2vw, 77px), 1px) !important;
  }

  body.uhb2026 .uhb-home-hero__content > p {
    max-width: 58ch;
    font-size: 22px !important;
  }
}

@media (max-width: 680px) {
  body.uhb2026 .uhb-home-hero__content {
    padding-block: 38.4px 76.8px;
  }

  body.uhb2026 .uhb-home-hero h1 {
    max-width: 16ch;
    font-size: clamp(46px, 12.6vw, 55px) !important;
    font-size: round(nearest, clamp(46px, 12.6vw, 55px), 1px) !important;
  }

  body.uhb2026 .uhb-home-hero__content > p {
    max-width: 34ch;
    font-size: 19px !important;
  }

  body.uhb2026 .uhb-home-hero__actions { gap: 12px; }

  body.uhb2026 .uhb-home-hero .uhb-home-hero__actions > .uhb-button {
    --uhb-button-pad-inline: 14px;
    min-height: 44px;
    font-size: 16px !important;
  }
}

@media (max-width: 360px) {
  body.uhb2026 .uhb-home-hero .uhb-home-hero__actions > .uhb-button {
    --uhb-button-pad-inline: 8px;
  }
}

/* Keep the invitation to scroll visible on compact phones and in landscape.
   At larger text/zoom settings the section may still grow rather than clip. */
@media (max-width: 680px) and (max-height: 700px) {
  body.uhb2026 .uhb-home-hero__content { padding-block: 25.6px 64px; }
  body.uhb2026 .uhb-home-hero h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
    margin-bottom: 16px;
  }
  body.uhb2026 .uhb-home-hero__content > p {
    font-size: 17px !important;
    margin-bottom: 20px;
  }
}

@media (min-width: 681px) and (max-height: 500px) {
  body.uhb2026 .uhb-home-hero__content { padding-block: 22.4px 64px; }
  body.uhb2026 .uhb-home-hero h1 {
    font-size: 40px !important;
    max-width: 24ch;
    margin-bottom: 12px;
  }
  body.uhb2026 .uhb-home-hero__content > p {
    font-size: 18px !important;
    margin-bottom: 16px;
  }
}

/* Quiet desktop language utilities retain the header's light/dark colours.
 * Restore full visibility while interacting, including keyboard focus. */
@media (min-width: 1400px) {
  body.uhb2026 .uhb-header .uhb-language > :is(a, span) {
    opacity: 0.75;
    transition: opacity 160ms ease;
  }

  body.uhb2026 .uhb-header .uhb-language > a:is(:hover, :focus-visible) {
    opacity: 1;
  }
}

/* Match the drawer breakpoint, not the article/phone layout breakpoint.
 * The 44px submenu targets and their expanded-state rotation stay intact. */
@media (max-width: 1399px) {
  body.uhb2026 .uhb-header .uhb-language {
    --font-language: 20px;
    align-items: center;
    gap: 8px;
  }

  body.uhb2026 .uhb-header .uhb-language > :is(a, span) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    line-height: 1.2;
  }

  body.uhb2026 .uhb-header .uhb-nav__submenu-toggle .uhb-nav__chevron {
    width: 12px;
    height: 12px;
    border-right-width: 2px;
    border-bottom-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.uhb2026 .uhb-home-hero__scroll .uhb-icon {
    animation: none;
  }

  body.uhb2026 .uhb-home-hero .uhb-home-hero__slide {
    animation: none !important;
    transition: none !important;
    filter: none;
    transform: none;
  }
}

/* Account shortcut exists only in an authenticated server-rendered header.
 * Guests keep the original search slot and layout. */
body.uhb2026 .uhb-header-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

body.uhb2026 .uhb-header-tools > .uhb-icon-button {
  position: relative;
  display: inline-flex !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  transition: background-color 160ms ease;
}

body.uhb2026 .uhb-header-tools > .uhb-icon-button:is(:hover, :focus-visible) {
  background: rgba(7, 87, 78, .07) !important;
}

body.uhb2026 .uhb-header.is-over-hero .uhb-header-tools > .uhb-icon-button:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, .12) !important;
}

body.uhb2026 .uhb-header-tools > .uhb-icon-button:focus-visible {
  outline: 1px solid currentColor !important;
  outline-offset: 2px;
}

body.uhb2026 .uhb-account-button > svg {
  display: block;
  width: 20.4px;
  height: 20.4px;
}

body.uhb2026 .uhb-account-tooltip {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 150ms ease, transform 150ms ease;
  padding: 7px 11px;
  border: 1px solid rgba(7, 87, 78, .09);
  border-radius: 9px;
  background: #fff;
  color: #07574e;
  font: 400 13px/1.2 Archivo, Arial, sans-serif;
  white-space: nowrap;
  box-shadow: 0 3px 18px rgba(0, 56, 45, .07);
}

body.uhb2026 .uhb-account-button:is(:hover, :focus-visible) > .uhb-account-tooltip {
  opacity: 1;
  transform: none;
}

@media (min-width: 1400px) {
  body.uhb2026 .uhb-header:has(.uhb-header-tools) .uhb-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  body.uhb2026 .uhb-header__inner > .uhb-header-tools {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }
}

@media (min-width: 1101px) and (max-width: 1399px) {
  body.uhb2026 .uhb-header__inner > .uhb-header-tools {
    grid-column: 5;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  body.uhb2026 .uhb-header:has(.uhb-header-tools) .uhb-header__inner { gap: 4px; }
  body.uhb2026 .uhb-header:has(.uhb-header-tools) .uhb-header__inner > .uhb-brand {
    min-width: 0 !important;
    flex: 0 1 184px !important;
    margin-right: auto !important;
  }
  body.uhb2026 .uhb-header:has(.uhb-header-tools) .uhb-brand > img { max-width: 100%; }
  body.uhb2026 .uhb-header-tools { margin-left: 0; }
}

@media (max-width: 380px) {
  body.uhb2026 .uhb-header:has(.uhb-header-tools) .uhb-header__inner {
    width: calc(100% - 24px);
    gap: 2px;
  }
  body.uhb2026 .uhb-header:has(.uhb-header-tools) .uhb-header__inner > .uhb-brand {
    max-width: 146px !important;
  }
  body.uhb2026 .uhb-header-tools { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.uhb2026 :is(.uhb-account-tooltip, .uhb-header-tools > .uhb-icon-button) { transition: none; }
}

/* FACEM LOC campaign strip below the shared header. */
@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/geologica/v5/oY1l8evIr7j9P3TN9YwNAdyjzUyDKkKdAGOJh1UlCDUIhAIdhCZOn1fLsig7jfvCCPHZckUWHVlELWNN-8tr.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/geologica/v5/oY1l8evIr7j9P3TN9YwNAdyjzUyDKkKdAGOJh1UlCDUIhAIdhCZOn1fLsig7jfvCCPHZckUWE1lELWNN-w.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@media (min-width: 1400px) and (hover: hover) {
  body.uhb2026:has(> #uhb-home-vote:not([hidden])) {
    padding-top: var(--uhb-header-rest-height) !important;
  }
}

.uhb-home-vote {
  --uhb-vote-paper: #f6f5ed;
  --uhb-vote-ink: #2c2c2b;
  background: #d85a30;
  font: 600 clamp(19px, 1.55vw, 24px)/1.2 Geologica, Arial, sans-serif;
}
.uhb-home-vote[hidden] { display: none; }
body.uhb2026 .uhb-home-vote > a {
  display: block;
  overflow: hidden;
  color: #fff;
  font: inherit;
  text-decoration: none;
  touch-action: manipulation;
}
body.uhb2026 .uhb-home-vote > a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
.uhb-home-vote__action {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid var(--uhb-vote-paper);
  background: var(--uhb-vote-paper);
  color: var(--uhb-vote-ink);
  font-size: clamp(16px, 1.6vw, 23px);
  line-height: 1.25;
}
.uhb-home-vote__action strong { color: inherit; font-weight: 700; white-space: nowrap; }
.uhb-home-vote > a:is(:hover, :focus-visible) .uhb-home-vote__action {
  border-color: #f1b08f;
  background: #f1b08f;
}
.uhb-home-vote__mobile, .uhb-home-vote__marquee { display: none; }
.uhb-home-vote__static, .uhb-home-vote__item {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  min-block-size: 66px;
  padding: 8px clamp(24px, 3.5vw, 54px) 8px 16px;
}
.uhb-home-vote__track, .uhb-home-vote__cycle { display: flex; inline-size: max-content; }
.uhb-home-vote__cycle { flex: none; min-inline-size: 100vw; justify-content: space-around; }
.uhb-home-vote__item { flex: none; white-space: nowrap; }

@keyframes uhb-home-vote-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .uhb-home-vote__static { display: none; }
  .uhb-home-vote__marquee { display: block; }
  .uhb-home-vote__track { animation: uhb-home-vote-scroll 50s linear infinite; }
}

@media (max-width: 680px) {
  .uhb-home-vote__static, .uhb-home-vote__item { min-block-size: 0; }
  .uhb-home-vote__static > .uhb-home-vote__action,
  .uhb-home-vote__item > .uhb-home-vote__action { display: none; }
  .uhb-home-vote__item { padding: 8px 36px 6px 16px; }
  .uhb-home-vote__static {
    justify-content: center;
    padding: 8px 12px 6px;
    text-align: center;
  }
  .uhb-home-vote__context { font-size: 14px; }
  .uhb-home-vote__mobile {
    display: grid;
    justify-items: center;
    padding: 0 12px 10px;
  }
  .uhb-home-vote__mobile .uhb-home-vote__action {
    min-block-size: 44px;
    padding: 11px 9px;
    text-align: center;
  }
}
/*
 * UrbanizeHub 2026 — v108 compact six-column content groups.
 * Four-item homepage groups use two items per row while preserving the
 * established 6 / 4 / 2 responsive grid contract.
 */

body.uhb2026 .uhb-home-values {
  padding-block: clamp(52px, 5vw, 72px);
}

body.uhb2026 .uhb-home-values .uhb-section-heading {
  margin-bottom: clamp(22px, 2.4vw, 34px);
}

body.uhb2026 .uhb-home-values__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.1vw, 18px) var(--uhb-layout-gap);
}

body.uhb2026 .uhb-home-values__grid > div:nth-child(n) {
  grid-column: span 3;
  min-height: 176px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: clamp(18px, 2vw, 30px);
  align-items: start;
  padding: clamp(18px, 1.6vw, 24px);
}

body.uhb2026 .uhb-home-values__grid > div > img {
  width: 100%;
  height: auto;
  max-height: 240px;
  grid-row: 1 / 3;
  align-self: center;
  object-fit: contain;
  object-position: center;
  margin: 0;
}

body.uhb2026 .uhb-home-values__grid h3 {
  align-self: end;
  margin: 0 0 8px;
  font-size: 46px;
  line-height: 1.08;
  overflow-wrap: anywhere;
  hyphens: auto;
  word-break: normal;
}

/* Title colours follow the original illustration SVG fills. */
body.uhb2026 .uhb-home-values__grid > div:nth-child(1) h3 { color: #4288cf; }
body.uhb2026 .uhb-home-values__grid > div:nth-child(2) h3 { color: #c49b00; }
body.uhb2026 .uhb-home-values__grid > div:nth-child(3) h3 { color: #e94f2c; }
body.uhb2026 .uhb-home-values__grid > div:nth-child(4) h3 { color: #8da51f; }

/* Give the longest single-word value title priority over the illustration. */
@media (min-width: 1101px) {
  body.uhb2026 .uhb-home-values__grid > div:nth-child(4) {
    grid-template-columns: minmax(0, 1fr) minmax(min-content, 2fr);
  }
  body.uhb2026 .uhb-home-values__grid > div:nth-child(4) h3 {
    white-space: nowrap;
    hyphens: none;
    overflow-wrap: normal;
  }
}

body.uhb2026 .uhb-home-values__grid p {
  max-width: 42ch;
  margin: 0;
}

body.uhb2026 .uhb-home-impact__heading {
  padding-top: clamp(44px, 4vw, 62px);
  margin-bottom: clamp(18px, 1.8vw, 26px);
}

/* Impact figures keep the lime surface and use an all-white hierarchy. */
body.uhb2026 .uhb-impact,
body.uhb2026 .uhb-home-impact__heading :is(h2, p),
body.uhb2026 .uhb-impact__grid > a,
body.uhb2026 .uhb-impact__grid > a :is(strong, span) {
  color: #fff !important;
}

body.uhb2026 .uhb-impact {
  --uhb-impact-copy-size: 18px;
}

body.uhb2026 .uhb-impact__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px var(--uhb-layout-gap);
  padding-bottom: clamp(38px, 3.8vw, 56px);
}

body.uhb2026 .uhb-impact__grid > a:nth-child(n) {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-width: 0;
  align-items: center;
  column-gap: 24px;
  min-height: 140px;
  padding: 16px;
  border-radius: 12px;
}

body.uhb2026 .uhb-impact__grid > a > strong {
  margin: 0;
  font-size: calc(var(--uhb-impact-copy-size) * 6);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

body.uhb2026 .uhb-impact__grid > a > span {
  min-width: 0;
  max-width: none;
  font-size: var(--uhb-impact-copy-size);
  line-height: 1.4;
  text-align: left;
}

/* The visible archive begins with content; its purpose remains in the section
   aria-label. Category actions sit directly after the three preview cards. */
body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__more {
  margin-top: 4px;
}

@media (min-width: 681px) and (max-width: 1100px) {
  body.uhb2026 .uhb-home-values__grid,
  body.uhb2026 .uhb-impact__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.uhb2026 .uhb-home-values__grid > div:nth-child(n),
  body.uhb2026 .uhb-impact__grid > a:nth-child(n) {
    grid-column: span 2;
  }

  body.uhb2026 .uhb-home-values__grid > div:nth-child(n) {
    min-height: 164px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    padding: 18px;
  }

  body.uhb2026 .uhb-impact__grid > a:nth-child(n) {
    grid-column: 1 / -1;
  }
}

/* Full descriptions need room beside the artwork on narrower tablets. */
@media (min-width: 681px) and (max-width: 900px) {
  body.uhb2026 .uhb-home-values__grid > div:nth-child(n) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body.uhb2026 .uhb-home-values {
    padding-block: 48px;
  }

  body.uhb2026 .uhb-home-values .uhb-section-heading {
    margin-bottom: 20px;
  }

  body.uhb2026 .uhb-home-values__grid,
  body.uhb2026 .uhb-impact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.uhb2026 .uhb-home-values__grid > div:nth-child(n),
  body.uhb2026 .uhb-impact__grid > a:nth-child(n) {
    grid-column: span 1;
  }

  body.uhb2026 .uhb-home-values__grid > div:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 24px;
  }

  body.uhb2026 .uhb-home-values__grid > div > img {
    width: min(100%, 220px);
    height: auto;
    max-height: 160px;
    margin: 0 auto 20px;
  }

  body.uhb2026 .uhb-home-values__grid h3 {
    align-self: stretch;
    font-size: 34px;
  }

  body.uhb2026 .uhb-home-values__grid p {
    max-width: none;
    font-size: 17px;
    line-height: 1.45;
  }

  body.uhb2026 .uhb-impact__grid {
    gap: 12px 14px;
    padding-bottom: 38px;
  }

  body.uhb2026 .uhb-impact {
    --uhb-impact-copy-size: 16px;
  }

  body.uhb2026 .uhb-impact__grid > a:nth-child(n) {
    grid-column: 1 / -1;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 16px;
    min-height: 80px;
    padding: 12px;
  }
}

/* Keep the doubled numbers at full size on narrow phones. */
@media (max-width: 480px) {
  body.uhb2026 .uhb-impact__grid > a:nth-child(n) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }
}

/* Homepage values: four equal desktop tracks, keeping each illustration
   next to its own copy and the existing reading order on smaller screens. */
body.uhb2026 .uhb-main.uhb-home .uhb-home-values__grid h3 {
  font-size: 35px;
  line-height: 1.1;
  white-space: normal;
  hyphens: auto;
  overflow-wrap: anywhere;
}

body.uhb2026 .uhb-main.uhb-home .uhb-home-values__grid p {
  font-size: 17px;
  line-height: 1.3;
}

@media (min-width: 901px) {
  body.uhb2026 .uhb-main.uhb-home .uhb-home-values__grid {
    --uhb-values-column-gap: var(--uhb-layout-gap);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--uhb-values-column-gap);
  }

  body.uhb2026 .uhb-main.uhb-home .uhb-home-values__grid > div:nth-child(n) {
    grid-column: span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--uhb-values-column-gap);
    padding-inline: 0;
  }
}
/*
 * UrbanizeHub 2026 — v109 article archive controls.
 * Full-width topic navigation without a visible sorting selector.
 */

body.uhb2026 .uhb-article-controls {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 6px 20px;
}

body.uhb2026 .uhb-article-category-view__content > .uhb-article-controls {
  margin-block: 0 24px;
}

/* The final navigation card matches the homepage's large outlined capsule,
   while occupying exactly the same 16:9 frame as an article thumbnail. */
body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__grid > .uhb-article-category-section__more {
  display: flex;
  grid-column: auto;
  align-self: start;
  justify-self: stretch;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid var(--uhb-deep) !important;
  border-radius: var(--uhb-button-round, 999px) !important;
  background: #fff !important;
  color: var(--uhb-deep) !important;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__more > .uhb-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

/* Homepage uses the same action treatment, retaining its approved 12px shape. */
body.uhb2026 .uhb-main.uhb-home .uhb-latest__all {
  border: 1px solid var(--uhb-deep) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--uhb-deep) !important;
  text-decoration: none !important;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.uhb2026 .uhb-main.uhb-home .uhb-latest__all:is(:hover, :focus-visible),
body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__grid > .uhb-article-category-section__more:is(:hover, :focus-visible) {
  background: rgba(232, 235, 237, .72) !important;
  color: var(--uhb-deep) !important;
  border-color: rgba(7, 87, 78, .24) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

body.uhb2026 .uhb-article-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 18px;
}

body.uhb2026 .uhb-article-pagination[hidden],
body.uhb2026 .uhb-article-pagination a[hidden] {
  display: none !important;
}

body.uhb2026 .uhb-article-controls .uhb-article-filters {
  width: 100%;
  justify-content: flex-start;
  gap: clamp(20px, 2vw, 32px);
  scrollbar-width: none;
}

body.uhb2026 .uhb-article-controls .uhb-article-filters::-webkit-scrollbar {
  display: none;
}

body.uhb2026 .uhb-article-controls .uhb-article-filters > a {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-navigation, 14.4px);
  line-height: 1.2;
  white-space: nowrap;
}

body.uhb2026 .uhb-article-controls__scroll-cue {
  display: none !important;
}

@media (min-width: 681px) and (max-width: 1100px) {
  body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__grid > .uhb-article-category-section__more {
    padding-inline: 10px !important;
    font-size: 18px !important;
    gap: 10px;
  }
}

@media (max-width: 680px) {
  /* The category previews follow the phone grid; the main article stream
     keeps its independent horizontal browsing behaviour. */
  body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__grid {
    display: grid;
    width: 100%;
    margin-right: 0;
    padding: 0;
    overflow: visible;
  }

  body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__grid > .uhb-article-tile {
    width: 100%;
    min-width: 0;
  }

  body.uhb2026 .uhb-editorial-listing .uhb-article-category-section__grid > .uhb-article-category-section__more {
    grid-column: 1 / -1;
  }

  body.uhb2026 .uhb-article-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 6px 12px;
  }

  body.uhb2026 .uhb-article-controls .uhb-article-filters {
    gap: 20px;
  }

  body.uhb2026 .uhb-article-controls .uhb-article-filters > a {
    font-size: var(--font-caption, 13px);
  }
}
/* A single compact competency selector, with linked evidence underneath. */
body.uhb2026 .uhb-competencies-selector {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2vw, 32px);
  overflow-x: auto;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
}
body.uhb2026 .uhb-competencies-selector button {
  flex: 1 0 auto;
  max-width: none;
  white-space: normal;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--uhb-deep);
  font: inherit;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
}
body.uhb2026 .uhb-competencies-selector button[aria-expanded="true"] {
  border-bottom-color: #a9c131;
}
body.uhb2026 .uhb-competencies-selector button:focus-visible {
  outline: 2px solid var(--uhb-deep);
  outline-offset: 3px;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency[hidden] { display: none; }
body.uhb2026 .uhb-competencies--compact .uhb-competency {
  padding-block: 24px 36px;
  border: 0;
  background: transparent;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency > .uhb-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) !important;
  gap: 32px;
  align-items: start;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency__intro {
  grid-column: 1 !important;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency__intro h2 {
  font-size: 24px !important;
  margin-bottom: 12px;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency__intro p {
  font-size: 18px;
  line-height: 1.5;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency__process { display: none; }
body.uhb2026 .uhb-competencies--compact .uhb-competency__projects {
  grid-column: 2 !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency-project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--uhb-pale, #f8f5f6);
}
body.uhb2026 .uhb-competencies--compact .uhb-competency-project img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
body.uhb2026 .uhb-competencies--compact .uhb-competency-project h3 {
  font-size: 22px !important;
  line-height: 1.2;
  margin: 8px 0;
}
@media (max-width: 900px) {
  body.uhb2026 .uhb-competencies--compact .uhb-competency > .uhb-shell { grid-template-columns: minmax(0, 1fr) !important; gap: 16px; }
  body.uhb2026 .uhb-competencies--compact .uhb-competency__projects { grid-column: 1 !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  body.uhb2026 .uhb-competencies--compact .uhb-competency__projects { grid-template-columns: minmax(0, 1fr); }
}

/* Hub, Programmes, Competencies and Resources opt into UrbanVision's visible height and copy rhythm. */
body.uhb2026 .uhb-hub-hero.uhb-hero--urbanlab-scale.uhb-hero--compact-index {
  min-height: 426px;
  align-items: flex-end;
}
body.uhb2026 .uhb-hub-hero.uhb-hero--urbanlab-scale.uhb-hero--compact-index .uhb-hub-hero__content {
  padding-top: 74px;
  padding-bottom: clamp(54px, 6vw, 82px);
}
body.uhb2026 .uhb-hub-hero.uhb-hero--urbanlab-scale.uhb-hero--compact-index .uhb-hub-hero__content > h1 {
  margin-bottom: clamp(20px, 2vw, 32px);
}
/* Only this desktop mode overlays the 56px header; other modes already reserve it in body padding. */
@media (min-width: 1400px) and (hover: hover) {
  body.uhb2026 .uhb-hub-hero.has-media.uhb-hero--urbanlab-scale.uhb-hero--compact-index {
    box-sizing: border-box;
    min-height: calc(426px + 56px);
    padding-top: 56px;
  }
}
@media (min-width: 681px) and (max-width: 1399px) {
  body.uhb2026 .uhb-hub-hero.uhb-hero--urbanlab-scale.uhb-hero--compact-index { min-height: 387px; }
}
@media (max-width: 680px) {
  body.uhb2026 .uhb-hub-hero.uhb-hero--urbanlab-scale.uhb-hero--compact-index { min-height: 288px; }
  body.uhb2026 .uhb-hub-hero.uhb-hero--urbanlab-scale.uhb-hero--compact-index .uhb-hub-hero__content {
    padding-top: 42px;
    padding-bottom: 40.5px;
  }
}

/* Programme index: generous photographic accordion, isolated from related cards. */
body.uhb2026 .uhb-program-panels {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
body.uhb2026 .uhb-program-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  min-height: 580px;
  padding: 28px 24px 88px;
  border-radius: 12px;
  color: #fff;
  background: var(--uhb-program-color, #07574e);
  transition: flex-grow 650ms cubic-bezier(.22, 1, .36, 1);
}
body.uhb2026 .uhb-program-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.08) 45%, rgba(0,0,0,.6));
}
body.uhb2026 .uhb-program-panel__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.uhb2026 .uhb-program-panel__heading {
  margin: 0;
  font-size: clamp(25px, 2.1vw, 38px);
  line-height: 1.12;
  color: #fff;
}
body.uhb2026 .uhb-program-panel__toggle {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
body.uhb2026 .uhb-program-panel__copy {
  margin-top: 16px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(20,28,25,.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body.uhb2026 .uhb-program-panel__copy p {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 20px;
}
body.uhb2026 .uhb-program-panel__copy a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
body.uhb2026 .uhb-program-panel__symbol {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
}
body.uhb2026 .uhb-program-panel__symbol img {
  position: static;
  display: block;
  width: 52px !important;
  height: 52px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(0,0,0,.35));
}
body.uhb2026 .uhb-program-panel.is-talks .uhb-program-panel__symbol {
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
}
body.uhb2026 .uhb-program-panel:is(.is-talks, .is-lab, .is-sasaus) .uhb-program-panel__symbol img { filter: none; }
body.uhb2026 .uhb-program-panels.is-enhanced .uhb-program-panel.is-active {
  flex-grow: 2.4;
}
body.uhb2026 .uhb-program-panels.is-enhanced .uhb-program-panel:not(.is-active) .uhb-program-panel__toggle {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
body.uhb2026 .uhb-program-panel :is(button, a):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
body.uhb2026 .uhb-program-panel__copy[hidden] { display: none; }
@media (max-width: 900px) {
  body.uhb2026 .uhb-program-panels { flex-direction: column; gap: 12px; }
  body.uhb2026 .uhb-program-panel { min-height: 400px; }
  body.uhb2026 .uhb-program-panels.is-enhanced .uhb-program-panel:not(.is-active) {
    min-height: 100px;
    padding: 20px 72px 20px 20px;
  }
  body.uhb2026 .uhb-program-panels.is-enhanced .uhb-program-panel:not(.is-active) .uhb-program-panel__toggle {
    writing-mode: horizontal-tb;
  }
  body.uhb2026 .uhb-program-panel__symbol { left: auto; right: 20px; bottom: 20px; width: 40px; height: 40px; }
  body.uhb2026 .uhb-program-panel__heading { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  body.uhb2026 .uhb-program-panel { transition: none; }
}

/* Project video chapters: editorial titles stay above the image. */
body.uhb2026 .uhb-project-videos {
  padding-block: clamp(28px, 3vw, 48px);
}
body.uhb2026 .uhb-project-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px var(--uhb-layout-gap, 28px);
}
body.uhb2026 .uhb-project-video { min-width: 0; }
body.uhb2026 .uhb-project-video:only-child { grid-column: 1 / -1; }
body.uhb2026 .uhb-project-video h3 {
  margin: 0 0 20px;
  color: var(--uhb-deep, #07574e);
  font-size: 35px;
  line-height: 1.15;
}
body.uhb2026 .uhb-project-video p {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.45;
}
body.uhb2026 .uhb-project-video__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #07574e;
}
body.uhb2026 .uhb-project-video__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.uhb2026 .uhb-project-video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #07574e;
  color: #fff;
  font-size: 26px;
}
body.uhb2026 .uhb-project-video__media:focus-visible {
  outline: 3px solid #07574e;
  outline-offset: 5px;
}
@media (max-width: 680px) {
  body.uhb2026 .uhb-project-videos__grid { grid-template-columns: minmax(0, 1fr); }
  body.uhb2026 .uhb-project-video h3 { font-size: 28px; }
  body.uhb2026 .uhb-project-video p { font-size: 18px; }
}

/* Programme discovery follows the established 6 / 4 / 2-column foundation. */
body.uhb2026 :is(.uhb-program-discovery, .uhb-program-articles, .uhb-editorial-continuation) {
  padding-block: clamp(40px, 4vw, 64px);
}

/* The archive-to-discovery transition needs one gap, not three stacked gaps.
   last-of-type ignores the show-more button and live region added by JS. */
body.uhb2026 .uhb-editorial-listing > .uhb-article-category-sections,
body.uhb2026 .uhb-editorial-listing > .uhb-article-category-sections > .uhb-shell > .uhb-article-category-section:last-of-type {
  padding-bottom: 0;
}

/* Halve only the single article's Latest -> From ideas to practice gap.
   Keep discovery/card interiors and pages without this continuation intact. */
body.uhb2026:is(.single-post, .uhb-editorial-article) .uhb-single > .uhb-article:has(+ .uhb-editorial-continuation) > .uhb-article-recommendations {
  padding-bottom: 52px;
}

body.uhb2026:is(.single-post, .uhb-editorial-article) .uhb-single > .uhb-article:has(> .uhb-article-recommendations) + .uhb-editorial-continuation {
  padding-top: clamp(20px, 2vw, 32px);
}

@media (max-width: 680px) {
  /* Preserve the rail's 8px bottom padding: 8 + 32 + 20 = 60px,
     half of the previous visible 8 + 72 + 40 = 120px gap. */
  body.uhb2026:is(.single-post, .uhb-editorial-article) .uhb-single > .uhb-article:has(+ .uhb-editorial-continuation) > .uhb-article-recommendations {
    padding-bottom: 32px;
  }
}

body.uhb2026 .uhb-program-discovery--index {
  padding-top: clamp(32px, 3vw, 48px);
}

body.uhb2026 :is(.uhb-program-discovery__grid, .uhb-program-articles__grid) {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--uhb-layout-gap, 28px);
}

body.uhb2026 .uhb-discovery-card {
  grid-column: span 3;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--uhb-pale, #FAF5F7);
  color: var(--uhb-deep, #07574e);
  text-decoration: none;
}

body.uhb2026 .uhb-program-discovery--related .uhb-discovery-card {
  grid-column: span 2;
}

body.uhb2026 .uhb-discovery-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
}

/* The same frosted dissolve as the homepage hero, with a static no-JS cover. */
body.uhb2026 .uhb-discovery-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.025);
  filter: blur(6px);
  transition: opacity 800ms ease, filter 900ms ease;
  pointer-events: none;
}

body.uhb2026 .uhb-discovery-slide.is-active {
  opacity: 1;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  body.uhb2026 .uhb-discovery-slide {
    transition: none;
    filter: none;
    transform: none;
  }
}

body.uhb2026 .uhb-discovery-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

body.uhb2026 .uhb-discovery-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2vw, 32px);
}

body.uhb2026 .uhb-discovery-card__copy p {
  max-width: 60ch;
  margin: 0;
  color: var(--uhb-ink, #222);
  font-size: var(--font-body, 16px);
  line-height: var(--line-body, 1.38);
}

body.uhb2026 .uhb-discovery-card__title {
  margin: 0;
  color: inherit;
  font-size: var(--font-section-title, 28px);
  font-weight: var(--weight-title, 620);
  line-height: var(--line-display, 1.1);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.uhb2026 .uhb-discovery-card__language {
  color: var(--uhb-ink, #222);
  font-size: var(--font-caption, 14px);
}

body.uhb2026 .uhb-program-discovery--index .uhb-discovery-card__title {
  font-size: var(--font-service-title, 48px);
}

body.uhb2026 .uhb-discovery-card:is(:hover, :focus-visible) .uhb-discovery-card__title,
body.uhb2026 .uhb-program-article:is(:hover, :focus-visible) h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

body.uhb2026 :is(.uhb-discovery-card, .uhb-program-article):focus-visible {
  outline: 2px solid var(--uhb-deep, #07574e);
  outline-offset: 4px;
}

body.uhb2026 .uhb-discovery-heading {
  margin: 0 0 24px;
  color: var(--uhb-deep, #07574e);
  font-size: var(--font-section-title, 28px);
  font-weight: var(--weight-section, 700);
  line-height: var(--line-display, 1.1);
}

body.uhb2026 .uhb-discovery-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

body.uhb2026 .uhb-discovery-section-heading .uhb-discovery-heading {
  margin: 0;
}

body.uhb2026 .uhb-program-article {
  grid-column: span 3;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: 20px;
  color: var(--uhb-deep, #07574e);
  text-decoration: none;
}

body.uhb2026 .uhb-program-article > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: var(--uhb-media-radius, 3px);
  object-fit: cover;
}

body.uhb2026 .uhb-program-article--text {
  grid-template-columns: minmax(0, 1fr);
}

body.uhb2026 .uhb-program-article__program {
  display: block;
  margin-bottom: 8px;
  color: var(--uhb-ink, #222);
  font-size: var(--font-caption, 14px);
  line-height: var(--line-body, 1.38);
}

body.uhb2026 .uhb-program-article h3 {
  margin: 0;
  color: inherit;
  font-size: var(--font-card-title, 20px);
  font-weight: var(--weight-title, 620);
  line-height: var(--line-body, 1.38);
  overflow-wrap: normal;
  word-break: normal;
}

/* Continuation is intentionally compact compared with the programme index. */
body.uhb2026 .uhb-editorial-continuation .uhb-discovery-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
}

body.uhb2026 .uhb-editorial-continuation .uhb-discovery-card__media {
  height: 100%;
  min-height: 160px;
  aspect-ratio: auto;
}

body.uhb2026 .uhb-editorial-continuation .uhb-discovery-card__title {
  font-size: var(--font-card-title, 20px);
}

/* Three equal destinations at the end of the publications library. */
body.uhb2026 .uhb-editorial-continuation--publications .uhb-discovery-card {
  grid-column: span 2;
  display: flex;
  align-items: stretch;
}

body.uhb2026 .uhb-editorial-continuation--publications .uhb-discovery-card__media {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

body.uhb2026 .uhb-editorial-continuation--publications .uhb-discovery-card__copy {
  justify-content: space-between;
}

@media (min-width: 681px) and (max-width: 1399px) {
  body.uhb2026 :is(.uhb-program-discovery__grid, .uhb-program-articles__grid) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.uhb2026 :is(.uhb-discovery-card, .uhb-program-article) {
    grid-column: span 2;
  }

  body.uhb2026 .uhb-editorial-continuation .uhb-discovery-card {
    display: flex;
  }

  body.uhb2026 .uhb-editorial-continuation .uhb-discovery-card__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  body.uhb2026 :is(.uhb-program-discovery__grid, .uhb-program-articles__grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  body.uhb2026 :is(.uhb-discovery-card, .uhb-program-article) {
    grid-column: 1 / -1;
  }

  body.uhb2026 .uhb-program-discovery--related .uhb-discovery-card {
    grid-column: 1 / -1;
  }

  body.uhb2026 .uhb-editorial-continuation--publications .uhb-discovery-card {
    grid-column: 1 / -1;
  }

  body.uhb2026 .uhb-discovery-card__title {
    font-size: 24px;
  }

  body.uhb2026 .uhb-program-discovery--index .uhb-discovery-card__title {
    font-size: var(--font-section-title, 28px);
  }

  body.uhb2026 .uhb-program-article {
    gap: 16px;
  }

  body.uhb2026 .uhb-editorial-continuation .uhb-discovery-card {
    display: flex;
  }

  body.uhb2026 .uhb-editorial-continuation .uhb-discovery-card__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}
/* User-supplied shapes. Media overrides remain independent of color and size. */
body.uhb2026 .uhb-icon--next,
body.uhb2026 .uhb-icon--arrow,
body.uhb2026 .uhb-inline-arrow {
  -webkit-mask-image: var(--uhb-icon-next, url("../icons/uhb-next-arrow-icon-stroke.svg"));
  mask-image: var(--uhb-icon-next, url("../icons/uhb-next-arrow-icon-stroke.svg"));
}

body.uhb2026 .uhb-icon--back,
body.uhb2026 .uhb-inline-arrow--back {
  -webkit-mask-image: var(--uhb-icon-back, url("../icons/uhb-back-arrow-icon-stroke.svg"));
  mask-image: var(--uhb-icon-back, url("../icons/uhb-back-arrow-icon-stroke.svg"));
  transform: none;
}

body.uhb2026 .uhb-icon--download,
body.uhb2026 .uhb-inline-arrow--download {
  -webkit-mask-image: var(--uhb-icon-download, url("../icons/uhb-download-icon-stroke.svg"));
  mask-image: var(--uhb-icon-download, url("../icons/uhb-download-icon-stroke.svg"));
}

body.uhb2026 .uhb-icon--search {
  -webkit-mask-image: var(--uhb-icon-search, url("../icons/uhb-search-icon-stroke.svg"));
  mask-image: var(--uhb-icon-search, url("../icons/uhb-search-icon-stroke.svg"));
}

/* One downward shape, separate from next-page and download semantics. */
body.uhb2026 .uhb-icon--down,
body.uhb2026 .uhb-inline-arrow--down,
body.uhb2026 .uhb-nav__chevron {
  -webkit-mask: var(--uhb-icon-down, url("../icons/uhb-down-arrow-icon-stroke.svg")) center / contain no-repeat;
  mask: var(--uhb-icon-down, url("../icons/uhb-down-arrow-icon-stroke.svg")) center / contain no-repeat;
}

body.uhb2026 .uhb-nav__chevron {
  width: 12px;
  height: 13px;
  background: currentColor;
  border: 0;
  transform: none;
}

body.uhb2026 .uhb-header .uhb-nav__submenu-toggle .uhb-nav__chevron {
  border: 0;
}

body.uhb2026 .uhb-nav__submenu-toggle[aria-expanded="true"] .uhb-nav__chevron {
  transform: rotate(180deg);
}

/* Keep project arrows on their existing label pseudo-element, not twice. */
body.uhb2026 select:not([multiple]):not([size]):where(:not([data-uhb-project-category]):not([data-uhb-project-city]):not([data-uhb-project-progress-select])) {
  appearance: none;
  background-image: var(--uhb-icon-down, url("../icons/uhb-down-arrow-icon-stroke.svg")) !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 13px !important;
  padding-inline-end: 38px !important;
}

body.uhb2026 .uhb-search-button > .uhb-icon--search {
  /* 15% smaller at every breakpoint; the button's touch target is unchanged. */
  width: 20.4px;
  height: 20.4px;
}

body.uhb2026 .uhb-icon--close {
  -webkit-mask-image: var(--uhb-icon-close, url("../icons/uhb-close-icon-stroke.svg"));
  mask-image: var(--uhb-icon-close, url("../icons/uhb-close-icon-stroke.svg"));
}

body.uhb2026 :is(.uhb-search__close, .uhb-drawer__close, [data-uhb-lightbox-close]) {
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0 !important;
}

body.uhb2026 :is(.uhb-search__close, [data-uhb-lightbox-close]) {
  display: flex;
}

body.uhb2026 :is(.uhb-search__close, .uhb-drawer__close, [data-uhb-lightbox-close]) > .uhb-icon--close {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

/* These decorative hints are retired; horizontal scrolling itself is intact. */
body.uhb2026 :is(.uhb-scroll-hint, .uhb-icon--horizontal-scroll, .uhb-inline-arrow--bidirectional, .uhb-icon--rotate-left, .uhb-icon--rotate-right, .uhb-inline-arrow--round-left, .uhb-inline-arrow--round-right) {
  display: none !important;
}

body.uhb2026 .uhb-impact__grid > a > span:last-child::after {
  content: "";
  display: inline-block;
  width: .84em;
  height: .8em;
  margin-inline-start: .24em;
  vertical-align: -.06em;
  background: currentColor;
  -webkit-mask: var(--uhb-icon-next, url("../icons/uhb-next-arrow-icon-stroke.svg")) center / contain no-repeat;
  mask: var(--uhb-icon-next, url("../icons/uhb-next-arrow-icon-stroke.svg")) center / contain no-repeat;
}

body.uhb2026 .uhb-search form button::after {
  content: none;
}
/* Category headings follow the page canvas; logo bands span the full section. */
body.uhb2026 .uhb-partner-rows {
  display: grid;
  gap: 36px;
}

body.uhb2026 .uhb-partner-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

body.uhb2026 .uhb-partner-row .uhb-partner-row__title {
  min-width: 0;
  margin: 0;
  color: var(--uhb-deep);
  font-size: var(--font-card-title, 20px);
  font-weight: var(--weight-title, 620);
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

body.uhb2026 .uhb-partner-loop {
  --uhb-partners-visible: 6;
  --uhb-partner-original-inset: 24px;
  --uhb-partner-edge: clamp(32px, 6vw, 104px);
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--uhb-partner-edge), #000 calc(100% - var(--uhb-partner-edge)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--uhb-partner-edge), #000 calc(100% - var(--uhb-partner-edge)), transparent);
}

/* Blur tapers towards the centre; the outer mask fades logos into the surface.
   These decorative layers must never intercept scrolling or partner links. */
body.uhb2026 .uhb-partner-loop::before,
body.uhb2026 .uhb-partner-loop::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block: 0;
  width: var(--uhb-partner-edge);
  pointer-events: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

body.uhb2026 .uhb-partner-loop::before {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000, transparent);
  mask-image: linear-gradient(to right, #000, transparent);
}

body.uhb2026 .uhb-partner-loop::after {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
}

/* Keyboard focus must stay legible even at the edge of a paused band. */
body.uhb2026 .uhb-partner-loop:focus-within {
  -webkit-mask-image: none;
  mask-image: none;
}

body.uhb2026 .uhb-partner-loop:focus-within::before,
body.uhb2026 .uhb-partner-loop:focus-within::after {
  opacity: 0;
}

body.uhb2026 #partners .uhb-section-heading {
  margin-bottom: 24px;
}

body.uhb2026 .uhb-partner-loop__track {
  display: flex;
  gap: calc(var(--uhb-layout-gap, 24px) / 2);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

body.uhb2026 .uhb-partner-loop__track::-webkit-scrollbar {
  display: none;
}

body.uhb2026 .uhb-partner-loop__item {
  flex: 0 0 calc((100% + var(--uhb-layout-gap, 24px)) / var(--uhb-partners-visible) - var(--uhb-layout-gap, 24px));
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.uhb2026 .uhb-partner-loop .uhb-partner-logo {
  width: 100%;
  height: 90.8px;
  min-height: 0;
  aspect-ratio: auto;
  padding: 8px 12px;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--uhb-deep);
  text-align: center;
}

body.uhb2026 .uhb-partner-loop .uhb-partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  /* Keep the existing artwork scale while tightening its surrounding space. */
  transform: scale(.7);
  transform-origin: center;
}

/* Preserve the previous image fitting width. Halve the space outside its
   painted envelope as well as the track gap, without shrinking the logos. */
@supports (width: 1cqw) {
  body.uhb2026 .uhb-partner-loop {
    container-type: inline-size;
  }

  body.uhb2026 .uhb-partner-loop__track {
    --uhb-partner-original-step: calc((100cqw + var(--uhb-layout-gap, 24px)) / var(--uhb-partners-visible));
    --uhb-partner-image-width: calc(var(--uhb-partner-original-step) - var(--uhb-layout-gap, 24px) - var(--uhb-partner-original-inset));
  }

  body.uhb2026 .uhb-partner-loop__item {
    flex-basis: calc((var(--uhb-partner-original-step) + .7 * var(--uhb-partner-image-width)) / 2 - var(--uhb-layout-gap, 24px) / 2);
  }

  body.uhb2026 .uhb-partner-loop .uhb-partner-logo {
    grid-template-columns: var(--uhb-partner-image-width);
    justify-content: center;
  }

  body.uhb2026 .uhb-partner-loop .uhb-partner-logo img {
    max-width: var(--uhb-partner-image-width);
  }
}

body.uhb2026 .uhb-partner-loop :is(button, a, [tabindex]):focus-visible {
  outline: 2px solid var(--uhb-deep);
  outline-offset: -2px;
}

@media (max-width: 1399px) {
  body.uhb2026 .uhb-partner-loop {
    --uhb-partners-visible: 4;
  }
}

@media (min-width: 681px) and (max-width: 900px) {
  body.uhb2026 .uhb-partner-row .uhb-partner-row__title {
    font-size: 18px;
  }
}

@media (max-width: 680px) {
  body.uhb2026 .uhb-partner-rows {
    gap: 28px;
  }

  body.uhb2026 .uhb-partner-row {
    gap: 10px;
  }

  body.uhb2026 .uhb-partner-loop {
    --uhb-partners-visible: 2;
    --uhb-partner-original-inset: 20px;
  }

  body.uhb2026 .uhb-partner-loop .uhb-partner-logo {
    height: 78.6px;
    padding: 7px 10px;
  }

  body.uhb2026 .uhb-partner-loop .uhb-partner-logo img {
    max-height: 76px;
  }
}
