/* Hearing guide and weekly exposure comparison. */
.oto-hearing-guide {
  padding: clamp(3rem, 7vw, 7rem) 0;
  scroll-margin-top: 7rem;
  background: #edf7f7;
  color: #122c46;
}
.oto-hearing-guide__layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
}
.oto-hearing-guide__intro h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
}
.oto-hearing-guide__label {
  color: #136966;
  font-weight: 800;
}
.oto-hearing-guide__intro > p:not(.oto-hearing-guide__label) {
  max-width: 49ch;
  color: #324e63;
}
.oto-hearing-guide__intro .oto-btn { margin-top: .5rem; }

.oto-hearing-chart {
  padding: clamp(1rem, 3vw, 2.25rem);
  border-radius: 1.5rem;
  color: #fff;
  background: #102b44;
  box-shadow: 0 20px 48px rgba(16, 43, 68, .15);
}
.oto-hearing-chart fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.oto-hearing-chart legend {
  margin-bottom: .85rem;
  padding: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}
.oto-hearing-chart__row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) minmax(4.5rem, 8rem);
  align-items: center;
  gap: clamp(.4rem, 1.4vw, .85rem);
  min-height: 3rem;
  margin: .3rem 0;
  padding: .45rem .55rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.oto-hearing-chart__row:hover,
.oto-hearing-chart__row:has(input:checked) { background: #20445b; border-color: #56808c; }
.oto-hearing-chart__row:focus-within { outline: 2px solid #94f0df; outline-offset: 2px; }
.oto-hearing-chart__row input[type="radio"] { width: 1rem; height: 1rem; margin: 0; accent-color: #70dfcb; }
.oto-hearing-chart__db { white-space: nowrap; font-weight: 800; }
.oto-hearing-chart__time { text-align: end; font-size: .9rem; }
.oto-hearing-chart__track { display: block; height: .6rem; background: #35566a; }
.oto-hearing-chart__track span { display: block; height: 100%; background: #83aeb3; }
.oto-hearing-chart__row:has(input:checked) .oto-hearing-chart__track span { background: #70dfcb; }
.oto-hearing-chart p { margin: 1rem 0 0; color: #c5dce4; font-size: .875rem; }
.oto-hearing-chart a { color: #a0f2e3; }
.oto-hearing-chart a, .oto-hearing-guide__materials a { text-decoration: underline; text-underline-offset: .18em; }

.oto-hearing-guide__materials { max-width: 52rem; margin: clamp(2rem, 5vw, 4rem) auto 0; }
.oto-hearing-guide__materials h3 { margin-bottom: 1rem; }
.oto-hearing-guide__materials details {
  margin: .7rem 0;
  border: 1px solid #c7dbdf;
  border-radius: .8rem;
  background: #fff;
}
.oto-hearing-guide__materials summary { padding: .95rem 1rem; cursor: pointer; font-weight: 800; }
.oto-hearing-guide__materials summary::marker { color: #136966; }
.oto-hearing-guide__materials details p { padding: 0 1rem 1rem; }
.oto-hearing-guide__materials p { margin: 0; }
.oto-hearing-guide__materials a { color: #145e77; }
.oto-hearing-guide__urgent {
  margin-top: 1.25rem;
  padding: 1rem;
  border-inline-start: .25rem solid #a44f28;
  border-radius: .5rem;
  background: #fff5e9;
}
.oto-hearing-guide__urgent strong { display: block; margin-bottom: .35rem; }

@media (max-width: 760px) {
  .oto-hearing-guide__layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .oto-hearing-chart__row { grid-template-columns: auto auto minmax(0, 1fr); }
  .oto-hearing-chart__track { grid-column: 2 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .oto-hearing-chart__row { transition: none; }
}

.oto-quick-links__grid > a.oto-quick-links__guide { background: #edf7f7; }
.oto-quick-links__grid > a.oto-quick-links__guide:hover,
.oto-quick-links__grid > a.oto-quick-links__guide:focus-visible { background: #d6eeed; }
.oto-quick-links__guide .oto-icon { color: #136966; background: #d6eeed; }
.oto-quick-links__grid > a:focus-visible { outline-offset: -4px; }