/*
Theme Name: Dobry Informator
Version: 1.1
Description: Dynamiczny magazyn internetowy Dobry Informator.
Requires PHP: 7.4
Text Domain: dobry-informator
*/
*{box-sizing:border-box}body{margin:0;background:#faf8ef;color:#263c2c;font:16px/1.6 system-ui,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#487443}img{max-width:100%;height:auto}header,footer{background:#294b35;color:white}header{border-bottom:6px solid #a7bc91} .wrap{max-width:1440px;margin:auto;padding:24px}.top{display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{width:270px;display:block}.nav{display:flex;gap:20px;flex-wrap:wrap;list-style:none;padding:0;margin:0;font-weight:650}.layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:28px}.hero{display:grid;grid-template-columns:1.9fr 1fr;grid-template-rows:190px 190px;gap:14px}.feature{position:relative;overflow:hidden;border-radius:12px;background:#16364d;color:white;display:flex;align-items:flex-end}.feature:first-child{grid-row:span 2}.feature img{position:absolute;width:100%;height:100%;object-fit:cover}.feature:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 20%,#071725e8)}.feature .copy{position:relative;z-index:1;padding:18px;width:100%}.feature h2{font-size:20px;line-height:1.2;margin:8px 0}.feature:first-child h2{font-size:32px}.tag{display:inline-block;background:#dce8a9;color:#294b35;border-radius:5px;padding:4px 9px;font-size:12px;font-weight:800;text-transform:uppercase}.date{font-size:12px;opacity:.85}.section-title{display:flex;align-items:center;gap:15px;margin:30px 0 18px;font-size:25px}.section-title:after{content:'';height:2px;background:#d5dfce;flex:1}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.latest{grid-template-columns:repeat(4,minmax(0,1fr))}.card img,.placeholder{width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:9px;background:#dce9ee}.card h3{font-size:16px;line-height:1.35;margin:6px 0}.panel{border:1px solid #d4e0e8;border-radius:12px;padding:16px;margin-bottom:16px}.panel h2{font-size:20px;margin:0 0 12px}.searchpanel{background:#294b35;color:white}.searchform{display:flex;gap:4px}.searchform input{min-width:0;width:100%;padding:10px;border:1px solid #ccdbe3;border-radius:6px}.searchform button,.btn{background:#dce8a9;color:#294b35;border:0;border-radius:7px;padding:10px;font-weight:700;cursor:pointer}.catrow{display:flex;justify-content:space-between;border-bottom:1px solid #e3ebef;padding:8px 0}.count{background:#e8eef2;border-radius:20px;padding:0 9px;font-size:12px;color:#294b35}.mini{display:flex;gap:10px;margin:12px 0;align-items:center;font-size:13px;font-weight:700;line-height:1.3}.mini img{width:80px;height:58px;object-fit:cover;border-radius:6px}.catgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.catbox{border:1px solid #d4e0e8;border-radius:12px;padding:15px;font-weight:700}.footgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}.footgrid ul{list-style:none;padding:0}.copyright{border-top:1px solid #24718b;padding-top:16px;font-size:13px}.article h1{font-size:38px;line-height:1.2}.article .cover{width:100%;border-radius:12px}.content{overflow-wrap:anywhere}.content a{color:#487443;text-decoration:underline}.pagination{margin:25px 0}.more{font-size:13px;color:#487443}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px}.sectionhead .section-title{flex:1}.feature:hover{color:white}.feature:hover img{filter:brightness(.9)}@media(max-width:1000px){.layout{grid-template-columns:1fr}.top{flex-wrap:wrap}.latest{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.wrap{padding:15px}.hero{grid-template-columns:1fr;grid-template-rows:260px 180px 180px}.feature:first-child{grid-row:auto}.feature:first-child h2{font-size:24px}.cards,.catgrid{grid-template-columns:repeat(2,1fr)}.footgrid{grid-template-columns:1fr}.nav{gap:10px;font-size:13px}.article h1{font-size:28px}.logo{width:240px}}

/* Homepage sections */
.ps-section-icon{color:#487443;font-size:32px;line-height:1}.layout main{min-width:0}.layout .latest{padding-bottom:20px;border-bottom:1px solid #d4e0e8}.layout .catgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.layout .catbox{display:flex;align-items:center;gap:10px;padding:12px 10px;min-width:0;background:#f5f7ed;transition:background .2s,border-color .2s}.catbox:hover{background:#e6eedc;border-color:#7e9b65}.ps-cat-icon{width:32px;height:32px;flex:0 0 32px}.catlabel{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:14px;line-height:1.3;overflow-wrap:anywhere}.catlabel .count{font-weight:500;white-space:normal;font-size:11px;padding:3px 8px}.sectionhead .more{white-space:nowrap}.layout .latest .card h3{font-size:14px}.layout .latest .card img{aspect-ratio:1.4}@media(max-width:760px){.layout .catgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.sectionhead .more{white-space:normal}.section-title{font-size:21px}}

.ps-side-label{display:flex;align-items:center;gap:9px;min-width:0}.ps-side-label .ps-cat-icon{width:20px;height:20px;flex:0 0 20px}.catrow{align-items:center;gap:8px}

.catbox > svg.ps-cat-icon,.ps-side-label > svg.ps-cat-icon{display:block!important;visibility:visible!important;opacity:1!important;overflow:visible;max-width:none}.catbox > svg.ps-cat-icon{width:32px!important;height:32px!important;flex:0 0 32px}.ps-side-label > svg.ps-cat-icon{width:20px!important;height:20px!important;flex:0 0 20px}

.catbox .ps-cat-icon,.catrow .ps-cat-icon{display:block!important;min-width:20px;max-width:none!important;visibility:visible!important;opacity:1!important}.catbox .ps-cat-icon{min-width:32px}.catrow .count{flex-shrink:0}

header{background:#faf8ef;color:#294b35;border-bottom:1px solid #d5dfce}header .top{flex-wrap:wrap}.nav{font-size:14px}.home-wide{display:block;max-width:1320px}.welcome{background:linear-gradient(100deg,#e6edcf,#f6f1dc 65%,#b9cea1);padding:45px 6%;border-radius:4px;border-bottom:5px solid #819e68}.welcome>div{max-width:700px}.welcome h1{font:700 clamp(28px,4vw,48px)/1.15 Georgia,serif;margin:0 0 14px}.welcome .searchform{max-width:520px}.home-wide .hero{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:24px}.home-wide .feature,.home-wide .feature:first-child{grid-row:auto;display:flex;flex-direction:column;align-items:stretch;background:#fff;color:#294b35;border-radius:4px;border:1px solid #d5dfce}.home-wide .feature img{position:static;aspect-ratio:1.7;height:auto;object-fit:cover}.home-wide .feature:after{display:none}.home-wide .feature h2,.home-wide .feature:first-child h2{font:700 23px/1.25 Georgia,serif}.home-wide .feature:hover{color:#487443}.home-wide .catgrid{grid-template-columns:repeat(8,minmax(0,1fr))}.home-wide .catbox{flex-direction:column;text-align:center;border-radius:4px}.home-wide .catlabel{align-items:center}.section-title{font-family:Georgia,serif}.card img,.placeholder{border-radius:4px}.home-wide .cards:not(.latest){background:#edf1e3;padding:20px}.footgrid .logo{filter:brightness(0) invert(1)}footer{background:#294b35;color:#fff}.searchform button{background:#487443;color:white}.custom-logo{max-width:270px;height:auto}@media(max-width:1000px){.home-wide .catgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.home-wide .hero{grid-template-columns:1fr}.home-wide .catgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{padding:25px 15px}.home-wide .cards:not(.latest){padding:10px}}
/* Approved board: landscape masthead, category strip directly below. */
body{background:#f8f8f2;color:#202b22}header{background:#fff;border-bottom:1px solid #dce3d8}header .top{padding-top:18px;padding-bottom:12px;gap:12px 30px}.top .nav{font-weight:700;color:#17261b}.home-wide{padding-top:16px}.welcome{position:relative;isolation:isolate;overflow:hidden;min-height:340px;display:flex;align-items:center;padding:42px 5%;border:0;border-radius:9px;background:#345a32 url('landscape.jpg') right center/cover no-repeat;color:white}.welcome:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,44,25,.94),rgba(19,62,31,.76) 32%,rgba(24,64,32,.18) 65%,transparent)}.welcome h1{font:800 clamp(30px,4vw,54px)/1.12 system-ui,Arial,sans-serif;max-width:680px;text-shadow:0 2px 4px #18341b}.welcome p{display:none}.welcome-cta{display:inline-block;background:#d9ed32;color:#17250c;padding:12px 22px;border-radius:6px;font-weight:800;margin-top:10px}.welcome-cta:hover{background:#e6f75c;color:#17250c}.home-wide .catgrid{margin:14px 0 30px;gap:10px}.home-wide .catbox{background:#fff;border:1px solid #e1e7dc;box-shadow:0 2px 5px #253b2010;padding:16px 8px;border-radius:8px;justify-content:center}.home-wide .catbox svg{fill:#26743a;stroke:#26743a}.home-wide .catlabel{color:#202b22;font-weight:750}.home-wide .feature h2,.home-wide .feature:first-child h2,.section-title{font-family:system-ui,Arial,sans-serif}.home-wide .cards:not(.latest){background:transparent;padding:0}.copyright{border-color:#65806a}.footgrid .logo{filter:brightness(0) invert(1)}@media(max-width:600px){.welcome{min-height:260px;padding:24px 18px}.welcome h1{font-size:30px}.home-wide .catgrid{margin-bottom:20px}}
