/* Calendar List Events - Styles - Prefixe CLE */

.cle-calendar-events-container {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 30px;
  margin: 20px 0;
  min-height: 600px;
  transition: grid-template-columns 0.3s ease;
}

.cle-calendar-events-container.cle-calendar-collapsed {
  grid-template-columns: 0px 1fr;
}

/* Section calendrier et filtres (colonne gauche) */
.cle-calendar-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Wrapper calendrier */
.cle-calendar-wrapper {
  background: var(--ast-global-color-4);
  border-radius: 12px ;
  padding: 0px 20px 0px 20px;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
}

.cle-calendar-wrapper.cle-hidden {
  display: none;
  opacity: 0;
  max-height: 0;
  padding: 0;
}

/* En-tête calendrier avec navigation */
.cle-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  padding-bottom: 15px;
  /*border-bottom: 2px solid #e0e0e0;*/
}

.cle-calendar-title {
  flex: 1;
  text-align: center;
}

.cle-calendar-title span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ast-global-color-1, --ast-global-color-4);
  text-transform: capitalize;
}

.cle-calendar-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ast-global-color-1, --ast-global-color-4);
  background: var(--ast-global-color-4);
  color: var(--ast-global-color-1, --ast-global-color-4);
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cle-calendar-nav-btn:hover {
  background: var(--ast-global-color-1, --ast-global-color-4);
  color: var(--ast-global-color-4);
  transform: scale(1.1);
}

.cle-calendar-nav-btn:active {
  transform: scale(0.95);
}

/* Grille calendrier avec numéros de semaine */
.cle-calendar-grid {
  display: grid;
  grid-template-columns: 35px repeat(7, 1fr);
  gap: 8px;
}

.cle-week-number {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  background: #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.cle-week-number:hover {
  background: #e0e0e0;
  color: var(--ast-global-color-1);
  transform: scale(1.05);
}

.cle-week-number.cle-selected-week {
  background: var(--ast-global-color-1);
  color: var(--ast-global-color-4);
  border-color: var(--ast-global-color-1);
}

.cle-calendar-day-header {
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--ast-global-color-1);
  padding: 10px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cle-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: default;
  font-size: 14px;
  font-weight: 500;
  background: #f5f5f5;
  color: #999;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  position: relative;
  min-height: 45px;
}

.cle-calendar-day.cle-empty {
  background: transparent;
}

.cle-calendar-day.cle-has-event {
  background: var(--ast-global-color-4);
  color: #333;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cle-calendar-day.cle-has-event::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--ast-global-color-1, --ast-global-color-4);
  border-radius: 50%;
}

.cle-calendar-day.cle-has-special::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--cle-special-color, #ff6b6b);
}

.cle-calendar-day.cle-has-event:hover {
  background: color-mix(in srgb, var(--ast-global-color-1, --ast-global-color-4) 10%, --ast-global-color-4);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cle-calendar-day.cle-selected {
  background: var(--ast-global-color-1, --ast-global-color-4);
  color: var(--ast-global-color-4);
  border-color: var(--ast-global-color-1, --ast-global-color-4);
  transform: scale(1.05);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--ast-global-color-1, --ast-global-color-4) 40%, transparent);
}

.cle-calendar-day.cle-selected::after {
  background: var(--ast-global-color-4);
}

.cle-calendar-day.cle-selected:hover {
  background: color-mix(in srgb, var(--ast-global-color-1, --ast-global-color-4) 90%, black);
  transform: scale(1.08);
}

.cle-calendar-day.cle-today {
  border-color: var(--ast-global-color-1, --ast-global-color-4);
  border-width: 1px;
}

/* ----------------- */
.scrollable {
  overflow: auto;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--ast-global-color-1, --ast-global-color-4);
}

/* Chrome, Edge, Safari */
.scrollable::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.scrollable::-webkit-scrollbar-track {
  background: var(--ast-global-color-4);
  border-radius: 10px;
}

.scrollable::-webkit-scrollbar-thumb {
  background: var(--ast-global-color-1);
  border-radius: 10px;
}

.scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--ast-global-color-1);
}

/* === MOSAÏQUE CALENDRIER === */
.cle-calendar-mosaic-wrapper {
  background: var(--ast-global-color-4);
  border-radius: 12px;
  padding: 0px 20px 0px 20px;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  margin-bottom: 20px;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
}

.cle-calendar-mosaic-wrapper.cle-hidden {
  display: none;
  opacity: 0;
  max-height: 0;
  padding: 0;
}

.cle-mosaic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 12px;
  /*border-bottom: 1px solid var(--ast-global-color-1, #0073aa);*/
}

#cle-filtres-show {
  margin-top: 15px;
}

.cle-mosaic-filters-title {
  font-weight: 700;
  color: var(--ast-global-color-1);
  font-size: 16px;
  margin: 0;
}

.cle-mosaic-header-actions {
  display: flex;
  gap: 8px;
}

.cle-calendar-mosaic-grid {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 8px;
  align-items: center;
}

.cle-critere-name {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
}

.cle-mosaic-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  padding: 4px 0;
}

.cle-mosaic-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.cle-mosaic-scroll-container::-webkit-scrollbar-track {
  background: var(--ast-global-color-1);
  border-radius: 3px;
}

.cle-mosaic-scroll-container::-webkit-scrollbar-thumb {
  background: var(--ast-global-color-1, --ast-global-color-4);
  border-radius: 3px;
}

.cle-mosaic-scroll-container::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--ast-global-color-1, --ast-global-color-4) 80%, black);
}

.cle-mosaic-scroll-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 40px;
  gap: 5px;
  min-width: max-content;
  padding-bottom: 8px;
}

.cle-mosaic-scroll-grid .cle-filter-item {
  width: 35px;
  height: 35px;
}

.cle-calendar-mosaic-week {
  border-radius: 6px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 300;
  color: var(--ast-global-color-1);
  padding-left: 5px;
}

.cle-calendar-mosaic-cell-b {
  display: none;
  /* Plus utilisé avec la nouvelle structure */
}

.cle-btn-icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1px solid var(--ast-global-color-1, --ast-global-color-4);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--ast-global-color-4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 20px;
}

.cle-btn-icon2 {
  border: none;
}

.cle-btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cle-btn-icon:hover {
  background-color: var(--ast-global-color-1, --ast-global-color-4);
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.cle-btn-icon:active {
  transform: scale(0.95);
}

.cle-btn-icon.cle-active {
  background-color: var(--ast-global-color-1, --ast-global-color-4);
}

/* Style spécifique pour le bouton apply-filters actif */
#cle-mosaic-apply-filters.cle-active {
  background-color: var(--ast-global-color-1, --ast-global-color-4);
}

/* Styles des filtres dans la mosaïque */
.cle-filter-item {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 6px;
  /*background: #f5f5f5;*/
  /*border: 2px solid transparent;*/
  border-radius: 5px;
  font-size: 9px;
  font-weight: 600;
  color: var(--ast-global-color-1);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-height: 65px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Indicateur de couleur pour les types d'événements */
.cle-filter-item[data-type="types"]::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cle-filter-color, transparent);
}

.cle-filter-item:hover {
  /*background: color-mix(in srgb, var(--ast-global-color-1, #0073aa) 10%, white);*/
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cle-filter-item.cle-selected {
  background: var(--ast-global-color-1, --ast-global-color-4);
  color: var(--ast-global-color-4);
  border-color: var(--ast-global-color-1, --ast-global-color-4);
  transform: scale(1.05);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--ast-global-color-1) 40%, transparent);
}

.cle-filter-item.cle-selected:hover {
  background: color-mix(in srgb, var(--ast-global-color-1) 90%, black);
  transform: scale(1.08);
}

.cle-filter-item-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.cle-filter-item[data-type="organizers"] .cle-filter-item-icon {
  border-radius: 50%;
  object-fit: cover;
}

.cle-filter-item[data-type="places"] .cle-filter-item-icon {
  border-radius: 5%;
  object-fit: cover;
  width: 90%;
  height: 90%;
}

.cle-filter-item-name {
  font-size: 9px;
  line-height: 1.2;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Section visualisation événements (colonne droite) */
.cle-events-viewer-section {
  background: var(--ast-global-color-4);
  border-radius: 12px;
  padding: 25px;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cle-events-day-section,
.cle-events-upcoming-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cle-events-day-section h3,
.cle-events-upcoming-section h3 {
  margin: 0;
  color: var(--ast-global-color-1);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--ast-global-color-1);
}

/* Design graphique du titre des événements */
.cle-events-day-title-graphic {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 5px;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--ast-global-color-1) 0%, color-mix(in srgb, var(--ast-global-color-1) 80%, black) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
}

.cle-title-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.55em;
}

.cle-title-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.cle-title-month {
  font-size: 42px;
  font-weight: 700;
  color: var(--ast-global-color-4);
  text-transform: capitalize;
  line-height: 1;
  flex-grow: 1;
}

.cle-title-day {
  /*position: absolute;
  top: 0;
  right: 0;*/
  font-size: 40px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  /*background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(5px);*/
  line-height: 1;
}

.cle-events-upcoming-section h3 {
  margin-top: 30px;
}

.cle-events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cle-title-events-graphic {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 5px;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--ast-global-color-1) 0%, color-mix(in srgb, var(--ast-global-color-1) 80%, black) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
}
.cle-title-events-graphic-h3 {
  color:var(--ast-global-color-4) !important;
  font-size: 12px !important;
  font-weight: 400!important;
  letter-spacing: 0.55em;
  text-transform: uppercase !important;
  margin-top:10px !important;
  padding-bottom: 20px;
}

.cle-event-card {
  background: var(--ast-global-color-4);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.cle-event-card::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cle-event-color, transparent);
  z-index: 1;
}

.cle-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.cle-event-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.cle-event-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cle-event-main-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cle-event-name {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin: 0;
}

.cle-event-dates-times {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #666;
}

.cle-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--ast-global-color-4);
}

.cle-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #555;
}

.cle-meta-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.cle-icon-radius {
  border-radius: 50%;
}

.cle-icon-radius2 {
  border-radius: 2%;
}

.cle-event-description {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  white-space: pre-wrap;
}

.cle-no-selection,
.cle-no-events {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-style: italic;
  font-size: 15px;
}

.cle-loading-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--ast-global-color-1);
  font-size: 17px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Scrollbar personnalisée pour les événements */
.cle-events-list::-webkit-scrollbar {
  width: 10px;
}

.cle-events-list::-webkit-scrollbar-track {
  background: var(--ast-global-color-4);
  border-radius: 5px;
}

.cle-events-list::-webkit-scrollbar-thumb {
  background: var(--ast-global-color-1);
  border-radius: 5px;
}

.cle-events-list::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--ast-global-color-1) 80%, black);
}

/* Modal pour détails événement */
.cle-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  animation: cle-fade-in 0.3s ease;
}

.cle-modal-overlay.cle-active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@keyframes cle-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cle-modal-content {
  background: var(--ast-global-color-4);
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: cle-slide-up 0.3s ease;
  position: relative;
}

@keyframes cle-slide-up {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cle-modal-header {
  position: sticky;
  top: 0;
  padding: 20px 25px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.cle-modal-header::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--cle-modal-event-color, rgba(255, 255, 255, 0.3));
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cle-modal-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  padding-right: 40px;
  padding-left: 30px;
}

.cle-modal-type-category {
  display: flex;
  gap: 15px;
  padding-left: 30px;
}

.cle-modal-subscribe-container {
  text-align: right;
}

.cle-modal-orga-place-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.cle-modal-orga-container {
  margin-bottom: 20px;
}

.cle-modal-orga-icon {
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 80px;
}

.cle-modal-orga-header {
  padding-right: 16px;
}

.cle-modal-orga-name {
  padding-bottom: 10px;
}

.cle-modal-place-container {
  margin-bottom: 20px;
}

.cle-modal-place-,
.cle-modal-orga- {
  letter-spacing: 10px;
  color: var(--ast-global-color-0);
  padding-bottom: 20px;
}

.cle-modal-place-header {
  padding-bottom: 10px;
}

.cle-modal-place-icon {
  width: 60%;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cle-modal-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
}

.cle-modal-filter-icon {
  width: 16px;
  object-fit: contain;
}

.cle-modal-filter-name {
  font-size: 12px;
  font-weight: 200;
  color: #666;
}

.cle-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--ast-global-color-1);
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cle-modal-close:hover {
  color: var(--ast-global-color-1);
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.cle-modal-body {
  padding: 25px;
}

.cle-modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cle-modal-date-subscribe-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.cle-modal-dates {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
}

.cle-modal-dates div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cle-modal-dates img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.cle-modal-description-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.cle-modal-description {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 15px;
  background: #f8f8f8;
  border-radius: 8px;
  white-space: pre-wrap;
}

.cle-modal-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: var(--ast-global-color-1, --ast-global-color-4);
  color: var(--ast-global-color-4);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 300;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cle-modal-subscribe-btn:hover {
  color: var(--ast-global-color-4);
  background: color-mix(in srgb, var(--ast-global-color-1, --ast-global-color-4) 85%, black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 1200px) {
  .cle-calendar-events-container {
    grid-template-columns: 400px 1fr;
  }
}

@media (max-width: 1024px) {
  .cle-calendar-events-container {
    grid-template-columns: 1fr;
  }

  .cle-calendar-section {
    order: 1;
  }

  .cle-events-viewer-section {
    order: 2;
  }
}

@media (max-width: 768px) {
  .cle-calendar-wrapper {
    padding: 15px;
  }

  .cle-calendar-grid {
    grid-template-columns: 30px repeat(7, 1fr);
    gap: 5px;
  }

  .cle-calendar-day {
    font-size: 12px;
    min-height: 38px;
  }

  .cle-calendar-day-header {
    font-size: 10px;
    padding: 8px 2px;
  }

  .cle-calendar-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .cle-calendar-title span {
    font-size: 16px;
  }

  .cle-event-header {
    flex-direction: column;
  }

  .cle-event-image {
    width: 100%;
    height: 180px;
  }

  .cle-week-number {
    font-size: 9px;
  }

  .cle-mosaic-scroll-grid {
    grid-auto-columns: 60px;
  }

  .cle-mosaic-scroll-grid .cle-filter-item {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .cle-calendar-events-container {
    gap: 15px;
  }

  .cle-calendar-day {
    font-size: 11px;
    min-height: 32px;
  }

  .cle-calendar-day.cle-has-event::after {
    width: 4px;
    height: 4px;
    bottom: 4px;
  }

  .cle-calendar-day.cle-has-special::before {
    width: 10px;
    height: 10px;
  }

  .cle-mosaic-scroll-grid {
    grid-auto-columns: 55px;
  }

  .cle-mosaic-scroll-grid .cle-filter-item {
    width: 55px;
    height: 55px;
  }
}