/* rozlozeni.css: soubor pro server bez poznámek. Zdroj s poznámkami: sablony/stavebnice (vrstvy/rozlozeni-pas.css) v projektu; skládá ho sablony/nastroje/stavba.py. */
:root[data-style="bento"]:not(#_){
.top--image.top--hero .article:first-child:has(> .article__image) .article__body,
.top--image.top--hero .article:first-child:not(:has(> .article__image)){
background:var(--b-brand);color:var(--b-on-tone);--focus:var(--b-on-tone);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
}
.top--image.top--hero .article:first-child :is(.article__title,.article__title a,.article__date,.article__perex){color:var(--b-on-tone)}
.top--image.top--hero .article:first-child .article__title a:hover,
.top--image.top--hero .article:first-child:has(.article__image a:hover) .article__title a{
color:var(--b-on-tone);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.14em;
}
@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:1 / span 7;grid-row:2}
.top--image.top--hero .article:nth-child(3){grid-column:8 / -1;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) .article__image{--b-ratio:40%}
.top--image.top--hero .article:first-child:has(> .article__image) .article__body{
align-self:end;justify-self:start;max-inline-size:min(56%,40rem);margin:0;padding:1.125rem 1.5rem 1.25rem;
}
.top--image.top--hero .article:first-child:has(> .article__image) .article__title{font-size:clamp(1.75rem,.7rem + 1.9vw,2.5rem);line-height:1.1}
.top--image.top--hero .article:nth-child(2):has(> .article__image){grid-template-columns:minmax(0,44%) 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:62%}
.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__perex{display:-webkit-box;-webkit-line-clamp:2;font-size:.9375rem}
.top--image.top--hero .article:is(:nth-child(2),:nth-child(3)) .article__title{font-size:clamp(1.25rem,1rem + 1vw,1.625rem);line-height:1.18}
.top--image.top--hero .article:nth-child(2):last-child:has(> .article__image){grid-template-columns:minmax(0,30%) minmax(0,1fr)}
.main__inner:has(> .content > .articles--cols) > .content{grid-column:1 / -1}
.main__inner:has(> .content > .articles--cols) > .sidebar{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr))}
}
@media (min-width:40rem) and (max-width:63.99rem){
.top--image.top--hero .article:first-child:has(> .article__image){padding:0}
.top--image.top--hero .article:first-child:has(> .article__image) .article__image{grid-area:1 / 1;--b-ratio:58%;border-radius:0}
.top--image.top--hero .article:first-child:has(> .article__image) .article__body{
grid-area:1 / 1;align-self:end;justify-self:start;z-index:1;max-inline-size:min(100% - 2.75rem,34rem);margin:0;padding:.875rem 1rem 1rem;
}
.top--image.top--hero .article:first-child:has(> .article__image)::after{top:0;right:0;bottom:auto}
}
@media (max-width:39.99rem){
.top--image.top--hero .article:first-child:has(> .article__image){padding:0;background:none;overflow:visible}
.top--image.top--hero .article:first-child:has(> .article__image) .article__image{grid-area:1 / 1;--b-ratio:66%;border-radius:0}
.top--image.top--hero .article:first-child:has(> .article__image) .article__body{
grid-area:2 / 1;align-self:auto;justify-self:start;z-index:1;max-inline-size:calc(100% - 2.75rem);margin:-1.25rem 0 0;padding:.875rem 1rem 1rem;
}
.top--image.top--hero .article:first-child:has(> .article__image)::after{top:0;right:0;bottom:auto}
}
@container content (min-width:52rem){
.articles--cols{grid-template-columns:repeat(6,minmax(0,1fr))}
.articles--cols > .article{grid-column:span 2;grid-row:auto}
.articles--cols > .article:has(> .article__image){grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.articles--cols > .article:has(> .article__image) .article__image{grid-column:1;grid-row:1;--b-ratio:64%}
.articles--cols > .article:has(> .article__image) .article__body{display:flex;grid-column:1;grid-row:2;padding:.875rem .625rem .5rem}
.articles--cols > .article .article__title{font-size:var(--fs-card);font-weight:750;line-height:1.26;letter-spacing:-.022em}
.articles--cols > .article .article__perex{display:none}
.articles--cols:not(:has(> .article ~ :not(.article) ~ .article)){
> .article:nth-child(3n+1 of .article):nth-last-child(2 of .article),
> .article:nth-child(3n+2 of .article):nth-last-child(1 of .article){grid-column:span 3}
> .article:nth-child(3n+1 of .article):nth-last-child(2 of .article):has(> .article__image) .article__image,
> .article:nth-child(3n+2 of .article):nth-last-child(1 of .article):has(> .article__image) .article__image{--b-ratio:44%}
> .article:nth-child(3n+1 of .article):nth-last-child(1 of .article){grid-column:1 / -1}
> .article:nth-child(3n+1 of .article):nth-last-child(1 of .article):has(> .article__image){grid-template-columns:minmax(0,34%) minmax(0,1fr);grid-template-rows:none}
> .article:nth-child(3n+1 of .article):nth-last-child(1 of .article):has(> .article__image) .article__image{--b-ratio:62%}
> .article:nth-child(3n+1 of .article):nth-last-child(1 of .article):has(> .article__image) .article__body{grid-column:2;grid-row:1;padding:.625rem 1rem .5rem 1.25rem}
> .article:nth-child(3n+1 of .article):nth-last-child(1 of .article):has(> .article__image) .article__category{margin:0}
> .article:nth-child(3n+1 of .article):nth-last-child(1 of .article) .article__perex{display:-webkit-box;-webkit-line-clamp:2}
> .article:nth-child(3n+1 of .article):nth-last-child(1 of .article) .article__title{font-size:var(--fs-card-l);line-height:1.2}
}
}
.articles--cols > .article:has(> .article__image) .article__category{--notch:-2.625rem 0 .4375rem -.625rem}
@container content (max-width:33.99rem){
.articles--cols > .article:nth-child(3n+1 of .article):has(> .article__image) .article__category{position:relative;z-index:2;align-self:flex-start;margin:var(--notch)}
}
@container content (min-width:34rem) and (max-width:51.99rem){
.articles--cols > .article:not(:nth-child(3n+1 of .article)):not(:nth-child(3n+2 of .article):nth-last-child(1 of .article)):has(> .article__image) .article__category{position:relative;z-index:2;align-self:flex-start;margin:var(--notch)}
}
@container content (min-width:52rem){
.articles--cols > .article:has(> .article__image) .article__category{position:relative;z-index:2;align-self:flex-start;margin:var(--notch)}
}
}
