/* QMT 2026 — Custom Styles */

/* Typography */
body {
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

/* Sidebar */
.sidebar-navigation .sidebar-item-text {
  font-size: 0.875rem;
}

/* Code blocks */
pre.sourceCode {
  border-radius: 6px;
  border-left: 3px solid #2c7be5;
}

/* Callout styling */
.callout {
  border-radius: 6px;
}

.callout-note {
  border-left-color: #2c7be5;
}

.callout-tip {
  border-left-color: #00c9a7;
}

.callout-important {
  border-left-color: #e63946;
}

.callout-warning {
  border-left-color: #f4a261;
}

/* Learning objectives box */
.callout-note.callout-titled .callout-title {
  font-weight: 700;
}

/* Solutions block */
.callout-tip.callout-titled .callout-title {
  font-weight: 700;
}

/* Math display */
.math.display {
  overflow-x: auto;
  padding: 0.5rem 0;
}

/* Tables */
table {
  font-size: 0.9rem;
}

.table thead th {
  background-color: #f0f4f8;
  font-weight: 600;
}

/* Week header badge */
.week-badge {
  display: inline-block;
  background: #2c7be5;
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Hero section on home page */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* Module cards */
.module-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}

.module-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.module-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2c7be5;
  margin-bottom: 0.25rem;
}
