@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
    --ink: #17364b;
    --ink-soft: #405d6a;
    --paper: #fffdf8;
    --cream: #f7f2e8;
    --teal: #176b6b;
    --teal-dark: #0e5052;
    --coral: #a83c2a;
    --yellow: #f4c84a;
    --line: #dbe3df;
    --shadow: 0 12px 34px rgba(23, 54, 75, .08);
    --shadow-lg: 0 24px 70px rgba(23, 54, 75, .13);
    --focus: #8a5a00;
    --focus-light: #ffd966;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Source Sans 3', Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; }
body.large-text { font-size: 1.25rem; }
body.high-contrast { --ink: #000; --ink-soft: #111; --paper: #fff; --cream: #fff; --teal: #003b3b; --teal-dark: #000; --coral: #850f00; --line: #000; --shadow: none; --shadow-lg: none; }
body.high-contrast .hero,
body.high-contrast .page-hero { background: #fff; }
body.high-contrast .values-grid article,
body.high-contrast .day-section,
body.high-contrast .contact-card,
body.high-contrast .faq-section,
body.high-contrast .section-navigation,
body.high-contrast .resource-grid a,
body.high-contrast .audience-card,
body.high-contrast .prefooter,
body.high-contrast .search-dialog,
body.high-contrast .result-list article { background: #fff; }
body.high-contrast .activity-section { background: #000; }
body.high-contrast .news-card,
body.high-contrast .values-grid article,
body.high-contrast .content-article section,
body.high-contrast .quick-links,
body.high-contrast .contact-card,
body.high-contrast .section-navigation,
body.high-contrast .resource-grid a,
body.high-contrast .faq-list details,
body.high-contrast .audience-card,
body.high-contrast .prefooter,
body.high-contrast .search-dialog,
body.high-contrast .result-list article { border-width: 2px; }
body.high-contrast a { text-decoration-thickness: 2px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, strong { font-family: 'Nunito', Arial, sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
:target { scroll-margin-top: 9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: 1rem; transform: translateY(-180%); background: white; color: #092f42; padding: .75rem 1rem; font-weight: 800; box-shadow: 0 6px 24px #0003; }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.utility-bar { background: var(--teal-dark); color: white; font-size: .93rem; }
.utility-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-inner p { margin: 0; font-weight: 700; }
.utility-links { display: flex; align-items: center; gap: 1.2rem; }
.utility-links a { text-underline-offset: 3px; }
.access-button { width: 40px; height: 36px; border: 2px solid rgba(255, 255, 255, .8); background: transparent; color: white; border-radius: 6px; font-weight: 800; cursor: pointer; }
.access-button:hover, .access-button[aria-pressed="true"] { background: white; color: var(--teal-dark); }
.access-button:disabled { cursor: not-allowed; opacity: .78; }
.motion-button { font-size: .78rem; }
.site-header { background: rgba(255, 253, 248, .98); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; box-shadow: 0 5px 24px rgba(23,54,75,.05); }
.header-main { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; line-height: 1; flex-shrink: 0; }
.brand img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--yellow); }
.brand strong { display: block; font-size: 1.25rem; font-weight: 900; }
.brand small { display: block; margin-top: .35rem; color: var(--teal); font-size: .94rem; font-weight: 800; letter-spacing: .03em; }
.main-navigation > ul { list-style: none; display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.45rem); margin: 0; padding: 0; }
.main-navigation > ul > li { position: relative; display: flex; align-items: center; }
.main-navigation a { text-decoration: none; font-weight: 700; }
.main-navigation > ul > li > a { padding: 1.15rem .15rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.main-navigation > ul > li > a:hover, .main-navigation > ul > li > a:focus-visible, .main-navigation > ul > li > a[aria-current="page"] { border-color: var(--coral); color: var(--teal-dark); }
.submenu-toggle { border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: .7rem .2rem .7rem .35rem; font-size: 1.2rem; }
.submenu-toggle > span[aria-hidden="true"] { display: inline-block; transition: transform 180ms ease; }
.submenu-toggle[aria-expanded="true"] > span[aria-hidden="true"] { transform: rotate(180deg); }
.submenu { position: absolute; visibility: hidden; opacity: 0; transform: translateY(8px); top: calc(100% - 8px); left: 0; min-width: 255px; margin: 0; padding: .55rem; list-style: none; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); transition: opacity .15s ease, transform .15s ease; }
.submenu a { display: block; padding: .65rem .75rem; border-radius: 6px; }
.submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current="page"] { background: #e9f4f0; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu, .has-submenu.submenu-open > .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.menu-button { display: none; border: 0; background: var(--teal); border-radius: 10px; width: 48px; height: 48px; padding: 11px; cursor: pointer; }
.menu-button i { display: block; height: 2px; background: white; margin: 5px 0; }
.search-trigger { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--teal-dark); text-decoration: none; font-weight: 800; flex-shrink: 0; }
.search-trigger:hover { background: #e9f4f0; border-color: var(--teal); }
.search-symbol { font-size: 1.55rem; line-height: 1; }
.search-dialog { width: min(680px, calc(100% - 28px)); max-height: min(82vh, 620px); margin: auto; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(5,30,40,.35); }
.search-dialog[open] { animation: dialog-arrive 240ms ease-out both; }
.search-dialog::backdrop { background: rgba(7,31,43,.72); backdrop-filter: blur(3px); }
.search-dialog-header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.search-dialog h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.search-dialog > p { color: var(--ink-soft); }
.dialog-close { width: 46px; height: 46px; border: 2px solid var(--line); border-radius: 50%; background: white; color: var(--ink); cursor: pointer; font-size: 1.8rem; line-height: 1; }
.dialog-close:hover { border-color: var(--teal); background: #e9f4f0; }
.site-search-form,
.search-page-form { display: grid; gap: .45rem; }
.site-search-form label,
.search-page-form label { font-weight: 800; }
.site-search-form > div,
.search-page-form > div { display: grid; grid-template-columns: 1fr auto; gap: .7rem; }
.site-search-form input,
.search-page-form input { min-width: 0; min-height: 50px; padding: .7rem .9rem; border: 2px solid #859993; border-radius: var(--radius-sm); background: white; color: var(--ink); font: inherit; }
.site-search-form input:focus,
.search-page-form input:focus { border-color: var(--teal-dark); }
.hero { background: linear-gradient(135deg, var(--cream) 0%, #f4eee1 100%); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.hero-copy { padding: 6.4rem 4.8rem 5.7rem 0; align-self: center; position: relative; }
.hero-copy::before { content: ''; display: block; width: 64px; height: 8px; background: var(--yellow); border-radius: 999px; margin-bottom: 1.4rem; transform-origin: left; animation: accent-grow 650ms ease-out both; }
.eyebrow { margin: 0 0 .55rem; color: var(--coral); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .84rem; }
h1 { font-size: clamp(2.55rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; margin: 0; max-width: 760px; }
.hero-lead { color: var(--ink-soft); font-size: 1.18rem; max-width: 600px; margin: 1.5rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .75rem 1.35rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 800; border: 0; cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 8px 24px rgba(14,80,82,.25); }
.button-secondary { border: 2px solid var(--teal); color: var(--teal-dark); background: transparent; }
.button-light { background: white; color: var(--teal-dark); }
.hero-photo { min-height: 560px; background: linear-gradient(90deg, var(--cream) 0%, transparent 15%), url('../images/hero-kredki.jpg') center / cover no-repeat; position: relative; }
.welcome-note { position: absolute; right: 4%; bottom: 7%; display: flex; gap: .8rem; align-items: center; max-width: 320px; background: #fffdf7; border: 1px solid #eadfca; border-radius: var(--radius-sm); box-shadow: 0 16px 45px #17364b29; padding: 1.1rem 1.25rem; transform: rotate(-2deg); }
.welcome-note span { color: var(--coral); font-size: 1.8rem; }
.welcome-note p { margin: 0; line-height: 1.35; }
.welcome-note strong { font-size: 1.1rem; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 0 0 var(--radius-md) var(--radius-md); background: white; transform: translateY(-1px); box-shadow: var(--shadow); overflow: hidden; }
.quick-links a { display: grid; grid-template-columns: auto 1fr auto; column-gap: 1rem; align-items: center; padding: 1.55rem 1.7rem; text-decoration: none; min-height: 94px; }
.quick-links a + a { border-left: 1px solid var(--line); }
.quick-links .quick-number { color: var(--coral); font-family: 'Nunito', sans-serif; font-weight: 900; }
.quick-links a > span:nth-child(2) { display: grid; }
.quick-links .quick-arrow { color: var(--teal-dark); font-size: 1.5rem; transition: transform .18s ease; }
.quick-links strong { font-size: 1.1rem; }
.quick-links small { color: var(--ink-soft); font-size: .94rem; }
.quick-links a:hover { background: #f2f8f5; }
.quick-links a:hover .quick-arrow { transform: translateX(4px); }
.welcome-section { padding-block: 7rem 2rem; }
.welcome-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 3rem; }
.welcome-intro h2 { margin: 0; max-width: 760px; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.12; letter-spacing: -.025em; }
.welcome-intro > p { margin: 0; color: var(--ink-soft); font-size: 1.12rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.values-grid article { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); }
.values-grid article:nth-child(2) { background: #fff8e4; }
.values-grid article:nth-child(3) { background: #edf7f3; }
.value-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-dark); color: white; font: 900 1.5rem 'Nunito', sans-serif; margin-bottom: 1.4rem; }
.values-grid article:nth-child(2) .value-icon { background: #7e4f00; }
.values-grid article:nth-child(3) .value-icon { background: #8b2d1d; }
.values-grid h3 { margin: 0; font-size: 1.35rem; }
.values-grid p { margin: .65rem 0 0; color: var(--ink-soft); }
.news-section { padding-block: 5.5rem 6.5rem; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 420px); align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; }
.section-heading > p { margin: 0; color: var(--ink-soft); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-visual, .news-image { width: 100%; min-height: 190px; height: 190px; }
.news-image { object-fit: cover; }
.news-visual { display: grid; place-items: center; overflow: hidden; }
.news-visual span { font: 900 clamp(2.2rem, 5vw, 4.2rem) / 1 'Nunito', sans-serif; color: rgba(23, 54, 75, .78); letter-spacing: .08em; transform: rotate(-4deg); }
.tone-1 { background: #ddefea; }
.tone-2 { background: #fbe4d9; }
.tone-3 { background: #f8edc8; }
.news-body { padding: 1.4rem 1.5rem 1.6rem; }
.news-date { color: var(--teal); font-size: .92rem; font-weight: 700; margin: 0 0 .65rem; }
.news-body h3 { font-size: 1.35rem; line-height: 1.25; margin: 0; }
.news-body h3 a { text-decoration: none; }
.news-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-body > p:not(.news-date) { color: var(--ink-soft); margin: .75rem 0 1.1rem; }
.read-more, .text-link { color: var(--teal-dark); font-weight: 800; text-underline-offset: 4px; }
.day-section { background: #edf5f1; border-block: 1px solid var(--line); padding-block: 5.5rem; }
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.day-heading h2 { margin: 0; max-width: 680px; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.12; }
.day-heading > p:not(.eyebrow) { color: var(--ink-soft); max-width: 650px; margin: 1.2rem 0 1.5rem; }
.facts-card { margin: 0; background: var(--teal-dark); color: white; border-radius: var(--radius-lg); padding: .7rem 2rem; box-shadow: var(--shadow-lg); }
.facts-card div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.45rem 0; }
.facts-card div + div { border-top: 1px solid rgba(255,255,255,.28); }
.facts-card dt { color: #dcece7; font-weight: 600; }
.facts-card dd { margin: 0; font: 900 1.35rem 'Nunito', sans-serif; text-align: right; }
.facts-card a { text-underline-offset: 4px; }
.parent-hub { padding-block: 7rem; }
.parent-hub-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.parent-hub-heading h2 { max-width: 720px; margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.12; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.resource-grid a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 118px; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.resource-grid a:hover { border-color: var(--teal); background: #f5faf8; }
.resource-grid a > span:nth-child(2) { display: grid; gap: .2rem; }
.resource-grid strong { font-size: 1.12rem; }
.resource-grid small { color: var(--ink-soft); font-size: .95rem; }
.resource-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #dcefe9; color: var(--teal-dark); font: 900 1.25rem 'Nunito', sans-serif; }
.activity-section { background: var(--teal-dark); color: white; padding-block: 6.5rem; }
.activity-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.activity-intro { position: sticky; top: 10.5rem; }
.activity-intro h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.12; }
.activity-intro > p:not(.eyebrow) { color: #e0efeb; margin: 1.2rem 0 1.8rem; }
.activity-list { display: grid; gap: .8rem; }
.activity-list article { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,.34); border-radius: var(--radius-md); background: rgba(255,255,255,.07); }
.activity-list article > span { color: #ffd966; font: 900 1rem 'Nunito', sans-serif; letter-spacing: .08em; }
.activity-list h3 { margin: 0; font-size: 1.3rem; }
.activity-list p { margin: .45rem 0 0; color: #e0efeb; }
.life-section { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; padding-block: 7rem; }
.life-gallery { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; align-items: end; padding: 0 2rem 2.5rem 0; }
.life-gallery::before { content: ''; position: absolute; z-index: -1; inset: 4rem 0 0 4rem; border-radius: var(--radius-lg); background: #e6f2ee; }
.life-gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: white; box-shadow: var(--shadow-lg); }
.life-gallery img { width: 100%; object-fit: cover; }
.life-photo-main img { height: 470px; }
.life-photo-small img { height: 300px; }
.life-gallery figcaption { padding: .85rem 1rem; color: var(--ink-soft); font-size: .92rem; font-weight: 700; }
.life-badge { position: absolute; right: 0; top: 1.3rem; width: 130px; height: 130px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--yellow); color: #403000; box-shadow: var(--shadow); transform: rotate(4deg); }
.life-badge strong { font-size: 1.25rem; }
.life-badge span { max-width: 90px; font-size: .77rem; line-height: 1.2; }
.life-copy h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.65rem); line-height: 1.1; }
.life-copy > p:not(.eyebrow) { margin: 1.25rem 0; color: var(--ink-soft); font-size: 1.1rem; }
.check-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 700; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: .05rem; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; background: #dcefe9; color: var(--teal-dark); font-size: .78rem; font-weight: 900; }
.faq-section { background: #f5efe3; border-block: 1px solid var(--line); padding-block: 6.5rem; }
.faq-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq-intro { position: sticky; top: 10.5rem; }
.faq-intro h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.12; }
.faq-intro > p:not(.eyebrow) { color: var(--ink-soft); margin: 1.2rem 0 1.7rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; overflow: hidden; }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 1.25rem 3.8rem 1.25rem 1.35rem; font: 800 1.08rem 'Nunito', sans-serif; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 1.25rem; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--teal-dark); color: white; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-list details p { margin: 0; padding: 1.15rem 1.35rem 1.35rem; color: var(--ink-soft); }
.audience-section { padding-block: 7rem; }
.audience-heading { max-width: 760px; margin-bottom: 2.5rem; }
.audience-heading h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.12; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.audience-card { padding: clamp(2rem, 4vw, 3.2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #edf6f2; box-shadow: var(--shadow); }
.audience-card.recruitment-card { background: #fbf0dc; }
.audience-label { margin: 0 0 1rem; color: var(--coral); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 900; }
.audience-card h3 { margin: 0; max-width: 520px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; }
.audience-card > p:not(.audience-label) { color: var(--ink-soft); }
.audience-card ul { list-style: none; margin: 1.6rem 0 0; padding: 1.15rem 0 0; border-top: 1px solid rgba(23,54,75,.18); display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; }
.audience-card a { color: var(--teal-dark); font-weight: 800; text-underline-offset: 4px; }
.about-strip { background: #122f3e; color: white; padding-block: 5rem; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 3rem; align-items: center; }
.about-grid h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; }
.about-grid > p { margin: 0; color: #e2f0ec; }
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--cream), #eaf4f0); padding-block: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ''; position: absolute; width: 260px; height: 260px; border: 54px solid rgba(23,107,107,.08); border-radius: 50%; right: max(-80px, calc((100vw - 1180px)/2 - 80px)); top: -70px; pointer-events: none; animation: soft-arrive 720ms ease-out both; }
.page-hero .page-shell { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.page-hero .page-shell > p:last-child { max-width: 760px; color: var(--ink-soft); font-size: 1.25rem; margin: 1.4rem 0 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 5rem; padding-block: 5rem 7rem; align-items: start; }
.content-article { max-width: 760px; }
.content-article section { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); }
.content-article section + section { margin-top: 1.5rem; }
.content-article h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.2; margin: 0 0 1rem; }
.content-article p { color: var(--ink-soft); white-space: normal; }
.content-article li { margin-block: .55rem; padding-left: .35rem; }
.content-article li::marker { color: var(--coral); }
.content-meta { margin: 0 0 .45rem !important; color: var(--teal-dark) !important; font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.reading-layout section { border-left: 7px solid var(--teal); }
.reading-layout section:nth-child(2) { border-left-color: #8b2d1d; }
.reading-layout section:nth-child(3) { border-left-color: #7e4f00; }
.sidebar-stack { display: grid; gap: 1.25rem; position: sticky; top: 10.5rem; }
.section-navigation { border: 1px solid var(--line); border-radius: var(--radius-md); background: white; padding: 1.35rem; box-shadow: var(--shadow); }
.section-navigation h2 { margin: 0 0 .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.section-navigation ul { list-style: none; margin: 0; padding: 0; }
.section-navigation li + li { border-top: 1px solid #e7ece9; }
.section-navigation a { display: flex; min-height: 44px; align-items: center; padding: .6rem .35rem; color: var(--ink-soft); text-decoration: none; font-weight: 700; }
.section-navigation a:hover, .section-navigation a[aria-current="page"] { color: var(--teal-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-card { border-top: 7px solid var(--yellow); border-radius: var(--radius-md); background: #eef6f3; padding: 2rem; position: sticky; top: 10.5rem; box-shadow: var(--shadow); }
.sidebar-stack .contact-card { position: static; }
.contact-card h2 { font-size: 1.6rem; line-height: 1.2; margin: 0; }
.contact-card > a:not(.button) { display: block; font: 900 1.45rem 'Nunito', sans-serif; color: var(--teal-dark); margin: 1.2rem 0; }
.embedded-resources,
.recruitment-process,
.gallery-preview,
.contact-details { margin-top: 1.5rem; background: #f8fbf9 !important; }
.compact-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.4rem; }
.compact-link-grid a { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; color: var(--teal-dark); font-weight: 800; text-decoration: none; }
.compact-link-grid a:hover { border-color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.recruitment-process ol { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.recruitment-process li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 0; }
.recruitment-process li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-dark); color: white; font: 900 1.05rem 'Nunito', sans-serif; }
.recruitment-process strong { font-size: 1.08rem; }
.recruitment-process li p { margin: .2rem 0 0; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-top: 1.5rem; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: white; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; }
.gallery-grid figcaption { padding: .85rem 1rem; color: var(--ink-soft); font-weight: 700; }
.contact-details dl { margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.contact-details dl div { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.contact-details dt { color: var(--ink-soft); font-weight: 700; }
.contact-details dd { margin: 0; font-weight: 800; }
.contact-details a { color: var(--teal-dark); text-underline-offset: 3px; }
.article-main { background: var(--cream); padding-block: 4.5rem 7rem; }
.article { max-width: 850px; background: white; border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 5rem); box-shadow: var(--shadow-lg); }
.article h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.breadcrumbs { margin-bottom: 2.4rem; font-size: .94rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; color: var(--ink-soft); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: '/'; margin-right: .45rem; color: #71858e; }
.breadcrumbs a { color: var(--teal-dark); text-underline-offset: 3px; }
.breadcrumbs [aria-current="page"] { font-weight: 700; color: var(--ink); }
.search-hero { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.search-page-form { max-width: 760px; margin-top: 2rem; }
.search-page-form input { font-size: 1.08rem; }
.search-results { padding-block: 4.5rem 7rem; }
.search-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.search-results-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.search-results-heading > p { margin: 0; color: var(--ink-soft); }
.search-empty { max-width: 760px; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-left: 7px solid var(--yellow); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); }
.search-empty h2,
.search-empty h3 { margin-top: 0; }
.search-empty a { color: var(--teal-dark); font-weight: 800; text-underline-offset: 3px; }
.result-group + .result-group { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.result-group > h3 { font-size: 1.5rem; }
.result-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.result-list article { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); }
.result-type { margin: 0 0 .55rem; color: var(--coral); text-transform: uppercase; letter-spacing: .07em; font-size: .78rem; font-weight: 900; }
.result-list h4 { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.result-list h4 a { text-decoration: none; }
.result-list h4 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.result-list article > p:not(.result-type) { color: var(--ink-soft); }
.article-date { color: var(--teal); font-weight: 700; margin-block: 1.2rem 2.2rem; }
.article-image { width: 100%; max-height: 480px; object-fit: cover; margin-bottom: 2rem; }
.article-content { font-size: 1.16rem; color: var(--ink-soft); }
.not-found { padding-block: 8rem; min-height: 65vh; }
.not-found p:not(.eyebrow) { max-width: 600px; margin-bottom: 2rem; }
.site-footer { background: #122f3e; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 3rem; padding-block: 5rem; }
.footer-brand { font: 900 1.4rem 'Nunito', sans-serif; text-decoration: none; }
.footer-grid p, .footer-grid address { color: #cadae0; font-style: normal; }
.footer-grid h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: .5rem; }
.footer-grid a { text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); color: #cadae0; font-size: .9rem; }
.footer-bottom .page-shell { display: flex; justify-content: space-between; gap: 1rem; }
.prefooter { background: #eef6f3; border-top: 1px solid var(--line); padding-block: 3.5rem; }
.prefooter-grid { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 2.5rem; align-items: center; }
.prefooter h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.prefooter-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.prefooter-details p { margin: 0; }
.prefooter-details span { display: block; color: var(--ink-soft); font-size: .85rem; }
.prefooter-details strong,
.prefooter-details a { display: block; color: var(--ink); font-weight: 800; text-underline-offset: 3px; }

@keyframes accent-grow {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}
@keyframes soft-arrive {
    from { opacity: 0; transform: scale(.92); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes dialog-arrive {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal-ready [data-reveal] {
    opacity: 0;
    filter: saturate(.72);
    transition:
        opacity 560ms ease-out var(--reveal-delay, 0ms),
        filter 560ms ease-out var(--reveal-delay, 0ms);
}
.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    filter: saturate(1);
}
body.reduce-motion {
    scroll-behavior: auto;
}
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
}
body.reduce-motion [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
}

@media (max-width: 1020px) {
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border-top: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
    .main-navigation.open { display: block; }
    .main-navigation > ul { display: block; padding: 1rem 20px 1.5rem; }
    .main-navigation > ul > li { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
    .main-navigation > ul > li > a { padding: 1rem .25rem; }
    .submenu-toggle { min-width: 48px; }
    .submenu { position: static; grid-column: 1 / -1; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; border-top: 1px solid var(--line); padding: .5rem .5rem 1rem 1rem; }
    .submenu-open > .submenu { display: block; }
    .menu-button { display: block; }
    .header-main { justify-content: flex-start; }
    .brand { margin-right: auto; }
    .search-label { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding: 4.5rem 0 3rem; }
    .hero-photo { min-height: 430px; margin-inline: -20px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .welcome-intro { grid-template-columns: 1fr; gap: 1.25rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid article:last-child { grid-column: 1 / -1; }
    .day-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .faq-grid { gap: 3.5rem; }
    .life-section { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .life-gallery { grid-template-columns: 1fr; padding-right: 1rem; }
    .life-photo-main img { height: 370px; }
    .life-photo-small { display: none; }
    .prefooter-grid { grid-template-columns: 1fr 1fr; }
    .prefooter-grid > .button { justify-self: start; }
    .prefooter-details { grid-row: span 2; grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .about-grid .button { justify-self: start; }
    .content-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    body { font-size: 1rem; }
    body.large-text { font-size: 1.1rem; }
    .page-shell { width: min(100% - 28px, 1180px); }
    .utility-inner { min-height: 48px; }
    .utility-inner > p, .utility-links > span { display: none; }
    .utility-links { width: 100%; justify-content: flex-end; gap: .55rem; }
    .utility-links > a { margin-right: auto; }
    .header-main { min-height: 78px; }
    .brand img { width: 52px; height: 52px; }
    .brand strong { font-size: 1.05rem; }
    .brand small { font-size: .82rem; }
    .menu-button { width: 44px; height: 44px; }
    .hero-copy { padding-block: 3.6rem 2.6rem; }
    h1 { font-size: 2.65rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-photo { min-height: 340px; }
    .welcome-note { right: 18px; left: 18px; bottom: 20px; }
    .quick-links { grid-template-columns: 1fr; margin-top: 1rem; }
    .quick-links a + a { border-left: 0; border-top: 1px solid var(--line); }
    .welcome-section { padding-block: 4.5rem 1rem; }
    .welcome-intro { margin-bottom: 2rem; }
    .values-grid { grid-template-columns: 1fr; }
    .values-grid article:last-child { grid-column: auto; }
    .news-section { padding-block: 4.2rem; }
    .section-heading { grid-template-columns: 1fr; gap: 1rem; }
    .news-grid { grid-template-columns: 1fr; }
    .day-section { padding-block: 4.2rem; }
    .day-grid { grid-template-columns: 1fr; gap: 2rem; }
    .facts-card { padding-inline: 1.3rem; border-radius: var(--radius-md); }
    .facts-card div { grid-template-columns: 1fr; gap: .25rem; }
    .facts-card dd { text-align: left; }
    .parent-hub { padding-block: 4.5rem; }
    .parent-hub-heading { align-items: flex-start; flex-direction: column; }
    .resource-grid { grid-template-columns: 1fr; }
    .activity-section { padding-block: 4.5rem; }
    .activity-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .activity-intro { position: static; }
    .activity-list article { grid-template-columns: 48px 1fr; padding: 1.25rem; }
    .life-section { grid-template-columns: 1fr; padding-block: 4.5rem; }
    .life-gallery { max-width: 560px; padding: 0 1rem 2rem 0; }
    .life-gallery::before { inset: 3rem 0 0 2rem; }
    .life-photo-main img { height: 360px; }
    .life-badge { width: 106px; height: 106px; right: 0; top: 1rem; }
    .audience-section { padding-block: 4.5rem; }
    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { border-radius: var(--radius-md); }
    .faq-section { padding-block: 4.5rem; }
    .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .faq-intro { position: static; }
    .about-grid, .content-layout, .footer-grid { grid-template-columns: 1fr; }
    .about-grid { gap: 1.5rem; }
    .content-layout { padding-block: 3.5rem 5rem; }
    .contact-card, .sidebar-stack { position: static; }
    .section-navigation { padding: 1rem 1.2rem; }
    .compact-link-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: 230px; }
    .contact-details dl div { grid-template-columns: 1fr; gap: .2rem; }
    .footer-grid { gap: 2rem; }
    .footer-bottom .page-shell { display: block; padding-block: .5rem; }
    .prefooter { padding-block: 3rem; }
    .prefooter-grid { grid-template-columns: 1fr; gap: 1.7rem; }
    .prefooter-details { grid-row: auto; grid-template-columns: 1fr 1fr; }
    .prefooter-details p:last-child { grid-column: 1 / -1; }
    .search-page-form > div,
    .site-search-form > div { grid-template-columns: 1fr; }
    .search-page-form .button,
    .site-search-form .button { width: 100%; }
    .search-results { padding-block: 3.5rem 5rem; }
    .search-results-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
    .result-list { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    .header-main { gap: .55rem; }
    .brand > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1 !important; filter: none !important; }
}

@media (forced-colors: active) {
    .value-icon,
    .button,
    .access-button,
    .menu-button { border: 2px solid ButtonText; }
    .news-card,
    .values-grid article,
    .content-article section,
    .quick-links,
    .contact-card,
    .section-navigation,
    .resource-grid a,
    .faq-list details,
    .audience-card,
    .prefooter,
    .search-dialog,
    .result-list article,
    .site-search-form input,
    .search-page-form input { border: 2px solid CanvasText; }
    .hero-copy::before { background: Highlight; }
}

@media print {
    .utility-bar, .main-navigation, .menu-button, .search-trigger, .search-dialog, .hero-actions, .quick-links, .site-footer, .contact-card, .prefooter { display: none !important; }
    body { color: black; background: white; font-size: 12pt; }
    .page-shell { width: 100%; }
    [data-reveal] { opacity: 1 !important; filter: none !important; }
}

/* --- Archiwum aktualności --- */
.news-archive { padding-block: 3.5rem 5rem; }
.archive-summary { color: var(--ink-soft); margin: 0 0 1.75rem; }
.section-more { margin: 2.5rem 0 0; }
.pagination { margin-top: 3rem; }
.pagination ul { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 48px; min-height: 48px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; color: var(--teal-dark); font-weight: 800; text-decoration: none; }
.pagination a:hover { border-color: var(--teal); background: #e9f4f0; text-decoration: underline; text-underline-offset: 3px; }
.pagination a[aria-current="page"] { background: var(--teal-dark); border-color: var(--teal-dark); color: white; }
.pagination .pagination-step { font-weight: 700; }
body.high-contrast .pagination a { border-width: 2px; }

/* --- Fokus na ciemnym tle (WCAG 2.1, 1.4.11 Kontrast elementow nietekstowych) ---
   Domyslny brazowy pierscien fokusu ma na ciemnej zieleni i granacie tylko
   1,55:1 i 2,36:1, wiec na tych sekcjach jest praktycznie niewidoczny.
   Jasny wariant daje odpowiednio 6,72:1 i 10,23:1. */
.utility-bar :focus-visible,
.facts-card :focus-visible,
.activity-section :focus-visible,
.about-strip :focus-visible,
.site-footer :focus-visible,
.pagination a[aria-current="page"]:focus-visible { outline-color: var(--focus-light); }
