.q-ie .megaout {display:none}
.megaout {container-type:inline-size; display:block; max-width:964px; margin:0 auto var(--spacing-15, 1.5rem)}

.megavolby {position:relative; display:flex; gap:var(--spacing-15, 1.5rem); margin:0; padding:var(--spacing-15, 1.5rem); border-radius:var(--radius-m, .5rem); font-size:1rem; font-feature-settings:"lnum"; color:var(--txt-neutral90, #2B3135); background:var(--tgl-neutral05, #F0F2F3) url('/o/volby-n4/2025/bg_volby2025-light.jpg') no-repeat 50% / cover; /*overflow:hidden NE! NASEPTAVAC! ;*/ box-sizing:border-box}
.dark .megavolby {background-image:url('/o/volby-n4/2025/bg_volby2025-dark.jpg')}
/*
.megavolby {background:linear-gradient(var(--tgl-neutral05-o90, #F0F2F3e5), var(--tgl-neutral05-o90, #F0F2F3e5)), url('/o/volby-n4/2024/volby-2024-bgzlo.jpg') no-repeat 50% / cover, var(--tgl-neutral05, #F0F2F3);}
*/
@container (width < 964px){
.megavolby {margin-left:1rem; margin-right:1rem}
}
@container (width < 37.51em){
.megavolby {flex-direction:column}
}
.section .megavolby {margin-left:0; margin-right:0}

.megavolby .megalogo {flex:0 0 auto; display:block; width:8.5rem; height:2rem; margin:auto; overflow:hidden; text-indent:-99em; background:url('/o/volby-n4/2025/volby25-logo.svg') no-repeat 50% 50% / contain}
.dark .megavolby .megalogo {background-image:url('/o/volby-n4/2025/volby25-logo-dark.svg')}

.megavolby .naseptavac-obal {width:100%; max-width:100%; font-size:87.5%}

.megabtngroup {display:flex; align-items:center; gap:var(--spacing-05, .5rem)}
.megavolby .btn {flex:0 0 auto; display:flex; gap:.5em /* GAP nema Expres */; border-color:var(--tgl-pri20, #A7B9D9); color:var(--txt-pri80, #122E5B); background:var(--tgl-pri10, #D6DEEB); font-size:87.5%}
.megavolby .btn:hover {background:var(--tgl-pri20, #A7B9D9)}
.megavolby .btn:before {filter:var(--filter-txt-pri80)}
.megavolby .btn-live:before {content:''; display:block; width:1.25em; height:1.25em; background:url('/u/icon/000/disc.svg') no-repeat 50% 50% / contain; filter:var(--filter-tgl-sec60)}
.megavolby .btn-pri {border-color:transparent; color:#FFF; background:var(--tgl-pri60b, #1B3E7A)}
.megavolby .btn-pri:hover {background:var(--tgl-pri80b, #122E5B)}
.megavolby .btn-pri:before {filter:var(--filter-white)}
@container (width < 37.51em){
.megavolby .btn {width:100%}
}

.mega-arts {display:flex; flex-direction:column; justify-content:end; gap:.5rem}
.mega-art {display:flex; gap:.25em; font-size:87.5%}
.mega-art:before {content:''; flex:0 0 auto; width:.75em; height:1.25em; background:url('/u/icon/000/arrow2-right.svg') no-repeat 50% 50% / contain; filter:var(--filter-tgl-pri30)}
.mega-art h3 {display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; font:inherit; font-weight:600}

.mega-fotogal {position:relative; display:block; min-width:146px; aspect-ratio:16/9; border-radius:var(--radius-m, .5rem); background:no-repeat 50% 50% / cover; overflow:hidden}
.mega-fotogal .more-gallery {display:flex; align-items:flex-end; height:100%; padding:0 .5rem; text-align:center; text-decoration:none; color:#FFF; background:linear-gradient(transparent 40%, var(--pri80-o90, #122E5Be5) 100%); box-sizing:border-box}
.mega-fotogal .more-gallery .cell {width:100%; padding:0 0 1em; white-space:nowrap}
.mega-fotogal h3 {margin:0 auto .25rem; font-weight:800; font-size:112.5%; line-height:1.25; font-family:inherit}
.mega-fotogal h3:before {content:''; display:inline-block; width:.75em; height:1.25em; vertical-align:top; margin:0 .375em 0 0; background:url('/u/icon/fff/foto.svg') no-repeat 50% 50% / contain}
a.mega-fotogal:hover h3 {text-decoration:underline}
.mega-fotogal span {display:inline-block; line-height:1.7em; padding:0 .5em; border:1px solid; border-radius:.25rem; font-size:75%; line-height:1.6}
.mega-fotogal b {font-weight:800}
@container (width < 37.51em){
.mega-fotogal {flex-basis:auto; width:100%}
}

.megavolby .mega-live {display:none}
.megavolby .mega-online-out {position:relative; height:100%; min-height:4em; overflow:hidden}
.megavolby .mega-online-out:after {content:''; position:absolute; left:0; bottom:0; right:0; height:1.5rem; background:linear-gradient(transparent, var(--tgl-neutral05, #F0F2F3)) }
.megavolby .mega-online-out .mega-more {position:absolute; top:0; left:0; bottom:0; right:0; z-index:2; text-indent:-999em}
.megavolby .mega-online-out .mega-more:before {}
.megavolby .mega-online-out .mega-more:after {}
.megavolby .mega-online {font-size:87.5%; line-height:1.25}
.megavolby .mega-online .item {margin:0 0 .5rem}
.megavolby .mega-online .time {float:left; margin:0 .5rem 0 0; padding:0 .25rem; border-radius:2px; font-size:92.857%; line-height:1.346; font-weight:800; color:var(--txt-neutral90, #2B3135); background:var(--tgl-neutral10, #D3D7DA)}
.megavolby .mega-online .time-in {display:inline}

.megavolby .vlb-statistic {flex:0 0 auto; display:flex; justify-content:space-between; gap:var(--spacing-1, 1rem)}
.megavolby .vlb-statistic .item {flex:1 1 50%}
.megavolby .vlb-statistic label {display:block; font-weight:600; font-size:50%; line-height:1.25; text-transform:uppercase; white-space:nowrap}
.megavolby .vlb-statistic label strong {display:block; font-weight:800; font-size:200%}
.megavolby .vlb-zizalka {height:.5rem; border-radius:var(--radius-xs, .125rem); background:var(--tgl-pri10, #D6DEEB); overflow:hidden}
.megavolby .vlb-zizalka u {float:left; height:100%; background:var(--tgl-pri60, #1B3E7A)}
.megavolby .vlb-statistic .vlb-zizalka {height:.25rem}


/* Predvolebni - PRE-Election Period */
.megavolby-pre {align-items:center; justify-content:center; gap:var(--spacing-1, 1rem) var(--spacing-15, 1.5rem); flex-wrap:wrap}
.megavolby-pre .megalogo {margin:0}
.megavolby-pre .megabtngroup {flex:0 0 auto; min-width:549px}
@container (width < 37.51em){
.megavolby-pre .megabtngroup {flex-direction:column; width:100%; min-width:0}
}
.megavolby-pre .btn {flex:1 1 30%; white-space:nowrap}
.megavolby-pre .mega-online-out {position:relative; display:flex; justify-content:center; align-items:center; width:100%; height:auto; min-height:0; padding-top:var(--spacing-1, 1rem); border-top:1px solid var(--tgl-pri20, #A7B9D9)}
.megavolby-pre .mega-online-out:after {display:none}
.megavolby-pre .mega-online-out .mega-more {position:static; display:inline-flex; vertical-align:middle; text-indent:0; padding:0 1em 0 .5em; white-space:nowrap; font-weight:600; font-size:81.25%; color:var(--txt-pri80, #122E5B); background:url('/u/icon/124/arrow1-right.svg') no-repeat 100% 50% / .75em}
.dark .megavolby-pre .mega-online-out .mega-more {background-image:url('/u/icon/fff/arrow1-right.svg')}
.megavolby-pre .mega-online-out .mega-more:hover {text-decoration:underline}
.megavolby-pre .mega-online-out .mega-more:before {content:''; display:block; width:1em; height:1.25em; margin:0 .5em 0 0; background:url('/u/icon/000/disc.svg') no-repeat 50% 50% / contain; filter:var(--filter-tgl-sec60);}
.megavolby-pre .mega-online-out .mega-more:after {content:''; position:absolute; top:0; left:0; bottom:0; right:0; z-index:2}
.megavolby-pre .mega-online {overflow:hidden; height:1.25em; white-space:nowrap; text-overflow:ellipsis; font-size:87.5%; line-height:1.25}
.megavolby-pre .mega-online * {display:inline}
.megavolby-pre .mega-online .item ~ .item {display:none}
.megavolby-pre .mega-online img {vertical-align:top; width:auto; height:1.2em}
.megavolby-pre .mega-online .event {display:inline; padding:0; font-size:100%}
.megavolby-pre .mega-online .event img {display:none}
.megavolby-pre .mega-online .event p {margin:0}
@container (width < 37.51em){
.megavolby-pre .mega-online-out {display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; width:100%}
.megavolby-pre .mega-online {display:inline; height:auto; white-space:normal}
.megavolby-pre .mega-online .item {margin:0}
.megavolby-pre .mega-online .time {float:none}
}

/* Povolebni - POST-Election Period */
.megavolby-post {align-items:center; justify-content:center; gap:var(--spacing-1, 1rem) var(--spacing-15, 1.5rem); flex-wrap:wrap}
.megavolby-post .megalogo {margin:0}
.megavolby-post .megabtngroup {gap:var(--spacing-15, 1.5rem)}
@container (width > 37.51em){
.megavolby-post .megabtngroup {flex:0 0 632px}
.megavolby-post .megabtngroup form {flex:1}
}
@container (width < 37.51em){
.megavolby-post .megabtngroup {flex:1; flex-direction:column; width:100%; min-width:0}
}
.megavolby-post .btn {min-width:217px; font-size:87.5%; white-space:nowrap}


@container (width > 37.51em){
.megavolby .megacol-a {flex:1 0 0}
.megavolby .megacol-b {flex:0 0 294px; max-width:40%}
.megavolby .megacol-ab {flex:1 0 0}
.megavolby .megacol-c {flex:1 0 0; max-width:300px}
.megavolby .megacol-a, .megavolby .megacol-c, .megavolby .megacol-ab {display:flex; flex-direction:column}
}

/* Hlasovaci - ELECTION */
.megavolby-election {}
.megavolby-election .btn {text-transform:uppercase}
.megavolby-election .megalogo {margin:0 auto var(--spacing-1, 1rem)}
.megavolby-election .mega-online-out {flex:1; height:auto}
.megavolby-election .mega-online-out .mega-online {position:absolute; top:0; left:0}
.megavolby-election .mega-arts {flex:1; margin-bottom:.5rem}

/* Scitaci - COUNTING */
.megalogo-out {display:flex; justify-content:center; align-items:center; gap:var(--spacing-1, 1rem) var(--spacing-15, 1.5rem); flex-wrap:wrap; padding-bottom:.5rem}
.megalogo-out .megalogo {margin:0}
.megalogo-out form {flex:1; max-width:100%; font-size:87.5%}

.megavolby-counting .megabtngroup {flex-wrap:wrap}
@container (width > 37.51em){
.megavolby-counting .vlb-statistic {margin-right:1rem}
}
@container (width < 37.51em){
.megavolby-counting .vlb-statistic {flex:1; margin-bottom:.5rem}
.megavolby-counting .btn {width:100%}
}
.megavolby-counting .megabtngroup .btn {flex:1 0 auto}
.megavolby-counting .mega-online-out {flex:1; height:auto}
.megavolby-counting .mega-online-out .mega-online {position:absolute; top:0; left:0}
.megavolby-counting .btn-live {text-transform:uppercase}
.megavolby-counting .mega-arts {flex:0; margin-top:1rem}
.megavolby-counting .mega-studio-link {flex:0; display:block; margin-top:1rem}
.megavolby-counting .mega-studio-link img {display:block; width:100%}

.megavolby .echarts-out {position:relative; display:block; width:100%; height:0; margin:.5rem 0; padding:36% 0 0; box-sizing:border-box; overflow:hidden}
.megavolby .echarts-out .echarts {position:absolute; top:0; left:0; width:100%; height:100%}
/*
.megavolby .echarts-out {--tgl-neutral10:var(--neutral20, #B2B9BE); --tgl-pri10:var(--pri20, #A7B9D9)}
.dark .megavolby .echarts-out {--tgl-neutral10:var(--neutral60, #75868E); --tgl-pri10:var(--pri60, #1B3E7A)}
*/
.megavolby .megakrucat {margin:.5rem 0; padding:0 0 .1px} 
.megavolby .lastvisible.lastvisible {width:100%; display:flex; align-items:center; padding:0; color:var(--tgl-pri80, #122E5B); font-weight:400; font-size:.75rem; cursor:pointer}
.megavolby .lastvisible:hover {text-decoration:underline}
.megavolby .lastvisible:before {content:''; flex:1; order:1; display:block; height:1px; margin:0 0 0 .5rem; background:var(--tgl-pri10, #D6DEEB)}
.megavolby .lastvisible:after {content:''; display:inline-block; vertical-align:top; width:.75em; height:1.25em; margin:0 0 0 .5em; background:url('/u/icon/000/arrow-down.svg') no-repeat 50% 50% / .75rem .75rem; filter:var(--filter-tgl-pri80); cursor:pointer}
.megavolby .vlb-vysledky-eu li {display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:.125rem .25rem; margin:0 0 .5rem; padding:0} 
.megavolby .vlb-vysledky-eu li.lastvisible ~ li, .megavolby .vlb-vysledky-eu li.lastvisible.h {display:none}
.megavolby .vlb-vysledky-eu.visible li.lastvisible ~ li {display:flex}
.megavolby .vlb-vysledky-eu h5 {flex:1; font-weight:600; font-size:.875rem; line-height:inherit; font-family:inherit}
.megavolby .vlb-vysledky-eu .vlb-panak {flex:0 0 auto; display:flex; align-items:center; gap:.25em; min-height:calc(.875rem * 1.25); padding-right:.5rem; border-right:1px solid var(--tgl-pri10, #D6DEEB); font-size:var(--rs-h8, .875rem)}
.megavolby .vlb-vysledky-eu .vlb-panak:after {content:''; display:inline-block; vertical-align:top; width:.875em; height:1.25em; margin-left:.25em; background:url('/u/icon/000/chair.svg') no-repeat 50% 50% / contain; filter:var(--filter-tgl-neutral60)}
.megavolby .vlb-vysledky-eu .vlb-panak u {display:none}
.megavolby .vlb-vysledky-eu strong {flex:0 0 4.5em; font-weight:800; font-size:.875rem; text-align:right}
.megavolby .vlb-vysledky-eu .vlb-zizalka {flex:0 0 100%; height:1rem}
.megavolby .vlb-vysledky-eu p {display:none; flex:1; font-size:var(--rs-h8, .875rem)}

@container (width > 37.51em){
.megavolby .echarts-out {display:block}
.megavolby .megakrucat {display:none}
}
@container (width < 37.51em){
.megavolby .echarts-out {display:none}
.megavolby .megakrucat {display:block} 
}

/* vysledky obci jako include */
.megavolby-inc.megavolby-inc {display:flex; flex-direction:row; align-items:center; justify-content:center; gap:var(--spacing-1, 1rem) var(--spacing-15, 1.5rem); flex-wrap:wrap; width:100%; margin:0}
.megavolby-inc .megalogo {margin:0}
.megavolby-inc .megabtngroup {flex:1; max-width:100%}

/* Protiknihovni zesilovacky na EXPRES.cz */
#expres-cz .mega-art, #expres-cz .megavolby h5 a {color:#000}
#expres-cz .mega-art:hover, #expres-cz .megavolby h5 a:hover {color:#FE0000}
#expres-cz .megavolby .btn {color:#000; background:#FFF}
#expres-cz .megavolby .btn:hover {border-color:#75868E}
#expres-cz .megavolby .btn-pri {color:#FFF; background:#FE0000}
#expres-cz .megavolby .btn-pri:hover {border-color:transparent; background:#C11B1B}
#expres-cz .megavolby .vlb-zizalka {background:#FFF}

/* PRG fix */
.css-t .megacol-b .touchh.touchh {display:block}