.ed-guide .hero h1 {
  font-size: clamp(2.45rem, 5.05vw, 5rem);
}

.ed-guide .hero h1 em {
  display: block;
  margin-block-start: .08em;
}

.ed-hero-art {
  justify-self: end;
  width: min(100%, 27rem);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-help a {
  color: #f4ecba;
  text-decoration: underline;
  text-underline-offset: .15em;
  font-weight: 650;
}

.ed-picker {
  border-color: #c9d8c0;
  background: #e6eee2;
}

.ed-picker .tab-list button {
  min-block-size: 3.25rem;
  text-align: center;
}

.ed-picker .tab-panel p {
  max-inline-size: 72ch;
}

.compact-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, .5fr);
  align-items: center;
  gap: 1rem 1.6rem;
  background: #f2eee3;
}

.compact-photo img {
  width: min(100%, 18.5rem);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .9rem;
  justify-self: end;
}

.compact-photo h3 {
  margin-block-end: .45rem;
}

.ed-guide .emergency-card {
  border-inline-start: 4px solid var(--red);
}

.ed-guide .emergency-button {
  justify-self: start;
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.ed-guide .emergency-button:hover {
  background: #602e29;
  border-color: #602e29;
}

.ed-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: 1rem;
}

.anatomy-card {
  background: #f0f4ec;
}

.anatomy-layout {
  display: grid;
  grid-template-columns: minmax(5.2rem, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  margin: .2rem 0;
}

.anatomy-layout figcaption {
  display: grid;
  gap: .45rem;
  font-size: .93rem;
}

.anatomy-disc {
  position: relative;
  justify-self: center;
  width: min(100%, 8rem);
  aspect-ratio: 1.02;
  background: #e5eadc;
  border: 2px solid #709080;
  box-shadow: inset 0 0 0 6px #f4f7ed;
  border-radius: 50% 50% 43% 43%;
}

.cavernosum {
  position: absolute;
  inset-block-start: 17%;
  width: 35%;
  height: 43%;
  border: 2px solid #225944;
  border-radius: 47% 47% 45% 45%;
  background: radial-gradient(circle at 34% 32%, #bcddc1 1px, transparent 1.5px) 1px 0/7px 7px, #5e9678;
}

.cavernosum-left { inset-inline-start: 12%; }
.cavernosum-right { inset-inline-end: 12%; }

.spongiosum {
  position: absolute;
  inset-block-start: 57%;
  inset-inline-start: 37%;
  width: 26%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid #806036;
  border-radius: 50%;
  background: #d7bd91;
}

.spongiosum::before {
  content: "";
  width: 28%;
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid #634d2c;
  border-radius: 50%;
}

.ed-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 1.2rem;
  margin: 0;
}

.ed-factors div {
  border-inline-start: 3px solid #92b099;
  padding-inline-start: .6rem;
}

.ed-factors dt {
  font-weight: 700;
  color: var(--ink);
}

.ed-factors dd {
  font-size: .94rem;
  color: var(--body);
}

.age-banner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  background: var(--mint);
}

.age-banner > div {
  display: grid;
  align-content: start;
  gap: .5rem;
}

.age-banner figure {
  display: grid;
  gap: .5rem;
  margin: 0;
}

.age-rows {
  display: grid;
  gap: .36rem;
}

.age-rows > div {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr) 3.55rem;
  align-items: center;
  gap: .55rem;
  font-size: .91rem;
  font-weight: 650;
}

.age-rows > div > dd:last-child {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.age-rows .age-track {
  height: .55rem;
  border-radius: .3rem;
  background: #dbe5d7;
}

.age-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #347458;
}

.age-banner figcaption {
  color: var(--body);
  font-size: .88rem;
}

.ed-topline {
  border-block-start: 3px solid #86a894;
}

.ed-topline:nth-child(even) {
  border-block-start-color: #c4a260;
}

.psa-study {
  display: grid;
  grid-template-columns: minmax(6.5rem, .23fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem 1.65rem;
  background: #e6efe7;
  border-inline-start: 4px solid #347458;
}

.psa-number p {
  color: var(--green);
  font: 650 clamp(2.9rem, 7vw, 5.15rem)/.98 var(--heading);
  letter-spacing: -.045em;
}

.psa-number span {
  color: var(--body);
  font-size: .88rem;
  font-weight: 650;
}

.psa-study-copy {
  display: grid;
  gap: .6rem;
}

.psa-study-copy .actions {
  margin-block-start: .2rem;
}

.psa-question { background: #f6f0e3; }

.ed-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.15rem;
}

.interaction-card {
  background: var(--amber);
  border-inline-start: 4px solid #b69152;
}

.care-label {
  font-weight: 650;
}

.call-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
}

.ed-guide .visit-list .list-status:empty {
  position: absolute;
  display: block;
}

@media (max-width: 48rem) {
  .ed-hero-art { justify-self: start; width: min(100%, 23rem); }
  .ed-feature-grid, .age-banner { grid-template-columns: 1fr; }
}

@media (max-width: 34rem) {
  .compact-photo, .psa-study { grid-template-columns: 1fr; }
  .compact-photo img { justify-self: start; }
}

@media print {
  .hero-help a { color: var(--ink); }
  .compact-photo img { display: none; }
}
