/* Design review 27 Nov 2026, page group L5 (legal pages and the not-found page): page-specific fixes, loaded after the site-wide file. */

/* L1-15: the legal pages show the shared footer (same markup as every other page, texts translated by the server).
   Its base rules live in style.css, which cannot be loaded here (global body, h1 and header rules); they are copied unchanged
   from style.css lines 135 to 153. orveka-footer-dokumenty.css (shared) adds the compact variant. */
.orveka-footer{position:relative;background:#072a4d;color:#f5f9ff;font-family:inherit}
.footer-wave{height:124px;background:#f1f9fe;overflow:hidden}.footer-wave svg{width:100%;height:100%;display:block}
.footer-body{background:linear-gradient(120deg,#082f54,#062647);padding:45px max(4.7vw,24px) 44px}
.footer-main{max-width:1620px;margin:0 auto;display:grid;grid-template-columns:2.25fr 1fr 1.28fr .9fr 1.58fr;gap:clamp(24px,3.2vw,64px)}
.footer-brand img{display:block;width:min(100%,420px);height:auto;max-height:160px;object-fit:contain;object-position:left center}
.footer-line,.footer-column h3:after{display:block;content:"";width:42px;height:3px;background:#90d739;margin-top:16px}
.footer-brand p{font-size:clamp(16px,1.35vw,22px);line-height:1.5;margin:20px 0 28px}
.footer-social{display:flex;gap:18px}.footer-social a{display:grid;place-items:center;border:1.5px solid #e4efff;border-radius:50%;width:45px;height:45px;color:#fff;text-decoration:none;font-size:22px;font-weight:650}
.footer-column{padding-top:16px;display:flex;flex-direction:column;align-items:flex-start;gap:17px}
.footer-column h3{font-size:clamp(16px,1.15vw,22px);margin:0 0 13px;color:#fff;font-weight:750}
.footer-column a,.footer-column span{color:#e8efff;text-decoration:none;font-size:clamp(16px,1.15vw,22px);line-height:1.35}
.footer-column a:hover,.footer-legal a:hover{text-decoration:underline}
.footer-contact{gap:22px}.footer-contact-row{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start}.footer-contact-row div{display:flex;flex-direction:column;gap:4px}.footer-contact-row strong{font-size:clamp(16px,1.2vw,22px)}
.footer-contact-icon{font-size:28px!important;color:#9fda32!important;line-height:1!important}
.footer-bottom{max-width:1620px;margin:58px auto 0;padding-top:32px;border-top:1px solid #8ba4ba;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:clamp(14px,.96vw,18px)}
.footer-legal{display:flex;gap:0;flex-wrap:wrap}.footer-legal a{color:#e8efff;text-decoration:none;padding:0 20px;border-right:1px solid #7b91a8}.footer-legal a:last-child{border:0}
.footer-lang{white-space:nowrap}
@media(max-width:1100px){.footer-main{grid-template-columns:repeat(3,1fr)}.footer-brand{grid-column:span 2}.footer-bottom{flex-wrap:wrap}.footer-legal a:first-child{padding-left:0}}
@media(max-width:680px){.footer-wave{height:65px}.footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.footer-brand{grid-column:span 2}.footer-column{gap:12px}.footer-contact{grid-column:span 2}.footer-bottom{margin-top:36px;display:grid}.footer-legal{gap:10px}.footer-legal a{border:0;padding:0 10px 0 0}.footer-body{padding:28px 20px 35px}}
.orveka-footer .footer-body,.orveka-footer .footer-body *{box-sizing:border-box}
.orveka-footer{margin-top:40px}
.orveka-footer p{font-size:inherit}

/* L5-06: table of contents (static links in the Czech source, ids on the chapter headings). */
.orveka-toc{border:1px solid #d5e2ec;border-radius:12px;padding:14px 16px;margin:0 0 28px;background:#f7fafc;max-width:700px}
.orveka-toc:before{content:"Obsah";display:block;font-size:17px;font-weight:700;margin-bottom:6px;color:#0d4664}
html:lang(en) .orveka-toc:before{content:"Contents"}
html:lang(de) .orveka-toc:before{content:"Inhalt"}
html:lang(pl) .orveka-toc:before{content:"Spis tre\015bci"}
html:lang(es) .orveka-toc:before{content:"Contenido"}
html:lang(fr) .orveka-toc:before{content:"Sommaire"}
body .orveka-toc a[href]{display:flex;align-items:center;min-height:44px;padding:4px 0;font-size:16px;line-height:1.35;color:#0b6fb8;text-decoration:none;border-top:1px solid #e4edf3}
body .orveka-toc a[href]:first-of-type{border-top:0}
.doc h2{scroll-margin-top:90px}
@media print{.orveka-toc{display:none}}

/* L5-01: not-found page. */
.orveka-not-found{text-align:center;padding-top:48px;padding-bottom:48px}
.orveka-not-found h1{margin-top:0}
.orveka-not-found p{font-size:17px;margin:0 0 28px}
.orveka-not-found-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
body .orveka-not-found-links a.orveka-not-found-btn[href]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 22px;border:1px solid #b9d3e4;border-radius:12px;color:#0b6fb8;font-weight:700;text-decoration:none}
body .orveka-not-found-links a.orveka-not-found-main[href]{background:#2e7d32;border-color:#2e7d32;color:#fff}
@media(max-width:700px){.orveka-not-found{padding:36px 20px}body .orveka-not-found-links a.orveka-not-found-btn[href]{width:100%}}
