.f1-calendar-shell {
  background: #050505;
  color: white;
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
}

.f1-calendar-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.f1-calendar-kicker {
  color: #ff2b2b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.f1-calendar-title {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(30px, 6vw, 58px);
  line-height: .9;
  text-transform: uppercase;
  margin: 0;
}

.f1-calendar-subtitle {
  color: #bdbdbd;
  max-width: 540px;
  line-height: 1.4;
  margin: 10px 0 0;
}

.f1-calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  align-items: start; /* card aberto não estica os vizinhos */
}

.f1-race-card {
  background: white;
  color: #0b0b0b;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.f1-race-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 76px 1fr;
}

.f1-race-round {
  background: #ff2b2b;
  color: white;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  min-height: 116px;
}

.f1-race-main {
  padding: 14px;
}

.f1-race-name {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.f1-race-meta {
  color: #666;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
}

.f1-track-mini,
.f1-track-large,
.next-race-map {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 43, 43, .18), transparent 30%),
    #101010;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.f1-track-mini {
  height: 78px;
}

.f1-track-large {
  min-height: 190px;
  margin-bottom: 14px;
}

.f1-track-mini img,
.f1-track-large img,
.next-race-map img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.map-placeholder {
  color: #aaa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px;
}

.f1-race-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.f1-race-card.is-open .f1-race-details {
  grid-template-rows: 1fr;
}

.f1-race-details-inner {
  overflow: hidden;
}

.f1-race-details-content {
  padding: 0 14px 14px;
}

.f1-race-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.f1-data-item {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 10px;
}

.f1-data-item span {
  display: block;
  color: #777;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.f1-data-item strong {
  display: block;
  font-size: 13px;
}

.next-race-card [data-next-race-content] {
  min-height: 170px;
}

.next-race-map {
  height: 116px;
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, .12);
}

.next-race-status,
.f1-calendar-status {
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 0;
}

@media (max-width: 900px) {
  .f1-calendar-shell {
    border-radius: 14px;
    padding: 16px;
  }
  .f1-calendar-hero {
    display: block;
  }
  .f1-calendar-grid {
    grid-template-columns: 1fr;
  }
  .f1-race-data {
    grid-template-columns: 1fr;
  }
}
