/*
Theme Name: Slot-Datenbank
Description: Responsives Grundlayout der Slot-Datenbank mit Originalgrafiken.
Version: 0.3.10
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: slot-datenbank
*/
:root{--slot-primary:#14167d;--slot-alternate:#d9dadc;--slot-max-width:1200px;--slot-background:#fff;--slot-text:#222}
*{box-sizing:border-box}body{margin:0;background:var(--slot-background);color:var(--slot-text);font:15px/1.65 'Trebuchet MS',Verdana,Arial,sans-serif}a{color:var(--slot-primary);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--slot-primary);outline-offset:3px}h1,h2,h3{color:var(--slot-primary);line-height:1.3}img{max-width:100%;height:auto}#container{max-width:var(--slot-max-width);margin:auto;padding:0 16px}#header{background:#000;border-bottom:1px solid #000}#headerlink{display:block}#headerlink img{display:block;width:100%;height:auto} .slot-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,19%);gap:28px;padding:24px 0;min-height:500px}#content{min-width:0;overflow-wrap:anywhere}#navigation h3{color:#000;font-variant:small-caps;letter-spacing:3px;margin:0 0 8px}#navigation ul{list-style:none;padding:0;margin:0 0 24px}#navigation li{padding-left:16px;background:url(assets/images/pfeil.gif) no-repeat 0 .7em}#footer{border-top:1px solid #000;text-align:center;padding:12px 0;font-size:.9em}#content hr{height:40px;border:0;background:url(assets/images/hr.jpg) no-repeat center;background-size:contain}.slot-table-scroll,.wp-block-table{overflow-x:auto}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}th,td{padding:6px 9px;border-bottom:1px solid #ddd;text-align:left}th{color:var(--slot-primary)}tbody tr:nth-child(odd),.row_0{background:var(--slot-alternate)}.row_1{background:#fff}input,select,textarea,button{font:inherit;max-width:100%}input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid #999;border-radius:5px;padding:6px} .slot-embedded{padding:12px;max-width:100%}.slot-embedded #content{min-height:0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.screen-reader-text:focus{position:static;width:auto;height:auto;clip-path:none}.slot-notice{border-left:3px solid var(--slot-primary);padding:8px 14px;background:#f5f5f5}@media(max-width:720px){#container{padding:0 10px}.slot-layout{grid-template-columns:1fr;gap:16px;min-height:0}#navigation{grid-row:1}#content{grid-row:2}.slot-layout{display:flex;flex-direction:column}.slot-layout #content{order:2}.slot-layout #navigation{order:1}}

#footer .slot-legal-links{margin:0 0 6px;padding:0;border:0;font-size:12px}#footer.slot-mini-footer{display:block!important;font-size:11px;padding:6px 0;border-top:1px solid #ddd}#footer.slot-mini-footer .slot-legal-links{margin:0;font-size:11px}@media print{#footer.slot-mini-footer{display:none!important}}

:root{color-scheme:light;--slot-surface:#fff;--slot-line:#ccc;--slot-muted:#555;--slot-danger:#b32d2e}
html[data-slot-appearance="dark"]{color-scheme:dark;--slot-background:#171a20;--slot-text:#e7e9ef;--slot-primary:#b9c5ff;--slot-alternate:#292e39;--slot-surface:#20242c;--slot-line:#515967;--slot-muted:#b8c0ce;--slot-danger:#ff9b9b}
@media(prefers-color-scheme:dark){html:not([data-slot-appearance="light"]){color-scheme:dark;--slot-background:#171a20;--slot-text:#e7e9ef;--slot-primary:#b9c5ff;--slot-alternate:#292e39;--slot-surface:#20242c;--slot-line:#515967;--slot-muted:#b8c0ce;--slot-danger:#ff9b9b}}

body{background:var(--slot-background);color:var(--slot-text)}#navigation h3,th{color:var(--slot-primary)}#footer{border-color:var(--slot-line)}th,td{border-color:var(--slot-line)}.row_1,.slot-notice{background:var(--slot-surface)}input:not([type=checkbox]):not([type=radio]),select,textarea,button{background:var(--slot-surface);color:var(--slot-text);border:1px solid var(--slot-line)}.slot-appearance-switch{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:8px 0}.slot-appearance-switch button{padding:4px 9px;border-radius:4px;cursor:pointer}.slot-appearance-switch button[aria-pressed=true]{outline:2px solid var(--slot-primary);outline-offset:-2px}#navigation{min-width:0}#content{min-width:0}.slot-table-scroll,.slot-champ-scroll{max-width:100%;overflow-x:auto}
@media(max-width:720px){.slot-layout #content{order:1}.slot-layout #navigation{order:2}#navigation{border-top:1px solid var(--slot-line);padding-top:12px}#content{overflow-wrap:anywhere}input,select,textarea{font-size:16px}}
@media print{html,html[data-slot-appearance]{color-scheme:light;--slot-background:#fff;--slot-text:#222;--slot-primary:#14167d;--slot-alternate:#d9dadc;--slot-surface:#fff;--slot-line:#ccc;--slot-muted:#555;--slot-danger:#b32d2e}.slot-appearance-switch{display:none!important}}

#footer .slot-legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;margin:0 0 12px;padding:0;border:0}#footer a{color:var(--slot-muted,#555)}#footer a:hover{color:var(--slot-primary);text-decoration:underline}.slot-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--slot-muted,#555)}.slot-footer-bottom .slot-appearance-switch{margin:0}.slot-footer-bottom button{border:0;background:transparent;font-size:19px;line-height:1.2;padding:5px 9px}.slot-footer-login{margin-left:auto}html[data-slot-appearance="dark"] #header{background:#171a20;border-color:var(--slot-line)}html[data-slot-appearance="dark"] #headerlink img{content:url(assets/images/header-dark.png)}@media(prefers-color-scheme:dark){html:not([data-slot-appearance="light"]) #headerlink img{content:url(assets/images/header-dark.png)}}@media print{html #headerlink img{content:url(assets/images/header.png)!important}}

#footer .slot-footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}.slot-footer-bottom .slot-copyright{text-align:left}.slot-footer-bottom .slot-footer-login{justify-self:end;margin:0}.slot-footer-bottom .slot-appearance-switch{justify-self:center}@media(max-width:520px){#footer .slot-footer-bottom{grid-template-columns:1fr 1fr}.slot-footer-bottom .slot-appearance-switch{grid-column:1/-1;grid-row:2}.slot-footer-bottom .slot-footer-login{grid-column:2;grid-row:1}}

/* 0.3.10: header controls and centered footer */
#header{border-bottom:0;background:var(--slot-background)}
.slot-header-controls{display:flex;justify-content:flex-end;align-items:center;padding:2px 12px 4px;border-bottom:1px solid var(--slot-line);background:var(--slot-background)}
.slot-header-controls .slot-appearance-switch{margin:0;gap:4px;flex-wrap:nowrap}
.slot-header-controls button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;border:0;border-radius:5px;background:transparent;color:var(--slot-muted);cursor:pointer}
.slot-header-controls button[aria-pressed=true]{outline:none;background:var(--slot-alternate);color:var(--slot-primary)}
.slot-header-controls button:hover{background:var(--slot-alternate)}
.slot-header-controls button:focus-visible{outline:2px solid var(--slot-primary);outline-offset:2px}
.slot-header-controls svg,.slot-footer-login svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
#footer .slot-footer-bottom{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;line-height:1.5}
#footer .slot-footer-bottom .slot-copyright{text-align:center}
#footer .slot-footer-bottom .slot-footer-login{margin:0}
.slot-footer-login a{display:inline;vertical-align:baseline}
.slot-footer-login svg{width:15px;height:15px}
.slot-footer-separator{color:var(--slot-muted)}
.slot-embedded .slot-header-controls{display:none!important}
@media print{.slot-header-controls{display:none!important}}

/* Compact header: controls overlay the empty lower-right image area. */
#header{position:relative;border-bottom:1px solid var(--slot-line)}
#header .slot-header-controls{position:absolute;right:12px;bottom:4px;padding:0;border:0;background:transparent}
@media(max-width:600px){#header .slot-header-controls{position:static;padding:0 4px;justify-content:flex-end}#header .slot-header-controls button{width:30px;height:30px;padding:6px}}

/* Language controls share the existing appearance row. */
#header .slot-header-controls .slot-language{display:flex;align-items:center;gap:8px;margin:0 0 0 8px;padding:0 0 0 10px;border-left:1px solid var(--slot-line);font-size:12px;line-height:1.4;white-space:nowrap}
#header .slot-language a{color:var(--slot-muted);padding:4px 2px}
#header .slot-language a[aria-current=true]{color:var(--slot-primary);font-weight:bold;text-decoration:underline}

/* Footer: identical text baseline for copyright and login/logout. */
#footer .slot-footer-bottom{align-items:baseline}
#footer .slot-footer-bottom > span,#footer .slot-footer-bottom a{font:inherit;line-height:inherit;vertical-align:baseline;margin:0;padding:0}
#footer .slot-footer-bottom a{display:inline}

/* New compact brand */
#headerlink img{aspect-ratio:1000/130;object-fit:contain} @media(max-width:600px){#headerlink img{aspect-ratio:1000/130}}
