/* Irrsee Kalender - bewusst schlicht gehalten, erbt Schrift/Farben vom Theme. */

/* Aus der 1200px-Content-Breite des Themes ausbrechen, damit das Bild groß wird.
   Breite per --ic-maxwidth steuerbar; die linke Spalte per --ic-leftcol. */
.irrsee-cal {
  --ic-maxwidth: 1680px;   /* Obergrenze der Gesamtbreite auf großen Screens */
  --ic-leftcol: 300px;     /* Breite der Kalender-Spalte links               */
  width: min(96vw, var(--ic-maxwidth));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1em 0;
  box-sizing: border-box;
}

/* Feste 2-Spalten-Aufteilung: links Kalender (schmal), rechts Bild (Rest). */
.irrsee-cal .ic-wrap {
  display: grid;
  grid-template-columns: minmax(220px, var(--ic-leftcol)) 1fr;
  gap: 1.6em;
  align-items: start;
  text-align: left;
}
@media (max-width: 782px) {
  .irrsee-cal .ic-wrap { grid-template-columns: 1fr; }
}

.irrsee-cal .ic-left  { min-width: 0; }
.irrsee-cal .ic-right { min-width: 0; }

.irrsee-cal .ic-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .6em;
}
.irrsee-cal .ic-title { font-weight: 700; font-size: 1.1em; }
.irrsee-cal .ic-nav {
  cursor: pointer; background: transparent; color: inherit;
  border: 1px solid rgba(0, 0, 0, .3); border-radius: 4px;
  font-size: 1.05em; line-height: 1; padding: .1em .55em;
}
.irrsee-cal .ic-nav:hover { background: rgba(0, 0, 0, .08); }

.irrsee-cal .ic-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.irrsee-cal .ic-wd { text-align: center; font-size: .75em; opacity: .6; padding: .2em 0; }

.irrsee-cal .ic-cell {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: .9em;
}
.irrsee-cal .ic-empty { visibility: hidden; }
.irrsee-cal .ic-none  { opacity: .3; }
.irrsee-cal .ic-has {
  cursor: pointer; background: rgba(0, 0, 0, .06); border: 1px solid rgba(0, 0, 0, .15);
}
.irrsee-cal .ic-has:hover { background: rgba(0, 0, 0, .13); }
.irrsee-cal .ic-sel { outline: 2px solid currentColor; outline-offset: -2px; }
.irrsee-cal .ic-loading { grid-column: 1 / -1; text-align: center; padding: 1em; opacity: .6; }

.irrsee-cal .ic-hours { margin-top: .9em; }
.irrsee-cal .ic-hours-label { font-size: .85em; opacity: .8; margin-bottom: .4em; }
.irrsee-cal .ic-hours-list { display: flex; flex-wrap: wrap; gap: 6px; }
.irrsee-cal .ic-hour {
  cursor: pointer; background: transparent; color: inherit;
  border: 1px solid rgba(0, 0, 0, .25); border-radius: 4px;
  padding: .25em .5em; font-size: .85em;
}
.irrsee-cal .ic-hour:hover { background: rgba(0, 0, 0, .08); }
.irrsee-cal .ic-hsel { background: #333; color: #fff; border-color: #333; }

.irrsee-cal .ic-cap { font-size: .9em; opacity: .8; margin-bottom: .4em; }
.irrsee-cal .ic-img { width: 100%; height: auto; display: block; border-radius: 4px; }

.irrsee-cal .ic-placeholder {
  opacity: .55; text-align: center; padding: 2.5em 1em;
  border: 1px dashed rgba(0, 0, 0, .25); border-radius: 6px;
}

.irrsee-cal .ic-imgnav {
  display: flex; justify-content: space-between; gap: 8px; margin-top: .6em;
}
.irrsee-cal .ic-step {
  cursor: pointer; background: transparent; color: inherit;
  border: 1px solid rgba(0, 0, 0, .3); border-radius: 4px;
  padding: .3em .7em; font-size: .9em;
}
.irrsee-cal .ic-step:hover:not(:disabled) { background: rgba(0, 0, 0, .08); }
.irrsee-cal .ic-step:disabled { opacity: .35; cursor: default; }
