/*
Theme Name: Parafia Wiersze — Church & Event Child
Theme URI: http://www.parafiawiersze.pl/
Description: Lekki motyw potomny Parafii Wiersze. Wyłącznie warstwa wizualna; logika i shortcode'y należą do wtyczki Parafia Wiersze.
Author: Parafia Wiersze
Template: church-event
Version: 1.2.79
Text Domain: parafia-wiersze-child
*/

/* =========================================================
   PARAFIA WIERSZE — WWW W STYLU APLIKACJI
   ========================================================= */
:root{
  --parish-brown:#8D5A2F;
  --parish-brown-dark:#4E3425;
  --parish-cream:#F8F3ED;
  --parish-card:#FFFBF7;
  --parish-notice:#F3E2D6;
  --parish-line:#E7D8C9;
  --parish-text:#3D3935;
  --parish-muted:#7D746D;
  --parish-green:#2E7D32;
  --parish-gold:#D6A328;
  --parish-red:#B3261E;
  --parish-purple:#6A3D9A;
  --parish-rose:#D77A8B;
  --parish-radius:14px;
  --parish-radius-lg:18px;
  --parish-shadow:0 6px 22px rgba(78,52,37,.07);
}

/* =========================================================
   1. BAZA
   ========================================================= */
html,
body{
  color:var(--parish-text);
}

body,
input,
textarea,
select,
button{
  color:var(--parish-text);
}

body{
  font-synthesis:none;
}

h1,h2,h3,h4,h5,h6,
.page-header h1,
.page-header h2,
.post-article h1,
.post-article h2,
.post-article h3{
  color:var(--parish-brown-dark);
}

p,
li,
.the-content,
.post-content{
  color:var(--parish-text);
}

small,
.meta,
.post-meta,
.post-date{
  color:var(--parish-muted);
}

a{
  color:var(--parish-brown);
}

a:hover,
a:focus{
  color:var(--parish-brown-dark);
}

hr,
.sep,
.separator{
  border-color:var(--parish-line);
}

::selection{
  background:var(--parish-notice);
  color:var(--parish-brown-dark);
}

/* =========================================================
   2. NAGŁÓWEK
   Jasny, spokojny, bez starego granatowo-złotego charakteru.
   Nie zmieniamy mechaniki Vamtam.
   ========================================================= */
.fixed-header-box{
  border-bottom:0!important;
  box-shadow:0 5px 12px rgba(0,0,0,.28)!important;
}

.main-header img,
.logo-wrapper img{
  max-height:none;
}

.main-menu .menu > li > a,
.main-menu .menu > li > a:visited{
  color:var(--parish-brown-dark)!important;
}

.main-menu .menu > li.current-menu-item > a,
.main-menu .menu > li.current-menu-ancestor > a,
.main-menu .menu > li > a:hover,
.main-menu .menu > li > a:focus{
  color:var(--parish-brown)!important;
}

.main-menu .sub-menu{
  border:1px solid var(--parish-line)!important;
  box-shadow:var(--parish-shadow)!important;
}

/* Ikony wyszukiwania/menu w spokojnym ciemnym brązie. */
#mp-menu-trigger,
.mp-menu-trigger,
.mobile-menu-icon,
.menu-toggle,
.search-wrapper,
.search-trigger,
.vamtam-search-open,
.header-search{
  color:var(--parish-brown-dark)!important;
}

/* =========================================================
   3. KARTY / BLOKI / TREŚĆ
   ========================================================= */
.wp-block-group.has-background,
.wp-block-media-text.has-background,
.wp-block-cover,
.post-article,
.loop-wrapper .post-article{
  border-radius:var(--parish-radius);
}

.wp-block-group.has-background,
.wp-block-media-text.has-background{
  border-color:var(--parish-line);
}

blockquote{
  border-left-color:var(--parish-brown)!important;
  background:var(--parish-card);
  color:var(--parish-text);
}

/* =========================================================
   4. PRZYCISKI
   ========================================================= */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
a.button,
.wp-element-button,
.vamtam-button{
  border-color:var(--parish-brown)!important;
  border-radius:10px!important;
}

input[type="submit"],
.button:not(.parish-news__button),
a.button:not(.parish-news__button),
.wp-element-button,
.vamtam-button{
  background:var(--parish-brown)!important;
  color:#fff!important;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
.button:not(.parish-news__button):hover,
.button:not(.parish-news__button):focus,
a.button:not(.parish-news__button):hover,
a.button:not(.parish-news__button):focus,
.wp-element-button:hover,
.wp-element-button:focus,
.vamtam-button:hover,
.vamtam-button:focus{
  background:var(--parish-brown-dark)!important;
  color:#fff!important;
}

/* =========================================================
   5. FORMULARZE
   ========================================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select{
  border:1px solid var(--parish-line)!important;
  border-radius:10px!important;
  background:#FFFFFF!important;
  color:var(--parish-text)!important;
}

input:focus,
textarea:focus,
select:focus{
  border-color:var(--parish-brown)!important;
  outline:none!important;
  box-shadow:0 0 0 3px rgba(141,90,47,.10)!important;
}

/* =========================================================
   6. MODUŁY PARAFIA WIERSZE
   Układ pozostaje po stronie wtyczki.
   Tutaj narzucamy wspólną paletę.
   ========================================================= */
.pwi-section,
.pwi-home-module,
.pwi-history-list,
.mobile-mass-schedule,
.pwi-footer-info,
.parish-news{
  --pwi-brand:var(--parish-brown);
  --pwi-brand-dark:var(--parish-brown-dark);
  --pwi-cream:var(--parish-cream);
  --pwi-card:var(--parish-card);
  --pwi-line:var(--parish-line);
  --pwi-text:var(--parish-text);
}

/* Nagłówki modułów w jednym kolorze. */
.pwi-section h1,
.pwi-section h2,
.pwi-section h3,
.pwi-home-module h1,
.pwi-home-module h2,
.pwi-home-module h3,
.parish-news h1,
.parish-news h2,
.parish-news h3{
  color:var(--parish-brown-dark);
}

/* Karty parafialne mają delikatne obramowanie i cień. */
.pwi-section,
.pwi-home-module,
.pwi-history-list,
.mobile-mass-schedule{
  border-color:var(--parish-line);
}

/* Aktualności — zachowujemy układ z wtyczki, tylko paleta WWW+app. */
.parish-news{
  color:var(--parish-text);
}

.parish-news__title,
.parish-news-card__title,
.parish-news-card__title a{
  color:var(--parish-brown-dark)!important;
}

.parish-news-card,
.parish-news__button{
  border-color:var(--parish-line);
}

.parish-news__button{
  color:var(--parish-brown)!important;
}

.parish-news__button--primary{
  background:var(--parish-brown)!important;
  border-color:var(--parish-brown)!important;
  color:#fff!important;
}

.parish-news__button--primary:hover{
  background:var(--parish-brown-dark)!important;
  border-color:var(--parish-brown-dark)!important;
  color:#fff!important;
}

/* Msze — usuwamy wizualne pozostałości starego granatu. */
.mobile-mass-schedule,
.mobile-mass-schedule .mass-card,
.mobile-mass-schedule .schedule-card{
  background:#FFFFFF;
  border-color:var(--parish-line);
}

.mobile-mass-schedule h1,
.mobile-mass-schedule h2,
.mobile-mass-schedule h3,
.mobile-mass-schedule .mass-time,
.mobile-mass-schedule .hour,
.mobile-mass-schedule strong{
  color:var(--parish-brown-dark)!important;
}

.mobile-mass-schedule .day-title,
.mobile-mass-schedule .section-title{
  color:var(--parish-green)!important;
}

/* =========================================================
   7. STOPKA
   Główna część jasna, tylko dolny pasek ciemnobrązowy.
   ========================================================= */
/* Usuwamy szare/dark pasy odziedziczone z Vamtam. */
.footer-wrapper:before,
.footer-wrapper:after,
.main-footer:before,
.main-footer:after{
  background:transparent!important;
}

#footer-sidebars{
  border-top:1px solid var(--parish-line)!important;
  padding-top:42px;
  padding-bottom:36px;
}

#footer-sidebars h1,
#footer-sidebars h2,
#footer-sidebars h3,
#footer-sidebars h4,
#footer-sidebars .widget-title{
  color:var(--parish-brown-dark)!important;
}

#footer-sidebars p,
#footer-sidebars li,
#footer-sidebars span,
#footer-sidebars address{
  color:var(--parish-text)!important;
}

#footer-sidebars a,
.main-footer a,
footer.main-footer a{
  color:var(--parish-brown)!important;
}

#footer-sidebars a:hover,
.main-footer a:hover,
footer.main-footer a:hover{
  color:var(--parish-brown-dark)!important;
}

/* Dolny pasek copyright — jedyne duże ciemne pole w stopce. */
.copyrights,
#footer-sidebars + .copyrights,
footer .copyrights{
  background:var(--parish-brown-dark)!important;
  color:#fff!important;
  border-top:0!important;
}

.copyrights,
.copyrights p,
.copyrights span,
.copyrights li{
  color:#fff!important;
}

.copyrights a{
  color:var(--parish-notice)!important;
}

.copyrights a:hover,
.copyrights a:focus{
  color:#fff!important;
}

/* =========================================================
   8. MOBILE
   ========================================================= */
@media (max-width:958px){

  .fixed-header-box{
    box-shadow:none!important;
    border-bottom:1px solid var(--parish-line)!important;
  }

  /* Nagłówek ma być lekki, bez ciemnego paska. */
  .main-header,
  .first-row{
    min-height:0;
  }

  #mp-menu-trigger,
  .mp-menu-trigger,
  .mobile-menu-icon,
  .menu-toggle,
  .search-trigger,
  .vamtam-search-open{
    color:var(--parish-brown-dark)!important;
  }

  /* Ograniczamy zbyt wielkie pionowe przerwy między sekcjami. */
  .page-content,
  .the-content,
  .post-content{
    margin-top:0;
    margin-bottom:0;
  }

  /* Stopka na telefonie — układ poprawia child theme,
     kolor pozostaje po stronie ustawień Vamtam. */

  #footer-sidebars{
    padding:30px 24px!important;
  }

  #footer-sidebars h1,
  #footer-sidebars h2,
  #footer-sidebars h3,
  #footer-sidebars h4,
  #footer-sidebars .widget-title{
    color:var(--parish-brown-dark)!important;
  }

  #footer-sidebars p,
  #footer-sidebars li,
  #footer-sidebars span,
  #footer-sidebars address{
    color:var(--parish-text)!important;
  }

  .copyrights{
    background:var(--parish-brown-dark)!important;
    color:#fff!important;
    padding-top:28px!important;
    padding-bottom:28px!important;
  }
}

/* =========================================================
   9. TELEFON
   ========================================================= */
@media (max-width:600px){

  :root{
    --parish-radius:12px;
    --parish-radius-lg:16px;
  }

  /* Nie nadpisujemy tła kart i treści, gdy moduł ustawia je sam. */
  .wpb_column,
  .vc_column_container,
  .vc_column-inner{
    background-color:transparent;
  }

  /* Stopka bez wysokiego pustego pasa nad copyrightem. */
  #footer-sidebars:empty{
    display:none!important;
  }

  .footer-wrapper,
  .main-footer,
  footer.main-footer{
    min-height:0!important;
  }

  /* Polityka prywatności / podobne stałe przyciski w palecie aplikacji. */
  .cky-btn,
  .cookie-law-info-bar button,
  .cli_settings_button,
  .cli-plugin-button{
    border-radius:9px!important;
  }
}

/* =========================================================
   1.1.1 — DOPRACOWANIE MOBILE
   ========================================================= */

/* AKTUALNOŚCI — naprawa tekstu przycisku głównego.
   Wtyczka zachowuje własną strukturę przycisku; motyw tylko
   wymusza czytelny kolor wszystkich elementów wewnętrznych. */
.parish-news__button--primary,
.parish-news__button--primary *,
.parish-news__button--primary span,
.parish-news__button--primary strong,
.parish-news__button--primary .parish-news__button-label,
.parish-news__button--primary .parish-news__button-text,
.parish-news__button--primary .parish-news__button-arrow{
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  text-indent:0!important;
}

.parish-news__button--primary svg,
.parish-news__button--primary svg *{
  fill:currentColor!important;
  stroke:currentColor!important;
}

/* STOPKA — usunięcie cienkich pionowych linii/separatorów
   odziedziczonych po układzie Vamtam. */
#footer-sidebars,
#footer-sidebars .row,
#footer-sidebars .grid-1-2,
#footer-sidebars .grid-1-3,
#footer-sidebars .grid-1-4,
#footer-sidebars .widget,
#footer-sidebars .widget_text,
#footer-sidebars .textwidget,
.footer-wrapper .widget,
.main-footer .widget{
  border-right:0!important;
  border-left:0!important;
  box-shadow:none!important;
}

#footer-sidebars .widget:before,
#footer-sidebars .widget:after,
.footer-wrapper .widget:before,
.footer-wrapper .widget:after{
  display:none!important;
  border:0!important;
}

/* MSZE — pełne przejście z dawnego granatu na paletę aplikacji. */
.mobile-mass-schedule h1,
.mobile-mass-schedule h2,
.mobile-mass-schedule h3,
.mobile-mass-schedule h4,
.mobile-mass-schedule .mass-time,
.mobile-mass-schedule .hour,
.mobile-mass-schedule .time,
.mobile-mass-schedule .schedule-time,
.mobile-mass-schedule .mass-hour,
.mobile-mass-schedule strong{
  color:var(--parish-brown-dark)!important;
}

.mobile-mass-schedule .day-title,
.mobile-mass-schedule .section-title,
.mobile-mass-schedule .weekday-title,
.mobile-mass-schedule .schedule-day,
.mobile-mass-schedule .mass-day{
  color:var(--parish-green)!important;
}

.mobile-mass-schedule a{
  color:var(--parish-brown)!important;
}

.mobile-mass-schedule a:hover,
.mobile-mass-schedule a:focus{
  color:var(--parish-brown-dark)!important;
}

/* Mobile: stopka ma wypełniać szerokość bez bocznych separatorów. */
@media (max-width:958px){
  #footer-sidebars,
  #footer-sidebars .row,
  #footer-sidebars .grid-1-2,
  #footer-sidebars .grid-1-3,
  #footer-sidebars .grid-1-4,
  #footer-sidebars .widget,
  #footer-sidebars .widget_text,
  #footer-sidebars .textwidget{
    width:100%!important;
    max-width:100%!important;
    border:0!important;
  }

  #footer-sidebars .widget{
    padding-left:0!important;
    padding-right:0!important;
  }
}


/* =========================================================
   1.1.2 — VAMTAM + CYTAT + AKTUALNOŚCI
   ========================================================= */

/* ---------------------------------------------------------
   MENU GŁÓWNE
   Po zmianie akcentów Vamtam część pozycji dostawała jasne
   prostokątne tło i niewidoczny tekst. Przywracamy czysty,
   jasny nagłówek z brązowym tekstem.
   --------------------------------------------------------- */
.main-menu .menu > li,
.main-menu .menu > li > a,
.main-menu .menu > li > a > span,
.main-menu .menu > li > a strong {
    background: transparent !important;
    box-shadow: none !important;
}

.main-menu .menu > li > a,
.main-menu .menu > li > a:visited,
.main-menu .menu > li > a > span {
    color: var(--parish-brown-dark) !important;
}

.main-menu .menu > li > a:hover,
.main-menu .menu > li > a:focus,
.main-menu .menu > li.current-menu-item > a,
.main-menu .menu > li.current-menu-ancestor > a,
.main-menu .menu > li > a:hover > span,
.main-menu .menu > li > a:focus > span {
    color: var(--parish-brown) !important;
    background: var(--parish-notice) !important;
    border-radius: 8px !important;
}

/* ---------------------------------------------------------
   CYTATY Z BIBLII
   Zachowujemy fotografię Biblii jako jeden mocniejszy akcent,
   ale tekst zawsze ma wysoki kontrast.
   --------------------------------------------------------- */
.homepage-bible {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.homepage-bible::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(31, 30, 29, .68);
    pointer-events: none;
}

.homepage-bible .wpv-parallax-bg-content,
.homepage-bible .extended-column-inner,
.homepage-bible .row,
.homepage-bible .homepage-bible-content,
.homepage-bible .homepage-bible-links {
    position: relative !important;
    z-index: 1;
}

.homepage-bible,
.homepage-bible h1,
.homepage-bible h2,
.homepage-bible h3,
.homepage-bible h4,
.homepage-bible p,
.homepage-bible span,
.homepage-bible strong,
.homepage-bible .pwi-daily-verse,
.homepage-bible .pwi-daily-verse__text,
.homepage-bible .pwi-daily-verse__reference {
    color: #FFFBF7 !important;
}

.homepage-bible h2 {
    font-weight: 600 !important;
}

.homepage-bible a {
    color: #F3E2D6 !important;
}

.homepage-bible a:hover,
.homepage-bible a:focus {
    color: #FFFFFF !important;
}

/* Delikatne linie w module cytatu. */
.homepage-bible hr,
.homepage-bible .sep,
.homepage-bible .separator {
    border-color: rgba(255,255,255,.42) !important;
}

/* ---------------------------------------------------------
   AKTUALNOŚCI — przyciski stopki
   Pierwszy przycisk jest pełny brązowy z białym tekstem,
   drugi pozostaje jasny/obrysowany.
   --------------------------------------------------------- */
.parish-news__button:not(.parish-news__button--outline),
.parish-news__button:not(.parish-news__button--outline) *,
.parish-news__button:not(.parish-news__button--outline) span {
    color: #FFFFFF !important;
}

.parish-news__button:not(.parish-news__button--outline) {
    background: var(--parish-brown) !important;
    border-color: var(--parish-brown) !important;
}

.parish-news__button:not(.parish-news__button--outline):hover,
.parish-news__button:not(.parish-news__button--outline):focus {
    background: var(--parish-brown-dark) !important;
    border-color: var(--parish-brown-dark) !important;
    color: #FFFFFF !important;
}

.parish-news__button--outline,
.parish-news__button--outline * {
    color: var(--parish-brown) !important;
}

.parish-news__button--outline {
    background: var(--parish-card) !important;
    border-color: var(--parish-brown) !important;
}

.parish-news__button--outline:hover,
.parish-news__button--outline:focus,
.parish-news__button--outline:hover *,
.parish-news__button--outline:focus * {
    color: var(--parish-brown-dark) !important;
    background: var(--parish-cream) !important;
}

/* Mobile — cytat ma kończyć się zaraz po treści, bez pustego pola. */
@media (max-width:958px) {
    .homepage-bible {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding-top: 22px !important;
        padding-bottom: 24px !important;
    }

    .homepage-bible .wpv-parallax-bg-content,
    .homepage-bible .extended-column-inner,
    .homepage-bible .row,
    .homepage-bible .homepage-bible-content,
    .homepage-bible .homepage-bible-links {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .homepage-bible .homepage-bible-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}


/* =========================================================
   1.1.5 — BEZ PASKA TYTUŁU VAMTAM
   =========================================================
   Tytuł strony/wpisu pokazujemy tylko we właściwej treści.
   Usuwamy dekoracyjny pasek Vamtam pod nagłówkiem na stronach
   i pojedynczych wpisach. Strona główna pozostaje bez zmian.
   ========================================================= */
body:not(.home) .page-header,
body:not(.home) .page-header-content,
body:not(.home) .page-title,
body:not(.home) .page-title-row,
body:not(.home) .page-title-wrapper,
body:not(.home) .meta-header,
body:not(.home) .vamtam-page-title,
body:not(.home) .vamtam-page-header {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Nie zostawiamy pustego odstępu po ukrytym pasku. */
body:not(.home) #main-content,
body:not(.home) .main-container,
body:not(.home) .page-wrapper {
    margin-top: 0 !important;
}


/* =========================================================
   1.1.15 — MOBILE: WIDGETY STOPKI + COPYRIGHT
   =========================================================
   Vamtam zachowywał na telefonie szerokości/floaty z układu
   desktopowego. Efekt: tekst wychodził poza ekran, sekcje były
   zbyt wysokie, a dolny pasek copyright miał jasne fragmenty.
   ========================================================= */

@media (max-width:958px){

  /* Cała stopka zawsze mieści się w ekranie. */
  .footer-wrapper,
  .main-footer,
  footer.main-footer,
  #footer-sidebars,
  #footer-sidebars .limit-wrapper,
  #footer-sidebars .row{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  #footer-sidebars{
    margin:0!important;
    padding:28px 18px 24px!important;
  }

  #footer-sidebars .limit-wrapper{
    margin:0 auto!important;
    padding:0!important;
  }

  /* Każdy obszar widgetu staje się jedną pełną kolumną. */
  #footer-sidebars .row{
    display:block!important;
    margin:0!important;
    padding:0!important;
  }

  #footer-sidebars .row > *,
  #footer-sidebars [class*="grid-"],
  #footer-sidebars .grid-1-2,
  #footer-sidebars .grid-1-3,
  #footer-sidebars .grid-1-4,
  #footer-sidebars .grid-1-5,
  #footer-sidebars .grid-1-6{
    display:block!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  #footer-sidebars .widget,
  #footer-sidebars .widget_text,
  #footer-sidebars .textwidget{
    display:block!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:22px 0!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:1px solid var(--parish-line)!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  #footer-sidebars .row > *:last-child .widget:last-child,
  #footer-sidebars .widget:last-child{
    border-bottom:0!important;
  }

  /* Czytelna typografia bez obcinania po prawej. */
  #footer-sidebars h1,
  #footer-sidebars h2,
  #footer-sidebars h3,
  #footer-sidebars h4,
  #footer-sidebars .widget-title{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding:0!important;
    color:var(--parish-brown-dark)!important;
    font-size:28px!important;
    line-height:1.22!important;
    font-weight:400!important;
    overflow-wrap:anywhere!important;
    white-space:normal!important;
  }

  #footer-sidebars p,
  #footer-sidebars li,
  #footer-sidebars span,
  #footer-sidebars address,
  #footer-sidebars strong,
  #footer-sidebars a{
    max-width:100%!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  #footer-sidebars p,
  #footer-sidebars li,
  #footer-sidebars address{
    margin-top:0!important;
    font-size:16px!important;
    line-height:1.55!important;
  }

  #footer-sidebars ul,
  #footer-sidebars ol{
    max-width:100%!important;
    margin-left:0!important;
    padding-left:20px!important;
    box-sizing:border-box!important;
  }

  /* Karta "Pobierz aplikację" nie może mieć stałej szerokości. */
  #footer-sidebars .pwi-app-download,
  #footer-sidebars .pwi-app-card,
  #footer-sidebars [class*="app-download"],
  #footer-sidebars [class*="app-card"]{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:18px 0 0!important;
    box-sizing:border-box!important;
  }

  /* Usuwamy duże puste obszary między ostatnim widgetem i copyrightem. */
  .footer-wrapper,
  .main-footer,
  footer.main-footer{
    min-height:0!important;
    height:auto!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
  }

  /* Dolny pasek ma być jednym, ciągłym brązowym polem. */
  .copyrights,
  footer .copyrights,
  .copyrights .limit-wrapper,
  .copyrights .row,
  .copyrights [class*="grid-"],
  .copyrights > div{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    background:var(--parish-brown-dark)!important;
    color:#fff!important;
  }

  .copyrights{
    display:block!important;
    clear:both!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:18px 18px 20px!important;
    border:0!important;
  }

  .copyrights .limit-wrapper,
  .copyrights .row{
    margin:0 auto!important;
    padding:0!important;
  }

  .copyrights p,
  .copyrights span,
  .copyrights li,
  .copyrights a{
    color:#fff!important;
    background:transparent!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .copyrights p{
    margin:6px 0!important;
    font-size:13px!important;
    line-height:1.45!important;
    text-align:center!important;
  }
}

@media (max-width:600px){
  #footer-sidebars{
    padding:22px 20px 18px!important;
  }

  #footer-sidebars .widget,
  #footer-sidebars .widget_text,
  #footer-sidebars .textwidget{
    padding:20px 0!important;
  }

  #footer-sidebars h1,
  #footer-sidebars h2,
  #footer-sidebars h3,
  #footer-sidebars h4,
  #footer-sidebars .widget-title{
    font-size:24px!important;
    margin-bottom:15px!important;
  }

  #footer-sidebars p,
  #footer-sidebars li,
  #footer-sidebars address{
    font-size:15px!important;
    line-height:1.55!important;
  }

  .copyrights{
    padding:16px 16px 18px!important;
  }
}


/* =========================================================
   1.2.0 — VAMTAM JAKO ŹRÓDŁO GLOBALNEGO WYGLĄDU
   =========================================================
   Po zmianie konfiguracji strony globalne tła, nagłówek,
   menu oraz obszary widgetów są kontrolowane z panelu Vamtam.
   Child theme nie może ponownie narzucać kremowego tła.
   ========================================================= */

html,
body,
#page,
#main,
#main-content,
.main-container,
.page-wrapper,
.vamtam-main {
    background-color: transparent !important;
}

/* Właściwe białe tło pochodzi z ustawienia "Tło treści strony"
   w Vamtam. Nie malujemy wszystkich .row/.vc_row na kremowo. */
.row,
.wpb_row,
.vc_row {
    background-color: transparent;
}

/* Nagłówek i obszar widgetów korzystają z kolorów ustawionych
   w Vamtam. Tutaj pozostają wyłącznie poprawki konstrukcyjne. */
.fixed-header-box,
.main-header,
header.main-header,
.header-contents,
.first-row,
.second-row,
.footer-wrapper,
#footer-sidebars,
.main-footer,
footer.main-footer {
    background-color: transparent !important;
}

/* Podstopka ma pozostać jednolita i jest zgodna z ustawieniem
   Vamtam #4E3425. Ten bezpiecznik zapobiega jasnym fragmentom
   generowanym przez wewnętrzne kontenery motywu. */
.copyrights,
footer .copyrights,
.copyrights .limit-wrapper,
.copyrights .row,
.copyrights [class*="grid-"],
.copyrights > div {
    background-color: var(--parish-brown-dark) !important;
    color: #FFFFFF !important;
}


/* =========================================================
   1.2.3 — STOPKA NA TLE #C2A990
   ========================================================= */

#footer-sidebars,
#footer-sidebars .widget,
#footer-sidebars .widget_text,
#footer-sidebars .textwidget,
.footer-wrapper #footer-sidebars {
    color: #4E3425 !important;
    font-family: Arial, sans-serif !important;
}

#footer-sidebars p,
#footer-sidebars li,
#footer-sidebars span,
#footer-sidebars address,
#footer-sidebars div,
#footer-sidebars strong,
#footer-sidebars b {
    color: #4E3425 !important;
}

#footer-sidebars h1,
#footer-sidebars h2,
#footer-sidebars h3,
#footer-sidebars h4,
#footer-sidebars h5,
#footer-sidebars h6,
#footer-sidebars .widget-title,
#footer-sidebars .widgettitle {
    color: #4E3425 !important;
    font-family: Arial, sans-serif !important;
    font-weight: 600 !important;
}

#footer-sidebars a,
#footer-sidebars a:visited {
    color: #4E3425 !important;
}

#footer-sidebars a:hover,
#footer-sidebars a:focus {
    color: #4E3425 !important;
}

#footer-sidebars .row > *,
#footer-sidebars [class*="grid-"] {
    border-color: rgba(78,52,37,.22) !important;
}

#footer-sidebars .pwi-app-download,
#footer-sidebars .pwi-app-card,
#footer-sidebars [class*="app-download"],
#footer-sidebars [class*="app-card"] {
    background: rgba(255,255,255,.16) !important;
    border-color: rgba(78,52,37,.24) !important;
    color: #4E3425 !important;
}

#footer-sidebars .pwi-app-download *,
#footer-sidebars .pwi-app-card *,
#footer-sidebars [class*="app-download"] *,
#footer-sidebars [class*="app-card"] * {
    color: #4E3425 !important;
}

#footer-sidebars .pwi-app-download a,
#footer-sidebars .pwi-app-card a,
#footer-sidebars [class*="app-download"] a,
#footer-sidebars [class*="app-card"] a {
    color: #8D5A2F !important;
}

.copyrights,
footer .copyrights,
.copyrights .limit-wrapper,
.copyrights .row,
.copyrights [class*="grid-"],
.copyrights > div {
    color: #FFF8F0 !important;
}

.copyrights a,
.copyrights p,
.copyrights span,
.copyrights li {
    color: #FFF8F0 !important;
}

.copyrights a:hover {
    color: #FFFFFF !important;
}

@media (max-width:958px) {
    #footer-sidebars .widget,
    #footer-sidebars .widget_text,
    #footer-sidebars .textwidget {
        border-bottom-color: rgba(78,52,37,.18) !important;
    }
}


/* =========================================================
   1.2.6 — PORTAL STRONY GŁÓWNEJ
   =========================================================
   Kolory i obramowania kart .pwi-home-portal są kontrolowane
   wyłącznie przez wtyczkę Parafia Wiersze 1.8.40+.
   Child theme nie nadpisuje tych elementów.
   ========================================================= */

/* =========================================================
   1.2.7 — STOPNIOWE POJAWIANIE SIĘ SEKCJI
   Tylko komputer / desktop (od 1024 px).
   ========================================================= */
@media (min-width: 1024px) {
  html.pwi-scroll-reveal-enabled .pwi-scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
      opacity 680ms cubic-bezier(.22,.61,.36,1) var(--pwi-reveal-delay, 0ms),
      transform 680ms cubic-bezier(.22,.61,.36,1) var(--pwi-reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  html.pwi-scroll-reveal-enabled .pwi-scroll-reveal.pwi-scroll-reveal--visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Szanuj ustawienie systemowe ograniczające animacje. */
@media (prefers-reduced-motion: reduce) {
  html.pwi-scroll-reveal-enabled .pwi-scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   1.2.8 TEST — WYRAŹNIEJSZE ANIMACJE DESKTOP
   Celowo mocniejsze, aby łatwo potwierdzić działanie.
   ========================================================= */
@media (min-width: 1024px) {
  html.pwi-reveal-128 .pwi-reveal-item {
    opacity: 0;
    transform: translate3d(0, 55px, 0);
    transition:
      opacity 900ms cubic-bezier(.22,.61,.36,1) var(--pwi-delay, 0ms),
      transform 900ms cubic-bezier(.22,.61,.36,1) var(--pwi-delay, 0ms);
    will-change: opacity, transform;
  }

  html.pwi-reveal-128 .pwi-reveal-item.pwi-reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.pwi-reveal-128 .pwi-reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   1.2.9 — ANIMOWANIE CAŁYCH SEKCJI / KART
   Desktop od 1024 px.
   ========================================================= */
@media (min-width: 1024px) {
  html.pwi-reveal-129 .pwi-reveal-block {
    opacity: 0;
    transform: translate3d(0, 48px, 0);
    transition:
      opacity 850ms cubic-bezier(.22,.61,.36,1) var(--pwi-delay, 0ms),
      transform 850ms cubic-bezier(.22,.61,.36,1) var(--pwi-delay, 0ms);
    will-change: opacity, transform;
  }

  html.pwi-reveal-129 .pwi-reveal-block.pwi-reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.pwi-reveal-129 .pwi-reveal-block {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* =========================================================
 * 1.2.10 — mobile: szerokości modułów, cytat, stopka
 * Baza: 1.2.9
 * ========================================================= */
@media (max-width: 900px) {

	/* Portal: trzy karty jak karta porządku Mszy Świętych. */
	.pwi-home-portal {
		width: calc(100vw - 48px) !important;
		max-width: none !important;
		margin-left: calc(50% - 50vw + 24px) !important;
		margin-right: calc(50% - 50vw + 24px) !important;
	}

	.pwi-home-portal__left {
		display: none !important;
	}

	.pwi-home-portal__right,
	.pwi-home-portal__cards,
	.pwi-home-module {
		width: 100% !important;
		max-width: none !important;
	}

	/* Cytat: mniej pustego miejsca nad i pod. */
	.pwi-daily-verse-home {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 24px !important;
		padding-bottom: 26px !important;
	}

	.home .vc_row .pwi-daily-verse-home,
	.home .wpb_row .pwi-daily-verse-home {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.home .vc_row:has(.pwi-daily-verse-home),
	.home .wpb_row:has(.pwi-daily-verse-home),
	.home .vc_row:has(.pwi-lectionary-panel),
	.home .wpb_row:has(.pwi-lectionary-panel) {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.pwi-lectionary-panel {
		margin-top: 18px !important;
	}

	/* Stopka: ten sam beż co na desktopie. */
	#footer-sidebars,
	.main-footer,
	footer.main-footer,
	.vamtam-body-footer,
	.vamtam-footer {
		background-color: #C2A990 !important;
		background-image: none !important;
	}

	#footer-sidebars::before,
	#footer-sidebars::after,
	.main-footer::before,
	.main-footer::after,
	footer.main-footer::before,
	footer.main-footer::after {
		background: transparent !important;
		background-image: none !important;
	}
}


/* =========================================================
 * 1.2.11 — mobile: usuwa biały odstęp między Cytatem a Lekcjonarzem
 * Baza: 1.2.10
 * ========================================================= */
@media (max-width: 900px) {

	/* Sam Cytat nie tworzy dodatkowego odstępu pod spodem. */
	.pwi-daily-verse-home {
		margin-bottom: 0 !important;
		padding-bottom: 22px !important;
	}

	/* Lekcjonarz dostaje tylko kontrolowany mały odstęp od Cytatu. */
	.pwi-lectionary-panel {
		margin-top: 20px !important;
	}

	/* Najważniejsze: kasujemy spacing nadrzędnych wierszy Visual Composer/Vamtam. */
	body.home .vc_row:has(.pwi-daily-verse-home),
	body.home .wpb_row:has(.pwi-daily-verse-home),
	body.home .vc_row:has(.pwi-lectionary-panel),
	body.home .wpb_row:has(.pwi-lectionary-panel),
	body.home .vamtam-row:has(.pwi-daily-verse-home),
	body.home .vamtam-row:has(.pwi-lectionary-panel) {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		min-height: 0 !important;
	}

	/* Kasujemy też odstępy z kolumny/inner wrappera, jeśli motyw je dodaje. */
	body.home .vc_row:has(.pwi-daily-verse-home) .wpb_column,
	body.home .vc_row:has(.pwi-daily-verse-home) .vc_column-inner,
	body.home .vc_row:has(.pwi-daily-verse-home) .wpb_wrapper,
	body.home .vc_row:has(.pwi-lectionary-panel) .wpb_column,
	body.home .vc_row:has(.pwi-lectionary-panel) .vc_column-inner,
	body.home .vc_row:has(.pwi-lectionary-panel) .wpb_wrapper {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		min-height: 0 !important;
	}

	/* Fallback: jeśli browser nie zastosuje :has(), ograniczamy najczęstsze wrappery. */
	.pwi-daily-verse-home,
	.pwi-daily-verse-home + * ,
	.pwi-lectionary-panel {
		clear: both;
	}
}


/* =========================================================
 * 1.2.12 — mobile: mocne dociągnięcie Lekcjonarza do Cytatu
 * Baza: 1.2.11
 * ========================================================= */
@media (max-width: 900px) {

	/* Cytat kończy się ciaśniej. */
	body.home .pwi-daily-verse-home {
		margin-bottom: 0 !important;
		padding-bottom: 14px !important;
	}

	/*
	 * Poprzednie zerowanie wrapperów nie wystarczyło, więc kompensujemy
	 * odstęp generowany przez nadrzędny układ Vamtam/Visual Composer.
	 */
	body.home .pwi-lectionary-panel {
		margin-top: -58px !important;
		position: relative !important;
		z-index: 2 !important;
	}

	/* Żeby po przesunięciu nie tworzyć dodatkowego pustego miejsca niżej. */
	body.home .pwi-lectionary-panel + * {
		margin-top: 0 !important;
	}
}
/* =========================================================
 * 1.2.14 — desktop: nagłówek zgodny z szerokością modułu strony
 * + ciemna kolorystyka inspirowana wskazanym wzorem.
 * Mobile pozostaje bez zmian.
 * ========================================================= */
@media (min-width: 959px) {
	/* Pasek na całą szerokość, ale zawartość dokładnie 1140 px —
	 * tyle samo co główny moduł strony. */
	body .fixed-header-box.layout-logo-menu > header.main-header .header-contents {
		width: min(1140px, calc(100vw - 40px)) !important;
		max-width: 1140px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		box-sizing: border-box !important;
	}

	/* Nadpisujemy także kolory wymuszane przez ustawienia wyglądu wtyczki. */
	body .fixed-header-box.layout-logo-menu,
	body .fixed-header-box.layout-logo-menu > header.main-header,
	body .fixed-header-box.layout-logo-menu > header.main-header .header-contents,
	body .fixed-header-box.layout-logo-menu > header.main-header .first-row,
	body .fixed-header-box.layout-logo-menu > header.main-header .second-row {
		background: #1d1d1d !important;
		background-color: #1d1d1d !important;
		background-image: none !important;
	}

	body .fixed-header-box.layout-logo-menu #main-menu .menu > li,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a > span {
		background: transparent !important;
		box-shadow: none !important;
	}

	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a:visited,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a > span,
	body .fixed-header-box.layout-logo-menu .search-wrapper,
	body .fixed-header-box.layout-logo-menu .search-wrapper a,
	body .fixed-header-box.layout-logo-menu .search-wrapper button {
		color: #f5f5f5 !important;
	}

	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a:hover,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a:focus,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a:hover > span,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li > a:focus > span {
		color: #c6a44a !important;
		background: transparent !important;
	}

	body .fixed-header-box.layout-logo-menu #main-menu .menu > li.current-menu-item > a,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li.current-menu-ancestor > a,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li.current_page_item > a {
		color: #c6a44a !important;
		background: #2a271f !important;
		border-radius: 4px !important;
	}

	body .fixed-header-box.layout-logo-menu #main-menu .menu > li.current-menu-item > a > span,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li.current-menu-ancestor > a > span,
	body .fixed-header-box.layout-logo-menu #main-menu .menu > li.current_page_item > a > span {
		color: #c6a44a !important;
		background: transparent !important;
	}
}

/* =========================================================
 * 1.2.57 — desktop: nagłówek korzysta dokładnie z kontenera 1140 px.
 * Logo kotwiczymy do lewej krawędzi modułu strony, a cały blok
 * menu + wyszukiwarka do prawej krawędzi. Mobile bez zmian.
 * ========================================================= */
@media (min-width: 959px) {
	body .fixed-header-box.layout-logo-menu > header.main-header .header-contents {
		width: min(1140px, calc(100vw - 40px)) !important;
		max-width: 1140px !important;
		margin: 0 auto !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
	}

	/* Lewa krawędź logo = lewa krawędź głównego modułu. */
	body .fixed-header-box.layout-logo-menu > header.main-header .first-row {
		flex: 0 0 auto !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	body .fixed-header-box.layout-logo-menu > header.main-header .first-row .logo-wrapper,
	body .fixed-header-box.layout-logo-menu > header.main-header .first-row .logo-wrapper a {
		margin-left: 0 !important;
		padding-left: 0 !important;
	}

	/* Prawa część wypełnia całą pozostałą szerokość aż do krawędzi Google Play. */
	body .fixed-header-box.layout-logo-menu > header.main-header .second-row.has-search {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0 0 0 24px !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}
	body .fixed-header-box.layout-logo-menu > header.main-header .second-row.has-search #menus {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
	}
	body .fixed-header-box.layout-logo-menu > header.main-header .second-row.has-search #main-menu {
		float: none !important;
		margin-left: auto !important;
		margin-right: 0 !important;
	}
	/* Wyszukiwarka jest ostatnim elementem i wyznacza prawą krawędź kontenera. */
	body .fixed-header-box.layout-logo-menu > header.main-header .second-row.has-search .search-wrapper {
		float: none !important;
		margin-left: 18px !important;
		margin-right: 0 !important;
		padding-right: 0 !important;
		flex: 0 0 auto !important;
	}
}


/* =========================================================
 * 1.2.59 — STOPKA: ciemny, oszczędny wariant
 * Widgety #1A1A1A, copyright #1C1C1C, złoto tylko w akcentach.
 * Wyłącznie warstwa wizualna — bez zmian mechanizmów shortcode'ów.
 * ========================================================= */
.main-footer,
footer.main-footer,
.footer-sidebars-wrapper,
#footer-sidebars,
#footer-sidebars > .row,
#footer-sidebars > .limit-wrapper,
#footer-sidebars .row,
#footer-sidebars aside,
#footer-sidebars section.widget,
#footer-sidebars .widget,
#footer-sidebars .widget_block,
#footer-sidebars .widget_text,
#footer-sidebars .textwidget,
#footer-sidebars .parish-footer-card,
#footer-sidebars .pwi-global-module-spacing {
  background:#1A1A1A !important;
  background-color:#1A1A1A !important;
  background-image:none !important;
}

#footer-sidebars{
  border-top:0 !important;
  color:#fff !important;
}

/* Delikatne separatory czterech kolumn. */
@media (min-width:959px){
  #footer-sidebars > .row > aside,
  #footer-sidebars .limit-wrapper > .row > aside{
    border-left:1px solid rgba(255,255,255,.10) !important;
  }
  #footer-sidebars > .row > aside:first-child,
  #footer-sidebars .limit-wrapper > .row > aside:first-child{
    border-left:0 !important;
  }
}

/* Tytuły — jedyny mocniejszy złoty akcent. */
#footer-sidebars h1,
#footer-sidebars h2,
#footer-sidebars h3,
#footer-sidebars h4,
#footer-sidebars h5,
#footer-sidebars h6,
#footer-sidebars .widget-title,
#footer-sidebars .parish-footer-title{
  color:#C8A15B !important;
}

/* Zwykła treść. */
#footer-sidebars p,
#footer-sidebars li,
#footer-sidebars address,
#footer-sidebars .pwi-widget-mass-times,
#footer-sidebars .pwi-widget-mass-times p,
#footer-sidebars .pwi-widget-mass-times p span,
#footer-sidebars .pwi-widget-office-hours,
#footer-sidebars .pwi-widget-office-hours p{
  color:#fff !important;
}

/* Drugorzędne informacje lekko wyciszone. */
#footer-sidebars .pwi-widget-mass-season,
#footer-sidebars .pwi-widget-office-urgent{
  color:rgba(255,255,255,.72) !important;
}

/* Małe nagłówki godzin Mszy — subtelne złoto. */
#footer-sidebars .pwi-widget-mass-section-title{
  color:#C8A15B !important;
}
#footer-sidebars .pwi-widget-mass-times p > strong{
  color:#fff !important;
}

/* Linki: bez nadmiaru złota; złoto dopiero przy interakcji. */
#footer-sidebars a,
.main-footer #footer-sidebars a,
footer.main-footer #footer-sidebars a{
  color:#fff !important;
}
#footer-sidebars a:hover,
#footer-sidebars a:focus,
.main-footer #footer-sidebars a:hover,
.main-footer #footer-sidebars a:focus{
  color:#C8A15B !important;
}

/* Karta aplikacji dopasowana do ciemnej stopki. */
#footer-sidebars .pwi-app-promo-mary{
  background-color:#242424 !important;
  background-image:none !important;
}
#footer-sidebars .pwi-app-promo-mary:before{
  background-image:var(--pwi-app-promo-image) !important;
}
#footer-sidebars .pwi-app-download-card{
  background:#222222 !important;
  background-color:#222222 !important;
  background-image:none !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 4px 14px rgba(0,0,0,.18) !important;
  color:#fff !important;
}
#footer-sidebars .pwi-app-download-icon{
  background:#222222 !important;
  background-color:#222222 !important;
  border-color:rgba(200,161,91,.55) !important;
  color:#C8A15B !important;
}
#footer-sidebars .pwi-app-download-copy,
#footer-sidebars .pwi-app-download-copy strong{
  color:#fff !important;
}
#footer-sidebars .pwi-app-download-copy > span{
  color:#C8A15B !important;
}
#footer-sidebars .pwi-app-download-copy small{
  color:rgba(255,255,255,.62) !important;
}

/* Dolny pasek praw autorskich. */
.copyrights,
#footer-sidebars + .copyrights,
footer .copyrights,
.main-footer .copyrights{
  background:#1C1C1C !important;
  background-color:#1C1C1C !important;
  background-image:none !important;
  border-top:1px solid rgba(255,255,255,.06) !important;
  color:rgba(255,255,255,.82) !important;
}
.copyrights p,
.copyrights span,
.copyrights li{
  color:rgba(255,255,255,.82) !important;
}
.copyrights a{
  color:rgba(255,255,255,.82) !important;
}
.copyrights a:hover,
.copyrights a:focus{
  color:#C8A15B !important;
}


/* =========================================================
 * 1.2.60 — STOPKA: końcowe czyszczenie starej palety
 * Mocniejsze selektory dla stylów generowanych przez widgety/Vamtam.
 * ========================================================= */

/* Wszystkie zwykłe treści widgetów mają być jasne. */
body #footer-sidebars .widget p,
body #footer-sidebars .widget li,
body #footer-sidebars .widget address,
body #footer-sidebars .widget div:not(.pwi-app-promo-mary):not(.pwi-app-download-card):not(.pwi-app-download-icon),
body #footer-sidebars .widget span:not(.pwi-widget-mass-section-title),
body #footer-sidebars .widget strong:not(.pwi-widget-mass-section-title),
body #footer-sidebars .widget b {
  color:#FFFFFF !important;
}

/* Złoto tylko na głównych tytułach i małych nazwach sekcji Mszy. */
body #footer-sidebars h1,
body #footer-sidebars h2,
body #footer-sidebars h3,
body #footer-sidebars h4,
body #footer-sidebars h5,
body #footer-sidebars h6,
body #footer-sidebars .widget-title,
body #footer-sidebars .widgettitle,
body #footer-sidebars .parish-footer-title,
body #footer-sidebars .pwi-widget-mass-section-title {
  color:#C8A15B !important;
}
body #footer-sidebars .pwi-widget-mass-season,
body #footer-sidebars .pwi-widget-office-urgent {
  color:rgba(255,255,255,.72) !important;
}
body #footer-sidebars .pwi-widget-mass-times p > strong {
  color:#FFFFFF !important;
}

/* Karta aplikacji — definitywnie bez beżu. */
body #footer-sidebars .pwi-app-promo-card .pwi-app-download-card,
body #footer-sidebars .pwi-app-download-card,
body #footer-sidebars [class*="app-download-card"] {
  background:#222222 !important;
  background-color:#222222 !important;
  background-image:none !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 4px 14px rgba(0,0,0,.20) !important;
  color:#FFFFFF !important;
}
body #footer-sidebars .pwi-app-download-card .pwi-app-download-icon {
  background:#222222 !important;
  background-color:#222222 !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.18) !important;
  color:#C8A15B !important;
}
body #footer-sidebars .pwi-app-download-card .pwi-app-download-copy,
body #footer-sidebars .pwi-app-download-card .pwi-app-download-copy strong {
  color:#FFFFFF !important;
}
body #footer-sidebars .pwi-app-download-card .pwi-app-download-copy > span {
  color:#C8A15B !important;
}
body #footer-sidebars .pwi-app-download-card .pwi-app-download-copy small {
  color:rgba(255,255,255,.62) !important;
}

/* Dolny pasek — tło również na wszystkich wewnętrznych kontenerach Vamtam. */
body .main-footer .copyrights,
body footer .copyrights,
body .copyrights,
body .copyrights .limit-wrapper,
body .copyrights .row,
body .copyrights [class*="grid-"],
body .copyrights > div,
body .copyrights div {
  background:#1C1C1C !important;
  background-color:#1C1C1C !important;
  background-image:none !important;
  border-color:rgba(255,255,255,.06) !important;
}
body .copyrights,
body .copyrights p,
body .copyrights span,
body .copyrights li,
body .copyrights a {
  color:rgba(255,255,255,.84) !important;
}
body .copyrights a:hover,
body .copyrights a:focus {
  color:#C8A15B !important;
}


/* =========================================================
 * 1.2.61 — STOPKA: tło Maryi + ikona telefonu
 * Tylko dwie kosmetyczne poprawki względem 1.2.60.
 * ========================================================= */

/* Pole za wizerunkiem Maryi — spójne z ciemną stopką. */
body footer.main-footer #footer-sidebars .pwi-app-promo .pwi-app-promo-mary,
body .main-footer #footer-sidebars .pwi-app-promo-mary,
body #footer-sidebars .pwi-app-promo-mary {
  background:#222222 !important;
  background-color:#222222 !important;
  background-image:none !important;
}
body footer.main-footer #footer-sidebars .pwi-app-promo .pwi-app-promo-mary::before,
body .main-footer #footer-sidebars .pwi-app-promo-mary::before,
body #footer-sidebars .pwi-app-promo-mary::before {
  background-color:#222222 !important;
}

/* Ikona telefonu — złoty znak, subtelny jasny okrąg, bez brązu. */
body footer.main-footer #footer-sidebars .pwi-app-download-card .pwi-app-download-icon,
body .main-footer #footer-sidebars .pwi-app-download-card .pwi-app-download-icon,
body #footer-sidebars .pwi-app-download-card .pwi-app-download-icon {
  color:#C8A15B !important;
  background:#222222 !important;
  background-color:#222222 !important;
  background-image:none !important;
  border:1px solid rgba(255,255,255,.20) !important;
}
body #footer-sidebars .pwi-app-download-icon svg,
body #footer-sidebars .pwi-app-download-icon svg * {
  stroke:#C8A15B !important;
  color:#C8A15B !important;
}


/* =========================================================
 * 1.2.62 — STOPKA: profesjonalny układ 3 prawych kolumn
 * Maryja i karta aplikacji bez zmian. Przebudowa wyłącznie
 * sekcji: Msze Święte / Kancelaria / Dane konta.
 * ========================================================= */
@media (min-width: 959px) {
  /* Trzy prawe kolumny: spokojniejszy rytm i bez wysokich separatorów. */
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars > .row > aside:nth-child(3),
  body #footer-sidebars > .row > aside:nth-child(4) {
    border-left:0 !important;
    padding-left:30px !important;
    padding-right:30px !important;
  }

  /* Nagłówki: złoto tylko tutaj + krótka kreska. */
  body #footer-sidebars > .row > aside:nth-child(n+2) .parish-footer-title,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widget-title,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widgettitle,
  body #footer-sidebars > .row > aside:nth-child(n+2) h2 {
    position:relative !important;
    margin:0 0 30px !important;
    padding:0 0 15px !important;
    color:#C8A15B !important;
    line-height:1.08 !important;
  }
  body #footer-sidebars > .row > aside:nth-child(n+2) .parish-footer-title::after,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widget-title::after,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widgettitle::after,
  body #footer-sidebars > .row > aside:nth-child(n+2) h2::after {
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:44px;
    height:3px;
    border-radius:2px;
    background:#C8A15B;
  }

  /* MSZE ŚWIĘTE — zwarta siatka 2x2 z delikatnym krzyżem. */
  body #footer-sidebars .pwi-widget-mass-columns {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:0 !important;
  }
  body #footer-sidebars .pwi-widget-mass-column {
    display:grid !important;
    grid-template-rows:auto auto !important;
    min-width:0 !important;
  }
  body #footer-sidebars .pwi-widget-mass-column + .pwi-widget-mass-column {
    border-left:1px solid rgba(255,255,255,.12) !important;
    padding-left:24px !important;
    margin-left:24px !important;
  }
  body #footer-sidebars .pwi-widget-mass-section {
    margin:0 !important;
    padding:0 0 22px !important;
  }
  body #footer-sidebars .pwi-widget-mass-section + .pwi-widget-mass-section {
    border-top:1px solid rgba(255,255,255,.12) !important;
    padding-top:22px !important;
  }
  body #footer-sidebars .pwi-widget-mass-section-title {
    color:#FFFFFF !important;
    font-weight:700 !important;
    margin-bottom:10px !important;
  }
  body #footer-sidebars .pwi-widget-mass-times p {
    display:grid !important;
    grid-template-columns:62px minmax(0,1fr) !important;
    column-gap:8px !important;
    margin:0 0 8px !important;
    line-height:1.35 !important;
  }
  body #footer-sidebars .pwi-widget-mass-times p > strong {
    color:#FFFFFF !important;
    font-weight:700 !important;
  }
  body #footer-sidebars .pwi-widget-mass-season {
    margin:-5px 0 12px !important;
    color:rgba(255,255,255,.62) !important;
  }

  /* KANCELARIA — trzy czytelne wiersze + osobny panel spraw pilnych. */
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent) {
    position:relative !important;
    margin:0 !important;
    padding:0 0 18px 50px !important;
    min-height:38px !important;
    color:#FFFFFF !important;
    line-height:1.45 !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent) + p:not(.pwi-widget-office-urgent) {
    padding-top:18px !important;
    border-top:1px solid rgba(255,255,255,.12) !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent)::before {
    position:absolute;
    left:5px;
    top:1px;
    width:30px;
    height:30px;
    border:1px solid rgba(255,255,255,.42);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,.72);
    font-size:18px;
    line-height:1;
    box-sizing:border-box;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:nth-of-type(1)::before { content:"◷"; }
  body #footer-sidebars .pwi-widget-office-hours > p:nth-of-type(2)::before { content:"□"; border-radius:5px; }
  body #footer-sidebars .pwi-widget-office-hours > p:nth-of-type(3)::before { content:"i"; font-family:Georgia,serif; font-weight:700; }
  body #footer-sidebars .pwi-widget-office-urgent {
    position:relative !important;
    margin:4px 0 0 !important;
    padding:15px 18px 15px 50px !important;
    border:1px solid rgba(255,255,255,.06) !important;
    border-radius:7px !important;
    background:#222222 !important;
    color:rgba(255,255,255,.78) !important;
    line-height:1.4 !important;
  }
  body #footer-sidebars .pwi-widget-office-urgent::before {
    content:"!";
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.42);
    border-radius:50%;
    color:rgba(255,255,255,.72);
    font-weight:700;
  }

  /* DANE KONTA — etykiety spokojne, numery wyraźne, sekcje rozdzielone. */
  body #footer-sidebars > .row > aside:nth-child(4) .widget p {
    margin:0 !important;
    padding:0 0 18px !important;
    line-height:1.5 !important;
  }
  body #footer-sidebars > .row > aside:nth-child(4) .widget p + p {
    padding-top:18px !important;
    border-top:1px solid rgba(255,255,255,.12) !important;
  }
  body #footer-sidebars > .row > aside:nth-child(4) .widget strong,
  body #footer-sidebars > .row > aside:nth-child(4) .widget b {
    color:rgba(255,255,255,.66) !important;
    font-weight:500 !important;
  }
  body #footer-sidebars > .row > aside:nth-child(4) .widget {
    color:#FFFFFF !important;
  }
}

/* Na mniejszych ekranach zachowujemy czytelność bez wymuszania desktopowej siatki. */
@media (max-width: 958px) {
  body #footer-sidebars .parish-footer-title,
  body #footer-sidebars .widget-title,
  body #footer-sidebars .widgettitle {
    color:#C8A15B !important;
  }
}


/* =========================================================
 * 1.2.63 — STOPKA: pełniejsza szerokość + bez separatorów
 * Zachowujemy projekt 1.2.62; dajemy kolumnom więcej miejsca
 * i usuwamy wyłącznie główne pionowe linie między widgetami.
 * ========================================================= */
@media (min-width: 959px) {
  /* Kontener Vamtam nie ogranicza już stopki do wąskiej szerokości. */
  body #footer-sidebars,
  body footer.main-footer #footer-sidebars {
    padding-left:36px !important;
    padding-right:36px !important;
    box-sizing:border-box !important;
  }
  body #footer-sidebars > .limit-wrapper,
  body #footer-sidebars .limit-wrapper {
    width:100% !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }
  body #footer-sidebars > .row,
  body #footer-sidebars > .limit-wrapper > .row,
  body #footer-sidebars .limit-wrapper > .row,
  body #footer-sidebars .row {
    width:100% !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
  }

  /* Główne cztery obszary wykorzystują całą dostępną szerokość. */
  body #footer-sidebars > .row > aside,
  body #footer-sidebars .limit-wrapper > .row > aside {
    box-sizing:border-box !important;
    border-left:0 !important;
    border-right:0 !important;
  }

  /* Nieco więcej miejsca dla treści Mszy i Kancelarii. */
  body #footer-sidebars > .row > aside:nth-child(1),
  body #footer-sidebars .limit-wrapper > .row > aside:nth-child(1) { width:22% !important; }
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars .limit-wrapper > .row > aside:nth-child(2) { width:25% !important; }
  body #footer-sidebars > .row > aside:nth-child(3),
  body #footer-sidebars .limit-wrapper > .row > aside:nth-child(3) { width:28% !important; }
  body #footer-sidebars > .row > aside:nth-child(4),
  body #footer-sidebars .limit-wrapper > .row > aside:nth-child(4) { width:25% !important; }

  /* Zostają tylko subtelne linie WEWNĄTRZ modułów z projektu 1.2.62. */
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars > .row > aside:nth-child(3),
  body #footer-sidebars > .row > aside:nth-child(4),
  body #footer-sidebars .limit-wrapper > .row > aside:nth-child(2),
  body #footer-sidebars .limit-wrapper > .row > aside:nth-child(3),
  body #footer-sidebars .limit-wrapper > .row > aside:nth-child(4) {
    border-left:0 !important;
    border-right:0 !important;
  }
}


/* =========================================================
 * 1.2.64 — STOPKA: rzeczywista pełna szerokość i proporcje
 * Zachowujemy wygląd 1.2.62/1.2.63. Korygujemy wyłącznie
 * geometrię desktopu, aby treści nie były ściskane.
 * ========================================================= */
@media (min-width: 959px) {
  body #footer-sidebars,
  body footer.main-footer #footer-sidebars {
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:48px !important;
    padding-right:48px !important;
    box-sizing:border-box !important;
  }

  body #footer-sidebars > .row {
    display:grid !important;
    grid-template-columns:minmax(250px,20fr) minmax(360px,25fr) minmax(420px,30fr) minmax(320px,25fr) !important;
    width:100% !important;
    max-width:1720px !important;
    margin:0 auto !important;
    padding:0 !important;
    box-sizing:border-box !important;
    float:none !important;
  }

  body #footer-sidebars > .row > aside:nth-child(1),
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars > .row > aside:nth-child(3),
  body #footer-sidebars > .row > aside:nth-child(4) {
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    float:none !important;
    box-sizing:border-box !important;
    border-left:0 !important;
    border-right:0 !important;
  }

  body #footer-sidebars > .row > aside:nth-child(1) {
    padding-left:12px !important;
    padding-right:24px !important;
  }
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars > .row > aside:nth-child(3),
  body #footer-sidebars > .row > aside:nth-child(4) {
    padding-left:28px !important;
    padding-right:28px !important;
  }

  /* Tytuły na desktopie nie powinny łamać się przez brak miejsca. */
  body #footer-sidebars > .row > aside:nth-child(n+2) .parish-footer-title,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widget-title,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widgettitle,
  body #footer-sidebars > .row > aside:nth-child(n+2) h2 {
    white-space:nowrap !important;
  }

  /* Więcej miejsca wewnątrz miniukładu Mszy. */
  body #footer-sidebars .pwi-widget-mass-column + .pwi-widget-mass-column {
    padding-left:20px !important;
    margin-left:20px !important;
  }
  body #footer-sidebars .pwi-widget-mass-times p {
    grid-template-columns:64px minmax(0,1fr) !important;
    column-gap:10px !important;
  }
}

/* Na typowych laptopach nadal wykorzystujemy szerokość, ale bez poziomego scrolla. */
@media (min-width: 959px) and (max-width: 1450px) {
  body #footer-sidebars,
  body footer.main-footer #footer-sidebars {
    padding-left:24px !important;
    padding-right:24px !important;
  }
  body #footer-sidebars > .row {
    grid-template-columns:20% 26% 30% 24% !important;
  }
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars > .row > aside:nth-child(3),
  body #footer-sidebars > .row > aside:nth-child(4) {
    padding-left:20px !important;
    padding-right:20px !important;
  }
}

/* =========================================================
 * 1.2.65 — STOPKA: stabilny jeden rząd 4 kolumn na desktopie
 * Naprawa geometrii 1.2.64: jawne pozycje siatki kasują stare
 * reguły Vamtam (clear/grid-column), które spychały 4. widget.
 * ========================================================= */
@media (min-width: 959px) {
  body #footer-sidebars > .row {
    display:grid !important;
    grid-template-columns:minmax(280px,20fr) minmax(360px,25fr) minmax(420px,30fr) minmax(330px,25fr) !important;
    grid-template-rows:auto !important;
    gap:0 !important;
    width:calc(100vw - 80px) !important;
    max-width:1760px !important;
    margin-left:50% !important;
    margin-right:0 !important;
    transform:translateX(-50%) !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  body #footer-sidebars > .row > aside:nth-child(1),
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars > .row > aside:nth-child(3),
  body #footer-sidebars > .row > aside:nth-child(4) {
    display:block !important;
    position:relative !important;
    float:none !important;
    clear:none !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box !important;
    border-left:0 !important;
    border-right:0 !important;
  }

  body #footer-sidebars > .row > aside:nth-child(1) { grid-column:1 !important; grid-row:1 !important; }
  body #footer-sidebars > .row > aside:nth-child(2) { grid-column:2 !important; grid-row:1 !important; }
  body #footer-sidebars > .row > aside:nth-child(3) { grid-column:3 !important; grid-row:1 !important; }
  body #footer-sidebars > .row > aside:nth-child(4) { grid-column:4 !important; grid-row:1 !important; }

  body #footer-sidebars > .row > aside:nth-child(1) { padding:0 28px 0 0 !important; }
  body #footer-sidebars > .row > aside:nth-child(2) { padding:0 30px !important; }
  body #footer-sidebars > .row > aside:nth-child(3) { padding:0 34px !important; }
  body #footer-sidebars > .row > aside:nth-child(4) { padding:0 0 0 30px !important; }
}

@media (min-width:959px) and (max-width:1500px) {
  body #footer-sidebars > .row {
    width:calc(100vw - 40px) !important;
    grid-template-columns:20% 26% 30% 24% !important;
  }
  body #footer-sidebars > .row > aside:nth-child(2),
  body #footer-sidebars > .row > aside:nth-child(3) { padding-left:20px !important; padding-right:20px !important; }
  body #footer-sidebars > .row > aside:nth-child(4) { padding-left:20px !important; }
}

/* =========================================================
 * 1.2.66 — STOPKA: uporządkowanie wnętrza 3 modułów
 * Bez zmian geometrii 1.2.65. Wspólna oś nagłówków i treści,
 * regularny rytm Mszy, Kancelarii i Danych konta.
 * ========================================================= */
@media (min-width:959px) {
  /* Wspólny rytm tytułów i początku zawartości. */
  body #footer-sidebars > .row > aside:nth-child(n+2) .parish-footer-title,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widget-title,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widgettitle,
  body #footer-sidebars > .row > aside:nth-child(n+2) h2 {
    margin:0 0 30px !important;
    padding:0 0 12px !important;
    line-height:1.05 !important;
    position:relative !important;
  }
  body #footer-sidebars > .row > aside:nth-child(n+2) .parish-footer-title::after,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widget-title::after,
  body #footer-sidebars > .row > aside:nth-child(n+2) .widgettitle::after,
  body #footer-sidebars > .row > aside:nth-child(n+2) h2::after {
    bottom:0 !important;
  }

  /* MSZE — równe ćwiartki i stała oś godzina/opis. */
  body #footer-sidebars .pwi-widget-mass-columns {
    align-items:stretch !important;
  }
  body #footer-sidebars .pwi-widget-mass-column {
    display:grid !important;
    grid-template-rows:minmax(174px,auto) minmax(174px,auto) !important;
    align-content:start !important;
  }
  body #footer-sidebars .pwi-widget-mass-section {
    padding:0 0 24px !important;
    min-height:0 !important;
  }
  body #footer-sidebars .pwi-widget-mass-section + .pwi-widget-mass-section {
    padding-top:24px !important;
  }
  body #footer-sidebars .pwi-widget-mass-section-title {
    margin:0 0 12px !important;
    line-height:1.2 !important;
  }
  body #footer-sidebars .pwi-widget-mass-times p {
    grid-template-columns:64px minmax(0,1fr) !important;
    column-gap:10px !important;
    align-items:start !important;
    margin:0 0 8px !important;
  }
  body #footer-sidebars .pwi-widget-mass-times p:last-child { margin-bottom:0 !important; }

  /* KANCELARIA — identyczna oś ikony i tekstu oraz równy padding. */
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent) {
    display:block !important;
    min-height:72px !important;
    padding:16px 0 16px 50px !important;
    box-sizing:border-box !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent):first-child {
    padding-top:0 !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent)::before {
    left:5px !important;
    top:16px !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent):first-child::before {
    top:0 !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent) + p:not(.pwi-widget-office-urgent) {
    padding-top:16px !important;
  }
  body #footer-sidebars .pwi-widget-office-urgent {
    margin:14px 0 0 !important;
    padding:15px 18px 15px 50px !important;
    width:100% !important;
    box-sizing:border-box !important;
  }

  /* DANE KONTA — trzy regularne bloki. */
  body #footer-sidebars > .row > aside:nth-child(4) .widget p {
    margin:0 !important;
    padding:0 0 22px !important;
    line-height:1.5 !important;
  }
  body #footer-sidebars > .row > aside:nth-child(4) .widget p + p {
    padding-top:22px !important;
  }
  body #footer-sidebars > .row > aside:nth-child(4) .widget p:last-child {
    padding-bottom:0 !important;
  }
  body #footer-sidebars > .row > aside:nth-child(4) .widget strong,
  body #footer-sidebars > .row > aside:nth-child(4) .widget b {
    display:inline-block !important;
    margin-bottom:4px !important;
    line-height:1.35 !important;
  }
}


/* =========================================================
 * 1.2.67 — STOPKA: naturalny rytm modułów
 * Korekta 1.2.66: bez sztywnych wysokości ćwiartek Mszy.
 * Geometria 4 kolumn z 1.2.65 pozostaje bez zmian.
 * ========================================================= */
@media (min-width:959px) {
  /* MSZE — naturalna wysokość treści; krzyż blisko zawartości. */
  body #footer-sidebars .pwi-widget-mass-column {
    display:flex !important;
    flex-direction:column !important;
    align-self:flex-start !important;
  }
  body #footer-sidebars .pwi-widget-mass-section {
    min-height:0 !important;
    height:auto !important;
    padding:0 0 22px !important;
    margin:0 !important;
  }
  body #footer-sidebars .pwi-widget-mass-section + .pwi-widget-mass-section {
    padding-top:22px !important;
    padding-bottom:0 !important;
    margin-top:0 !important;
  }
  body #footer-sidebars .pwi-widget-mass-section-title {
    margin:0 0 10px !important;
  }
  body #footer-sidebars .pwi-widget-mass-times p {
    margin:0 0 7px !important;
  }
  body #footer-sidebars .pwi-widget-mass-times p:last-child {
    margin-bottom:0 !important;
  }

  /* KANCELARIA — mniej pustej przestrzeni, naturalna wysokość wierszy. */
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent) {
    min-height:0 !important;
    margin:0 !important;
    padding:13px 0 13px 50px !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent):first-child {
    padding-top:0 !important;
    padding-bottom:13px !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent)::before {
    left:5px !important;
    top:13px !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent):first-child::before {
    top:0 !important;
  }
  body #footer-sidebars .pwi-widget-office-urgent {
    margin-top:12px !important;
    padding-top:13px !important;
    padding-bottom:13px !important;
  }
}

/* =========================================================
 * 1.2.68 — STOPKA: MSZE ŚWIĘTE, równy krzyż 2×2
 * Tylko układ modułu Mszy. Pozostałe moduły i geometria stopki
 * pozostają bez zmian względem 1.2.67.
 * ========================================================= */
@media (min-width:959px) {
  body #footer-sidebars .pwi-widget-mass-columns {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:0 !important;
    align-items:start !important;
  }

  body #footer-sidebars .pwi-widget-mass-column {
    display:grid !important;
    grid-template-rows:132px auto !important;
    align-content:start !important;
    align-self:start !important;
    min-width:0 !important;
  }

  body #footer-sidebars .pwi-widget-mass-column + .pwi-widget-mass-column {
    border-left:1px solid rgba(255,255,255,.12) !important;
    padding-left:24px !important;
    margin-left:24px !important;
  }

  body #footer-sidebars .pwi-widget-mass-section {
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 0 20px !important;
    box-sizing:border-box !important;
  }

  body #footer-sidebars .pwi-widget-mass-section + .pwi-widget-mass-section {
    border-top:1px solid rgba(255,255,255,.12) !important;
    margin:0 !important;
    padding:20px 0 0 !important;
  }

  body #footer-sidebars .pwi-widget-mass-section-title {
    margin:0 0 9px !important;
    line-height:1.2 !important;
  }

  body #footer-sidebars .pwi-widget-mass-times p {
    display:grid !important;
    grid-template-columns:64px minmax(0,1fr) !important;
    column-gap:10px !important;
    align-items:start !important;
    margin:0 0 7px !important;
    line-height:1.35 !important;
  }

  body #footer-sidebars .pwi-widget-mass-times p:last-child {
    margin-bottom:0 !important;
  }
}

/* =========================================================
 * 1.2.69 — STOPKA: dopracowanie krzyża Mszy + Kancelaria
 * ========================================================= */
@media (min-width:959px) {
  /* MSZE — jedna ciągła linia pozioma przez cały moduł. */
  body #footer-sidebars .pwi-widget-mass-columns {
    position:relative !important;
  }
  body #footer-sidebars .pwi-widget-mass-columns::after {
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    top:132px !important;
    height:1px !important;
    background:rgba(255,255,255,.12) !important;
    pointer-events:none !important;
  }
  body #footer-sidebars .pwi-widget-mass-section + .pwi-widget-mass-section {
    border-top:0 !important;
    padding-top:20px !important;
  }

  /* KANCELARIA — treść bliżej lewej krawędzi, trzy ikony zastąpione kropkami. */
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent) {
    position:relative !important;
    padding-left:22px !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent)::before {
    content:"" !important;
    width:4px !important;
    height:4px !important;
    min-width:4px !important;
    min-height:4px !important;
    border:0 !important;
    border-radius:50% !important;
    background:#C8A15B !important;
    box-shadow:none !important;
    left:2px !important;
    top:20px !important;
    transform:none !important;
  }
  body #footer-sidebars .pwi-widget-office-hours > p:not(.pwi-widget-office-urgent):first-child::before {
    top:7px !important;
  }
}


/* =========================================================
 * 1.2.70 — STOPKA: miękki cień nad stopką zamiast linii
 * Wyłącznie separator wizualny. Układ 1.2.69 bez zmian.
 * ========================================================= */
body #footer-sidebars,
body footer.main-footer #footer-sidebars {
  border-top:0 !important;
  box-shadow:0 -5px 12px rgba(0,0,0,.28) !important;
  position:relative !important;
  z-index:2 !important;
}


/* =========================================================
 * 1.2.71 — STOPKA: mniejszy odstęp godzina → opis Mszy
 * Wyłącznie kolumna czasu; krzyż i geometria 1.2.70 bez zmian.
 * ========================================================= */
@media (min-width:959px) {
  body #footer-sidebars .pwi-widget-mass-times p {
    grid-template-columns:54px minmax(0,1fr) !important;
    column-gap:6px !important;
  }
}


/* =========================================================
 * 1.2.72 — MOBILE: jednolite tło stopki + subtelny cień
 * Wyłącznie warstwa mobilna. Układ i treści 1.2.71 bez zmian.
 * ========================================================= */
@media (max-width:958px) {
  /* Kasujemy beżowe tło zewnętrznych wrapperów Vamtam. */
  body .footer-wrapper,
  body footer.main-footer,
  body .main-footer,
  body .footer-sidebars-wrapper,
  body #footer-sidebars,
  body #footer-sidebars > .limit-wrapper,
  body #footer-sidebars > .row,
  body #footer-sidebars .limit-wrapper,
  body #footer-sidebars .row,
  body #footer-sidebars aside,
  body #footer-sidebars .widget,
  body #footer-sidebars .widget_text,
  body #footer-sidebars .textwidget {
    background:#1A1A1A !important;
    background-color:#1A1A1A !important;
    background-image:none !important;
  }

  body .footer-wrapper::before,
  body .footer-wrapper::after,
  body footer.main-footer::before,
  body footer.main-footer::after,
  body .main-footer::before,
  body .main-footer::after {
    background:transparent !important;
    background-image:none !important;
    border:0 !important;
  }

  /* Na mobile cień jest lżejszy i czysto czarny; bez górnej linii. */
  body #footer-sidebars,
  body footer.main-footer #footer-sidebars {
    border-top:0 !important;
    box-shadow:0 -5px 14px rgba(0,0,0,.25) !important;
    position:relative !important;
    z-index:2 !important;
  }
}


/* =========================================================
 * 1.2.73 — MOBILE: jedna warstwa stopki i jeden cień
 * Usuwa pośredni pas tworzony przez zagnieżdżone wrappery Vamtam.
 * Nie zmienia układu ani zawartości widgetów.
 * ========================================================= */
@media (max-width:958px) {
  /* Jedno wspólne tło od pierwszego piksela stopki. */
  html body .footer-wrapper,
  html body footer.main-footer,
  html body .main-footer,
  html body .footer-sidebars-wrapper,
  html body #footer-sidebars,
  html body #footer-sidebars > .limit-wrapper,
  html body #footer-sidebars > .row,
  html body #footer-sidebars .limit-wrapper,
  html body #footer-sidebars .row {
    background:#1A1A1A !important;
    background-color:#1A1A1A !important;
    background-image:none !important;
    border-top:0 !important;
  }

  /* Wewnętrzne warstwy nie mogą tworzyć własnego pasa ani cienia. */
  html body .footer-sidebars-wrapper,
  html body #footer-sidebars,
  html body footer.main-footer #footer-sidebars,
  html body #footer-sidebars > .limit-wrapper,
  html body #footer-sidebars > .row {
    margin-top:0 !important;
    border-top:0 !important;
    box-shadow:none !important;
  }

  /* Jeden, delikatny cień wyłącznie na zewnętrznej krawędzi stopki. */
  html body footer.main-footer,
  html body .main-footer {
    position:relative !important;
    z-index:2 !important;
    box-shadow:0 -4px 10px rgba(0,0,0,.18) !important;
  }

  html body .footer-wrapper::before,
  html body .footer-wrapper::after,
  html body footer.main-footer::before,
  html body footer.main-footer::after,
  html body .main-footer::before,
  html body .main-footer::after,
  html body .footer-sidebars-wrapper::before,
  html body .footer-sidebars-wrapper::after,
  html body #footer-sidebars::before,
  html body #footer-sidebars::after {
    content:none !important;
    display:none !important;
    background:none !important;
    border:0 !important;
    box-shadow:none !important;
  }
}

/* =========================================================
 * 1.2.77 — MOBILE: zwarty początek stopki
 * Zmniejsza wyłącznie pustą przestrzeń między mapą a Maryją.
 * Nie zmienia rozmiaru Maryi, karty aplikacji ani desktopu.
 * ========================================================= */
@media (max-width:958px) {
  html body #footer-sidebars,
  html body footer.main-footer #footer-sidebars {
    padding-top:0 !important;
  }

  html body #footer-sidebars > .limit-wrapper,
  html body #footer-sidebars > .row,
  html body #footer-sidebars .limit-wrapper,
  html body #footer-sidebars .row,
  html body #footer-sidebars > .row > aside:first-child,
  html body #footer-sidebars .limit-wrapper > .row > aside:first-child,
  html body #footer-sidebars > .row > aside:first-child .widget,
  html body #footer-sidebars .limit-wrapper > .row > aside:first-child .widget,
  html body #footer-sidebars .pwi-app-promo,
  html body #footer-sidebars .pwi-app-promo-card {
    margin-top:0 !important;
    padding-top:0 !important;
  }
}


/* =========================================================
 * 1.2.79 — MOBILE: równe odstępy między widgetami stopki
 * Zachowuje 0 px między mapą a początkiem stopki.
 * Ujednolica wyłącznie pionowy odstęp między widgetami do 12 px.
 * ========================================================= */
@media (max-width:958px) {
  html body #footer-sidebars > .row > aside,
  html body #footer-sidebars .limit-wrapper > .row > aside {
    margin-top:0 !important;
    margin-bottom:0 !important;
  }

  html body #footer-sidebars > .row > aside + aside,
  html body #footer-sidebars .limit-wrapper > .row > aside + aside {
    margin-top:12px !important;
  }

  html body #footer-sidebars aside > .widget,
  html body #footer-sidebars aside > .widget_text {
    margin-top:0 !important;
    margin-bottom:0 !important;
  }

  html body #footer-sidebars aside > .widget + .widget,
  html body #footer-sidebars aside > .widget + .widget_text,
  html body #footer-sidebars aside > .widget_text + .widget,
  html body #footer-sidebars aside > .widget_text + .widget_text {
    margin-top:12px !important;
  }
}
