/* ─── Fun Forest Widget — Styles v1.9 ───────────────────────────────────────── */
/*
 * Fun Forest Brandfarben:
 *   Dunkelgrün  #1a4a27   (Header, starke Akzente)
 *   Mittelgrün  #2d7a3e   (Buttons, Preise, Badges)
 *   Hellgrün    #4ade80   (Highlights)
 *   Grün-BG     #f0fdf4   (Hintergründe geöffnet)
 *   Orange      #ea6c0a   (CTA, "günstigster"-Badge)
 *   Amber       #f59e0b   (teilweise geöffnet)
 *   Rot         #dc2626   (Notfallschließung)
 */

/* ─── Status-Badge ─── */

.ff-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .85rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.ff-status-badge--open {
    background: #dcfce7;
    color: #166534;
    border: 1.5px solid #bbf7d0;
}

.ff-status-badge--closed {
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
}

.ff-status-badge--forced {
    background: #fee2e2;
    color: #991b1b;
    border: 1.5px solid #fecaca;
}

.ff-status-icon {
    font-size: .75rem;
    flex-shrink: 0;
}

.ff-status-badge--open   .ff-status-icon { color: #16a34a; }
.ff-status-badge--closed .ff-status-icon { color: #94a3b8; }
.ff-status-badge--forced .ff-status-icon {
    font-size: .9rem;
    font-weight: 900;
    animation: ff-pulse 1.4s ease-in-out infinite;
}

@keyframes ff-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
}

/* ═══ PREISLISTE — Gemeinsame Basis ════════════════════════════════════════════ */

.funforest-prices { margin: 1.5rem 0; font-family: inherit; }

.funforest-price-group { margin-bottom: 2.5rem; }

.funforest-price-group__name {
    font-size: 1.2rem; font-weight: 800; color: #1a4a27;
    margin: 0 0 0.2rem; letter-spacing: -0.01em;
}

.funforest-price-group__subtitle {
    font-size: 0.9rem; color: #64748b; margin: 0 0 0.85rem;
}

/* ─── Karten-Stil ─── */

.funforest-prices--karten .funforest-price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.85rem;
}

.funforest-price-card {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 1.1rem 1rem;
    border: 2px solid #e2e8f0; border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26,74,39,.07);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.funforest-price-card:hover {
    border-color: #4ade80;
    box-shadow: 0 4px 16px rgba(26,74,39,.14);
    transform: translateY(-2px);
}

.funforest-price-card__label {
    font-size: .92rem; font-weight: 700; color: #1e293b; line-height: 1.3;
}

.funforest-price-card__desc {
    font-size: .8rem; color: #64748b; margin-bottom: .25rem;
}

.funforest-price-card__price {
    font-size: 1.4rem; font-weight: 800; color: #2d7a3e;
    margin-top: auto; padding-top: .5rem; letter-spacing: -.02em;
}

.funforest-price-card__pricelist {
    list-style: none; margin: .4rem 0 0; padding: 0;
    display: flex; flex-direction: column; gap: .3rem;
    border-top: 1px solid #f1f5f9; padding-top: .5rem;
}

.funforest-price-card__pricelist li {
    display: flex; align-items: center; gap: .4rem;
    font-size: .85rem; padding: .15rem 0;
}

.funforest-pricelist__model  { color: #64748b; flex: 1; font-size: .82rem; }
.funforest-pricelist__value  { font-weight: 700; color: #334155; white-space: nowrap; }

.funforest-price-card__pricelist li.funforest-price--best .funforest-pricelist__value {
    color: #2d7a3e; font-size: 1rem;
}

.funforest-price-badge {
    display: inline-block;
    font-size: .65rem; font-weight: 700;
    background: #ea6c0a; color: #fff;
    padding: .1rem .45rem; border-radius: 2rem;
    white-space: nowrap; text-transform: uppercase;
    letter-spacing: .04em; vertical-align: middle;
}

/* ─── Tabellen-Stil ─── */

.funforest-price-table {
    width: 100%; border-collapse: collapse; font-size: .95rem;
    background: #fff; border-radius: .75rem; overflow: hidden;
    box-shadow: 0 1px 4px rgba(26,74,39,.08);
}

.funforest-price-table thead tr { background: #1a4a27; color: #fff; }

.funforest-price-table thead th {
    padding: .65rem .75rem; font-weight: 700; font-size: .85rem;
    text-align: left; letter-spacing: .02em;
}

.funforest-price-table thead th:last-child { text-align: right; }

.funforest-price-table tr { border-bottom: 1px solid #f1f5f9; transition: background .12s; }
.funforest-price-table tbody tr:hover { background: #f0fdf4; }
.funforest-price-table tr:last-child   { border-bottom: none; }
.funforest-price-table td { padding: .65rem .75rem; vertical-align: middle; }

.funforest-price-table__label      { font-weight: 600; color: #1e293b; }
.funforest-price-table__item-desc  { display: block; font-size: .8rem; color: #94a3b8; font-weight: 400; margin-top: .1rem; }
.funforest-price-table__model      { color: #64748b; font-size: .88rem; }
.funforest-price-table__price      { text-align: right; font-weight: 700; color: #334155; white-space: nowrap; }

.funforest-price-table__row--best .funforest-price-table__price {
    color: #2d7a3e; font-size: 1.05rem;
}

/* ─── Matrix-Stil (Preismodell-Vergleich) ─── */

.funforest-price-group--matrix {
    background: #fff; border: 2px solid #e2e8f0; border-radius: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 2px 12px rgba(26,74,39,.08);
}

.ff-matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.ff-price-matrix {
    width: 100%; border-collapse: separate; border-spacing: 0;
    font-size: .93rem; min-width: 340px;
}

.ff-price-matrix thead tr { background: #1a4a27; }

.ff-matrix-th-ticket,
.ff-matrix-th-model {
    padding: .7rem 1rem; font-weight: 700; font-size: .85rem;
    color: #fff; text-align: center; white-space: nowrap; letter-spacing: .02em;
}

.ff-matrix-th-ticket { text-align: left; border-radius: .5rem 0 0 0; min-width: 130px; }
.ff-price-matrix thead tr th:last-child { border-radius: 0 .5rem 0 0; }
.ff-matrix-th-best { background: #2d7a3e; }

.ff-matrix-best-badge {
    display: block; font-size: .6rem; font-weight: 600;
    background: #ea6c0a; color: #fff;
    padding: .1rem .4rem; border-radius: 2rem;
    margin: .2rem auto 0; text-transform: uppercase;
    letter-spacing: .04em; width: fit-content;
}

.ff-matrix-row { border-bottom: 1px solid #f1f5f9; transition: background .12s; }
.ff-matrix-row:last-child { border-bottom: none; }
.ff-matrix-row:hover { background: #f0fdf4; }

.ff-matrix-td-ticket { padding: .75rem 1rem; vertical-align: middle; }

.ff-matrix-ticket-label { display: block; font-weight: 700; color: #1e293b; font-size: .92rem; }
.ff-matrix-ticket-desc  { display: block; font-size: .78rem; color: #94a3b8; margin-top: .1rem; font-weight: 400; }

.ff-matrix-td-price {
    padding: .75rem 1rem; text-align: center;
    vertical-align: middle; color: #475569; white-space: nowrap;
}

.ff-matrix-td-first { background: rgba(45,122,62,.04); }
.ff-matrix-td-best  { background: #f0fdf4; }

.ff-matrix-price-value { font-weight: 700; font-size: 1rem; }
.ff-matrix-td-best .ff-matrix-price-value { color: #2d7a3e; font-size: 1.1rem; }
.ff-matrix-na { color: #cbd5e1; }

.funforest-prices-error,
.funforest-prices-empty { color: #94a3b8; font-style: italic; font-size: .9rem; padding: .5rem 0; }

/* ═══ ÖFFNUNGSZEITEN ═══════════════════════════════════════════════════════════ */

.funforest-oz-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .85rem; border-radius: 2rem;
    font-size: .85rem; font-weight: 700; white-space: nowrap;
}

.funforest-oz-badge::before {
    content: ''; display: inline-block;
    width: .5rem; height: .5rem; border-radius: 50%;
    background: currentColor; opacity: .8;
}

.funforest-oz-badge--open   { background: #dcfce7; color: #166534; border: 1.5px solid #bbf7d0; }
.funforest-oz-badge--closed { background: #fee2e2; color: #991b1b; border: 1.5px solid #fecaca; }

.funforest-oz-box {
    display: inline-flex; align-items: flex-start; gap: .7rem;
    padding: .9rem 1.35rem; border-radius: .85rem;
    border-left: 4px solid transparent; background: #f8fafc;
    font-size: .95rem; line-height: 1.55;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.funforest-oz-box--open   { border-left-color: #2d7a3e; background: #f0fdf4; }
.funforest-oz-box--closed { border-left-color: #dc2626; background: #fff1f2; }

.funforest-oz-box__dot {
    display: inline-block; width: .65rem; height: .65rem;
    border-radius: 50%; flex-shrink: 0; margin-top: .3rem;
}

.funforest-oz-box--open .funforest-oz-box__dot   { background: #2d7a3e; box-shadow: 0 0 0 3px #bbf7d0; }
.funforest-oz-box--closed .funforest-oz-box__dot  { background: #dc2626; box-shadow: 0 0 0 3px #fecaca; }

.funforest-oz-box__status { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.funforest-oz-box__next   { font-weight: 700; }

.funforest-oz-table {
    width: 100%; border-collapse: collapse; font-size: .9rem;
    max-width: 560px; background: #fff; border-radius: .75rem;
    overflow: hidden; box-shadow: 0 1px 4px rgba(26,74,39,.07);
}

.funforest-oz-table thead tr { background: #1a4a27; color: #fff; }

.funforest-oz-table th {
    text-align: left; padding: .6rem .75rem;
    font-weight: 700; font-size: .82rem; letter-spacing: .02em;
}

.funforest-oz-table td { padding: .6rem .75rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.funforest-oz-table tr:last-child td  { border-bottom: none; }
.funforest-oz-table tbody tr:hover    { background: #f0fdf4; }

.funforest-oz-open   { color: #166534; font-weight: 700; }
.funforest-oz-closed { color: #991b1b; }

.funforest-oz-error,
.funforest-oz-empty { color: #94a3b8; font-style: italic; font-size: .9rem; }

/* ─── Kalender-Ansicht v1.8 — Wochenzeilen-Pillen ─── */

.funforest-oz-kalender {
    font-family: inherit;
    width: 100%;          /* AVADA: explizite Breite statt nur max-width */
    max-width: 380px;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26,74,39,.12);
    border: 2px solid #e2e8f0;
    background: #fff;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

/* Optional-Titel (Hauptkategorie) */
.ff-cal-title {
    background: #1a4a27;
    color: #d1fae5;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: .4rem 1rem .3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Header: Monat + Navigation */
.ff-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a4a27;
    color: #fff;
    padding: .7rem 1rem;
}

.ff-cal-month-label {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.ff-cal-nav {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    padding: 0;
    touch-action: manipulation;
    flex-shrink: 0;
}

.ff-cal-nav:hover,
.ff-cal-nav:focus-visible {
    background: rgba(255,255,255,.3);
    outline: 2px solid rgba(255,255,255,.7);
    outline-offset: 2px;
}

/* Toggle-Buttons (Sonderevents) */
.ff-cal-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .55rem .75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ff-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .7rem;
    border-radius: 999px;
    border: 2px solid var(--toggle-color, #64748b);
    background: var(--toggle-color, #64748b);
    color: #fff;
    font-size: .73rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s, opacity .15s;
    touch-action: manipulation;
    line-height: 1;
}

.ff-toggle-btn:focus-visible {
    outline: 2px solid var(--toggle-color, #64748b);
    outline-offset: 3px;
}

.ff-toggle-btn--off {
    background: transparent;
    color: var(--toggle-color, #64748b);
    opacity: .6;
}

.ff-toggle-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    flex-shrink: 0;
}

.ff-toggle-btn--off .ff-toggle-dot {
    background: var(--toggle-color, #64748b);
}

/* Wochentag-Labels */
.ff-cal-weekday-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #2d7a3e;
    padding: 0 .4rem;
    width: 100%;
    box-sizing: border-box;
}

.ff-wd {
    text-align: center;
    padding: .38rem 0;
    font-size: .68rem;
    font-weight: 700;
    color: #d1fae5;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Wochen-Container */
.ff-cal-weeks {
    padding: .45rem .4rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

.ff-cal-week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    width: 100%;
}

/* Leer-Slots */
.ff-cal-pad {
    aspect-ratio: 1;
    min-height: 2.2rem;
}

/* Tages-Zelle */
.ff-cal-cell {
    aspect-ratio: 1;
    min-height: 2.2rem; /* AVADA-Fallback falls aspect-ratio nicht greift */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 999px;   /* solo = volle Pille */
    cursor: pointer;
    position: relative;
    transition: filter .12s;
    min-width: 0;
    box-sizing: border-box;
}

.ff-cal-cell:focus-visible {
    outline: 2px solid #1a4a27;
    outline-offset: -2px;
    z-index: 5;
}

/* Pille verbinden: gleicher State → innere Ecken abflachen */
.ff-cal-cell.ff-connect-l {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.ff-cal-cell.ff-connect-r {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Zustands-Farben */
.ff-cal-cell.ff-state-open   { background: #dcfce7; }
.ff-cal-cell.ff-state-closed { background: #f1f5f9; }
.ff-cal-cell.ff-state-unknown { background: transparent; }

/* Tages-Zahl */
.ff-cell-day {
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
}

.ff-state-open    .ff-cell-day { color: #166534; }
.ff-state-closed  .ff-cell-day { color: #94a3b8; }
.ff-state-unknown .ff-cell-day { color: #d1d5db; }

/* Heute-Ring */
.ff-cal-cell.ff-today {
    outline: 2.5px solid #1a4a27;
    outline-offset: -2px;
    z-index: 2;
}

/* Vergangene Tage */
.ff-cal-cell.ff-past { opacity: .48; }

/* Toggle-Punkte (Sonderevents) */
.ff-cell-overlays {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: center;
    min-height: .45rem;
}

.ff-cell-toggle-dot {
    width: .34rem;
    height: .34rem;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
}

/* Toggle-Off — Dots ausblenden */
.ff-toggle-off--nachtklettern       .ff-cell-toggle--nachtklettern       { display: none; }
.ff-toggle-off--feriencamp          .ff-cell-toggle--feriencamp          { display: none; }
.ff-toggle-off--geburtstagsangebote .ff-cell-toggle--geburtstagsangebote { display: none; }
.ff-toggle-off--wertgutschein       .ff-cell-toggle--wertgutschein       { display: none; }

/* Legende ausblenden wenn Toggle off */
.ff-toggle-off--nachtklettern       .ff-legend-event--nachtklettern       { opacity: .3; }
.ff-toggle-off--feriencamp          .ff-legend-event--feriencamp          { opacity: .3; }
.ff-toggle-off--geburtstagsangebote .ff-legend-event--geburtstagsangebote { opacity: .3; }
.ff-toggle-off--wertgutschein       .ff-legend-event--wertgutschein       { opacity: .3; }

/* Hover-Tooltip */
.ff-cal-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #1a4a27;
    color: #fff;
    border-radius: .6rem;
    padding: .5rem .7rem;
    min-width: 170px;
    max-width: 230px;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    pointer-events: none;
    font-size: .77rem;
    line-height: 1.5;
    white-space: nowrap;
}

.ff-cal-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a4a27;
}

/* Tooltip bei Hover (Desktop) und Touch-Toggle (JS-Klasse) */
.ff-cal-cell:hover .ff-cal-tooltip,
.ff-cal-cell:focus-visible .ff-cal-tooltip,
.ff-cal-cell.ff-tooltip-open .ff-cal-tooltip { display: block; }

/* Tooltip-Position für Rand-Zellen */
.ff-cal-week-row > :nth-child(1) .ff-cal-tooltip,
.ff-cal-week-row > :nth-child(2) .ff-cal-tooltip {
    left: 0; transform: none;
}
.ff-cal-week-row > :nth-child(1) .ff-cal-tooltip::after,
.ff-cal-week-row > :nth-child(2) .ff-cal-tooltip::after {
    left: 1.1rem; transform: none;
}
.ff-cal-week-row > :nth-child(6) .ff-cal-tooltip,
.ff-cal-week-row > :nth-child(7) .ff-cal-tooltip {
    left: auto; right: 0; transform: none;
}
.ff-cal-week-row > :nth-child(6) .ff-cal-tooltip::after,
.ff-cal-week-row > :nth-child(7) .ff-cal-tooltip::after {
    left: auto; right: 1.1rem; transform: none;
}

/* Tooltip-Inhalte */
.ff-tt-date {
    font-weight: 800;
    font-size: .8rem;
    color: #86efac;
    margin-bottom: .3rem;
    letter-spacing: .01em;
}

.ff-tt-row {
    display: flex;
    align-items: center;
    gap: .38rem;
    padding: .08rem 0;
    font-size: .74rem;
}

.ff-tt-dot {
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.ff-tt-open   .ff-tt-dot { background: #4ade80; }
.ff-tt-closed .ff-tt-dot { background: #f87171; }
.ff-tt-open   { color: #d1fae5; }
.ff-tt-closed { color: #fca5a5; }
.ff-tt-event  { color: #e2e8f0; }
.ff-tt-name   { flex: 1; }
.ff-tt-time   {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-weight: 600;
    font-size: .7rem;
    color: #86efac;
}

/* Legende */
.ff-cal-legend {
    display: flex;
    gap: .65rem;
    padding: .5rem .75rem;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    flex-wrap: wrap;
    justify-content: center;
}

.ff-legend-item {
    display: flex;
    align-items: center;
    gap: .32rem;
    font-size: .7rem;
    color: #475569;
    font-weight: 500;
    transition: opacity .2s;
}

.ff-legend-swatch {
    width: .58rem;
    height: .58rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.ff-swatch-open   { background: #2d7a3e; }
.ff-swatch-closed { background: #cbd5e1; }
.ff-swatch-forced { background: #dc2626; }

/* Notfallschließung: rote Zelle */
.ff-cal-cell.ff-forced {
    background: #fee2e2 !important;
}

.ff-cal-cell.ff-forced .ff-cell-day { color: #991b1b !important; }

/* Tooltip: forced */
.ff-tt-forced       { color: #fecaca; }
.ff-tt-forced .ff-tt-dot { background: #dc2626; }

/* ─── Mobile ─── */

@media (max-width: 400px) {
    .funforest-oz-kalender { max-width: 100%; }
    .ff-cal-weeks { padding: .35rem .25rem; }
    .ff-cell-day { font-size: .7rem; }
    .ff-wd { font-size: .6rem; letter-spacing: 0; }
    .ff-cal-toggle-btn { font-size: .68rem; padding: .22rem .55rem; }
    .ff-cal-legend { gap: .45rem; padding: .4rem .5rem; }
}

@media (max-width: 320px) {
    .ff-wd { font-size: .55rem; }
    .ff-cell-day { font-size: .62rem; }
}

@media (max-width: 480px) {
    .funforest-oz-kalender { max-width: 100%; }
    .funforest-prices--karten .funforest-price-cards {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}


/* ─── Park-Info-Box ─────────────────────────────────────────────────────────── */

/*
 * Wenn der Shortcode einen disabled-Sentinel ausgibt (kein aktiver Inhalt
 * oder site_disabled=true), wird die übergeordnete AVADA .parkinfobox
 * komplett ausgeblendet. :has() ist seit 2023 in allen modernen Browsern
 * unterstützt (Chrome 105+, Firefox 121+, Safari 15.4+).
 */
.parkinfobox:has(.funforest-park-info-disabled) {
    display: none !important;
}

/* Inhalt der Park-Info-Box */
.funforest-park-info-content {
    line-height: 1.6;
    color: inherit;
}

.funforest-park-info-content strong {
    font-weight: 700;
}

.funforest-park-info-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.funforest-park-info-content a:hover {
    opacity: .8;
}

/* ─── Kategorie-Tabs-Kalender ───────────────────────────────────────────────── */

.funforest-oz-tabs {
    max-width: 520px;
    margin: 0 auto;
    font-family: inherit;
}

.ff-tabs-title {
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: .65rem;
    color: #1e293b;
}

.ff-tabs-month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: .5rem;
}

.ff-tabs-nav-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #475569;
    padding: .15rem .45rem;
    border-radius: 4px;
    transition: background .15s, color .15s;
}
.ff-tabs-nav-btn:hover { background: #f1f5f9; color: #1e293b; }

.ff-tabs-month-label {
    font-size: .9rem;
    font-weight: 600;
    color: #1e293b;
    min-width: 130px;
    text-align: center;
}

.ff-tabs-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: .1rem;
    margin-bottom: .5rem;
    border-bottom: 2px solid #e2e8f0;
}
.ff-tabs-nav::-webkit-scrollbar { display: none; }

.ff-tab-btn {
    flex-shrink: 0;
    padding: .4rem .9rem;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
    white-space: nowrap;
    transition: color .15s, border-color .15s, background .15s;
}
.ff-tab-btn:hover { color: #1e293b; background: #f8fafc; }
.ff-tab-btn.is-active {
    color: #2d6a4f;
    border-bottom-color: #2d6a4f;
    font-weight: 600;
}

.ff-tab-panel { display: none; }
.ff-tab-panel.is-active { display: block; }

/* Eigene Monats-Navigation der inneren Kalender ausblenden — Tabs nutzt die äußere */
.ff-tab-panel .ff-cal-header { display: none !important; }

@media (max-width: 480px) {
    .funforest-oz-tabs { max-width: 100%; }
    .ff-tab-btn { font-size: .78rem; padding: .38rem .65rem; }
}
