/*
Theme Name: Parafia św. Rocha
Theme URI: https://www.patomstudio.pl/
Author: Patom Studio
Author URI: https://www.patomstudio.pl/
Description: Indywidualny, spokojny motyw parafialny z lewym menu i wspólnym nagłówkiem.
Version: 1.3.6
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: parafia-sw-rocha
*/

:root {
  --rocha-red: #c92f2f;
  --rocha-red-rgb: 201 47 47;
  --rocha-red-dark: var(--rocha-red);
  --rocha-ink: #151515;
  --rocha-muted: #66615d;
  --rocha-paper: #ffffff;
  --rocha-warm: #faf8f6;
  --rocha-line: #e9e4df;
  --rocha-shadow: 0 18px 50px rgba(21, 21, 21, 0.07);
  --rocha-sidebar: 20rem;
  --rocha-content: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--rocha-warm);
  color: var(--rocha-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

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

a {
  color: var(--rocha-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.17em;
}

a:hover,
a:focus-visible {
  color: var(--rocha-red-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.65rem 0.9rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--rocha-paper);
  color: var(--rocha-ink);
  box-shadow: var(--rocha-shadow);
}

.site-shell {
  display: grid;
  grid-template-columns: var(--rocha-sidebar) minmax(0, 1fr);
  min-height: 100vh;
  min-height: calc(100dvh - var(--rocha-admin-offset, 0px));
}

body.admin-bar { --rocha-admin-offset: 32px; }
@media (max-width: 782px) {
  body.admin-bar { --rocha-admin-offset: 46px; }
}

/* Parish sidebar using the original white, burgundy and charcoal palette. */
.site-sidebar {
  --sidebar-text: #151515;
  --sidebar-muted: #66615d;
  --sidebar-accent: var(--rocha-red);
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  padding: 0;
  color: var(--sidebar-text);
  background: #ffffff;
  border-right: 1px solid #e9e4df;
  box-shadow: 8px 0 40px #15151508;
  z-index: 20;
}
.sidebar-heading { padding: 32px 24px 26px; position: relative; }
.site-branding { display: flex; align-items: center; gap: 15px; color: #151515; text-decoration: none; }
.site-branding:hover { color: var(--rocha-red); }
.site-mark {
  display: block;
  flex: 0 0 52px;
  width: 52px;
  height: auto;
  aspect-ratio: 39 / 52;
  object-fit: contain;
}
.site-branding__text { min-width: 0; }
.site-eyebrow { display: block; margin-bottom: 5px; font-size: 8px; line-height: 1.5; font-weight: 600; letter-spacing: 1.65px; text-transform: uppercase; color: var(--sidebar-accent); }
.site-name { display: block; font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.08; letter-spacing: -.8px; }
.site-description { display: block; margin-top: 5px; font-size: 12px; line-height: 1.4; color: var(--sidebar-muted); letter-spacing: 1px; }
.sidebar-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sidebar-panel[hidden], .sidebar-toggle[hidden] { display: none; }
.sidebar-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 24px 13px; padding-top: 16px; border-top: 1px solid #e9e4df;
  color: var(--sidebar-muted); font-size: 9px; font-weight: 600; letter-spacing: 1.7px; line-height: 1.5; text-transform: uppercase;
}
.sidebar-caption > span:last-child { color: var(--sidebar-accent); font-size: 18px; font-weight: 800; line-height: 1; }
.primary-navigation { flex: 0 0 auto; padding: 0 14px 12px; overflow: visible; }
.primary-navigation ul { padding: 0; margin: 0; list-style: none; }
.primary-navigation li { margin: 3px 0; }
.primary-navigation a, .primary-navigation .submenu-toggle {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px;
  margin: 0; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: var(--sidebar-text); font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .35px;
  line-height: 1.55; text-align: left; text-decoration: none; cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.menu-label { flex: 1; min-width: 0; overflow-wrap: break-word; }
.menu-icon { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; color: var(--rocha-red); border: 1px solid rgb(var(--rocha-red-rgb) / 0.043); border-radius: 8px; background: rgb(var(--rocha-red-rgb) / 0.06); transition: color 160ms ease, background 160ms ease; }
.menu-icon svg { width: 18px; height: 18px; }
.primary-navigation a:hover, .primary-navigation .submenu-toggle:hover { background: #faf8f6; color: var(--rocha-red); }
.primary-navigation a:hover .menu-icon, .primary-navigation .submenu-toggle:hover .menu-icon { color: var(--sidebar-accent); background: rgb(var(--rocha-red-rgb) / 0.071); }
.primary-navigation .current-menu-item > a, .primary-navigation .current-menu-ancestor > .submenu-toggle,
.primary-navigation .current-menu-parent > .submenu-toggle {
  color: var(--rocha-red); background: rgb(var(--rocha-red-rgb) / 0.06); border-color: rgb(var(--rocha-red-rgb) / 0.125);
}
.primary-navigation .current-menu-item > a::before { position: absolute; content: ''; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--sidebar-accent); }
.primary-navigation .current-menu-item > a .menu-icon, .primary-navigation .current-menu-ancestor > .submenu-toggle .menu-icon { color: var(--rocha-red); background: rgb(var(--rocha-red-rgb) / 0.063); }
.primary-navigation .menu-item-has-children > a::after, .primary-navigation .submenu-toggle::after {
  content: ''; flex: 0 0 6px; width: 6px; height: 6px; margin-left: 3px; margin-right: 3px;
  border-right: 1.5px solid #827773; border-bottom: 1.5px solid #827773;
  transform: translateY(-2px) rotate(45deg); transition: transform 180ms ease;
}
.primary-navigation .is-submenu-open > .submenu-toggle::after { transform: translateY(2px) rotate(225deg); border-color: var(--sidebar-accent); }
.primary-navigation .sub-menu { margin: 7px 0 9px 27px; padding-left: 13px; border-left: 1px solid #e9e4df; }
.primary-navigation .sub-menu[hidden] { display: none; }
.primary-navigation .sub-menu:not([hidden]) { animation: submenu-reveal 180ms ease-out; }
.primary-navigation .sub-menu a, .primary-navigation .sub-menu .submenu-toggle { min-height: 38px; padding: 9px 10px; font-size: 11px; letter-spacing: .2px; font-weight: 500; color: #4c4541; border-radius: 7px; }
.primary-navigation .sub-menu .sub-menu { margin-left: 10px; padding-left: 10px; }
.primary-navigation .sub-menu .current-menu-item > a { color: var(--rocha-red); }
.primary-navigation > .menu > li:last-child { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e9e4df; }
.primary-navigation > .menu > li:last-child > a { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; background: var(--rocha-red); color: #ffffff; border-color: var(--rocha-red); box-shadow: 0 4px 18px rgb(var(--rocha-red-rgb) / 0.094); }
.primary-navigation > .menu > li:last-child > a:hover { background: var(--rocha-red); border-color: var(--rocha-red); }
.primary-navigation > .menu > li:last-child .menu-icon { color: #ffffff; background: #ffffff10; border-color: #15151508; }
.site-sidebar :is(a, button):focus-visible { outline: 2px solid var(--rocha-red); outline-offset: 3px; }
.sidebar-footer { flex: 0 0 auto; margin-top: auto; text-align: center; padding: 15px 24px 21px; background: linear-gradient(0deg, #faf8f6, #ffffff); }
.sidebar-footer__ornament { display: block; font-weight: 800; color: var(--sidebar-accent); font-size: 23px; line-height: 1; }
.sidebar-footer p { margin: 9px 0 12px; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.35; color: #151515; }
.sidebar-footer p span { color: var(--rocha-red); font-style: italic; }
.sidebar-footer__place { display: block; font-size: 7px; font-weight: 600; letter-spacing: 1.6px; color: #66615d; }
.sidebar-toggle { display: none; }
@keyframes submenu-reveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }

.site-canvas {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.site-header {
  padding: 1.25rem clamp(1.4rem, 4vw, 4.5rem);
  background: var(--rocha-paper);
  border-bottom: 1px solid var(--rocha-line);
}

.site-header__inner {
  display: flex;
  max-width: var(--rocha-content);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
}

.site-header__label {
  margin: 0;
  color: var(--rocha-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header__rule {
  width: 3.2rem;
  height: 2px;
  background: var(--rocha-red);
}

.site-main {
  width: min(100%, var(--rocha-content));
  flex: 1;
  padding: clamp(2.5rem, 6vw, 6.5rem) clamp(1.4rem, 5vw, 5rem);
  margin: 0 auto;
}

.page-header,
.archive-header {
  max-width: 52rem;
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rocha-line);
}

.entry-title,
.page-title,
.archive-title,
.error-title {
  padding: 0;
  margin: 0;
  color: var(--rocha-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.archive-description {
  max-width: 45rem;
  margin: 1rem 0 0;
  color: var(--rocha-muted);
}

.entry {
  max-width: 52rem;
}

.entry + .entry {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--rocha-line);
}

.entry-meta {
  margin: 0.9rem 0 1.35rem;
  color: var(--rocha-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2.2em 0 0.75em;
  color: var(--rocha-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.entry-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.entry-content h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.entry-content blockquote {
  padding: 0.2rem 0 0.2rem 1.5rem;
  margin: 2rem 0;
  border-left: 3px solid var(--rocha-red);
  color: #423e3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.entry-content th,
.entry-content td {
  padding: 0.8rem;
  border: 1px solid var(--rocha-line);
  text-align: left;
}

.entry-content th {
  background: rgb(var(--rocha-red-rgb) / 0.06);
  color: var(--rocha-red-dark);
}

.wp-block-button__link,
.button,
input[type="submit"] {
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--rocha-red);
  border-radius: 0;
  background: var(--rocha-red);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.button:hover,
.button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
  border-color: var(--rocha-red-dark);
  background: var(--rocha-red-dark);
  color: #fff;
}

.posts-navigation,
.post-navigation,
.pagination {
  display: flex;
  max-width: 52rem;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--rocha-line);
}

.site-footer {
  padding: 2.25rem clamp(1.4rem, 4vw, 4.5rem);
  background: var(--rocha-ink);
  color: #f6f1ed;
}

.site-footer__inner {
  display: flex;
  max-width: var(--rocha-content);
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
}

.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-navigation a,
.site-footer a {
  color: #fff;
}

.site-info {
  margin: 0;
  color: #cec8c2;
  font-size: 0.8rem;
}

.not-found {
  max-width: 42rem;
}

.comment-respond,
.comments-area {
  max-width: 52rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--rocha-line);
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cfc7c1;
  border-radius: 0;
  background: #fff;
}

/* Two independent columns: the sidebar stays in place as the content scrolls. */
@media (min-width: 56.001rem) {
  body { overflow: hidden; }
  .site-shell {
    height: calc(100vh - var(--rocha-admin-offset, 0px));
    height: calc(100dvh - var(--rocha-admin-offset, 0px));
    min-height: 0;
    overflow: hidden;
  }
  .site-sidebar { height: 100%; min-height: 0; overflow: visible; }
  .sidebar-heading, .sidebar-caption { flex-shrink: 0; }
  .sidebar-panel { min-height: 0; overflow: visible; }
  .primary-navigation {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--rocha-red-rgb) / 0.251) transparent;
  }
  .primary-navigation > ul {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  .primary-navigation > ul > li {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
  }
  .primary-navigation > ul > li > a,
  .primary-navigation > ul > li > .submenu-toggle {
    flex: 1 0 auto;
  }
  .primary-navigation > ul > li.is-submenu-open,
  .primary-navigation > ul > li.is-submenu-open > .submenu-toggle {
    flex-grow: 1;
  }
  .site-canvas { height: 100%; min-height: 0; overflow-y: auto; overflow-x: hidden; }
  .site-canvas > .site-header, .site-canvas > .site-footer { flex-shrink: 0; }
  .site-main { flex: 1 0 auto; }
}
@media (min-width: 56.001rem) and (max-height: 900px) {
  .sidebar-heading { padding: 20px 24px 18px; }
  .site-mark { width: 43.5px; flex-basis: 43.5px; height: 58px; }
  .sidebar-caption { padding-top: 12px; margin-bottom: 8px; }
  .primary-navigation li { margin: 2px 0; }
  .primary-navigation a, .primary-navigation .submenu-toggle { min-height: 40px; padding: 5px 10px; }
  .menu-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .primary-navigation > .menu > li:last-child { margin-top: 9px; padding-top: 9px; }
  .sidebar-footer { padding: 9px 24px 14px; }
  .sidebar-footer p { font-size: 16px; margin: 6px 0 8px; }
}
@media (min-width: 56.001rem) {
  .primary-navigation { overflow: visible; }
  .primary-navigation > ul > li > .sub-menu {
    position: fixed; z-index: 100; width: max-content; min-width: 220px;
    max-width: calc(100vw - var(--rocha-sidebar) - 28px);
    margin: 0; padding: 14px; border: 1px solid #e9e4df; border-radius: 14px;
    background: #fff; box-shadow: 0 16px 50px #15151520;
  }
.primary-navigation .sub-menu a, .primary-navigation .sub-menu .submenu-toggle {
    min-height: 36px; padding: 8px 10px; font-size: 12px;
  }
  .primary-navigation .sub-menu .menu-label { white-space: nowrap; }
  .primary-navigation > ul > li.is-submenu-open > .submenu-toggle { background: rgb(var(--rocha-red-rgb) / 0.06); color: var(--rocha-red); }
}
@media (min-width: 56.001rem) and (max-height: 720px) {
  .sidebar-heading { padding: 12px 20px; }
  .site-mark { width: 36px; flex-basis: 36px; height: 48px; }
.site-mark::after { top: 19px; }
  .site-name { font-size: 25px; }
  .sidebar-caption { padding-top: 8px; margin-bottom: 6px; }
  .primary-navigation a, .primary-navigation .submenu-toggle { min-height: 30px; padding: 3px 10px; }
  .menu-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .menu-icon svg { width: 16px; height: 16px; }
  .sidebar-footer { padding: 7px 20px; }
  .sidebar-footer p { font-size: 14px; margin: 4px 0; }
}
@media (max-width: 56rem) {
  .site-shell { display: block; }
  .site-sidebar, .admin-bar .site-sidebar { position: relative; top: auto; width: 100%; height: auto; min-height: 0; border-right: 0; border-bottom: 1px solid #e9e4df; }
  .sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 22px; }
  .site-branding { gap: 12px; }
  .site-mark { flex-basis: 39px; width: 39px; height: 52px; }
.site-mark::after { width: 16px; top: 20px; }
.site-eyebrow { font-size: 7px; letter-spacing: 1.2px; margin-bottom: 3px; }
  .site-name { font-size: 24px; }
  .site-description { font-size: 10px; margin-top: 3px; }
  .sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; min-height: 44px; padding: 10px 13px; border: 1px solid rgb(var(--rocha-red-rgb) / 0.188); border-radius: 10px; background: rgb(var(--rocha-red-rgb) / 0.06); color: var(--rocha-red); font-size: 11px; font-weight: 600; cursor: pointer; }
  .sidebar-toggle__icon, .sidebar-toggle__icon::before, .sidebar-toggle__icon::after { display: block; width: 15px; height: 1px; background: currentColor; }
  .sidebar-toggle__icon { position: relative; }
  .sidebar-toggle__icon::before, .sidebar-toggle__icon::after { content: ''; position: absolute; left: 0; transition: transform 160ms ease; }
  .sidebar-toggle__icon::before { top: -5px; }
  .sidebar-toggle__icon::after { top: 5px; }
  .is-navigation-open .sidebar-toggle__icon { background: transparent; }
  .is-navigation-open .sidebar-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .is-navigation-open .sidebar-toggle__icon::after { top: 0; transform: rotate(-45deg); }
  .sidebar-panel { min-height: 0; }
  .sidebar-caption { margin: 0 22px 12px; }
  .primary-navigation { flex: none; max-height: none; padding: 0 14px 12px; overflow: visible; }
  .primary-navigation a, .primary-navigation .submenu-toggle { min-height: 48px; font-size: 11px; }
  .primary-navigation .sub-menu a, .primary-navigation .sub-menu .submenu-toggle { min-height: 44px; font-size: 11px; }
  .sidebar-footer { padding: 14px 22px 22px; }
  .sidebar-footer p { font-size: 17px; }
  .site-header { padding-top: .8rem; padding-bottom: .8rem; }
  .site-main { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-sidebar *, .site-sidebar *::after, .site-sidebar *::before { animation: none !important; transition: none !important; }
}
@media (max-width: 34rem) {
  .site-header__label {
    font-size: 0.64rem;
  }

  .site-header__rule {
    width: 2rem;
  }

  .site-footer__inner,
  .posts-navigation,
  .post-navigation,
  .pagination {
    flex-direction: column;
  }
}






.primary-navigation > .menu > li:last-child > a .menu-label { text-align: center; }
.primary-navigation > .menu > li:last-child > a::after { content: ''; width: 30px; }





.primary-navigation .menu-current-label {
  display: block;
  max-width: 100%;
  margin-top: 2px;
  overflow: hidden;
  color: var(--rocha-red-dark);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}




/* Right canvas: parish photograph, upper footer and colophon. */
.site-header.parish-header { padding: 0; border-bottom: 1px solid var(--rocha-line); background: #f7f4ef; }
.parish-header__top { display: flex; justify-content: space-between; gap: 12px; padding: 13px clamp(24px,3vw,48px); background: #fff; color: #66615d; font-size: 10px; letter-spacing: .55px; }
.parish-header__top b { margin: 0 8px; color: var(--rocha-red); }
.parish-hero { display: grid; grid-template-columns: 46% 54%; min-height: 390px; }
.parish-hero__copy { align-self: center; padding: 42px clamp(24px,3vw,48px); }
.parish-kicker { margin: 0 0 19px; color: var(--rocha-red); font-size: 9px; font-weight: 600; letter-spacing: 1.7px; text-transform: uppercase; }
.parish-kicker > span { margin-right: 9px; font-size: 17px; }
.parish-hero__title { margin: 0; font-family: Georgia,serif; font-size: clamp(32px,3.3vw,58px); line-height: 1.1; letter-spacing: -1.8px; }
.parish-hero__title > span { display: block; margin-top: 6px; font-size: .68em; color: #68605a; font-style: italic; letter-spacing: -.8px; }
.parish-hero__rule { display: block; width: 42px; height: 2px; background: var(--rocha-red); margin: 25px 0 20px; }
.parish-hero__welcome { margin: 0 0 25px; color: #68605a; font-size: 13px; line-height: 1.8; }
.parish-hero__link { display: inline-flex; align-items: center; gap: 22px; padding: 11px 0; border-bottom: 1px solid #c92f2f55; color: var(--rocha-red); font-size: 11px; font-weight: 600; text-decoration: none; }
.parish-hero__photo { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.parish-hero__photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.parish-hero__photo::after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,#15151585); pointer-events: none; }
.parish-hero__photo figcaption { position: absolute; z-index: 1; bottom: 20px; left: 25px; color: white; font-size: 9px; letter-spacing: 1.7px; text-transform: uppercase; }
.parish-hero__photo figcaption span { padding: 0 10px; opacity: .6; }
.site-footer.parish-footer { padding: 0; background: #f2efeb; color: var(--rocha-ink); border-top: 3px solid var(--rocha-red); }
.parish-footer__main { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr; gap: clamp(20px,2.5vw,42px); padding: 40px clamp(24px,3vw,48px) 38px; max-width: 1440px; margin: auto; }
.parish-footer__main > section { min-width: 0; }
.parish-footer h2 { font-family: Georgia,serif; font-size: 20px; font-weight: 400; line-height: 1.3; margin: 0 0 20px; }
.parish-footer p,.parish-footer address,.parish-footer dl { font-size: 11px; line-height: 1.9; color: #625c57; }
.parish-footer p { margin: 0 0 12px; }
.parish-footer address { font-style: normal; }
.parish-footer__brand img { width: 30px; height: 40px; object-fit: contain; margin-bottom: 13px; }
.parish-footer__brand .parish-kicker { font-size: 7px; color: var(--rocha-red); letter-spacing: 1.1px; margin-bottom: 7px; }
.parish-footer__brand h2 { font-size: 29px; margin-bottom: 14px; }
.parish-footer__brand h2 span { display: block; font-size: 16px; color: #625c57; }
.parish-footer__hours { margin: 0; }
.parish-footer__hours dt { color: #625c57; }
.parish-footer__hours dd { margin: 2px 0 13px; color: #25211f; font-size: 16px; font-family: Georgia,serif; white-space: nowrap; }
.parish-footer a { color: #524b46; text-decoration: none; overflow-wrap: anywhere; }
.parish-footer a:hover { color: var(--rocha-red); text-decoration: underline; }
.parish-footer a.parish-footer__phone { display: inline-block; color: #25211f; font-family: Georgia,serif; font-size: 20px; margin-top: 9px; }
.parish-footer a.parish-footer__link { display: inline-flex; gap: 16px; align-items: center; font-size: 10px; color: var(--rocha-red); margin-top: 15px; }
.parish-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; padding: 19px clamp(24px,3vw,48px); background: #fff; border-top: 1px solid #e1dcd6; }
.parish-footer__bottom p,.parish-footer__bottom a { font-size: 9px; color: #756e68; margin: 0; }
.parish-footer__credit strong { color: #302a26; font-weight: 600; margin-left: 5px; }
.parish-footer :is(a):focus-visible,.parish-header a:focus-visible { outline: 2px solid var(--rocha-red); outline-offset: 5px; }
@media (min-width: 56.001rem) and (max-width: 1200px) { .parish-footer__main { grid-template-columns: 1fr 1fr; } .parish-hero { grid-template-columns: 48% 52%; } .parish-header__top { font-size: 9px; } }
@media (max-width: 56rem) { .parish-hero { min-height: 370px; } .parish-footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .parish-header__top { flex-direction: column; gap: 2px; font-size: 9px; padding: 12px 24px; } .parish-hero { grid-template-columns: 1fr; } .parish-hero__copy { padding: 32px 24px; } .parish-hero__title { font-size: 42px; } .parish-hero__photo { min-height: 275px; } .parish-hero__photo img { object-position: center 45%; } .parish-footer__main { grid-template-columns: 1fr; gap: 28px; padding: 30px 24px; } .parish-footer__main > section + section { border-top: 1px solid #ded8d1; padding-top: 24px; } .parish-footer h2 { margin-bottom: 13px; } .parish-footer__bottom { align-items: flex-start; flex-direction: column; padding: 20px 24px; } }

/* Black lower footer with legal links and a visitor-counter widget slot. */
.parish-footer__bottom { background: #000; border-top: 0; gap: 14px 24px; }
.parish-footer__bottom p,.parish-footer__bottom a,.parish-footer__visits { color: #d4d4d4; font-size: 10px; line-height: 1.7; }
.parish-footer__bottom > p { flex-shrink: 0; }
.parish-footer__right { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-left: auto; }
.parish-footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.parish-footer__bottom a:hover { color: #fff; }
.parish-footer__visits { display: flex; align-items: center; gap: 4px; }
.parish-footer__credit { display: inline-flex; gap: 6px; align-items: center; }
.parish-footer__credit strong { display: inline-flex; align-items: baseline; color: #fff; margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.8px; line-height: 1; }
.parish-footer__cross { color: #fff; font-size: 22px; line-height: .8; }
@media (max-width: 600px) { .parish-footer__right { margin-left: 0; align-items: flex-start; justify-content: flex-start; gap: 14px 20px; } .parish-footer__legal { width: 100%; gap: 10px 16px; } }
/* Quiet author signature matching the supplied footer reference. */
.parish-footer__credit strong { font-family: "Segoe UI",Arial,sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 1.2px; }
.parish-footer__cross { font-family: Georgia,serif; font-size: 12px; font-weight: 400; line-height: 1; }
.parish-footer__visits .rocha-visitor-counter { font-size: inherit; opacity: 1; }
/* Keep the complete lower footer on one line. */
.parish-footer__bottom { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 18px; overflow-x: auto; }
.parish-footer__bottom > p { white-space: nowrap; }
.parish-footer__right { flex: 0 0 auto; flex-wrap: nowrap; align-items: center; margin-left: auto; gap: 20px; }
.parish-footer__legal { width: auto; flex-wrap: nowrap; gap: 18px; }
.parish-footer__bottom a,.parish-footer__visits,.parish-footer__credit { white-space: nowrap; flex-shrink: 0; }
.parish-footer__visits .rocha-visitor-counter { white-space: nowrap; }
.parish-footer__credit strong { white-space: nowrap; flex-shrink: 0; }



/* Four-column parish directory above the black colophon. */
.parish-footer__main {
  grid-template-columns: 1.25fr .95fr 1fr 1.4fr;
  gap: clamp(22px, 2.6vw, 44px);
  padding: 28px clamp(24px, 3vw, 48px) 26px;
  align-items: start;
}
.parish-footer__main > * { min-width: 0; }
.parish-footer__main h2 {
  margin: 0 0 15px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.parish-footer__main > :not(.parish-footer__brand) h2::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 8px;
  background: var(--rocha-red);
}
.parish-footer__brand img { width: 32px; height: 43px; margin-bottom: 12px; }
.parish-footer__brand .parish-kicker {
  margin: 0 0 5px;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 1.2px;
}
.parish-footer__brand h2 { max-width: 240px; margin: 0 0 11px; font-size: 14px; letter-spacing: .6px; line-height: 1.65; }
.parish-footer__brand .parish-footer__diocese { margin: 0; font-size: 10px; line-height: 1.8; letter-spacing: .8px; text-transform: uppercase; }
.parish-footer__links { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.parish-footer__links li { margin: 0; padding: 0; }
.parish-footer__links a { display: inline-block; font-size: 12px; line-height: 1.65; text-decoration: none; }
.parish-footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.parish-footer__contact { display: grid; gap: 9px; }
.parish-footer__main .parish-footer__contact { font-size: 12px; line-height: 1.8; }
.parish-footer__contact > div { display: flex; align-items: flex-start; gap: 11px; }
.parish-footer__contact-icon { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid #c92f2f16; border-radius: 7px; background: #c92f2f08; color: var(--rocha-red); font-size: 14px; line-height: 1; }
.parish-footer__contact a { align-self: center; }
.parish-footer a.parish-footer__contact-link { margin-top: 14px; padding-bottom: 5px; border-bottom: 1px solid #c92f2f40; font-size: 11px; line-height: 1.6; gap: 12px; }
@media (min-width: 56.001rem) and (max-width: 1200px), (min-width: 601px) and (max-width: 56rem) {
  .parish-footer__main { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 22px; }
}
@media (max-width: 600px) {
  .parish-footer__main { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .parish-footer__main > * + * { border-top: 1px solid #ded8d1; padding-top: 18px; }
  .parish-footer__main h2 { margin-bottom: 18px; }
  .parish-footer__brand h2 { margin-bottom: 14px; }
}

/* Compact footer: four columns whenever the content width allows it. */
.parish-footer__main { grid-template-columns: 1.05fr .9fr .95fr 1.3fr; gap: 18px; padding: 20px clamp(20px, 2.5vw, 36px); }
.parish-footer__main h2 { margin-bottom: 10px; line-height: 1.4; letter-spacing: 1px; }
.parish-footer__main > :not(.parish-footer__brand) h2::after { margin-top: 6px; }
.parish-footer__brand img { width: 26px; height: 35px; margin-bottom: 9px; }
.parish-footer__brand .parish-kicker { margin-bottom: 3px; font-size: 8px; letter-spacing: .8px; }
.parish-footer__brand h2 { font-size: 12px; line-height: 1.5; margin-bottom: 8px; letter-spacing: .3px; }
.parish-footer__brand .parish-footer__diocese { font-size: 9px; line-height: 1.65; }
.parish-footer__links { gap: 4px; }
.parish-footer__links li { line-height: 1.5; }
.parish-footer__links a { font-size: 11px; line-height: 1.6; }
.parish-footer__contact { gap: 7px; }
.parish-footer__main .parish-footer__contact { font-size: 11px; line-height: 1.6; }
.parish-footer__contact > div { gap: 7px; }
.parish-footer__contact-icon { flex-basis: 22px; height: 22px; border-radius: 5px; font-size: 12px; }
.parish-footer a.parish-footer__contact-link { margin-top: 10px; padding-bottom: 3px; font-size: 10px; gap: 6px; }
@media (min-width: 56.001rem) and (max-width: 1100px), (min-width: 521px) and (max-width: 740px) {
  .parish-footer__main { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
}
@media (min-width: 521px) and (max-width: 600px) {
  .parish-footer__main > * + * { border-top: 0; padding-top: 0; }
}
@media (max-width: 520px) {
  .parish-footer__main { grid-template-columns: 1fr; gap: 14px; padding: 18px 20px; }
  .parish-footer__main > * + * { padding-top: 14px; }
}

/* Parish identity and service schedule share a compact, balanced footer. */
.parish-footer__main { grid-template-columns: 1.05fr .85fr .9fr minmax(215px,1.3fr) 1.2fr; column-gap: clamp(16px,1.5vw,24px); padding-top: 18px; padding-bottom: 18px; }
.parish-footer__brand { text-align: center; align-self: center; }
.parish-footer__brand img { margin-left: auto; margin-right: auto; }
.parish-footer__brand h2 { margin-left: auto; margin-right: auto; }
.parish-footer__office p { margin: 0; font-size: 11px; line-height: 1.65; }
.parish-footer__office-hours { white-space: nowrap; }
.parish-footer__services { margin-top: 14px; }
.parish-footer__services h3 { margin: 0 0 7px; color: var(--rocha-ink); font-size: 11px; font-weight: 700; line-height: 1.5; }
.parish-footer__services p + p { margin-top: 9px; }
.parish-footer__services strong { font-weight: 600; }
@media (min-width: 741px) and (max-width: 56rem), (min-width: 1101px) and (max-width: 1320px) {
  .parish-footer__main { grid-template-columns: 1fr 1fr 1.15fr; gap: 20px; }
  .parish-footer__office { grid-column: 1 / 3; }
}
@media (min-width: 56.001rem) and (max-width: 1100px), (min-width: 521px) and (max-width: 740px) {
  .parish-footer__main { grid-template-columns: 1fr 1fr; gap: 20px; }
  .parish-footer__office { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .parish-footer__main { grid-template-columns: 1fr; } }
/* Final footer hierarchy: aligned headings and a compact liturgy timetable. */
.parish-footer__main { grid-template-columns: .95fr .8fr .85fr minmax(235px,1.4fr) 1.2fr; align-items: start; padding-top: 24px; padding-bottom: 24px; }
.parish-footer__brand { align-self: start; padding-top: 3px; }
.parish-footer__brand img { width: 31px; height: 41px; margin-bottom: 12px; }
.parish-footer__brand h2 { font-size: 12px; line-height: 1.5; }
.parish-footer__main > :not(.parish-footer__brand) h2 { margin-bottom: 15px; font-size: 10px; letter-spacing: 1.2px; }
.parish-footer__links { gap: 9px; }
.parish-footer__links a { display: block; width: fit-content; line-height: 1.6; }
.parish-footer__office .parish-footer__office-hours { color: #49433f; font-size: 10px; line-height: 1.6; }
.parish-footer__services { margin-top: 13px; padding-top: 11px; border-top: 1px solid #ded8d1; }
.parish-footer__services h3 { margin-bottom: 9px; font-size: 10px; font-weight: 600; letter-spacing: .35px; }
.parish-footer__service-group + .parish-footer__service-group { margin-top: 10px; }
.parish-footer__office .parish-footer__service-label { font-size: 10px; line-height: 1.5; color: #5f5750; }
.parish-footer__service-label > span { color: #827970; font-weight: 400; }
.parish-footer__office .parish-footer__service-times { margin: 3px 0 0; font-family: Georgia,serif; font-size: 15px; line-height: 1.35; color: #25211e; white-space: nowrap; font-variant-numeric: tabular-nums; }
.parish-footer__service-times > span { padding: 0 3px; color: #b69b8c; font-size: 12px; }
.parish-footer__service-times > .parish-footer__mass-label { padding: 0 3px 0 0; color: #6d635c; font-family: "Segoe UI",Arial,sans-serif; font-size: 10px; }
.parish-footer__office .parish-footer__service-note { margin-top: 4px; font-size: 9px; line-height: 1.5; color: #786e66; }
.parish-footer__contact { gap: 10px; }
@media (min-width: 741px) and (max-width: 56rem), (min-width: 1101px) and (max-width: 1320px) {
  .parish-footer__main { grid-template-columns: 1fr 1fr 1.15fr; gap: 24px; }
  .parish-footer__office { grid-column: 1 / 3; }
  .parish-footer__services { max-width: 410px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .parish-footer__services h3 { grid-column: 1 / -1; }
  .parish-footer__service-group + .parish-footer__service-group { margin-top: 0; }
}
@media (min-width: 56.001rem) and (max-width: 1100px), (min-width: 521px) and (max-width: 740px) {
  .parish-footer__main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .parish-footer__office { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .parish-footer__main { grid-template-columns: 1fr; padding: 22px 20px; } }

/* Four footer columns grouped closely in a centered directory. */
.parish-footer__main { width: 100%; max-width: 1000px; grid-template-columns: 1.1fr .9fr .95fr 1.25fr; gap: 24px; margin: 0 auto; padding: 22px 24px; }
@media (min-width: 56.001rem) and (max-width: 1100px), (min-width: 521px) and (max-width: 740px) {
  .parish-footer__main { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
}
@media (max-width: 520px) { .parish-footer__main { grid-template-columns: 1fr; gap: 16px; padding: 20px; } }

/* Standalone service schedule, without the parish office section. */
.parish-footer__main { max-width: 1160px; grid-template-columns: 1fr .85fr .9fr minmax(220px,1.3fr) 1.2fr; gap: 22px; }
.parish-footer__schedule p { margin: 0; font-size: 10px; line-height: 1.5; }
.parish-footer__schedule .parish-footer__service-label { color: #5f5750; }
.parish-footer__schedule .parish-footer__service-times { margin-top: 4px; font-family: Georgia,serif; font-size: 15px; line-height: 1.35; color: #25211e; white-space: nowrap; font-variant-numeric: tabular-nums; }
.parish-footer__schedule .parish-footer__service-note { margin-top: 5px; font-size: 9px; color: #786e66; }
.parish-footer__schedule .parish-footer__service-group + .parish-footer__service-group { margin-top: 13px; }
@media (min-width: 741px) and (max-width: 56rem), (min-width: 1101px) and (max-width: 1320px) {
 .parish-footer__main { grid-template-columns: 1fr 1fr 1.15fr; gap: 22px; }
 .parish-footer__schedule { grid-column: 1 / 3; }
}
@media (min-width: 56.001rem) and (max-width: 1100px), (min-width: 521px) and (max-width: 740px) {
 .parish-footer__main { grid-template-columns: 1fr 1fr; gap: 20px; }
 .parish-footer__schedule { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .parish-footer__main { grid-template-columns: 1fr; gap: 16px; } }

/* Center the parish identity horizontally and vertically within the footer. */
.parish-footer__main > .parish-footer__brand { align-self: center; justify-self: center; width: 100%; padding-top: 0; text-align: center; }
.parish-footer__main > .parish-footer__brand img { margin-left: auto; margin-right: auto; }
.parish-footer__main > .parish-footer__brand h2 { margin-left: auto; margin-right: auto; }

/* Small cross ornaments separate the footer columns. */
.parish-footer__main > * { position: relative; }
.parish-footer__main > * + *::before {
 content: ''; position: absolute; left: -11px; top: 62px; width: 7px; height: 11px;
 background: linear-gradient(#c92f2f88,#c92f2f88) center / 1px 11px no-repeat,
             linear-gradient(#c92f2f88,#c92f2f88) center 3px / 7px 1px no-repeat;
 pointer-events: none;
}
@media (min-width: 1321px) {
 .parish-footer__main { grid-template-columns: 1.3fr .85fr .9fr minmax(220px,1.3fr) 1.2fr; column-gap: 14px; }
 .parish-footer__main > .parish-footer__brand { width: calc(100% - 42px); margin-right: 42px; }
 .parish-footer__main > :nth-child(2)::before { left: -32px; }
}
@media (min-width: 741px) and (max-width: 56rem), (min-width: 1101px) and (max-width: 1320px) {
 .parish-footer__main { column-gap: 16px; }
 .parish-footer__main > .parish-footer__brand { width: calc(100% - 20px); margin-right: 20px; }
 .parish-footer__main > :nth-child(2)::before { left: -22px; }
 .parish-footer__main > .parish-footer__schedule::before { display: none; }
}
@media (min-width: 56.001rem) and (max-width: 1100px), (min-width: 521px) and (max-width: 740px) {
 .parish-footer__main { column-gap: 16px; }
 .parish-footer__main > :nth-child(3)::before,
 .parish-footer__main > :nth-child(4)::before,
 .parish-footer__main > :nth-child(5)::before { display: none; }
}
@media (max-width: 520px) {
 .parish-footer__main > * + *::before { left: calc(50% - 3px); top: -7px; }
}

/* Remove decorative crosses between footer columns. */
.parish-footer__main > * + *::before { content: none; display: none; }

/* Contact and community links in the upper header strip. */
.parish-header__top { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rocha-line); font-size: 11px; letter-spacing: 0; line-height: 1.5; }
.parish-header__contact,.parish-header__social { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; }
.parish-header__social { margin-left: auto; gap: 12px; }
.parish-header__top a { display: inline-flex; align-items: center; gap: 7px; color: #393330; white-space: nowrap; text-decoration: none; }
.parish-header__top a:hover { color: var(--rocha-red); text-decoration: underline; text-underline-offset: 4px; }
.parish-header__icon { color: var(--rocha-red); font-size: 15px; line-height: 1; }
.parish-header__top a.parish-header__facebook { color: #1877f2; padding: 3px; }
.parish-header__support { margin-left: 8px; padding-left: 18px; border-left: 1px solid var(--rocha-line); }
.parish-header__support > span { font-size: 15px; line-height: 1; }
@media (max-width: 600px) {
 .parish-header__top { align-items: flex-start; gap: 10px; }
 .parish-header__contact { gap: 8px 12px; }
 .parish-header__contact > span { flex-basis: 100%; }
 .parish-header__social { margin-left: 0; }
}

/* Refined contact ribbon, matching the parish's warm white and red palette. */
.parish-header__top { min-height: 62px; padding: 10px clamp(20px, 2.7vw, 44px); background: #fff; gap: 10px 20px; font-size: 11px; }
.parish-header__contact { gap: 10px 15px; }
.parish-header__contact > span,.parish-header__social > span { color: #8a7e75; font-size: 8px; font-weight: 600; line-height: 1.5; letter-spacing: 1.2px; text-transform: uppercase; }
.parish-header__top a { gap: 8px; font-weight: 500; }
.parish-header__icon { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border: 1px solid #c92f2f12; border-radius: 50%; background: #c92f2f06; color: var(--rocha-red); }
.parish-header__icon svg { display: block; width: 14px; height: 14px; }
.parish-header__social { gap: 11px; }
.parish-header__top a.parish-header__facebook { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #e9e4df; border-radius: 50%; background: #fff; color: #5b514a; }
.parish-header__facebook svg { width: 15px; height: 15px; }
.parish-header__top a.parish-header__facebook:hover { color: #1877f2; border-color: #1877f240; background: #1877f208; }
.parish-header__top a.parish-header__support { min-height: 36px; margin-left: 7px; padding: 8px 13px; gap: 10px; border: 1px solid #c92f2f25; border-radius: 7px; background: #c92f2f08; color: var(--rocha-red); font-size: 10px; font-weight: 600; }
.parish-header__support > span { display: grid; place-items: center; }
.parish-header__support svg { width: 14px; height: 14px; }
.parish-header__top a.parish-header__support:hover { background: var(--rocha-red); border-color: var(--rocha-red); color: #fff; text-decoration: none; }
.parish-header__top a:focus-visible { outline: 2px solid var(--rocha-red); outline-offset: 4px; }
@media (max-width: 1200px) { .parish-header__top { font-size: 10px; } .parish-header__contact { gap: 9px 12px; } }
@media (max-width: 600px) {
 .parish-header__top { gap: 13px; padding: 14px 22px; }
 .parish-header__contact { width: 100%; gap: 8px 14px; }
 .parish-header__contact > span { flex-basis: 100%; }
 .parish-header__social { width: 100%; padding-top: 11px; border-top: 1px solid var(--rocha-line); }
 .parish-header__top a.parish-header__support { margin-left: auto; }
}

/* Shared page banner: a soft church photograph and contextual navigation. */
.parish-page-banner { position: relative; isolation: isolate; overflow: hidden; min-height: 264px; background: #f7f4ef; }
.parish-page-banner__image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 46% 39%; opacity: .58; filter: saturate(.65); }
.parish-page-banner::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#f7f4ef 0%,#f7f4ef 34%,#f7f4eff5 45%,#f7f4efa3 61%,#f7f4ef24 84%,#f7f4ef12 100%); }
.parish-page-banner::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: #d8cec266; }
.parish-page-banner__content { position: relative; width: min(100%,var(--rocha-content)); min-height: 264px; margin: 0 auto; padding: 42px clamp(24px,4vw,64px) 34px; display: flex; flex-direction: column; justify-content: center; }
.parish-page-banner__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--rocha-red); font-size: 9px; font-weight: 600; letter-spacing: 1.7px; line-height: 1.5; text-transform: uppercase; }
.parish-page-banner__eyebrow > span { width: 26px; height: 1px; background: currentColor; }
.parish-page-banner__title { max-width: 78%; margin: 0; color: #25211e; font-family: Georgia,"Times New Roman",serif; font-size: clamp(35px,4.4vw,60px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.parish-breadcrumbs { margin-top: 25px; max-width: 82%; }
.parish-breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 0; margin: 0; padding: 0; list-style: none; font-size: 10px; line-height: 1.7; }
.parish-breadcrumbs li { display: flex; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.parish-breadcrumbs li + li::before { content: ''; display: inline-block; flex-shrink: 0; width: 4px; height: 4px; margin: 0 12px; border-top: 1px solid #a6988b; border-right: 1px solid #a6988b; transform: rotate(45deg); }
.parish-breadcrumbs a { color: #7c6b60; text-decoration: none; }
.parish-breadcrumbs a:hover { color: var(--rocha-red); text-decoration: underline; text-underline-offset: 4px; }
.parish-breadcrumbs li > span { color: #7c6b60; }
.parish-breadcrumbs [aria-current="page"] { color: #3f3731; font-weight: 600; }
.site-main { padding-top: 40px; }
.archive-header:not(:has(.archive-description:not(:empty))) { display: none; }
@media (max-width: 600px) {
 .parish-page-banner,.parish-page-banner__content { min-height: 228px; }
 .parish-page-banner__content { padding: 32px 24px; }
 .parish-page-banner__image { width: 100%; opacity: .32; object-position: 55% 35%; }
 .parish-page-banner::before { background: linear-gradient(90deg,#f7f4effa 0%,#f7f4efe6 43%,#f7f4ef85 100%); }
 .parish-page-banner__eyebrow { font-size: 8px; letter-spacing: 1.1px; gap: 9px; }
 .parish-page-banner__title { max-width: 100%; font-size: clamp(32px,8vw,42px); }
 .parish-breadcrumbs { max-width: 100%; margin-top: 22px; }
 .site-main { padding-top: 30px; }
}

/* Show the entrance and tower together instead of cropping the facade. */
.parish-page-banner__image { width: 58%; object-fit: contain; object-position: right center; }
.parish-page-banner::before { background: linear-gradient(90deg,#f7f4ef 0%,#f7f4ef 35%,#f7f4eff2 48%,#f7f4ef99 64%,#f7f4ef18 83%,#f7f4ef08 100%); }
@media (max-width: 600px) {
 .parish-page-banner__image { width: 100%; object-fit: contain; object-position: right center; }
 .parish-page-banner::before { background: linear-gradient(90deg,#f7f4effa 0%,#f7f4efe6 38%,#f7f4ef66 100%); }
}
.parish-page-banner__image { -webkit-mask-image: linear-gradient(90deg,transparent 0%,transparent 14%,#000 40%,#000 100%); mask-image: linear-gradient(90deg,transparent 0%,transparent 14%,#000 40%,#000 100%); }

/* Fade the photograph itself, so its real edge blends at every banner width. */
.parish-page-banner__image {
 width: auto; max-width: none; height: 100%; aspect-ratio: 3 / 2;
 object-fit: contain; object-position: center; right: 0; left: auto;
 -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 42%,#000 100%);
 mask-image: linear-gradient(90deg,transparent 0%,#000 42%,#000 100%);
}
.parish-page-banner::before { background: linear-gradient(90deg,#f7f4ef 0%,#f7f4ef 28%,#f7f4efcc 48%,#f7f4ef44 72%,transparent 100%); }
@media (max-width: 600px) {
 .parish-page-banner__image { width: auto; max-width: none; height: 100%; object-position: center; }
 .parish-page-banner::before { background: linear-gradient(90deg,#f7f4eff5 0%,#f7f4efcc 40%,#f7f4ef44 100%); }
}

/* Bring the church closer while keeping the soft fade into the heading. */
.parish-page-banner__image { height: 125%; top: -8%; bottom: auto; right: -2%; }
@media (max-width: 600px) { .parish-page-banner__image { height: 115%; top: -5%; right: -10%; } }

/* Shorter banner, closer photograph and more readable breadcrumbs. */
.parish-page-banner,.parish-page-banner__content { min-height: 212px; }
.parish-page-banner__content { padding-top: 27px; padding-bottom: 27px; }
.parish-page-banner__image { height: 165%; top: -19%; right: -3%; }
.parish-page-banner__eyebrow { margin-bottom: 12px; }
.parish-breadcrumbs { margin-top: 20px; }
.parish-breadcrumbs ol { font-size: 13px; line-height: 1.65; }
.parish-breadcrumbs [aria-current="page"] { font-weight: 750; color: #25211e; }
@media (max-width: 600px) {
 .parish-page-banner,.parish-page-banner__content { min-height: 195px; }
 .parish-page-banner__content { padding: 25px 24px; }
 .parish-page-banner__image { height: 145%; top: -13%; right: -18%; }
 .parish-breadcrumbs { margin-top: 18px; }
 .parish-breadcrumbs ol { font-size: 12px; }
}

/* Dokumenty: nazwa otwiera stronę, osobna strzałka rozwija podmenu. */
.primary-navigation > ul > li.menu-item-linked-parent{display:grid;grid-template-columns:minmax(0,1fr) 38px}
.primary-navigation .menu-item-linked-parent > a::after{display:none}
.primary-navigation .menu-item-linked-parent > .submenu-toggle{padding:0;justify-content:center;align-self:stretch;min-height:38px}
.primary-navigation .menu-item-linked-parent > .sub-menu{grid-column:1 / -1}
.primary-navigation .menu-item-linked-parent.current-menu-ancestor > a{color:var(--rocha-red);background:rgb(var(--rocha-red-rgb) / .06)}
@media(max-width:56rem){.primary-navigation > ul > li.menu-item-linked-parent{grid-template-columns:minmax(0,1fr) 44px}.primary-navigation .menu-item-linked-parent > .submenu-toggle{min-height:44px}}

/* Mobile usability: comfortable touch controls and readable form fields. */
@media (max-width: 56rem) {
 .primary-navigation a, .primary-navigation .submenu-toggle { min-height: 44px; }
 .site-main, .site-main > *, .parish-header__contact, .parish-header__social { min-width: 0; }
 .site-main { overflow-wrap: anywhere; }
 .site-main img, .site-main video, .site-main iframe { max-width: 100%; }
 .rocha-contact .mateusz-contact-field input,
 .rocha-contact .mateusz-contact-field textarea,
 .site-main select { font-size: 16px; }
}
@media (max-width: 600px) {
 .parish-header__top { font-size: 13px; }
 .parish-header__top a { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
 .parish-header__top a.parish-header__facebook { width: 44px; height: 44px; }
 .parish-header__top a.parish-header__support { min-height: 44px; font-size: 12px; }
 .parish-header__contact > span, .parish-header__social > span { font-size: 10px; }
 .parish-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}
