[data-murals-portal-page] .murals-portal-carousel {
  --hero-inset: max(11.65%, calc((100% - 1540px) / 2));
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows:
    [top] minmax(clamp(2.25rem, 5.2vw, 5.75rem), 1fr)
    [kicker] auto [title] auto [subtitle] auto [description] auto [actions] auto
    [bottom] minmax(clamp(4rem, 4.5vw, 5.75rem), 1fr) [end];
  min-block-size: clamp(27.5rem, 33.5vw, 45rem);
  background: var(--wichf-forest);
  color: var(--wichf-text-light);
}

/* Shared intrinsic tracks take the largest contribution from each slide, even when inactive. */
[data-murals-portal-page] .murals-portal-hero {
  position: relative;
  isolation: isolate;
  grid-area: top / 1 / end / 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: subgrid;
}

[data-murals-portal-page] .murals-portal-hero[aria-hidden="true"] {
  visibility: hidden;
}

[data-murals-portal-page] .murals-portal-scene {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  z-index: 0;
}

[data-murals-portal-page] .murals-portal-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(5 31 27 / .97), rgb(5 31 27 / .9) 24%, rgb(5 31 27 / .52) 40%, transparent 69%),
    linear-gradient(0deg, rgb(5 22 19 / .48), transparent 25%);
}

[data-murals-portal-page] .murals-portal-scene img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: var(--hero-image-focus, 66%) center;
}

[data-murals-portal-page] .murals-portal-hero--gallery {
  --hero-image-focus: 61%;
}

[data-murals-portal-page] .murals-portal-hero > :not(.murals-portal-scene) {
  position: relative;
  z-index: 1;
  grid-column: 1;
  justify-self: start;
  align-self: start;
  margin-inline: var(--hero-inset);
  min-inline-size: 0;
  max-inline-size: min(59vw, 45rem);
}

[data-murals-portal-page] .murals-portal-kicker {
  grid-row: kicker;
  margin-block: 0 .5rem;
  color: var(--wichf-gold-soft);
  font-family: var(--wichf-font-serif);
  font-size: clamp(.76rem, 1.05vw, 1rem);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

[data-murals-portal-page] .murals-portal-title {
  grid-row: title;
  margin-block: 0 .45rem;
  font-family: var(--wichf-font-serif);
  font-size: clamp(2.7rem, 5.2vw, 6rem);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1;
}

[data-murals-portal-page]:lang(en) .murals-portal-title {
  font-size: clamp(2.65rem, 4.5vw, 5.4rem);
}

[data-murals-portal-page] .murals-portal-subtitle {
  grid-row: subtitle;
  margin-block: 0 .95rem;
  font-family: var(--wichf-font-serif);
  font-size: clamp(1.35rem, 2.12vw, 2.4rem);
  line-height: 1.2;
}

[data-murals-portal-page] .murals-portal-hero > .murals-portal-description {
  grid-row: description;
  max-inline-size: min(40vw, 26.5rem);
  margin-block-end: 1.05rem;
  font-size: clamp(.95rem, 1.1vw, 1.15rem);
  line-height: 1.55;
}

[data-murals-portal-page] .murals-portal-hero > .murals-portal-actions {
  grid-row: actions;
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  inline-size: min(100%, 22rem);
  text-align: center;
  margin-block-start: 0;
  gap: .9rem;
}

[data-murals-portal-page] .murals-portal-actions .t02-button {
  padding: .65rem .8rem;
  min-block-size: 3rem;
}

[data-murals-portal-page] .murals-portal-controls {
  z-index: 2;
  grid-area: top / 1 / end / 2;
  place-self: end center;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-block-end: .85rem;
  color: var(--wichf-text-light);
}

[data-murals-portal-page] :is(.murals-portal-pagination, [data-portal-rotation]) {
  border: 1px solid color-mix(in srgb, var(--wichf-gold-soft) 67%, transparent);
  border-radius: 2rem;
  background-color: rgb(4 26 22 / .8);
  backdrop-filter: blur(8px);
}

[data-murals-portal-page] .murals-portal-pagination {
  display: flex;
  align-items: center;
  padding-inline: .125rem;
}

[data-murals-portal-page] .murals-portal-controls[hidden] {
  display: none;
}

[data-murals-portal-page] .murals-portal-controls button {
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
}

[data-murals-portal-page] .murals-portal-pagination button {
  border: 0;
  background: transparent;
}

[data-murals-portal-page] :is(.murals-portal-pagination button, [data-portal-rotation]):hover {
  background: rgb(245 240 231 / .12);
}

[data-murals-portal-page] .murals-portal-controls button:focus-visible {
  outline: 2px solid var(--wichf-gold-soft);
  outline-offset: -2px;
}

[data-murals-portal-page] .murals-portal-controls button::before {
  content: "";
  display: block;
}

[data-murals-portal-page] [data-portal-rotation]::before {
  border-block: 6px solid transparent;
  border-inline-start: 9px solid currentColor;
  margin-inline-start: 2px;
}

[data-murals-portal-page] [data-portal-rotation][data-playing]::before {
  inline-size: 8px;
  block-size: 11px;
  border: 0;
  border-inline: 2px solid currentColor;
  margin: 0;
}

[data-murals-portal-page] :is([data-portal-prev], [data-portal-next])::before {
  inline-size: 8px;
  block-size: 8px;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}

[data-murals-portal-page] [data-portal-prev]::before {
  transform: rotate(-135deg);
}

[data-murals-portal-page] [data-portal-select]::before {
  inline-size: 7px;
  block-size: 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

[data-murals-portal-page] [data-portal-select][aria-pressed="true"]::before {
  inline-size: 10px;
  block-size: 10px;
  border-color: var(--wichf-gold-soft);
  background: var(--wichf-gold-soft);
}

[data-murals-portal-page] .murals-portal-rotation-label {
  display: flex;
  align-items: center;
  gap: .3rem;
  min-inline-size: 6rem;
  color: var(--wichf-text-light);
  font-size: .72rem;
  white-space: nowrap;
}

[data-murals-portal-page] .murals-portal-rotation-label::before {
  content: "";
  inline-size: .35rem;
  block-size: .35rem;
  border: 1px solid var(--wichf-gold-soft);
  border-radius: 50%;
}

[data-murals-portal-page] [data-portal-rotation-state="playing"] .murals-portal-rotation-label::before {
  background-color: var(--wichf-gold-soft);
}

[data-murals-portal-page] .murals-portal-announcement {
  position: absolute;
  overflow: hidden;
  inline-size: 1px;
  block-size: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 800px) {
  [data-murals-portal-page] .murals-portal-carousel {
    --hero-inset: max(1.25rem, calc((100% - 32rem) / 2));
    grid-template-rows:
      [top] 1.6rem
      [kicker] auto [title] auto [subtitle] auto [description] auto
      [scene] clamp(12rem, 56vw, 23rem)
      [actions] auto
      [bottom] .95rem [end];
    min-block-size: 0;
  }

  [data-murals-portal-page] .murals-portal-scene {
    position: relative;
    grid-area: scene / 1 / actions / 2;
  }

  [data-murals-portal-page] .murals-portal-scene::after {
    background: linear-gradient(0deg, rgb(10 24 19 / .55), transparent 45%);
  }

  [data-murals-portal-page] .murals-portal-scene img {
    position: absolute;
    inset: 0;
    object-position: var(--mobile-hero-image-focus, 100%) center;
  }

  [data-murals-portal-page] .murals-portal-hero--gallery {
    --mobile-hero-image-focus: 73%;
  }

  [data-murals-portal-page] .murals-portal-hero > :not(.murals-portal-scene) {
    max-inline-size: 32rem;
  }

  [data-murals-portal-page] .murals-portal-kicker {
    margin-block-end: .7rem;
    font-size: .7rem;
    letter-spacing: .12em;
  }

  [data-murals-portal-page] .murals-portal-title,
  [data-murals-portal-page]:lang(en) .murals-portal-title {
    margin-block-end: .55rem;
    font-size: clamp(2.05rem, 8.4vw, 3.8rem);
    line-height: 1.06;
  }

  [data-murals-portal-page] .murals-portal-subtitle {
    margin-block-end: .7rem;
    font-size: clamp(1.18rem, 4.5vw, 1.6rem);
  }

  [data-murals-portal-page] .murals-portal-hero > .murals-portal-description {
    max-inline-size: 32rem;
    margin-block-end: 1.05rem;
    font-size: .95rem;
    line-height: 1.48;
  }

  [data-murals-portal-page] .murals-portal-hero > .murals-portal-actions {
    display: flex;
    justify-self: stretch;
    inline-size: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .55rem;
    margin-block-start: .9rem;
  }

  [data-murals-portal-page] .murals-portal-actions .t02-button {
    flex: 1 1 0;
    min-inline-size: 0;
    padding: .65rem .55rem;
    text-align: center;
  }

  [data-murals-portal-page] .murals-portal-controls {
    grid-row: scene / actions;
    margin-block-end: .75rem;
  }
}

@media (max-width: 360px) {
  [data-murals-portal-page] .murals-portal-rotation-label {
    display: none;
  }
}

@media (max-width: 340px) {
  [data-murals-portal-page] .murals-portal-hero > .murals-portal-actions {
    flex-direction: column;
  }

  [data-murals-portal-page] .murals-portal-actions .t02-button {
    flex-basis: auto;
  }
}
[data-murals-portal-page] {
  --portal-editorial-width: min(81.4%, 97.75rem);
  --portal-exhibit-gap: clamp(1rem, 1.75vw, 1.75rem);
  --portal-exhibit-line: var(--wichf-gold-soft);
}

[data-murals-portal-page] :is(.murals-portal-exhibits, .t02-about, .t02-end) > .t02-wrap {
  inline-size: var(--portal-editorial-width);
}

[data-murals-portal-page] .murals-portal-exhibits {
  background: linear-gradient(150deg, var(--wichf-forest), color-mix(in srgb, var(--wichf-forest-2), var(--wichf-ink) 35%));
  color: var(--wichf-text-light);
  padding-block: clamp(1.75rem, 3.1vw, 3.5rem);
}

[data-murals-portal-page] .murals-portal-exhibits__heading {
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 1fr) auto;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  margin-block-end: var(--portal-exhibit-gap);
}

[data-murals-portal-page] .murals-portal-exhibits__heading::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  block-size: 1px;
  background: var(--portal-exhibit-line);
}

[data-murals-portal-page] .murals-portal-exhibits__heading p {
  grid-column: 3;
  font-weight: 700;
  font-size: clamp(.72rem, 1.05vw, .95rem);
  letter-spacing: .065em;
  color: var(--wichf-gold-soft);
}

[data-murals-portal-page] :is(.murals-portal-exhibits h2, .murals-portal-exhibit h3, .t02-about h2, .t02-end h2) {
  font-family: var(--wichf-font-serif);
  font-weight: 500;
  line-height: 1.13;
}

[data-murals-portal-page] .murals-portal-exhibits h2 {
  color: var(--wichf-text-light);
  font-size: clamp(2.15rem, 3.85vw, 4rem);
}

[data-murals-portal-page] .murals-portal-exhibits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--portal-exhibit-gap);
}

[data-murals-portal-page] .murals-portal-exhibit {
  display: grid;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--portal-exhibit-line);
  background: color-mix(in srgb, var(--wichf-forest), var(--wichf-ink) 18%);
}

[data-murals-portal-page] [data-portal-exhibit="open-collections"] {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 53fr) minmax(0, 47fr);
  min-block-size: clamp(17.5rem, 20.5vw, 25rem);
}

[data-murals-portal-page] [data-portal-exhibit="murals"] {
  grid-column: 1 / -1;
  min-block-size: clamp(17.5rem, 21vw, 25rem);
  isolation: isolate;
}

[data-murals-portal-page] .murals-portal-exhibit__media {
  position: relative;
  min-block-size: 0;
  margin: 0;
  background: var(--wichf-forest);
}

[data-murals-portal-page] :is([data-portal-exhibit="youth"], [data-portal-exhibit="lacquer"]) {
  grid-template-rows: auto minmax(0, 1fr);
}

[data-murals-portal-page] :is([data-portal-exhibit="youth"], [data-portal-exhibit="lacquer"]) .murals-portal-exhibit__media {
  aspect-ratio: 3.15 / 1;
}

[data-murals-portal-page] .murals-portal-exhibit__media img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

[data-murals-portal-page] [data-portal-exhibit="open-collections"] .murals-portal-exhibit__media img {
  object-position: center 54%;
}

[data-murals-portal-page] [data-portal-exhibit="murals"] .murals-portal-exhibit__media {
  grid-area: 1 / 1;
}

[data-murals-portal-page] [data-portal-exhibit="murals"] .murals-portal-exhibit__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--wichf-forest) 4%, rgb(16 39 31 / .88) 21%, rgb(16 39 31 / .42) 40%, transparent 63%);
}

[data-murals-portal-page] [data-portal-exhibit="murals"] .murals-portal-exhibit__media img {
  object-position: right 47%;
}

[data-murals-portal-page] [data-portal-exhibit="youth"] .murals-portal-exhibit__media img {
  object-position: center 45%;
}

[data-murals-portal-page] [data-portal-exhibit="lacquer"] .murals-portal-exhibit__media img {
  object-position: right 44%;
}

[data-murals-portal-page] .murals-portal-exhibit__media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem .85rem .5rem;
  color: var(--wichf-text-light);
  background: linear-gradient(transparent, rgb(11 15 14 / .93));
  font-size: .72rem;
  line-height: 1.4;
}

[data-murals-portal-page] .murals-portal-exhibit__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-inline-size: 0;
  gap: .48rem;
  padding: clamp(1.2rem, 2.1vw, 2.7rem);
}

[data-murals-portal-page] [data-portal-exhibit="open-collections"] .murals-portal-exhibit__copy {
  border-inline-start: 1px solid var(--portal-exhibit-line);
}

[data-murals-portal-page] [data-portal-exhibit="murals"] .murals-portal-exhibit__copy {
  z-index: 1;
  grid-area: 1 / 1;
  inline-size: min(43%, 32rem);
  justify-content: center;
  padding-inline-start: clamp(1.2rem, 3.3vw, 3.35rem);
}

[data-murals-portal-page] .murals-portal-exhibit__status {
  max-inline-size: 100%;
  padding: .19rem .57rem;
  border: 1px solid var(--portal-exhibit-line);
  border-radius: .16rem;
  color: var(--wichf-gold-soft);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}

[data-murals-portal-page] [data-portal-exhibit="lacquer"] .murals-portal-exhibit__status {
  position: absolute;
  inset: .8rem auto auto .8rem;
  z-index: 1;
  background: var(--wichf-gold-soft);
  color: var(--wichf-ink);
}

[data-murals-portal-page] .murals-portal-exhibit__copy h3 {
  color: var(--wichf-text-light);
  font-size: clamp(1.65rem, 2.55vw, 3.25rem);
  text-wrap: balance;
}

[data-murals-portal-page] [data-portal-exhibit="murals"] h3::after {
  content: "";
  display: block;
  inline-size: 2.6rem;
  block-size: 1px;
  margin-block: .45em .18em;
  background: var(--portal-exhibit-line);
}

[data-murals-portal-page] :is([data-portal-exhibit="youth"], [data-portal-exhibit="lacquer"]) h3 {
  font-size: clamp(1.55rem, 2.05vw, 2.55rem);
}

[data-murals-portal-page] .murals-portal-exhibit__subtitle {
  color: var(--wichf-gold-soft);
  font-family: var(--wichf-font-serif);
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
  line-height: 1.4;
}

[data-murals-portal-page] .murals-portal-exhibit__description {
  max-inline-size: 60ch;
  margin-block-end: .4rem;
  font-size: clamp(.94rem, 1.12vw, 1.075rem);
  line-height: 1.5;
}

[data-murals-portal-page] .murals-portal-exhibit__description p + p {
  margin-block-start: .33rem;
}

[data-murals-portal-page] .murals-portal-exhibit__action {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  max-inline-size: 100%;
  min-block-size: 2.75rem;
  margin-block-start: auto;
  padding: .55rem 1.1rem;
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.4;
}

[data-murals-portal-page] [data-portal-exhibit="murals"] .murals-portal-exhibit__action {
  margin-block-start: .22rem;
}

[data-murals-portal-page] .murals-portal-exhibit__action--pending {
  border: 1px solid var(--portal-exhibit-line);
  border-radius: .15rem;
  color: var(--wichf-gold-soft);
}

[data-murals-portal-page] .t02-about {
  padding-block: clamp(2rem, 3.35vw, 4rem);
  background: var(--wichf-ivory);
  color: var(--wichf-text-dark);
}

[data-murals-portal-page] .t02-about-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4.4vw, 5rem);
}

[data-murals-portal-page] .t02-about-grid > div > p:not(.t02-kicker) {
  max-inline-size: 58ch;
  margin-block-start: .65rem;
}

[data-murals-portal-page] .t02-about .t02-principles {
  padding-inline-start: clamp(1.3rem, 4vw, 4.5rem);
  border-inline-start: 1px solid var(--wichf-stone);
}

[data-murals-portal-page] .t02-about .t02-principles li {
  padding-block: .64rem;
}

[data-murals-portal-page] .t02-about .t02-principles li:last-child {
  border-block-end: 0;
}

[data-murals-portal-page] .t02-about .t02-principles p {
  margin-block-start: .15rem;
}

[data-murals-portal-page] .t02-end {
  display: grid;
  align-items: center;
  min-block-size: clamp(13rem, 16.35vw, 19.6rem);
  background-position: center 53%;
}

[data-murals-portal-page] .t02-end::before {
  background: linear-gradient(90deg, rgb(11 30 24 / .9), rgb(11 30 24 / .55) 46%, rgb(11 30 24 / .21));
}

[data-murals-portal-page] .t02-end > .t02-wrap {
  padding-block: clamp(1.85rem, 2.8vw, 3.25rem);
}

[data-murals-portal-page] .t02-end .t02-actions {
  margin-block-start: 1rem;
}

@media (max-width: 800px) {
  [data-murals-portal-page] {
    --portal-editorial-width: calc(100% - 2.5rem);
  }

  [data-murals-portal-page] .murals-portal-exhibits__heading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  [data-murals-portal-page] .murals-portal-exhibits__heading p {
    display: none;
  }

  [data-murals-portal-page] .murals-portal-exhibits__list {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-murals-portal-page] :is([data-portal-exhibit="open-collections"], [data-portal-exhibit="murals"]) {
    grid-template-columns: minmax(0, 1fr);
    min-block-size: 0;
  }

  [data-murals-portal-page] .murals-portal-exhibits__list .murals-portal-exhibit__media {
    grid-area: auto;
    aspect-ratio: 16 / 9;
  }

  [data-murals-portal-page] [data-portal-exhibit="murals"] .murals-portal-exhibit__media::after {
    display: none;
  }

  [data-murals-portal-page] .murals-portal-exhibits__list .murals-portal-exhibit__copy {
    grid-area: auto;
    inline-size: auto;
    padding: 1.15rem;
    border-inline-start: 0;
  }

  [data-murals-portal-page] .murals-portal-exhibit__copy h3 {
    text-wrap: wrap;
  }

  [data-murals-portal-page] .t02-about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-murals-portal-page] .t02-about .t02-principles {
    padding-inline-start: 0;
    border-inline-start: 0;
    border-block-start: 1px solid var(--wichf-stone);
  }
}
