.blog-logo{height:52px;max-width:95px;object-fit:contain}.blog-nav{gap:22px}.blog-hero{background:radial-gradient(circle at 85% 40%,#32694a,transparent 43%),#123c2b;color:white;padding:80px 0 72px}.blog-hero h1{font-size:clamp(36px,5vw,64px);max-width:960px;margin:4px 0 18px;letter-spacing:-.045em}.blog-hero p:not(.eyebrow){font-size:16px;color:#c8dfcc;max-width:700px;line-height:1.7}.blog-back{display:inline-block;margin-top:17px;color:#d4eaa8;font-weight:800;font-size:13px}.blog-container{min-height:380px}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:26px}.blog-card{background:white;overflow:hidden;border:1px solid #e1eadf;border-radius:16px;box-shadow:0 9px 30px #163a2210}.blog-cover{display:block;width:100%;height:215px;object-fit:cover;background:linear-gradient(135deg,#e8f2de,#cee1c2)}.blog-cover.placeholder{display:grid;place-items:center;font-size:23px;font-weight:800;color:#497553;letter-spacing:.07em}.blog-card-body{padding:24px}.blog-card h2{font-size:23px;line-height:1.2;margin:10px 0 14px}.blog-card p{font-size:13px;color:#6f8273;line-height:1.75;min-height:55px}.blog-date{font-size:12px;color:#6e9a76;font-weight:800;letter-spacing:.05em}.read-more{color:#216840;font-weight:800;font-size:13px}.read-more:hover{text-decoration:underline}.blog-empty{padding:65px 20px;background:white;border:1px dashed #bcd1b5;border-radius:17px;text-align:center;margin-top:24px}.blog-empty h2{font-size:25px}.blog-empty p{color:#6c816f;font-size:14px}.blog-article{max-width:840px;margin:auto;background:white;padding:clamp(25px,4vw,55px);border-radius:19px;box-shadow:0 12px 34px #193b2510}.article-main-image{width:100%;max-height:430px;object-fit:cover;border-radius:13px;margin:15px 0 30px}.article-content{font-size:16px;line-height:1.9;color:#435648;white-space:normal}.article-content p{margin:0 0 25px}.blog-article .read-more{display:inline-block;margin-top:35px}@media(max-width:850px){.blog-grid{grid-template-columns:repeat(2,1fr)}.blog-nav{display:none}}@media(max-width:550px){.blog-grid{grid-template-columns:1fr}.blog-hero{padding:55px 0}.blog-hero h1{font-size:36px}}

/* Blog / Galeria zdjęć AGRIM-TEC v4 */
.article-gallery-section{margin-top:34px;border-top:1px solid #e4ece2;padding-top:24px}
.article-gallery-section h2,.public-gallery-section h2{color:#153c2d;font-size:clamp(22px,2.6vw,30px);letter-spacing:-.025em;margin:3px 0 20px}
.public-gallery-section{margin-top:60px;padding-top:34px;border-top:1px solid #dbe8d9}
.gallery-section-top{margin-bottom:20px}
.photo-gallery-public{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.gallery-tile{border:0;padding:0;border-radius:12px;overflow:hidden;cursor:zoom-in;background:#dce8da;aspect-ratio:4/3;box-shadow:0 8px 24px #163b2514;transition:transform .2s,box-shadow .2s}
.gallery-tile:hover{transform:translateY(-3px);box-shadow:0 15px 34px #163b252a}
.gallery-tile:focus-visible{outline:3px solid #61a474;outline-offset:4px}
.gallery-tile img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none}
.blog-lightbox[hidden]{display:none!important}
.blog-lightbox{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:30px;background:rgba(3,17,11,.95)}
.lightbox-scrim{position:absolute;inset:0}
.lightbox-frame{position:relative;max-width:min(95vw,1480px);width:100%;height:min(92vh,1100px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.lightbox-frame img{max-width:100%;max-height:calc(100% - 77px);object-fit:contain;width:auto;height:auto;border-radius:8px;user-select:none;-webkit-user-drag:none}
.lightbox-close{position:absolute;z-index:2;right:0;top:0;background:#ffffffed;color:#163b2a;font-size:30px;border:0;border-radius:50%;width:43px;height:43px;cursor:pointer}
.lightbox-bar{display:flex;align-items:center;justify-content:center;gap:16px;color:#fff;font-weight:700;font-size:13px;width:100%;text-align:center}
.lightbox-bar button{background:#ffffff20;color:white;border:1px solid #ffffff40;border-radius:10px;min-width:47px;min-height:38px;font-size:21px;cursor:pointer}
#lightboxCaption{max-width:min(60vw,500px);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
#lightboxCounter{color:#c5e1c6;white-space:nowrap}
body.lightbox-open{overflow:hidden}
@media(max-width:680px){.photo-gallery-public{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.blog-lightbox{padding:12px}.lightbox-frame{height:95vh}.lightbox-bar{gap:8px;font-size:12px}}
