@charset "UTF-8";
/* _calendate.scss */
.calendate {
  /* tailles faciles à ajuster */
  --cal-w: 100px;
  --cal-h: 100px;
  --cal-bg: rgba(0,137,209,0.9); /* comme avant */
  --cal-month-bg: rgba(17,66,153,0.9); /* comme avant */
  --cal-text: #fff;
  position: relative;
  z-index: 30;
  width: var(--cal-w);
  height: var(--cal-h);
  margin: 0;
  padding: 0;
  overflow: hidden; /* important pour la bande verticale */
  border-radius: 0 8px 0 0; /* optionnel, plus moderne */
  /* ton HTML a déjà text-center, mais au cas où */
  text-align: center;
  line-height: 1;
}
.calendate span {
  display: block;
}
.calendate {
  /* ---- DAY (gros) ---- */
}
.calendate .day {
  position: absolute;
  left: 0;
  right: 33px;
  top: 0;
  background: var(--cal-bg);
  color: var(--cal-text);
  font-weight: 800;
  font-size: 3rem; /* proche de ton ancien 2em mais plus punchy */
  letter-spacing: -0.02em;
}
.calendate {
  /* ---- MONTH (bande verticale à droite) ---- */
}
.calendate .month {
  position: absolute;
  top: 16px;
  right: -16px;
  width: 66px;
  height: 33px;
  background: var(--cal-month-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.9rem;
  transform: rotate(-90deg);
  transform-origin: center;
}
.calendate {
  /* ---- YEAR (petit, en haut à gauche) ---- */
}
.calendate .year {
  position: absolute;
  bottom: 0px;
  top: 48px;
  width: 67px;
  height: 17px;
  background-color: rgba(150, 150, 150, 0.8);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
}
.calendate {
  /* ---- HOUR (optionnel en bas) ---- */
}
.calendate .hour {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px); /* si supporté, sinon ça ignore */
}
.calendate {
  /* si pas d’heure: tu peux ajouter une classe .no-hour depuis PHP si tu veux */
}
.calendate.no-hour .hour {
  display: none;
}

/* Variante compacte (si tu veux comme ton essai 48px, mais lisible) */
.calendate.is-sm {
  --cal-w: 88px;
  --cal-h: 72px;
}
.calendate.is-sm .day {
  top: 18px;
  font-size: 2.2rem;
}
.calendate.is-sm .month {
  top: 20px;
  right: -28px;
  width: 90px;
  height: 42px;
  font-size: 0.75rem;
}
.calendate.is-sm .year {
  top: 6px;
  left: 8px;
  font-size: 0.75rem;
}
.calendate.is-sm .hour {
  font-size: 0.75rem;
  padding: 5px 8px;
}

/*# sourceMappingURL=calendate.css.map */
