/*
Theme Name: TV program 4vas
Theme URI: https://tvprogram.4vas.org/
Author: 4vas.cz
Description: Lehká jednostránková šablona pro TV program pro vás. Úvodní stránka automaticky zobrazuje shortcode seznam_epg. Responzivní tmavý vzhled bez externích fontů a knihoven.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tvprogram-4vas
*/
:root{--tv4vas-accent:#dc365b;--tv4vas-bg:#0b0f17;--tv4vas-panel:#111822;--tv4vas-text:#f2f5fa;--tv4vas-muted:#a4b0c2;--tv4vas-border:#243040;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.tv4vas-site{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--tv4vas-bg);color:var(--tv4vas-text);font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit}button,input,select,textarea{font:inherit}img{max-width:100%;height:auto}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--tv4vas-accent);outline-offset:4px}.tv4vas-shell{width:min(1600px,100% - 72px);margin-inline:auto}.tv4vas-header{border-bottom:1px solid #ffffff0c;background:#0d121c}.tv4vas-header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.tv4vas-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-size:24px;font-weight:700;letter-spacing:-.8px}.tv4vas-brand-suffix{font-weight:400;color:var(--tv4vas-muted)}.tv4vas-mark{display:grid;place-items:center;width:40px;height:34px;border-radius:10px;background:var(--tv4vas-accent);color:#fff;font-size:23px;letter-spacing:-2px;font-weight:700;padding-right:2px}.tv4vas-brand .custom-logo{display:block;max-height:48px;width:auto;max-width:240px}.tv4vas-header-caption{color:var(--tv4vas-muted);font-size:13px}.tv4vas-main{flex:1;padding-top:38px;padding-bottom:28px}.tv4vas-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:30px}.tv4vas-eyebrow{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:2px;color:var(--tv4vas-muted)}.tv4vas-intro h1{font-size:clamp(30px,4vw,46px);line-height:1.15;letter-spacing:-1.6px;margin:0 0 10px;font-weight:700}.tv4vas-title-dot{color:var(--tv4vas-accent)}.tv4vas-lead{margin:0;color:var(--tv4vas-muted);font-size:15px}.tv4vas-today{display:flex;flex-direction:column;text-align:right;gap:3px;white-space:nowrap}.tv4vas-today span{color:var(--tv4vas-muted);font-size:12px}.tv4vas-today time{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.tv4vas-program{min-width:0}.tv4vas-program .ssepg{--ssepg-display-width:100%;--ssepg-accent:var(--tv4vas-accent);--ssepg-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--ssepg-surface:var(--tv4vas-panel);--ssepg-font-size:14px;color:var(--tv4vas-text)}.tv4vas-program .ssepg[data-theme=light]{color:#111827;--ssepg-surface:#fff}.tv4vas-program .ssepg-toolbar{box-shadow:none;border-radius:16px;margin-bottom:12px}.tv4vas-program .ssepg-tools{border-radius:16px;margin-bottom:8px}.tv4vas-program .ssepg-body{box-shadow:0 16px 48px #0002;border-radius:16px}.tv4vas-program .ssepg-status{font-size:12px}.tv4vas-program .ssepg-theme-dark .ssepg-view-switch{box-shadow:none}.tv4vas-program .ssepg-grid-scroller{max-height:68vh;max-height:68dvh}.tv4vas-program .ssepg-grid-corner{font-size:12px;text-transform:uppercase;letter-spacing:1px}.tv4vas-program .ssepg-card{box-shadow:none}.tv4vas-program .ssepg-toolbar__left,.tv4vas-program .ssepg-toolbar__center{flex-wrap:wrap}.tv4vas-hints{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;padding:14px 2px;color:var(--tv4vas-muted);font-size:12px}.tv4vas-hints span span{font-size:17px;margin-right:6px}.tv4vas-footer{border-top:1px solid #ffffff0c;margin-top:12px}.tv4vas-footer-inner{display:flex;justify-content:space-between;gap:16px;padding-block:22px;color:var(--tv4vas-muted);font-size:12px}.tv4vas-notice{padding:32px;border:1px solid var(--tv4vas-border);border-radius:16px;background:var(--tv4vas-panel)}.tv4vas-notice h2{margin-top:0}.tv4vas-admin-note{font-size:13px;color:var(--tv4vas-muted)}.tv4vas-content{max-width:900px;overflow-wrap:anywhere}.tv4vas-content a:hover{color:var(--tv4vas-accent)}.tv4vas-skip{position:absolute;left:16px;top:-100px;padding:10px 16px;z-index:100000;background:#fff;color:#111827;border-radius:8px}.tv4vas-skip:focus{top:12px}.tv4vas-back{display:inline-block;padding:12px 20px;background:var(--tv4vas-accent);border-radius:10px;color:#fff;text-decoration:none}
@media(max-width:900px){.tv4vas-shell{width:calc(100% - 40px)}.tv4vas-header-inner{min-height:72px}.tv4vas-main{padding-top:28px}.tv4vas-intro{padding-bottom:24px}.tv4vas-footer-inner{flex-direction:column;gap:6px}}
@media(max-width:640px){.tv4vas-shell{width:calc(100% - 24px)}.tv4vas-header-inner{min-height:64px}.tv4vas-brand{font-size:21px;gap:10px}.tv4vas-mark{width:34px;height:30px;font-size:21px;border-radius:8px}.tv4vas-header-caption{display:none}.tv4vas-main{padding-top:22px;padding-bottom:12px}.tv4vas-intro{align-items:start;gap:12px;padding-bottom:20px}.tv4vas-eyebrow{font-size:10px;letter-spacing:1.3px}.tv4vas-intro h1{font-size:30px;letter-spacing:-1px}.tv4vas-lead{font-size:13px;max-width:220px}.tv4vas-today{padding-top:2px}.tv4vas-today time{font-size:13px}.tv4vas-today span{font-size:11px}.tv4vas-program .ssepg-tools input,.tv4vas-program .ssepg-tools select,.tv4vas-program .ssepg-date,.tv4vas-program .ssepg-group,.tv4vas-program .ssepg-channel-select{font-size:16px}.tv4vas-program .ssepg-grid-scroller{max-height:65vh;max-height:65dvh}.tv4vas-hints{font-size:11px;gap:4px;padding-block:10px}.tv4vas-notice{padding:20px}.tv4vas-footer-inner{font-size:11px;padding-block:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
html[data-tv4vas-appearance=light]{--tv4vas-bg:#f1f4f8;--tv4vas-panel:#fff;--tv4vas-text:#182537;--tv4vas-muted:#485a70;--tv4vas-border:#cbd5e1;color-scheme:light}
html[data-tv4vas-appearance=light] .tv4vas-header{background:#fff;border-color:var(--tv4vas-border)}
html[data-tv4vas-appearance=light] .tv4vas-footer{border-color:var(--tv4vas-border)}
.tv4vas-program .ssepg[data-theme=dark]{color:var(--epg-text)}
.tv4vas-program .ssepg[data-theme=light]{color:var(--epg-text)}
.tv4vas-program .ssepg-preferences{margin-top:12px}
