@import url('https://fonts.googleapis.com/css2?family=Faustina:ital,wght@0,400;0,600;1,500&family=Inter:wght@400;500;600;700&display=swap');
:root{--forest:#18382f;--forest2:#102a24;--gold:#d1aa5d;--cream:#f5f0e7;--paper:#fffdf8;--ink:#1d2926;--muted:#68736f;--line:#dcd5c8;--serif:Faustina,Georgia,serif;--sans:Inter,Arial,sans-serif;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:86px}body{margin:0;background:#eef3f8;color:var(--ink);font:16px/1.7 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit}.container{width:min(var(--max),calc(100% - 40px));margin:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;z-index:999;top:8px;left:8px;padding:10px;background:white;transform:translateY(-150%)}.skip:focus{transform:none}.site-header{position:sticky;z-index:100;top:0;background:rgba(255,253,248,.95);backdrop-filter:blur(12px);border-bottom:1px solid #18382f1a}.nav-row{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none}.brand-symbol{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--gold);border-radius:50%;color:#9b762e;font:600 24px var(--serif)}.brand strong,.brand small{display:block}.brand strong{font:600 20px/1.1 var(--serif)}.brand small{margin-top:4px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em}.site-header nav{display:flex;align-items:center;gap:25px}.site-header nav a{font-size:13px;font-weight:700;text-decoration:none}.site-header nav a:hover{color:#9b762e}.nav-cta{padding:9px 17px;border:1px solid var(--gold);border-radius:99px}.menu-button{display:none;border:0;background:none;padding:10px}.menu-button span{display:block;width:24px;height:2px;margin:5px;background:var(--ink)}
.hero{position:relative;min-height:760px;display:flex;align-items:center;overflow:hidden;background:var(--forest);color:white}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,31,25,.94) 0%,rgba(10,31,25,.78) 45%,rgba(10,31,25,.15) 80%),linear-gradient(0deg,rgba(10,31,25,.45),transparent 45%)}.hero-content{position:relative;padding:100px 0;z-index:1}.kicker{margin:0 0 18px;color:#a77b28;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.18em}.hero .kicker,.dark .kicker{color:var(--gold)}h1,h2,h3{font-family:var(--serif)}h1{max-width:850px;margin:0;font-size:clamp(54px,7.5vw,98px);line-height:.92;letter-spacing:-.035em}h1 em{color:var(--gold);font-weight:500}.hero-content>p:not(.kicker){max-width:640px;color:#e4e9e5;font-size:18px}.actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:31px}.button{display:inline-flex;min-height:50px;align-items:center;justify-content:center;padding:0 23px;border-radius:2px;font-size:14px;font-weight:700;text-decoration:none}.primary{background:var(--gold);color:var(--forest2)}.primary:hover{background:#e4c57e}.ghost{border:1px solid #ffffff70;color:white}.ghost:hover{background:#ffffff15}.scroll{position:absolute;z-index:2;right:40px;bottom:35px;color:white;font-size:12px;text-decoration:none;text-transform:uppercase;letter-spacing:.12em}.scroll span{margin-left:14px;color:var(--gold)}
.section{padding:110px 0}.intro-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:90px}.section h2{margin:0;font-size:clamp(39px,5vw,64px);line-height:1.04;letter-spacing:-.025em}.large-copy{font-size:18px}.large-copy p:first-child{margin-top:0}.text-link{display:inline-block;margin-top:14px;color:#8f6922;font-weight:700;font-size:14px;text-decoration:none;border-bottom:1px solid currentColor}.dark{background:var(--forest2);color:white}.prayer-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:90px;align-items:center}.prayer-copy blockquote{max-width:760px;margin:28px 0 10px;color:#e9e5dc;font:italic 500 clamp(24px,3vw,35px)/1.35 var(--serif)}.source{color:#95a9a2;font-size:13px}.schedule{padding:38px;border:1px solid #ffffff26;border-top:3px solid var(--gold);background:#ffffff09}.schedule strong,.schedule span{display:block;font-family:var(--serif)}.schedule strong{font-size:31px}.schedule span{color:var(--gold);font-size:62px;line-height:1}.schedule p:not(.kicker){color:#c5d1cd;font-size:14px}.schedule a{color:var(--gold);font-size:13px;font-weight:700;text-decoration:none}.section-title{max-width:770px;margin-bottom:52px}.activities{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line)}.activities article{position:relative;padding:32px 45px 35px 65px;border-bottom:1px solid var(--line)}.activities article:nth-child(odd){border-right:1px solid var(--line);padding-left:0}.activities span{position:absolute;left:0;top:34px;color:#9b762e;font:600 20px var(--serif)}.activities article:nth-child(even) span{left:25px}.activities h3{margin:0;font-size:28px}.activities p{color:var(--muted)}.bulletin{background:var(--cream)}.bulletin-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:90px}.bulletin-grid>div:first-child>p:not(.kicker){color:var(--muted);font-size:17px}.ink{margin-top:20px;background:var(--forest);color:white}.articles{border-top:1px solid var(--line)}.articles a{display:grid;grid-template-columns:110px 1fr 25px;align-items:center;gap:18px;padding:22px 5px;border-bottom:1px solid var(--line);text-decoration:none}.articles small{color:#9b762e;text-transform:uppercase;letter-spacing:.08em}.articles strong{font:600 20px var(--serif)}.articles a:hover strong{color:#8f6922}.support{background:var(--forest);color:white}.support-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px}.support-grid>div:first-child>p:not(.kicker,.bank){color:#c5d1cd;font-size:17px}.bank{margin-top:28px;color:#9fb0aa;font-size:13px}.accounts{border-top:1px solid #ffffff2b}.accounts>div{position:relative;padding:23px 75px 23px 0;border-bottom:1px solid #ffffff2b}.accounts small,.accounts strong{display:block}.accounts small{color:var(--gold);font-weight:700}.accounts strong{font-size:15px;letter-spacing:.04em}.accounts button{position:absolute;right:0;bottom:25px;padding:0;border:0;background:none;color:var(--gold);font-weight:700;cursor:pointer}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}.contact-grid>div>p:not(.kicker,.verify){font-size:18px;color:var(--muted)}.verify{margin-top:18px;padding:12px;border-left:3px solid #bc7b2c;background:#fff4df;color:#75511f;font-size:12px}.contact address{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-style:normal}.contact address div{padding:32px;background:var(--cream)}.contact address small{color:#8f6922;text-transform:uppercase;letter-spacing:.1em}.contact address strong{display:block;margin-top:8px;font:600 29px var(--serif)}footer{padding:45px 0;background:#0b201b;color:white}.footer-grid{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:40px}.light small{color:#91a29d}.social{display:flex;gap:17px}.social a{color:var(--gold);font-size:12px}footer p{color:#91a29d;font-size:12px}.toast{position:fixed;z-index:200;bottom:25px;left:50%;padding:11px 18px;background:#111;color:white;border-radius:3px;transform:translate(-50%,150%);opacity:0;transition:.25s}.toast.show{transform:translate(-50%,0);opacity:1}:focus-visible{outline:3px solid #f0c66e;outline-offset:4px}
@media(max-width:860px){.site-header nav{display:none;position:absolute;top:84px;left:0;right:0;padding:12px 20px 24px;background:var(--paper);flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--line)}.site-header nav.open{display:flex}.site-header nav a{padding:12px}.menu-button{display:block}.hero{min-height:680px}.intro-grid,.prayer-grid,.bulletin-grid,.support-grid,.contact-grid{grid-template-columns:1fr;gap:50px}.activities{grid-template-columns:1fr}.activities article,.activities article:nth-child(odd){border-right:0;padding-left:60px}.activities article:nth-child(even) span{left:0}.footer-grid{grid-template-columns:1fr}.scroll{display:none}}@media(max-width:540px){.container{width:min(var(--max),calc(100% - 28px))}.brand small{display:none}.hero{min-height:650px}.hero-content{padding:75px 0}.actions{flex-direction:column}.button{width:100%}.section{padding:78px 0}.schedule{padding:28px}.articles a{grid-template-columns:1fr 22px}.articles small{grid-column:1/-1}.contact address{grid-template-columns:1fr}.accounts>div{padding-bottom:57px;padding-right:0}.accounts button{left:0;right:auto;bottom:18px}.social{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Wspólny układ podstron i artykułów */
.page-hero{padding:82px 0 48px;background:var(--forest2);color:white}.page-hero h1{max-width:970px;font-size:clamp(42px,6vw,72px);line-height:1.02}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px;color:#aebdb8;font-size:12px}.breadcrumbs a{text-decoration:none}.breadcrumbs a:hover{color:var(--gold)}.page-section{padding-top:72px}.article-body{max-width:820px}.page-body{max-width:1030px}.article-body,.page-body{font-size:17px}.article-body>*,.page-body>*{max-width:100%}.article-body p,.page-body p{margin:0 0 1.35em}.article-body h2,.page-body h2{margin:2.1em 0 .65em;font-size:38px}.article-body h3,.page-body h3{margin:1.8em 0 .55em;font-size:30px}.article-body h4,.article-body h5,.page-body h4,.page-body h5{margin:1.65em 0 .5em;font:600 25px/1.25 var(--serif)}.article-body img,.page-body img{display:block;width:auto;max-width:100%;height:auto;margin:30px auto;border-radius:2px}.article-body iframe,.page-body iframe{display:block;width:100%;max-width:860px;aspect-ratio:16/9;height:auto;margin:30px auto;border:0}.article-body a,.page-body a{color:#7e5a1a;text-decoration-thickness:1px;text-underline-offset:3px}.article-body blockquote,.page-body blockquote{margin:32px 0;padding:5px 0 5px 28px;border-left:3px solid var(--gold);font:italic 500 25px/1.45 var(--serif)}.article-body ul,.article-body ol,.page-body ul,.page-body ol{padding-left:24px}.article-body li,.page-body li{margin-bottom:8px}.article-body hr,.page-body hr{margin:42px 0;border:0;border-top:1px solid var(--line)}.article-body #data,.page-body #data,.article-body [class*="data"],.page-body [class*="data"]{color:var(--muted);font-size:13px}.article-body .biuletyn,.article-body .relacja,.article-body .about,.page-body .opis,.page-body .kontakt,.page-body .produkt{width:100%;max-width:100%;margin:0 0 34px;padding:0;background:none;border:0;box-shadow:none}.page-body .produkt{padding-bottom:35px;border-bottom:1px solid var(--line)}.page-body .kontakt{padding:30px;background:var(--cream)}.page-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.page-body td,.page-body th{padding:10px;border:1px solid var(--line)}
@media(max-width:540px){.page-hero{padding:60px 0 38px}.page-section{padding-top:52px}.article-body,.page-body{font-size:16px}.article-body h2,.page-body h2{font-size:31px}.article-body h3,.page-body h3{font-size:26px}}

/* Paleta oryginalnej strony: czerwień, błękit maryjny, złoto i grafit */
:root{--red:#a31d1d;--blue:#2a4b7c;--gold:#d4af37;--gold-text:#765d00;--graphite:#2b2d2f;--forest:var(--blue);--forest2:var(--graphite);--ink:var(--graphite);--muted:#62676e;--cream:#f4f1ea;--line:#d8d4cb}
.site-header{border-bottom-color:#2a4b7c24}.brand-symbol{color:var(--red);border-color:var(--gold)}.site-header nav a:hover{color:var(--red)}.nav-cta{color:var(--red);border-color:var(--red)}
.hero{background:var(--blue)}.shade{background:linear-gradient(90deg,rgba(43,45,47,.96) 0%,rgba(42,75,124,.84) 48%,rgba(42,75,124,.18) 82%),linear-gradient(0deg,rgba(43,45,47,.58),transparent 48%)}.hero-content>p:not(.kicker){color:#f1f3f7}.kicker{color:var(--red)}.hero .kicker,.dark .kicker,.page-hero .kicker{color:var(--gold)}
.primary{background:var(--gold);color:var(--graphite)}.primary:hover{background:#e3c55c}.text-link,.article-body a,.page-body a{color:var(--blue)}.activities span,.articles small{color:var(--red)}.articles a:hover strong{color:var(--red)}.contact address small{color:var(--red)}
.dark{background:var(--graphite)}.support{background:var(--blue)}.ink{background:var(--graphite)}.page-hero{background:linear-gradient(120deg,var(--blue),var(--graphite))}.page-hero:after{content:"";display:block;width:84px;height:3px;margin-top:38px;background:linear-gradient(90deg,var(--red),var(--gold))}.page-hero .breadcrumbs{color:#d8dde5}
.verify{border-left-color:var(--red);background:#f9eeee;color:#711818}footer{background:var(--graphite)}.light small,footer p{color:#c1c3c5}.toast{background:var(--graphite)}:focus-visible{outline-color:var(--gold)}

/* ==========================================================
   Aktualizacja 2026-09: mniejsze H1 i przyciski w treści stron
   ========================================================== */

/* Mniejszy tytuł na stronie głównej */
.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -.025em;
}

/* Mniejsze tytuły podstron */
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

/* Linki tekstowe w artykułach i na podstronach jako przyciski */
.article-body a:not(:has(img)),
.page-body a:not(:has(img)) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  margin: .25rem .18rem .25rem 0;
  padding: .62rem 1.05rem;
  border: 1px solid rgba(212, 175, 55, .82) !important;
  border-bottom: 1px solid rgba(212, 175, 55, .82) !important;
  border-radius: 12px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), #203a62);
  box-shadow: 0 7px 18px rgba(42, 75, 124, .2);
  font-size: .94em;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  text-decoration-line: none !important;
  vertical-align: middle;
  cursor: pointer;
  transform: translateY(0);
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}

.article-body a:not(:has(img)) *,
.page-body a:not(:has(img)) * {
  color: inherit !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.article-body a:not(:has(img)):hover,
.article-body a:not(:has(img)):focus-visible,
.page-body a:not(:has(img)):hover,
.page-body a:not(:has(img)):focus-visible {
  border-color: var(--gold) !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), #7b1515);
  box-shadow: 0 11px 25px rgba(163, 29, 29, .3);
  text-decoration: none !important;
  transform: translateY(-2px);
}

.article-body a:not(:has(img)):active,
.page-body a:not(:has(img)):active {
  box-shadow: 0 4px 10px rgba(43, 45, 47, .2);
  transform: translateY(0);
}

/* Linki zawierające zdjęcia pozostają czyste */
.article-body a:has(img),
.page-body a:has(img) {
  display: block;
  margin: 1rem 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.article-body a:has(img) img,
.page-body a:has(img) img {
  transition: box-shadow .22s ease, transform .22s ease;
}

.article-body a:has(img):hover img,
.article-body a:has(img):focus-visible img,
.page-body a:has(img):hover img,
.page-body a:has(img):focus-visible img {
  box-shadow: 0 12px 28px rgba(42, 75, 124, .22);
  transform: translateY(-2px);
}

/* Główny link tekstowy na stronie głównej */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  margin-top: 1rem;
  padding: .62rem 1.05rem;
  border: 1px solid rgba(42, 75, 124, .3) !important;
  border-bottom: 1px solid rgba(42, 75, 124, .3) !important;
  border-radius: 12px;
  color: var(--blue) !important;
  background: rgba(42, 75, 124, .07);
  box-shadow: 0 6px 16px rgba(42, 75, 124, .1);
  font-weight: 750;
  text-decoration: none !important;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--blue) !important;
  color: #fff !important;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(42, 75, 124, .25);
  text-decoration: none !important;
  transform: translateY(-2px);
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(35px, 11vw, 48px);
    line-height: 1.02;
  }

  .page-hero h1 {
    font-size: clamp(29px, 9vw, 39px);
    line-height: 1.1;
  }

  .article-body a:not(:has(img)),
  .page-body a:not(:has(img)) {
    width: 100%;
    margin-right: 0;
    padding: .75rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-body a,
  .page-body a,
  .text-link {
    transition: none !important;
  }
}

/* ==========================================================
   Aktualizacja 2026-09: baner Instytutu + kompaktowy hero
   ========================================================== */

.legacy-banner {
  width: 100%;
  background: linear-gradient(90deg, #91afd3 0%, #6f99cb 35%, #447ac0 100%);
  overflow: hidden;
}

.legacy-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 155px;
  width: 100%;
}

.legacy-banner img {
  display: block;
  width: auto;
  height: 155px;
  max-width: none;
  object-fit: contain;
}

.hero {
  min-height: 390px;
}

.hero-content {
  padding: 55px 0 60px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
}

.hero-content > p:not(.kicker) {
  max-width: 690px;
  font-size: 17px;
}

.hero .actions {
  margin-top: 24px;
}

.hero .scroll {
  bottom: 22px;
}

@media (max-width: 860px) {
  .legacy-banner-inner,
  .legacy-banner img {
    height: 130px;
  }

  .hero {
    min-height: 410px;
  }

  .hero-content {
    padding: 50px 0 55px;
  }
}

@media (max-width: 540px) {
  .legacy-banner {
    background: #5b88c4;
  }

  .legacy-banner-inner {
    height: 92px;
  }

  .legacy-banner img {
    height: 92px;
  }

  .hero {
    min-height: 430px;
  }

  .hero-content {
    padding: 45px 0 50px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-content > p:not(.kicker) {
    font-size: 16px;
  }
}

/* Mobile <picture> support for the Instytut banner */
.legacy-banner picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ==========================================================
   WERSJA KOLORYSTYCZNA 2
   Paleta: #a31d1d / #2a4b7c / #d4af37
   ========================================================== */

:root {
  --red: #a31d1d;
  --blue: #2a4b7c;
  --gold: #d4af37;

  --forest: var(--blue);
  --forest2: #203a62;
  --paper: #fffdf8;
  --cream: #f6f2e8;
  --ink: #233247;
  --muted: #66717f;
  --line: #d8d4cb;
}

/* Nagłówek */
.site-header {
  background: rgba(255, 253, 248, .97);
  border-bottom-color: rgba(42, 75, 124, .18);
}

.brand strong {
  color: var(--blue);
}

.brand small {
  color: var(--red);
}

.site-header nav a {
  color: var(--blue);
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--red);
}

.nav-cta {
  color: var(--red) !important;
  border-color: var(--gold);
  background: rgba(212, 175, 55, .08);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #fff !important;
  border-color: var(--red);
  background: var(--red);
}

/* Baner */
.legacy-banner {
  background:
    linear-gradient(90deg,
      rgba(42,75,124,.18) 0%,
      rgba(163,29,29,.08) 50%,
      rgba(42,75,124,.18) 100%);
}

/* Hero */
.hero {
  background: var(--blue);
}

.shade {
  background:
    linear-gradient(90deg,
      rgba(31, 53, 88, .96) 0%,
      rgba(42, 75, 124, .87) 47%,
      rgba(163, 29, 29, .24) 82%),
    linear-gradient(0deg,
      rgba(31, 53, 88, .58),
      transparent 52%);
}

.hero .kicker {
  color: var(--gold);
}

.hero h1 em {
  color: var(--gold);
}

.hero-content > p:not(.kicker) {
  color: #f7f8fb;
}

/* Przyciski */
.primary {
  background: var(--gold);
  color: #263446;
  border: 1px solid var(--gold);
}

.primary:hover,
.primary:focus-visible {
  background: #e2c35a;
  border-color: #e2c35a;
}

.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.04);
}

.ghost:hover,
.ghost:focus-visible {
  background: rgba(255,255,255,.13);
  border-color: #fff;
}

.ink {
  background: var(--blue);
}

.ink:hover,
.ink:focus-visible {
  background: var(--red);
}

/* Nagłówki i akcenty */
.kicker {
  color: var(--red);
}

.section h2,
.activities h3,
.contact address strong,
.articles strong {
  color: var(--blue);
}

.text-link {
  color: var(--red) !important;
  border-color: rgba(163, 29, 29, .3) !important;
  background: rgba(163, 29, 29, .055);
  box-shadow: 0 6px 16px rgba(163, 29, 29, .08);
}

.text-link:hover,
.text-link:focus-visible {
  color: #fff !important;
  border-color: var(--red) !important;
  background: var(--red);
  box-shadow: 0 10px 22px rgba(163, 29, 29, .22);
}

/* Sekcja modlitwy – czerwony akcent zamiast grafitu */
.dark {
  background:
    linear-gradient(135deg, #7f1717 0%, var(--red) 58%, #83201f 100%);
}

.dark .kicker {
  color: var(--gold);
}

.prayer-copy blockquote {
  color: #fff8f5;
}

.source {
  color: #f2d8d3;
}

.schedule {
  border-color: rgba(255,255,255,.26);
  border-top-color: var(--gold);
  background: rgba(255,255,255,.08);
}

.schedule p:not(.kicker) {
  color: #f2dfda;
}

.schedule a,
.schedule span {
  color: var(--gold);
}

/* Działalność */
.activities {
  border-top-color: rgba(42, 75, 124, .2);
}

.activities article {
  border-bottom-color: rgba(42, 75, 124, .16);
}

.activities article:nth-child(odd) {
  border-right-color: rgba(42, 75, 124, .16);
}

.activities span {
  color: var(--red);
}

.activities p {
  color: var(--muted);
}

/* Biuletyn */
.bulletin {
  background:
    linear-gradient(180deg, #f8f3e8 0%, #fffdf8 100%);
  border-top: 1px solid rgba(212, 175, 55, .36);
  border-bottom: 1px solid rgba(212, 175, 55, .36);
}

.articles {
  border-top-color: rgba(42, 75, 124, .18);
}

.articles a {
  border-bottom-color: rgba(42, 75, 124, .14);
}

.articles small {
  color: var(--red);
}

.articles a:hover strong {
  color: var(--red);
}

/* Wsparcie */
.support {
  background:
    linear-gradient(135deg, #223e68 0%, var(--blue) 70%, #365c92 100%);
}

.support .kicker {
  color: var(--gold);
}

.accounts {
  border-top-color: rgba(255,255,255,.25);
}

.accounts > div {
  border-bottom-color: rgba(255,255,255,.25);
}

.accounts small,
.accounts button {
  color: var(--gold);
}

/* Kontakt */
.contact address div {
  background:
    linear-gradient(180deg, #f8f4eb 0%, #f3eee3 100%);
  border-top: 3px solid var(--gold);
}

.contact address small {
  color: var(--red);
}

.verify {
  border-left-color: var(--red);
  background: #fbefef;
  color: #711818;
}

/* Podstrony */
.page-hero {
  background:
    linear-gradient(120deg, var(--blue) 0%, #315989 58%, var(--red) 145%);
}

.page-hero:after {
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
}

.article-body a:not(:has(img)),
.page-body a:not(:has(img)) {
  border-color: rgba(212,175,55,.82) !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), #203a62);
  box-shadow: 0 7px 18px rgba(42,75,124,.18);
}

.article-body a:not(:has(img)):hover,
.article-body a:not(:has(img)):focus-visible,
.page-body a:not(:has(img)):hover,
.page-body a:not(:has(img)):focus-visible {
  border-color: var(--gold) !important;
  background: linear-gradient(135deg, var(--red), #7b1515);
  box-shadow: 0 11px 25px rgba(163,29,29,.26);
}
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 20px auto 40px;
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

/* Stopka */
footer {
  background:
    linear-gradient(120deg, #203a62, var(--blue));
  border-top: 4px solid var(--gold);
}

footer .brand strong {
  color: #fff;
}

footer .brand small,
footer p {
  color: #dce3ed;
}

.social a {
  color: var(--gold);
}

.social a:hover,
.social a:focus-visible {
  color: #fff;
}

/* Fokus */
:focus-visible {
  outline-color: var(--gold);
}



/* ==========================================================
   Aktualizacja 2026-09: złota rama i separator pod banerem
   ========================================================== */

.legacy-banner {
  padding: 10px 16px 0;
  background: var(--paper);
  overflow: visible;
}

.legacy-banner-inner {
  position: relative;
  height: 155px;
  border: 2px solid var(--gold);
  border-radius: 18px;
  background: linear-gradient(90deg, #eef0f4 0%, #f8f7f3 18%, #f8f7f3 82%, #eef0f4 100%);
  box-shadow:
    0 0 0 1px rgba(212,175,55,.16) inset,
    0 8px 24px rgba(42,75,124,.10),
    0 2px 8px rgba(212,175,55,.18);
  overflow: hidden;
}

.legacy-banner-inner::before,
.legacy-banner-inner::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  top: 8px;
  border-top: 2px solid var(--gold);
}

.legacy-banner-inner::before {
  left: 8px;
  border-left: 2px solid var(--gold);
  border-radius: 8px 0 0 0;
}

.legacy-banner-inner::after {
  right: 8px;
  border-right: 2px solid var(--gold);
  border-radius: 0 8px 0 0;
}

.legacy-banner picture {
  position: relative;
  z-index: 1;
}

.legacy-banner img {
  height: 155px;
}

.legacy-banner-separator {
  position: relative;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.legacy-banner-separator::before,
.legacy-banner-separator::after {
  content: "";
  height: 1px;
  width: min(210px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}

.legacy-banner-separator::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.legacy-banner-separator span {
  width: 34px;
  height: 34px;
  margin: 0 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #9b762e;
  background: var(--paper);
  font: 600 20px/1 var(--serif);
  box-shadow: 0 3px 10px rgba(212,175,55,.14);
}

@media (max-width: 860px) {
  .legacy-banner {
    padding: 8px 12px 0;
  }

  .legacy-banner-inner,
  .legacy-banner img {
    height: 130px;
  }

  .legacy-banner-separator {
    height: 56px;
  }
}

@media (max-width: 540px) {
  .legacy-banner {
    padding: 7px 8px 0;
    background: var(--paper);
  }

  .legacy-banner-inner {
    height: 92px;
    border-width: 1.5px;
    border-radius: 12px;
  }

  .legacy-banner img {
    height: 92px;
  }

  .legacy-banner-separator {
    height: 48px;
  }

  .legacy-banner-separator::before,
  .legacy-banner-separator::after {
    width: min(120px, 26vw);
  }

  .legacy-banner-separator span {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    font-size: 17px;
  }
}


/* ==========================================================
   Aktualizacja 2026-09: hero łączący index_01 + falującą krawędź
   ========================================================== */

.hero {
  min-height: auto;
  padding: 0 0 44px;
  background: var(--paper);
  color: var(--ink);
  overflow: visible;
}

.hero-wrap {
  width: min(1340px, calc(100% - 40px));
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
  background:
    linear-gradient(90deg, rgba(252,249,242,.98) 0%, rgba(252,249,242,.96) 30%, rgba(252,249,242,.50) 52%, rgba(252,249,242,0) 72%),
    #ece6db;
  box-shadow: 0 16px 38px rgba(24, 40, 62, .12);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(0deg, rgba(14, 26, 23, .36), rgba(14, 26, 23, 0));
  pointer-events: none;
  z-index: 1;
}

.hero-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding-top: 12px;
}

.hero-topline::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: -54px;
  height: 96px;
  background: var(--paper);
  border-bottom: 1px solid rgba(212, 175, 55, .72);
  border-bottom-left-radius: 52% 100%;
  border-bottom-right-radius: 48% 100%;
}

.hero-topline span,
.hero-topline strong {
  position: relative;
  z-index: 1;
}

.hero-topline span {
  width: min(170px, 18vw);
  height: 1px;
  margin-top: 13px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .9), transparent);
}

.hero-topline strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .9);
  background: var(--paper);
  color: #9b762e;
  font: 600 15px/1 var(--serif);
  box-shadow: 0 3px 10px rgba(212, 175, 55, .14);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 1.02fr) minmax(360px, 1.18fr);
  align-items: stretch;
  min-height: 620px;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 118px 42px 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .kicker {
  margin-bottom: 14px;
  color: rgba(39, 68, 106, .84);
}

.hero h1 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(44px, 4.8vw, 66px);
  line-height: .94;
  letter-spacing: -.03em;
  color: #1f2e2a;
  text-wrap: balance;
}

.hero h1 em {
  color: #b18219;
  font-style: normal;
}

.hero-content > p:not(.kicker) {
  max-width: 520px;
  margin-top: 22px;
  color: #48534f;
  font-size: 17px;
  line-height: 1.7;
}

.hero .actions {
  margin-top: 30px;
  gap: 14px;
}

.hero .button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
}

.hero .primary {
  box-shadow: 0 10px 22px rgba(212, 175, 55, .24);
}

.hero .ghost {
  border: 1px solid rgba(43, 45, 47, .20);
  color: #2b2d2f;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(2px);
}

.hero .ghost:hover {
  background: #fff;
}

.hero-visual {
  min-height: 620px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 30, 29, .64) 0%, rgba(20, 30, 29, .20) 22%, rgba(20, 30, 29, 0) 42%),
    linear-gradient(180deg, rgba(13, 19, 17, 0) 54%, rgba(13, 19, 17, .18) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center center;
}

.hero-quote {
  position: absolute;
  top: 108px;
  right: 52px;
  z-index: 2;
  max-width: 220px;
  margin: 0;
  color: #fff;
  text-align: right;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .38);
}

.hero-quote p {
  margin: 0;
  font: italic 500 clamp(21px, 2vw, 27px)/1.2 var(--serif);
}

.hero-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(255, 243, 214, .96);
}

.hero .scroll {
  right: 38px;
  bottom: 28px;
  z-index: 3;
  color: #fff;
}

.hero .scroll span {
  color: var(--gold);
}

@media (max-width: 1080px) {
  .hero-content {
    padding-left: 40px;
    padding-right: 30px;
  }

  .hero-quote {
    top: 102px;
    right: 32px;
    max-width: 200px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-bottom: 34px;
  }

  .hero-wrap {
    width: min(100%, calc(100% - 24px));
  }

  .hero-shell {
    border-radius: 0 0 22px 22px;
    background: #efe8dc;
  }

  .hero-topline {
    height: 60px;
  }

  .hero-topline::before {
    top: -40px;
    height: 78px;
  }

  .hero-topline span {
    width: min(110px, 22vw);
    margin-top: 11px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-content {
    order: 2;
    padding: 28px 24px 78px;
    background: linear-gradient(180deg, rgba(255,253,248,.97) 0%, rgba(255,253,248,1) 100%);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 8.5vw, 56px);
  }

  .hero-content > p:not(.kicker) {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-visual {
    order: 1;
    min-height: 360px;
  }

  .hero-visual img {
    min-height: 360px;
    object-position: center top;
  }

  .hero-visual::before {
    background:
      linear-gradient(180deg, rgba(13, 19, 17, .06) 0%, rgba(13, 19, 17, .12) 100%),
      linear-gradient(0deg, rgba(13, 19, 17, .24), rgba(13, 19, 17, 0));
  }

  .hero-quote {
    top: 84px;
    right: 24px;
    max-width: 180px;
  }

  .hero .scroll {
    right: 24px;
    bottom: 24px;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-bottom: 28px;
  }

  .hero-wrap {
    width: min(100%, calc(100% - 16px));
  }

  .hero-shell {
    border-radius: 0 0 18px 18px;
  }

  .hero-topline {
    gap: 10px;
    padding-top: 10px;
  }

  .hero-topline strong {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .hero-topline span {
    width: min(74px, 18vw);
    margin-top: 10px;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-visual img {
    min-height: 270px;
  }

  .hero-quote {
    top: 72px;
    right: 18px;
    max-width: 150px;
  }

  .hero-quote p {
    font-size: 18px;
  }

  .hero-quote cite {
    font-size: 12px;
  }

  .hero-content {
    padding: 24px 18px 74px;
  }

  .hero .actions {
    gap: 10px;
  }

  .hero .button {
    width: 100%;
  }
}

/* ==========================================================
   2026-09: kompaktowy naglowek wszystkich podstron
   Tlo: assets/kibeho-hero-new.png
   index.php nie korzysta z .page-hero, wiec pozostaje bez zmian.
   ========================================================== */

.page-hero {
  position: relative;
  min-height: 230px;
  padding: 50px 0 30px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg,
      rgba(32, 58, 98, .94) 0%,
      rgba(42, 75, 124, .82) 34%,
      rgba(42, 75, 124, .50) 58%,
      rgba(42, 75, 124, .18) 82%,
      rgba(42, 75, 124, .08) 100%),
    url("assets/kibeho-hero-new.png") center 52% / cover no-repeat;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.07;
  letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(13, 25, 42, .18);
}

.page-hero .breadcrumbs {
  margin-top: 18px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
}

.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .96);
  text-decoration: none;
}

.page-hero .breadcrumbs a:hover,
.page-hero .breadcrumbs a:focus-visible {
  color: var(--gold);
}

.page-hero::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
}

@media (max-width: 860px) {
  .page-hero {
    min-height: 205px;
    padding: 42px 0 26px;
    background-position: 58% 50%;
  }

  .page-hero h1 {
    max-width: 680px;
    font-size: clamp(29px, 6vw, 42px);
  }
}

@media (max-width: 540px) {
  .page-hero {
    min-height: 175px;
    padding: 34px 0 22px;
    background-position: 64% 50%;
  }

  .page-hero .kicker {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .page-hero h1 {
    font-size: clamp(26px, 8.5vw, 35px);
    line-height: 1.1;
  }

  .page-hero .breadcrumbs {
    margin-top: 13px;
    font-size: 12px;
  }

  .page-hero::after {
    width: 68px;
    margin-top: 16px;
  }
}

/* ==========================================================
   2026-09-28: sekcja Allegro i Różańce na stronie głównej
   ========================================================== */

.allegro-section {
  background: var(--paper);
  border-top: 1px solid rgba(212, 175, 55, .28);
  border-bottom: 1px solid rgba(212, 175, 55, .28);
}

.allegro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.allegro-copy > p:not(.kicker) {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
}

.allegro-text-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.allegro-text-link:hover,
.allegro-text-link:focus-visible {
  color: var(--red);
}

.allegro-image a {
  display: block;
}

.allegro-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(42, 75, 124, .14);
}

.rosary-support {
  margin-top: 58px;
  padding-top: 42px;
  border-top: 1px solid rgba(42, 75, 124, .15);
}

.rosary-support h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

.rosary-support p {
  max-width: 980px;
  margin: 0 0 12px;
  color: var(--muted);
}

.rosary-support a {
  color: var(--red);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .allegro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .rosary-support {
    margin-top: 46px;
    padding-top: 34px;
  }
}

@media (max-width: 540px) {
  .allegro-image img {
    border-radius: 10px;
  }

  .rosary-support {
    margin-top: 36px;
    padding-top: 28px;
  }

  .rosary-support h3 {
    font-size: 29px;
  }
}

