@font-face{font-family:'PSP Old Standard';src:url('fonts/OldStandard-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'PSP Old Standard';src:url('fonts/OldStandard-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
.psp-columns{display:grid;gap:32px}.psp-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.psp-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.psp-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.psp-photo{width:100%;height:auto;border-radius:12px}.psp-video{width:100%;aspect-ratio:16/9;border:0;border-radius:12px}.psp-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:24px;scroll-behavior:smooth}.psp-track>*{scroll-snap-align:start;flex-shrink:0}.psp-slider>figure{flex-basis:100%;margin:0}.psp-slider img{width:100%;height:auto;max-height:650px;object-fit:contain}.psp-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.psp-gallery figure{margin:0}.psp-gallery img{width:100%;height:auto}.psp-posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.psp-posts-carousel>.psp-post{flex-basis:calc((100% - 48px)/3)}.psp-post img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.psp-post h3{font-size:26px}.psp-post time{font-size:14px;color:#626e79}.psp-post{min-width:0}.psp-track-controls{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.psp-track-controls button{border:1px solid #8097a8;background:#fff;color:#17384b;border-radius:6px;padding:8px 18px;cursor:pointer}.psp-track-controls button:focus-visible{outline:3px solid #0b6f9c}.psp-body{line-height:1.7}@media(max-width:760px){.psp-columns,.psp-posts-grid{grid-template-columns:1fr}.psp-posts-carousel>.psp-post{flex-basis:85%}.psp-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.psp-track{scroll-behavior:auto}}
/* Spersonalizowany naglowek i zachowane zdjecia dawnego slidera. */
body.psp-korczak-theme .site-header{background:#356761!important}
body.psp-korczak-theme .header-nav{background:#faf8f2}
body.psp-korczak-theme .site-header .logo h1{font-family:'PSP Old Standard',Georgia,serif;font-size:30px;line-height:1.15}
body.psp-korczak-theme .site-header .tagline{letter-spacing:.4px}
.psp-school-hero{padding-top:180px;background:#dfe9df}
.psp-hero-picture{position:relative}
.psp-hero-picture>img{display:block;width:100%;height:auto}
.psp-hero-copy{position:absolute;left:6.5%;top:56%;transform:translateY(-50%);width:36%;color:#173d37}
.psp-hero-copy h1{font-family:'PSP Old Standard',Georgia,'Times New Roman',serif!important;font-size:clamp(36px,4.7vw,76px);font-weight:700;line-height:1.05;margin:0 0 20px;color:#173d37}
.psp-hero-copy p{font-family:'PSP Old Standard',Georgia,serif;line-height:1.25;margin:0 0 8px;color:#173d37}
.psp-hero-patron{font-size:clamp(24px,2.4vw,38px)}
.psp-hero-place{font-size:clamp(19px,1.8vw,29px)}
.psp-footer-photos{padding:42px 0 64px;background:#e3ece4;color:#24423b}
.psp-footer-photos h2{font-family:'PSP Old Standard',Georgia,serif;font-size:34px;color:#24423b;margin-bottom:20px}
.psp-footer-track figure{flex-basis:calc((100% - 48px)/3);margin:0}
.psp-footer-track img{width:100%;height:auto;object-fit:contain;border-radius:10px}
body.psp-korczak-theme #footer-wrapper{margin-top:0;background:#356761}
body.psp-korczak-theme .footerbottom{display:none}
body.psp-korczak-theme .copyright-wrapper{background:#2b5752}
@media(max-width:980px){.psp-school-hero{padding-top:0}.psp-hero-copy{left:5%;width:39%}.psp-hero-copy h1{font-size:clamp(26px,5vw,48px);margin-bottom:12px}.psp-hero-patron{font-size:clamp(18px,2.7vw,28px)}.psp-hero-place{font-size:clamp(16px,2.2vw,24px)}}
@media(max-width:600px){.psp-hero-copy{position:static;transform:none;width:auto;padding:26px 22px;background:#eef2e8}.psp-hero-copy h1{font-size:40px}.psp-hero-patron{font-size:26px}.psp-hero-place{font-size:21px}.psp-footer-track figure{flex-basis:85%}.psp-footer-track img{height:auto}}
/* Spojna paleta inspirowana ilustracja Korczaka; ustawienia sekcji w panelu maja pierwszenstwo. */
body.psp-korczak-theme{background:#faf8f2;color:#293e39}
body.psp-korczak-theme section.menu_page{padding-top:64px;padding-bottom:64px;background-image:none!important;line-height:1.65}
body.psp-korczak-theme #section1{background-color:#faf8f2!important}
body.psp-korczak-theme #section2{background-color:#e5eee6!important}
body.psp-korczak-theme #section3{background-color:#e8eef2!important}
body.psp-korczak-theme #section4{background-color:#f3ece2!important}
body.psp-korczak-theme #section5{background-color:#eceee4!important}
body.psp-korczak-theme #section6{background-color:#f1e9e5!important}
body.psp-korczak-theme #section7,body.psp-korczak-theme #section8{background-color:#f5f3ed!important}
body.psp-korczak-theme h1,body.psp-korczak-theme h2,body.psp-korczak-theme h3,body.psp-korczak-theme h4,body.psp-korczak-theme h5,body.psp-korczak-theme h6{font-family:'PSP Old Standard',Georgia,'Times New Roman',serif!important;letter-spacing:0;word-spacing:.05em}
body.psp-korczak-theme section.menu_page h2.section_title,body.psp-korczak-theme section.menu_page h2.section_inner_title{color:#294b41!important;font-size:clamp(30px,3.5vw,50px)!important;line-height:1.2;margin-bottom:30px;text-transform:none}
body.psp-korczak-theme section.menu_page .subtitle{color:#3e504a!important;font-size:18px!important;line-height:1.75}
body.psp-korczak-theme section.menu_page .container{animation:none!important;transform:none!important;opacity:1!important;visibility:visible!important}
body.psp-korczak-theme section.menu_page .sp-pcp-title a{color:#294b41!important;font-family:'PSP Old Standard',Georgia,serif!important;line-height:1.3}
body.psp-korczak-theme section.menu_page .sp-pcp-post{background:#fffdf8!important;border-radius:12px!important;padding:16px!important;box-sizing:border-box;box-shadow:0 3px 14px #294b410a}
body.psp-korczak-theme section.menu_page .sp-pcp-post-content{color:#3e504a!important;line-height:1.65}
body.psp-korczak-theme section.menu_page .pcp-readmore-link{background:#356761!important;color:#fff!important;border-color:#356761!important;border-radius:5px!important}
body.psp-korczak-theme .fourpagebox{border-radius:12px}
body.psp-korczak-theme .footer h5{font-size:30px;line-height:1.3}
.psp-hero-copy h1{word-spacing:.08em;line-height:1.12;font-size:clamp(34px,4.3vw,68px)}
@media(max-width:600px){body.psp-korczak-theme section.menu_page{padding-top:40px;padding-bottom:40px}.psp-hero-copy h1{font-size:40px}}

.psp-hero-contact{font-family:'PSP Old Standard',Georgia,serif;font-size:clamp(14px,1.1vw,17px);font-style:normal;line-height:1.6;margin-top:22px;color:#234d43}.psp-hero-contact>span{display:block}.psp-hero-contact a{color:inherit;text-decoration:none}.psp-hero-contact a:hover,.psp-hero-contact a:focus-visible{text-decoration:underline}
@media(max-width:600px){.psp-hero-contact{font-size:15px;margin-top:18px}}

body.home.psp-korczak-theme section.psp-school-hero{padding:200px 0 0!important}
@media(max-width:980px){body.home.psp-korczak-theme section.psp-school-hero{padding:0!important}}

body.psp-korczak-theme{font-family:'PSP Old Standard',Georgia,serif;font-size:17px}
body.psp-korczak-theme .toggle a{background-color:#527b6b!important;color:#fff!important}
body.psp-korczak-theme .fourpagebox h3{color:#356761}
.psp-hero-contact{color:#14332a}
body.psp-korczak-theme #section7{padding:34px 0!important}
body.psp-korczak-theme #section7 h2.section_title{font-size:30px!important;margin-bottom:18px}
.psp-privacy-links{list-style:none;padding:0;margin:0;display:flex;gap:12px 32px;flex-wrap:wrap;justify-content:center}
.psp-privacy-links li{margin:0}.psp-privacy-links a{color:#294b41;text-decoration:underline;text-underline-offset:4px;font-size:17px}

/* Zwarta stopka: pusta kolumna motywu nie zajmuje miejsca. */
body.psp-korczak-theme #footer-wrapper .footer{padding:28px 0 22px;font-size:15px;line-height:1.5}
body.psp-korczak-theme #footer-wrapper .cols-4{display:grid;grid-template-columns:1fr .85fr 1.2fr;gap:32px}
body.psp-korczak-theme #footer-wrapper .cols-4>[class^="widget-column-"]{float:none!important;width:auto!important;margin:0!important;padding:0!important}
body.psp-korczak-theme #footer-wrapper .widget-column-2:has(h5:empty):not(:has(a,p,ul,form,img)){display:none}
body.psp-korczak-theme #footer-wrapper .cols-4>.clear{display:none}
body.psp-korczak-theme #footer-wrapper .footer h5{font-size:22px;line-height:1.3;margin:0 0 12px}
body.psp-korczak-theme #footer-wrapper .recent-post li{padding-bottom:6px;margin-bottom:6px}
body.psp-korczak-theme #footer-wrapper .recent-post h6{font-size:16px;line-height:1.3;margin-bottom:3px}
body.psp-korczak-theme #footer-wrapper .recent-post .ftrpostdesc{font-size:12px}
.psp-footer-mission summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;margin:0 0 12px}
.psp-footer-mission p{margin:10px 0 0}
.psp-footer-photos{padding:22px 0 26px}.psp-footer-photos h2{font-size:26px;margin-bottom:14px}.psp-footer-track img{height:auto}
body.psp-korczak-theme .copyright-wrapper{padding:12px 0;font-size:12px}
@media(max-width:760px){body.psp-korczak-theme #footer-wrapper .cols-4{grid-template-columns:1fr;gap:24px}.psp-footer-track img{height:auto}body.psp-korczak-theme #footer-wrapper .footer{padding:26px 0}}

.psp-hero-motto{margin:0;padding:0;border:0;background:none;box-shadow:none;text-align:left}.psp-hero-copy .psp-hero-motto p{font-family:'PSP Old Standard',Georgia,serif;font-size:clamp(32px,4.2vw,66px);font-weight:700;line-height:1.18;margin:0 0 22px;color:#173d37}.psp-hero-motto cite{font-family:'PSP Old Standard',Georgia,serif;font-size:clamp(20px,2vw,30px);font-style:normal;color:#294f47}@media(max-width:600px){.psp-hero-copy .psp-hero-motto p{font-size:36px}}
