/*
Theme Name: Hortipak DI-ZET 2.0
Theme URI: https://hortipak.pl/
Author: DI-ZET
Description: Lekki autorski motyw HortiPak / DI-ZET, zachowujący istniejące strony i adresy URL.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: hortipak-dizet
*/
:root{--hp-green:#164335;--hp-deep:#102a26;--hp-mint:#e7f3e6;--hp-lime:#bddb7c;--hp-surface:#f7f8f4;--hp-white:#fff;--hp-border:#dce5dc;--hp-ink:#17342e;--hp-muted:#5d746b;--hp-radius:20px;--hp-shadow:0 18px 50px rgba(18,62,48,.1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--hp-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.62;font-size:16px}img,iframe{max-width:100%}img{height:auto}a{color:var(--hp-green)}a:hover{text-decoration-color:var(--hp-lime)}.hp-wrap{width:min(1220px,calc(100% - 40px));margin:auto}.hp-skip{position:absolute;top:-100px;left:20px;background:#fff;padding:12px;z-index:999}.hp-skip:focus{top:0}.hp-top{background:var(--hp-deep);color:#eef7e8;font-size:12px}.hp-top .hp-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0}.hp-top a{color:inherit}.hp-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);box-shadow:0 3px 18px #0b352213}.hp-header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px}.hp-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.hp-brand-symbol{display:grid;place-items:center;background:var(--hp-green);color:#e6f5c6;border-radius:15px;width:48px;height:48px;font-size:28px}.hp-brand strong{display:block;color:var(--hp-deep);letter-spacing:-.045em;font-size:26px;line-height:1}.hp-brand small{display:block;color:var(--hp-muted);letter-spacing:.01em;font-size:11px;margin-top:5px}.hp-nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.hp-nav a{text-decoration:none;color:var(--hp-ink);font-size:13px;font-weight:700}.hp-nav a:hover{color:#3a7c41}.hp-nav ul{display:flex;list-style:none;gap:18px;margin:0;padding:0;align-items:center}.hp-nav li{position:relative}.hp-nav li ul{display:none;position:absolute;top:100%;left:-15px;width:240px;padding:15px;background:white;box-shadow:var(--hp-shadow);border-radius:12px;z-index:20}.hp-nav li:hover ul,.hp-nav li:focus-within ul{display:block}.hp-nav li ul li{margin:8px 0}.hp-menu-toggle{display:none;cursor:pointer;border:1px solid var(--hp-border);border-radius:12px;padding:9px 13px;background:#fff}.hp-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:100px;padding:13px 21px;background:var(--hp-green);color:#fff!important;text-decoration:none!important;border:2px solid var(--hp-green);font-weight:750;font-size:14px;transition:transform .2s,background .2s;cursor:pointer}.hp-btn:hover{transform:translateY(-2px);background:#245e49}.hp-btn-alt{background:transparent;color:var(--hp-green)!important;border-color:var(--hp-border)}.hp-btn-light{background:var(--hp-lime);color:var(--hp-deep)!important;border-color:var(--hp-lime)}.hp-hero{background:linear-gradient(120deg,#102d27,#164937 62%,#2f6f42);color:white;padding:78px 0 85px;overflow:hidden;position:relative}.hp-hero:after{content:' ';position:absolute;border:80px solid #ffffff07;width:510px;height:510px;border-radius:50%;right:-230px;top:-170px;pointer-events:none}.hp-hero-grid{display:grid;grid-template-columns:1.16fr .84fr;gap:52px;align-items:center}.hp-eyebrow{font-size:12px;letter-spacing:.17em;font-weight:850;text-transform:uppercase;color:var(--hp-lime)}.hp-hero h1{color:white;line-height:1.06;font-size:clamp(35px,5.6vw,66px);letter-spacing:-.055em;margin:15px 0 23px;max-width:800px}.hp-lead{font-size:19px;opacity:.88;max-width:650px}.hp-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.hp-statline{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:#deefe2}.hp-statline span{padding:8px 12px;border:1px solid #ffffff40;border-radius:100px}.hp-hero-photo{aspect-ratio:5/4;border-radius:28px;overflow:hidden;box-shadow:0 28px 72px #030c092c;position:relative;background:linear-gradient(135deg,#387d55,#a2cc88)}.hp-hero-photo img{width:100%;height:100%;object-fit:cover}.hp-hero-placeholder{height:100%;display:grid;align-content:center;padding:42px}.hp-hero-placeholder span{font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:#e5f6d3}.hp-hero-placeholder strong{font-size:clamp(29px,3.6vw,50px);line-height:1.1;letter-spacing:-.04em;margin:16px 0}.hp-hero-placeholder em{font-size:15px;font-style:normal}.hp-section{padding:78px 0}.hp-surface{background:var(--hp-surface)}.hp-section h2{font-size:clamp(30px,3.5vw,47px);line-height:1.15;letter-spacing:-.045em;margin:10px 0 16px}.hp-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.hp-section-head p{max-width:610px;color:var(--hp-muted);margin:0}.hp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hp-grid-4{grid-template-columns:repeat(4,1fr)}.hp-card{background:#fff;border:1px solid var(--hp-border);border-radius:var(--hp-radius);overflow:hidden;transition:transform .2s,box-shadow .2s;height:100%}.hp-card:hover{transform:translateY(-3px);box-shadow:var(--hp-shadow)}.hp-card-photo{height:180px;display:grid;place-items:center;background:linear-gradient(135deg,#e3efe2,#b9d4b4);font-size:51px;overflow:hidden}.hp-card-photo img{width:100%;height:100%;object-fit:cover}.hp-card-body{padding:23px}.hp-card-body h3{margin:0 0 8px;line-height:1.28;font-size:21px;letter-spacing:-.025em}.hp-card-body p{margin:0 0 14px;color:var(--hp-muted);font-size:14px}.hp-card-body a{font-weight:750;text-decoration:none}.hp-utility{background:linear-gradient(135deg,#eff5e6,#dceadb);padding:40px;border-radius:26px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px}.hp-utility h2{margin-top:0}.hp-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.hp-step{padding:22px;border:1px solid var(--hp-border);border-radius:17px;background:#fff}.hp-step b{display:block;color:#54865a;font-size:26px;margin-bottom:7px}.hp-cta{background:var(--hp-green);color:white;padding:55px;border-radius:26px;display:flex;align-items:center;justify-content:space-between;gap:30px}.hp-cta h2{color:white;margin:0 0 9px}.hp-cta p{margin:0;color:#ecf3e8}.hp-article{padding:65px 0 85px}.hp-article h1{font-size:clamp(33px,4.4vw,55px);line-height:1.12;letter-spacing:-.045em}.hp-article-content{max-width:850px;font-size:17px}.hp-article-content h2{font-size:30px;margin-top:38px}.hp-article-content img{border-radius:12px}.hp-article-content iframe{max-width:100%;aspect-ratio:16/9;height:auto}.hp-article-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.hp-article-content th,.hp-article-content td{padding:12px;border:1px solid var(--hp-border)}.hp-breadcrumb{font-size:13px;color:var(--hp-muted)}.hp-breadcrumb a{color:inherit}.hp-footer{background:var(--hp-deep);color:#e9f0e8;padding:60px 0 25px}.hp-footer a{color:#e9f0e8}.hp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px}.hp-footer h3{color:white;margin:0 0 15px}.hp-footer p,.hp-footer li{font-size:13px;line-height:1.8}.hp-footer ul{padding:0;list-style:none}.hp-footer-bottom{border-top:1px solid #ffffff26;margin-top:40px;padding-top:20px;font-size:12px;color:#c8ddcc}.hp-searchform{display:flex;gap:8px}.hp-searchform input{padding:12px 16px;min-width:0;flex:1;border-radius:12px;border:1px solid var(--hp-border)}.hp-searchform button{border:0;border-radius:12px;padding:10px 16px;background:var(--hp-green);color:white;cursor:pointer}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}*:focus-visible{outline:3px solid #c8ec76;outline-offset:3px}.hp-intro{max-width:800px;color:var(--hp-muted)}.hp-related-tags{display:flex;gap:9px;flex-wrap:wrap}.hp-related-tags a{font-size:13px;padding:7px 11px;border-radius:20px;background:var(--hp-mint);text-decoration:none}
@media(max-width:1040px){.hp-nav{gap:12px}.hp-nav ul{gap:12px}.hp-grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.hp-menu-toggle{display:block}.hp-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:20px;box-shadow:var(--hp-shadow)}.hp-nav.hp-open{display:flex;align-items:stretch;flex-direction:column}.hp-nav ul{flex-direction:column;align-items:flex-start}.hp-nav li ul{position:static;display:block;box-shadow:none;padding:7px 0 7px 13px;width:auto}.hp-header-row{min-height:74px}.hp-hero-grid{grid-template-columns:1fr}.hp-hero-photo{max-height:390px}.hp-grid{grid-template-columns:repeat(2,1fr)}.hp-utility{grid-template-columns:1fr}.hp-steps{grid-template-columns:repeat(2,1fr)}.hp-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.hp-wrap{width:min(100% - 30px,1220px)}.hp-section{padding:52px 0}.hp-hero{padding:55px 0}.hp-grid,.hp-grid-4,.hp-steps,.hp-footer-grid{grid-template-columns:1fr}.hp-section-head,.hp-cta{display:block}.hp-cta{padding:30px}.hp-cta .hp-btn{margin-top:22px}.hp-top .hp-wrap{flex-wrap:wrap}.hp-brand strong{font-size:23px}.hp-utility{padding:24px}}

/* Hortipak content hubs 1.2 */
.hp-editorial-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hp-featured-story{padding:25px;border:1px solid #dce5dc;border-radius:18px;background:#fff;display:flex;flex-direction:column;gap:8px}.hp-featured-story small{color:#59816b;text-transform:uppercase;font-weight:750;letter-spacing:.09em}.hp-featured-story h3{margin:0;font-size:19px;line-height:1.3}.hp-featured-story p{font-size:14px;color:#5d746b;flex:1}.hp-featured-story a{font-size:14px;font-weight:750}@media(max-width:820px){.hp-editorial-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.hp-editorial-featured{grid-template-columns:1fr}}

/* Editorial content 1.3 — clearer responsive reading, media and process decisions. */
.hp-editorial{max-width:900px;margin:auto;line-height:1.72;color:#203c2f}
.hp-editorial .hp-ed-lead{padding:25px 29px;border-left:4px solid #4b9167;background:#edf6ed;border-radius:12px;margin:20px 0 27px}
.hp-editorial .hp-ed-lead p:last-child{font-size:1.08rem;line-height:1.7;margin:4px 0}
.hp-editorial .hp-ed-kicker{font-size:.75rem!important;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#39744a}
.hp-ed-toc{display:flex;gap:9px 16px;flex-wrap:wrap;align-items:center;padding:15px 18px;border:1px solid #d8e6dc;border-radius:16px;margin-bottom:28px;font-size:.9rem;background:#fafdfa}
.hp-ed-toc a{color:#1d6a48;white-space:nowrap}
.hp-editorial section,.hp-editorial aside{scroll-margin-top:110px;margin:32px 0}
.hp-editorial h2{font-size:clamp(1.45rem,2.2vw,1.9rem);line-height:1.22;margin:28px 0 14px}
.hp-editorial h3{font-size:1.15rem}
.hp-editorial .hp-ed-steps{padding:0;list-style:none;counter-reset:hps;display:grid;gap:10px}
.hp-editorial .hp-ed-steps li{counter-increment:hps;position:relative;padding:17px 17px 17px 58px;border:1px solid #dae5dd;border-radius:13px;background:#fff}
.hp-editorial .hp-ed-steps li:before{content:counter(hps,decimal-leading-zero);position:absolute;left:13px;top:16px;color:#43805b;font-weight:850}
.hp-ed-table-scroll{overflow-x:auto;max-width:100%}
.hp-ed-table-scroll table{display:table;min-width:530px;width:100%;border-collapse:collapse}
.hp-ed-table-scroll th{width:32%;text-align:left;background:#edf5ef}
.hp-ed-table-scroll td,.hp-ed-table-scroll th{border:1px solid #dae5dd;padding:11px 13px;vertical-align:top}
.hp-ed-media-gallery figure{margin:0}
.hp-ed-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.hp-ed-gallery img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;border:1px solid #d8e6dc;border-radius:14px;background:#fff}
.hp-ed-video{aspect-ratio:16/9;max-width:850px;background:#142e24;border-radius:14px;overflow:hidden}
.hp-ed-video iframe{width:100%;height:100%;aspect-ratio:16/9;border:0}
.hp-ed-faq{display:grid;gap:9px}.hp-ed-faq details{border:1px solid #d4e1d6;border-radius:12px;background:white;padding:15px 18px}
.hp-ed-faq summary{font-weight:700;cursor:pointer}.hp-ed-faq details p{margin-bottom:0}
.hp-ed-note{background:#f0f6ef;border-left:3px solid #5c956d;padding:14px 18px;font-size:.94rem}
.hp-ed-caption,.hp-ed-attribution{font-size:.83rem;color:#52695c}
.hp-ed-links{background:#eff6ee;padding:22px;border-radius:16px}
.hp-ed-links ul{columns:2;padding-left:20px}
.hp-ed-sources li{margin-bottom:9px}
.hp-article-content :where(img,video){max-width:100%;height:auto}
@media(max-width:620px){.hp-ed-toc{gap:8px 12px}.hp-ed-gallery{grid-template-columns:1fr}.hp-ed-links ul{columns:1}.hp-editorial .hp-ed-lead{padding:18px}}
