/* ==========================================================
   Menopause Page
   ========================================================== */

.menopause-page {
  width: 100%;
}

.menopause-hero {
  margin-bottom: 1.25rem;
}

.menopause-hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ==========================================================
   Intro
   ========================================================== */

.menopause-card {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgb(6 28 96 / 12%);
  border-top: 5px solid var(--dph-tertiary, #d08b38);
  border-radius: 8px;
}

.menopause-card h1 {
  margin: 0 0 1rem;
  color: var(--dph-primary, #061c60);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.15;
  text-transform: capitalize;
}

.menopause-card p {
  margin: 0 0 1rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

.menopause-card p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   Resources
   ========================================================== */

.menopause-resources {
  padding: 1rem;
  background: #f8fbfc;
  border: 1px solid rgb(6 28 96 / 10%);
  border-radius: 8px;
}

.menopause-section-header {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1rem;
}

.menopause-section-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #fff;
  background: var(--dph-primary, #061c60);
  border-radius: 10px;
}

.menopause-section-header h2 {
  margin: 0;
  color: var(--dph-primary, #061c60);
  font-size: 1.55rem;
  line-height: 1.2;
}

.menopause-section-header p {
  margin: .2rem 0 0;
  color: var(--dph-secondary, #6c757d);
  font-size: .98rem;
  line-height: 1.45;
}

/* ==========================================================
   Guide Card
   ========================================================== */

.menopause-resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.menopause-guide-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  overflow: hidden;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgb(6 28 96 / 12%);
  border-radius: 8px;
}

.menopause-guide-card__image {
  display: block;
  width: 110px;
  height: 140px;
  object-fit: cover;
  border: 1px solid rgb(6 28 96 / 12%);
  border-radius: 8px;
}

.menopause-guide-card__body {
  min-width: 0;
}

.menopause-guide-card__body h3 {
  margin: 0 0 .35rem;
  color: var(--dph-primary, #061c60);
  font-size: 1.15rem;
  line-height: 1.25;
}

.menopause-guide-card__body p {
  margin: 0 0 .85rem;
  color: #475569;
  font-size: .95rem;
  line-height: 1.5;
}

/* ==========================================================
   Language Select
   ========================================================== */

.menopause-language-picker {
  width: 100%;
  max-width: 240px;
  min-width: 0;
}

.menopause-language-picker select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: .7rem .9rem;
  color: var(--dph-primary, #061c60);
  background: #fff;
  border: 1px solid rgb(6 28 96 / 16%);
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.menopause-language-picker select:hover {
  border-color: var(--dph-info, #00b4c5);
}

.menopause-language-picker select:focus {
  border-color: var(--dph-info, #00b4c5);
  outline: none;
  box-shadow: 0 0 0 3px rgb(0 180 197 / 18%);
}

/* ==========================================================
   Highlight
   ========================================================== */

.menopause-highlight {
  font-weight: 700;
  color: var(--dph-primary, #061c60);
  background-image: linear-gradient(
    transparent 85%,
    rgb(255 222 89 / 60%) 85%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 .08em;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 600px) {
  .menopause-card,
  .menopause-resources {
    padding: 1rem;
  }

  .menopause-card h1 {
    font-size: 1.55rem;
  }

  .menopause-card p {
    font-size: .95rem;
    line-height: 1.6;
  }

  .menopause-section-header {
    gap: .7rem;
  }

  .menopause-section-header__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .menopause-section-header h2 {
    font-size: 1.35rem;
  }

  .menopause-guide-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .85rem;
    padding: 1rem;
    text-align: center;
  }

  .menopause-guide-card__image {
    width: 96px;
    height: 122px;
  }

  .menopause-guide-card__body {
    width: 100%;
    min-width: 0;
  }

  .menopause-guide-card__body h3 {
    font-size: 1rem;
  }

  .menopause-guide-card__body p {
    font-size: .88rem;
    line-height: 1.45;
  }

  .menopause-language-picker {
    width: 100%;
    max-width: 100%;
  }

  .menopause-language-picker select {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 550px) {
  .menopause-resource-grid,
  .menopause-guide-card,
  .menopause-guide-card__body,
  .menopause-language-picker,
  .menopause-language-picker select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .menopause-guide-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    padding: .85rem;
  }

  .menopause-guide-card__image {
    align-self: center;
    width: 92px;
    height: 118px;
  }

  .menopause-guide-card__body {
    display: block;
    overflow-wrap: anywhere;
  }

  .menopause-language-picker select {
    appearance: auto;
    font-size: .9rem;
    padding: .65rem .5rem;
  }
}