/* =====================================================================
   brnonemopas.cz – redesign 2026-12 (schválený grafický návrh navrh-design/navrh.html)
   Firemní barvy zachovány: červená #C70000, zelená #84B340, oranžová #F7AC29, modrá #1976A3
   Načítá se jako poslední styl, přebíjí legacy screen.css.
   ===================================================================== */
:root {
  --nm-red: #C70000; --nm-red-d: #a30000; --nm-green: #84B340; --nm-orange: #F7AC29; --nm-blue: #1976A3;
  --nm-ink: #1d2329; --nm-mut: #5b6670; --nm-bg: #f4f6f8; --nm-line: #e3e7eb; --nm-radius: 12px;
}

body {
  font: 16px/1.6 "Segoe UI", -apple-system, Roboto, Arial, sans-serif;
  color: var(--nm-ink);
  -webkit-font-smoothing: antialiased;
}
#work { font-size: 16px; line-height: 1.65; }
#page.row { margin-left: 0; margin-right: 0; }
#main.container-fluid { padding-left: 0; padding-right: 0; }
#work p { margin: 0 0 1em; }

/* ---------- horní lišta ---------- */
#header-menu { width: 100%; z-index: 999; }
#header-menu .navbar { background: #111 !important; border: 0; min-height: 70px; width: 100%; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
#header-menu #like_logo { padding: 9px 0; height: 70px; }
/* logo je průhledné PNG s bílým textem – patří přímo na tmavou lištu (bez bílého podkladu) */
#header-menu #like_logo img { height: 52px; width: auto; background: none; border-radius: 0; padding: 0; }
@media (min-width: 992px) { #header-menu #like_logo { margin-right: 14px; } }
#header-menu .nav-tabs { border: 0; }
#header-menu .ul-topmenu > li { margin: 0 !important; }
#header-menu .ul-topmenu > li > a span { padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
#header-menu .ul-topmenu > li > a:hover span,
#header-menu .ul-topmenu > li.hover > a span,
#header-menu .ul-topmenu > li.active > a span { border-bottom-color: var(--nm-red); }

/* Desktop: všechny stavy odkazů (běžný / hover / active / .hover z default.js) mají STEJNÉ rozměry,
   jinak legacy screen.css při najetí mění výšku, padding a rámečky → menu „poskakuje“. */
@media (min-width: 992px) {
  #header-menu .ul-topmenu > li > a,
  #header-menu .ul-topmenu > li > a:hover,
  #header-menu .ul-topmenu > li > a:focus,
  #header-menu .ul-topmenu > li.active > a,
  #header-menu .ul-topmenu > li.active > a:hover,
  #header-menu .ul-topmenu > li.hover > a,
  #header-menu .ul-topmenu > li.hover > a:hover {
    font-size: 15px !important; height: 70px !important; line-height: 70px !important; padding: 0 11px !important;
    margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: #fff !important;
  }
  #header-menu .ul-topmenu > li { position: relative; }
  #header-menu .ul-topmenu ul,
  #header-menu .ul-topmenu > li:hover > ul,
  #header-menu .ul-topmenu > li.hover > ul {
    position: absolute !important; top: 70px; left: 0; margin: 0 !important; padding: 6px 0 !important; list-style: none;
    background: #1b1b1b; border-top: 2px solid var(--nm-red); border-radius: 0 0 8px 8px; box-shadow: 0 10px 24px rgba(0,0,0,.35); min-width: 260px;
  }
  #header-menu .ul-topmenu ul { display: none !important; }
  #header-menu .ul-topmenu > li:hover > ul { display: block !important; }
  #header-menu .ul-topmenu ul li { float: none !important; margin: 0 !important; padding: 0 !important; width: 100%; }
  #header-menu .ul-topmenu ul li > a,
  #header-menu .ul-topmenu ul li > a:hover,
  #header-menu .ul-topmenu ul li > a:focus,
  #header-menu .ul-topmenu ul li.active > a,
  #header-menu .ul-topmenu ul li.active > a:hover,
  #header-menu .ul-topmenu ul li > a:focus,
  #header-menu .ul-topmenu ul li.hover > a,
  #header-menu .ul-topmenu ul li.hover > a:hover,
  #header-menu .ul-topmenu ul li:hover > a {
    display: block; width: auto !important; height: auto !important; line-height: 20px !important; font-size: 14.5px !important;
    padding: 10px 20px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent; color: #fff !important; white-space: nowrap; box-shadow: none;
  }
  #header-menu .ul-topmenu ul li.hover > a:hover,
  #header-menu .ul-topmenu ul li.active > a:hover,
  #header-menu .ul-topmenu ul li:hover > a,
  #header-menu .ul-topmenu ul li.active > a { background: #262626 !important; box-shadow: inset 3px 0 0 var(--nm-red) !important; }
}

.navbar #for_r_go_left { width: auto !important; height: 70px; display: flex; align-items: center; margin: 0; }
.nm-tel-btn {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: var(--nm-red); color: #fff !important; text-decoration: none !important;
  font-weight: 700; font-size: 15px; line-height: 1; padding: 11px 16px; border-radius: 8px;
}
.nm-tel-btn:hover { background: var(--nm-red-d); }
.nm-hdr-name { display: flex; flex-direction: column; margin-right: 14px; text-align: right; color: #c9d0d6; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.nm-hdr-name b { color: #fff; font-size: 14.5px; font-weight: 700; }
@media (max-width: 1199px) { .nm-hdr-name { display: none; } }
.nm-tel-btn .glyphicon { top: 0; }

@media (max-width: 991px) {
  #header-menu #like_logo img { height: 44px; }
  .navbar-toggle { margin-top: 18px; border-color: #555 !important; }
  .navbar-toggle .icon-bar { background: #fff !important; }
  #collapse { background: #111; left: 0; top: 70px; max-height: calc(100vh - 70px); overflow-y: auto; }
  #header-menu .nav-tabs > li > a { line-height: 48px !important; height: 48px !important; padding: 0 20px !important; }
  #header-menu .nav-tabs li li a { width: 100% !important; line-height: 40px !important; }
}

/* ---------- společné prvky ---------- */
.nm-btns { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.nm-btn { display: inline-block; padding: 13px 24px; border-radius: 9px; font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none !important; transition: background .15s, transform .15s; }
.nm-btn:hover { transform: translateY(-1px); }
.nm-btn-red { background: var(--nm-red); color: #fff !important; }
.nm-btn-red:hover { background: var(--nm-red-d); }
.nm-btn-ghost { background: rgba(255,255,255,.14); color: #fff !important; border: 1.5px solid #fff; }
.nm-btn-ghost:hover { background: rgba(255,255,255,.26); }
.nm-btn-white { background: #fff; color: var(--nm-blue) !important; }

.nm-section { padding: 52px 0; text-align: left; }
.nm-gray { background: var(--nm-bg); }
.nm-h2, #work h2.nm-h2 { font-size: 28px; line-height: 1.25; font-weight: 700; margin: 0 0 6px; text-align: left; text-transform: none; color: var(--nm-ink); }
.nm-sub { color: var(--nm-mut); margin: 0 0 26px !important; }

/* ---------- úvodní strana ---------- */
.nm-home #work { padding: 0; }
.nm-hero { position: relative; background-color: #222; background-size: cover; background-position: center; color: #fff; padding: 84px 0 90px; text-align: left; }
.nm-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,18,.9) 0%, rgba(10,14,18,.72) 50%, rgba(10,14,18,.25) 100%); }
.nm-hero > .container { position: relative; }
@media (max-width: 767px) { .nm-hero:before { background: rgba(10,14,18,.72); } }
.nm-hero h1, .nm-hero #pagetitle {
  font-size: 44px; line-height: 1.12; font-weight: 700; text-transform: none; text-align: left;
  max-width: 640px; margin: 0; padding: 0; color: #fff; background: none;
}
.nm-hero-lead { margin: 16px 0 0 !important; max-width: 580px; font-size: 18px; color: #e8edf1; }

.nm-trust { background: #fff; border-bottom: 1px solid var(--nm-line); }
.nm-trust .container { display: flex; padding: 0; }
.nm-trust .container:before, .nm-trust .container:after { display: none; }
.nm-trust .container > div { flex: 1; padding: 18px 16px; text-align: center; font-size: 14px; line-height: 1.4; color: var(--nm-mut); border-right: 1px solid var(--nm-line); }
.nm-trust .container > div:last-child { border-right: 0; }
.nm-trust b { display: block; color: var(--nm-ink); font-size: 15.5px; margin-bottom: 2px; }

.nm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nm-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--nm-radius); overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.09); border-top: 5px solid var(--c); color: var(--nm-ink) !important;
  text-decoration: none !important; transition: transform .18s, box-shadow .18s;
}
.nm-card:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0,0,0,.14); }
.nm-card-img { display: block; height: 140px; background: #fff; }
.nm-card-img img { width: 100%; height: 140px; object-fit: contain; padding: 10px; display: block; }
.nm-card-body { display: flex; flex-direction: column; flex: 1; padding: 6px 18px 18px; }
.nm-card h3 { font-size: 18px; line-height: 1.3; color: var(--c); margin: 0 0 8px; font-weight: 700; text-transform: none; }
.nm-card-txt { font-size: 14.5px; color: var(--nm-mut); flex: 1; }
.nm-card-txt strong { color: var(--nm-ink); font-weight: 600; }
.nm-more { margin-top: 12px; font-weight: 700; font-size: 14.5px; color: var(--c); }

.nm-steps { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nm-steps li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 0; background: none; }
.nm-steps .n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--nm-red); color: #fff; font-weight: 700; font-size: 18px; display: grid; place-items: center; }
.nm-steps b { display: block; margin-bottom: 2px; font-size: 16px; }
.nm-steps span { font-size: 14.5px; color: var(--nm-mut); line-height: 1.5; }

/* obsah hlavní strany z administrace (tabulka Prodávám/Kupuji, text o DEK) */
.nm-content h2 { font-size: 26px; line-height: 1.3; text-transform: none; margin: 0 0 18px; }
.nm-content table { border-collapse: separate !important; border-spacing: 14px 0; }
.nm-content tr[style*="84b340"] td { border-radius: 10px 10px 0 0; }
.nm-content tr[style*="84b340"] h3 { color: #fff; font-size: 18px; margin: 0; }
.nm-content td { padding: 16px 18px !important; vertical-align: top; }
.nm-content tr:last-child td { background: var(--nm-bg); border-radius: 0 0 10px 10px; }
.nm-content img[src*="kalkulace_zdarma"] { max-width: 520px; width: 100% !important; }

.nm-two { display: grid !important; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.nm-two:before, .nm-two:after { display: none !important; }
.nm-cta { background: linear-gradient(120deg, var(--nm-blue), #0f5a80); color: #fff; border-radius: 14px; padding: 30px; text-align: center; }
.nm-cta h2 { color: #fff; font-size: 23px; margin: 0; text-transform: none; text-align: center; }
.nm-cta p { margin: 6px 0 16px !important; opacity: .92; }
.nm-cta small { display: block; margin-top: 12px; opacity: .9; font-size: 14px; }
.nm-cta small a { color: #fff !important; font-weight: 700; }

/* novinky v pravém sloupci */
.nm-news #hpn { margin-top: 18px; padding: 0; }
.nm-news #hpn h2 { font-size: 20px; margin: 0 0 10px; text-align: left; text-transform: none; }
.nm-news #hpn ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none; }
.nm-news #hpn li { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,.08); text-align: left; }
.nm-news .hpn_image img { width: 100%; height: 110px; object-fit: cover; display: block; }
.nm-news .hpn_title { padding: 10px 12px 12px; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.nm-news .hpn_title a { color: var(--nm-ink); text-decoration: none; }
.nm-news .hpn_date, .nm-news .hpn_text, .nm-news .read_more_hp_n { display: none !important; }
.nm-news #hpn li, .nm-news #hpn li > div { height: auto !important; min-height: 0 !important; }
.nm-news .hpn_image { height: 110px; overflow: hidden; }

/* ---------- časté otázky (hlavní strana i podstránky) ---------- */
.nm-faq details, #work .faq details {
  background: #fff; border-radius: 10px; padding: 14px 18px; margin: 0 0 10px; box-shadow: 0 1px 8px rgba(0,0,0,.07); text-align: left;
}
.nm-faq summary, #work .faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.nm-faq summary::-webkit-details-marker, #work .faq summary::-webkit-details-marker { display: none; }
.nm-faq summary:after, #work .faq summary:after { content: "+"; color: var(--nm-red); font-size: 22px; line-height: 1; flex: none; }
.nm-faq details[open] summary:after, #work .faq details[open] summary:after { content: "–"; }
.nm-faq details p, #work .faq details p { margin: 8px 0 0 !important; font-size: 15px; color: var(--nm-mut); }
#work .faq { margin: 30px 0; }
#work .faq h2 { text-align: left; }

/* ---------- podstránky ---------- */
#breadcrumbsContainer { background: var(--nm-bg); font-size: 14px; padding: 8px 0; text-align: left; }
.responsiveBasic { text-align: left; max-width: 980px; margin: 0 auto; padding: 0 15px 40px; }
.responsiveBasic h1#pagetitle, .template-news-item h1, .template-news-list h1 { font-size: 32px; line-height: 1.25; text-transform: none; padding: 34px 0 18px; text-align: left; }
.responsiveBasic h2 { font-size: 24px; line-height: 1.3; margin: 1.4em 0 .5em; }
.responsiveBasic h3 { font-size: 19px; line-height: 1.35; margin: 1.2em 0 .4em; }
.responsiveBasic .nm-lead { font-size: 18px; color: var(--nm-ink); background: var(--nm-bg); border-left: 4px solid var(--nm-red); padding: 14px 18px; border-radius: 0 10px 10px 0; }
/* slider na podstránkách ve stylu hero z úvodní strany (tmavý přechod zleva, text vlevo v kontejneru) */
#slider_new { padding-top: 70px !important; margin: 0; }
#slider_new .carousel-inner > .item { position: relative; height: 340px; max-height: none; overflow: hidden; }
#slider_new .carousel-inner > .item > img { width: 100%; height: 340px !important; min-height: 0; max-height: none; object-fit: cover; }
#slider_new .carousel-inner > .item:after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(10,14,18,.9) 0%, rgba(10,14,18,.72) 50%, rgba(10,14,18,.25) 100%);
}
#slider_new .carousel-caption-content { z-index: 2; display: flex; align-items: center; }
#header #slider_new .carousel-caption {
  position: static !important; display: block; width: 100% !important; max-width: 1140px; margin: 0 auto; padding: 0 15px;
  left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
  font-size: 40px !important; line-height: 1.12 !important; font-weight: 700; text-transform: none; text-shadow: none; text-align: left; color: #fff;
}
#header #slider_new .carousel-caption-popis {
  display: block; max-width: 600px; margin-top: 14px; font-size: 17px !important; line-height: 1.55 !important;
  font-weight: 400; color: #e8edf1; text-shadow: none;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
#slider_new .carousel-indicators { z-index: 3 !important; bottom: 14px; margin-bottom: 0; }
#slider_new .carousel-indicators li, #slider_new .carousel-indicators li.active {
  float: none; width: 10px; height: 10px; margin: 0 4px; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); box-shadow: none;
}
#slider_new .carousel-indicators li.active { background: #fff; width: 24px; border-radius: 5px; }
#slider_new .carousel-indicators li:only-child { display: none; }
@media (min-width: 1200px) { #header #slider_new .carousel-caption { max-width: 1170px; } }
@media (max-width: 991px) { #header #slider_new .carousel-caption { max-width: 750px; } }
@media (max-width: 767px) {
  #slider_new .carousel-inner > .item, #slider_new .carousel-inner > .item > img { height: 200px !important; }
  #slider_new .carousel-inner > .item:after { background: rgba(10,14,18,.65); }
  #header #slider_new .carousel-caption { font-size: 26px !important; padding: 0 16px; }
  #header #slider_new .carousel-caption-popis { display: none !important; }
}


/* hodnocení klientů (hlavní strana + /kontakt/reference/) */
.nm-reviews { border-top: 1px solid var(--nm-line); }
.nm-rev-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 18px; align-items: stretch; }
.nm-revcard { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--nm-line); border-radius: var(--nm-radius); padding: 18px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.06); color: var(--nm-ink) !important; text-decoration: none !important; transition: transform .18s, box-shadow .18s; }
.nm-revcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.nm-rev-src { font-weight: 700; color: var(--nm-mut); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.nm-rev-score { font-size: 34px; font-weight: 700; line-height: 1.1; display: flex; align-items: center; gap: 10px; }
.nm-rev-cnt { font-size: 14px; color: var(--nm-mut); }
.nm-stars { --sw: 100%; position: relative; display: inline-block; font-size: 20px; line-height: 1; letter-spacing: 2px; color: #d5d9dd; }
.nm-stars:before { content: "★★★★★"; }
.nm-stars:after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--sw); overflow: hidden; color: #f5b301; white-space: nowrap; }
.nm-stars-sm { font-size: 14px; letter-spacing: 1px; }
.nm-quote { margin: 0; background: var(--nm-bg); border-left: 4px solid var(--nm-red); border-radius: 0 var(--nm-radius) var(--nm-radius) 0; padding: 18px 22px; font-size: 15.5px; }
.nm-quote p { margin: 0 0 8px !important; font-style: italic; }
.nm-quote footer { font-size: 14px; color: var(--nm-mut); background: none; padding: 0; }
.responsiveBasic .nm-rev-grid { grid-template-columns: 1fr 1fr; margin: 10px 0 26px; }
.responsiveBasic .nm-quote { margin: 0 0 14px; }
@media (max-width: 991px) { .nm-rev-grid { grid-template-columns: 1fr 1fr; } .nm-rev-grid .nm-quote { grid-column: 1 / -1; } }
@media (max-width: 520px) { .nm-rev-grid, .responsiveBasic .nm-rev-grid { grid-template-columns: 1fr; } }

/* tlačítko poptávky v obsahu (nahradilo obrázkový banner „chci ZDARMA kalkulaci“) */
.nm-cta-inline { text-align: center; margin: 26px 0 !important; }
#work .nm-cta-inline a.nm-btn { color: #fff !important; text-decoration: none !important; font-size: 17px; padding: 15px 30px; display: inline-block; min-height: 0; }

/* odkazy na PDF – ikonka dokumentu */
#work a[href$=".pdf"], #footer a[href$=".pdf"] { white-space: nowrap; }
#work a[href$=".pdf"]:before, #footer a[href$=".pdf"]:before {
  content: ""; display: inline-block; width: 18px; height: 22px; margin-right: 6px; vertical-align: -5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M2 0h9l7 7v13a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z' fill='%23C70000'/%3E%3Cpath d='M11 0v5a2 2 0 0 0 2 2h5z' fill='%23ff8a8a'/%3E%3Ctext x='9' y='17' font-family='Arial,sans-serif' font-size='5.6' font-weight='700' fill='%23fff' text-anchor='middle'%3EPDF%3C/text%3E%3C/svg%3E") no-repeat center / contain;
}

/* ceník */
.nm-price { width: 100%; border-collapse: collapse; margin: 10px 0 24px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,.07); }
.nm-price th, .nm-price td { padding: 11px 14px; border-bottom: 1px solid var(--nm-line); text-align: left; vertical-align: top; }
.nm-price th { background: var(--nm-bg); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--nm-mut); }
.nm-price td:last-child { white-space: nowrap; font-weight: 700; text-align: right; }
.nm-price { table-layout: fixed; }
.nm-price th:last-child { text-align: right; width: 22%; }
.nm-price th:nth-child(2):not(:last-child) { width: 20%; }

/* ---------- patička ---------- */
#footer { background: #111 !important; color: #c9d0d6; text-align: left; padding: 40px 0 10px; }
#footer h3 { color: #fff; font-size: 17px; line-height: 1.35; margin: 0 0 10px; text-transform: none; font-family: inherit; }
#footer, #footer p, #footer address, #footerAdress { font-size: 15px; line-height: 1.6; }

/* cookie lišta ve firemní červené (místo GENES oranžové) */
#cc-main { --cc-btn-primary-bg: #C70000; --cc-btn-primary-border-color: #C70000; --cc-btn-primary-hover-bg: #a30000; --cc-btn-primary-hover-border-color: #a30000;
  --cc-btn-secondary-bg: #fbeaea; --cc-btn-secondary-border-color: #C70000; --cc-btn-secondary-color: #C70000; --cc-btn-secondary-hover-bg: #f5d3d3; --cc-btn-secondary-hover-color: #a30000;
  --cc-cookie-category-block-border: #ecc4c4; --cc-cookie-category-expanded-block-bg: #fcf5f5; --cc-link-color: #C70000; --cc-separator-border-color: #ecc4c4; --cc-toggle-on-bg: #C70000; }
#footer a { color: #fff; }
#footer address { font-style: normal; }
#footerLinks ul { list-style: none; margin: 0; padding: 0; }
#footerLinks li { margin: 0 0 6px; font-size: 15px; }
#footerLinks .footer-socials ul { display: flex; gap: 10px; margin-top: 14px; }
#footerLinks .footer-socials img { width: 34px; height: 34px; border-radius: 6px; background: #fff; }
#logo_footer img { background: none; padding: 0; max-width: 100%; height: auto; }
#footerForm { margin-top: 18px; }
#footer .buttonKontantMail { display: inline-block; background: var(--nm-red) !important; color: #fff !important; padding: 12px 22px; border-radius: 9px; font-weight: 700; text-decoration: none; }
#copyright { border-top: 1px solid #2a2a2a; margin-top: 24px; padding-top: 14px; font-size: 14px; color: #8a949c; text-align: center; }
#copyright h2 { font-size: 16px; margin: 0 0 8px; }
#copyright img { max-height: 54px; width: auto; background: none; padding: 0; }
#copyright p:empty { display: none; }

/* pevné tlačítko Zavolat jen na mobilu */
.nm-sticky-call { display: none; }

/* ---------- responzivita ---------- */
@media (max-width: 1199px) {
  .nm-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .nm-steps { grid-template-columns: repeat(2, 1fr); }
  .nm-two { grid-template-columns: 1fr; }
  #for_r_go_left.navbar-text.navbar-right { display: none !important; }
}
@media (max-width: 767px) {
  .nm-hero { padding: 44px 0 48px; }
  .nm-hero h1, .nm-hero #pagetitle { font-size: 30px; }
  .nm-hero-lead { font-size: 16px; }
  .nm-btns { flex-direction: column; }
  .nm-btn { text-align: center; }
  .nm-trust .container { flex-wrap: wrap; }
  .nm-trust .container > div { flex: 1 1 50%; border-bottom: 1px solid var(--nm-line); }
  .nm-trust .container > div:nth-child(2n) { border-right: 0; }
  .nm-section { padding: 34px 0; }
  .nm-h2, #work h2.nm-h2 { font-size: 23px; }
  .nm-cards { grid-template-columns: 1fr; gap: 14px; }
  .nm-card { flex-direction: row; border-top: 0; border-left: 5px solid var(--c); }
  .nm-card-img { display: none; }
  .nm-card-body { padding: 14px 16px; }
  .nm-steps { grid-template-columns: 1fr; gap: 16px; }
  .nm-content table, .nm-content tbody, .nm-content tr, .nm-content td { display: block; width: 100% !important; }
  .nm-content table { border-spacing: 0; }
  .nm-content td { border-radius: 10px !important; margin-bottom: 8px; }
  .responsiveBasic h1#pagetitle { font-size: 26px; padding-top: 22px; }
  .nm-price td:last-child { white-space: normal; }
  .nm-sticky-call {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900;
    background: var(--nm-red); color: #fff !important; text-decoration: none !important; text-align: center;
    font-weight: 700; font-size: 16px; padding: 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  }
  body { padding-bottom: 76px; }
  #cc-main .cm--box { bottom: 80px !important; }
}

/* ---------- výpis novinek /novinky/ (redesign 2026-12) ---------- */
.template-news-list .responsiveBasic { max-width: 1140px; }
#work .nm-newslist { margin: 10px 0 0; }
.nm-news-card { background: #fff; border-radius: var(--nm-radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.08); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; text-align: left; }
.nm-news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.nm-news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nm-bg); }
.nm-news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nm-news-card:hover .nm-news-img img { transform: scale(1.04); }
.nm-news-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #2a2f35, #111); }
.nm-news-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.nm-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--nm-mut); margin-bottom: 8px; }
.nm-news-badge { background: var(--nm-red); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 20px; margin-right: 4px; }
#work .nm-news-card h2.titleNewsList { font-size: 20px; line-height: 1.3; margin: 0 0 8px; padding: 0; text-align: left; text-transform: none; clear: none; }
#work .nm-news-card h2.titleNewsList a { color: var(--nm-ink); text-decoration: none; }
#work .nm-news-card h2.titleNewsList a:hover { color: var(--nm-red); }
#work p.nm-news-perex { font-size: 15px; color: var(--nm-mut); margin: 0 0 14px !important; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#work a.nm-news-more { font-weight: 700; color: var(--nm-red); text-decoration: none; font-size: 15px; align-self: flex-start; }
#work a.nm-news-more:hover span { margin-left: 4px; }
#work a.nm-news-more span { transition: margin .15s; }

.nm-news-featured { margin-bottom: 26px; }
.nm-news-card.is-featured { flex-direction: row; }
.nm-news-card.is-featured .nm-news-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 320px; }
.nm-news-card.is-featured .nm-news-body { padding: 30px 34px; justify-content: center; }
#work .nm-news-card.is-featured h2.titleNewsList { font-size: 28px; }
#work .nm-news-card.is-featured p.nm-news-perex { font-size: 16.5px; -webkit-line-clamp: 5; flex: 0 1 auto; }

.nm-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.nm-news-cta { margin: 44px 0 10px; background: linear-gradient(120deg, #1d2329, #111); color: #fff; border-radius: 14px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
#work .nm-news-cta h2 { color: #fff; font-size: 23px; margin: 0 0 4px; text-transform: none; }
#work .nm-news-cta p { margin: 0 !important; color: #c9d0d6; }
.nm-news-cta .nm-btns { margin-top: 0; }

@media (max-width: 991px) {
  .nm-news-grid { grid-template-columns: repeat(2, 1fr); }
  .nm-news-card.is-featured { flex-direction: column; }
  .nm-news-card.is-featured .nm-news-img { min-height: 0; aspect-ratio: 16 / 9; }
  .nm-news-card.is-featured .nm-news-body { padding: 20px; }
  #work .nm-news-card.is-featured h2.titleNewsList { font-size: 23px; }
}
@media (max-width: 600px) {
  .nm-news-grid { grid-template-columns: 1fr; }
  .nm-news-cta { padding: 22px; }
}

/* ---------- obrázky v obsahu (figure) + box 18 tipů – stránka /nemopas/ ---------- */
#work figure.nm-fig { margin: 6px 0 22px; }
#work figure.nm-fig img { display: block; width: 100%; height: auto; border-radius: 10px; }
#work figure.nm-fig figcaption { font-size: 13px; color: var(--nm-mut); margin-top: 6px; }
#work figure.nm-fig-right { float: right; width: 38%; max-width: 380px; margin: 4px 0 18px 28px; }
#work figure.nm-fig-logo { width: 30%; max-width: 260px; }
#work figure.nm-fig-logo img { border-radius: 0; }
#work figure.nm-fig-wide { clear: both; margin: 28px 0 26px; }
#work figure.nm-fig-wide img { box-shadow: 0 6px 24px rgba(0,0,0,.12); }
#work h2 { clear: none; }
.nm-tip-box { clear: both; display: flex; align-items: center; gap: 26px; background: var(--nm-bg); border-left: 5px solid var(--nm-red); border-radius: 0 var(--nm-radius) var(--nm-radius) 0; padding: 20px 24px; margin: 30px 0; text-align: left; }
.nm-tip-box > a { flex: 0 0 170px; }
.nm-tip-box img { width: 100%; height: auto; display: block; }
#work .nm-tip-box h3 { margin: 0 0 6px; font-size: 19px; }
#work .nm-tip-box p { margin: 0 0 8px !important; }
@media (max-width: 767px) {
  #work figure.nm-fig-right, #work figure.nm-fig-logo { float: none; width: 100%; max-width: none; margin: 4px 0 18px; }
  #work figure.nm-fig-logo { max-width: 240px; }
  .nm-tip-box { flex-direction: column; align-items: flex-start; }
  .nm-tip-box > a { flex: none; width: 160px; }
}

/* ---------- /sluzby/ rozcestník ---------- */
.nm-services-hub { margin: 30px 0 10px; }
.responsiveBasic .nm-services-hub .nm-cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.nm-services-hub .nm-card-img, .nm-services-hub .nm-card-img img { height: 170px; }
.nm-services-hub .nm-card h3 { font-size: 20px; }
.nm-hub-links { margin-top: 22px !important; font-size: 15px; color: var(--nm-mut); }
@media (max-width: 600px) { .responsiveBasic .nm-services-hub .nm-cards { grid-template-columns: 1fr; } }
/* PDF ikonka ne u odkazů, které jsou obrázkem */
#work a[href$=".pdf"]:has(img):before, #footer a[href$=".pdf"]:has(img):before { display: none; }
#work a[href$=".pdf"]:has(img) { white-space: normal; }

/* ---------- /video-serial/ – mřížka dílů ---------- */
.site-id-106648 .responsiveBasic { max-width: 1140px; }
.nm-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 26px 0 10px; }
#work figure.nm-video { margin: 0; background: #fff; border-radius: var(--nm-radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.09); transition: box-shadow .18s; }
#work figure.nm-video:hover { box-shadow: 0 10px 28px rgba(0,0,0,.15); }
.nm-video-frame { position: relative; aspect-ratio: 16 / 9; background: #111; }
.nm-video-frame video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; background: #111; display: block; }
.nm-ep-badge { position: absolute; top: 10px; left: 10px; background: var(--nm-red); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 20px; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
#work .nm-video figcaption { padding: 14px 16px 16px; text-align: left; }
#work .nm-video figcaption h3 { font-size: 17px; line-height: 1.3; margin: 0 0 4px; }
.nm-ep-meta { font-size: 13.5px; color: var(--nm-mut); }
@media (max-width: 991px) { .nm-video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nm-video-grid { grid-template-columns: 1fr; } }
.nm-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 55%); cursor: pointer; }
.nm-play:before { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(199,0,0,.92); box-shadow: 0 6px 20px rgba(0,0,0,.4); transition: transform .15s, background .15s; }
.nm-play:after { content: ""; position: absolute; left: 50%; top: 50%; margin: -12px 0 0 -7px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.nm-play:hover:before, .nm-play:focus-visible:before { transform: scale(1.1); background: var(--nm-red); }
.nm-video-frame.is-playing .nm-play, .nm-video-frame.is-playing .nm-ep-badge { display: none; }

/* ---------- box nezávazné poptávky (Ceník) ---------- */
.nm-inquiry { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin: 30px 0; padding: 30px 32px; border-radius: 14px; background: linear-gradient(120deg, var(--nm-blue), #0f5a80); color: #fff; text-align: left; }
#work .nm-inquiry h2 { color: #fff; margin: 0 0 8px; font-size: 26px; }
#work .nm-inquiry p { margin: 0 0 12px !important; color: #e3eef5; }
#work ul.nm-checks { list-style: none; margin: 0 !important; padding: 0 !important; }
#work ul.nm-checks li { position: relative; padding-left: 26px; margin: 4px 0; color: #fff; }
#work ul.nm-checks li:before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: #9fe3a5; }
.nm-inq-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border-radius: 12px; padding: 22px; text-align: center; }
#work .nm-inq-actions a.nm-btn { color: #fff !important; width: 100%; text-align: center; }
.nm-btn-lg { font-size: 18px !important; padding: 16px 26px !important; }
.nm-inq-or { font-size: 14px; color: #cfe2ee; margin-top: 4px; }
#work a.nm-inq-tel { color: #fff !important; font-size: 22px; font-weight: 700; text-decoration: none; }
#work a.nm-inq-mail { color: #e3eef5 !important; font-size: 14.5px; }
@media (max-width: 767px) { .nm-inquiry { grid-template-columns: 1fr; padding: 22px; } }

/* ---------- nový slider (prolínání + jemný zoom, vzor videolide.cz) – hlavní strana i podstránky ---------- */
.nm-hero { padding: 0 !important; background: none !important; }
.nm-hero:before { display: none !important; }
#slider_new.nm-slider-wrap { padding-top: 70px !important; margin: 0; }
.nm-slider { position: relative; overflow: hidden; background: #111; height: 340px; }
.nm-slider-hero { height: 520px; }
.nm-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 1.2s ease; }
.nm-slide.is-active { opacity: 1; z-index: 1; }
.nm-slide.is-leaving { opacity: 0; z-index: 1; }
.nm-slide img, #work .nm-slide img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; transform: scale(1); transform-origin: 50% 50%; will-change: transform; }
.nm-slide.is-active img, .nm-slide.is-leaving img { animation: nmKenBurns 9s ease-out forwards; }
@keyframes nmKenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }
/* tmavý přechod zleva kvůli čitelnosti textu */
.nm-slider:after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(10,14,18,.9) 0%, rgba(10,14,18,.72) 50%, rgba(10,14,18,.25) 100%); }
.nm-slide-cap { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; color: #fff; text-align: left; }

.nm-slide-title { display: block; font-size: 40px; line-height: 1.12; font-weight: 700; max-width: 760px; }
.nm-slide-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 600px; margin-top: 14px; font-size: 17px; line-height: 1.55; color: #e8edf1; }
.nm-slide:not(.is-active) .nm-slide-cap { opacity: 0; transition: opacity .6s; }
.nm-slide.is-active .nm-slide-cap { opacity: 1; transition: opacity .9s .3s; }
.nm-hero-text { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; color: #fff; text-align: left; }

.nm-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.nm-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.nm-dots button.is-active { width: 26px; background: #fff; }
.nm-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) {
  .nm-slider { height: 210px; }
  .nm-slider-hero { height: auto; min-height: 460px; }
  .nm-slider-hero .nm-hero-text { position: relative; min-height: 460px; padding: 40px 0 56px; }
  .nm-slider:after { background: rgba(10,14,18,.7); }
  .nm-slide-title { font-size: 25px; }
  .nm-slide-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-slide { transition: none; }
  .nm-slide.is-active img, .nm-slide.is-leaving img { animation: none; }
}
