/* Keep the kidney and dialysis photographs in matching frames at every size. */
#nephrology .specialty-photos img {
  aspect-ratio: 453 / 278;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Nephrology hours are shown beside the department content, outside the treatment disclosure. */
.nephrology-schedules {
  container-type: inline-size;
  container-name: nephrology-schedules;
  min-width: 0;
  margin-top: 32px;
}
.nephrology-schedule + .nephrology-schedule {
  margin-top: 28px;
}
.nephrology-schedule h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.nephrology-schedule-frame {
  border-block: 2px solid var(--navy);
}
.nephrology-schedule-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--muted) var(--soft);
}
.nephrology-schedule-scroll:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}
.nephrology-schedule-hint {
  display: none;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.nephrology-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.nephrology-schedule-table caption,
.nephrology-schedule-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nephrology-schedule-table th,
.nephrology-schedule-table td {
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.nephrology-schedule-table thead th {
  background: var(--soft);
  color: var(--navy);
  font-weight: 700;
}
.nephrology-schedule-table tbody th,
.nephrology-schedule-table tbody td {
  background: var(--white);
}
.nephrology-schedule-table tbody th {
  font-weight: 600;
}
.nephrology-schedule-table tbody tr:last-child > * {
  border-bottom: 0;
}
.nephrology-schedule-table abbr {
  text-decoration: none;
}
.nephrology-hours-table th,
.nephrology-hours-table td {
  text-align: start;
}
.nephrology-hours-table th:first-child {
  width: 42%;
}
.nephrology-clinic-table {
  min-width: 520px;
  table-layout: fixed;
}
.nephrology-clinic-table th:first-child {
  width: 22%;
}
.nephrology-clinic-table th,
.nephrology-clinic-table td {
  padding-inline: 5px;
}
.nephrology-schedule-clinic {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
.nephrology-schedule-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
@container nephrology-schedules (max-width: 519px) {
  .nephrology-schedule-hint { display: block; }
}
@media print {
  .nephrology-schedule-scroll { overflow: visible; }
  .nephrology-clinic-table { min-width: 0; }
  .nephrology-schedule-hint { display: none; }
}
