body { font-family: 'Segoe UI', Arial, sans-serif; }
h1, h2, h3 { color: #2c3e50; }
a { color: #007acc; }

/* Force white background for code and output blocks */
pre, code, .sourceCode, .cell-output pre, .cell-output-display pre {
  background: #fff !important;
  color: #222;
  border-radius: 8px;
  border: 1px solid #d0d7de;
  box-shadow: none !important;
  padding: 1em 1.2em;
  font-size: 1em;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  overflow-x: auto;
}

/* Remove background and shadow from parent containers */
.cell, .cell-output, .cell-output-display {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Make output look like code, but with a blue border only on the left */
.cell-output pre, .cell-output-display pre {
  border-left: 4px solid #007acc;
  border-top: 1px solid #d0d7de;
  border-right: 1px solid #d0d7de;
  border-bottom: 1px solid #d0d7de;
  color: #222;
  background: #fff !important;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  font-size: 1em;
}

.cell-output pre, .cell-output-display pre {
  border-right: 1px solid #d0d7de !important;
}

.code-copy-button {
  background: #007acc;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 0.2em 0.5em;
  font-size: 0.9em;
  cursor: pointer;
  margin-left: 0.5em;
}

.cell {
  margin-bottom: 2em;
}

/* Remove carousel styles and add card/tile styles for lectures */
.lecture-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin: 2em 0;
}
.lecture-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.07);
  padding: 2em 2.5em;
  min-width: 260px;
  max-width: 320px;
  text-align: center;
  border: 1px solid #e0e6ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.lecture-card:hover {
  box-shadow: 0 6px 24px rgba(44,62,80,0.13);
  transform: translateY(-4px) scale(1.03);
}
.lecture-card h3 {
  margin-top: 0;
  color: #2c3e50;
}
.lecture-card p {
  color: #555;
  margin-bottom: 1em;
}
.lecture-card a {
  color: #fff;
  background: #007acc;
  padding: 0.5em 1.2em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}
.lecture-card a:hover {
  background: #005fa3;
}

/* Tile grid for lectures */
.lecture-tiles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin: 2em 0;
}
.lecture-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.07);
  width: 260px;
  height: 120px;
  text-align: center;
  border: 1px solid #e0e6ed;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  margin-bottom: 0;
  padding: 0;
}
.lecture-tile:hover {
  box-shadow: 0 6px 24px rgba(44,62,80,0.13);
  transform: translateY(-4px) scale(1.03);
  background: #eaf6fb;
  color: #222;
}
.lecture-tile h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.3;
  padding: 0 1em;
}
.lecture-tile p {
  color: #555;
  margin-bottom: 0;
}

.main-tiles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin: 2.5em 0;
}
.main-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(44,62,80,0.09);
  width: 220px;
  height: 110px;
  text-align: center;
  border: 1px solid #e0e6ed;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  margin-bottom: 0;
  padding: 0;
}
.main-tile:hover {
  box-shadow: 0 8px 32px rgba(44,62,80,0.16);
  transform: translateY(-4px) scale(1.05);
  background: #eaf6fb;
  color: #007acc;
}
.main-tile h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.3;
  padding: 0 1em;
} 