/* =============================================================================
   styles.css — Graduate Econometrics (Quarto Book)
   ============================================================================= */

/* Slightly smaller sidebar font for long titles */
.sidebar-item .sidebar-item-text {
  font-size: 0.92em;
}

/* Make cover image on landing page not overflow */
.column-page img {
  max-height: 400px;
  object-fit: contain;
}

/* Responsive slide container */
.slide-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 1rem;
}

.slide-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

/* Legacy slide iframe (inline style fallback) */
iframe {
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

/* Callout boxes */
.callout {
  margin-bottom: 1rem;
}

/* Language switcher tool in sidebar */
.sidebar-tool a {
  color: inherit;
  text-decoration: none;
}

.sidebar-tool a:hover {
  text-decoration: underline;
}

/* Small muted text (used in footer attribution) */
.small {
  font-size: 0.85em;
}

.text-muted {
  color: #6c757d;
}
