

/* .css for https://www.cbeaume.com */
/* To be imported by cbeaume2026.css */
/* Author: Cédric Beaume */
/* Date: 2026 */


/* ==== teaching_f1.html ==== */

.f1-image {
  float: right;
  width: 320px;
  padding-left: 15px;
  padding-top: 5px;
}

.f1-page p {
  margin-bottom: var(--space-0);
  line-height: 1.4;
}

.circuits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.circuit-card {
  border: 1px solid black;
  border-radius: 12px;
  padding: 10px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  color: black;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 0.88rem;
}

/* Optional white overlay for readability */
.circuit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.50);
}

.circuit-card > * {
  position: relative;
  z-index: 1;
}

.circuit-card h5 {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.1rem;
}

.circuit-card p {
  margin: 5px 0;
  text-align: center;
  line-height: 1.2;
}

.season-block {
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid #999;
}

.season-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.season-header h5 {
  margin: 0;
  font-size: 1rem;
}

.season-summary {
  margin: 6px 0 0 0;
  color: #444;
  font-size: 0.95em;
}

.season-report {
  font-size: 0.85em;
}
