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

.classical-machine-learning .classical-machine-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. */
.classical-machine-learning .classical-machine-learning-map-scroll #gp-cml-map {
  width: 100%;
  display: block;
  min-width: 36rem;
  max-width: 64rem;
  height: auto;
  margin-inline: auto;
}

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

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

.classical-machine-learning section[tabindex="-1"]:focus {
  outline: none;
}

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

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

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

.classical-machine-learning .classical-machine-learning-table-scroll {
  max-width: 100%;
  overflow: auto;
  overscroll-behavior-x: contain;
  margin-bottom: 1rem;
}

.classical-machine-learning table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
}

.classical-machine-learning caption {
  caption-side: top;
  color: var(--text-color);
}

.classical-machine-learning th,
.classical-machine-learning td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  vertical-align: top;
}

.classical-machine-learning th {
  font-weight: 600;
}
