/* Układ aktualności z docs/projekt/aktualnosci.html. */
.P .news-page h1{font-family:Archivo,"Helvetica Neue",Arial,sans-serif;font-weight:800;font-stretch:106%;letter-spacing:-.025em;overflow-wrap:anywhere}
.P .news-page .narrow{max-width:960px}
.P .news-page h2{line-height:1.55}
.P .news-page .meta{margin-bottom:0}
/* ---------- zdjęcia i małe znaki kategorii ---------- */
.P .news-page .fr{display:block;aspect-ratio:4/3;overflow:hidden;background:#F7F4EC}
.P .news-page .fr img{display:block;width:100%;height:100%;object-fit:cover}
.P .news-page .entry-meta{display:flex;align-items:center;gap:16px}
.P .news-page .entry-meta>span:last-child{min-width:0;overflow-wrap:anywhere}
.P .news-page .category-icon{flex:0 0 64px;width:64px;height:64px;display:flex;align-items:center;justify-content:center}
.P .news-page .category-icon svg{width:100%;height:100%;fill:none;stroke:#8A6433;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.P .news-page .category-icon .bf{fill:#EEE3CF}
.P .news-page .category-icon .ray{stroke-width:2.2}

/* ---------- lista ---------- */
.P .news-page .n-hero{padding:clamp(40px,6vw,88px) 0 clamp(28px,3vw,44px)}
.P .news-page .n-hero .wrap{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:20px 48px}
.P .news-page h1{font-size:clamp(48px,6.4vw,104px);line-height:.96}
.P .news-page .lead{font-size:clamp(20px,1.7vw,24px);line-height:1.5;margin-top:22px;max-width:42ch}
.P .news-page .filters{display:flex;flex-wrap:wrap;gap:4px 28px;border-top:1.5px solid var(--li);border-bottom:1.5px solid var(--li);padding:0 clamp(20px,4vw,56px)}
.P .news-page .filters-in{max-width:1360px;margin:0 auto;display:flex;flex-wrap:wrap;gap:0 28px;width:100%;padding:0 clamp(20px,4vw,56px)}
.P .news-page .filters a{padding:16px 0 13px;font-weight:700;font-size:17px;border-bottom:3px solid transparent;color:var(--mu)}
.P .news-page .filters a:hover{color:var(--fg)}
.P .news-page .filters a[aria-current="page"]{color:var(--fg);border-color:var(--ac)}
.P .news-page .items{padding:clamp(28px,3vw,48px) 0 clamp(32px,4vw,48px)}
.P .news-page .item{display:grid;grid-template-columns:minmax(260px,5fr) 7fr;gap:clamp(24px,4vw,72px);align-items:center;padding:clamp(28px,3vw,44px) 0;border-bottom:1.5px solid var(--li)}
.P .news-page .item:first-child{padding-top:0}
.P .news-page .items>.item:last-of-type{padding-bottom:0;border-bottom:0}
.P .news-page .item .fr{cursor:pointer}
.P .news-page .item[data-has-photo="false"]{grid-template-columns:minmax(0,1fr)}
.P .news-page .item[data-has-photo="false"] .ex{max-width:none}
.P .news-page .items>.item[data-has-photo="false"]>div{padding-inline:clamp(20px,4vw,56px)}
.P .news-page .item :is(h2,h3){font-size:clamp(30px,3.2vw,52px);line-height:1.04}
.P .news-page .item :is(h2,h3) a{text-align:left}
.P .news-page .item :is(h2,h3) a:hover{text-decoration:underline;text-decoration-color:var(--ac);text-decoration-thickness:3px;text-underline-offset:8px}
.P .news-page .meta{margin-top:12px;color:var(--ac);font-weight:700;font-size:16px}
.P .news-page .item .ex{margin-top:16px;max-width:54ch}
.P .news-page .links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:22px}
.P .news-page .empty{padding:40px 0;color:var(--mu)}
.P .news-page .fb{background:var(--so);padding:clamp(40px,5vw,64px) 0}
.P .news-page .fb .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 40px}
.P .news-page .fb h2{font-size:clamp(24px,2.2vw,34px)}
.P .news-page .fb p{color:var(--mu);margin-top:6px}

/* ---------- pojedyncza aktualność ---------- */
.P .news-page .post{padding:clamp(28px,4vw,56px) 0 clamp(32px,4vw,48px)}
.P .news-page .back{display:inline-block;margin-bottom:clamp(24px,3vw,40px)}
.P .news-page .post h1{font-size:clamp(40px,5.2vw,84px);line-height:1}
.P .news-page .post .meta{font-size:18px;margin-top:16px}
.P .news-page .post .news-cover{margin-top:clamp(28px,3.4vw,48px)}
.P .news-page .post .news-main-photo{display:block;width:fit-content;max-width:100%;margin-inline:auto;padding:0;border:0;background:transparent;border-radius:0}
.P .news-page .post .news-main-photo img{display:block;width:auto;height:auto;aspect-ratio:auto;max-width:100%;max-height:min(70vh,720px);object-fit:contain;background:transparent}
.P .news-page .body{margin-top:clamp(28px,3.4vw,48px)}
.P .news-page .body p{font-size:clamp(19px,1.5vw,21px);line-height:1.65;max-width:62ch}
.P .news-page .body p+p{margin-top:14px}
.P .news-page .gal{margin-top:clamp(40px,5vw,64px)}
.P .news-page .gal h2{font-size:clamp(26px,2.4vw,36px);margin-bottom:18px}
.P .news-page .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(8px,1vw,14px)}
.P .news-page .gal .note{margin-top:14px;font-size:16px;color:var(--mu)}
.P .news-page .post .links{margin-top:28px}
.P .news-page .more{background:var(--so);padding:clamp(48px,6vw,88px) 0}
.P .news-page .more>.wrap>h2{font-size:clamp(28px,2.6vw,40px);line-height:1.15;margin-bottom:clamp(20px,2.4vw,32px)}
.P .news-page .more .item{border-bottom:0;padding:0}
.P .news-page .more .item h3{font-size:clamp(24px,2.2vw,34px);line-height:1.12}


.P .news-page .filters a{display:inline-block;text-decoration:none}
.P .news-page .item :is(h2,h3) a{text-decoration:none}
.P .news-page .item>div{min-width:0;overflow-wrap:anywhere}
.P .news-page .gallery-photo{display:block;aspect-ratio:4/3;overflow:hidden;padding:0;border:0;border-radius:0;background:#F7F4EC}
.P .news-page .gallery-photo img{width:100%;height:100%;object-fit:cover}
.P .news-page .more .item+.item{margin-top:clamp(24px,3vw,40px);padding-top:clamp(24px,3vw,40px);border-top:1.5px solid var(--li)}
.P .news-page .pagination{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding-top:32px}
.P .news-page .pagination a,.P .news-page .pagination span{min-height:44px;display:inline-flex;align-items:center}
.P .news-page .pagination [aria-current]{font-weight:800;text-decoration:underline;text-decoration-color:var(--ac);text-underline-offset:5px}
@media(max-width:860px){.P .news-page .item{grid-template-columns:1fr}.P .news-page .item:first-child{padding-top:0}.P .news-page .grid{grid-template-columns:1fr 1fr}}
@media(max-width:860px){
 .P .news-page .items>.item>div,.P .news-page .items>.pagination,.P .news-page .items>.empty{padding-inline:clamp(20px,4vw,56px)}
}
/* Przy 320 px całe słowa tytułów mieszczą się w kolumnie. */
@media(max-width:640px){.P .news-page h1,.P .news-page .post h1{font-size:clamp(30px,8vw,48px);line-height:1.06;overflow-wrap:normal}}
