/* rozlozeni.css: soubor pro server bez poznámek. Zdroj s poznámkami: sablony/stavebnice (vrstvy/rozlozeni-sloupec.css) v projektu; skládá ho sablony/nastroje/stavba.py. */
:root[data-style="bento"]:not(#_){
@media (min-width:64rem){
.top--image.top--hero .top__inner{grid-template-rows:auto;grid-auto-rows:auto}
.top--image.top--hero .article:first-child{grid-column:1 / -1;grid-row:1}
.top--image.top--hero .article:nth-child(2){grid-column:5 / -1;grid-row:2}
.top--image.top--hero .article:nth-child(3){grid-column:1 / span 4;grid-row:2}
.top--image.top--hero .article:nth-child(2):last-child{grid-column:1 / -1}
.top--image.top--hero .article:nth-child(n+4){grid-column:span 6;grid-row:auto}
.top--image.top--hero .article:first-child:has(> .article__image){
grid-template-columns:repeat(12,minmax(0,1fr));grid-template-columns:subgrid;column-gap:var(--b-gap);
padding:0;background:none;overflow:visible;
}
.top--image.top--hero .article:first-child:has(> .article__image) .article__image{grid-area:auto;grid-column:5 / -1;grid-row:1;--b-ratio:44%}
.top--image.top--hero .article:first-child:has(> .article__image) .article__body{
grid-area:auto;grid-column:1 / span 4;grid-row:1;align-self:stretch;justify-self:stretch;max-inline-size:none;margin:0;
padding:1.375rem 1.5rem 1.25rem;background:var(--b-tile);box-shadow:none;
-webkit-backdrop-filter:none;backdrop-filter:none;
}
.top--image.top--hero .article:first-child:has(> .article__image) .article__title{
font-size:clamp(1.75rem,.6rem + 1.85vw,2.375rem);line-height:1.12;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word;
}
.top--image.top--hero .article:first-child.has-ico:has(> .article__image) .article__body{position:relative;isolation:isolate;overflow:hidden}
.top--image.top--hero .article:first-child.has-ico:has(> .article__image) .article__body::after{
content:"";position:absolute;z-index:-1;right:-1.25rem;bottom:-1.75rem;width:clamp(9rem,4rem + 9vw,12rem);aspect-ratio:1;
background:var(--cat);opacity:.12;-webkit-mask:var(--ico) center / contain no-repeat;mask:var(--ico) center / contain no-repeat;pointer-events:none;
}
.top--image.top--hero .article:first-child[data-cat-same] .article__body::after{display:none}
@media (forced-colors:active){
.top--image.top--hero .article:first-child.has-ico:has(> .article__image) .article__body::after{display:none}
}
.top--image.top--hero .article:first-child:has(> .article__image) .article__category{margin-bottom:.375rem}
.top--image.top--hero .article:first-child:has(> .article__image) .article__perex{display:-webkit-box;-webkit-line-clamp:3;max-width:none;margin-top:.5rem;font-size:.9375rem}
.top--image.top--hero .article:only-child:has(> .article__image) .article__image{--b-ratio:44%}
.top--image.top--hero .article:nth-child(2):has(> .article__image){grid-template-columns:minmax(0,40%) minmax(0,1fr);grid-template-rows:none;gap:0 .5rem;align-items:stretch;padding:var(--b-pad)}
.top--image.top--hero .article:nth-child(2):has(> .article__image) .article__image{grid-column:1;grid-row:1;--b-ratio:60%}
.top--image.top--hero .article:nth-child(2):has(> .article__image) .article__body{display:flex;grid-column:2;grid-row:1;padding:.625rem 1rem .5rem 1.125rem}
.top--image.top--hero .article:nth-child(2) .article__title{font-size:clamp(1.25rem,.95rem + .75vw,1.625rem);line-height:1.18}
.top--image.top--hero .article:nth-child(2) .article__perex{display:-webkit-box;-webkit-line-clamp:2;font-size:.9375rem}
.top--image.top--hero .article:nth-child(2):last-child:has(> .article__image){grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.top--image.top--hero .article:nth-child(3) .article__title{font-size:clamp(1.1875rem,.95rem + .6vw,1.4375rem);line-height:1.2}
.grid--default .main__inner:has(> .sidebar):has(> .content > .articles--cols){grid-auto-flow:row dense}
.grid--default .main__inner:has(> .sidebar):has(> .content > .articles--cols) > .content{grid-column:5 / -1}
.grid--default .main__inner:has(> .sidebar):has(> .content > .articles--cols) > .sidebar{grid-column:1 / span 4}
}
@media (max-width:63.99rem){
.top--image.top--hero .article:first-child:has(> .article__image) .article__image{grid-area:1 / 1;--b-ratio:50%}
.top--image.top--hero .article:first-child:has(> .article__image) .article__body{grid-area:2 / 1;align-self:auto;max-inline-size:none;margin:0}
}
@media (max-width:39.99rem){
.top--image.top--hero .article:first-child:has(> .article__image) .article__image{--b-ratio:64%}
}
@container content (max-width:33.99rem){
.articles--cols > .article:nth-child(3n+1 of .article):has(> .article__image) .article__body{grid-row:1;padding:.375rem .625rem .875rem}
.articles--cols > .article:nth-child(3n+1 of .article):has(> .article__image) .article__image{grid-row:2}
}
@container content (min-width:40rem){
.articles--cols:not(:has(> .article ~ :not(.article) ~ .article)){
grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-flow:row dense;
> .article{grid-column:span 3;grid-row:auto}
> .article:nth-child(6n+1 of .article){grid-column:1 / span 5;grid-row:span 2}
> .article:is(:nth-child(6n+2 of .article),:nth-child(6n+3 of .article)){grid-column:6 / span 3}
> .article:is(:nth-child(6n+4 of .article),:nth-child(6n+5 of .article)){grid-column:1 / span 3}
> .article:nth-child(6n+6 of .article){grid-column:4 / span 5;grid-row:span 2}
> .article:is(:nth-child(6n+1 of .article),:nth-child(6n+4 of .article)):nth-last-child(1 of .article){grid-column:1 / -1;grid-row:auto}
> .article:nth-child(6n+2 of .article):nth-last-child(1 of .article){grid-row:span 2}
> .article:nth-child(6n+4 of .article):nth-last-child(2 of .article){grid-column:1 / span 4}
> .article:nth-child(6n+5 of .article):nth-last-child(1 of .article){grid-column:5 / span 4}
> .article:has(> .article__image) .article__image{--b-ratio:58%}
> .article:is(:nth-child(6n+4 of .article):not(:nth-last-child(1 of .article)),:is(:nth-child(6n+2 of .article),:nth-child(6n+5 of .article)):nth-last-child(1 of .article)):has(> .article__image){
grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);
}
> .article:is(:nth-child(6n+4 of .article):not(:nth-last-child(1 of .article)),:is(:nth-child(6n+2 of .article),:nth-child(6n+5 of .article)):nth-last-child(1 of .article)):has(> .article__image) .article__image{grid-column:1;grid-row:1}
> .article:is(:nth-child(6n+4 of .article):not(:nth-last-child(1 of .article)),:is(:nth-child(6n+2 of .article),:nth-child(6n+5 of .article)):nth-last-child(1 of .article)):has(> .article__image) .article__body{grid-column:1;grid-row:2;padding:.875rem .625rem .5rem}
> .article:is(:nth-child(6n+4 of .article):not(:nth-last-child(1 of .article)),:is(:nth-child(6n+2 of .article),:nth-child(6n+5 of .article)):nth-last-child(1 of .article)) .article__title{font-size:var(--fs-card);font-weight:750;line-height:1.26;letter-spacing:-.022em}
> .article:is(:nth-child(6n+4 of .article):not(:nth-last-child(1 of .article)),:is(:nth-child(6n+2 of .article),:nth-child(6n+5 of .article)):nth-last-child(1 of .article)) .article__perex{display:none}
> .article:nth-child(6n+2 of .article):nth-last-child(1 of .article):has(> .article__image){grid-template-rows:minmax(0,1fr) auto}
> .article:is(:nth-child(6n+1 of .article):not(:nth-last-child(1 of .article)),:nth-child(6n+6 of .article)):has(> .article__image){
grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);
}
> .article:is(:nth-child(6n+1 of .article):not(:nth-last-child(1 of .article)),:nth-child(6n+6 of .article)):has(> .article__image) .article__body{grid-column:1;grid-row:1;padding:.5rem .75rem 1rem}
> .article:is(:nth-child(6n+1 of .article):not(:nth-last-child(1 of .article)),:nth-child(6n+6 of .article)):has(> .article__image) .article__image{grid-column:1;grid-row:2;--b-ratio:50%}
> .article:nth-child(6n+6 of .article) .article__title{font-size:var(--fs-card-l);font-weight:800;line-height:1.2;letter-spacing:-.03em}
> .article:nth-child(6n+6 of .article) .article__perex{display:-webkit-box;-webkit-line-clamp:2}
}
}
}
