/* Additions of the temporary site on top of the web-kit theme. */
/* Five service cards leave empty grid cells at some widths: the list background (which
   drew the 1px separators and showed as grey blocks in empty cells) is replaced by a 1px
   ring on every card, so an empty cell is just the section background. */
.rw-services{background:transparent}
.rw-services>li{box-shadow:0 0 0 1px var(--line)}
.tmp-label{display:block;margin-bottom:.6rem;font-family:var(--font-mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-text)}
.tmp-note{margin-top:.8rem;color:var(--muted);font-size:.85rem;line-height:1.6}
/* Landing pages: visible links and list bullets in the page body. */
.rw-page-body a,.rw-ref-note a{color:var(--accent-text);text-decoration:underline;text-underline-offset:.2em}
.rw-page-body a:hover,.rw-ref-note a:hover{text-decoration-thickness:2px}
.rw-page-body ul{list-style:disc;padding-left:1.25rem}
.rw-page-body li{margin:.3rem 0}
.rw-page-body li::marker{color:var(--accent-text)}
#o-nas .rw-lead{margin-bottom:2.5rem}
/* Subpages: less empty space between the body, the questions and the closing button. */
.rw-page-body{padding-block:calc(var(--section)*.55) 0}
.rw-faq{margin-top:calc(var(--section)*.55)}
.rw-page-cta{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem;margin-top:calc(var(--section)*.45);padding-bottom:calc(var(--section)*.55)}
.tmp-cta-contact{display:flex;flex-wrap:wrap;gap:.5rem 1.75rem;font-family:var(--font-mono);font-size:1rem}
.tmp-cta-contact a{color:var(--ink)}
/* Long German compounds must not push the page wider than a phone screen. */
.rw-page-hero h1{hyphens:auto;hyphenate-limit-chars:14 5 5;overflow-wrap:break-word}
/* Services by priority: PLC and robot programming as two wide cards, the other six below. */
@media (width>=1100px){
.rw-services{grid-template-columns:repeat(6,1fr)}
.rw-services>li{grid-column:span 2}
.rw-services>li:nth-child(-n+2){grid-column:span 3;padding-block:2.75rem;border-top:2px solid var(--accent)}
.rw-services>li:nth-child(-n+2) .rw-h3{font-size:1.6rem}
.rw-services>li:nth-child(-n+2) p{font-size:1.05rem;max-width:34rem}
}
/* "How we work": two scenarios, each a row of four steps. */
.tmp-flow+.tmp-flow{margin-top:3.5rem}
.tmp-flow-title{margin-bottom:1.75rem;font-family:var(--font-display);font-size:1.35rem;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.tmp-flow-note{margin-top:3rem;color:var(--muted);font-size:.95rem}
.rw-footer-bottom a.tmp-legal{color:inherit;text-decoration:underline;text-underline-offset:.2em}
.rw-footer-bottom a.tmp-legal:hover{color:var(--ink)}
/* Service pages submenu under "Služby": dropdown on desktop, indented list in the mobile panel. */
.rw-main-nav li.tmp-has-sub{position:relative}
.rw-main-nav ul.tmp-sub{display:none;position:absolute;top:100%;left:-1rem;z-index:60;flex-direction:column;gap:0;min-width:16rem;padding:.5rem 0;background:var(--bg);border:1px solid var(--line-strong);border-radius:var(--radius)}
.rw-main-nav li.tmp-has-sub:hover>ul.tmp-sub,.rw-main-nav li.tmp-has-sub:focus-within>ul.tmp-sub{display:flex}
.rw-main-nav ul.tmp-sub a{display:block;padding:.5rem 1rem;font-size:.9rem}
@media (width<=960px){
.rw-main-nav ul.tmp-sub{display:flex;position:static;min-width:0;padding:0 0 0 1.25rem;background:none;border:0;border-radius:0}
.rw-main-nav ul.tmp-sub a{font-family:var(--font-body,inherit);letter-spacing:0;font-size:1rem;font-weight:400;padding:.6rem 0;color:var(--muted)}
}
a.rw-map{display:block}
.rw-map img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html[data-tone=light] .rw-map img{filter:invert(1)}
.tmp-map-note{margin-top:.6rem;font-family:var(--font-mono);font-size:.66rem;letter-spacing:.06em;color:var(--muted)}
.tmp-person{color:var(--ink);font-size:clamp(1.15rem,1.8vw,1.4rem);font-weight:600}
.rw-contact-big a.tmp-in{display:inline-block;margin-top:.35rem;font-weight:400;font-family:var(--font-mono);font-size:.8rem;letter-spacing:.04em;color:var(--accent-text);text-decoration:underline;text-underline-offset:.2em}
