/* Custom styling for Governing AI Book - Quarto */

/* Headers */
h1, h2, h3, h4 {
  color: #1a365d;
}

/* Part headers */
.part-title {
  font-size: 2em;
  font-weight: bold;
  color: #2c5282;
  border-bottom: 3px solid #3182ce;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

th {
  background-color: #2c5282;
  color: white;
  padding: 12px;
  text-align: left;
}

td {
  border: 1px solid #e2e8f0;
  padding: 10px;
}

tr:nth-child(even) {
  background-color: #f7fafc;
}

/* Callout boxes */
.callout {
  border-radius: 6px;
  margin: 20px 0;
}

.callout-note {
  border-left: 4px solid #3182ce;
  background-color: #ebf8ff;
}

.callout-warning {
  border-left: 4px solid #d69e2e;
  background-color: #fffff0;
}

.callout-important {
  border-left: 4px solid #e53e3e;
  background-color: #fff5f5;
}

/* Figures */
figure {
  margin: 30px 0;
  text-align: center;
}

figcaption {
  font-style: italic;
  color: #4a5568;
  margin-top: 10px;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Sidebar styling */
.sidebar nav[role=doc-toc] ul>li>a.active {
  color: #2c5282;
  font-weight: bold;
}

/* Print styles */
@media print {
  .sidebar {
    display: none;
  }
  
  body {
    font-size: 11pt;
  }
}
