
.fgcal-public-v0548 {
  margin: 2rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #dbe5dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(20,40,25,.06);
  color: #24372a;
}

.fgcal-public-heading h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.fgcal-public-heading p {
  margin: 0 0 1.2rem;
}

.fgcal-public-pending {
  padding: 1.4rem;
  border-radius: 12px;
  background: #f4f7f1;
  border: 1px solid #dbe5d7;
}

.fgcal-public-pending h3 {
  margin-top: 0;
}

.fgcal-public-contact {
  display: inline-block;
  margin-top: .5rem;
  padding: .8rem 1.2rem;
  border-radius: 8px;
  background: #315f42;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}

.fgcal-public-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin: 1.2rem 0;
}

.fgcal-public-navigation a,
.fgcal-public-disabled {
  padding: .55rem .8rem;
  border: 1px solid #d9e2d9;
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
}

.fgcal-public-disabled {
  opacity: .45;
}

.fgcal-public-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e3e9e3;
  border-radius: 10px;
}

.fgcal-public-grid {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 3px;
  font-size: .8rem;
}

.fgcal-public-grid th {
  background: #fff;
  color: #24372a;
}

.fgcal-public-grid thead th {
  text-align: center;
  min-width: 19px;
  padding: .45rem 0;
}

.fgcal-public-grid thead th:first-child {
  text-align: left;
  min-width: 132px;
  padding-left: .5rem;
}

.fgcal-public-grid th small {
  display: block;
  font-size: .65rem;
  font-weight: 400;
  color: #69776d;
}

.fgcal-public-grid tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  padding: .6rem .5rem;
  white-space: nowrap;
}

.fgcal-public-grid td {
  height: 32px;
  min-width: 19px;
  border-radius: 4px;
}

.fgcal-public-frei {
  background: #a8ddba;
}

.fgcal-public-belegt {
  background: #e6a5a5;
}

.fgcal-public-vorgemerkt {
  background: #f5d994;
}

.fgcal-public-gesperrt {
  background: #aab0b5;
}

.fgcal-public-vergangen {
  background: #e9ece9;
}

.fgcal-public-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
  margin-top: 1rem;
  font-size: .85rem;
}

.fgcal-public-legend span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.fgcal-public-legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.fgcal-public-note {
  font-size: .8rem;
  color: #637066;
  margin-top: 1rem;
}

.fgcal-login {
  max-width: 440px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #dce6dd;
  border-radius: 14px;
  background: #fff;
}

.fgcal-login label {
  display: block;
  margin: .7rem 0 .3rem;
}

.fgcal-login input[type="text"],
.fgcal-login input[type="password"] {
  width: 100%;
  padding: .65rem;
}

@media(max-width:600px) {
  .fgcal-public-v0548 {
    padding: 1rem;
  }

  .fgcal-public-navigation strong {
    font-size: .85rem;
    text-align: center;
  }

  .fgcal-public-navigation a {
    padding: .5rem;
    font-size: .8rem;
  }
}


/* FEWOGRAAL_V0550 - Wochenende und Datenstatus */

.fgcal-public-grid thead th.fgcal-weekend {
  background: #e8e0d3;
  color: #514537;
  box-shadow: inset 0 -3px 0 #b9a589;
}

.fgcal-public-grid td.fgcal-weekend {
  box-shadow:
    inset 2px 0 0 rgba(80,66,44,.36),
    inset -2px 0 0 rgba(80,66,44,.36);
}

.fgcal-public-unbestaetigt {
  background: #e4e8ed;
}

.fgcal-public-grid
td.fgcal-public-unbestaetigt.fgcal-weekend {
  background: #d5dbe3;
}

.fgcal-public-pending {
  margin-bottom: 1.25rem;
}

.fgcal-public-pending p {
  margin-bottom: .5rem;
}


/* =================================================
   FEWOGRAAL_V0551
   Breite, lesbare oeffentliche Monatsansicht
   ================================================= */

@media (min-width: 1000px) {

  body:has(.fgcal-public-v0548) .site-main,
  body:has(.fgcal-public-v0548) main,
  body:has(.fgcal-public-v0548) .entry-content,
  body:has(.fgcal-public-v0548) .wp-block-post-content,
  body:has(.fgcal-public-v0548) .site-content {
    max-width: none !important;
  }

  body:has(.fgcal-public-v0548) .entry-content,
  body:has(.fgcal-public-v0548) .wp-block-post-content {
    width: min(96vw, 1580px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .fgcal-public-v0548 {
    width: min(96vw, 1580px) !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  .fgcal-public-grid {
    width: 100% !important;
    min-width: 1120px;
    table-layout: fixed;
  }

  .fgcal-public-grid th:first-child,
  .fgcal-public-grid td:first-child {
    width: 165px;
    min-width: 165px;
  }

  .fgcal-public-grid thead th:not(:first-child) {
    font-size: 12px;
  }

  .fgcal-public-grid tbody td {
    height: 42px;
  }
}

/* Kompakter Einrichtungshinweis */

.fgcal-public-pending {
  padding: 14px 18px !important;
  margin: 12px 0 22px !important;
}

.fgcal-public-pending h3 {
  font-size: 15px !important;
  margin: 0 0 6px !important;
}

.fgcal-public-pending p {
  margin: 0 0 8px !important;
  line-height: 1.5;
}

/* Monatsnavigation */

.fgcal-public-navigation {
  gap: 16px;
  margin: 20px 0 14px;
}

.fgcal-public-navigation strong {
  font-size: 18px;
}

.fgcal-public-navigation a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
}

/* Scrollbereich */

.fgcal-public-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

/* Unterkunftsnamen beim Scrollen sichtbar */

.fgcal-public-grid thead th:first-child,
.fgcal-public-grid tbody th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 2px 0 4px rgba(0,0,0,.07);
}

.fgcal-public-grid thead th:first-child {
  z-index: 3;
}

/* Groessere Legende */

.fgcal-public-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
  font-size: 13px;
}

.fgcal-public-legend i {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 5px;
}

/* Mobile */

@media (max-width: 999px) {

  .fgcal-public-v0548 {
    max-width: 100%;
  }

  .fgcal-public-grid {
    min-width: 1080px;
  }

  .fgcal-public-grid tbody td {
    height: 38px;
  }

  .fgcal-public-grid thead th:first-child,
  .fgcal-public-grid tbody th:first-child {
    min-width: 135px;
    width: 135px;
  }

  .fgcal-public-navigation strong {
    font-size: 16px;
  }
}

@media (max-width: 600px) {

  .fgcal-public-pending {
    padding: 12px !important;
  }

  .fgcal-public-navigation {
    gap: 8px;
  }

  .fgcal-public-navigation a {
    padding: 6px 9px;
    font-size: 12px;
  }

  .fgcal-public-grid {
    min-width: 1000px;
  }
}



/* FEWOGRAAL_V0552 - Mobile Kalenderkarten */

.fgcal-mobile-guest,
.fgcal-mobile-admin {
  display: none;
}

@media(max-width:700px) {
  .fgcal-mobile-ready .fgcal-public-scroll {
    display: none !important;
  }

  .fgcal-admin-mobile-ready .fgcal-admin-scroll {
    display: none !important;
  }

  .fgcal-mobile-ready .fgcal-mobile-guest,
  .fgcal-admin-mobile-ready .fgcal-mobile-admin {
    display: block;
  }

  .fgcal-mobile-unit {
    margin: 0 0 12px;
    border: 1px solid #d9e3dc;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
  }

  .fgcal-mobile-unit summary {
    cursor: pointer;
    padding: 14px;
    font-weight: 700;
    background: #f5f8f5;
    color: #24372a;
  }

  .fgcal-mobile-grid {
    display: grid;
    grid-template-columns: repeat(7,minmax(0,1fr));
    gap: 4px;
    padding: 10px;
  }

  .fgcal-mobile-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 0;
  }

  .fgcal-mobile-empty {
    min-height: 36px;
  }

  .fgcal-mobile-date,
  .fgcal-mobile-day {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 38px !important;
    height: 38px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
  }

  .fgcal-mobile-date.fgcal-weekend {
    box-shadow: inset 0 0 0 2px #b9a589;
  }

  .fgcal-mobile-day.fgcal-picked,
  .fgcal-mobile-day.fgcal-preview {
    outline: 3px solid #1d4ed8 !important;
    outline-offset: -3px;
  }

  .fgcal-touch-grid {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  .fgcal-public-v0548 {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    transform: none !important;
    padding: 12px !important;
  }

  .fgcal-public-pending {
    padding: 12px !important;
  }

  .fgcal-public-pending h3 {
    font-size: 14px !important;
  }

  .fgcal-public-heading p {
    font-size: 13px;
  }
}

/* ==========================================================
   FEWOGRAAL_V0554
   Oeffentlicher Kalender: zentrierte Desktop-/Mobilansicht
   ========================================================== */

.fgcal-public-v0548 {
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;

    width: min(1500px, calc(100vw - 32px)) !important;
    max-width: 1500px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Navigation und Kalenderbereich erhalten dieselbe Breite. */

.fgcal-public-v0548 .fgcal-public-navigation,
.fgcal-public-v0548 .fgcal-public-scroll,
.fgcal-public-v0548 .fgcal-public-mobile {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Desktop: Monatskalender mittig innerhalb des Containers. */

@media (min-width: 1000px) {

    .fgcal-public-v0548 {
        width: min(1500px, calc(100vw - 48px)) !important;
    }

    .fgcal-public-v0548 .fgcal-public-scroll {
        overflow-x: auto;
    }

}

/* Smartphone: keine seitliche Verschiebung des Kalenders. */

@media (max-width: 999px) {

    .fgcal-public-v0548 {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
    }

    .fgcal-public-v0548 .fgcal-public-navigation {
        width: 100% !important;
        max-width: 100% !important;
    }

    .fgcal-public-v0548 .fgcal-public-mobile {
        width: 100% !important;
        max-width: 100% !important;
    }

}

/* ==========================================================
   ENDE FEWOGRAAL_V0554
   ========================================================== */

/* FEWOGRAAL_V0554_HEADING_FIX
   Seitenüberschrift und Einleitung zentrieren.
   Nur auf der öffentlichen Kalenderseite.
*/

body.page-id-233 .entry-header,
body.page-id-233 .page-header,
body.page-id-233 .entry-title,
body.page-id-233 .page-title {
    text-align: center !important;
}

body.page-id-233 .entry-content > h1,
body.page-id-233 .entry-content > h2,
body.page-id-233 .entry-content > p:first-child {
    text-align: center !important;
}

body.page-id-233 .entry-header,
body.page-id-233 .page-header {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ENDE FEWOGRAAL_V0554_HEADING_FIX */

/* =========================================================
   FEWOGRAAL_V0555
   Kompakte mobile Gaesteansicht
   ========================================================= */

body.page-id-233 .fgcal-public-mobile-v0555 {
    display: none;
}

@media (max-width: 767px) {

    /* Aeussere Seiteneinleitung */
    body.page-id-233 .entry-header,
    body.page-id-233 .page-header {
        margin: 18px auto 8px !important;
        padding: 0 12px !important;
        text-align: center !important;
    }

    body.page-id-233 .entry-title,
    body.page-id-233 .page-title {
        font-size: clamp(26px, 7vw, 34px) !important;
        line-height: 1.15 !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }

    /* Bestehenden Kalender auf Mobilgeraeten kompakt halten */
    body.page-id-233 .fgcal-public-v0548 {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        margin: 10px auto 24px !important;
        padding: 0 !important;
        overflow: visible !important;
        border-radius: 14px !important;
    }

    /* Die doppelte innere Ueberschrift ausblenden */
    body.page-id-233 .fgcal-public-v0548 > h1,
    body.page-id-233 .fgcal-public-v0548 > h2,
    body.page-id-233 .fgcal-public-v0548 > h3 {
        display: none !important;
    }

    /* Desktop-Tabelle auf Mobilgeraeten durch Karten ersetzen */
    body.page-id-233 .fgcal-public-scroll {
        display: none !important;
    }

    body.page-id-233 .fgcal-public-mobile-v0555 {
        display: block !important;
        width: 100%;
        margin: 12px auto;
    }

    body.page-id-233 .fgcal-mobile-unit-v0555 {
        border: 1px solid #dbe3dd;
        border-radius: 12px;
        margin: 0 0 10px;
        overflow: hidden;
        background: #fff;
    }

    body.page-id-233 .fgcal-mobile-unit-v0555 summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        cursor: pointer;
        padding: 15px 14px;
        font-size: 16px;
        font-weight: 700;
        background: #f2f6f3;
        color: #213a31;
        list-style: none;
    }

    body.page-id-233 .fgcal-mobile-unit-v0555 summary::-webkit-details-marker {
        display: none;
    }

    body.page-id-233 .fgcal-mobile-unit-v0555 summary::after {
        content: "⌄";
        font-size: 22px;
        font-weight: 400;
        flex-shrink: 0;
    }

    body.page-id-233 .fgcal-mobile-unit-v0555[open] summary::after {
        content: "⌃";
    }

    body.page-id-233 .fgcal-mobile-unit-v0555 .fgcal-mobile-days-v0555 {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 3px;
        padding: 10px;
    }

    body.page-id-233 .fgcal-mobile-weekday-v0555 {
        text-align: center;
        font-size: 11px;
        font-weight: 700;
        padding: 5px 0;
        color: #56665e;
    }

    body.page-id-233 .fgcal-mobile-day-v0555 {
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1 / 1;
        min-width: 0;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 600;
        background: #eef1ee;
        color: #25352d;
    }

    body.page-id-233 .fgcal-mobile-empty-v0555 {
        background: transparent;
    }

    body.page-id-233 .fgcal-mobile-day-v0555.fgcal-public-belegt {
        background: #f4d7d4;
        color: #7d2924;
    }

    body.page-id-233 .fgcal-mobile-day-v0555.fgcal-public-gesperrt {
        background: #e0e0e0;
        color: #666;
    }

    body.page-id-233 .fgcal-mobile-day-v0555.fgcal-public-vorgemerkt {
        background: #fff0c8;
        color: #765719;
    }

    body.page-id-233 .fgcal-mobile-day-v0555.fgcal-public-frei {
        background: #d9eddf;
        color: #205837;
    }

    body.page-id-233 .fgcal-mobile-day-v0555.fgcal-public-unbestaetigt {
        background: #eef1ee;
        color: #6c7770;
    }

    body.page-id-233 .fgcal-mobile-day-v0555.fgcal-public-vergangen {
        background: #f3f3f3;
        color: #aaa;
    }

    body.page-id-233 .fgcal-public-v0548 .fgcal-public-pending,
    body.page-id-233 .fgcal-public-v0548 .fgcal-public-setup-notice {
        font-size: 13px !important;
        line-height: 1.45 !important;
        padding: 12px !important;
        margin: 8px 0 !important;
    }

    body.page-id-233 .fgcal-public-v0548 .fgcal-public-pending p,
    body.page-id-233 .fgcal-public-v0548 .fgcal-public-setup-notice p {
        margin: 5px 0 !important;
    }

}

/* ENDE FEWOGRAAL_V0555 */

/* ==========================================================
   FEWOGRAAL_V0556
   Mobile Gaesteansicht - Layoutkorrekturen
   ========================================================== */

@media (max-width: 767px) {

    /* Aeusseren Seitenbereich kompakter gestalten */

    body.page-id-233 .entry-header,
    body.page-id-233 .page-header {
        margin-top: 12px !important;
        margin-bottom: 8px !important;
    }

    body.page-id-233 .entry-title,
    body.page-id-233 .page-title {
        font-size: clamp(27px, 7vw, 34px) !important;
        line-height: 1.15 !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    /* Kalenderkasten */

    body.page-id-233 .fgcal-public-v0548 {
        margin-top: 6px !important;
        margin-bottom: 18px !important;
        padding-top: 0 !important;
        padding-bottom: 8px !important;
        resize: none !important;
        overflow: visible !important;
    }

    /*
     * Doppelte innere Ueberschrift und Einleitung:
     * Nur direkte Kinder des Kalendercontainers.
     */

    body.page-id-233 .fgcal-public-v0548 > h1,
    body.page-id-233 .fgcal-public-v0548 > h2,
    body.page-id-233 .fgcal-public-v0548 > h3 {
        display: none !important;
    }

    body.page-id-233 .fgcal-public-v0548 > h1 + p,
    body.page-id-233 .fgcal-public-v0548 > h2 + p,
    body.page-id-233 .fgcal-public-v0548 > h3 + p {
        display: none !important;
    }

    /* Einrichtungshinweis verdichten */

    body.page-id-233 .fgcal-public-pending,
    body.page-id-233 .fgcal-public-setup-notice {
        padding: 10px 12px !important;
        margin: 6px 0 12px !important;
        border-radius: 10px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    body.page-id-233 .fgcal-public-pending p,
    body.page-id-233 .fgcal-public-setup-notice p {
        margin: 4px 0 !important;
    }

    /* Monatsnavigation */

    body.page-id-233 .fgcal-public-navigation,
    body.page-id-233 .fgcal-public-nav {
        margin-top: 8px !important;
        margin-bottom: 10px !important;
        gap: 6px !important;
    }

    /* Unterkunftskarten */

    body.page-id-233 .fgcal-public-mobile-v0555 {
        margin-top: 6px !important;
    }

    body.page-id-233 .fgcal-mobile-unit-v0555 {
        margin-bottom: 9px !important;
        resize: none !important;
        overflow: hidden !important;
    }

    body.page-id-233 .fgcal-mobile-unit-v0555 summary {
        padding: 12px 14px !important;
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    body.page-id-233 .fgcal-mobile-unit-name-v0556 {
        font-weight: 700;
        min-width: 0;
    }

    body.page-id-233 .fgcal-mobile-unit-capacity-v0556 {
        font-size: 12px;
        font-weight: 500;
        color: #607168;
        white-space: nowrap;
        margin-left: auto;
        margin-right: 10px;
    }

    body.page-id-233 .fgcal-mobile-days-v0555 {
        padding: 9px !important;
        gap: 3px !important;
    }

    body.page-id-233 .fgcal-mobile-day-v0555 {
        resize: none !important;
    }

    /* Keine Resize-Griffe an Kalenderbereichen */

    body.page-id-233 .fgcal-public-scroll,
    body.page-id-233 .fgcal-public-mobile-v0555,
    body.page-id-233 .fgcal-mobile-days-v0555 {
        resize: none !important;
    }
}

/* ENDE FEWOGRAAL_V0556 */

/* ==========================================================
   FEWOGRAAL_V0557
   Korrektur anhand der tatsaechlichen HTML-Struktur
   ========================================================== */

/* Innere doppelte Ueberschrift entfernen.
   Die aeussere WordPress-H1 bleibt erhalten. */

body.page-id-233 .fgcal-public-v0548
.fgcal-public-heading {
    display: none !important;
}

/* Smartphone: kompakter Gaestekalender */

@media (max-width: 767px) {

    body.page-id-233 .content-area > h1 {
        text-align: center !important;
        font-size: clamp(27px, 7vw, 34px) !important;
        line-height: 1.15 !important;
        margin: 12px auto 8px !important;
        padding: 0 12px !important;
    }

    body.page-id-233 .content-area > h1 + p {
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin: 0 auto 14px !important;
        padding: 0 16px !important;
        max-width: 480px !important;
    }

    body.page-id-233 .fgcal-public-v0548 {
        margin-top: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 12px !important;
        resize: none !important;
    }

    /* Einrichtungshinweis: kompakt und gut lesbar */

    body.page-id-233 .fgcal-public-pending {
        padding: 12px 14px !important;
        margin: 0 0 12px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    body.page-id-233 .fgcal-public-pending h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin: 0 0 6px !important;
    }

    body.page-id-233 .fgcal-public-pending p {
        margin: 4px 0 8px !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    body.page-id-233 .fgcal-public-contact {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 40px !important;
        padding: 8px 14px !important;
        margin-top: 5px !important;
        font-size: 13px !important;
        text-decoration: none !important;
    }

    /* Monatsnavigation */

    body.page-id-233 .fgcal-public-navigation {
        margin: 8px 0 12px !important;
        padding: 0 4px !important;
        gap: 6px !important;
    }

    body.page-id-233 .fgcal-public-navigation strong {
        font-size: 15px !important;
        text-align: center !important;
    }

    /* Unterkunftsname und Personenanzahl */

    body.page-id-233
    .fgcal-mobile-unit-v0555 > summary {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 13px 14px !important;
    }

    body.page-id-233
    .fgcal-mobile-unit-name-v0556 {
        flex: 1 1 auto !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    body.page-id-233
    .fgcal-mobile-unit-capacity-v0556 {
        flex: 0 0 auto !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #607168 !important;
        white-space: nowrap !important;
        margin-left: auto !important;
        margin-right: 8px !important;
    }

    /* Kalender ohne Resize-Symbol */

    body.page-id-233 .fgcal-public-v0548,
    body.page-id-233 .fgcal-public-scroll,
    body.page-id-233 .fgcal-public-mobile-v0555,
    body.page-id-233 .fgcal-mobile-unit-v0555,
    body.page-id-233 .fgcal-mobile-days-v0555 {
        resize: none !important;
    }
}

/* ENDE FEWOGRAAL_V0557 */

/* ==========================================================
   FEWOGRAAL_V0558
   Oeffentlicher Belegungskalender - Desktop Layout
   ========================================================== */

/* Nur die oeffentliche Seite 233.
   Die interne Kalenderverwaltung bleibt unveraendert. */

@media (min-width: 901px) {

    /* Hauptbereich: gemeinsame Breite und Ausrichtung */

    body.page-id-233 main.content-area {
        width: min(1380px, calc(100% - 48px)) !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Ueberschrift und Einleitung */

    body.page-id-233 main.content-area > h1 {
        max-width: 1380px !important;
        margin: 28px auto 8px !important;
        text-align: center !important;
        font-size: clamp(28px, 2.4vw, 38px) !important;
        line-height: 1.2 !important;
    }

    body.page-id-233 main.content-area > h1 + p {
        max-width: 900px !important;
        margin: 0 auto 26px !important;
        text-align: center !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* Kalender ueber die verfuegbare Breite */

    body.page-id-233 .fgcal-public-v0548 {
        width: 100% !important;
        max-width: 1380px !important;
        margin: 0 auto 28px !important;
        box-sizing: border-box !important;
    }

    /* Doppelte Ueberschrift bleibt ausgeblendet */

    body.page-id-233
    .fgcal-public-v0548
    .fgcal-public-heading {
        display: none !important;
    }

    /* Einrichtungshinweis kompakter */

    body.page-id-233 .fgcal-public-pending {
        padding: 14px 20px !important;
        margin: 0 0 14px !important;
        border-radius: 12px !important;
    }

    body.page-id-233 .fgcal-public-pending h3 {
        margin: 0 0 6px !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    body.page-id-233 .fgcal-public-pending p {
        margin: 4px 0 7px !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    body.page-id-233 .fgcal-public-pending
    .fgcal-public-contact {
        margin-top: 6px !important;
        padding: 9px 16px !important;
        font-size: 13px !important;
    }

    /* Monatsnavigation */

    body.page-id-233 .fgcal-public-navigation {
        margin: 12px 0 !important;
        padding: 0 8px !important;
    }

    body.page-id-233 .fgcal-public-navigation strong {
        font-size: 17px !important;
    }

    /* Tabelle darf die Breite nutzen */

    body.page-id-233 .fgcal-public-scroll {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
    }

    body.page-id-233 table.fgcal-public-grid {
        width: 100% !important;
        min-width: 1080px !important;
        table-layout: fixed !important;
    }

    body.page-id-233
    .fgcal-public-grid th:first-child {
        width: 150px !important;
        min-width: 150px !important;
    }

    body.page-id-233
    .fgcal-public-grid thead th {
        font-size: 12px !important;
    }

    body.page-id-233
    .fgcal-public-grid tbody td {
        height: 35px !important;
    }

    /* Suchformular mittig, aber nicht uebermaessig breit */

    body.page-id-233 .fgcal-search,
    body.page-id-233 .fgcal-public-search,
    body.page-id-233 .fgcal-availability-search {
        width: min(100%, 900px) !important;
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* Tablet: angenehme Seitenabstaende */

@media (min-width: 768px) and (max-width: 900px) {

    body.page-id-233 main.content-area {
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.page-id-233 main.content-area > h1,
    body.page-id-233 main.content-area > h1 + p {
        text-align: center !important;
    }

    body.page-id-233 .fgcal-public-v0548 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ENDE FEWOGRAAL_V0558 */

/* ==========================================================
   FEWOGRAAL_V0559
   Eigenstaendige mobile Gaesteansicht
   ========================================================== */

.fgcal-mobile-v0559 {
    display: none;
}

@media (max-width: 767px) {

    body.page-id-233 main.content-area {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 12px 30px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    body.page-id-233 main.content-area > h1 {
        font-size: 27px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        margin: 8px 0 8px !important;
    }

    body.page-id-233 main.content-area > h1 + p {
        font-size: 14px !important;
        text-align: center !important;
        line-height: 1.45 !important;
        margin: 0 0 18px !important;
    }

    body.page-id-233 .fgcal-public-v0548 {
        padding: 0 !important;
        margin: 0 auto 16px !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        resize: none !important;
        overflow: visible !important;
    }

    /*
     * Die alte Ansicht wird erst ausgeblendet,
     * wenn JavaScript die neue Ansicht erfolgreich
     * aufgebaut hat.
     */

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-scroll,

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-mobile-v0555,

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-navigation,

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-pending,

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-setup-notice,

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-legend {
        display: none !important;
    }

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-mobile-v0559 {
        display: block !important;
    }

    .fgcal-mobile-v0559,
    .fgcal-mobile-v0559 * {
        box-sizing: border-box;
    }

    .fgcal-mobile-v0559 {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        color: #243b32;
        font-family: inherit;
    }

    .fgcal59-card {
        background: #fff;
        border: 1px solid #dce5dd;
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 14px;
        box-shadow: 0 3px 12px rgba(20,45,30,.045);
    }

    .fgcal59-title {
        font-size: 21px;
        font-weight: 750;
        line-height: 1.25;
        margin: 0 0 7px;
    }

    .fgcal59-subtitle {
        font-size: 13px;
        color: #66766c;
        line-height: 1.5;
        margin: 0 0 16px;
    }

    .fgcal59-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fgcal59-field {
        min-width: 0;
    }

    .fgcal59-field label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .fgcal59-field input,
    .fgcal59-field select {
        width: 100%;
        min-width: 0;
        height: 46px;
        padding: 8px;
        border: 1px solid #d3dfd6;
        border-radius: 9px;
        background: #fff;
        color: #243b32;
        font: inherit;
        font-size: 13px;
    }

    .fgcal59-full {
        grid-column: 1 / -1;
    }

    .fgcal59-button {
        width: 100%;
        min-height: 46px;
        border: 0;
        border-radius: 10px;
        background: #285d42;
        color: #fff;
        font: inherit;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        padding: 11px;
    }

    .fgcal59-feedback {
        font-size: 13px;
        line-height: 1.5;
        margin: 12px 0 0;
    }

    .fgcal59-feedback:empty {
        display: none;
    }

    .fgcal59-section-heading {
        font-size: 19px;
        font-weight: 750;
        margin: 22px 2px 12px;
    }

    .fgcal59-unit {
        border: 1px solid #dce5dd;
        border-radius: 13px;
        margin-bottom: 10px;
        background: #fff;
        overflow: hidden;
    }

    .fgcal59-unit[hidden] {
        display: none !important;
    }

    .fgcal59-unit > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px;
        cursor: pointer;
        list-style: none;
        min-height: 66px;
        background: #f5f8f5;
    }

    .fgcal59-unit > summary::-webkit-details-marker {
        display: none;
    }

    .fgcal59-unit-name {
        display: block;
        font-size: 16px;
        font-weight: 750;
    }

    .fgcal59-unit-capacity {
        display: block;
        font-size: 12px;
        color: #6b7b71;
        margin-top: 4px;
    }

    .fgcal59-chevron {
        font-size: 19px;
        flex: 0 0 auto;
    }

    .fgcal59-unit[open] .fgcal59-chevron {
        transform: rotate(180deg);
    }

    .fgcal59-calendar {
        padding: 13px 10px 16px;
    }

    .fgcal59-monthnav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        margin-bottom: 15px;
    }

    .fgcal59-monthnav strong {
        font-size: 14px;
        text-align: center;
    }

    .fgcal59-monthnav a,
    .fgcal59-monthnav span {
        min-width: 38px;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #285d42;
        border: 1px solid #dce5dd;
        border-radius: 9px;
        font-size: 19px;
    }

    .fgcal59-monthnav span {
        opacity: .35;
    }

    .fgcal59-grid {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 4px;
    }

    .fgcal59-weekday {
        font-size: 11px;
        font-weight: 700;
        color: #63766b;
        text-align: center;
        padding: 5px 0 9px;
    }

    .fgcal59-day {
        min-width: 0;
        aspect-ratio: 1 / 1;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: #eceeed;
        color: #59635d;
        font-size: 13px;
        font-weight: 650;
        border: 1px solid transparent;
    }

    .fgcal59-day--empty {
        background: transparent;
    }

    .fgcal59-day--unknown {
        background: #eceeed;
        color: #69736d;
    }

    .fgcal59-day--booked {
        background: #e7a8a8;
        color: #662626;
    }

    .fgcal59-day--reserved {
        background: #f5d58d;
        color: #694b13;
    }

    .fgcal59-day--blocked {
        background: #525b58;
        color: #fff;
    }

    .fgcal59-day--free {
        background: #cfe8d5;
        color: #22593b;
    }

    .fgcal59-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 9px 12px;
        margin-top: 15px;
        font-size: 11px;
        color: #607166;
    }

    .fgcal59-legend-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .fgcal59-dot {
        width: 10px;
        height: 10px;
        border-radius: 3px;
        display: inline-block;
    }

    .fgcal59-notice {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 13px;
        border: 1px solid #dce5dd;
        background: #f4f7f3;
        border-radius: 12px;
        font-size: 12px;
        line-height: 1.5;
        color: #455a4d;
        margin: 12px 0 18px;
    }

    .fgcal59-notice strong {
        color: #263f30;
    }

    .fgcal59-inquiry {
        display: block;
        text-align: center;
        text-decoration: none;
        padding: 13px;
        background: #285d42;
        color: #fff !important;
        font-weight: 700;
        border-radius: 11px;
        margin-top: 12px;
    }

    .fgcal59-empty {
        font-size: 13px;
        padding: 16px;
        color: #657469;
        border: 1px dashed #cdd8cf;
        border-radius: 12px;
        background: #fff;
    }

}

/* ENDE FEWOGRAAL_V0559 */

/* ==========================================================
   FEWOGRAAL_V0560
   Desktop-Gaesteansicht
   Nur oeffentliche Seite 233
   ========================================================== */

.fgcal-desktop-v0560 {
    display: none;
}

@media (min-width: 768px) {

    body.page-id-233 .fgcal-public-v0548 {
        width: min(100%, 1380px) !important;
        max-width: 1380px !important;
        margin: 0 auto 28px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    body.page-id-233
    .fgcal-public-v0548.fgcal-desktop-ready-v0560
    .fgcal-public-pending,

    body.page-id-233
    .fgcal-public-v0548.fgcal-desktop-ready-v0560
    .fgcal-public-setup-notice {
        display: none !important;
    }

    body.page-id-233
    .fgcal-public-v0548.fgcal-desktop-ready-v0560
    .fgcal-desktop-v0560 {
        display: block !important;
    }

    .fgcal-desktop-v0560,
    .fgcal-desktop-v0560 * {
        box-sizing: border-box;
    }

    .fgcal-desktop-v0560 {
        width: 100%;
        margin: 0 auto;
        color: #243b32;
    }

    .fgcal60-search {
        background: #f5f8f5;
        border: 1px solid #dce6dd;
        border-radius: 16px;
        padding: 22px 26px;
        margin-bottom: 18px;
    }

    .fgcal60-heading {
        font-size: 23px;
        font-weight: 750;
        line-height: 1.3;
        margin: 0 0 6px;
    }

    .fgcal60-description {
        font-size: 14px;
        color: #617369;
        margin: 0 0 17px;
    }

    .fgcal60-form {
        display: grid;
        grid-template-columns: 1fr 1fr 180px 220px;
        gap: 13px;
        align-items: end;
    }

    .fgcal60-field {
        min-width: 0;
    }

    .fgcal60-field label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .fgcal60-field input,
    .fgcal60-field select {
        display: block;
        width: 100%;
        height: 46px;
        border: 1px solid #d3ded5;
        border-radius: 9px;
        background: #fff;
        padding: 9px 12px;
        color: #243b32;
        font: inherit;
        font-size: 14px;
    }

    .fgcal60-submit {
        height: 46px;
        width: 100%;
        border: 0;
        border-radius: 9px;
        background: #285d42;
        color: #fff;
        font: inherit;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .fgcal60-feedback {
        margin: 12px 0 0;
        font-size: 13px;
        line-height: 1.5;
        color: #43594a;
    }

    .fgcal60-feedback:empty {
        display: none;
    }

    .fgcal60-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin: 0 0 12px;
    }

    .fgcal60-toolbar h2 {
        font-size: 21px;
        font-weight: 750;
        margin: 0;
    }

    .fgcal60-toolbar p {
        font-size: 13px;
        color: #68786d;
        margin: 3px 0 0;
    }

    .fgcal60-calendar-card {
        background: #fff;
        border: 1px solid #dce6dd;
        border-radius: 16px;
        padding: 18px;
        box-shadow: 0 5px 20px rgba(20,45,30,.045);
        overflow: hidden;
    }

    /*
     * Vorhandene Monatsnavigation und Tabellenstruktur
     * bleiben funktional erhalten.
     */

    body.page-id-233 .fgcal-public-navigation {
        margin: 0 0 14px !important;
        padding: 0 !important;
    }

    body.page-id-233 .fgcal-public-navigation strong {
        font-size: 17px !important;
    }

    body.page-id-233 .fgcal-public-scroll {
        overflow-x: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.page-id-233 table.fgcal-public-grid {
        width: 100% !important;
        min-width: 980px !important;
        border-spacing: 3px !important;
        border-collapse: separate !important;
        table-layout: fixed !important;
    }

    body.page-id-233
    .fgcal-public-grid th:first-child {
        width: 150px !important;
        min-width: 150px !important;
    }

    body.page-id-233
    .fgcal-public-grid thead th {
        height: 42px !important;
        padding: 5px 2px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    body.page-id-233
    .fgcal-public-grid tbody th {
        font-size: 13px !important;
        padding: 9px 6px !important;
        line-height: 1.4 !important;
    }

    body.page-id-233
    .fgcal-public-grid tbody td {
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        border-radius: 5px !important;
    }

    .fgcal60-notice {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-top: 16px;
        padding: 13px 16px;
        border: 1px solid #dce6dd;
        border-radius: 11px;
        background: #f5f8f5;
    }

    .fgcal60-notice-text {
        font-size: 12px;
        line-height: 1.5;
        color: #52675a;
    }

    .fgcal60-notice-text strong {
        display: block;
        font-size: 13px;
        color: #2b4735;
        margin-bottom: 2px;
    }

    .fgcal60-inquiry {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 16px;
        border-radius: 9px;
        background: #285d42;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    .fgcal60-hidden-unit {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {

    .fgcal60-form {
        grid-template-columns: 1fr 1fr;
    }

    .fgcal60-search {
        padding: 18px;
    }

    .fgcal60-notice {
        align-items: flex-start;
    }
}

/* ENDE FEWOGRAAL_V0560 */

/* ==========================================================
   FEWOGRAAL_V0561
   Kompakte Unterkunftsauswahl auf Smartphones
   ========================================================== */

@media (max-width: 767px) {

    /*
     * Neue mobile Unterkunftskarten v0.5.59
     */

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit {
        margin-bottom: 9px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit > summary {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;

        min-height: 64px !important;
        padding: 11px 15px !important;

        background: #f4f7f4 !important;
        cursor: pointer !important;
        list-style: none !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit > summary::-webkit-details-marker {
        display: none !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit-name {
        display: block !important;
        font-size: 16px !important;
        font-weight: 750 !important;
        line-height: 1.25 !important;
        color: #243b32 !important;
        margin: 0 !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit-capacity {
        display: block !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        color: #687b6d !important;
        margin-top: 4px !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-chevron {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 28px !important;
        height: 28px !important;

        font-size: 20px !important;
        font-weight: 400 !important;
        color: #365943 !important;

        transition: transform .15s ease !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit[open]
    .fgcal59-chevron {
        transform: rotate(180deg) !important;
    }

    /*
     * Fallback fuer alte mobile Akkordeons.
     * Die bisherige Daten- und Kalenderlogik
     * wird nicht veraendert.
     */

    body.page-id-233
    .fgcal-public-mobile-v0555
    .fgcal-mobile-unit-v0555 > summary {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;

        min-height: 62px !important;
        padding: 12px 15px !important;

        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    body.page-id-233
    .fgcal-public-mobile-v0555
    .fgcal-mobile-unit-name-v0556 {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    body.page-id-233
    .fgcal-public-mobile-v0555
    .fgcal-mobile-unit-capacity-v0556 {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
        color: #687b6d !important;
    }

    /*
     * Schutz vor zusammengeklebten Texten.
     * Wir veraendern keine Belegungszellen.
     */

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit > summary > span:first-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
}

/* ENDE FEWOGRAAL_V0561 */

/* ==========================================================
   FEWOGRAAL_V0562
   Mobile Doppelanzeige entfernen
   ========================================================== */

@media (max-width: 767px) {

    /*
     * Alte mobile Akkordeon-Ansicht ausblenden,
     * aber nur wenn die neue Ansicht erfolgreich
     * initialisiert wurde.
     */

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-mobile-v0555 {
        display: none !important;
        visibility: hidden !important;
    }

    /*
     * Alte Monatsuebersicht und deren Legende
     * auf Smartphones ebenfalls ausblenden.
     */

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-scroll,

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-legend,

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-public-navigation {
        display: none !important;
    }

    /*
     * Neue Unterkunftsauswahl:
     * Name links, Kapazitaet rechts, Pfeil rechts.
     */

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit > summary {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        min-height: 58px !important;
        padding: 11px 15px !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit > summary > span:first-child {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit-name {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-unit-capacity {
        display: block !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #687b6d !important;
        white-space: nowrap !important;
    }

    body.page-id-233
    .fgcal-mobile-v0559
    .fgcal59-chevron {
        display: inline-flex !important;
        flex: 0 0 26px !important;
        width: 26px !important;
        height: 26px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        color: #365943 !important;
    }

    /*
     * Sicherstellen, dass nur die neue
     * mobile Gaesteansicht sichtbar ist.
     */

    body.page-id-233
    .fgcal-public-v0548.fgcal-mobile-ready-v0559
    .fgcal-mobile-v0559 {
        display: block !important;
        visibility: visible !important;
    }
}

/* ENDE FEWOGRAAL_V0562 */

/* =========================================================
   FEWOGRAAL_V0563
   Mobile Gaesteansicht: alte Akkordeons ausblenden
   ========================================================= */

@media screen and (max-width: 767px) {

    /*
     * Die alte, von v0.5.55 erzeugte Akkordeon-Liste
     * wird auf Smartphones nicht mehr angezeigt.
     *
     * Wichtig:
     * Kein Abhaengigkeitscheck auf eine ready-Klasse.
     * Dadurch greift die Regel auch dann, wenn die
     * neue mobile Ansicht andere Klassen verwendet.
     */

    body.page-id-233
    .fgcal-public-mobile-v0555,

    body.page-id-233
    .fgcal-public-v0548
    .fgcal-public-mobile-v0555,

    body.page-id-233
    .fgcal-mobile-unit-v0555 {
        display: none !important;
    }

    /*
     * Die originale breite Desktop-Tabelle bleibt
     * im DOM erhalten, damit die neue mobile Ansicht
     * weiterhin daraus lesen kann.
     *
     * Nur die visuelle Darstellung wird unterdrueckt.
     */

    body.page-id-233
    .fgcal-public-v0548
    .fgcal-public-scroll {
        display: none !important;
    }

    /*
     * Alte Monatsnavigation nicht doppelt anzeigen.
     * Die neue mobile Monatsnavigation bleibt erhalten.
     */

    body.page-id-233
    .fgcal-public-v0548
    .fgcal-public-navigation {
        display: none !important;
    }

    /*
     * Den wichtigen Einrichtungshinweis bewusst
     * beibehalten, solange Daten unbestaetigt sind.
     */

    body.page-id-233
    .fgcal-public-v0548
    .fgcal-public-pending {
        visibility: visible;
    }

    /*
     * Unterkuenfte sollen nicht durch alte
     * CSS-Regeln unnoetig auseinandergezogen werden.
     */

    body.page-id-233
    .fgcal-mobile-v0559 details {
        max-width: 100%;
        box-sizing: border-box;
    }

}

/* ENDE FEWOGRAAL_V0563 */

/* ========================================================
   FEWOGRAAL_V0564
   Mobile Kalenderkarten - Beschriftung
   ======================================================== */

@media screen and (max-width: 767px) {

    body.page-id-233
    .fgcal64-summary {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        list-style: none !important;
        padding: 14px 16px !important;
    }

    body.page-id-233
    .fgcal64-summary::-webkit-details-marker {
        display: none !important;
    }

    body.page-id-233
    .fgcal64-summary::marker {
        content: '' !important;
    }

    body.page-id-233
    .fgcal64-name {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
    }

    body.page-id-233
    .fgcal64-capacity {
        flex: 0 0 auto !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #667a6c !important;
        white-space: nowrap !important;
    }

    body.page-id-233
    .fgcal64-arrow {
        flex: 0 0 20px !important;
        font-size: 22px !important;
        font-weight: 400 !important;
        text-align: center !important;
        line-height: 1 !important;
    }

    body.page-id-233
    details[open] > .fgcal64-summary
    .fgcal64-arrow {
        transform: rotate(180deg);
    }
}

/* ENDE FEWOGRAAL_V0564 */

/* =====================================================
   FEWOGRAAL_V0565
   Beschriftung der urspruenglichen mobilen Kalenderkarten
   ===================================================== */

@media screen and (max-width: 767px) {

    body.page-id-233
    .fgcal-mobile-unit > summary.fgcal65-summary {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 14px 16px !important;
        list-style: none !important;
    }

    body.page-id-233
    .fgcal-mobile-unit > summary.fgcal65-summary
    ::-webkit-details-marker {
        display: none !important;
    }

    body.page-id-233
    .fgcal65-unit-name {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
    }

    body.page-id-233
    .fgcal65-unit-capacity {
        flex: 0 0 auto !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #64786c !important;
        white-space: nowrap !important;
    }
}

/* ENDE FEWOGRAAL_V0565 */
