/*
Theme Name: ES Finanse i Audyt
Description: Responsywny motyw do publikacji dokumentów.
Version: 1.2.0
License: GPL-2.0-or-later
Text Domain: esfa
*/
:root{--navy:#172640;--red:#ed1b2e;--ink:#182235;--muted:#667085;--line:#e6e9ef;--surface:#f7f8fb;--radius:16px}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;overflow-wrap:anywhere}img,svg,video,iframe{display:block;max-width:100%;height:auto}a{color:var(--navy);text-underline-offset:3px}a:hover{color:var(--red)}.wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}.header-row{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{flex:0 1 430px;min-width:0}.brand img{width:100%;max-width:430px}.nav{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:clamp(12px,2vw,24px)}.nav a{font-size:.95rem;font-weight:750;text-decoration:none;white-space:nowrap}.hero{padding:clamp(58px,9vw,104px) 0 clamp(52px,7vw,78px);background:linear-gradient(135deg,#fff 0%,#f7f8fb 72%,#fff0f2 100%)}.eyebrow{color:var(--red);font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.hero h1{max-width:850px;margin:14px 0 18px;color:var(--navy);font-size:clamp(2.25rem,7vw,5.2rem);line-height:1.03;letter-spacing:-.045em}.hero p{max-width:720px;margin:0;color:var(--muted);font-size:clamp(1rem,2.2vw,1.18rem)}.button,.wp-block-file__button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin-top:20px;padding:12px 20px;border-radius:999px;background:var(--red);color:#fff!important;font-weight:800;text-align:center;text-decoration:none}.section{padding:clamp(50px,7vw,76px) 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}.section h1,.section h2{margin:0;color:var(--navy);font-size:clamp(2rem,4vw,2.8rem);line-height:1.12}.section-head p{max-width:540px;margin:0;color:var(--muted)}.doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.doc-card{display:flex;min-width:0;flex-direction:column;padding:clamp(20px,3vw,26px);border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 12px 34px rgba(23,38,64,.07)}.meta{font-size:.82rem;color:var(--muted)}.doc-card h3{margin:8px 0 12px;color:var(--navy);font-size:1.2rem;line-height:1.28}.doc-card p{margin:0 0 18px;color:var(--muted)}.doc-card a{margin-top:auto;font-weight:800}.content{width:min(820px,calc(100% - 40px));margin-inline:auto;padding:clamp(48px,7vw,72px) 0}.content h1{margin:.25em 0 .65em;color:var(--navy);font-size:clamp(2rem,6vw,3.5rem);line-height:1.08}.content h2,.content h3{color:var(--navy);line-height:1.2}.content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.content th,.content td{padding:10px;border:1px solid var(--line)}.content pre{max-width:100%;overflow:auto;padding:16px;background:var(--surface)}.wp-block-file{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.wp-block-file .wp-block-file__button{margin:0}.empty{grid-column:1/-1;padding:34px;border-radius:var(--radius);background:var(--surface);color:var(--muted)}.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:32px}.pagination .page-numbers{display:inline-flex;min-width:42px;min-height:42px;align-items:center;justify-content:center;padding:8px 12px;border:1px solid var(--line);border-radius:8px;text-decoration:none}.pagination .current{background:var(--navy);color:#fff}.site-footer{position:relative;margin-top:auto;padding:28px 0;background:var(--navy);color:#dce3ef;border-top:4px solid var(--red)}.site-footer::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(255,255,255,.035),transparent 48%);pointer-events:none}.footer-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px}.footer-brand{display:flex;align-items:center;gap:14px;min-width:0}.footer-mark{width:38px;height:38px;flex:0 0 38px;object-fit:contain}.footer-name{margin:0;color:#fff;font-size:1rem;font-weight:800;line-height:1.25}.footer-copy{margin:3px 0 0;color:#aeb9cc;font-size:.84rem}.footer-links{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}.footer-links a{color:#edf2f9;font-size:.9rem;font-weight:650;text-decoration:none}.footer-links a:hover{color:#fff;text-decoration:underline}.footer-note{margin:0;color:#aeb9cc;font-size:.82rem;text-align:right}@media(max-width:900px){.doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{flex-basis:360px}.section-head{align-items:flex-start;flex-direction:column}}@media(max-width:680px){.wrap,.content{width:min(100% - 28px,1120px)}.site-header{position:static}.header-row{min-height:auto;padding:16px 0;align-items:flex-start;flex-direction:column}.brand{width:min(100%,430px);flex-basis:auto}.nav{width:100%;justify-content:flex-start;gap:8px}.nav a{display:inline-flex;min-height:42px;align-items:center;padding:8px 11px;border:1px solid var(--line);border-radius:999px}.hero h1{font-size:clamp(2.15rem,12vw,3.7rem)}.doc-grid{grid-template-columns:1fr}.footer-row{align-items:flex-start;flex-direction:column}.footer-links{justify-content:flex-start}.footer-note{text-align:left}.wp-block-file{align-items:stretch;flex-direction:column}.wp-block-file .wp-block-file__button{width:100%}}@media(max-width:380px){.wrap,.content{width:min(100% - 22px,1120px)}.nav{display:grid;grid-template-columns:1fr}.nav a{justify-content:center;width:100%}.hero h1{font-size:2.05rem}.button{width:100%}.doc-card{padding:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
