/* Additional theme overrides for UChicago Maroon colors */

/* Override PyData Sphinx Theme default link colors */
a, a:link, a:visited {
  color: #800000 !important;  /* UChicago Maroon */
}

a:hover, a:focus, a:active {
  color: #600000 !important;  /* Darker Maroon */
}

/* Current page/chapter highlighting in TOC */
.bd-sidebar .current > a,
.bd-sidebar .current.current > a,
.bd-toc .current > a {
  color: #800000 !important;  /* UChicago Maroon */
  background-color: #f5e6d3 !important;  /* Warm Cream */
  font-weight: bold !important;
}

/* Navigation next/previous buttons */
.prev-next-bottom a,
.prev-next-area a,
.page-nav a {
  color: #800000 !important;  /* UChicago Maroon */
}

.prev-next-bottom a:hover,
.prev-next-area a:hover,
.page-nav a:hover {
  color: #600000 !important;  /* Darker Maroon */
}

/* PyData theme specific link overrides */
.bd-content a,
.bd-content a:link,
.bd-content a:visited {
  color: #800000 !important;  /* UChicago Maroon */
}

.bd-content a:hover,
.bd-content a:focus,
.bd-content a:active {
  color: #600000 !important;  /* Darker Maroon */
}

/* TOC tree navigation */
.bd-toc .nav > li > a.active,
.bd-toc .nav > li > a.current {
  color: #800000 !important;  /* UChicago Maroon */
  background-color: #f5e6d3 !important;  /* Warm Cream */
}

/* External and internal link styling */
.reference.external,
.reference.internal {
  color: #800000 !important;  /* UChicago Maroon */
}

.reference.external:hover,
.reference.internal:hover {
  color: #600000 !important;  /* Darker Maroon */
}