#page-content > #jagdzeiten.hunting-seasons { display:block; }
#page-content > #jagdzeiten.hunting-seasons > * { max-width:none; }
.hunting-seasons { --season-ink:#173a2c; --season-fill:#c9e1d1; --season-line:#bac7be; scroll-margin-top:140px; }
.hunting-seasons .seasons-intro { max-width:85ch!important; }
.hunting-seasons h3 { margin:0 0 18px; font-size:clamp(1.35rem,2vw,1.8rem); }
.seasons-source { font-size:.86rem; color:#4a5e50; }
.seasons-notice { border-left:3px solid #a68c53; padding:12px 18px; background:#f5f3eb; font-size:.95rem; }
.seasons-month-view,.seasons-year-view,.seasons-notes { margin-top:40px; }
.seasons-months { overflow-x:auto; margin:0 0 22px; padding:6px 4px 12px; scrollbar-color:#839c88 #edf3ed; }
.seasons-month-track { display:flex; position:relative; width:max-content; min-width:100%; }
.seasons-month-track::before { content:""; position:absolute; top:22px; left:39px; right:39px; height:2px; background:var(--season-line); }
.hunting-seasons:not(.seasons-enhanced) .seasons-months { display:none; }
.seasons-months button { position:relative; flex:1 0 78px; width:78px; padding:43px 4px 10px; min-height:126px; border:0; border-radius:4px; background:transparent; color:var(--season-ink); font:inherit; font-size:.84rem; cursor:pointer; text-align:center; }
.seasons-months button::before { content:""; position:absolute; top:16px; left:calc(50% - 7px); width:14px; height:14px; background:#fff; border:2px solid #7c9581; border-radius:50%; box-sizing:border-box; }
.seasons-months button::after { content:"+"; display:block; margin:5px auto 0; line-height:1; font-size:1.2rem; }
.seasons-months button:hover { background:#ffffff80; }
.seasons-months button[aria-current=date]::before { background:#a68c53; border-color:#a68c53; box-shadow:0 0 0 5px #a68c5325; }
.seasons-months button[aria-expanded=true] { background:var(--season-ink); color:white; }
.seasons-months button[aria-expanded=true]::before { background:#fff; border-color:#fff; }
.seasons-months button[aria-expanded=true]::after { content:"−"; }
.season-current-marker { display:block; font-size:.63rem; line-height:1.25; margin-top:4px; font-weight:600; }
.seasons-months button:focus-visible,.seasons-table-scroll:focus-visible { outline:3px solid #967a3e; outline-offset:3px; }
.seasons-month-panel { border:1px solid var(--season-line); border-radius:8px; overflow:hidden; background:#fff; }
.seasons-month-panel[hidden] { display:none!important; }
.seasons-month-panel + .seasons-month-panel { margin-top:20px; }
.seasons-month-heading { padding:22px 26px; background:var(--season-ink); color:white; }
.seasons-month-heading .side-label { color:#d6e6d8; }
.seasons-month-heading h4 { font-size:2rem; margin:6px 0; color:white; }
.seasons-month-heading p:last-child { margin:0; font-size:.87rem; color:#e1e9e2; }
.seasons-month-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; padding:26px; }
.seasons-month-grid h5 { margin:0 0 12px; font-size:1.05rem; color:var(--season-ink); }
.seasons-month-grid ul { list-style:none; padding:0; margin:0; }
.seasons-month-grid li { padding:9px 0; border-bottom:1px solid #e5ebe5; font-size:.89rem; line-height:1.5; }
.seasons-month-grid li small { display:block; color:#53644d; font-size:.8rem; }
.season-species-image { display:block; object-fit:contain; flex-shrink:0; background:#fff; border-radius:3px; }
.seasons-month-grid .season-species-item { display:flex; align-items:center; gap:12px; }
.seasons-month-grid .season-species-image { width:50px; height:58px; }
.seasons-month-grid .season-species-item > span { min-width:0; }
.seasons-month-grid .seasons-special { border-left:3px solid #a68c53; padding-left:10px; }
.seasons-month-note { margin:0!important; padding:18px 26px; background:#f5f3eb; font-size:.88rem; }
.seasons-legend { display:flex; flex-wrap:wrap; gap:12px 24px; margin:22px 0; font-size:.85rem; }
.seasons-legend span { display:inline-flex; align-items:center; gap:8px; }
.seasons-legend i { display:inline-block; width:28px; height:18px; border:1px solid #718576; background:var(--season-fill); }
.seasons-legend .partial { background:linear-gradient(90deg,white 50%,var(--season-fill) 50%); }
.seasons-legend .closed { background:white; }
.seasons-table-scroll { max-width:100%; overflow-x:auto; margin:22px 0 32px; border:1px solid var(--season-line); border-radius:5px; scrollbar-color:#839c88 #edf3ed; }
.seasons-table { width:100%; min-width:1030px; table-layout:fixed; border-collapse:separate; border-spacing:0; font-size:.83rem; line-height:1.4; margin:0; }
.seasons-table caption { text-align:left; padding:12px 16px; color:#fff; background:var(--season-ink); font-size:1rem; font-weight:700; }
.seasons-species-col { width:290px; }
.seasons-month-col { width:46px; }
.seasons-dates-col { width:160px; }
.seasons-table th,.seasons-table td { padding:0; border-right:1px solid var(--season-line); border-bottom:1px solid var(--season-line); vertical-align:middle; }
.seasons-table tr:last-child > * { border-bottom:0; }
.seasons-table tr > :last-child { border-right:0; }
.seasons-table thead th { background:#edf3ed; color:var(--season-ink); text-align:center; padding:10px 3px; font-size:.75rem; }
.seasons-table abbr { text-decoration:none; }
.seasons-table tbody th { position:sticky; left:0; z-index:1; background:#fff; color:#23382a; padding:9px 12px; text-align:left; font-weight:500; }
.seasons-table tbody th .season-species-image { float:left; width:36px; height:40px; margin:0 9px 0 0; }
.seasons-table tbody th > span { display:block; overflow:hidden; }
.seasons-table thead th:first-child { text-align:left; padding-left:12px; position:sticky; left:0; z-index:2; }
.seasons-table td { background:white; position:relative; }
.seasons-table .seasons-dates { padding:7px 10px; font-size:.77rem; }
.season-cell { position:absolute; inset:0; display:block; }
.season-bar { position:absolute; top:0; bottom:0; background:var(--season-fill); }
.season-day { position:absolute; z-index:1; font-size:.7rem; color:#263c2b; top:50%; transform:translateY(-50%); background:#fff9; padding:0 1px; }
.season-day.start { left:2px; }
.season-day.end { right:2px; }
.hunting-seasons sup { font-size:.72em; margin-left:2px; }
.hunting-seasons sup a { text-decoration:underline; }
.seasons-notes { background:#f5f6f0; border-radius:6px; padding:26px; font-size:.9rem; }
.seasons-notes li { padding:5px 0 9px 5px; scroll-margin-top:140px; }
#jagdzeiten-tabelle { scroll-margin-top:140px; }
@media(max-width:900px) { .seasons-month-grid { grid-template-columns:1fr; gap:24px; } .seasons-month-grid ul { columns:2; column-gap:24px; } .seasons-month-grid li { break-inside:avoid; } }
@media(max-width:560px) { .seasons-months { margin-right:-4px; } .seasons-month-heading,.seasons-month-grid,.seasons-notes { padding:20px; } .seasons-month-grid ul { columns:1; } .seasons-month-note { padding:18px 20px; } .seasons-table { min-width:900px; } .seasons-species-col { width:200px; } .seasons-dates-col { width:145px; } .seasons-table tbody th { padding:8px; } }
@media print { .seasons-month-view { display:none; } .seasons-table-scroll { overflow:visible; } .seasons-table { min-width:0; font-size:8pt; } .seasons-species-col { width:26%; } .seasons-month-col { width:4.7%; } .seasons-dates-col { width:17.6%; } .season-bar,.seasons-table caption { print-color-adjust:exact; -webkit-print-color-adjust:exact; } }

/* Monthly timeline opens on demand; the annual table stays on the page. */
.seasons-dialog-open { overflow:hidden; }
.hunting-seasons .seasons-dialog { box-sizing:border-box; width:min(1200px,calc(100% - 40px)); max-width:none; max-height:calc(100dvh - 48px); padding:28px; border:1px solid #bac7be; border-radius:10px; background:#edf2e5; color:#173a2c; overflow:auto; overscroll-behavior:contain; box-shadow:0 18px 70px #10271c40; }
.seasons-dialog::backdrop { background:#10271cb3; }
.seasons-dialog .seasons-month-view { margin-top:16px; clear:both; }
.seasons-dialog-close { display:block; margin-left:auto; padding:10px 16px; border:1px solid #839c88; border-radius:4px; color:#173a2c; background:#fff; font:inherit; cursor:pointer; }
.seasons-dialog-trigger { cursor:pointer; font:inherit; }
.seasons-dialog-close:focus-visible,.seasons-dialog-trigger:focus-visible { outline:3px solid #967a3e; outline-offset:3px; }
@media(max-width:600px) { .hunting-seasons .seasons-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 24px); padding:18px 14px; } .seasons-dialog .seasons-month-view > p { font-size:.9rem; } .seasons-dialog .seasons-month-heading,.seasons-dialog .seasons-month-grid { padding:18px; } }
@media print { .seasons-dialog-trigger,.seasons-dialog { display:none!important; } }

.seasons-year-details { margin-top:32px; border:1px solid #bac7be; border-radius:6px; background:#ffffff80; }
.seasons-year-details > summary { padding:18px 22px; cursor:pointer; color:#173a2c; font-weight:600; }
.seasons-year-details > summary:focus-visible { outline:3px solid #967a3e; outline-offset:3px; }
.seasons-year-details[open] > summary { border-bottom:1px solid #bac7be; }
.seasons-year-details > .seasons-year-view { margin:0; padding:24px; min-width:0; }
.seasons-year-details > .seasons-notes { margin:0 24px 24px; }
@media(max-width:600px) { .seasons-year-details > summary { padding:16px; } .seasons-year-details > .seasons-year-view { padding:18px 12px; } .seasons-year-details > .seasons-notes { margin:0 12px 18px; } }
@media print { .seasons-year-details > summary { display:none; } .seasons-year-details > :not(summary) { display:block!important; } }
