/* ========== Ideas / Women’s health innovations ========== */

.page-womens-health {
  --wh-width: min(1120px, 94vw);
  --wh-pad: clamp(20px, 3.5vw, 40px);
  --wh-ink: #1a1d23;
  --wh-blue: #81c9f3;
  --wh-gold: #ebcb00;
  background: #fff;
  color: var(--wh-ink);
}

.wh-shell {
  width: var(--wh-width);
  max-width: 100%;
  margin: 0 auto;
  padding-left: var(--wh-pad);
  padding-right: var(--wh-pad);
  box-sizing: border-box;
}

.wh-crumb {
  margin: 0;
  padding: 1.35rem 0 1rem;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--wh-ink);
}

.wh-crumb a {
  color: inherit;
  text-decoration: none;
}

.wh-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wh-crumb span {
  color: var(--wh-ink);
}

/* Hero */
.wh-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1a1d23;
  color: #fff;
}

.wh-hero video,
.wh-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.35) 0%, rgba(10, 14, 20, 0.55) 100%);
}

.wh-hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 4rem var(--wh-pad);
  max-width: 18ch;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.wh-hero-toggle {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1d23;
  font-size: 0.85rem;
  cursor: pointer;
}

.wh-hero-toggle:hover {
  background: #fff;
}

/* Intro */
.wh-intro {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.wh-intro-inner {
  max-width: 52rem;
}

.wh-intro-note {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: #3a414b;
}

.wh-intro p {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2a2f36;
}

.wh-callout {
  float: right;
  width: min(280px, 42%);
  margin: 0 0 1.25rem 1.75rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 10px;
  background: var(--wh-blue);
  color: var(--wh-ink);
}

.wh-callout h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.wh-callout p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.5;
}

.wh-intro::after {
  content: "";
  display: table;
  clear: both;
}

/* Topic grid */
.wh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.wh-grid-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  min-height: 210px;
}

.wh-grid-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.wh-grid-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Feature rows */
.wh-feature {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
  scroll-margin-top: 88px;
}

.wh-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.wh-feature-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.wh-feature p {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2a2f36;
}

.wh-media {
  margin: 0;
}

.wh-media img,
.wh-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}

.wh-rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--wh-gold);
}

/* Related + inbox */
.wh-mid {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.wh-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.wh-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wh-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.wh-card h3 {
  margin: 0.85rem 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wh-card:hover h3 {
  color: var(--blue, #00558c);
}

.wh-card p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.wh-card .wh-byline {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: #666;
}

.wh-inbox {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0 0.5rem;
}

.wh-inbox h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wh-inbox p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.55;
}

.wh-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.wh-form input {
  flex: 1 1 180px;
  min-height: 50px;
  border: 1px solid #d5d8de;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.wh-form button {
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  padding: 0.65rem 1.3rem;
  background: #2a2f36;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
}

.wh-form button:hover {
  background: #111;
}

.wh-legal {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #5a6068;
}

.wh-legal a {
  color: inherit;
}

/* Discover */
.wh-discover {
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}

.wh-discover-copy {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.wh-discover-copy p {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
}

.wh-discover-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
}

.wh-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Bottom newsletter */
.wh-subscribe {
  padding: 2.5rem 0 3.5rem;
}

.wh-subscribe-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.1rem 2.25rem;
  border-radius: 22px;
  background: var(--yellow, #f5c400);
}

.wh-subscribe-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wh-subscribe-card p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .wh-callout {
    float: none;
    width: auto;
    margin: 0 0 1.25rem;
  }

  .wh-grid,
  .wh-feature-grid,
  .wh-related,
  .wh-discover-grid,
  .wh-inbox,
  .wh-subscribe-card {
    grid-template-columns: 1fr;
  }

  .wh-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wh-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-womens-health {
    --wh-pad: 14px;
  }
}
