/* schwangerwerden.org LIVE 1.0.7 — final editorial teaching-illustration system.
   This layer is deliberately limited to the cervical-mucus and fingertip
   comparison units. Medical models, calculations and stored values are not
   changed here. */

.body-mucus-compare-intro {
  max-width: 54ch;
}

.body-mucus-visual-sequence {
  border-color: rgba(62, 91, 83, 0.2);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 16px 40px rgba(48, 55, 53, 0.045);
}

.body-mucus-visual-sequence > li {
  display: block;
  padding: 0;
}

.body-mucus-visual-sequence > li + li {
  border-top: 1px solid rgba(62, 91, 83, 0.16);
}

.body-mucus-sample {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  background: linear-gradient(
    180deg,
    rgba(232, 238, 233, 0.28) 0,
    rgba(255, 253, 248, 0) 46%
  );
}

.body-mucus-state-art,
.body-mucus-visual-sequence > li img {
  display: block;
  inline-size: min(100%, 260px) !important;
  width: min(100%, 260px) !important;
  max-inline-size: 260px;
  aspect-ratio: 5 / 3;
  margin: 10px auto 2px;
  border-radius: 0;
  background: none;
  object-fit: contain;
}

.body-mucus-sample figcaption {
  width: 100%;
  min-width: 0;
  padding: 2px 18px 18px;
}

.body-mucus-sample figcaption > strong {
  display: block;
  margin: 0 0 10px;
  color: var(--v2-plum, #543d55);
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.body-mucus-traits {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(62, 91, 83, 0.12);
}

.body-mucus-traits > div {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(106px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(62, 91, 83, 0.1);
}

.body-mucus-traits dt,
.body-mucus-traits dd {
  min-width: 0;
  margin: 0;
}

.body-mucus-traits dt {
  color: var(--v2-sage-deep, #3e5b53);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.body-mucus-traits dd {
  color: var(--v2-ink, #303735);
  font-size: 13.5px;
  line-height: 1.4;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.body-mucus-context {
  margin: 10px 0 0 !important;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(232, 238, 233, 0.56);
  color: var(--v2-sage-deep, #3e5b53) !important;
  font-size: 13px !important;
  font-weight: 680;
  line-height: 1.4 !important;
}

.body-finger-check {
  margin-top: 22px;
  padding: clamp(16px, 3vw, 22px);
  border-color: rgba(109, 72, 98, 0.15);
  border-radius: 20px;
  background: rgba(238, 225, 221, 0.22);
}

.body-finger-check > p {
  max-width: 58ch;
  margin-bottom: 15px;
}

.body-finger-grid {
  display: grid;
  overflow: visible;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 0;
  border-block: 1px solid rgba(62, 91, 83, 0.16);
  border-radius: 0;
  background: transparent;
}

.body-finger-grid > figure {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-items: center;
  background: transparent;
}

.body-finger-grid > figure + figure {
  border-top: 1px solid rgba(62, 91, 83, 0.14);
}

.body-finger-art,
.body-finger-grid > figure img {
  display: block;
  inline-size: min(100%, 270px) !important;
  width: min(100%, 270px) !important;
  max-inline-size: 270px;
  aspect-ratio: 5 / 3;
  margin: 8px auto 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}

.body-finger-grid figcaption {
  width: 100%;
  min-width: 0;
  padding: 2px 16px 17px;
}

.body-finger-grid figcaption strong {
  display: block;
  margin: 0 0 5px;
  color: var(--v2-plum, #543d55);
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.body-finger-grid figcaption p {
  margin: 0;
  color: var(--v2-muted, #626b68);
  font-size: 13.5px;
  line-height: 1.42;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 430px) {
  .body-mucus-sample figcaption {
    padding-inline: 15px;
  }

  .body-mucus-state-art,
  .body-mucus-visual-sequence > li img {
    inline-size: min(100%, 238px) !important;
    width: min(100%, 238px) !important;
  }

  .body-finger-check {
    padding: 14px 10px;
  }

  .body-finger-grid figcaption {
    padding-inline: 14px;
  }

  .body-mucus-traits > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    align-items: start;
  }

  .body-mucus-traits dt {
    white-space: normal;
  }
}

@media (max-width: 340px) {
  .body-mucus-traits > div {
    gap: 2px;
  }

  .body-mucus-traits dt {
    font-size: 10px;
    letter-spacing: 0.055em;
  }

  .body-mucus-traits dd,
  .body-finger-grid figcaption p {
    font-size: 13px;
  }
}
