/* Jednotná patička webu Naše Kadaň. Na všech stránkách se používá stejný HTML blok. */
footer.site-footer{
  margin:0;
  padding:44px 0 0;
  background:#0b171e;
  color:#d9e2e7;
  border-top:1px solid rgba(255,255,255,.08);
  font-family:Inter,Arial,sans-serif;
}
footer.site-footer .footer-grid{
  display:grid;
  grid-template-columns:minmax(260px,2fr) minmax(180px,1fr) minmax(220px,1fr);
  gap:42px;
  align-items:start;
  padding-bottom:34px;
}
footer.site-footer .footer-grid>div{min-width:0}
footer.site-footer .footer-brand p{
  max-width:390px;
  margin:15px 0 0;
  color:#b8c7ce;
  font-size:15px;
  line-height:1.65;
}
footer.site-footer a{
  color:#e7eff2;
  text-decoration:none;
}
footer.site-footer a:hover,
footer.site-footer a:focus-visible{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
footer.site-footer a.logo{
  display:flex;
  width:max-content;
  max-width:100%;
  margin:0;
  color:#fff;
  text-decoration:none;
}
footer.site-footer .logo b{color:#e95b62}
footer.site-footer .footer-column strong{
  display:block;
  margin:0 0 12px;
  color:#fff;
  font:800 18px/1.25 Georgia,serif;
}
footer.site-footer .footer-column>a{
  display:block;
  width:fit-content;
  max-width:100%;
  margin:7px 0;
  color:#d9e2e7;
  font-size:15px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
footer.site-footer .footer-column>a b{color:#fff}
footer.site-footer .footer-legal{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:18px 0 22px;
  border-top:1px solid rgba(255,255,255,.16);
  display:flex;
  align-items:center;
  gap:10px 20px;
  flex-wrap:wrap;
  color:#9fb0b8;
  font-size:13px;
}
footer.site-footer .footer-legal span{margin-right:auto}
footer.site-footer .footer-legal a{
  color:#dce7eb;
  font-size:13px;
}

/* Kritická izolace prvků uvnitř článku od stejnojmenných karet na titulní stránce. */
main.article-shell article.article > section.event{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
  min-height:0!important;
  width:100%!important;
}
main.article-shell article.article > section.event > time,
main.article-shell article.article > section.event > h3,
main.article-shell article.article > section.event > p{
  display:block!important;
  grid-column:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  white-space:normal!important;
}
main.article-shell article.article > section.event > time{
  display:inline-block!important;
  width:auto!important;
}

/* Uzamčená jednotná šablona článků včetně ARC-MED. */
main.article-shell.wrap{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:36px!important;
  align-items:stretch!important;
  padding:56px 0!important;
}
main.article-shell>article{
  min-width:0!important;
  width:100%!important;
}
main.article-shell>article:not(.article) h1{
  font:800 clamp(38px,6vw,64px)/1.02 Georgia,serif!important;
  letter-spacing:-.035em!important;
  margin:.25em 0!important;
}
main.article-shell>article:not(.article) h2{
  font:800 34px/1.15 Georgia,serif!important;
  margin:52px 0 14px!important;
}
main.article-shell>article:not(.article) h3{
  font:800 23px/1.25 Georgia,serif!important;
  margin:32px 0 10px!important;
}
main.article-shell>article:not(.article) p,
main.article-shell>article:not(.article) li{font-size:18px!important}
main.article-shell>article:not(.article) .leadtext{
  font-size:23px!important;
  color:#465862!important;
  line-height:1.55!important;
}
main.article-shell>aside.sticky{
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  position:relative!important;
  top:auto!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:visible!important;
}
.article-side-ad-column,.article-ad-rail,.article-aside-tower{display:none!important}
.static-article-ads{
  display:flex!important;
  flex:1!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:72px!important;
  width:300px!important;
  margin:28px 0 0!important;
  padding:0 0 24px!important;
  overflow:visible!important;
}
.static-article-ad{
  display:block!important;
  width:300px!important;
  min-width:300px!important;
  max-width:300px!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #d8e0e4!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 14px 38px rgba(18,35,45,.14)!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}
.static-article-ad>span{
  display:block!important;
  padding:7px 9px 6px!important;
  color:#747f85!important;
  background:#f5f7f8!important;
  border-bottom:1px solid #e1e6e8!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-align:center!important;
}
.static-article-ad img{
  display:block!important;
  width:298px!important;
  height:auto!important;
  aspect-ratio:1/2!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
}
main.article-shell [data-promos],
main.article-shell .article-ad-auto{display:none!important}

@media(max-width:980px){
  main.article-shell.wrap{grid-template-columns:1fr!important;width:min(100% - 24px,820px)!important}
  main.article-shell>aside.sticky{width:100%!important;min-width:0!important;max-width:none!important}
  .static-article-ads{display:none!important}
}

@media(max-width:850px){
  footer.site-footer{padding-top:34px}
  footer.site-footer .footer-grid{
    grid-template-columns:1fr;
    gap:26px;
    padding-bottom:28px;
  }
  footer.site-footer .footer-brand p{max-width:none}
  footer.site-footer .footer-legal{align-items:flex-start}
  footer.site-footer .footer-legal span{width:100%;margin:0 0 3px}
}