.cs-stories .fm-hero-copy {
  position: relative;
}

.cs-stories .fm-hero-copy::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(42, 154, 173, 0.72) 15%, rgba(42, 154, 173, 0.2) 82%, transparent);
}

.cs-filters .bold,
.cs-map .bold,
.cs-map-link .bold {
  color: inherit;
}

.cs-hero-photos {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.55rem;
  margin: 0;
  min-height: 18rem;
}

.cs-hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-hero-photos img:first-child {
  grid-row: 1 / span 2;
  min-height: 18rem;
}

.cs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}

.cs-card[hidden] {
  display: none;
}

.cs-filters button {
  appearance: none;
  border-radius: 0;
  border: 1px solid var(--fm-line);
  background: var(--fm-bg);
  color: var(--fm-ink);
  font-family: var(--fm-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.cs-filters button[aria-pressed="true"] {
  background: var(--fm-hero);
  border-color: var(--fm-hero);
  color: #fff;
}

.cs-filters button:hover {
  border-color: var(--fm-accent);
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  width: min(92vw, 80rem);
  margin-inline: calc((100% - min(92vw, 80rem)) / 2);
}

.cs-card {
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  box-shadow: var(--fm-shadow);
  min-width: 0;
}

.cs-card.is-open {
  border-color: var(--fm-accent);
  box-shadow: inset 0 0 0 1px var(--fm-accent), var(--fm-shadow);
}

.cs-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.cs-card-link:hover {
  text-decoration: none;
}

.cs-card-link img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  display: block;
}

.cs-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  padding: 1.35rem 1.5rem 1.5rem;
}

.cs-sector {
  margin: 0;
  color: var(--fm-accent);
  font-family: var(--fm-font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-stories .cs-title {
  margin: 0;
  font-size: calc(clamp(1.25rem, 2vw, 1.45rem) + 0.2rem);
  line-height: 1.25;
  text-wrap: balance;
}

.cs-stories .cs-card-quote,
.cs-stories .cs-card-problem {
  margin: 0.2rem 0 0;
  font-family: var(--fm-font-display);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fm-ink);
}

.cs-card-quote::before { content: "\201C"; }
.cs-card-quote::after { content: "\201D"; }

.cs-map {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--fm-brand-deep);
  font-weight: 600;
  font-size: 0.98rem;
}

.cs-map img {
  display: block;
  width: auto;
  height: 2.15rem;
  object-fit: contain;
}

.cs-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.cs-read {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--fm-line);
  background: var(--fm-wash);
  color: var(--fm-brand-deep);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cs-read::after {
  content: " \2192";
}

.cs-card-link:hover .cs-read,
.cs-card.is-open .cs-read {
  background: var(--fm-brand);
  border-color: var(--fm-brand);
  color: #fff;
}

body.cs-reading {
  overflow: hidden;
}

.cs-reader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: rgba(15, 44, 62, 0.72);
  overflow: auto;
}

.cs-reader[hidden] {
  display: none;
}

.cs-reader-sheet {
  position: relative;
  width: min(100%, 66rem);
  margin-block: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--fm-bg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px -28px rgba(8, 24, 36, 0.7);
}

.cs-reader-photo {
  margin: 0;
  min-height: 11rem;
  max-height: 16rem;
  overflow: hidden;
}

.cs-reader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-reader-copy {
  position: relative;
  padding: 3.5rem 1.6rem 1.85rem;
}

.cs-reader-copy .cs-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  margin: 0;
  background: #fff;
}

.cs-reader .cs-label {
  margin: 1.5rem 0 0.45rem;
  color: var(--fm-accent);
  font-family: var(--fm-font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-reader-copy > .cs-label:first-of-type {
  margin-top: 0.2rem;
}

.cs-reader-copy .cs-sector {
  margin-bottom: 0.4rem;
}

.story-reader-title {
  margin: 0 0 1.15rem;
  font-family: var(--fm-font-display);
  font-size: calc(clamp(1.55rem, 2.2vw, 2.05rem) + 0.2rem);
  font-weight: 550;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--fm-ink);
}

.cs-reader-copy > p {
  margin-bottom: 0.85rem;
}

.cs-reader hr {
  border: 0;
  border-top: 1px solid var(--fm-line);
  margin: 1.75rem 0;
}

.cs-map-used,
.cs-outcome {
  margin: 0;
  padding: 0;
  border: 0;
}

.cs-map-used .cs-label,
.cs-outcome .cs-label {
  margin: 0 0 0.7rem;
}

.cs-map-used-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
}

.cs-map-used .cs-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem 0.3rem 0.45rem;
  border: 1px solid var(--fm-line);
  background: var(--fm-surface);
}

.cs-map-used .cs-map img {
  height: 1.15rem;
}

.cs-reader .cs-map-name {
  margin: 0;
  font-family: var(--fm-font-display);
  font-size: 1.15rem;
  font-weight: 550;
  line-height: 1.2;
  color: var(--fm-ink);
}

.cs-map-name .bold {
  color: inherit;
  font-weight: inherit;
}

.cs-map-used .cs-read:hover {
  background: var(--fm-brand);
  border-color: var(--fm-brand);
  color: #fff;
  text-decoration: none;
}

.cs-reader .cs-outcome blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--fm-font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--fm-ink);
}

.cs-reader .cs-outcome blockquote::before { content: "\201C"; }
.cs-reader .cs-outcome blockquote::after { content: "\201D"; }

.cs-close {
  appearance: none;
  border-radius: 0;
  margin-top: 1.35rem;
  border: 1px solid var(--fm-line);
  background: var(--fm-surface);
  color: var(--fm-ink);
  font-family: var(--fm-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.cs-close:hover {
  border-color: var(--fm-accent);
}

@media (max-width: 859px) {
  .cs-hero-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .cs-hero-photos img:first-child {
    grid-row: auto;
    min-height: 0;
    height: 12.5rem;
  }

  .cs-hero-photos img:not(:first-child) {
    display: none;
  }
}

@media (min-width: 760px) {
  .cs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cs-card-body {
    padding: 1.7rem 3.4rem 1.85rem;
  }

  .cs-reader-sheet {
    grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  }

  .cs-reader-copy {
    padding: 3.6rem 2.6rem 2.2rem;
  }

  .cs-reader-photo {
    position: relative;
    max-height: none;
    min-height: 100%;
  }

  .cs-reader-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}
