/* "Did you know?" sections */
section#did-you-know {
  background: #fef9e7;
  border-left: 4px solid #f39c12;
  border-radius: 4px;
  padding: 16px 24px;
  margin-top: 2em;
}

section#did-you-know h2 {
  color: #e67e22;
  margin-top: 0;
}

/* Subtle heading color */
h2 { color: #2c3e50; }
h3 { color: #34495e; }

/* Sidebar section headings only (not child page links) */
.sidebar-item-section > .sidebar-item-container > .sidebar-item-text {
  color: #2471a3;
  font-weight: 700;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Active/selected sidebar item */
.sidebar-item .sidebar-link.active {
  background: #2c3e50;
  color: #ffffff !important;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 1px 0;
}

/* Nicer tables */
table {
  border-collapse: collapse;
  margin: 1em 0;
}
th {
  background: #2c3e50;
  color: white;
  padding: 8px 14px;
}
td {
  padding: 8px 14px;
  border-bottom: 1px solid #ecf0f1;
}
tr:nth-child(even) {
  background: #f8f9fa;
}

/* Example callouts (light blue) */
div.callout.callout-tip.callout-style-simple {
  background: #ebf5fb !important;
  border-left: 4px solid #3498db !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 4px;
}

/* Narrower right-side TOC */
#quarto-margin-sidebar {
  max-width: 180px;
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid #dcdde1;
  margin: 2em 0;
}
