﻿/* CFPEP */
html.councils-acc-page,
html.councils-acc-page body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

#council-acc-workspace {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #a8b9c8;
  z-index: 1;
}

/* SCATIHOFPLNZPT */
#council-acc-workspace > .hero-collage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #a8b9c8;
}

#council-acc-workspace > .hero-collage-bg::before {
  content: '';
  position: absolute;
  inset: -28px;
  background-image: url('hero-images/site-collage-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: blur(8px) saturate(0.95) brightness(1.02) hue-rotate(4deg);
  transform: scale(1.08);
}

#council-acc-workspace > .hero-collage-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, #a8c5dc 0%, rgba(168, 197, 220, 0) 42%),
    linear-gradient(185deg, rgba(58, 107, 148, 0.48) 0%, rgba(73, 130, 174, 0.40) 38%, rgba(42, 90, 130, 0.52) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(168, 197, 220, 0.28) 0%, transparent 68%);
}

.council-acc-viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: clip;
  padding: 108px 14px 86px;
  box-sizing: border-box;
  cursor: grab;
  touch-action: pan-y;
}

.council-acc-viewport.is-dragging {
  cursor: grabbing;
}

.council-acc-track {
  --cacc-collapsed: 18vw;
  --cacc-expanded: 46vw;
  --cacc-gap: 14px;
  --cacc-radius: 24px;
  --cacc-ease: cubic-bezier(0.33, 1, 0.28, 1);
  --cacc-duration: 0.85s;
  --cacc-open-duration: 1.1s;
  display: flex;
  align-items: stretch;
  gap: var(--cacc-gap);
  height: 100%;
  width: max-content;
  transition: transform 0.75s var(--cacc-ease);
}

.council-acc-track.is-sliding {
  will-change: transform;
}

.council-acc-viewport.is-dragging .council-acc-track {
  transition: none;
}

.council-acc-panel {
  position: relative;
  flex: 0 0 var(--cacc-collapsed);
  width: var(--cacc-collapsed);
  min-width: var(--cacc-collapsed);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 16px 32px;
  border-radius: var(--cacc-radius);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #142433;
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 16px 36px rgba(18, 24, 32, 0.16);
  transition:
    opacity var(--cacc-open-duration) var(--cacc-ease),
    color 0.35s ease,
    transform 0.45s var(--cacc-ease),
    box-shadow 0.45s ease,
    translate var(--cacc-duration) var(--cacc-ease),
    clip-path var(--cacc-duration) var(--cacc-ease);
}

.council-acc-panel:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.38);
}

.council-acc-panel.is-active {
  flex: 0 0 var(--cacc-expanded);
  width: var(--cacc-expanded);
  min-width: var(--cacc-expanded);
  background: rgba(255, 255, 255, 0.22);
  color: #142433;
  border-color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}

/* WSTTGEOTCSTDRREF */
.council-acc-panel.is-flip-shrink {
  overflow: visible;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1;
}

.council-acc-flip-glass {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  box-sizing: border-box;
  border-radius: var(--cacc-radius);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 16px 36px rgba(18, 24, 32, 0.16);
  z-index: -1;
  pointer-events: auto;
}

/* FSOPLTTACTV */
#council-acc-workspace.is-fs-open .council-acc-viewport {
  cursor: default;
}

#council-acc-workspace.is-fs-open .council-acc-panel:not(.is-open) {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

#council-acc-workspace.is-fs-open .council-acc-controls {
  opacity: 0;
  pointer-events: none;
}

html.council-fs-open .header-container .register-bubble {
  opacity: 0;
  pointer-events: none;
}

/* Keep a scrollbar gutter for the whole open so the last frame of the expand matches the scrolled layout. */
html.council-fs-open body {
  overflow-x: clip !important;
  overflow-y: scroll !important;
}

html.council-fs-open #council-acc-workspace {
  width: 100%;
  max-width: 100%;
}

.council-acc-panel.is-open {
  overflow: hidden;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none;
  will-change: left, width;
}

.council-acc-panel.is-open.is-fs-animating .council-acc-photo img {
  transform: scale(1.05);
  transition: transform 1.1s cubic-bezier(0.33, 1, 0.28, 1);
}

.council-acc-panel.is-open.is-fs-closing .council-acc-photo img {
  transform: scale(1.02);
  transition: none;
}

.council-acc-panel.is-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.council-acc-panel.is-open .council-acc-copy {
  padding: 0;
  max-width: min(920px, 88vw);
  align-items: center;
  text-align: center;
}

.council-acc-panel.is-open .council-acc-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: none;
  white-space: normal;
  text-align: center;
}

.council-acc-panel.is-open .council-acc-logo {
  max-width: min(280px, 34vw);
  max-height: min(28vh, 260px);
}

.council-acc-panel.is-open .council-acc-fullname {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
}

.council-acc-close {
  position: fixed;
  top: 24px;
  right: 4%;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(18, 24, 32, 0.48);
  color: #fff;
  cursor: pointer;
  font-family: 'Bebas Neue', 'Anton', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.07em;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(18, 24, 32, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.council-acc-close i {
  font-size: 0.95em;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html.council-fs-open .council-acc-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.4s ease 0.48s,
    visibility 0s linear 0.48s,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.council-acc-close:hover {
  transform: translate3d(0, -2px, 0);
  background: rgba(18, 24, 32, 0.66);
}

.council-acc-close:hover i {
  transform: translate3d(-3px, 0, 0);
}

.council-acc-close:active {
  transform: translate3d(0, 0, 0) scale(0.98);
}

.council-acc-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .council-acc-close {
    top: 64px;
    right: 12px;
    height: 44px;
    padding: 0 14px 0 12px;
    font-size: 0.95rem;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.council-fs-open .council-acc-close {
    opacity: 1;
    visibility: visible;
  }
}

.council-acc-photo {
  display: none;
}

.council-acc-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(0.25) contrast(1.05) brightness(0.95);
  opacity: 1;
  transition: filter 0.65s ease, opacity 0.65s ease, transform 0.85s var(--cacc-ease);
  transform: scale(1.02);
}

.council-acc-panel:hover:not(.is-open):not(.is-fs-closing):not(.is-settling),
.council-acc-panel.is-hot:not(.is-open):not(.is-fs-closing):not(.is-settling) {
  z-index: 6;
  transform: translate3d(0, -14px, 0);
  box-shadow: 0 28px 54px rgba(18, 24, 32, 0.34);
}

.council-acc-panel.is-settling {
  transform: none !important;
  box-shadow: none !important;
}

.council-acc-panel.is-fs-closing {
  will-change: left, width;
}

.council-acc-panel::after {
  content: none;
}

.council-acc-panel.is-active .council-acc-photo img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

.council-acc-panel.is-active::after,
.council-acc-panel.is-hot:not(.is-open)::after {
  content: none;
}

.council-acc-panel.is-active:not(.is-open) .council-acc-photo img {
  transform: scale(1.04) translate3d(var(--cacc-px, 0px), var(--cacc-py, 0px), 0);
}

/* PTCLPOTSWFCTABAEPOISOFSCAEW */
.council-acc-panel[data-council="unsc"] .council-acc-photo img {
  object-position: center 36%;
}

.council-acc-panel[data-council="uncsw"] .council-acc-photo img {
  object-position: center 58%;
}

.council-acc-panel[data-council="fifa"] .council-acc-photo img {
  object-position: center 55%;
}

.council-acc-panel[data-council="fia"] .council-acc-photo img {
  object-position: 66% 60%;
}

.council-acc-panel[data-council="fcc"] .council-acc-photo img {
  object-position: center 40%;
}

.council-acc-panel[data-council="hcc"] .council-acc-photo img {
  object-position: center 42%;
}

.council-acc-panel[data-council="covhe"] .council-acc-photo img {
  object-position: 62% center;
}

.council-acc-panel[data-council="unicef"] .council-acc-photo img {
  object-position: center 55%;
}

.council-acc-panel[data-council="eu"] .council-acc-photo img {
  object-position: center 38%;
}

.council-acc-panel[data-council="copuos"] .council-acc-photo img {
  object-position: 57% 52%;
}

.council-acc-panel[data-council="unga"] .council-acc-photo img {
  object-position: center 38%;
}

.council-acc-panel[data-council="pokemon"] .council-acc-photo img {
  object-position: 38% 58%;
}

.council-acc-panel[data-council="who"] .council-acc-photo img {
  object-position: center 46%;
}

.council-acc-panel[data-council="loksabha"] .council-acc-photo img {
  object-position: center 42%;
}

.council-acc-panel[data-council="boc"] .council-acc-photo img {
  object-position: center 42%;
}

.council-acc-panel[data-council="interpol"] .council-acc-photo img {
  object-position: center 42%;
}

.council-acc-panel[data-council="unesco"] .council-acc-photo img {
  object-position: center 42%;
}

.council-acc-panel[data-council="unep"] .council-acc-photo img {
  object-position: center 42%;
}

.council-acc-open-cue {
  position: static;
  display: none;
  align-items: center;
  align-self: center;
  gap: 0.4rem;
  margin: 12px 0 0;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 9999px;
  background: rgba(232, 236, 240, 0.78);
  color: #3d4c5a;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.45s ease, transform 0.55s var(--cacc-ease);
  white-space: nowrap;
}

.council-acc-panel.is-active:not(.is-open) .council-acc-open-cue {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}

.council-acc-open-cue i {
  font-size: 0.65rem;
  opacity: 0.85;
}

/* LSITMOTTATA */
.council-acc-logo {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  order: 1;
  z-index: 4;
  width: auto;
  height: auto;
  max-width: min(150px, 74%);
  max-height: min(20vh, 168px);
  margin: 0;
  transform: none;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  opacity: 1;
  filter: drop-shadow(0 8px 18px rgba(18, 24, 32, 0.22));
  transition:
    max-width 0.85s var(--cacc-ease),
    max-height 0.85s var(--cacc-ease),
    opacity 0.45s ease,
    filter 0.45s ease,
    translate var(--cacc-duration) var(--cacc-ease);
}

.council-acc-panel.is-active .council-acc-logo {
  top: auto;
  width: auto;
  height: auto;
  max-width: min(220px, 62%);
  max-height: min(24vh, 210px);
  transform: none;
  opacity: 1;
  filter: drop-shadow(0 10px 22px rgba(18, 24, 32, 0.24));
}

.council-acc-index {
  position: absolute;
  top: clamp(18px, 3vh, 28px);
  left: clamp(16px, 2vw, 28px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.75;
}

.council-acc-index::before {
  content: '';
  width: 16px;
  height: 2px;
  background: #3aa8c7;
  border-radius: 1px;
  flex-shrink: 0;
}

.council-acc-panel.is-active .council-acc-index::before {
  background: #7ed7ef;
}

.council-acc-copy {
  position: static;
  order: 2;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 0 6px;
  text-align: center;
  pointer-events: none;
  transition: translate var(--cacc-duration) var(--cacc-ease);
}

.council-acc-title {
  margin: 0;
  font-family: 'Eulogy Demo Bold', 'Eulogy Demo', 'Anton', serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: inherit;
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

.council-acc-panel.is-active .council-acc-title {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: 0.02em;
  max-width: 100%;
  text-align: center;
}

.council-acc-meta {
  display: block;
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 6px 0 0;
  max-width: 22ch;
  text-align: center;
  z-index: 5;
}

.council-acc-panel.is-active .council-acc-meta {
  display: block;
}

.council-acc-fullname {
  display: block;
  font-family: 'Great Vibes', cursive;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: none;
  text-align: center;
  color: #1a3348;
}

.council-acc-panel.is-active .council-acc-fullname {
  font-size: 1.2rem;
}

.council-acc-level,
.council-acc-desc {
  display: none !important;
}

.council-acc-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 16px;
  box-sizing: border-box;
  pointer-events: none;
}

.council-acc-controls > * {
  pointer-events: auto;
}

.council-acc-arrow {
  position: static;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transform: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.council-acc-arrow:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.65);
}

.council-acc-dots {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: min(46vw, 360px);
  overflow: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}

.council-acc-dots::-webkit-scrollbar {
  display: none;
}

.council-acc-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: rgba(18, 24, 32, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.council-acc-dot.is-active {
  width: 20px;
  background: #3a6b94;
}

.header-container {
  z-index: 1000;
}

@media (max-width: 900px) {
  .council-acc-track {
    --cacc-collapsed: 22vw;
    --cacc-expanded: 56vw;
    width: max-content;
  }

  .council-acc-panel {
    flex: 0 0 var(--cacc-collapsed);
    width: var(--cacc-collapsed);
    min-width: var(--cacc-collapsed);
  }

  .council-acc-panel.is-active {
    flex: 0 0 var(--cacc-expanded);
    width: var(--cacc-expanded);
    min-width: var(--cacc-expanded);
  }

  .council-acc-index {
    display: flex;
  }

  .council-acc-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .council-acc-track {
    --cacc-collapsed: 34vw;
    --cacc-expanded: 78vw;
    width: max-content;
  }

  .council-acc-panel {
    flex: 0 0 var(--cacc-collapsed);
    width: var(--cacc-collapsed);
    min-width: var(--cacc-collapsed);
  }

  .council-acc-panel.is-active {
    flex: 0 0 var(--cacc-expanded);
    width: var(--cacc-expanded);
    min-width: var(--cacc-expanded);
  }

  .council-acc-viewport {
    padding: 78px 10px 76px;
  }

  .council-acc-controls {
    height: 64px;
    gap: 12px;
    padding: 0 10px;
  }

  .council-acc-dots {
    max-width: min(58vw, 220px);
  }

  .council-acc-panel {
    gap: 10px;
    padding: 18px 10px 22px;
  }

  .council-acc-logo,
  .council-acc-panel.is-active .council-acc-logo {
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    transform: none;
    opacity: 1;
  }

  .council-acc-copy {
    position: static;
    bottom: auto;
    padding: 0 2px;
    gap: 6px;
    align-items: center;
    text-align: center;
  }

  .council-acc-panel:not(.is-active) .council-acc-title,
  .council-acc-panel.is-active .council-acc-title {
    writing-mode: horizontal-tb;
    transform: none;
    max-width: 100%;
    text-align: center;
  }

  .council-acc-panel:not(.is-active) .council-acc-title {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
  }

  .council-acc-panel.is-active .council-acc-title {
    font-size: clamp(1.45rem, 6.4vw, 2.15rem);
  }

  .council-acc-meta,
  .council-acc-panel.is-active .council-acc-meta {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: 18ch;
    margin-top: 0;
  }

  .council-acc-fullname,
  .council-acc-panel.is-active .council-acc-fullname {
    text-align: center;
    font-family: 'Great Vibes', cursive;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.15;
  }

  .council-acc-fullname {
    font-size: 0.95rem;
  }

  .council-acc-panel.is-active .council-acc-fullname {
    font-size: 1.1rem;
  }

  .council-acc-panel.is-active:not(.is-open) .council-acc-open-cue {
    margin-top: 6px;
  }

  .council-acc-index {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .council-acc-track,
  .council-acc-panel,
  .council-acc-photo img {
    transition: none !important;
  }
}

/* OPEN cue: glow the pill, nudge the arrow. Leave translateY(0) on the pill. */
@keyframes council-acc-open-cue-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(168, 197, 220, 0.2),
      0 4px 12px rgba(58, 107, 148, 0.1);
    border-color: rgba(255, 255, 255, 0.62);
  }
  50% {
    box-shadow:
      0 0 16px 4px rgba(186, 214, 232, 0.82),
      0 6px 18px rgba(73, 130, 174, 0.28);
    border-color: rgba(255, 255, 255, 0.95);
  }
}

@keyframes council-acc-open-cue-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.council-acc-panel.is-active:not(.is-open) .council-acc-open-cue {
  animation: council-acc-open-cue-glow 2s ease-in-out infinite;
}

.council-acc-panel.is-active:not(.is-open) .council-acc-open-cue i {
  animation: council-acc-open-cue-nudge 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .council-acc-panel.is-active:not(.is-open) .council-acc-open-cue,
  .council-acc-panel.is-active:not(.is-open) .council-acc-open-cue i {
    animation: none;
  }

  html.councils-acc-page.council-sub-ready #council-sub,
  html.councils-acc-page.council-sub-ready #council-expand-blend,
  html.councils-acc-page.council-sub-ready #council-acc-workspace > .hero-collage-bg::after {
    animation: none;
  }

  html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill,
  html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill::before,
  html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill::after {
    animation: none;
    transition: none;
  }
}

/* Post-expand section. Hidden until html.council-sub-ready.
   The workspace itself is the first screen, so the spacer stays collapsed. */
#council-sub-spacer,
#council-sub {
  display: none;
}

html.councils-acc-page.council-sub-ready {
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow: visible !important;
}

html.councils-acc-page.council-sub-ready body,
html.councils-acc-page.council-sub-ready body.councils-page-scroll {
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
}

html.councils-acc-page.council-sub-ready #council-acc-workspace {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
}

/* Allocations wash shape, meeting #council-sub on the same pale blue. */
html.councils-acc-page.council-sub-ready #council-acc-workspace > .hero-collage-bg::after {
  background:
    linear-gradient(to top, #e7f3fb 0%, rgba(255, 255, 255, 0.22) 14%, rgba(232, 244, 251, 0) 28%),
    linear-gradient(185deg, rgba(58, 107, 148, 0.48) 0%, rgba(73, 130, 174, 0.40) 38%, rgba(42, 90, 130, 0.52) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(168, 197, 220, 0.28) 0%, transparent 68%);
  animation: council-wash-in 0.5s ease both;
}

@keyframes council-wash-in {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

html.councils-acc-page.council-sub-ready #council-sub-spacer {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

html.councils-acc-page.council-sub-ready #council-sub {
  display: block;
  position: relative;
  animation: council-sub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  overflow: visible;
  background-color: #e7f3fb !important;
  background-image:
    radial-gradient(1100px 680px at 8% 18%, rgba(126, 176, 212, 0.42), transparent 64%),
    radial-gradient(980px 720px at 94% 40%, rgba(73, 130, 174, 0.26), transparent 62%),
    radial-gradient(920px 600px at 12% 62%, rgba(168, 197, 220, 0.5), transparent 60%),
    radial-gradient(860px 540px at 86% 86%, rgba(214, 236, 248, 0.9), transparent 58%),
    linear-gradient(
      180deg,
      #e7f3fb 0%,
      #e7f3fb 4%,
      #d7eaf6 14%,
      #c5dff0 28%,
      #b7d8ef 46%,
      #c5dff0 64%,
      #d7eaf6 82%,
      #e7f3fb 100%
    ) !important;
  background-repeat: no-repeat !important;
  visibility: visible;
}

html.councils-acc-page.council-sub-ready #council-sub[hidden] {
  display: block !important;
}

html.councils-acc-page.council-sub-ready #council-sub.site-hero-collage::before,
html.councils-acc-page.council-sub-ready #council-sub.site-hero-collage::after {
  content: none;
  display: none;
  background: none;
}

html.councils-acc-page.council-sub-ready #council-sub > * {
  position: relative;
  z-index: 1;
}

/* Torn-paper wave. Hidden until the lower section is revealed, then drawn on the seam. */
#council-expand-blend {
  display: none !important;
}

@keyframes council-sub-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html.councils-acc-page.council-sub-ready #council-expand-blend,
html.councils-acc-page.council-sub-ready #council-expand-blend[hidden] {
  display: block !important;
  visibility: visible !important;
  position: relative;
  animation: council-sub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 6;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: none;
}

html.councils-acc-page.council-sub-ready .council-expand-blend .gallery-divider {
  display: block !important;
  visibility: visible !important;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 6;
  pointer-events: none;
  transform: translateY(-70%);
  filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 12%, #000 30%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 12%, #000 30%, #000 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

html.councils-acc-page.council-sub-ready .council-expand-blend .gallery-divider path {
  fill: #e7f3fb;
}

/* Expanded lower section: glass brief on the blue field, chairs beside it. */
html.councils-acc-page.council-sub-ready #council-sub .council-sub-stage {
  display: flex;
  align-items: stretch;
  gap: clamp(22px, 3vw, 48px);
  width: 100%;
  box-sizing: border-box;
  padding: 112px 4.5% 80px;
  background: transparent;
  color: #142433;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-tile {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 28px;
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 16px 36px rgba(18, 24, 32, 0.1);
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-brief {
  flex: 1.15 1 0;
  align-self: stretch;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  padding: clamp(22px, 2.4vw, 36px) clamp(18px, 2.2vw, 36px) 22px;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-title {
  margin: 0;
  font-family: 'Eulogy Demo Bold', 'Eulogy Demo', 'Anton', serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #142433;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-rule--title {
  margin: 16px 0 18px;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-agendas {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: none;
  text-align: center;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-agendas li {
  margin: 0;
  width: 100%;
  flex-shrink: 0;
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: #1a3348;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-agendas li + li {
  margin-top: 1.55em;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-agenda-k {
  font-weight: 700;
  letter-spacing: 0.02em;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-about {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
  color: #1a3348;
  text-align: left;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-about-title {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #142433;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-brief.is-about .council-sub-agendas {
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 1.2em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(26, 51, 72, 0.38);
  text-align: left;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-brief.is-about .council-sub-agendas li {
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-brief.is-about .council-sub-agendas li + li {
  margin-top: 0.7em;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-agendas[hidden],
html.councils-acc-page.council-sub-ready #council-sub .council-sub-about[hidden] {
  display: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-foot {
  width: 100%;
  margin-top: 0;
  padding-top: 28px;
  flex-shrink: 0;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-rule {
  width: 100%;
  height: 1px;
  margin: 0 0 18px;
  background: rgba(26, 51, 72, 0.38);
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill-row {
  margin: 0;
  padding: 0;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-height: 36px;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-family: 'Bebas Neue', 'Anton', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #142433;
  text-decoration: none;
  cursor: default;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill-label {
  position: relative;
  z-index: 1;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #142433;
  transform: translateX(-102%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -45%;
  z-index: 1;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[href] {
  cursor: pointer;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[href]:hover,
html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[href]:focus-visible {
  color: #f4f8fb;
  transform: translateY(-2px);
  border-color: #142433;
  box-shadow: 0 10px 22px rgba(20, 36, 51, 0.18);
  outline: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[href]:hover::before,
html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[href]:focus-visible::before {
  transform: translateX(0);
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[href]:hover::after,
html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[href]:focus-visible::after {
  opacity: 1;
  animation: council-pill-sheen 0.7s ease;
}

@keyframes council-pill-sheen {
  from { left: -45%; }
  to { left: 140%; }
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-pill[hidden] {
  display: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-aside {
  flex: 1.1 1 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-chairs-label {
  display: inline-block;
  align-self: center;
  margin: 0 0 16px;
  padding: 0 0.04em 6px;
  text-align: center;
  border-bottom: 1.5px solid rgba(26, 51, 72, 0.55);
  font-family: 'Eulogy Demo Bold', 'Eulogy Demo', 'Anton', serif;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #142433;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-chair-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  flex: 1 1 auto;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(360px, 30vw, 440px);
  aspect-ratio: 3 / 4.15;
  padding: 18px 16px 20px;
}

/* Slanted "BMUN CHAIRPERSON" watermark behind the cutout. Fixed px box covers the tile diagonal. */
html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait::before {
  content: 'BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON BMUN CHAIRPERSON';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 1200px;
  height: 1200px;
  margin: -600px 0 0 -600px;
  overflow: hidden;
  transform: rotate(-24deg);
  font-family: 'Eulogy Demo Bold', 'Eulogy Demo', 'Anton', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  word-spacing: 0.35em;
  line-height: 1.55;
  text-transform: uppercase;
  white-space: normal;
  color: rgba(20, 36, 51, 0.085);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait.has-photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(to top, rgba(226, 239, 248, 0.94) 0%, rgba(226, 239, 248, 0.72) 42%, rgba(226, 239, 248, 0) 100%);
  pointer-events: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait-photo {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait-photo[hidden] {
  display: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait-role,
html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait-name {
  position: relative;
  z-index: 2;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait-role {
  margin: 0 0 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(26, 51, 72, 0.72);
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait-name {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 600;
  line-height: 1.25;
  color: #142433;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-staff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  flex: 0 0 auto;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-staff {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 92px;
  padding: 16px 18px 18px;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-staff[hidden] {
  display: none;
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-staff-role {
  margin: 0 0 6px;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(26, 51, 72, 0.72);
}

html.councils-acc-page.council-sub-ready #council-sub .council-sub-staff-name {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
  font-weight: 600;
  line-height: 1.3;
  color: #142433;
  overflow-wrap: break-word;
}

@media (max-width: 860px) {
  html.councils-acc-page.council-sub-ready #council-sub .council-sub-stage {
    flex-direction: column;
    padding: 128px 18px 64px;
  }

  html.councils-acc-page.council-sub-ready #council-sub .council-sub-brief,
  html.councils-acc-page.council-sub-ready #council-sub .council-sub-aside {
    flex: 1 1 auto;
    width: 100%;
  }

  html.councils-acc-page.council-sub-ready #council-sub .council-sub-brief {
    min-height: 0;
  }

  html.councils-acc-page.council-sub-ready #council-sub .council-sub-chairs-label {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }

  html.councils-acc-page.council-sub-ready #council-sub .council-sub-portrait {
    min-height: 280px;
  }

  html.councils-acc-page.council-sub-ready #council-sub .council-sub-staff {
    min-height: 80px;
    padding: 14px 14px 16px;
  }
}
