/*
Theme Name: Ledgeron
Description: Moderná blokova téma pre ledgeron.sk (účtovnícke služby).
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: ledgeron
*/
:root{--lg-rule:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,var(--wp--preset--color--line) 43px,var(--wp--preset--color--line) 44px)}
body{-webkit-font-smoothing:antialiased}
.lg-header{border-bottom:1px solid var(--wp--preset--color--line);padding-block:14px;background:var(--wp--preset--color--paper)}
.lg-header a{text-decoration:none;font-weight:600}
.lg-header a:hover{color:var(--wp--preset--color--accent)}
.lg-hero{padding-block:clamp(48px,8vw,104px);background:var(--wp--preset--color--paper)}
.lg-h1{font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.08;letter-spacing:-.02em;margin:0 0 20px}
.lg-lead{font-size:1.2rem;max-width:34em;color:var(--wp--preset--color--muted);margin-bottom:28px}
.lg-hero .wp-block-columns{align-items:center;gap:clamp(24px,5vw,72px)}
.lg-ledger{background:#fff;border:1px solid var(--wp--preset--color--line);border-left:3px double var(--wp--preset--color--accent);padding:20px 24px 8px 28px;background-image:var(--lg-rule);background-position:0 52px;box-shadow:0 1px 0 var(--wp--preset--color--line)}
.lg-ledger-title{font-family:var(--wp--preset--font-family--serif);font-size:1.15rem;margin:0 0 12px;color:var(--wp--preset--color--ink)}
.lg-row{display:flex;justify-content:space-between;gap:16px;margin:0;line-height:44px;font-size:.98rem}
.lg-ok{color:var(--wp--preset--color--accent);font-weight:600;white-space:nowrap}
.lg-band{border-block:1px solid var(--wp--preset--color--line);padding-block:40px}
.lg-trust .wp-block-column{border-left:3px solid var(--wp--preset--color--accent);padding-left:18px}
.lg-trust h3{margin:0 0 6px;font-size:1.1rem}.lg-trust p{margin:0;color:var(--wp--preset--color--muted)}
.lg-dark{background:var(--wp--preset--color--ink);color:#EAF0F5;padding-block:clamp(48px,7vw,88px)}
.lg-dark h2{color:#fff;font-size:clamp(1.8rem,3.6vw,2.6rem);line-height:1.15;margin:0}
.lg-dark .wp-block-button__link{color:#fff;border-color:#fff}
.lg-sec{padding-block:clamp(48px,7vw,88px)}
.lg-sec h2{margin:0 0 32px;font-size:clamp(1.7rem,3.2vw,2.3rem)}
.lg-tint{background:var(--wp--preset--color--accent-soft)}
.lg-svc .wp-block-column{border-top:1px solid var(--wp--preset--color--ink);padding-top:16px}
.lg-svc h3,.lg-steps h3{margin:0 0 8px;font-size:1.2rem}
.lg-n{font-family:var(--wp--preset--font-family--serif);font-size:2.2rem;line-height:1;margin:0 0 10px;color:var(--wp--preset--color--accent)}
.lg-cta{background:var(--wp--preset--color--accent);color:#fff;text-align:center;padding-block:clamp(48px,7vw,80px)}
.lg-cta h2{color:#fff;margin:0 0 12px;font-size:clamp(1.7rem,3.4vw,2.4rem)}
.lg-cta .wp-block-button__link{background:#fff;color:var(--wp--preset--color--ink)}
.lg-cta .wp-block-buttons{justify-content:center}
.lg-page{padding-block:clamp(32px,6vw,72px)}
.lg-footer{background:var(--wp--preset--color--ink);color:#C7D2DC;padding-block:28px;font-size:.9rem}
.lg-footer p{margin:0}.lg-footer a{color:#fff;text-decoration:none}
a:focus-visible,.wp-block-button__link:focus-visible{outline:3px solid var(--wp--preset--color--accent);outline-offset:3px}
@media(max-width:600px){.lg-row{font-size:.9rem}}

/* v1.1 */
.wp-site-blocks>*{margin-block-start:0}
main.wp-block-group>.alignfull{margin-block-start:0}
.lg-header,.lg-footer,.lg-page,main.wp-block-group>.alignfull{padding-inline:clamp(20px,4vw,40px)}
.lg-four .wp-block-column{min-width:0}
.lg-faq details{border-top:1px solid var(--wp--preset--color--line);padding:16px 0}
.lg-faq details:last-child{border-bottom:1px solid var(--wp--preset--color--line)}
.lg-faq summary{font-weight:600;cursor:pointer;color:var(--wp--preset--color--ink)}
.lg-faq details p{margin:10px 0 0;color:var(--wp--preset--color--muted)}
.lg-faq{max-width:760px}
@media(max-width:781px){.lg-four{gap:24px}}

/* v2 */
.lg-topbar{text-align:center;background:var(--wp--preset--color--ink);color:#fff;font-size:.9rem;padding-block:8px}.lg-topbar p{margin:0}.lg-topbar a{color:#A9DCE5;font-weight:600}
.lg-header .wp-block-group{gap:20px}.lg-brand{display:block;line-height:0}.lg-logo{height:40px;width:auto;display:block;color:var(--wp--preset--color--ink)}
.lg-logo .m{fill:none;stroke:var(--wp--preset--color--accent);stroke-width:3}.lg-logo .ml{stroke:var(--wp--preset--color--accent)}.lg-logo .mo{stroke:var(--wp--preset--color--magenta)}.lg-logo .l{stroke:#fff}.lg-logo .w1{fill:var(--wp--preset--color--accent)}.lg-logo .w2{fill:var(--wp--preset--color--magenta)}.lg-footer .lg-logo{color:#fff}.lg-footer .lg-logo .m,.lg-footer .lg-logo .ml{stroke:#fff}.lg-footer .lg-logo .mo{stroke:#E58AAE}.lg-footer .lg-logo .l{stroke:var(--wp--preset--color--accent)}.lg-footer .lg-logo .w1{fill:#fff}.lg-footer .lg-logo .w2{fill:#E58AAE}
.lg-checks{list-style:none;padding:0;margin:0 0 18px}.lg-checks li{padding-left:34px;position:relative;margin:10px 0;font-size:1.15rem}
.lg-checks li:before{content:"";position:absolute;left:0;top:.3em;width:22px;height:22px;border-radius:50%;background:var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4l2.4 2.4L9.8 3.4' stroke='white' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") center/13px no-repeat}
.lg-small{color:var(--wp--preset--color--muted);margin-bottom:26px}
.lg-art,.lg-flow{width:100%;height:auto;display:block}.lg-ill{display:block;width:100%;max-width:340px;margin-inline:auto;height:auto}
.lg-art .doc,.lg-art .stamp{transform-box:fill-box;transform-origin:center}
.lg-art .doc{animation:fly 6s ease-in infinite}.lg-art .d2{animation-delay:.9s}.lg-art .d3{animation-delay:1.8s}
@keyframes fly{0%{transform:translateY(-14px);opacity:0}12%{opacity:1}55%{transform:translateY(150px) scale(.85);opacity:1}65%,100%{transform:translateY(160px) scale(.8);opacity:0}}
.lg-art .stamp{animation:pop 6s infinite}@keyframes pop{0%,45%{transform:scale(0)}58%{transform:scale(1.2)}66%,92%{transform:scale(1)}100%{transform:scale(0)}}
.lg-step .wp-block-columns{align-items:center;gap:56px;margin:0 0 64px}.lg-step:last-child .wp-block-columns{margin-bottom:0}.lg-step h3{font-size:clamp(1.5rem,3vw,2rem);margin:0 0 10px}.lg-step p{margin:0}
.lg-step .lg-n{font-family:var(--wp--preset--font-family--sans);font-size:.95rem;font-weight:700;color:var(--wp--preset--color--accent);margin-bottom:6px}
.lg-step.flip .wp-block-columns{flex-direction:row-reverse}
.js .lg-ill .draw{stroke-dasharray:80;stroke-dashoffset:80}.lg-ill.is-in .draw{animation:draw .9s .3s ease forwards}@keyframes draw{to{stroke-dashoffset:0}}
.js .lg-ill .bar,.js .lg-ill .pop{transform-box:fill-box;transform-origin:bottom;transform:scale(1,.15)}.js .lg-ill .pop{transform-origin:center;transform:scale(0)}
.lg-ill.is-in .bar{animation:grow .8s ease forwards}.lg-ill.is-in .b1{animation-delay:.15s}.lg-ill.is-in .b2{animation-delay:.3s}.lg-ill.is-in .b3{animation-delay:.45s}
.lg-ill.is-in .pop{animation:pop2 .5s .4s ease forwards}@keyframes grow{to{transform:scale(1)}}@keyframes pop2{60%{transform:scale(1.2)}to{transform:scale(1)}}
.lg-flow .wire{stroke-dasharray:6 8;animation:dash 1.2s linear infinite}@keyframes dash{to{stroke-dashoffset:-28}}
.lg-dark .wp-block-columns{align-items:center;gap:56px}.lg-dark p{margin:0 0 22px}
.lg-nums .lg-num{font-family:var(--wp--preset--font-family--serif);font-size:clamp(2.4rem,5vw,3.6rem);line-height:1;margin:0 0 6px;color:var(--wp--preset--color--accent)}.lg-nums p{margin:0}
.lg-four{flex-wrap:wrap}.lg-four .wp-block-column{flex-basis:calc(25% - 24px)}
@media(max-width:781px){.lg-step.flip .wp-block-columns{flex-direction:column}.lg-step .wp-block-columns{gap:24px;margin-bottom:48px}}
@media(prefers-reduced-motion:reduce){.lg-art .doc{animation:none;opacity:1;transform:translateY(70px)}.lg-art .stamp,.lg-flow .wire{animation:none}.lg-ill *{animation:none!important;stroke-dashoffset:0!important;transform:none!important}}

/* brand */
.lg-step .lg-n{color:var(--wp--preset--color--magenta)}.lg-cta{background:var(--wp--preset--color--magenta)}.lg-cta .wp-block-button__link{color:var(--wp--preset--color--ink)}.lg-trust .wp-block-column{border-left-color:var(--wp--preset--color--magenta)}.lg-logo{height:42px}

/* v2.1 */
.lg-lead2{max-width:46em;color:var(--wp--preset--color--muted);font-size:1.15rem;margin:0 0 20px}
.lg-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 56px}
.lg-chips span{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;background:var(--wp--preset--color--accent-soft);color:var(--wp--preset--color--ink);font-weight:600;font-size:.95rem}
.lg-chips span:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--wp--preset--color--magenta)}

/* v2.2 podstranky */
.lg-subhero{background:var(--wp--preset--color--accent-soft);padding-block:clamp(40px,6vw,80px)}
.lg-subhero h1{font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.12;letter-spacing:-.02em;margin:0 0 16px;max-width:19em}
.lg-subhero .lg-lead{margin:0;max-width:40em}.lg-subhero .lg-chips{margin:26px 0 0}
.lg-subhero .lg-chips span{background:#fff}
.lg-ctr{align-items:center;gap:clamp(28px,5vw,64px)}
.lg-ctr h2{margin:0 0 16px}.lg-ctr p{margin:0 0 14px}
.lg-step .lg-checks{margin:14px 0 0}.lg-step .lg-checks li{font-size:1rem;margin:6px 0}
.lg-step .lg-checks li:before{width:18px;height:18px;background-size:11px}
.lg-ctr .lg-n{font-family:var(--wp--preset--font-family--sans);font-size:.95rem;font-weight:700;color:var(--wp--preset--color--magenta);margin:0 0 6px}
