@charset "UTF-8";
:root {
  --font-serif: "EB Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-serif);
  --font-body: var(--font-sans);
  /* Aliasy dla modułów i komponentów legacy */
  --display: var(--font-serif);
  --body: var(--font-sans);
  --serif: var(--font-serif);
  --main-color: #2E97A6;
  --main-color-dark: #2a8ca8;
  --main-color-light: rgba(46, 151, 166, 0.10);
  --on-main-color: #ffffff;
  --accent-color: #F0A000;
  --accent-color-dark: #C88500;
  --accent-color-light: rgba(240, 160, 0, 0.10);
  --gold: #F9D478;
  --magenta: #E5175B;
  --dark: #14303E;
  --dark-deep: #0E2430;
  --bg: #F4F1EA;
  --bg-warm: #ECE7DB;
  --white: #FFFFFF;
  --text: #1A2332;
  --text-soft: #5F6B7A;
  --text-faint: #8E99A8;
  --border: rgba(20, 48, 62, 0.08);
  --border-strong: rgba(20, 48, 62, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 999px;
  --max-w: 1540px;
  --edge: 24px;
  --gap: 20px;
  --shadow-sm: 0 1px 3px rgba(20, 48, 62, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 48, 62, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 48, 62, 0.12);
  --header-h: 90px;
  --scroll-offset-gap: 20px;
  --scroll-offset-nudge: 0px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.lock {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  display: block;
}

i {
  display: inline-flex;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

.contain,
.shell {
  width: min(var(--max-w), 100% - var(--edge) * 2);
  margin-inline: auto;
}

.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;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.01em;
  padding: 12px 28px;
}
.btn:focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--main-color-dark);
  color: #fff;
}
.btn-primary:hover {
  background: var(--main-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42, 140, 168, 0.35);
}

.btn-teal {
  background: var(--main-color);
  color: #fff;
}
.btn-teal:hover {
  background: var(--main-color-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46, 151, 166, 0.3);
}

.btn-outline-dark {
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-outline-dark:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: var(--main-color-light);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(249, 212, 120, 0.08);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--main-color);
  margin-bottom: 12px;
}

.section-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-header {
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

.about {
  position: relative;
  padding: 0 0 100px;
  background: var(--bg-warm);
  overflow: hidden;
}

.about-banner {
  width: 100%;
  height: 340px;
  overflow: hidden;
}
.about-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about .contain {
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
  align-items: stretch;
}
.about-inner > * {
  min-width: 0;
}

.about-text {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 24px;
}
.about-text p {
  font-family: var(--font-sans);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-actions {
  display: flex;
  gap: var(--gap);
  margin-top: var(--gap);
  flex-wrap: wrap;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.about-tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-tile-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--main-color);
  display: block;
  margin-bottom: 10px;
}

.about-tile-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
}

.about-tile-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-soft);
}
.about-tile-meta i {
  color: var(--main-color);
  font-size: 15px;
  flex-shrink: 0;
}
.about-tile-meta a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-tile-meta a:hover {
  color: var(--main-color);
}

.about-tile--priest {
  grid-column: 1/-1;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.priest-photo {
  flex: 0 0 240px;
  background: linear-gradient(135deg, rgba(14, 36, 48, 0.08), rgba(46, 151, 166, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.priest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.priest-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.about-tile--office .about-tile-hours {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-tile--office .about-tile-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.about-tile--office .about-tile-hours li:last-child {
  border-bottom: none;
}
.about-tile--office .about-tile-hours li span:first-child {
  color: var(--text-soft);
  flex-shrink: 0;
}
.about-tile--office .about-tile-hours li span:last-child {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.about-tile--address {
  text-decoration: none;
  transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-tile--address:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.about-tile--address > i {
  color: var(--main-color);
  font-size: 24px;
  margin-bottom: 8px;
}

.about-tile-value {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  white-space: pre-line;
}

.about-tile-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--main-color);
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 680px) {
  .about-banner {
    height: 220px;
  }
  .about .contain {
    margin-top: -40px;
  }
  .about-text {
    padding: 28px;
  }
  .about-actions {
    flex-direction: column;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-tile--priest {
    flex-direction: column;
  }
  .priest-photo {
    flex: none;
    height: 180px;
  }
}
.pages-article__content ul.pages-article__parafia-cards,
.pages-article__content ul.pBoxArticle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pages-article__content ul.pages-article__parafia-cards li,
.pages-article__content ul.pBoxArticle li {
  margin: 0;
  min-width: 0;
}

.pages-article__content ul.pages-article__parafia-cards li::marker,
.pages-article__content ul.pBoxArticle li::marker {
  content: none;
}

.pages-article__content ul.pages-article__parafia-cards a,
.pages-article__content ul.pages-article__parafia-cards .pages-article__parafia-card,
.pages-article__content ul.pBoxArticle a {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.pages-article__content ul.pages-article__parafia-cards a:hover,
.pages-article__content ul.pages-article__parafia-cards .pages-article__parafia-card:hover,
.pages-article__content ul.pBoxArticle a:hover {
  border-color: color-mix(in srgb, var(--main-color) 35%, var(--border));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--main-color);
}
.pages-article__content ul.pages-article__parafia-cards a strong,
.pages-article__content ul.pages-article__parafia-cards .pages-article__parafia-card strong,
.pages-article__content ul.pBoxArticle a strong {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
}

.pages-article__content ul.pages-article__parafia-cards .pages-article__parafia-card-icon,
.pages-article__content ul.pBoxArticle .pages-article__parafia-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: var(--main-color-light);
  color: var(--main-color);
}
.pages-article__content ul.pages-article__parafia-cards .pages-article__parafia-card-icon i,
.pages-article__content ul.pBoxArticle .pages-article__parafia-card-icon i {
  font-size: 2rem;
  line-height: 1;
}

.pages-article__content:has(> .pages-article__parafia-cards),
.pages-article__content:has(> .pBoxArticle) {
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
  .pages-article__content ul.pages-article__parafia-cards,
  .pages-article__content ul.pBoxArticle {
    grid-template-columns: 1fr;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo img {
  height: 76px;
  width: auto;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.header-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-nav li a {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.header-nav li a:hover, .header-nav li a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-actions .btn i {
  font-size: 15px;
}

.header-mobile-cta {
  display: none;
  align-items: center;
  gap: 12px;
}

.header-divider {
  width: 1px;
  height: 28px;
  border-left: 2px dashed rgba(255, 255, 255, 0.2);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-phone i {
  color: var(--gold);
  font-size: 15px;
}
.header-phone:hover {
  color: #fff;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger span::before, .hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger span::before {
  top: -7px;
}
.hamburger span::after {
  top: 7px;
}
.hamburger.active span {
  background: transparent;
}
.hamburger.active span::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  padding: 100px var(--edge) 32px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.mobile-nav li a i {
  color: var(--main-color);
  width: 24px;
  text-align: center;
  font-size: 20px;
}
.mobile-nav .m-cta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.has-page-header .header-actions .btn-primary,
.has-page-header .header-mobile-cta .btn-primary,
.has-page-header .mobile-nav .m-cta .btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.has-page-header .header-actions .btn-primary:hover,
.has-page-header .header-mobile-cta .btn-primary:hover,
.has-page-header .mobile-nav .m-cta .btn-primary:hover {
  background: var(--accent-color);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(240, 160, 0, 0.35);
}

.page-not-found.has-page-header .header {
  background: var(--dark);
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  margin: 20px;
  border-radius: 20px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding: 56px 48px 48px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--main-color);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(46, 151, 166, 0.2);
}

.footer-logo {
  margin-bottom: 24px;
}
.footer-logo img {
  height: 64px;
  width: auto;
}

.footer-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover {
  color: var(--main-color);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.footer-contact-item i {
  color: var(--main-color);
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item span,
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact-item a {
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-hours {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-hours li {
  padding: 9px 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-hours li:last-child {
  border-bottom: none;
}
.footer-hours li span:first-child {
  color: rgba(255, 255, 255, 0.4);
}
.footer-hours li span:last-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 48px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom a {
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-bottom a:hover {
  color: var(--main-color);
}

.footer-author {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 1100px) {
  .header-nav {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .header-mobile-cta {
    display: flex;
  }
}
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--gap);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 680px) {
  :root {
    --edge: 16px;
    --header-h: 72px;
  }
  .header-logo img {
    height: 50px;
  }
  .header-mobile-cta .btn {
    font-size: 0.78rem;
    padding: 9px 18px;
  }
  .header-mobile-cta .btn i {
    font-size: 14px;
  }
  .footer {
    margin: 12px;
    border-radius: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }
  .footer-bottom {
    margin: 0 24px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
