.ws-list-hero {
  padding-bottom: 8px;
}

.ws-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.ws-filters .pill.is-active {
  background: var(--eliot-blue);
  color: var(--white);
}

.ws-fx-bar {
  margin-left: auto;
  min-width: 0;
}

.ws-fx-bar select {
  font: 700 0.92rem var(--font-body);
  border: 2px solid rgba(16, 42, 86, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--white);
  color: var(--deep-ink);
  min-width: 0;
  max-width: 100%;
  line-height: 1.2;
}

.ws-fx-bar select:focus {
  outline: 3px solid var(--eliot-blue);
}

.ws-hero-copy .ws-fx-bar {
  margin: 0;
  margin-left: auto;
  max-width: none;
}

.ws-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.ws-section-head .ws-section-title {
  margin: 0;
}

.ws-section-head .ws-fx-bar {
  margin: 8px 0 0;
}

.ws-public-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ws-public-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.ws-public-media {
  position: relative;
  background: var(--ice-blue);
}

.ws-public-media img,
.ws-public-placeholder {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center;
}

.ws-public-placeholder {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--eliot-blue);
}

.ws-card-status-stack {
  position: absolute;
  left: 12px;
  top: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.ws-card-status {
  position: static;
  left: auto;
  top: auto;
  background: var(--wonder-yellow);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.ws-card-status.is-seeking_support { background: var(--wonder-yellow); color: var(--deep-ink); }
.ws-card-status.is-in_progress { background: #d9e8ff; color: var(--eliot-blue); }
.ws-card-status.is-scheduled_funded { background: var(--ice-blue); color: var(--eliot-blue); }
.ws-card-status.is-completed { background: #e7f6ec; color: var(--explorer-green); }
.ws-card-status.is-secondary {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--discovery-orange);
  color: var(--discovery-orange);
}
.ws-card-status.is-secondary.is-cancelled {
  background: #fff5f2;
  box-shadow: inset 0 0 0 2px #c62828;
  color: #c62828;
}
.ws-card-status.is-secondary.is-postponed {
  background: #fff6ee;
  box-shadow: inset 0 0 0 2px var(--discovery-orange);
  color: var(--discovery-orange);
}
.ws-card-status.is-secondary.is-report_published {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--eliot-blue);
  color: var(--eliot-blue);
}

.ws-public-body {
  padding: 16px 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ws-kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--eliot-blue);
  background: var(--ice-blue);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0 0 8px;
}

.ws-public-body h2 {
  font-size: 1.35rem;
}

.ws-need {
  font-family: var(--font-display);
  color: var(--discovery-orange);
  margin: 10px 0 0;
}

.ws-need.is-done {
  color: var(--explorer-green);
}

.ws-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ws-hero-kicker .eyebrow {
  margin: 0;
}

.ws-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ws-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  background: var(--ice-blue);
  color: var(--deep-ink);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.ws-share-btn svg {
  width: 18px;
  height: 18px;
}

.ws-share-btn:hover,
.ws-share-btn:focus-visible {
  background: var(--eliot-blue);
  color: #fff;
  outline: none;
}

.ws-hero-copy h1 {
  margin-bottom: 8px;
}

.ws-hero-question {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  color: var(--eliot-blue);
  margin: 0 0 12px;
}

.ws-life-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.ws-life-badge.is-seeking_support { background: var(--wonder-yellow); color: var(--deep-ink); }
.ws-life-badge.is-in_progress { background: #d9e8ff; color: var(--eliot-blue); }
.ws-life-badge.is-scheduled_funded { background: var(--ice-blue); color: var(--eliot-blue); }
.ws-life-badge.is-completed { background: #e7f6ec; color: var(--explorer-green); }
.ws-life-badge.is-secondary {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--discovery-orange);
  color: var(--discovery-orange);
}
.ws-life-badge.is-secondary.is-cancelled {
  background: #fff5f2;
  box-shadow: inset 0 0 0 2px #c62828;
  color: #c62828;
}
.ws-life-badge.is-secondary.is-postponed {
  background: #fff6ee;
  box-shadow: inset 0 0 0 2px var(--discovery-orange);
  color: var(--discovery-orange);
}
.ws-life-badge.is-secondary.is-report_published {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--eliot-blue);
  color: var(--eliot-blue);
}

.ws-fund-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.ws-fund-badge.is-progress {
  background: var(--wonder-yellow);
  color: var(--deep-ink);
}

.ws-fund-badge.is-funded {
  background: #e7f6ec;
  color: var(--explorer-green);
}

.ws-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.ws-meta-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ice-blue);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.ws-meta-badges svg {
  width: 18px;
  height: 18px;
  stroke: var(--eliot-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.ws-prereq-banner {
  margin-top: 16px;
  background: #fff4d6;
  border-left: 6px solid var(--discovery-orange);
  border-radius: 18px;
  padding: 14px 18px;
}

.ws-prereq-banner strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 6px;
}

.ws-prereq-banner ul {
  margin: 0;
  padding-left: 1.1rem;
}

.ws-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--deep-ink);
  margin: 0 0 14px;
}

.ws-section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--wonder-yellow);
}

.fund-bar.is-complete i {
  background: var(--explorer-green);
  width: 100%;
}

.ws-join-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.ws-join-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  background: var(--white);
  border-radius: 24px;
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
}

.ws-join-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.ws-join-card.is-food .ws-join-icon { background: #e7f6ec; }
.ws-join-card.is-materials .ws-join-icon { background: #fff1e4; }
.ws-join-card.is-fund .ws-join-icon { background: #e8f1ff; }
.ws-join-card.is-knowledge .ws-join-icon { background: #efeafc; }

.ws-join-icon svg {
  width: 36px;
  height: 36px;
}

.ws-join-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0;
  color: var(--deep-ink);
}

.ws-join-card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: rgba(16, 42, 86, 0.78);
}

.ws-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font: 700 0.86rem var(--font-display);
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.ws-join-btn::after {
  content: "→";
}

.ws-join-btn:hover,
.ws-join-btn:focus-visible {
  filter: brightness(0.93);
}

.ws-join-btn:focus-visible {
  outline: 2px solid var(--deep-ink);
  outline-offset: 2px;
}

.ws-join-card.is-food .ws-join-btn { background: var(--explorer-green); }
.ws-join-card.is-materials .ws-join-btn { background: var(--discovery-orange); }
.ws-join-card.is-fund .ws-join-btn { background: var(--eliot-blue); }
.ws-join-card.is-knowledge .ws-join-btn { background: #6b5cb8; }

.ws-contact-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  background: var(--ice-blue);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.ws-contact-banner h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  color: var(--deep-ink);
}

.ws-contact-banner p {
  margin: 0;
  max-width: 38rem;
}

.ws-contact-banner .btn {
  width: auto;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .ws-join-paths {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .ws-contact-banner .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .ws-join-paths {
    grid-template-columns: 1fr;
  }
}

.ws-card-fund {
  margin-top: auto;
  padding: 12px 18px 16px;
  background: var(--ice-blue);
}

.ws-card-fund.is-complete {
  background: #e7f6ec;
}

.ws-card-fund-bar {
  height: 12px;
  background: rgba(16, 42, 86, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.ws-card-fund-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--discovery-orange);
}

.ws-card-fund.is-complete .ws-card-fund-bar i {
  background: var(--explorer-green);
}

.ws-card-fund p {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.ws-card-fund.is-needed p {
  color: var(--discovery-orange);
}

.ws-card-fund.is-complete p {
  color: var(--explorer-green);
}

.ws-hero {
  padding: 0 0 28px;
}

.ws-hero-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--ice-blue);
  padding: 16px 20px;
}

.ws-hero-cover img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 720px);
  max-height: min(52vh, 420px);
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 28px rgba(16, 42, 86, 0.12);
}

.ws-hero-copy {
  padding-top: 32px;
}

.ws-preview-banner {
  background: var(--wonder-yellow);
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-weight: 700;
}

.ws-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.ws-lede-body h1,
.ws-lede-body h2,
.ws-lede-body h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.ws-lede-body p,
.ws-lede-body ul,
.ws-lede-body ol {
  margin: 0 0 10px;
}

.ws-lede-body {
  font-size: 1.15rem;
}

.ws-lede.is-clamped .ws-lede-body {
  max-height: 7.4em;
  overflow: hidden;
  position: relative;
}

.ws-lede.is-clamped .ws-lede-body::after {
  content: "…";
  position: absolute;
  right: 0;
  bottom: 0;
  padding-left: 3rem;
  background: linear-gradient(90deg, transparent, var(--warm-cream) 45%);
}

.ws-read-more {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--eliot-blue);
  font: 700 1rem var(--font-display);
  cursor: pointer;
  padding: 0;
}

.ws-hero-meta {
  font-weight: 700;
}

.ws-journey {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  padding: 0;
  margin: 28px 0 0;
}

.ws-journey-step {
  background: var(--white);
  border-radius: 20px;
  padding: 14px 16px;
  min-width: 0;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
}

.ws-journey-step.is-done {
  outline: 2px solid var(--explorer-green);
}

.ws-journey-step.is-current {
  outline: 3px solid var(--eliot-blue);
}

.ws-journey-icon {
  font-size: 1.3rem;
}

.ws-journey-stage {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.ws-journey-label {
  font-size: 0.85rem;
  color: rgba(16, 42, 86, 0.7);
}

.ws-journey-arrow {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eliot-blue);
  font-weight: 700;
}

.ws-budget-group {
  font-family: var(--font-display);
  margin-top: 8px;
}

.ws-budget-total {
  font-family: var(--font-display);
  font-size: 1.2rem;
  border-bottom: 0;
}

.ws-stats {
  background: var(--ice-blue);
  padding: 28px 0;
  margin-top: 28px;
}

.ws-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.ws-stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.ws-arc {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 28px 0 0;
}

.ws-story-body {
  padding: 36px 0 64px;
  display: grid;
  gap: 36px;
}

.ws-num {
  font-family: var(--font-display);
  color: var(--discovery-orange);
  margin: 0 0 8px;
}

.ws-obj-grid,
.ws-help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ws-obj-card {
  background: var(--white);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.ws-obj-card img {
  width: 100%;
  border-radius: 16px;
  margin-top: 10px;
}

.ws-goal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ws-goal-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: 24px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.ws-goal-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wonder-yellow);
  color: var(--deep-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
}

.ws-goal-copy {
  min-width: 0;
  padding-top: 8px;
}

.ws-goal-copy p {
  margin: 0;
  font-size: 1.05rem;
}

.ws-goal-copy .tag {
  margin-top: 8px;
}

.share-thanks-modal {
  border: 0;
  border-radius: 28px;
  padding: 0;
  margin: auto;
  max-width: 440px;
  width: calc(100% - 32px);
  background: var(--warm-cream);
  color: var(--deep-ink);
  box-shadow: 0 18px 50px rgba(16, 42, 86, 0.18);
}

.share-thanks-modal::backdrop {
  background: rgba(16, 42, 86, 0.45);
}

.share-thanks-inner {
  padding: 28px 24px 22px;
  text-align: center;
}

.share-thanks-inner img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.share-copied-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 14px;
  background: #e7f6ec;
  color: var(--explorer-green);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.share-copied-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.share-thanks-inner h2 {
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.share-thanks-inner p:not(.share-copied-badge) {
  margin: 0 0 18px;
}

.share-thanks-inner .btn {
  width: auto;
}

.ws-emoji {
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.ws-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.ws-timeline li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
}

.ws-timeline h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.ws-time-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--ice-blue);
  color: var(--eliot-blue);
  border-radius: 999px;
  padding: 3px 10px;
}

.ws-time-index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--eliot-blue);
}

.ws-timeline {
  gap: 10px;
}

.ws-timeline li {
  grid-template-columns: 40px 1fr;
  gap: 10px;
}

.ws-remaining-hero {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 16px 0 8px;
  color: var(--eliot-blue);
}

.ws-remaining-hero.is-over {
  color: var(--discovery-orange);
}

.ws-gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 24px;
  overflow: hidden;
}

.ws-output-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ws-output-thumbs .ws-gallery-open {
  width: 96px;
  height: 96px;
  border-radius: 14px;
}

.ws-output-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.ws-obs p,
.ws-obs ul,
.ws-obs ol {
  margin: 0 0 8px;
}

.img-lightbox {
  border: 0;
  padding: 16px;
  max-width: 96vw;
  background: #102A56;
  border-radius: 24px;
}

.img-lightbox::backdrop {
  background: rgba(16, 42, 86, 0.72);
}

.img-lightbox img {
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
}

.img-lightbox-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.img-lightbox-bar .btn {
  width: auto;
}

.table-wrap {
  overflow-x: auto;
}

.ws-public-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.ws-public-table th,
.ws-public-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
}

.ws-budget-hero {
  margin-bottom: 12px;
}

.ws-budget-hero strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  display: block;
}

.ws-budget-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.ws-budget-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
}

.fund-bar {
  height: 14px;
  background: rgba(16, 42, 86, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 18px;
}

.fund-bar i {
  display: block;
  height: 100%;
  background: var(--explorer-green);
}

.ws-help-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ws-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ws-gallery figure {
  margin: 0;
}

.ws-gallery img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: var(--ar, 4 / 3);
  object-fit: cover;
}

.ws-gallery figcaption,
.ws-photo-note {
  margin-top: 8px;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(16, 42, 86, 0.72);
}

.ws-gallery figcaption span {
  display: block;
  font-weight: 700;
  color: var(--eliot-blue);
}

.ws-quotes blockquote {
  margin: 0 0 16px;
  background: var(--white);
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.ws-quotes p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.ws-quotes cite {
  font-style: normal;
  font-weight: 700;
  color: rgba(16, 42, 86, 0.7);
}

.ws-result-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border-radius: 24px;
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.ws-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.ws-result-head h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.ws-result-head .tag {
  flex: 0 0 auto;
  align-self: flex-start;
  white-space: nowrap;
  line-height: 1.25;
}

.tag-achieved { background: #e7f6ec; }
.tag-partial { background: var(--wonder-yellow); }
.tag-not_achieved { background: #ffe4d6; }
.tag-not_assessed { background: var(--ice-blue); }

.ws-impact {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.ws-attach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ws-attach-grid.is-one {
  grid-template-columns: 1fr;
}

.ws-attach-grid.is-two {
  grid-template-columns: 1fr 1fr;
}

.ws-attach-grid.is-bento {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
}

.ws-attach-item {
  margin: 0;
  min-width: 0;
}

.ws-attach-grid.is-bento .ws-attach-item {
  display: flex;
  flex-direction: column;
  grid-column: span var(--cs, 2);
}

.ws-attach-item img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ws-attach-grid.is-bento .ws-gallery-open {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: calc(var(--cs, 2) / var(--rs, 2));
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.ws-attach-grid.is-bento .ws-attach-item img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.ws-attach-grid.is-bento.is-one {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.ws-attach-grid.is-bento.is-one .ws-attach-item {
  grid-column: 1;
  width: 100%;
  max-width: min(100%, 920px);
}

.ws-attach-grid.is-bento.is-one.is-portrait .ws-attach-item {
  max-width: min(100%, 440px);
}

.ws-attach-grid.is-bento.is-one .ws-gallery-open {
  aspect-ratio: auto;
  background: transparent;
}

.ws-attach-grid.is-bento.is-one img {
  height: auto;
  max-height: min(78vh, 680px);
  object-fit: contain;
  aspect-ratio: var(--ar, auto);
  background: #fff;
  border-radius: 24px;
}

.ws-attach-item .ws-gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.ws-thanks {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  margin-top: 0;
}

.ws-thanks-wrap {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  min-width: 0;
}

.ws-thanks img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.ws-thanks p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

@media (max-width: 900px) {
  .ws-public-grid,
  .ws-stats-grid,
  .ws-obj-grid,
  .ws-help-grid,
  .ws-gallery {
    grid-template-columns: 1fr;
  }

  .ws-journey {
    grid-template-columns: 1fr;
  }

  .ws-attach-grid:not(.is-bento),
  .ws-attach-grid.is-two:not(.is-bento) {
    grid-template-columns: 1fr;
  }

  .ws-attach-grid.is-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-attach-grid.is-bento .ws-attach-item {
    grid-column: span 1;
  }

  .ws-attach-grid.is-bento .ws-attach-item.is-landscape,
  .ws-attach-grid.is-bento .ws-attach-item.is-cs-6,
  .ws-attach-grid.is-bento .ws-attach-item.is-cs-4 {
    grid-column: span 2;
  }

  .ws-attach-grid.is-bento .ws-gallery-open {
    aspect-ratio: var(--ar, 4 / 3);
  }

  .ws-attach-grid.is-bento.is-one,
  .ws-attach-grid.is-bento.is-one .ws-attach-item {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / -1;
  }

  .ws-filters .ws-fx-bar {
    margin-left: 0;
    width: 100%;
  }

  .ws-filters .ws-fx-bar select {
    width: 100%;
  }

  .ws-thanks {
    flex-wrap: wrap;
  }

  .ws-share-btn {
    margin-left: 0;
  }

  .ws-hero-actions {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .ws-attach-grid.is-bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-attach-grid.is-bento .ws-attach-item,
  .ws-attach-grid.is-bento .ws-attach-item.is-landscape,
  .ws-attach-grid.is-bento .ws-attach-item.is-cs-6,
  .ws-attach-grid.is-bento .ws-attach-item.is-cs-4 {
    grid-column: 1 / -1;
  }

  .ws-attach-grid.is-bento .ws-gallery-open {
    max-height: min(72vh, 560px);
  }
}

.ws-print-masthead,
.ws-print-foot {
  display: none;
}

@media print {
  @page {
    size: A4;
    margin: 14mm 12mm 16mm;
  }

  html,
  body {
    background: #fff !important;
    color: #102a56;
  }

  body:has(.ws-story) .skip,
  body:has(.ws-story) .site-header,
  body:has(.ws-story) .site-footer,
  body:has(.ws-story) .nav-toggle,
  body:has(.ws-story) .contact-modal,
  body:has(.ws-story) .share-thanks-modal,
  .crumbs,
  .ws-hero-actions,
  .ws-fx-bar,
  .ws-read-more,
  .ws-join .ws-join-btn,
  .ws-contact-banner .btn,
  .ws-preview-banner {
    display: none !important;
  }

  .wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .ws-print-masthead {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 0 0 12px;
    margin: 0 0 16px;
    border-bottom: 3px solid #155eef;
  }

  .ws-print-masthead img {
    width: 56px;
    height: 56px;
    object-fit: contain;
  }

  .ws-print-brand {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #102a56;
  }

  .ws-print-kicker {
    margin: 2px 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #155eef;
  }

  .ws-hero {
    padding: 0;
  }

  .ws-hero-cover {
    margin: 0 0 14px;
    padding: 8px;
    max-height: none;
    overflow: visible;
  }

  .ws-hero-cover img {
    height: auto !important;
    max-height: 48mm;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
  }

  .ws-hero-copy {
    padding: 0;
  }

  .ws-hero h1 {
    font-size: 1.85rem;
    margin: 0 0 6px;
  }

  .ws-hero-question {
    font-size: 1.15rem;
    margin: 0 0 10px;
  }

  .ws-lede.is-clamped .ws-lede-body {
    max-height: none !important;
    overflow: visible !important;
  }

  .ws-lede.is-clamped .ws-lede-body::after {
    display: none !important;
  }

  .ws-meta-badges {
    margin-top: 10px;
  }

  .ws-meta-badges li {
    background: #fff;
    border: 1px solid rgba(16, 42, 86, 0.18);
    box-shadow: none;
  }

  .ws-story-body {
    padding: 18px 0 8px;
  }

  .ws-block,
  .ws-goal-banner,
  .ws-join-card,
  .ws-contact-banner,
  .ws-public-table,
  .ws-prereq-banner {
    break-inside: avoid;
  }

  .ws-section-title {
    font-size: 1.25rem;
  }

  .ws-goal-banner,
  .ws-join-card,
  .ws-contact-banner,
  .ws-prereq-banner {
    box-shadow: none;
    border: 1px solid rgba(16, 42, 86, 0.12);
  }

  .ws-public-table {
    width: 100%;
    border-collapse: collapse;
  }

  .ws-public-table th,
  .ws-public-table td {
    border-bottom: 1px solid rgba(16, 42, 86, 0.14);
    padding: 8px 10px;
  }

  .ws-stats {
    background: #fff;
    border: 1px solid rgba(16, 42, 86, 0.12);
    border-radius: 16px;
    margin-top: 12px;
    padding: 12px 0;
  }

  .ws-print-foot {
    display: block !important;
    margin: 22px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(16, 42, 86, 0.16);
    font-size: 0.82rem;
    color: #102a56;
  }

  .ws-attach-grid.is-bento .ws-gallery-open {
    aspect-ratio: var(--ar, auto);
    height: auto;
  }

  .ws-attach-grid.is-bento img {
    height: auto !important;
    max-height: 70mm;
    object-fit: contain !important;
  }
}
