/*
Theme Name: OSP Kamienica — Nowa odsłona
Theme URI: https://osp-kamienica.pl/
Author: Foxstudio / koncepcja dla OSP w Bielsku-Białej Kamienicy
Description: Minimalistyczny responsywny motyw WordPress dla jednostki OSP — działalność, użyczenie sal, nabór, aktualności, galeria i kontakt.
Version: 2.12.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: osp-kamienica
License: GPL-2.0-or-later
*/
:root{--ink:#202526;--soft:#5b6163;--quiet:#858b8c;--line:#e1e4e3;--warm:#f6f6f3;--paper:#fff;--red:#c43f38;--red-dark:#a52f2b;--muted-bg:#f1f2ef;--container:1500px;--gutter:48px;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:104px}
body{margin:0;color:var(--ink);background:var(--paper);font:400 16px/1.6 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}
h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{line-height:1.12;letter-spacing:-.045em;font-weight:650}h2 em,h1 em{font-style:normal}
p{margin-bottom:1em}::selection{background:#ffd9d6;color:var(--ink)}:focus-visible{outline:2px solid var(--red);outline-offset:4px}
.container{width:min(var(--container),calc(100% - var(--gutter)*2));margin-inline:auto}.skip-link{position:absolute;z-index:500;left:12px;top:-200px;background:var(--ink);color:#fff;padding:11px 20px}.skip-link:focus{top:12px}
/* Site header */
.utility-bar{background:#f8f9f8;border-bottom:1px solid var(--line);color:#6f7475}.utility-inner{height:35px;display:flex;align-items:center;justify-content:space-between;gap:16px}.utility-inner>span{font-size:9px;letter-spacing:.11em;font-weight:700}.utility-slash{color:#c1c3c3;margin:0 8px}.utility-inner>a{display:inline-flex;gap:7px;align-items:center;font-size:10px;letter-spacing:.03em;color:#5e6566}.utility-inner a strong{color:var(--ink);font-size:13px;letter-spacing:-.01em}.emergency-dot{width:7px;height:7px;border-radius:50%;background:var(--red);margin-right:3px}
.site-header{position:relative;z-index:110;background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;height:100px;gap:35px}.brand{display:inline-flex;align-items:center;gap:14px;flex-shrink:0}.brand-symbol{width:52px;height:52px;border:2px solid var(--red);border-radius:50%;display:flex;justify-content:center;align-items:center;position:relative;font-size:15px;font-weight:850;letter-spacing:-.06em;color:var(--red)}.brand-symbol span{position:absolute;width:15px;height:2px;background:var(--red);bottom:9px;left:16px}.brand-name{display:flex;flex-direction:column;line-height:1.21;letter-spacing:-.035em;font-size:19px}.brand-name strong{font-weight:760}.brand-name>span{font-weight:450;color:#6b7070}.brand-custom-logo{object-fit:contain;max-height:70px;max-width:260px;width:auto;height:auto}
.site-nav{margin-left:auto}.menu-list{display:flex;align-items:center;gap:34px;margin:0;padding:0;list-style:none}.menu-list a{display:block;padding:12px 0;font-size:13px;font-weight:600;color:#424748;transition:color .2s}.menu-list a:hover,.menu-list .current-menu-item a{color:var(--red)}.header-contact{border:1px solid #ced1d0;padding:13px 19px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;gap:26px;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}.header-contact span{font-size:16px}.header-contact:hover{border-color:var(--ink);background:var(--ink);color:white}.menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);padding:12px;background:#fff;flex-shrink:0}.menu-toggle span{display:block;height:2px;margin:5px 0;background:var(--ink)}
/* Links and typography */
.overline{display:flex;align-items:center;gap:10px;color:var(--red);font-size:11px;font-weight:750;letter-spacing:.12em;line-height:1.4;margin:0 0 24px;text-transform:uppercase}.overline-mark{display:inline-block;width:19px;height:2px;background:var(--red)}
.section{padding:112px 0}.section-heading{font-size:clamp(38px,4.35vw,65px);line-height:1.12;letter-spacing:-.055em;max-width:810px;margin:0}.section-heading span{color:#8f9696;display:block}.section-heading.small-heading{font-size:clamp(32px,3.15vw,45px)}.lead{font-size:21px;line-height:1.5;font-weight:500;color:var(--ink)}
.button{display:inline-flex;justify-content:center;align-items:center;gap:28px;min-height:50px;padding:13px 20px;font-size:13px;font-weight:700;line-height:1.4;white-space:nowrap;transition:background .2s,color .2s,border .2s,transform .2s}.button:hover{transform:translateY(-1px)}.button-primary,.button-solid,.button-red{background:var(--red);color:#fff;border:1px solid var(--red)}.button-primary:hover,.button-solid:hover,.button-red:hover{background:var(--red-dark);border-color:var(--red-dark)}.button-ivory{background:white;color:var(--ink)}.button span{font-size:17px;font-weight:400}.underlined-link,.link-arrow,.text-link{display:inline-flex;align-items:center;gap:29px;font-size:13px;font-weight:700;border-bottom:1px solid currentColor;padding:0 0 8px;line-height:1.5;transition:color .2s,gap .2s}.underlined-link:hover,.link-arrow:hover,.text-link:hover{color:var(--red);gap:36px}.underlined-link span,.link-arrow span{font-size:16px;font-weight:400}.text-link-light{color:#fff}.text-link-dark{color:var(--ink)}
/* Hero */
.home-hero{padding:34px 0 0}.hero-frame{display:grid;grid-template-columns:42% 58%;min-height:610px}.hero-introduction{position:relative;background:var(--warm);padding:90px 54px 40px 54px;display:flex;flex-direction:column;justify-content:space-between}.hero-content{max-width:450px}.hero-introduction h1{font-size:clamp(55px,5.15vw,74px);line-height:1.06;letter-spacing:-.061em;font-weight:730;overflow-wrap:break-word;margin:0 0 29px}.hero-description{font-size:17px;line-height:1.72;color:var(--soft);max-width:350px;margin:0 0 34px}.hero-buttons{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.hero-subnote{color:#8f9797;font-size:10px;letter-spacing:.1em;font-weight:650;margin-top:58px}.hero-subnote span{margin:0 9px;color:var(--red)}
.hero-visual{margin:0;position:relative;min-height:610px;overflow:hidden;background:#d7d5cc}.hero-visual:after{content:"";position:absolute;inset:65% 0 0;background:linear-gradient(0deg,rgba(0,0,0,.45),transparent);pointer-events:none}.hero-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% center;filter:brightness(1.23) saturate(1.08)}.hero-visual figcaption{position:absolute;z-index:1;bottom:29px;left:31px;font-size:10px;letter-spacing:.12em;font-weight:700;color:#fff;display:flex;align-items:center;gap:12px}.caption-line{height:1px;width:30px;background:#fff;display:inline-block}
.quick-navigation{background:#fff}.quick-grid{border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr)}.quick-grid>a{min-height:105px;display:flex;align-items:center;gap:22px;padding:14px 25px 14px 0;font-weight:680;font-size:15px;transition:color .2s}.quick-grid>a+a{padding-left:29px;border-left:1px solid var(--line)}.quick-index{font-weight:730;color:var(--red);font-size:11px;letter-spacing:.08em}.quick-arrow{margin-left:auto;color:var(--quiet);font-size:18px;font-weight:400;transition:transform .2s}.quick-grid>a:hover{color:var(--red)}.quick-grid>a:hover .quick-arrow{transform:translate(3px,-3px);color:var(--red)}
/* About */
.about-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(55px,7.5vw,115px)}.about-media{position:relative;min-width:0}.about-media img{display:block;width:100%;aspect-ratio:1.02;object-fit:cover}.photo-credit{position:absolute;bottom:0;left:0;padding:14px 19px;background:white;color:#67706f;font-size:10px;font-weight:680;letter-spacing:.09em}.about-copy>p:not(.overline){color:var(--soft);font-size:15px;line-height:1.8;margin:24px 0 0;max-width:475px}.about-copy .lead{color:var(--ink)!important;font-size:20px!important;line-height:1.55!important;font-weight:550}.about-copy>.underlined-link{margin-top:33px}
/* Activities */
.activities-section{padding:66px 0 100px;border-top:1px solid var(--line)}.activities-header{display:flex;align-items:end;justify-content:space-between;margin-bottom:50px;gap:24px}.activities-header .overline{margin-bottom:9px}.activities-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}.activities-grid article{border-top:2px solid #2b3131;padding-top:24px}.activity-no{font-size:12px;font-weight:750;color:var(--red);letter-spacing:.06em}.activities-grid h3{font-size:26px;letter-spacing:-.035em;margin:29px 0 11px}.activities-grid p{font-size:14px;line-height:1.8;color:var(--soft);max-width:335px;margin:0}
/* Halls */
.halls-section{background:var(--warm)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:50px;margin-bottom:48px}.section-head>.head-aside{width:280px;flex-shrink:0;padding-bottom:7px}.head-aside p{font-size:14px;line-height:1.75;color:var(--soft);margin:0 0 19px}.hall-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.hall-card{display:block;background:white;min-width:0;transition:transform .2s}.hall-card:hover{transform:translateY(-3px)}.hall-image{height:320px;position:relative;overflow:hidden;background:#d5d6d3}.hall-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.hall-card:hover img{transform:scale(1.025)}.hall-photo-number{position:absolute;top:19px;left:20px;background:rgba(255,255,255,.96);padding:8px 12px;font-size:10px;letter-spacing:.09em;font-weight:760}.hall-caption{min-height:122px;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:15px}.hall-caption h3{font-size:25px;letter-spacing:-.035em;margin:0 0 5px}.hall-caption p{font-size:13px;color:var(--quiet);margin:0}.circle-link{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #d7dad8;border-radius:50%;font-size:20px;transition:background .2s,color .2s}.hall-card:hover .circle-link{background:var(--red);color:#fff;border-color:var(--red)}
/* Recruitment */
.join-section{background:#eaecea;padding:89px 0 96px}.join-layout{display:grid;grid-template-columns:1fr .82fr;gap:clamp(60px,11vw,155px)}.join-main h2{font-size:clamp(42px,4.4vw,64px);line-height:1.12;max-width:600px;margin:0 0 24px}.join-main h2 span{color:#8c9493;display:block}.join-main>p:not(.overline){max-width:475px;color:var(--soft);line-height:1.75;font-size:16px;margin-bottom:27px}.join-times{padding-top:18px}.times-label{font-size:11px;font-weight:740;color:var(--red);letter-spacing:.11em;margin-bottom:17px}.time-row{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:19px 0;border-top:1px solid #cfd3d1}.time-row strong,.time-row b{font-size:14px;font-weight:700}.time-row strong{display:block}.time-row span{display:block;font-size:12px;color:var(--quiet);margin-top:3px}.time-row b{line-height:1.6;text-align:right}.location-link{border-top:1px solid #cfd3d1;display:flex;justify-content:space-between;padding-top:17px;color:var(--soft);font-size:12px;font-weight:600}.location-link span{font-size:17px}
/* News */
.news-head{align-items:end}.news-head>.underlined-link,.gallery-head>.underlined-link{flex-shrink:0;margin-bottom:5px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.news-card{min-width:0}.news-photo{height:245px;display:block;overflow:hidden;background:#e1e4e2}.news-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.news-card:hover .news-photo img{transform:scale(1.025)}.news-meta{display:flex;justify-content:space-between;gap:15px;margin:20px 0 12px;font-size:10px;font-weight:750;letter-spacing:.09em;color:#858c8b}.news-meta span{color:var(--red)}.news-card h3{font-size:24px;line-height:1.3;letter-spacing:-.035em;margin:0 0 19px}.news-card h3 a:hover{color:var(--red)}.news-continue{display:inline-flex;align-items:center;gap:15px;font-size:12px;font-weight:720;border-bottom:1px solid #b3b9b6;padding-bottom:5px}.news-continue:hover{color:var(--red)}
/* Gallery */
.gallery-section{background:var(--warm)}.gallery-head{margin-bottom:35px}.gallery-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:220px 220px;gap:13px}.gallery-item{display:block;position:relative;min-width:0;min-height:0;overflow:hidden;background:#ddd}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.gallery-item:hover img{transform:scale(1.035)}.gallery-item-1{grid-column:1;grid-row:1/3}.gallery-item-2{grid-column:2;grid-row:1}.gallery-item-3{grid-column:3;grid-row:1}.gallery-item-4{grid-column:2;grid-row:2}.gallery-item-5{grid-column:3;grid-row:2}.gallery-item-6{display:none}.gallery-item span{display:none}
/* Visit */
.visit-section{background:var(--paper);padding:91px 0}.visit-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px}.visit-layout h2{font-size:clamp(38px,4.3vw,58px);margin:0}.visit-layout h2 span{display:block;color:#8b9392}.visit-info{justify-self:end;display:flex;align-items:center;gap:26px}.visit-info p{font-size:14px;color:var(--soft);line-height:1.6;margin:0 15px 0 0}.visit-info .underlined-link{white-space:nowrap}
/* Footer */
.site-footer{background:#202627;color:white}.footer-top{display:grid;grid-template-columns:1.6fr .65fr .9fr;gap:60px;padding:75px 0 78px}.footer-identity>p{font-size:10px;letter-spacing:.11em;font-weight:700;color:#adb5b3;margin:0 0 21px}.footer-identity h2{font-size:clamp(30px,3vw,44px);line-height:1.14;max-width:390px;letter-spacing:-.045em;margin:0 0 20px}.footer-identity>span{font-size:13px;color:#aeb6b4}.footer-nav h3,.footer-address h3{font-size:11px;letter-spacing:.11em;font-weight:750;margin:3px 0 22px;color:#aeb6b4;text-transform:uppercase}.footer-nav a,.footer-address a{font-size:14px;display:block;margin-bottom:10px}.footer-nav a:hover,.footer-address a:hover{color:#f1a29d}.footer-address address{font-size:14px;font-style:normal;color:#cdd2d0;line-height:1.7;margin-bottom:20px}.footer-bottom{border-top:1px solid #41494a;min-height:65px;display:flex;align-items:center;justify-content:space-between;color:#aab2b0;font-size:11px}.footer-bottom a:hover{color:white}
/* Inside pages: same clean language */
.interior-hero{padding:84px 0 94px;background:var(--warm);border-bottom:1px solid var(--line)}.interior-hero .container{max-width:1232px}.interior-hero .eyebrow{font-size:11px;color:var(--red);letter-spacing:.1em;font-weight:750;margin:0 0 25px}.interior-hero .eyebrow span{color:#a7adab}.interior-hero h1{font-size:clamp(47px,6vw,82px);max-width:960px;margin:0 0 18px;letter-spacing:-.06em}.interior-hero h1 em{font-style:normal;color:#939b99}.interior-hero p:not(.eyebrow){font-size:17px;color:var(--soft);line-height:1.75;max-width:610px;margin:17px 0 0}.interior-hero .button{margin-top:27px}.interior-hero .button-ivory{border:1px solid #cbd0cc}.eyebrow{font-size:11px;color:var(--red);font-weight:750;letter-spacing:.1em;margin-bottom:22px;text-transform:uppercase}.eyebrow-suffix{color:#9aa19f}.purpose{background:var(--warm);padding:95px 0}.purpose-head{margin-bottom:48px}.purpose-head h2{font-size:clamp(38px,4vw,59px);line-height:1.15;margin:0}.purpose-head h2 em{color:#8d9694}.purpose-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:46px}.purpose-grid article{border-top:2px solid var(--ink);padding-top:22px}.purpose-number{color:var(--red);font-size:11px;font-weight:700}.purpose-number>span{display:none}.purpose-grid h3{font-size:27px;margin:28px 0 11px}.purpose-grid p{font-size:14px;color:var(--soft);line-height:1.8}.about-copy .text-link{margin-top:20px}.about-media>img{width:100%;aspect-ratio:1.02;object-fit:cover}.about-badge{position:absolute;bottom:0;left:0;background:white;padding:20px 26px;display:flex;gap:12px;align-items:center}.about-badge strong{font-size:34px;letter-spacing:-.05em}.about-badge span{font-size:9px;font-weight:650;line-height:1.4;letter-spacing:.08em;color:var(--soft)}
.halls-inner .section-heading{margin-bottom:20px}.max-readable{max-width:700px;color:var(--soft);line-height:1.7;margin-bottom:53px}.hall-detail{display:grid;grid-template-columns:1.05fr 1fr;background:var(--warm);align-items:center;margin:0 0 28px}.hall-detail.reverse .hall-detail-photo{order:2}.hall-detail-photo img{width:100%;height:420px;object-fit:cover}.hall-detail-content{padding:45px 55px}.hall-detail-content h3{font-size:clamp(36px,3.5vw,52px);margin:0 0 18px}.hall-detail-content p{font-size:15px;line-height:1.75;color:var(--soft);margin-bottom:25px}.halls-banner{padding:82px 0;background:var(--muted-bg);text-align:center}.halls-banner h2{font-size:clamp(36px,4vw,57px);margin:0 0 15px}.halls-banner h2 em{color:#939b99}.halls-banner .eyebrow{justify-content:center}.halls-banner>div>p:not(.eyebrow){color:var(--soft)}.halls-banner .button{margin-top:10px}
.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(55px,8vw,110px)}.contact-details .section-heading{font-size:clamp(37px,3.6vw,52px);margin-bottom:34px}.contact-detail{border-top:1px solid var(--line);padding:19px 0}.contact-detail small{display:block;font-size:10px;letter-spacing:.09em;color:var(--red);font-weight:750;margin-bottom:5px}.contact-detail>a:not(.text-link),.contact-detail>p{font-size:17px;font-weight:550;line-height:1.5;margin:0}.contact-detail>a:hover{color:var(--red)}.contact-detail .text-link{font-size:12px;margin-top:11px}.contact-form-wrap{background:var(--warm);padding:48px}.contact-form-wrap h3{font-size:32px;margin:0 0 31px}.osp-form{display:flex;flex-direction:column;gap:17px}.osp-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:680}.osp-form label>span{color:var(--red)}.osp-form input:not([type=checkbox]),.osp-form select,.osp-form textarea{min-height:48px;padding:12px 14px;border:1px solid #cdd2cf;background:#fff;color:var(--ink);width:100%;outline:0;resize:vertical;font-weight:400;font-size:14px;border-radius:0}.osp-form input:focus,.osp-form select:focus,.osp-form textarea:focus{border-color:var(--red)}.osp-form .check-consent{flex-direction:row;align-items:flex-start;gap:10px;color:var(--soft);font-size:11px;line-height:1.6;font-weight:400}.osp-form .check-consent span{color:inherit}.check-consent input{accent-color:var(--red);margin-top:3px}.osp-form .button{align-self:start}.osp-form>small{font-size:11px;color:var(--quiet)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-alert{padding:14px;background:white;border-left:3px solid var(--red);font-size:13px}.form-alert.good{border-color:#477b59}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;left:-9999px}.narrow-content{max-width:760px}.narrow-content p{font-size:16px;line-height:1.85}.narrow-content h2{font-size:33px;margin:36px 0 15px}.narrow-content h3{font-size:26px;margin:24px 0 11px}.narrow-content a:not(.button){color:var(--red);text-decoration:underline}.narrow-content ul,.narrow-content ol{padding-left:21px}.wp-content img{max-width:100%;height:auto}.gallery-page-grid{margin-top:45px}.gallery-page-grid .gallery-item-6{display:block;grid-column:1/4;grid-row:3;height:200px}.gallery-page-grid{grid-template-rows:220px 220px 200px}.article-container{padding:50px 0 110px}.single-featured{margin:40px auto;max-width:950px}.single-featured img{width:100%;height:auto}.pagination{margin-top:45px}.pagination .nav-links{display:flex;flex-wrap:wrap;gap:7px}.pagination .page-numbers{padding:8px 12px;border:1px solid var(--line)}.pagination .current{background:var(--red);border-color:var(--red);color:#fff}
/* Tablet and mobile */
@media(max-width:1150px){:root{--gutter:30px}.header-inner{gap:22px}.menu-list{gap:22px}.hero-introduction{padding:65px 35px 35px}.hero-introduction h1{font-size:clamp(49px,5vw,67px)}.hero-frame{min-height:570px}.hero-visual{min-height:570px}.visit-info{gap:15px;flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:950px){:root{--gutter:27px}.header-inner{height:82px}.brand-name{font-size:17px}.brand-symbol{width:47px;height:47px}.menu-toggle{display:block;margin-left:auto}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:12px var(--gutter) 25px;background:white;border-bottom:1px solid var(--line);box-shadow:0 15px 24px #00000012}.site-nav.is-open{display:block}.menu-list{display:flex;flex-direction:column;align-items:stretch;gap:0}.menu-list li{border-bottom:1px solid var(--line)}.menu-list a{padding:15px 0;font-size:14px}.header-contact{margin-left:auto}.hero-frame{grid-template-columns:45% 55%}.hero-introduction{padding:52px 27px 25px}.hero-introduction h1{font-size:clamp(44px,5vw,59px)}.hero-description{font-size:15px}.hero-buttons{gap:15px}.hero-buttons .button{min-height:45px;padding:12px 14px;font-size:12px}.section{padding:85px 0}.about-grid{gap:45px}.activities-grid{gap:28px}.hall-image{height:260px}.visit-layout{gap:30px}.visit-info{justify-self:start}.footer-top{gap:35px}}
@media(max-width:720px){:root{--gutter:20px}.utility-inner{height:31px}.utility-inner>span{font-size:8px;letter-spacing:.02em}.utility-slash{margin:0 3px}.utility-inner>a{font-size:0;gap:4px}.utility-inner>a strong{font-size:13px}.header-inner{height:75px}.header-contact{display:none}.brand-symbol{width:44px;height:44px;font-size:14px}.brand-symbol span{left:13px;bottom:8px}.brand-name{font-size:16px}.home-hero{padding:0}.home-hero .container{width:100%}.hero-frame{display:flex;flex-direction:column-reverse}.hero-visual{height:315px;min-height:315px}.hero-visual figcaption{bottom:19px;left:22px;font-size:9px}.hero-introduction{padding:38px var(--gutter) 32px}.hero-content{max-width:none}.hero-introduction .overline{margin-bottom:18px}.hero-introduction h1{font-size:clamp(46px,11vw,70px);max-width:520px;margin-bottom:18px}.hero-description{max-width:560px;font-size:15px;line-height:1.65;margin-bottom:24px}.hero-subnote{margin-top:34px;font-size:9px}.hero-buttons{gap:21px}.quick-grid{grid-template-columns:1fr}.quick-grid>a,.quick-grid>a+a{min-height:68px;padding:12px 3px;border-left:0;border-bottom:1px solid var(--line)}.quick-grid>a:last-child{border-bottom:0}.section{padding:77px 0}.section-heading{font-size:clamp(38px,9vw,57px)}.overline{margin-bottom:18px}.about-grid{grid-template-columns:1fr;gap:36px}.about-media img{aspect-ratio:1.2}.about-copy .lead{font-size:18px!important}.activities-section{padding:55px 0 72px}.activities-header{margin-bottom:34px}.activities-grid{grid-template-columns:1fr;gap:23px}.activities-grid article{padding-top:17px}.activities-grid h3{font-size:23px;margin:13px 0 5px}.activities-grid p{max-width:500px}.section-head{display:block;margin-bottom:30px}.section-head>.head-aside{width:auto;margin-top:22px}.hall-grid{grid-template-columns:1fr;gap:18px}.hall-image{height:280px}.hall-caption{min-height:100px;padding:20px}.hall-caption h3{font-size:24px}.join-section{padding:70px 0}.join-layout{grid-template-columns:1fr;gap:40px}.join-main h2{font-size:clamp(40px,9vw,58px)}.join-times{padding:0}.news-head>.underlined-link,.gallery-head>.underlined-link{margin-top:25px}.news-grid{grid-template-columns:1fr;gap:40px}.news-photo{height:280px}.news-card h3{font-size:24px}.gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:200px 170px 170px;gap:9px}.gallery-item-1{grid-column:1/3;grid-row:1}.gallery-item-2{grid-column:1;grid-row:2}.gallery-item-3{grid-column:2;grid-row:2}.gallery-item-4{grid-column:1;grid-row:3}.gallery-item-5{grid-column:2;grid-row:3}.gallery-page-grid{grid-template-rows:200px 170px 170px 180px}.gallery-page-grid .gallery-item-6{grid-column:1/3;grid-row:4;height:180px}.visit-section{padding:70px 0}.visit-layout{grid-template-columns:1fr}.visit-info{justify-self:start;flex-direction:column;align-items:flex-start;gap:15px}.visit-info p{margin-bottom:5px}.footer-top{grid-template-columns:1fr 1fr;gap:38px 25px;padding:65px 0 45px}.footer-identity{grid-column:1/3}.footer-identity h2{font-size:36px}.footer-nav a,.footer-address a{font-size:13px;overflow-wrap:anywhere}.footer-bottom{gap:20px;flex-wrap:wrap;padding:17px 0}.interior-hero{padding:62px 0 70px}.interior-hero h1{font-size:clamp(43px,10vw,67px)}.interior-hero p:not(.eyebrow){font-size:15px}.purpose{padding:74px 0}.purpose-grid{grid-template-columns:1fr;gap:20px}.purpose-grid h3{margin-top:15px}.hall-detail,.hall-detail.reverse{grid-template-columns:1fr}.hall-detail.reverse .hall-detail-photo{order:0}.hall-detail-photo img{height:275px}.hall-detail-content{padding:30px 24px 35px}.contact-layout{grid-template-columns:1fr;gap:45px}.contact-form-wrap{padding:31px 23px}.form-row{grid-template-columns:1fr;gap:17px}.halls-banner{padding:65px var(--gutter)}}
@media(max-width:395px){.hero-introduction h1{font-size:43px}.hero-buttons{align-items:start;flex-direction:column}.utility-inner>span{max-width:255px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hall-image{height:230px}.news-photo{height:235px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.news-more{font-size:12px;font-weight:700;display:inline-block;padding-bottom:5px;border-bottom:1px solid #9aa2a0}.news-card>p{color:var(--soft);font-size:14px;line-height:1.75}



/* 2.2 — revised hero. No changes to the page sections below it. */
.brand-logo-authentic {display:block; width:193px; height:auto; max-height:72px; object-fit:contain; object-position:left center}
.hero-overline-sep {color:#a4aaa9; margin-inline:4px}
.hero-frame {display:flex; flex-direction:column; min-height:0}
.home-hero {padding:52px 0 0}
.hero-introduction {background:transparent; padding:0 0 44px; min-height:0; display:grid; grid-template-columns:minmax(0, 1.42fr) minmax(300px, .65fr); align-items:end; gap:clamp(40px,5vw,90px)}
.hero-introduction .overline {margin:0 0 18px; white-space:normal; flex-wrap:wrap}
.hero-introduction h1 {font-size:clamp(58px,5.7vw,84px); font-weight:760; letter-spacing:-.065em; line-height:1.045; margin:0; max-width:775px; overflow-wrap:normal}
.hero-aside {padding-bottom:5px}
.hero-description {max-width:365px; margin:0 0 26px; line-height:1.72; font-size:16px; color:var(--soft)}
.hero-buttons {align-items:center; gap:23px; flex-wrap:wrap}
.hero-buttons .button {padding:15px 19px; min-height:50px}
.hero-visual {min-height:0; height:440px; position:relative; width:100%; background:#bbc1b9; margin:0; overflow:hidden}
.hero-visual>img {display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:center 54%; filter:none}
.hero-visual::before {content:""; position:absolute; z-index:1; top:0; left:0; height:3px; width:72px; background:var(--red)}
.hero-visual::after {content:""; z-index:1; position:absolute; inset:auto 0 0; height:120px; background:linear-gradient(0deg,rgba(14,19,17,.65),transparent); pointer-events:none}
.hero-visual figcaption {z-index:2; right:30px; bottom:25px; left:auto; font-weight:650; letter-spacing:.11em; font-size:10px}
.caption-line {width:25px}
/* Keep a tidy laptop layout without touching other components. */
@media(max-width:1150px) and (min-width:721px){
  .home-hero {padding-top:38px}
  .hero-introduction {padding-bottom:34px; grid-template-columns:minmax(0, 1.1fr) minmax(270px, .8fr); gap:35px}
  .hero-introduction h1 {font-size:clamp(48px,5.65vw,67px)}
  .hero-description {font-size:15px; margin-bottom:20px}
  .hero-visual {height:390px}
}
@media(max-width:950px) and (min-width:721px){
  .brand-logo-authentic{width:172px}
  .hero-introduction h1 {font-size:clamp(42px,5.5vw,57px)}
  .hero-introduction{gap:26px}
  .hero-visual{height:350px}
}
/* Mobile retains the familiar photo-first composition from V2. */
@media(max-width:720px){
  .brand-logo-authentic{width:163px; max-height:61px}
  .home-hero{padding:0}
  .home-hero .container{width:100%}
  .hero-frame{display:flex; flex-direction:column-reverse; min-height:0}
  .hero-visual{height:315px; min-height:315px}
  .hero-visual>img{object-position:center 50%}
  .hero-visual figcaption{left:22px; right:auto; bottom:19px; font-size:9px}
  .hero-introduction{display:block; background:var(--warm); padding:38px var(--gutter) 32px; min-height:0}
  .hero-introduction .overline{margin-bottom:18px}
  .hero-introduction h1{font-size:clamp(46px,11vw,70px); max-width:520px; margin-bottom:18px; line-height:1.06; overflow-wrap:break-word}
  .hero-description{max-width:560px; font-size:15px; line-height:1.65; margin-bottom:24px}
  .hero-buttons{gap:21px}
  .hero-overline-sep{display:none}
}
@media(max-width:395px){.hero-introduction h1{font-size:43px}}


/* ==========================================================
   2.3 — WIDE MINIMAL / lżejsza typografia + przestrzeń
   Wyłącznie detal stylistyczny, bez zmian struktury sekcji.
   ========================================================== */
:root{--container:1500px;--gutter:48px;--warm:#fafaf9;--muted-bg:#f7f8f6;--line:#e4e6e4;--ink:#222727;--soft:#626b6a;--red:#bd3531}
/* W szerszym układzie nie ściskamy zdjęć i treści pośrodku. */
.header-inner{height:96px;gap:46px}
.menu-list{gap:38px}
.brand-logo-authentic{width:212px;max-height:76px}
.header-contact{border-color:var(--line);padding:12px 17px}
.header-contact:hover{background:var(--ink)}
/* typografia bez dodatkowego obrysowywania i "kart" */
.section{padding:124px 0}
.section-heading{max-width:1020px;letter-spacing:-.059em}
.section-heading span{color:#828b88}
.overline{font-weight:720;letter-spacing:.15em}
.activities-grid article{border-top:1px solid #cfd4d1}
.activities-grid{gap:68px}
.halls-section{background:#f8f9f7}
.hall-image{height:375px}
.hall-caption{min-height:114px}
.join-section{background:#f2f4f1}
.join-layout{gap:110px}
.gallery-grid{gap:13px}
/* hero: duża typografia + cienka oś, zdjęcie prawie na szerokość okna */
.home-hero{padding:70px 0 0}
.hero-frame{display:flex;flex-direction:column;min-height:0;gap:0}
.hero-introduction{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.55fr);align-items:end;gap:7vw;padding:0 0 53px;background:transparent;min-height:0}
.hero-heading{min-width:0}
.hero-introduction .overline{font-size:11px;letter-spacing:.16em;margin:0 0 27px}
.hero-introduction h1{font-size:clamp(66px,6.8vw,116px);line-height:.94;letter-spacing:-.078em;font-weight:750;max-width:none;margin:0;overflow-wrap:normal}
.hero-title-line{display:block;white-space:nowrap}
.hero-title-period{color:var(--red)}
.hero-aside{align-self:end;max-width:400px;padding:23px 0 10px 25px;border-left:1px solid #cbd0cd}
.hero-aside-index{display:block;font-size:11px;letter-spacing:.1em;font-weight:730;color:var(--red);margin:0 0 23px}
.hero-description{color:#505957;font-size:17px;line-height:1.76;margin:0 0 28px;max-width:420px}
.hero-buttons{display:flex;flex-direction:column;align-items:flex-start;gap:15px}
.hero-buttons .button{padding:10px 0;min-height:44px;background:transparent;border:none;border-bottom:1px solid var(--ink);color:var(--ink);font-size:13px;font-weight:750;gap:36px;justify-content:space-between}
.hero-buttons .button span{color:var(--red);font-size:22px}
.hero-buttons .button:hover{color:var(--red);border-color:var(--red);background:transparent;transform:none}
.hero-buttons .link-arrow{font-size:13px;font-weight:600;border:0;padding:7px 0;gap:38px;color:#626b6a}
.hero-buttons .link-arrow:hover{color:var(--red)}
.hero-visual{height:clamp(450px,32vw,560px);min-height:0;width:100%;position:relative;overflow:hidden;background:#c1c5bf}
.hero-visual>img{object-fit:cover;object-position:center 53%;filter:none}
.hero-visual::before{width:46px;height:3px}
.hero-visual::after{inset:auto 0 0;height:115px;background:linear-gradient(0deg,rgba(0,0,0,.4),transparent)}
.hero-visual figcaption{right:30px;bottom:20px;left:auto;font-size:10px;letter-spacing:.12em}
.quick-grid{border-bottom:1px solid var(--line)}
.quick-grid>a{min-height:87px;font-size:14px;font-weight:650}
.quick-grid>a+a{border-left:1px solid var(--line)}
.quick-index{font-weight:650;font-size:10px}
/* Responsive: przestrzeń i proporcje utrzymane także na węższym desktopie. */
@media(min-width:1600px){
  .hero-introduction{grid-template-columns:minmax(0,1.75fr) minmax(350px,.55fr)}
  .hero-introduction h1{font-size:116px}
}
@media(max-width:1300px) and (min-width:951px){
  :root{--gutter:36px}
  .hero-introduction{gap:40px;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr)}
  .hero-introduction h1{font-size:clamp(64px,7vw,91px)}
  .hero-aside{padding-left:20px}
  .hero-description{font-size:15px}
  .hero-visual{height:435px}
  .hall-image{height:340px}
}
@media(max-width:950px){
  :root{--gutter:27px}
  .header-inner{height:82px;gap:22px}
  .brand-logo-authentic{width:172px}
  .hero-introduction{grid-template-columns:minmax(0,1fr) minmax(230px,.75fr);gap:24px;padding-bottom:35px}
  .hero-introduction h1{font-size:clamp(48px,6.2vw,68px)}
  .hero-aside{padding-left:18px}
  .hero-aside-index{margin-bottom:12px}
  .hero-description{font-size:14px;margin-bottom:15px}
  .hero-visual{height:360px}
  .section{padding:85px 0}
  .activities-grid{gap:28px}
  .hall-image{height:260px}
  .join-layout{gap:45px}
}
@media(max-width:720px){
  :root{--gutter:20px}
  .brand-logo-authentic{width:163px}
  .home-hero{padding:0}
  .home-hero .container{width:100%}
  .hero-frame{flex-direction:column-reverse}
  .hero-introduction{display:block;background:var(--warm);padding:36px var(--gutter) 36px}
  .hero-introduction .overline{font-size:10px;letter-spacing:.09em;margin-bottom:18px}
  .hero-introduction h1{font-size:clamp(43px,10.2vw,70px);line-height:1.035;letter-spacing:-.067em;margin-bottom:20px}
  .hero-title-line{white-space:normal}
  .hero-aside{padding:0;border-left:0;max-width:550px}
  .hero-aside-index{display:none}
  .hero-description{font-size:15px;line-height:1.66;margin-bottom:19px}
  .hero-buttons{flex-direction:row;gap:15px 28px;flex-wrap:wrap}
  .hero-buttons .button{font-size:13px}
  .hero-buttons .link-arrow{padding:10px 0}
  .hero-visual{height:315px;min-height:315px}
  .hero-visual figcaption{left:22px;right:auto;bottom:19px;font-size:9px}
  .section{padding:77px 0}
  .hall-image{height:280px}
  .join-layout{gap:40px}
  .quick-grid>a{min-height:68px}
}
@media(max-width:395px){.hero-introduction h1{font-size:43px}}
/* Subtle tablet header alignment: contact and menu stay together. */
@media(max-width:950px) and (min-width:721px){
  .menu-toggle{margin-left:0}
  .header-contact{margin-left:auto}
  .hero-introduction{align-items:start}
}
@media(max-width:720px){.menu-toggle{margin-left:auto}}


/* ==============================================================
   2.4 / UŻYCZENIE SAL — editorial / staggered photo composition
   The rest of the V2.3 page remains unchanged.
   ============================================================== */
.halls-section{background:#fafaf9}
.halls-section .halls-heading{align-items:end;gap:80px;margin-bottom:62px}
.halls-section .halls-heading .section-heading{font-size:clamp(46px,5.2vw,83px);max-width:1030px;line-height:1.04}
.halls-section .halls-heading .head-aside{width:285px;max-width:30%;padding:0 0 8px;flex-shrink:0}
.halls-section .halls-heading .head-aside p{margin-bottom:20px}
.hall-gallery{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);gap:clamp(30px,5.5vw,88px);align-items:start}
.hall-gallery .hall-card{display:block;min-width:0;background:transparent;transition:none}
.hall-gallery .hall-card:hover{transform:none}
.hall-gallery .hall-card-small{margin-top:104px}
.hall-gallery .hall-image{height:470px;position:relative;background:#deded9;overflow:hidden}
.hall-gallery .hall-card-small .hall-image{height:352px}
.hall-gallery .hall-image img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .7s cubic-bezier(.2,.6,.25,1)}
.hall-gallery .hall-card:hover .hall-image img{transform:scale(1.035)}
.hall-gallery .hall-photo-number{top:0;left:0;display:inline-flex;align-items:center;gap:8px;background:#fafaf9;padding:10px 15px 12px 0;font-size:10px;color:#5c6664;letter-spacing:.11em}
.hall-gallery .hall-photo-number span{color:var(--red)}
.hall-gallery .hall-caption{position:relative;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:0;margin-top:0;padding:24px 0 25px;border-bottom:1px solid #cad1ce}
.hall-gallery .hall-eyebrow{display:block;margin-bottom:9px;color:var(--red);font-size:10px;letter-spacing:.14em;font-weight:730}
.hall-gallery .hall-caption h3{font-size:clamp(29px,2.5vw,39px);letter-spacing:-.06em;font-weight:690;margin:0 0 7px;line-height:1.13}
.hall-gallery .hall-caption p{font-size:13px;color:#656e6b;line-height:1.6;margin:0}
.hall-gallery .circle-link{align-self:center;flex:none;width:44px;height:44px;border:1px solid #bfc7c3;border-radius:50%;background:none;color:var(--ink);font-size:22px;font-weight:300;transition:transform .2s,border-color .2s,background .2s,color .2s}
.hall-gallery .hall-card:hover .circle-link{background:var(--red);border-color:var(--red);color:#fff;transform:translate(2px,-2px)}
@media(max-width:1100px){
  .halls-section .halls-heading{gap:32px}
  .halls-section .halls-heading .section-heading{font-size:clamp(43px,5.7vw,67px)}
  .hall-gallery{gap:30px;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
  .hall-gallery .hall-image{height:355px}
  .hall-gallery .hall-card-small .hall-image{height:295px}
  .hall-gallery .hall-card-small{margin-top:60px}
}
@media(max-width:720px){
  .halls-section .halls-heading{margin-bottom:38px;display:block}
  .halls-section .halls-heading .section-heading{font-size:clamp(40px,9vw,57px)}
  .halls-section .halls-heading .head-aside{max-width:510px;width:auto;padding:0;margin-top:23px}
  .hall-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:37px}
  .hall-gallery .hall-card-small{margin-top:0}
  .hall-gallery .hall-image,.hall-gallery .hall-card-small .hall-image{height:clamp(225px,61vw,360px)}
  .hall-gallery .hall-caption{padding:18px 0 20px}
  .hall-gallery .hall-caption h3{font-size:30px}
  .hall-gallery .hall-photo-number{padding:8px 11px 10px 0}
  .hall-gallery .circle-link{width:41px;height:41px}
}


/* ==============================================================
   V2.5 — lightweight entrance animation / scroll reveals.
   Progressive enhancement: without JavaScript all content is visible.
   ============================================================== */
.hero-typewriter-line{position:relative}
.hero-typewriter-measure{display:block;visibility:hidden;pointer-events:none}
.hero-typewriter-output{position:absolute;inset:0;white-space:inherit;pointer-events:none}
.hero-typewriter-output.is-typing::after{
  content:"";display:inline-block;width:2px;height:.78em;margin-left:5px;
  background:var(--red);vertical-align:-.07em;
  animation:osp-type-caret .8s steps(1,end) infinite;
}
@keyframes osp-type-caret{0%,49%{opacity:1}50%,100%{opacity:0}}
/* The transition is applied only to elements explicitly registered by JS. */
.osp-reveal{
  opacity:0;transform:translate3d(0,19px,0);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--osp-reveal-delay,0ms);
}
.osp-reveal.osp-visible{opacity:1;transform:translate3d(0,0,0)}
.osp-reveal.osp-reveal-image{transform:translate3d(0,22px,0) scale(.992)}
.osp-reveal.osp-reveal-image.osp-visible{transform:translate3d(0,0,0) scale(1)}
@media(prefers-reduced-motion:reduce){
  .osp-reveal,.osp-reveal.osp-reveal-image{
    opacity:1!important;transform:none!important;transition:none!important;
  }
  .hero-typewriter-output.is-typing::after{animation:none!important}
}


/* ===================================================================
   V2.6 — aktualności / magazine tiles and readable WordPress articles
   Existing homepage sections and animations remain unchanged.
   =================================================================== */
.news-section{background:#f8f9f8}
.news-section .news-head{margin-bottom:39px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;align-items:stretch}
.news-grid .news-card{display:flex;flex-direction:column;overflow:hidden;min-width:0;background:#fff;border:1px solid #e9ebea;border-radius:19px;box-shadow:0 12px 34px rgba(30,39,38,.055);transition:box-shadow .32s ease,transform .32s ease,border-color .32s ease}
.news-grid .news-card:hover{box-shadow:0 20px 46px rgba(30,39,38,.10);transform:translateY(-4px);border-color:#dce0de}
.news-grid .news-card .news-photo{display:block;flex-shrink:0;width:100%;height:auto;aspect-ratio:1.78;overflow:hidden;background:#e9ecea}
.news-grid .news-card .news-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .7s cubic-bezier(.17,.67,.23,1)}
.news-grid .news-card:hover .news-photo img{transform:scale(1.045)}
.news-grid .news-card .news-card-content{display:flex;flex-direction:column;flex:1;min-width:0;padding:26px 27px 24px}
.news-grid .news-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 13px;color:#8b9491;font-size:10px;font-weight:720;letter-spacing:.055em}
.news-grid .news-category{color:var(--red);font-weight:750;letter-spacing:.09em}
.news-grid .news-meta time{color:#8a9290;white-space:nowrap}
.news-grid .news-card h3{font-size:clamp(20px,1.66vw,27px);font-weight:700;line-height:1.23;letter-spacing:-.045em;margin:0 0 12px}
.news-grid .news-card h3 a{transition:color .2s}
.news-grid .news-excerpt{font-size:14px;line-height:1.76;color:#697270;margin:0 0 27px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-grid .news-continue{display:inline-flex;align-items:center;gap:11px;align-self:start;margin-top:auto;border:0;padding:0;color:#2b4745;font-size:13px;line-height:1.3;font-weight:740;transition:color .25s}
.news-grid .news-continue:hover{color:var(--red)}
.news-arrow{width:29px;height:29px;border:1px solid #e7ebea;border-radius:50%;background:#f5f7f6;display:inline-flex;align-items:center;justify-content:center;font-size:16px;line-height:1;font-weight:400;transition:transform .25s,background .25s,border-color .25s}
.news-grid .news-card:hover .news-arrow{transform:translate(2px,-2px);background:#fff0ef;border-color:#f0d2cd}
/* Featured card: two columns wide, split picture/editorial copy. */
.news-grid>.news-card-featured{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);min-height:460px}
.news-grid>.news-card-featured .news-photo{height:100%;min-height:460px;aspect-ratio:auto}
.news-grid>.news-card-featured .news-card-content{padding:clamp(30px,3vw,52px);min-height:460px}
.news-grid>.news-card-featured h3{font-size:clamp(26px,2.35vw,40px);line-height:1.1;letter-spacing:-.057em;margin-bottom:16px}
.news-grid>.news-card-featured .news-excerpt{font-size:15px;line-height:1.78;-webkit-line-clamp:5}
.news-grid>.news-card-featured .news-meta{margin-bottom:22px}
/* Archive intro */
.news-index-heading{padding:84px 0 62px;background:#fff}
.news-index-intro{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.55fr);align-items:end;gap:90px}
.news-index-intro h1{font-size:clamp(66px,8vw,130px);line-height:1.02;letter-spacing:-.072em;margin:0}
.title-red-dot{color:var(--red)!important}
.news-index-intro>p{font-size:17px;line-height:1.75;color:var(--soft);margin:0 0 7px}
.news-archive-section{padding-top:54px}
.news-pagination{margin-top:45px}
.news-pagination .nav-links{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.news-pagination .page-numbers{min-height:40px;min-width:40px;padding:8px 12px;border:1px solid #dadee0;background:#fff;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;font-weight:650;font-size:13px}
.news-pagination .page-numbers.current{color:#fff;background:var(--red);border-color:var(--red)}
.news-pagination a:hover{border-color:var(--red)}
/* Dedicated single article introduction */
.osp-article{background:#fff}
.post-hero{padding:75px 0 81px;background:radial-gradient(circle at 10% 24%,#f2f6f5 0%,#fff 47%);border-bottom:1px solid #eaeeeb}
.post-hero-grid{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:clamp(45px,5.3vw,85px);align-items:center}
.post-hero-text{min-width:0}
.post-back{display:inline-flex;gap:12px;align-items:center;color:#6c7774;font-size:12px;font-weight:650;margin-bottom:46px;transition:color .2s}
.post-back:hover{color:var(--red)}
.post-back>span{font-size:21px;font-weight:400}
.post-category{display:table;border:1px solid #d4dbd8;border-radius:999px;padding:9px 17px;margin-bottom:23px;color:#31514d;font-size:11px;font-weight:760;letter-spacing:.09em}
.post-hero h1{font-size:clamp(43px,4.5vw,77px);line-height:1.055;letter-spacing:-.067em;font-weight:745;overflow-wrap:break-word;hyphens:auto;max-width:780px;margin:0 0 28px}
.post-lead{color:#687573;max-width:690px;font-size:clamp(16px,1.15vw,19px);line-height:1.75;margin:0 0 35px}
.post-hero-image{margin:0;min-width:0;overflow:hidden;border-radius:24px;background:#eef0ef;box-shadow:0 18px 48px rgba(28,38,35,.08)}
.post-hero-image img{width:100%;height:auto;max-height:700px;aspect-ratio:1.13;object-fit:cover;display:block}
.post-authorline{display:flex;align-items:center;gap:16px 19px;flex-wrap:wrap;border-top:1px solid #e6eae8;padding-top:26px}
.post-author-symbol{display:flex;align-items:center;justify-content:center;background:#f0f3f2;border:1px solid #d8dfdd;border-radius:50%;width:44px;height:44px;flex-shrink:0;font-weight:780;font-size:12px;letter-spacing:-.03em;color:var(--red)}
.post-author-caption,.post-info-item{display:flex;flex-direction:column;gap:4px;min-width:0}
.post-authorline small{color:#8d9593;font-size:10px;line-height:1.2}
.post-authorline strong,.post-authorline time{font-size:12px;line-height:1.35;font-weight:750;color:var(--ink)}
.post-meta-divider{height:31px;width:1px;background:#dde3df;flex-shrink:0}
/* Body: narrow measure, generous image display and Gutenberg block styling */
.post-body-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,790px) minmax(0,1fr);column-gap:clamp(20px,3.4vw,55px);padding-top:94px;padding-bottom:104px;align-items:start}
.post-side{padding-top:8px;color:#8b9492}
.post-side-rule{height:2px;width:33px;background:var(--red);display:block;margin-bottom:24px}
.post-side p{font-size:10px;line-height:1.6;font-weight:780;letter-spacing:.12em;max-width:120px}
.post-side-date{display:block;font-size:11px;letter-spacing:.08em;margin-top:12px}
.post-content{min-width:0;max-width:none;font-size:18px;line-height:1.9;letter-spacing:-.005em;color:#383f40}
.post-content>p:first-of-type{font-size:clamp(19px,1.35vw,22px);line-height:1.78;color:#343d3d}
.post-content p{margin:0 0 28px}
.post-content h2,.post-content h3,.post-content h4{color:var(--ink);font-weight:760;letter-spacing:-.052em;line-height:1.17;scroll-margin-top:110px}
.post-content h2{font-size:clamp(30px,2.55vw,43px);margin:67px 0 22px}
.post-content h3{font-size:clamp(25px,2vw,33px);margin:44px 0 16px}
.post-content h4{font-size:22px;margin:36px 0 13px}
.post-content strong,.post-content b{color:#202929;font-weight:740}
.post-content a{color:#bc4540;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.post-content a:hover{color:#9b2c2a}
.post-content ul,.post-content ol{padding-left:27px;margin:20px 0 36px}
.post-content li{padding-left:7px;margin:0 0 11px}
.post-content li::marker{color:var(--red)}
.post-content blockquote,.post-content .wp-block-quote{margin:49px 0;padding:23px 0 23px 33px;border-left:3px solid var(--red);background:transparent;font-size:clamp(22px,2vw,30px);line-height:1.5;letter-spacing:-.035em;color:var(--ink);font-weight:570}
.post-content blockquote p{margin-bottom:10px}
.post-content blockquote cite{display:block;margin-top:16px;font-style:normal;font-size:13px;font-weight:650;letter-spacing:0;color:#7c8583}
.post-content figure{max-width:100%;margin:44px 0 46px}
.post-content figure img,.post-content>img,.post-content p>img{display:block;max-width:100%;width:auto;height:auto;border-radius:14px}
.post-content .wp-block-image img{width:auto;height:auto;max-width:100%;border-radius:14px}
.post-content .wp-block-image.size-full img,.post-content .wp-block-image.size-large img{width:100%}
.post-content figure figcaption,.post-content .wp-caption-text{font-size:12px;line-height:1.65;color:#82908c;text-align:center;margin:12px 0 0}
.post-content .wp-block-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:36px 0 45px}
.post-content .wp-block-gallery .wp-block-image{min-width:0;width:100%;margin:0!important}
.post-content .wp-block-gallery .wp-block-image img{width:100%!important;height:100%!important;min-height:210px;object-fit:cover;border-radius:11px}
.post-content .wp-block-gallery.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.post-content .wp-block-gallery figcaption{grid-column:1/-1}
.post-content .wp-block-cover{border-radius:15px;overflow:hidden;margin:38px 0}
.post-content .wp-block-separator{border:0;border-top:1px solid #e3e8e5;margin:48px auto}
.post-content .wp-block-table{overflow-x:auto;margin:38px 0}
.post-content table{border-collapse:collapse;min-width:100%;font-size:14px;line-height:1.6}
.post-content th,.post-content td{padding:13px;border-bottom:1px solid #e3e7e5;text-align:left}
.post-content th{background:#f6f7f6}
.post-content .wp-block-buttons{margin:24px 0 38px}
.post-content .wp-block-button__link{background:var(--red);color:white!important;font-size:14px;text-decoration:none;border-radius:7px;padding:14px 25px}
.post-content iframe,.post-content video{max-width:100%;border-radius:12px}
.post-content pre,.post-content .wp-block-code{overflow-x:auto;background:#f5f7f6;padding:20px;border-radius:10px;font-size:14px;line-height:1.6}
.post-content :where(.alignwide,.alignfull){max-width:min(calc(100vw - 56px),1140px);width:calc(100% + 90px);margin-left:-45px}
.post-content .aligncenter{margin-left:auto;margin-right:auto}
.post-content .alignright{float:right;margin:6px 0 20px 28px;max-width:46%}
.post-content .alignleft{float:left;margin:6px 28px 20px 0;max-width:46%}
.post-endline{display:flex;align-items:center;gap:14px;margin-top:70px;color:#9ca5a2}
.post-endline span{width:35px;height:2px;background:var(--red)}
.post-endline strong{font-size:10px;letter-spacing:.15em}
.post-navigation{border-top:1px solid #e6ebe8;padding-top:29px;margin-top:35px}
.post-all-link{display:inline-flex;align-items:center;gap:12px;font-size:14px;font-weight:720;color:var(--ink)!important;text-decoration:none!important}
.post-nav-icon{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:50%;background:#f2f5f3;font-size:20px;font-weight:400;transition:background .25s}
.post-all-link:hover .post-nav-icon{background:#fbe9e6}
.related-news-section{background:#f8f9f8;padding-top:92px;padding-bottom:110px}
.related-news-grid .news-card-featured{grid-column:auto!important;display:flex!important;min-height:unset!important}
/* Responsive layouts */
@media(max-width:1150px){
  .news-grid{gap:19px}
  .news-grid>.news-card-featured{min-height:400px}
  .news-grid>.news-card-featured .news-photo,.news-grid>.news-card-featured .news-card-content{min-height:400px}
  .news-grid .news-card .news-card-content{padding:23px}
  .news-grid>.news-card-featured .news-card-content{padding:29px}
  .news-grid .news-card h3{font-size:21px}
  .news-grid>.news-card-featured h3{font-size:clamp(25px,2.6vw,33px)}
  .post-hero{padding:65px 0}
  .post-hero-grid{gap:40px}
  .post-body-grid{grid-template-columns:100px minmax(0,1fr);gap:30px}
  .post-side-spacer{display:none}
}
@media(max-width:920px){
  .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .news-grid>.news-card-featured{grid-column:1/-1}
  .news-grid>.news-card-featured .news-photo,.news-grid>.news-card-featured .news-card-content{min-height:345px}
  .news-grid>.news-card-featured{min-height:345px}
  .news-index-intro{gap:38px}
  .post-hero-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .post-hero-image img{aspect-ratio:1.7;max-height:500px}
  .post-hero h1{max-width:870px;font-size:clamp(45px,7vw,70px)}
  .post-back{margin-bottom:30px}
  .post-lead{max-width:720px}
}
@media(max-width:720px){
  .news-section .news-head{margin-bottom:27px}
  .news-grid{display:grid;grid-template-columns:1fr;gap:20px}
  .news-grid>.news-card-featured{grid-column:1;display:flex;min-height:0}
  .news-grid>.news-card-featured .news-photo,.news-grid>.news-card-featured .news-card-content{min-height:unset}
  .news-grid>.news-card-featured .news-photo{aspect-ratio:1.5;height:auto}
  .news-grid .news-card .news-photo{aspect-ratio:1.62}
  .news-grid .news-card .news-card-content,.news-grid>.news-card-featured .news-card-content{padding:23px 22px 24px}
  .news-grid .news-card h3,.news-grid>.news-card-featured h3{font-size:clamp(22px,6vw,29px);margin-bottom:12px}
  .news-grid .news-excerpt,.news-grid>.news-card-featured .news-excerpt{font-size:14px;line-height:1.7;margin-bottom:20px}
  .news-grid .news-meta,.news-grid>.news-card-featured .news-meta{margin-bottom:12px}
  .news-index-heading{padding:60px 0 37px}
  .news-index-intro{display:block}
  .news-index-intro h1{font-size:clamp(55px,12vw,85px);margin-bottom:22px}
  .news-index-intro>p{font-size:15px;max-width:470px}
  .post-hero{padding:36px 0 55px}
  .post-hero-grid{gap:29px}
  .post-back{margin-bottom:33px}
  .post-category{margin-bottom:18px}
  .post-hero h1{font-size:clamp(40px,9vw,62px);margin-bottom:21px}
  .post-lead{font-size:16px;line-height:1.68;margin-bottom:27px}
  .post-authorline{gap:12px 13px;padding-top:20px}
  .post-author-caption{flex-basis:calc(100% - 62px)}
  .post-meta-divider:first-of-type{display:none}
  .post-authorline strong,.post-authorline time{font-size:12px}
  .post-hero-image{border-radius:15px}
  .post-hero-image img{aspect-ratio:1.33}
  .post-body-grid{display:block;padding-top:53px;padding-bottom:75px}
  .post-side{display:none}
  .post-content{font-size:16px;line-height:1.82}
  .post-content>p:first-of-type{font-size:18px}
  .post-content h2{font-size:32px;margin:49px 0 17px}
  .post-content h3{font-size:25px;margin:36px 0 15px}
  .post-content blockquote{padding-left:20px;font-size:22px}
  .post-content figure{margin:29px 0 34px}
  .post-content .wp-block-gallery,.post-content .wp-block-gallery.columns-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .post-content .wp-block-gallery .wp-block-image img{min-height:140px}
  .post-content :where(.alignwide,.alignfull){max-width:100%;width:100%;margin-left:0}
  .post-content .alignright,.post-content .alignleft{float:none;max-width:100%;margin:22px 0}
  .related-news-section{padding:65px 0}
}
@media(prefers-reduced-motion:reduce){.news-grid .news-card,.news-grid .news-card .news-photo img,.news-arrow{transition:none!important}}

/* Article gallery image viewer */
.post-content img.osp-zoomable{cursor:zoom-in;transition:filter .2s ease}
.post-content img.osp-zoomable:hover{filter:brightness(.94)}
.post-content img.osp-zoomable:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.osp-image-lightbox{border:0;padding:0;background:transparent;color:#fff;max-width:min(96vw,1560px);max-height:96vh;overflow:visible}
.osp-image-lightbox::backdrop{background:rgba(11,19,20,.93);backdrop-filter:blur(10px)}
.osp-lightbox-wrap{position:relative;display:flex;justify-content:center;align-items:center;min-width:min(90vw,650px);max-height:94vh}
.osp-lightbox-wrap figure{max-width:100%;margin:0;text-align:center}
.osp-lightbox-wrap figure img{max-width:min(86vw,1450px);max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:5px;box-shadow:0 20px 65px #0008}
.osp-lightbox-wrap figcaption{font-size:12px;color:#dde4e0;margin-top:15px;line-height:1.5}
.osp-lightbox-close,.osp-lightbox-nav{position:absolute;background:#fff;border:0;border-radius:50%;color:#192223;display:flex;align-items:center;justify-content:center;z-index:3;cursor:pointer;transition:background .2s}
.osp-lightbox-close:hover,.osp-lightbox-nav:hover{background:#eaeef0}
.osp-lightbox-close{top:6px;right:6px;width:38px;height:38px;font-size:28px;font-weight:300}
.osp-lightbox-nav{width:44px;height:44px;font-size:30px;font-weight:300;top:50%;transform:translateY(-50%)}
.osp-lightbox-prev{left:7px}.osp-lightbox-next{right:7px}
.osp-lightbox-counter{position:absolute;bottom:10px;right:10px;color:#eee;font-size:12px;letter-spacing:.08em}
.osp-lightbox-nav[hidden]{display:none}
@media(max-width:720px){.osp-lightbox-wrap{min-width:90vw}.osp-lightbox-wrap figure img{max-width:91vw;max-height:75vh}.osp-lightbox-close{top:-42px;right:0}.osp-lightbox-nav{width:33px;height:33px;font-size:24px}.osp-lightbox-prev{left:0}.osp-lightbox-next{right:0}.osp-lightbox-counter{bottom:-30px}}


/* OSP 2.7 — finisz interakcji i typografii */
/* Nagłówek pozostaje widoczny po zniknięciu górnego paska informacyjnego. */
.site-header{position:sticky;top:0;z-index:300;transition:box-shadow .28s ease,background-color .28s ease;isolation:isolate}
.site-header.has-scroll{box-shadow:0 8px 30px rgba(20,32,31,.085);background:rgba(255,255,255,.97);backdrop-filter:blur(16px)}
html{scroll-padding-top:110px}
.utility-inner .emergency-info{display:inline-flex;gap:7px;align-items:center;font-size:10px;letter-spacing:.03em;color:#5e6566;cursor:default;white-space:nowrap}
.utility-inner .emergency-info strong{color:var(--ink);font-size:13px;letter-spacing:-.01em}

/* Jeden styl CTA we wszystkich kartach, ze strzałką jak w pozostałych buttonach. */
.news-grid .news-card-content .news-continue,
.news-grid .news-card .news-continue{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:48px;margin-top:auto;padding:12px 19px;border:1px solid var(--red);border-radius:0;background:var(--red);color:#fff;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
.news-grid .news-card-content .news-continue:hover,
.news-grid .news-card .news-continue:hover{background:var(--red-dark);border-color:var(--red-dark);color:#fff;transform:translateY(-2px)}
.news-continue .news-arrow{display:inline;flex:none;width:auto;height:auto;margin:0;background:transparent;box-shadow:none;border:0;color:inherit!important;border-radius:0;font-size:17px;font-weight:400;line-height:1;transform:none!important}
.news-continue:hover .news-arrow{background:transparent!important;color:#fff!important}

/* Płynne rozmiary tekstów. Większe ekrany: odrobinę większa czytelność. */
.about-copy>p:not(.overline){font-size:clamp(15px,1.13vw,18px)!important;line-height:1.78}
.about-copy .lead{font-size:clamp(19px,1.45vw,23px)!important}
.activities-grid p{font-size:clamp(15px,1.04vw,17px);line-height:1.75}
.head-aside p,.section-head .head-aside p{font-size:clamp(15px,1.04vw,17px);line-height:1.72}
.hall-caption p{font-size:clamp(14px,1.0vw,16px)}
.join-main>p:not(.overline){font-size:clamp(15px,1.16vw,18px);line-height:1.76}
.news-grid .news-card .news-excerpt{font-size:clamp(14px,1.05vw,17px);line-height:1.7}
.news-grid>.news-card-featured .news-excerpt{font-size:clamp(15px,1.13vw,18px);line-height:1.75}
.visit-info p{font-size:clamp(15px,1.12vw,18px)}
.post-content{font-size:clamp(16px,1.17vw,19px)}
.post-lead{font-size:clamp(16px,1.27vw,20px)}
.news-index-intro>p{font-size:clamp(15px,1.1vw,18px)}

/* Galeria zdjęć strony głównej i podstrony — powiększanie bez wychodzenia z witryny. */
.gallery-grid a.gallery-item{cursor:zoom-in}
.gallery-grid a.gallery-item:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.gallery-grid a.gallery-item:after{content:'+';position:absolute;right:15px;bottom:15px;z-index:2;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;color:var(--ink);background:rgba(255,255,255,.9);font-weight:400;font-size:23px;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;pointer-events:none}
.gallery-grid a.gallery-item:hover:after,.gallery-grid a.gallery-item:focus-visible:after{opacity:1;transform:translateY(0)}
.osp-image-lightbox{z-index:2000}
.osp-lightbox-wrap figure img{transition:opacity .13s ease}
.osp-lightbox-wrap figure img.is-loading{opacity:.45}
body.osp-lightbox-open{overflow:hidden}

/* Menu: hamburger przechodzi płynnie w X. */
.menu-toggle{position:relative;overflow:hidden;cursor:pointer;transition:border-color .2s ease,background-color .2s ease}
.menu-toggle span{position:absolute;left:50%;top:50%;width:20px;height:2px;margin:0;background:var(--ink);border-radius:2px;transform:translate(-50%,-50%);transition:transform .28s cubic-bezier(.22,.8,.2,1),opacity .18s ease}
.menu-toggle span:nth-child(1){transform:translate(-50%,-50%) translateY(-6px)}
.menu-toggle span:nth-child(2){transform:translate(-50%,-50%)}
.menu-toggle span:nth-child(3){transform:translate(-50%,-50%) translateY(6px)}
.menu-toggle[aria-expanded="true"]{border-color:#ced4d0;background:#f5f7f5}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translate(-50%,-50%) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;transform:translate(-50%,-50%) scaleX(.15)}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translate(-50%,-50%) rotate(-45deg)}
@media(max-width:950px){
  .site-header .site-nav{display:block;position:absolute;top:100%;left:0;right:0;z-index:301;padding:16px var(--gutter) 24px;background:rgba(255,255,255,.99);box-shadow:0 23px 45px rgba(17,30,27,.1);border-top:1px solid #ecf0ed;border-bottom:1px solid #dfe4e1;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-12px);clip-path:inset(0 0 100% 0);transition:opacity .28s ease,visibility .28s ease,transform .28s ease,clip-path .36s cubic-bezier(.2,.7,.3,1);max-height:calc(100dvh - 86px);overflow-y:auto}
  .site-header .site-nav.is-open{display:block;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);clip-path:inset(0 0 0 0)}
  .site-nav .menu-list{counter-reset:ospnav;gap:0}
  .site-nav .menu-list li{position:relative;border-bottom:1px solid #e9edeb}
  .site-nav .menu-list a{display:flex;align-items:center;gap:15px;padding:18px 12px 18px 4px;font-size:clamp(16px,2.1vw,19px);font-weight:650;line-height:1.3;color:#25302e;transition:color .2s ease,padding-left .2s ease}
  .site-nav .menu-list a:before{counter-increment:ospnav;content:counter(ospnav,decimal-leading-zero);font-size:10px;font-weight:750;letter-spacing:.07em;color:var(--red);min-width:28px}
  .site-nav .menu-list a:after{content:'↗';margin-left:auto;font-size:17px;font-weight:350;color:#788481}
  .site-nav .menu-list a:hover,.site-nav .menu-list .current-menu-item a{color:var(--red);padding-left:10px}
  .header-inner .menu-toggle{margin-left:auto}
}
@media(max-width:720px){
  .site-header .site-nav{max-height:calc(100dvh - 75px);padding:12px var(--gutter) 22px}
  .activities-header{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:34px}
  .activities-header .overline{display:block;margin:0 0 5px;font-size:11px}
  .activities-header .section-heading{display:block;max-width:100%;margin:0;font-size:clamp(28px,7.5vw,39px);line-height:1.12}
  .quick-grid>a,.quick-grid>a+a{border-left:0!important;padding-left:0!important}
  .quick-navigation .quick-grid{border-left:0}
  .gallery-grid a.gallery-item:after{opacity:1;transform:none;width:32px;height:32px;right:10px;bottom:10px;font-size:20px}
  .news-grid .news-card-content .news-continue,.news-grid .news-card .news-continue{min-height:44px;font-size:12px;padding:10px 16px}
  .post-content{font-size:clamp(16px,4.15vw,18px)}
}
@media(prefers-reduced-motion:reduce){
  .menu-toggle span,.site-header .site-nav,.gallery-grid a.gallery-item:after,.site-header{transition:none!important}
}

/* CF7: same styling as the previous hand-built form, but one CF7 submission system. */
.contact-form-wrap .wpcf7{width:100%}
.contact-form-wrap .wpcf7-form{margin:0}
.contact-form-wrap .osp-cf7-fields .form-row{align-items:start}
.contact-form-wrap .osp-cf7-fields .wpcf7-form-control-wrap{display:block;width:100%}
.contact-form-wrap .osp-cf7-fields label{font-size:clamp(13px,1vw,15px);line-height:1.5;gap:7px}
.contact-form-wrap .osp-cf7-fields label .required{color:var(--red)}
.contact-form-wrap .osp-cf7-fields .wpcf7-form-control:not([type=checkbox]):not([type=submit]){font-size:clamp(15px,1vw,16px);min-height:49px;max-width:100%;width:100%}
.contact-form-wrap .osp-cf7-fields textarea.wpcf7-form-control{min-height:135px;resize:vertical}
.contact-form-wrap .osp-cf7-fields .check-consent{font-size:clamp(12px,.92vw,14px);line-height:1.55;display:block;color:var(--soft);font-weight:450}
.contact-form-wrap .check-consent .wpcf7-form-control-wrap{display:inline}
.contact-form-wrap .check-consent .wpcf7-list-item{margin:0}
.contact-form-wrap .check-consent .wpcf7-list-item>label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:inherit;font-weight:450;line-height:1.55;cursor:pointer}
.contact-form-wrap .check-consent .wpcf7-list-item input{margin:3px 0 0;flex-shrink:0;accent-color:var(--red)}
.contact-form-wrap .osp-cf7-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.contact-form-wrap .osp-form input.wpcf7-submit{appearance:none;-webkit-appearance:none;width:auto;min-width:195px;min-height:50px;border:1px solid var(--red);background:var(--red);color:#fff;padding:12px 22px;font-size:clamp(13px,1vw,15px);font-weight:700;line-height:1.4;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.contact-form-wrap .osp-form input.wpcf7-submit:hover{background:var(--red-dark);border-color:var(--red-dark);transform:translateY(-1px)}
.contact-form-wrap .wpcf7-not-valid-tip{font-size:12px;color:#bc3731;line-height:1.5;margin-top:5px}
.contact-form-wrap .wpcf7 form .wpcf7-response-output{margin:18px 0 0;padding:15px 18px;border:1px solid #d8e1dc;background:#fff;font-size:14px;line-height:1.65}
.contact-form-wrap .wpcf7 form.invalid .wpcf7-response-output,.contact-form-wrap .wpcf7 form.failed .wpcf7-response-output{border-color:#c43f38}
.contact-form-wrap .wpcf7 form.sent .wpcf7-response-output{border-color:#81a68b}
.contact-form-wrap .wpcf7-spinner{vertical-align:middle}
@media(max-width:720px){.contact-form-wrap .osp-cf7-fields label{font-size:14px}.contact-form-wrap .osp-form input.wpcf7-submit{width:100%}}
@media(max-width:720px){
  .utility-inner{min-width:0}
  .utility-inner>span:not(.emergency-info){flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .utility-inner .emergency-info{flex:0 0 auto;min-width:max-content;font-size:0;gap:5px}
  .utility-inner .emergency-info strong{font-size:13px;white-space:nowrap}
}
.section[id],.activities-section{scroll-margin-top:112px}
@media(max-width:950px){.section[id],.activities-section{scroll-margin-top:95px}}
@media(max-width:720px){.section[id],.activities-section{scroll-margin-top:82px}}
@media(min-width:783px){body.admin-bar .site-header{top:32px}}


/* OSP 2.8 — profile społecznościowe, jednakowe ikony SVG, hover kart. */
.osp-social-links{display:flex;align-items:center;gap:9px}
.osp-social-links a{width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 39px;padding:0;border:1px solid #dfe4e2;border-radius:50%;text-decoration:none!important;transition:background-color .2s,border-color .2s,color .2s,transform .2s}
.osp-social-links svg{display:block;width:19px;height:19px;flex:0 0 19px}
.osp-social-links a:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.post-side-follow{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:34px}
.post-side-follow>span{color:#8b9492;font-size:10px;line-height:1.4;font-weight:750;letter-spacing:.1em}
.osp-social-links-article a{color:#334442;background:#fff}
.osp-social-links-article a:hover{color:var(--red);background:#fcf4f2;border-color:#e9c7c4;transform:translateY(-2px)}
.footer-social{margin-top:26px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.footer-social>span{font-size:11px;color:#aeb6b4;line-height:1.4}
.osp-social-links-footer a{color:#f0f4f1;border-color:#53605c;background:rgba(255,255,255,.035)}
.osp-social-links-footer a:hover{color:#fff;background:var(--red);border-color:var(--red);transform:translateY(-2px)}

/* The news card can lift on hover, but its CTA arrow changes only on CTA hover. */
.news-grid .news-card .news-continue .news-arrow,
.news-grid .news-card:hover .news-continue .news-arrow,
.news-grid .news-card:hover .news-continue:not(:hover) .news-arrow{
  width:auto;height:auto;flex:none;display:inline-flex;align-items:center;justify-content:center;
  padding:0;margin:0;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:inherit!important;
  font-size:17px;line-height:1;transform:none!important
}
.news-grid .news-card:hover .news-continue:not(:hover){background:var(--red);border-color:var(--red);color:#fff}

/* Keep controls from overlapping even while an image is loading or unavailable. */
.osp-image-lightbox .osp-lightbox-wrap{min-height:180px}

/* Crisp line icons, optically centered in circular controls on all screens. */
.osp-image-lightbox .osp-lightbox-close,
.osp-image-lightbox .osp-lightbox-nav{padding:0;line-height:0;display:flex;align-items:center;justify-content:center}
.osp-image-lightbox .osp-lightbox-close svg,
.osp-image-lightbox .osp-lightbox-nav svg{display:block;width:21px;height:21px;flex:0 0 21px}
.osp-image-lightbox .osp-lightbox-close svg{width:19px;height:19px;flex-basis:19px}

/* Overlay on photos: centered expand icon instead of font '+' / arrows. */
.gallery-grid a.gallery-item::after{content:none!important;display:none!important}
.gallery-grid a.gallery-item .gallery-zoom-icon{
  position:absolute;z-index:2;right:15px;bottom:15px;width:40px;height:40px;
  margin:0;padding:0;border:1px solid rgba(255,255,255,.85);border-radius:50%;
  background:rgba(255,255,255,.96);color:#25302e;
  display:flex!important;align-items:center;justify-content:center;
  opacity:0;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease,background-color .2s;
  pointer-events:none
}
.gallery-grid a.gallery-item .gallery-zoom-icon svg{display:block;width:19px;height:19px;flex:0 0 19px}
.gallery-grid a.gallery-item:hover .gallery-zoom-icon,
.gallery-grid a.gallery-item:focus-visible .gallery-zoom-icon{opacity:1;transform:translateY(0)}
@media(hover:hover){.gallery-grid a.gallery-item:hover .gallery-zoom-icon{background:#fff}}
@media(max-width:720px){
  .gallery-grid a.gallery-item .gallery-zoom-icon{width:34px;height:34px;right:10px;bottom:10px;opacity:1;transform:none}
  .gallery-grid a.gallery-item .gallery-zoom-icon svg{width:17px;height:17px;flex-basis:17px}
  .osp-social-links a{width:41px;height:41px;flex-basis:41px}
  .footer-social{margin-top:23px}
}
@media(prefers-reduced-motion:reduce){
  .osp-social-links a,.gallery-grid a.gallery-item .gallery-zoom-icon{transition:none!important}
}


/* 2.9 — all interior page heroes share the same editorial Aktualności layout. */
.news-index-heading.osp-page-heading{background:#fff;}
.news-index-intro{min-width:0}
.news-index-intro .page-hero-main{min-width:0}
.news-index-intro .page-hero-main h1{overflow-wrap:break-word;hyphens:auto}
.news-index-intro .page-hero-info{min-width:0;align-self:end;padding-bottom:7px}
.news-index-intro .page-hero-info p{font-size:clamp(15px,1.1vw,18px);line-height:1.75;color:var(--soft);margin:0}
.news-index-intro .page-hero-info .page-hero-action{margin-top:20px}
.news-index-heading .overline{margin-bottom:25px}
.news-index-intro .osp-page-typewriter{position:relative}
/* The typewriter output is absolutely positioned. Its positioning context
   must be each title (including single.php), not the page viewport. */
.osp-page-typewriter{position:relative}
/* The invisible original heading reserves exactly the final height while typing. */
.osp-page-typewriter .osp-page-type-measure{display:block;visibility:hidden;pointer-events:none}
.osp-page-typewriter .osp-page-type-output{position:absolute;inset:0;pointer-events:none}
.osp-page-typewriter .osp-page-type-output.is-typing::after{
  content:"";display:inline-block;width:2px;height:.78em;margin-left:5px;
  background:var(--red);vertical-align:-.065em;animation:osp-type-caret .8s steps(1,end) infinite;
}
@media (max-width:950px){
  .news-index-intro{gap:clamp(22px,3.4vw,60px)}
}
@media (max-width:720px){
  .news-index-intro .page-hero-info{padding-bottom:0}
  .news-index-intro .page-hero-info p{max-width:560px}
  .news-index-heading .overline{margin-bottom:19px}
}
@media(prefers-reduced-motion:reduce){
  .osp-page-typewriter .osp-page-type-output.is-typing::after{animation:none!important}
}


/* V2.10 — MDP and document library. Uses the existing 1500px editorial design. */
.downloads-intro{padding:clamp(55px,7vw,105px) 0 20px}
.downloads-intro .downloads-intro-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.55fr);align-items:end;gap:clamp(35px,6vw,110px)}
.downloads-intro h2,.mdp-content h2{font-size:clamp(36px,4vw,62px);line-height:1.13;letter-spacing:-.055em;max-width:850px;margin:0}
.downloads-intro h2 span,.mdp-content h2 span{color:#858e90}
.downloads-intro p:not(.overline){font-size:clamp(15px,1.25vw,18px);line-height:1.75;color:var(--soft);margin:0}
.downloads-main{padding:40px 0 clamp(95px,8vw,135px)}
.downloads-list{border-top:1px solid var(--line)}
.download-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:clamp(16px,2vw,32px);border-bottom:1px solid var(--line);padding:clamp(22px,3vw,39px) 0;transition:background-color .2s}
.download-item:hover{background:#fafaf8}
.download-icon{width:54px;height:64px;display:grid;place-items:center;border:1px solid #d9dedd;background:#f7f8f6;color:var(--red)}
.download-icon svg{display:block;width:30px;height:34px;max-width:none;flex:none;stroke-width:1.7;overflow:visible}
.download-data h3{font-size:clamp(20px,2vw,31px);letter-spacing:-.035em;line-height:1.22;margin:6px 0 7px}
.download-data>p{font-size:clamp(14px,1.06vw,16px);line-height:1.7;color:var(--soft);margin:0;max-width:760px}
.download-kicker{font-size:11px;letter-spacing:.12em;color:var(--red);font-weight:760;line-height:1.4}
.download-action{min-width:161px;gap:17px;white-space:nowrap}
.download-action svg{width:17px;height:17px;flex-shrink:0;stroke-width:2;display:block}
.download-empty{background:var(--warm);padding:clamp(35px,5vw,80px);text-align:center}
.download-empty p{font-size:clamp(15px,1.2vw,18px);color:var(--soft);margin-bottom:0}
.download-empty h3{font-size:clamp(25px,3vw,40px);letter-spacing:-.04em;margin:0 0 12px}
.mdp-overview{padding:clamp(75px,7vw,130px) 0}
.mdp-overview-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr);gap:clamp(50px,10vw,170px)}
.mdp-intro{max-width:720px}
.mdp-intro>p:not(.overline){font-size:clamp(16px,1.28vw,19px);line-height:1.77;color:var(--soft);margin:22px 0 0}
.mdp-intro .mdp-lead{font-weight:560;color:var(--ink)!important;font-size:clamp(18px,1.55vw,23px)!important;line-height:1.6!important}
.mdp-facts{border-top:1px solid var(--ink)}
.mdp-fact{padding:25px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:40px 1fr;gap:15px;align-items:start}
.mdp-fact .mdp-fact-number{font-size:12px;color:var(--red);font-weight:720;letter-spacing:.07em}
.mdp-fact strong{display:block;font-size:clamp(17px,1.45vw,22px);letter-spacing:-.03em;margin-bottom:4px}
.mdp-fact p{font-size:clamp(14px,1.1vw,16px);line-height:1.65;color:var(--soft);margin:0}
.mdp-editorial{padding:clamp(70px,7vw,105px) 0;background:var(--warm)}
.mdp-editorial-inner{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(40px,7vw,120px);align-items:start}
.mdp-editorial-inner h2{font-size:clamp(35px,3.8vw,56px);letter-spacing:-.05em}
.mdp-editorial .mdp-editor-content{font-size:clamp(16px,1.24vw,19px);color:var(--soft);line-height:1.85}
.mdp-editorial .mdp-editor-content>p:first-child{margin-top:0}
.mdp-join{background:#eaecea;padding:clamp(65px,7vw,110px) 0}
.mdp-join-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,8vw,135px);align-items:center}
.mdp-join h2{font-size:clamp(41px,5vw,78px);letter-spacing:-.06em;margin:0 0 18px}
.mdp-join h2 span{color:#808b8b}
.mdp-join .mdp-join-text{font-size:clamp(16px,1.26vw,19px);line-height:1.8;max-width:600px;color:var(--soft)}
.mdp-join-data{border-top:1px solid #bec6c3}
.mdp-join-row{padding:19px 0;border-bottom:1px solid #bec6c3;display:flex;align-items:baseline;justify-content:space-between;gap:25px}
.mdp-join-row span{font-size:12px;text-transform:uppercase;font-weight:750;letter-spacing:.08em;color:var(--soft)}
.mdp-join-row strong{font-size:clamp(16px,1.25vw,19px);font-weight:670;text-align:right}
.mdp-join-data .button{margin-top:25px}
@media(min-width:1101px) and (max-width:1330px){.header-inner{gap:18px}.menu-list{gap:17px}.menu-list a{font-size:12px}.header-contact{padding:11px 13px;gap:15px}}
@media(max-width:1100px) and (min-width:951px){
 .menu-toggle{display:block;margin-left:auto}
 .site-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:16px var(--gutter) 30px;background:white;border-bottom:1px solid var(--line);box-shadow:0 20px 35px #00000015}
 .site-nav.is-open{display:block}
 .menu-list{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .menu-list li{border-bottom:1px solid var(--line)}
 .menu-list a{padding:15px 0;font-size:14px}
}
@media(max-width:760px){
 .downloads-intro{padding:70px 0 15px}
 .downloads-intro .downloads-intro-grid,.mdp-overview-grid,.mdp-editorial-inner,.mdp-join-grid{grid-template-columns:1fr;gap:32px}
 .downloads-main{padding:25px 0 85px}
 .download-item{grid-template-columns:48px minmax(0,1fr);gap:15px;padding:25px 0}
 .download-icon{width:46px;height:57px}
 .download-action{grid-column:2;min-width:0;justify-self:start}
 .download-data h3{font-size:21px}
 .mdp-overview{padding:80px 0}
 .mdp-editorial{padding:70px 0}
 .mdp-join{padding:70px 0}
 .mdp-join-row{flex-direction:column;gap:4px}
 .mdp-join-row strong{text-align:left}
}
@media(prefers-reduced-motion:reduce){.download-item{transition:none}}


/* V2.12 — Documents and statute read-only preview */
.download-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:164px}
.download-secondary{font-size:clamp(12px,1vw,14px);gap:15px;white-space:nowrap}
.statute-section{padding:clamp(35px,5vw,85px) 0 clamp(80px,8vw,130px)}
.statute-back{margin-bottom:clamp(35px,4vw,65px)}
.statute-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;border-bottom:1px solid var(--line);margin-bottom:32px;padding-bottom:26px}
.statute-toolbar h2{font-size:clamp(28px,4vw,54px);margin:0;letter-spacing:-.055em}
.statute-toolbar p{font-size:clamp(13px,1.1vw,16px);color:var(--soft);margin:0}
.statute-toolbar .overline{margin-bottom:15px}
.statute-viewer{padding:clamp(16px,3vw,48px);background:#eef0ef;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;border:1px solid var(--line)}
.statute-pages{display:flex;flex-direction:column;align-items:center;gap:clamp(18px,3vw,35px)}
.statute-page{width:100%;margin:0;text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px}
.statute-page canvas{max-width:100%;height:auto!important;box-shadow:0 14px 40px rgba(20,30,35,.1);display:block;background:white;user-select:none;-webkit-user-select:none;pointer-events:auto}
.statute-page figcaption{font-size:10px;letter-spacing:.12em;font-weight:700;color:var(--soft)}
.statute-loading{color:var(--soft);text-align:center;font-size:clamp(14px,1.2vw,17px);margin:20px 0}
.statute-note{max-width:950px;margin:23px auto 0;text-align:center;color:var(--quiet);font-size:clamp(12px,1vw,14px);line-height:1.8}
@media(max-width:760px){.download-actions{grid-column:2;justify-self:start;align-items:flex-start;min-width:0}.download-secondary{margin-bottom:6px}.statute-toolbar{align-items:flex-start;flex-direction:column}.statute-viewer{padding:14px}}
@media print{.statute-viewer{display:none!important}}


/* V2.12.3 — precyzyjne poprawki wyłącznie widoku artykułu. */
/* Panel boczny trzyma się pod nagłówkiem i kończy przy końcu tekstu artykułu. */
@media (min-width:721px){
  .osp-article .post-body-grid > .post-side{
    position:sticky;
    top:126px;
    align-self:start;
    height:max-content;
  }
}
@media (min-width:721px) and (max-width:950px){
  .osp-article .post-body-grid > .post-side{top:102px}
}
/* Mniejszy rytm list, bez dodatkowych marginesów zagnieżdżonych bloków. */
.osp-article .post-content :where(ul,ol) > li,
.osp-article .post-content :where(.wp-block-list) > li{margin-bottom:0}
.osp-article .post-content :where(ul,ol) > li + li{margin-top:2px}
.osp-article .post-content li > :last-child{margin-bottom:0}
/* Linki w tekście artykułu: delikatna ikona wyjścia i zachowane zawijanie zdań. */
.osp-article .post-content a.osp-article-external-link{
  text-decoration-thickness:1px;
  text-underline-offset:4px;
  overflow-wrap:anywhere;
}
.osp-article .post-content a.osp-article-external-link > .osp-external-icon{
  display:inline-block;
  width:.83em;height:.83em;
  margin-left:.27em;
  vertical-align:-.065em;
  color:currentColor;
  stroke:currentColor;
  fill:none;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.osp-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Nadpisuje domyślne flex-width figure w Gutenberg (także style inline
   i style .has-nested-images). Każdy kafel wypełnia swoją kolumnę. */
.osp-article .post-content :is(.wp-block-gallery,.blocks-gallery-grid,.gallery){
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(10px,1.3vw,17px)!important;
  align-items:stretch;
  width:100%;
  max-width:100%;
  padding:0;
  margin:35px 0 48px;
}
.osp-article .post-content .wp-block-gallery.columns-3,
.osp-article .post-content .gallery.gallery-columns-3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.osp-article .post-content :is(.wp-block-gallery,.blocks-gallery-grid,.gallery) > :is(figure.wp-block-image,li.blocks-gallery-item,figure.gallery-item,.gallery-item){
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  flex:initial!important;
  flex-grow:0!important;
  flex-basis:auto!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  box-sizing:border-box;
  position:relative;
}
/* Obsługa także starszej struktury blocks-gallery-grid wewnątrz galerii. */
.osp-article .post-content .wp-block-gallery > .blocks-gallery-grid{
  grid-column:1/-1;
  margin:0!important;
}
.osp-article .post-content :is(.wp-block-gallery,.blocks-gallery-grid,.gallery) :is(figure.wp-block-image,li.blocks-gallery-item,figure.gallery-item,.gallery-item) img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:4/3;
  min-height:0!important;
  object-fit:cover!important;
  object-position:center;
  border-radius:13px;
}
.osp-article .post-content .gallery :is(.gallery-icon,.gallery-icon a){
  display:block;width:100%;height:auto;
}
.osp-article .post-content .wp-block-gallery > :is(figcaption,.blocks-gallery-caption),
.osp-article .post-content .gallery > .gallery-caption{
  grid-column:1/-1;
}
.osp-article .post-content :is(.wp-block-gallery,.blocks-gallery-grid,.gallery) figure figcaption{
  grid-column:auto;
  font-size:12px;
  line-height:1.5;
  margin-top:8px;
}
@media(max-width:720px){
  .osp-article .post-content .wp-block-gallery.columns-3,
  .osp-article .post-content .gallery.gallery-columns-3{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .osp-article .post-content :is(.wp-block-gallery,.blocks-gallery-grid,.gallery) img{
    aspect-ratio:1/1;
    border-radius:10px;
  }
}
