
/* v12 — společná korekce: logo, jemné pozadí, čitelnější menu a nadpis */
body.static-site { background-image: url('../img/pattern_8_thumb.png') !important; }
@media(min-width:851px){
  body.static-site .menu-header,
  body.static-site .menu-header-sticky,
  body.static-site .container-menu,
  body.static-site .primary-menu,
  body.static-site .nav-menu { min-height:50px !important; }
  body.static-site .nav-menu > .nav-item > a {
    height:50px !important; min-height:50px !important;
    font-size:17px !important; font-weight:600 !important;
    line-height:1.15 !important; padding:0 19px !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
  }
}
body.static-site .container-menu {padding:0 8px !important;}
@media(max-width:850px){body.static-site .container-menu{padding:0!important;}}
body.static-site .mobile-nav-toggle {align-items:center;min-height:50px;}
body.static-site .cm-year-round-message,
html[data-page-section="onas"] body.static-site .static-content > .cm-year-round-message,
html[data-page-section="sluzby"] body.static-site .static-content > .cm-year-round-message {
  font-size:23px !important; font-weight:750 !important; line-height:1.35 !important;
  margin:26px 0 12px !important; color:#1b619a;
}
@media(max-width:560px){
  html[data-page-section="onas"] body.static-site .static-content > .cm-year-round-message,
  html[data-page-section="sluzby"] body.static-site .static-content > .cm-year-round-message { font-size:20px !important; }
}

/* JEMNÁ MODERNIZACE — tlumené panely a příjemnější čitelnost */
body.static-site { color:#24384d; }
body.static-site .menu-header{background:#156aa7!important;box-shadow:0 4px 13px #123e6028!important;border-radius:7px 7px 0 0;}
body.static-site .nav-menu > .nav-item > a:hover,
body.static-site .nav-menu > .nav-item > a:focus-visible {background:#0c548a!important;}
body.static-site .hero-slider{border-radius:0 0 7px 7px;}
body.static-site .container-center{padding:36px 20px 32px;}
body.static-site .static-content{
   background:rgba(255,255,255,.90)!important;
   border:1px solid rgba(205,222,231,.87);
   border-radius:12px;
   padding:28px 34px 24px!important;
   box-shadow:0 5px 24px rgba(21,79,116,.055);
}
body.static-site .static-content h5,
body.static-site .static-content p,
body.static-site .static-content li{line-height:1.45;color:#263c4d;}
body.static-site .static-content h5{margin-bottom:20px;}
body.static-site .static-content h1,
body.static-site .static-content h2,
body.static-site .static-content h3{color:#175f96;}
html[data-page-section="cenik"] body.static-site .static-content .cm-aspx-price-table thead th {background:#eaf3f9!important;color:#144e7c;}
html[data-page-section="cenik"] body.static-site .static-content .cm-aspx-price-table tr.cm-service-row th,
html[data-page-section="cenik"] body.static-site .static-content .cm-aspx-price-table tr.cm-service-row td {padding-top:11px;font-weight:600;}
html[data-page-section="cenik"] body.static-site .static-content .cm-aspx-price-table .cm-service-detail-row li {line-height:1.35;}
body.static-site .footer {padding:8px 0 28px;}
body.static-site .container-footer {max-width:1135px;margin:auto;background:rgba(255,255,255,.83);border:1px solid #dae6ec;border-radius:9px;padding:12px 20px;}
body.static-site .container-footer > p:first-child {font-size:17px;}
body.static-site .static-form{border-radius:9px;max-width:660px;background:rgba(244,249,252,.96);}
body.static-site .action-button{border-radius:7px;}
html[data-page-section="kontakty"] body.static-site .static-content {max-width:770px;margin:auto!important;}
@media(max-width:850px){body.static-site .container-center{padding:22px 14px 26px;}body.static-site .static-content{padding:19px!important;}}
@media(max-width:560px){body.static-site .static-content{padding:17px 14px!important;}body.static-site .container-footer{width:calc(100% - 24px)!important;margin:0 12px;padding:12px 14px;}body.static-site .static-content h5{line-height:1.45;}}


/* v13 — původní TOPlist 88×60 px POD patičkou, nikdy mimo levý okraj webu.
   Zdroj lokálního infopanelu: https://toplist.cz/images/counter.asp?a=mc&id=1712418 (produkce: count.asp?logo=mc)
   Zobrazení infopanelu nezvyšuje návštěvnost. Skryté měření pouze na ostré doméně. */
body.static-site .container-footer > .cm-footer-toplist {
  position: static !important;
  inset: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  margin: 12px auto 0 !important;
  padding: 2px 0 0 !important;
  text-align: center;
  background: transparent;
  border: 0;
  float: none !important;
  box-sizing: border-box;
}
body.static-site .container-footer .cm-footer-toplist .cm-toplist {margin:0;line-height:0;}
body.static-site .container-footer .cm-footer-toplist .cm-toplist a {
  display: inline-flex;
  width: 88px;
  height: 60px;
  min-width: 88px;
  min-height: 60px;
  max-width: 88px;
  align-items:center;
  justify-content:center;
  line-height: 0;
  overflow: hidden;
}
body.static-site .container-footer .cm-footer-toplist img.cm-toplist-infopanel {
  display:block;
  width:88px !important;
  height:60px !important;
  max-height:60px !important;
  border:0 !important;
  object-fit:fill !important;
}
body.static-site .container-footer .cm-footer-toplist .cm-toplist-fallback {
  width:88px;
  min-height:60px;
  border:1px solid #94a9b7;
  background:#f7fbfd;
  font:11px/1.2 Arial,sans-serif;
  color:#2c536b;
}
body.static-site .container-footer .cm-footer-toplist .cm-toplist-fallback strong{font-size:12px;}
body.static-site .container-footer .cm-footer-toplist .cm-toplist-fallback small{font-size:9px;}
body.static-site .container-footer .cm-footer-toplist .cm-toplist-fallback[hidden] {display:none !important;}

/* v14.2 — čitelnější vizitka v hlavičce mobilního webu.
   Desktop zůstává beze změny; telefon: z cca 180 px na cca 300 px. */
@media (max-width: 560px) {
  body.static-site .header,
  body.static-site .container-header {
    min-height: 0 !important;
  }
  body.static-site .container-header {
    padding: 10px 14px 12px !important;
    justify-content: center;
    align-items: center;
  }
  body.static-site .header-logo-container {
    width: min(78vw, 320px) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 0 auto !important;
    flex: 0 0 auto;
  }
  body.static-site .header-logo-container img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
  }
}
