.supervised-learning article > header > p:not(.text-muted),
.supervised-learning article section[id] p,
.supervised-learning article section[id] li {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.supervised-learning .supervised-learning-map-scroll {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: #f6fbfa;
}

/* Preserve readable labels; only the frame scrolls on narrow screens. */
.supervised-learning .supervised-learning-map-scroll #gp-sl-map {
  display: block;
  width: 100%;
  min-width: 36rem;
  max-width: 64rem;
  height: auto;
  margin-inline: auto;
}

/* The shared stylesheet reserves 115px for the fixed 90px header. */
.supervised-learning section[id] {
  scroll-margin-top: 1rem;
}

.supervised-learning .row > * {
  min-width: 0;
}

#main.supervised-learning p a {
  color: var(--text-theme-color);
  text-decoration: none;
}

/* Anchor targets receive focus without framing the entire text section. */
.supervised-learning section[tabindex="-1"]:focus {
  outline: none;
}

.supervised-learning .supervised-learning-map-scroll:focus-visible,
.supervised-learning p a:focus-visible,
.supervised-learning .blog-sidbar a:focus-visible {
  outline: 3px solid var(--text-color);
  outline-offset: 4px;
}

@media (max-width: 767.98px) {
  .supervised-learning .supervised-learning-map-scroll {
    max-height: 70vh;
  }
}
