/* Aktualności: kafelki inspirowane układem archiwum Wix; nie zmienia innych działów */
.os-news-page .os-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}
.os-news-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e3e8df;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(12,52,34,.045);transition:transform .15s,box-shadow .15s}
.os-news-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(12,52,34,.10)}
.os-news-image{display:block;height:215px;background:#e9f2e9;overflow:hidden}
.os-news-image img{display:block;width:100%;height:100%;object-fit:cover}
.os-news-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:75px;color:#5a9a60;background:linear-gradient(145deg,#edf5eb,#d6e8d7)}
.os-news-body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.os-news-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#547062;font-size:12px;font-weight:600;letter-spacing:.02em}
.os-news-meta span{color:#3a782d}
.os-news-body h2{font-family:Quicksand,Nunito,Arial,sans-serif;font-size:21px;line-height:1.3;margin:13px 0 11px;color:#083b2b}
.os-news-body h2 a:hover,.os-news-more:hover{text-decoration:underline}
.os-news-body p{font-size:14px!important;line-height:1.55!important;color:#58685f!important;margin:0 0 20px!important;max-width:none!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.os-news-more{margin-top:auto;color:#286c30;font-size:14px;font-weight:700}
@media(max-width:950px){.os-news-page .os-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.os-news-page .os-news-grid{grid-template-columns:1fr;gap:17px}.os-news-image{height:210px}}

/* v3.0: autor i delikatnie mniejsze teksty aktualności */
.os-news-author{font-size:12px;line-height:1.4;color:#587064;margin:-3px 0 10px;font-weight:600}
.os-news-body p{font-size:13px!important;line-height:1.5!important}
.os-article-author{font-size:13px;color:#587064;margin:4px 0 16px;font-weight:600}
.os-article-page > p{font-size:16px!important;line-height:1.65!important}

.os-article-photo{display:block;max-width:280px;width:100%;padding:0;margin:16px 0 22px;border:0;background:transparent;cursor:zoom-in;text-align:left}
.os-article-photo img{display:block;width:100%;height:150px;object-fit:contain;border-radius:12px;background:#f1f5ef}
.os-photo-open{overflow:hidden}
.os-photo-lightbox[hidden]{display:none}
.os-photo-lightbox{position:fixed;z-index:10000;inset:0;background:rgba(8,23,18,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:55px 22px 24px}
.os-photo-full{display:block;max-width:min(1100px,96vw);max-height:calc(100vh - 140px);width:auto;height:auto;object-fit:contain;border-radius:8px}
.os-photo-caption{color:#fff;text-align:center;font:600 15px Nunito,Arial,sans-serif}
.os-photo-close{position:absolute;right:22px;top:14px;border:1px solid #fff7;border-radius:50%;width:42px;height:42px;color:#fff;background:#19352c;font-size:30px;line-height:1;cursor:pointer}
@media(max-width:620px){.os-news-image,.os-news-placeholder{height:145px}.os-news-body{padding:15px 17px 18px}}

/* v3.2 – dotyczy tylko pełnego artykułu; lista kafelków bez zmian */
main > section.subpage.os-article-page{max-width:none;width:calc(100% - 80px);margin-left:auto;margin-right:auto}
.os-article-page .os-article-text{width:100%;max-width:none;font-size:16px;line-height:1.6;color:#43534e}
.os-article-page .os-article-text p{max-width:none!important;width:100%;font-size:16px!important;line-height:1.6!important;margin:0 0 14px!important;color:#43534e}
.os-article-page .os-article-text p:last-child{margin-bottom:22px!important}
@media(max-width:780px){main > section.subpage.os-article-page{width:calc(100% - 28px)}.os-article-page .os-article-text p{font-size:15px!important;line-height:1.55!important}}

/* Wpisy tworzone w redaktorze blokowym */
.os-article-text .os-editor-figure{margin:16px 0 22px;width:var(--img-width);max-width:100%}
.os-editor-figure button{border:0;background:transparent;padding:0;cursor:zoom-in;display:block;width:100%}
.os-editor-figure img{width:100%;height:auto;max-height:480px;object-fit:contain;border-radius:12px;display:block}
.os-editor-figure figcaption{font-size:13px;color:#617166;margin-top:6px}
.os-article-text h2{font-size:24px;margin:22px 0 10px}
@media(max-width:650px){.os-article-text .os-editor-figure{width:100%}}

/* Przywrócony wygląd listy aktualności sprzed v3.1 */
.os-news-page .os-news-image,.os-news-page .os-news-placeholder{height:215px}
@media(max-width:620px){.os-news-page .os-news-image,.os-news-page .os-news-placeholder{height:210px}}
