/* liborwebster.cz · lw-web.css
   Doplňky k lw.css (to zůstává beze změn z podkladů): stavy formulářů a vazba na WordPress a Bricks. */

/* Bricks má vlastní reset (ve vrstvě @layer bricks), šablony z podkladů ale počítají
   s výchozími styly prohlížeče. Pro prvky uvnitř .lw se tady výchozí hodnoty vracejí.
   :where() má nulovou specificitu, takže pravidla z lw.css vždy vyhrají; nevrstvené
   pravidlo zároveň přebije každé pravidlo z vrstvy Bricks (kromě !important).
   Změřeno proti šablonám (zmer.py) 9. 10. 2026. */
:where(.lw) :where(h1,h2,h3,h4,h5,h6){margin:revert;font-size:revert;font-weight:revert;line-height:revert;letter-spacing:revert;text-rendering:revert}
:where(.lw) :where(p,ul,ol,dl,dd,figure,blockquote,hr){margin:revert;padding:revert}
:where(.lw) :where(ul,ol){list-style:revert}
:where(.lw) :where(blockquote,figcaption,cite,q){font:revert;border:revert;padding:revert;margin:revert;text-align:revert;quotes:revert;color:revert}
:where(.lw) :where(a){text-decoration:revert;transition:revert}
:where(.lw) :where(b,strong){font-weight:revert}
:where(.lw) :where(small){font-size:revert}
:where(.lw) :where(img){vertical-align:revert}
:where(.lw) :where(svg){min-width:revert;min-height:revert;display:revert;vertical-align:revert}
:where(.lw) :where(label){display:revert;margin:revert;color:revert;font:revert;letter-spacing:revert;text-transform:revert;cursor:revert;align-self:revert}
:where(.lw) :where(legend){display:revert;box-sizing:revert;white-space:revert;max-width:revert;color:revert}
:where(.lw) :where(input,textarea,select,button){font:revert;line-height:revert;padding:revert;border:revert;border-radius:revert;color:revert;margin:revert;box-shadow:revert;outline:revert;transition:revert;height:revert;min-height:revert;text-align:revert;background:revert;width:revert}

/* formuláře: chyby u polí, potvrzení */
.lw-err{margin:2px 0 0;font-size:15px;font-weight:600;color:#A3322A}
.lw-field input[aria-invalid="true"],.lw-field textarea[aria-invalid="true"]{border-color:#A3322A}
.lw-form-msg{margin:0 0 20px;padding:12px 16px;border-radius:12px;background:#FBE3DE;color:#7A2219;font-size:16px}
.lw-form-ok{margin:8px 0 0;font-size:22px;line-height:1.4}
.lw-form-ok:focus{outline:none}
.lw-form button[disabled]{opacity:.6;cursor:progress}

/* konec dílu pohádky (v šabloně řádek s výškou 110 px) */
.lw-dil-konec{height:110px}

/* čísla v hero, když se čtvrté (pohádky) nezobrazí */
.lw-stats:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,1fr)}

/* samostatné SVG z šablon (Bricks ho obalí <span>, ten se z layoutu vyřadí) */
.lw-contents{display:contents}

/* Osobní symbol: dvě tváře v bublině ze značky NoGames (Libor 9. 10. 2026) místo dvou
   kroužků. Poměr stran 256 : 332, proto vlastní rozměry místo těch z lw.css. */
.lw .lw-logo svg{width:26px;height:34px}
@container lw (max-width:560px){.lw .lw-logo svg{width:22px;height:28px}}
@container lw (max-width:400px){.lw .lw-logo svg{width:19px;height:24px}}
.lw .lw-quote svg{width:62px;height:80px}
.lw .lw-rings svg{width:100%;height:100%}

/* logo PulseLab v kartě projektu (tmavá varianta oficiálního loga, theme/assets/img) */
.lw-mark img.pulse{height:46px}
.lw-mark img.bp{height:52px}
