/* Wariant 1 — Szablon Klasyczny */
body.mkp-theme-classic{background:linear-gradient(180deg,#fffaf1 0%,#fffdf9 42%,#f7f1e6 100%)}
.mkp-theme-classic .mkp-header-main{background:rgba(255,255,255,.96);border-bottom:1px solid rgba(191,141,47,.12)}
.mkp-theme-classic .mkp-hero{border-bottom:1px solid rgba(191,141,47,.1)}
.mkp-theme-classic .mkp-slide{background-image:linear-gradient(90deg,rgba(255,250,241,.96) 0%,rgba(255,250,241,.84) 34%,rgba(255,250,241,.14) 63%,rgba(13,43,69,.12) 100%),var(--mkp-hero-img)}
.mkp-theme-classic .mkp-quick-card,
.mkp-theme-classic .mkp-card,
.mkp-theme-classic .mkp-side-card,
.mkp-theme-classic .mkp-icon-card,
.mkp-theme-classic .mkp-life-card{box-shadow:0 18px 34px rgba(13,43,69,.06)}
.mkp-theme-classic .mkp-page-hero{padding:84px 0;background:linear-gradient(135deg,#fffaf0 0%,#fff6e7 40%,#edf4fb 100%)}
.mkp-theme-classic .mkp-page-hero .mkp-container{text-align:center;max-width:860px}
.mkp-theme-classic .mkp-page-content,
.mkp-theme-classic .mkp-single,
.mkp-theme-classic .mkp-page-wrap{max-width:min(1140px,calc(100% - 42px));background:#fff;border:1px solid rgba(237,215,169,.65);border-radius:26px;box-shadow:0 14px 30px rgba(13,43,69,.04);padding:42px;margin:36px auto 0}
.mkp-theme-classic .mkp-footer{margin-top:84px}
@media (max-width:820px){
  .mkp-theme-classic .mkp-page-content,
  .mkp-theme-classic .mkp-single,
  .mkp-theme-classic .mkp-page-wrap{padding:28px;width:min(100% - 28px,1140px)}
}


/* 2.1.2 — pełna szerokość przycisku gazetki w szablonie klasycznym */
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current{
  width:100%;
  max-width:none;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:16px 20px;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-copy{
  min-width:0;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-label{
  display:block;
  white-space:normal;
  line-height:1.15;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-arrow{
  justify-self:end;
  flex:0 0 auto;
  margin-left:6px;
}
@media (max-width:820px){
  .mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current{
    width:100%;
  }
}


/* 2.1.3 — mocniejsze nadpisanie pełnej szerokości przycisku gazetki */
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  align-items:stretch!important;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current{
  display:flex!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  align-self:stretch!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:14px 18px!important;
  box-sizing:border-box!important;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  flex:1 1 auto!important;
  min-width:0!important;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-label{
  display:block!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  font-size:13px!important;
  line-height:1.15!important;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-helper{
  display:block!important;
}
.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-arrow{
  flex:0 0 auto!important;
  margin-left:auto!important;
  font-size:18px!important;
  line-height:1!important;
}


/* 2.1.4 — finalna poprawka przycisku gazetki bezpośrednio w głównym CSS */
body.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  width:100%!important;
  align-items:stretch!important;
}

body.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-current,
body.mkp-theme-classic .mkp-quick-card-bulletin a.mkp-bulletin-download-current{
  display:flex!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  align-self:stretch!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:14px!important;
  padding:14px 18px!important;
}

body.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-copy{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
}

body.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-label{
  display:block!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  line-height:1.12!important;
  font-size:13px!important;
}

body.mkp-theme-classic .mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-arrow{
  flex:0 0 auto!important;
  margin-left:auto!important;
  padding-left:8px!important;
  line-height:1!important;
  font-size:18px!important;
}


/* 2.1.8 — ostateczna poprawka szerokości przycisku gazetki */
.mkp-quick-card-bulletin .mkp-bulletin-stack,
.mkp-quick-card-bulletin .mkp-bulletin-stack.is-single,
.mkp-quick-card-bulletin .mkp-bulletin-stack.has-previous{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  width:100%!important;
  align-items:stretch!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-current,
.mkp-quick-card-bulletin a.mkp-bulletin-download-current{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  align-self:stretch!important;
  box-sizing:border-box!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:14px!important;
  margin:6px 0 0!important;
  padding:14px 18px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-copy{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-label{
  display:block!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.1!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-arrow{
  flex:0 0 auto!important;
  margin-left:auto!important;
  padding-left:12px!important;
}


/* 2.1.9 — kompleksowe dopracowanie szablonu klasycznego */

/* Gazetka: przycisk jako szeroki element dolny całej belki, również przy układzie z ikoną po lewej */
.mkp-quick-card-bulletin{
  overflow:visible!important;
}

.mkp-quick-card-bulletin .mkp-quick-card-content-bulletin{
  min-width:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-stack,
.mkp-quick-card-bulletin .mkp-bulletin-stack.is-single,
.mkp-quick-card-bulletin .mkp-bulletin-stack.has-previous{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  width:100%!important;
  align-items:stretch!important;
}

/* klucz: wyjście przyciskiem w lewo do obszaru ikony, aby wypełnił pełną belkę */
.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-current,
.mkp-quick-card-bulletin a.mkp-bulletin-download-current{
  display:flex!important;
  width:calc(100% + 72px)!important;
  min-width:0!important;
  max-width:none!important;
  align-self:stretch!important;
  box-sizing:border-box!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:14px!important;
  margin:8px 0 0 -72px!important;
  padding:14px 18px!important;
  border-radius:999px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-copy{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-label{
  display:block!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.1!important;
  font-size:14px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-arrow{
  flex:0 0 auto!important;
  margin-left:auto!important;
  padding-left:12px!important;
  line-height:1!important;
}

/* Aktualności + prawa kolumna: mniej ciężka prawa kolumna i lepsze proporcje */
.mkp-main-layout-classic-refined{
  grid-template-columns:minmax(0,1.72fr) minmax(245px,.78fr)!important;
  gap:30px!important;
  align-items:start!important;
}

.mkp-main-layout-classic-refined .mkp-news-grid-two{
  gap:22px!important;
}

.mkp-main-layout-classic-refined .mkp-sidebar{
  gap:14px!important;
}

.mkp-main-layout-classic-refined .mkp-side-card{
  padding:20px!important;
  border-radius:20px!important;
}

.mkp-main-layout-classic-refined .mkp-side-card-head{
  gap:12px!important;
  margin-bottom:12px!important;
}

.mkp-main-layout-classic-refined .mkp-side-card-head h2{
  font-size:19px!important;
  line-height:1.15!important;
}

.mkp-main-layout-classic-refined .mkp-side-card-content{
  font-size:14px!important;
  line-height:1.48!important;
}

.mkp-main-layout-classic-refined .mkp-side-card-compact{
  padding:17px 18px!important;
}

.mkp-main-layout-classic-refined .mkp-side-card-compact .mkp-side-card-head h2{
  font-size:17px!important;
}

.mkp-main-layout-classic-refined .mkp-side-card-compact .mkp-side-card-content{
  font-size:13px!important;
  line-height:1.42!important;
}

/* Odstępy sekcji: bardziej zwarte po aktualnościach */
.mkp-priests-section-refined{
  padding-top:48px!important;
}

.mkp-priests-section-refined .mkp-section-head{
  margin-bottom:22px!important;
}

.mkp-priests-section-refined .mkp-priests-grid{
  gap:28px!important;
  justify-content:center!important;
}

.mkp-priests-section-refined .mkp-priest-card{
  max-width:220px!important;
}

/* Sakramenty i wspólnoty: mniej pustych placeholderów, bardziej gotowe karty */
.mkp-icon-grid .mkp-icon-card{
  min-height:245px!important;
  padding:28px 22px 24px!important;
  justify-content:flex-start!important;
  position:relative!important;
  overflow:hidden!important;
}

.mkp-icon-grid .mkp-icon-card::before{
  content:""!important;
  position:absolute!important;
  inset:0 0 auto 0!important;
  height:92px!important;
  background:linear-gradient(180deg,rgba(245,236,219,.70),rgba(255,255,255,0))!important;
  pointer-events:none!important;
}

.mkp-icon-grid .mkp-icon-card .mkp-icon,
.mkp-icon-grid .mkp-icon-card .mkp-custom-icon{
  width:46px!important;
  height:46px!important;
  margin:0 auto 18px!important;
  opacity:.72!important;
  color:var(--mkp-gold-dark,#9f6f18)!important;
}

.mkp-icon-grid .mkp-icon-card strong{
  min-height:auto!important;
  margin-top:8px!important;
  font-size:18px!important;
  line-height:1.18!important;
}

.mkp-icon-grid .mkp-icon-card small{
  margin-top:12px!important;
  font-size:13px!important;
  line-height:1.45!important;
}

.mkp-icon-grid .mkp-icon-card em{
  margin-top:auto!important;
  padding-top:18px!important;
}

/* Galeria: do 5 kafelków, lepszy wygląd nawet gdy albumów jest jeszcze mało */
.mkp-gallery-home-refined{
  padding-top:58px!important;
  padding-bottom:68px!important;
}

.mkp-gallery-home-refined .mkp-carousel-wrap{
  max-width:960px!important;
  margin:0 auto!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:18px!important;
  justify-content:center!important;
  align-items:stretch!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-card{
  min-height:190px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#0d2b45 0%,#082039 100%)!important;
  box-shadow:0 20px 36px rgba(13,43,69,.16)!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-card img{
  opacity:.72!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-overlay{
  padding:18px!important;
  justify-content:flex-end!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-overlay strong{
  font-size:17px!important;
  line-height:1.15!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-overlay small{
  font-size:12px!important;
}

@media (min-width:1100px){
  .mkp-gallery-home-refined .mkp-gallery-home-grid{
    grid-template-columns:repeat(5, minmax(140px, 1fr))!important;
  }
}

@media (max-width:1050px){
  .mkp-main-layout-classic-refined{
    grid-template-columns:1fr!important;
  }
  .mkp-main-layout-classic-refined .mkp-sidebar{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:820px){
  .mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-current,
  .mkp-quick-card-bulletin a.mkp-bulletin-download-current{
    width:100%!important;
    margin-left:0!important;
  }
  .mkp-main-layout-classic-refined .mkp-sidebar{
    grid-template-columns:1fr!important;
  }
  .mkp-gallery-home-refined .mkp-gallery-home-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* 2.1.10 — dopracowanie galerii, gazetki i czytelności */

/* Gazetka: przycisk pełnej szerokości w praktyce — z negatywnym przesunięciem do lewej kolumny ikony */
.mkp-quick-card-bulletin{
  --mkp-bulletin-icon-column:64px;
  --mkp-bulletin-gap:22px;
}

.mkp-quick-card-bulletin .mkp-quick-card-content-bulletin{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  width:100%!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-current,
.mkp-quick-card-bulletin a.mkp-bulletin-download-current{
  width:calc(100% + var(--mkp-bulletin-icon-column) + var(--mkp-bulletin-gap))!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:calc((var(--mkp-bulletin-icon-column) + var(--mkp-bulletin-gap)) * -1)!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:14px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-copy{
  flex:1 1 auto!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-label{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-download-current .mkp-bulletin-download-arrow{
  margin-left:auto!important;
  flex:0 0 auto!important;
}

/* Hero: usunięcie zbyt ciemnej pionowej plamy po prawej stronie */
.mkp-theme-classic .mkp-slide{
  background-image:linear-gradient(90deg,rgba(255,250,241,.96) 0%,rgba(255,250,241,.84) 34%,rgba(255,250,241,.18) 63%,rgba(255,250,241,.02) 100%),var(--mkp-hero-img)!important;
}

/* Karty ikonowe: bardziej czytelne ikony i mniej pustego wrażenia */
.mkp-icon-grid .mkp-icon-card .mkp-icon,
.mkp-icon-grid .mkp-icon-card .mkp-custom-icon{
  opacity:.95!important;
  color:#c7963a!important;
}

.mkp-icon-grid .mkp-icon-card strong{
  color:#0d2b45!important;
}

.mkp-icon-grid .mkp-icon-card small{
  color:#53627a!important;
}

/* Galeria: kafelki wycentrowane, zawsze do 5 elementów, ostatni jako Zobacz więcej */
.mkp-gallery-home-refined .mkp-carousel-wrap{
  max-width:1020px!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit, minmax(155px, 180px))!important;
  justify-content:center!important;
  justify-items:center!important;
  align-items:stretch!important;
  gap:20px!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-card{
  width:100%!important;
  max-width:180px!important;
  min-height:205px!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-overlay{
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-date{
  align-self:center!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(180deg,#fffaf0 0%,#f5ead6 100%)!important;
  border:1px solid rgba(199,150,58,.55)!important;
  color:#0d2b45!important;
  box-shadow:0 18px 34px rgba(13,43,69,.08)!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card::after{
  content:""!important;
  position:absolute!important;
  inset:12px!important;
  border:1px solid rgba(199,150,58,.22)!important;
  border-radius:18px!important;
  pointer-events:none!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-icon{
  display:grid!important;
  place-items:center!important;
  width:54px!important;
  height:54px!important;
  border-radius:999px!important;
  margin:0 auto 12px!important;
  background:#0d2b45!important;
  color:#f5d48a!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:700!important;
  position:relative!important;
  z-index:2!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card .mkp-gallery-home-overlay{
  position:relative!important;
  inset:auto!important;
  padding:24px 16px!important;
  background:transparent!important;
  color:#0d2b45!important;
  z-index:2!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card strong{
  color:#0d2b45!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card small{
  color:#8a641d!important;
}

@media (min-width:1100px){
  .mkp-gallery-home-refined .mkp-gallery-home-grid{
    grid-template-columns:repeat(5, minmax(150px, 180px))!important;
  }
}

@media (max-width:820px){
  .mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-current,
  .mkp-quick-card-bulletin a.mkp-bulletin-download-current{
    width:100%!important;
    margin-left:0!important;
  }
  .mkp-gallery-home-refined .mkp-gallery-home-grid{
    grid-template-columns:repeat(2,minmax(145px,1fr))!important;
  }
  .mkp-gallery-home-refined .mkp-gallery-home-card{
    max-width:none!important;
  }
}


/* 2.1.11 — strukturalna poprawka gazetki, galerii i ikon */

/* Gazetka: zewnętrzny przycisk na pełną szerokość karty */
.mkp-quick-card-bulletin{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
}

.mkp-quick-card-bulletin > .mkp-icon,
.mkp-quick-card-bulletin > .mkp-custom-icon{
  flex:0 0 54px!important;
}

.mkp-quick-card-bulletin .mkp-quick-card-content-bulletin{
  flex:1 1 calc(100% - 82px)!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-download-current:not(.mkp-bulletin-card-full-download){
  display:none!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-full-download{
  flex:0 0 100%!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:18px 0 0!important;
  padding:15px 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-full-download .mkp-bulletin-download-copy{
  flex:1 1 auto!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-full-download .mkp-bulletin-download-label{
  display:block!important;
  white-space:normal!important;
  font-size:15px!important;
  line-height:1.1!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-full-download .mkp-bulletin-download-arrow{
  margin-left:auto!important;
  flex:0 0 auto!important;
  padding-left:12px!important;
}

/* Galeria: statyczna, wycentrowana siatka zamiast karuzeli */
.mkp-gallery-home-refined .mkp-gallery-home-grid-static{
  display:grid!important;
  grid-template-columns:repeat(auto-fit, minmax(210px, 230px))!important;
  gap:24px!important;
  justify-content:center!important;
  justify-items:center!important;
  align-items:stretch!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:0!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-grid-static .mkp-gallery-home-card{
  width:100%!important;
  max-width:230px!important;
  min-height:235px!important;
  border-radius:24px!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-grid-static .mkp-gallery-home-overlay{
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-grid-static .mkp-gallery-home-date{
  align-self:center!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card{
  background:linear-gradient(180deg,#fffaf0 0%,#f4e6cd 100%)!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card .mkp-gallery-home-overlay{
  position:relative!important;
  inset:auto!important;
  background:transparent!important;
  color:#0d2b45!important;
  padding:24px 16px!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card strong{
  color:#0d2b45!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card small{
  color:#91620e!important;
}

.mkp-gallery-more-icon{
  position:relative!important;
  z-index:3!important;
  display:grid!important;
  place-items:center!important;
  width:66px!important;
  height:66px!important;
  margin:0 auto 14px!important;
  border-radius:999px!important;
  background:#0d2b45!important;
  color:#f5d48a!important;
  font-size:34px!important;
  line-height:1!important;
  box-shadow:0 12px 22px rgba(13,43,69,.18)!important;
}

/* Sakramenty i Wspólnoty: ikony min. 2x większe i czytelniejsze */
.mkp-theme-classic .mkp-icon-grid .mkp-icon-card{
  min-height:260px!important;
  padding-top:32px!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-icon,
.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-custom-icon{
  width:96px!important;
  height:96px!important;
  max-width:96px!important;
  max-height:96px!important;
  flex:0 0 96px!important;
  margin:0 auto 22px!important;
  opacity:1!important;
  color:#c7963a!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-icon svg,
.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-custom-icon svg{
  width:76px!important;
  height:76px!important;
  stroke-width:1.9!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card strong{
  font-size:18px!important;
  line-height:1.2!important;
  color:#0d2b45!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card small{
  color:#4f5f76!important;
}

/* przy mniejszych ekranach */
@media (max-width:820px){
  .mkp-quick-card-bulletin .mkp-bulletin-card-full-download{
    margin-top:16px!important;
  }
  .mkp-gallery-home-refined .mkp-gallery-home-grid-static{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .mkp-gallery-home-refined .mkp-gallery-home-grid-static .mkp-gallery-home-card{
    max-width:none!important;
  }
}


/* 2.1.12 — wyrównanie gazetki, galerii i kart ikonowych */

/* Gazetka: pełny przycisk jako pasek na dole karty, bez wysuwania poza układ */
.mkp-quick-card-bulletin{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  gap:18px 22px!important;
  padding-bottom:28px!important;
}

.mkp-quick-card-bulletin > .mkp-icon,
.mkp-quick-card-bulletin > .mkp-custom-icon{
  flex:0 0 54px!important;
  width:54px!important;
  height:54px!important;
  margin-top:4px!important;
}

.mkp-quick-card-bulletin .mkp-quick-card-content-bulletin{
  flex:1 1 calc(100% - 78px)!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-stack{
  max-width:none!important;
  width:100%!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  gap:12px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-full-download,
.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download,
.mkp-quick-cards .mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download{
  flex:0 0 100%!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  align-self:stretch!important;
  margin:2px 0 0!important;
  padding:15px 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  box-sizing:border-box!important;
  border-radius:999px!important;
  text-align:left!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-icon{
  flex:0 0 34px!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-copy{
  flex:1 1 auto!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-label{
  display:block!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  font-size:15px!important;
  line-height:1.08!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-helper{
  display:block!important;
  font-size:10px!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-arrow{
  flex:0 0 auto!important;
  margin-left:auto!important;
  padding-left:12px!important;
}

/* Galeria: większe i bardziej reprezentacyjne kafle, dobrze wygląda też przy 1 albumie + zobacz więcej */
.mkp-gallery-home-refined{
  padding-top:58px!important;
  padding-bottom:78px!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-grid-static{
  display:grid!important;
  grid-template-columns:repeat(auto-fit, minmax(230px, 260px))!important;
  gap:24px!important;
  justify-content:center!important;
  justify-items:center!important;
  max-width:1180px!important;
  margin:0 auto!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-grid-static .mkp-gallery-home-card{
  width:100%!important;
  max-width:260px!important;
  min-height:245px!important;
  border-radius:26px!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-card img{
  opacity:.88!important;
  transform:scale(1.02)!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-overlay{
  padding:20px!important;
  text-align:center!important;
  align-items:center!important;
  justify-content:flex-end!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-date{
  align-self:center!important;
  margin-bottom:9px!important;
}

.mkp-gallery-home-refined .mkp-gallery-home-overlay strong{
  font-size:18px!important;
  line-height:1.15!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card{
  background:linear-gradient(180deg,#fffaf0 0%,#f7ead2 100%)!important;
  border:1px solid rgba(199,150,58,.45)!important;
  box-shadow:0 18px 34px rgba(13,43,69,.08)!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card .mkp-gallery-home-overlay{
  justify-content:center!important;
  padding:24px!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-icon{
  width:72px!important;
  height:72px!important;
  font-size:36px!important;
  margin-bottom:16px!important;
}

/* Sakramenty i Wspólnoty: większe ikony, ale mniej pustej wysokości kart */
.mkp-theme-classic .mkp-icon-grid .mkp-icon-card{
  min-height:230px!important;
  padding:28px 22px 22px!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-icon,
.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-custom-icon{
  width:92px!important;
  height:92px!important;
  max-width:92px!important;
  max-height:92px!important;
  flex:0 0 92px!important;
  margin:0 auto 18px!important;
  opacity:1!important;
  color:#c7963a!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-icon svg,
.mkp-theme-classic .mkp-icon-grid .mkp-icon-card .mkp-custom-icon svg{
  width:74px!important;
  height:74px!important;
  stroke-width:2!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card strong{
  font-size:18px!important;
  line-height:1.18!important;
}

.mkp-theme-classic .mkp-icon-grid .mkp-icon-card small{
  font-size:13px!important;
  line-height:1.42!important;
}

@media (max-width:820px){
  .mkp-gallery-home-refined .mkp-gallery-home-grid-static{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .mkp-gallery-home-refined .mkp-gallery-home-grid-static .mkp-gallery-home-card{
    max-width:none!important;
  }
}


/* 2.1.13 — finalne dopracowanie gazetki i galerii */

/* Gazetka: bardziej premium, przycisk wycentrowany i szerszy optycznie */
.mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  gap:14px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-entry-current .mkp-bulletin-date{
  margin-top:2px!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download,
.mkp-quick-card-bulletin .mkp-bulletin-card-full-download{
  width:min(88%, 320px)!important;
  min-width:min(88%, 320px)!important;
  max-width:min(88%, 320px)!important;
  margin:18px auto 0!important;
  padding:16px 22px!important;
  border-radius:999px!important;
  box-shadow:0 12px 26px rgba(181,130,33,.20)!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-icon{
  flex:0 0 38px!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-label{
  font-size:16px!important;
  font-weight:800!important;
  letter-spacing:-0.01em!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-helper{
  display:none!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-arrow{
  font-size:26px!important;
}

/* Galeria: usuń plusik, zostaw czysty kafel CTA */
.mkp-gallery-more-icon{
  display:none!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card .mkp-gallery-home-overlay{
  display:flex!important;
  min-height:100%!important;
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card strong{
  font-size:20px!important;
  line-height:1.15!important;
  margin:0!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card small{
  display:block!important;
  font-size:12px!important;
  line-height:1.45!important;
  max-width:170px!important;
}

/* subtelne porządki w prawej kolumnie aktualności */
.mkp-main-layout-classic-refined .mkp-side-card-compact .mkp-side-card-content p:last-child{
  margin-bottom:0!important;
}


/* 2.1.14 — dopracowanie kafla gazetki i tekstu CTA galerii */

/* Gazetka parafialna: układ premium spójny z innymi kartami */
.mkp-quick-card-bulletin{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  grid-template-areas:
    "icon content"
    "button button"
    "previous previous"!important;
  column-gap:18px!important;
  row-gap:16px!important;
  align-items:start!important;
  padding:28px 24px 26px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous{
  grid-area:previous!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.mkp-quick-card-bulletin > .mkp-icon,
.mkp-quick-card-bulletin > .mkp-custom-icon{
  grid-area:icon!important;
  width:56px!important;
  height:56px!important;
  margin:4px 0 0!important;
}

.mkp-quick-card-bulletin .mkp-quick-card-content-bulletin{
  grid-area:content!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin .mkp-quick-card-title{
  margin:0 0 14px!important;
  font-size:21px!important;
  line-height:1.12!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-stack,
.mkp-quick-card-bulletin .mkp-bulletin-entry-current{
  width:100%!important;
  max-width:none!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-badge{
  margin:0 0 12px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-date{
  margin:0 0 12px!important;
  font-size:17px!important;
  line-height:1.1!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-name{
  margin:0!important;
  font-size:19px!important;
  line-height:1.22!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download,
.mkp-quick-card-bulletin .mkp-bulletin-card-full-download{
  grid-area:button!important;
  width:min(90%, 340px)!important;
  min-width:min(90%, 340px)!important;
  max-width:min(90%, 340px)!important;
  margin:2px auto 0!important;
  padding:16px 22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
  box-shadow:0 14px 28px rgba(181,130,33,.18)!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-icon{
  flex:0 0 38px!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-copy{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-label{
  display:block!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.1!important;
  white-space:normal!important;
}

.mkp-quick-card-bulletin > a.mkp-bulletin-card-full-download .mkp-bulletin-download-arrow{
  flex:0 0 auto!important;
  margin-left:auto!important;
  font-size:24px!important;
}

/* 2.1.26 — kompaktowa poprzednia gazetka bez rozciągania pozostałych kafli */
.mkp-quick-cards-dynamic{
  align-items:start!important;
}

.mkp-quick-cards-dynamic > .mkp-quick-card{
  align-self:start!important;
}

.mkp-quick-card-bulletin{
  row-gap:12px!important;
  padding:26px 24px 24px!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-items:center!important;
  justify-items:start!important;
  row-gap:8px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(159,111,24,.16)!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-divider{
  display:none!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-entry-previous{
  display:contents!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-meta-previous{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  text-align:left!important;
  flex-wrap:wrap!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-badge-secondary{
  margin:0!important;
  padding:5px 12px!important;
  font-size:9px!important;
  line-height:1!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-meta-date-previous{
  display:inline!important;
  font-size:12px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-previous-download{
  margin:0!important;
  padding:7px 14px!important;
  white-space:nowrap!important;
  max-width:100%!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-previous-download .mkp-bulletin-download-helper{
  display:none!important;
}

@media (max-width:620px){
  .mkp-quick-card-bulletin .mkp-bulletin-card-previous{
    grid-template-columns:1fr!important;
    row-gap:8px!important;
    justify-items:start!important;
  }
}

/* 2.1.27 — poprzednie wydanie bez nachodzenia daty na przycisk */
.mkp-quick-card-bulletin .mkp-bulletin-card-previous{
  grid-template-columns:1fr!important;
}

.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-meta-date-previous,
.mkp-quick-card-bulletin .mkp-bulletin-card-previous .mkp-bulletin-previous-download{
  position:static!important;
}

/* Galeria: kafel Zobacz więcej z czytelnym podpisem pod spodem */
.mkp-gallery-home-refined .mkp-gallery-more-card .mkp-gallery-home-overlay{
  padding:26px 20px!important;
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card strong{
  font-size:20px!important;
  line-height:1.15!important;
  margin:0 0 6px!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card small{
  display:block!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:#8a641d!important;
  max-width:170px!important;
  margin:0 auto!important;
}


/* 2.1.15 — wyróżnienie intencji i poprawa kafla galerii */

/* Prawa kolumna: Intencje mszalne jako ważna akcja */
.mkp-side-card-intentions{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#fffdf8 0%,#fff4dd 100%)!important;
  border-color:rgba(199,150,58,.42)!important;
  box-shadow:0 18px 34px rgba(13,43,69,.06), 0 0 0 1px rgba(199,150,58,.10)!important;
}

.mkp-side-card-intentions::after{
  content:""!important;
  position:absolute!important;
  top:-48px!important;
  right:-48px!important;
  width:130px!important;
  height:130px!important;
  border-radius:999px!important;
  background:radial-gradient(circle,rgba(199,150,58,.18),rgba(199,150,58,0) 68%)!important;
  pointer-events:none!important;
}

.mkp-side-card-intentions .mkp-side-card-head h2{
  color:#0d2b45!important;
}

.mkp-side-card-intentions .mkp-side-card-content a,
.mkp-side-card-intentions .mkp-html-content a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin-top:10px!important;
  padding:10px 16px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#d6a247 0%,#b88222 100%)!important;
  color:#fff!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:0 10px 20px rgba(184,130,34,.20)!important;
}

.mkp-side-card-intentions .mkp-side-card-content a::after,
.mkp-side-card-intentions .mkp-html-content a::after{
  content:"→"!important;
  font-weight:900!important;
}

.mkp-side-card-intentions .mkp-side-card-content a:hover,
.mkp-side-card-intentions .mkp-html-content a:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 13px 24px rgba(184,130,34,.26)!important;
}

/* Galeria: kafel „Zobacz więcej” — tekst pod spodem, bez rozjazdu na boki */
.mkp-gallery-home-refined .mkp-gallery-more-card{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card .mkp-gallery-home-overlay{
  position:relative!important;
  inset:auto!important;
  min-height:100%!important;
  width:100%!important;
  padding:28px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:8px!important;
  background:transparent!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card strong{
  display:block!important;
  width:100%!important;
  max-width:160px!important;
  margin:0 auto!important;
  font-size:21px!important;
  line-height:1.1!important;
  color:#0d2b45!important;
}

.mkp-gallery-home-refined .mkp-gallery-more-card small{
  display:block!important;
  width:100%!important;
  max-width:170px!important;
  margin:0 auto!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:#8a641d!important;
}


/* 2.1.16 — opcjonalny układ aktualności: 2 podłużne karty */
.mkp-news-grid-wide2{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:22px!important;
}

.mkp-news-grid-wide2 .mkp-post-card{
  display:grid!important;
  grid-template-columns:minmax(240px, 42%) 1fr!important;
  min-height:220px!important;
  overflow:hidden!important;
}

.mkp-news-grid-wide2 .mkp-post-card > a:first-child,
.mkp-news-grid-wide2 .mkp-post-card .mkp-post-thumb,
.mkp-news-grid-wide2 .mkp-post-card figure{
  min-height:220px!important;
  height:100%!important;
}

.mkp-news-grid-wide2 .mkp-post-card img{
  width:100%!important;
  height:100%!important;
  min-height:220px!important;
  object-fit:contain!important;
  background:#efe7d8!important;
}

.mkp-news-grid-wide2 .mkp-post-card .mkp-post-content,
.mkp-news-grid-wide2 .mkp-post-card .mkp-card-body{
  padding:22px 24px!important;
  align-self:center!important;
}

.mkp-news-grid-wide2 .mkp-post-card h3{
  font-size:clamp(20px, 2.2vw, 28px)!important;
  line-height:1.12!important;
}

@media (max-width:760px){
  .mkp-news-grid-wide2 .mkp-post-card{
    display:block!important;
    min-height:0!important;
  }

  .mkp-news-grid-wide2 .mkp-post-card img{
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16 / 9!important;
    object-fit:contain!important;
  }
}


/* 2.1.17 — aktualności: dwa podłużne kafle obok siebie z pełnym zdjęciem */
.mkp-news-grid-wide2{
  display:grid!important;
  grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}

.mkp-news-grid-wide2 .mkp-post-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}

.mkp-news-grid-wide2 .mkp-post-card > a:first-child,
.mkp-news-grid-wide2 .mkp-post-card .mkp-post-thumb,
.mkp-news-grid-wide2 .mkp-post-card figure{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16 / 10!important;
  background:#efe7d8!important;
  overflow:hidden!important;
}

.mkp-news-grid-wide2 .mkp-post-card img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#efe7d8!important;
}

.mkp-news-grid-wide2 .mkp-post-card .mkp-post-content,
.mkp-news-grid-wide2 .mkp-post-card .mkp-card-body{
  padding:18px 20px 20px!important;
  flex:1 1 auto!important;
}

.mkp-news-grid-wide2 .mkp-post-card h3{
  font-size:clamp(18px, 1.75vw, 23px)!important;
  line-height:1.15!important;
}

@media (max-width:760px){
  .mkp-news-grid-wide2{
    grid-template-columns:1fr!important;
  }
}


/* 2.1.18 — dwa kafle aktualności: większe pole grafiki, pełniejsze zdjęcie */
.mkp-news-grid-wide2{
  grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  gap:24px!important;
}

.mkp-news-grid-wide2 .mkp-post-card{
  min-height:0!important;
  height:auto!important;
}

.mkp-news-grid-wide2 .mkp-post-card > a:first-child,
.mkp-news-grid-wide2 .mkp-post-card .mkp-post-thumb,
.mkp-news-grid-wide2 .mkp-post-card figure,
.mkp-news-grid-wide2 .mkp-post-card .mkp-post-image{
  width:100%!important;
  height:auto!important;
  min-height:260px!important;
  aspect-ratio:4 / 3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#efe7d8!important;
  overflow:hidden!important;
}

.mkp-news-grid-wide2 .mkp-post-card img{
  width:100%!important;
  height:100%!important;
  min-height:260px!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#efe7d8!important;
}

.mkp-news-grid-wide2 .mkp-post-card .mkp-post-content,
.mkp-news-grid-wide2 .mkp-post-card .mkp-card-body{
  padding:20px 22px 22px!important;
}

@media (min-width:1100px){
  .mkp-news-grid-wide2 .mkp-post-card > a:first-child,
  .mkp-news-grid-wide2 .mkp-post-card .mkp-post-thumb,
  .mkp-news-grid-wide2 .mkp-post-card figure,
  .mkp-news-grid-wide2 .mkp-post-card .mkp-post-image,
  .mkp-news-grid-wide2 .mkp-post-card img{
    min-height:300px!important;
  }
}

@media (max-width:760px){
  .mkp-news-grid-wide2{
    grid-template-columns:1fr!important;
  }

  .mkp-news-grid-wide2 .mkp-post-card > a:first-child,
  .mkp-news-grid-wide2 .mkp-post-card .mkp-post-thumb,
  .mkp-news-grid-wide2 .mkp-post-card figure,
  .mkp-news-grid-wide2 .mkp-post-card .mkp-post-image,
  .mkp-news-grid-wide2 .mkp-post-card img{
    min-height:230px!important;
    aspect-ratio:4 / 3!important;
  }
}


/* 2.1.19 — wymuszone większe kafle aktualności 2 obok siebie */
.mkp-main-layout-classic-refined:has(.mkp-news-grid-wide2){
  grid-template-columns:minmax(0, 1fr) 300px!important;
  gap:34px!important;
}

.mkp-content-col-news-wide2{
  width:100%!important;
  max-width:none!important;
}

.mkp-news-grid-wide2{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  gap:26px!important;
  align-items:stretch!important;
}

.mkp-news-grid-wide2 article,
.mkp-news-grid-wide2 .mkp-post-card,
.mkp-news-grid-wide2 .mkp-news-card,
.mkp-news-grid-wide2 .mkp-card{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  min-height:420px!important;
  height:auto!important;
  overflow:hidden!important;
}

.mkp-news-grid-wide2 article > a:first-child,
.mkp-news-grid-wide2 .mkp-post-card > a:first-child,
.mkp-news-grid-wide2 .mkp-news-card > a:first-child,
.mkp-news-grid-wide2 .mkp-post-thumb,
.mkp-news-grid-wide2 .mkp-news-thumb,
.mkp-news-grid-wide2 .mkp-card-thumb,
.mkp-news-grid-wide2 figure,
.mkp-news-grid-wide2 .mkp-post-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
  background:#efe7d8!important;
}

.mkp-news-grid-wide2 img,
.mkp-news-grid-wide2 article img,
.mkp-news-grid-wide2 .mkp-post-card img,
.mkp-news-grid-wide2 .mkp-news-card img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#efe7d8!important;
}

.mkp-news-grid-wide2 .mkp-post-content,
.mkp-news-grid-wide2 .mkp-card-body,
.mkp-news-grid-wide2 .mkp-news-content,
.mkp-news-grid-wide2 article > div:not(.mkp-post-thumb):not(.mkp-news-thumb):not(.mkp-card-thumb){
  flex:1 1 auto!important;
  padding:20px 22px 22px!important;
}

.mkp-news-grid-wide2 h2,
.mkp-news-grid-wide2 h3{
  font-size:clamp(19px, 1.9vw, 25px)!important;
  line-height:1.16!important;
}

@media (min-width:1280px){
  .mkp-news-grid-wide2 article,
  .mkp-news-grid-wide2 .mkp-post-card,
  .mkp-news-grid-wide2 .mkp-news-card,
  .mkp-news-grid-wide2 .mkp-card{
    min-height:460px!important;
  }

  .mkp-news-grid-wide2 article > a:first-child,
  .mkp-news-grid-wide2 .mkp-post-card > a:first-child,
  .mkp-news-grid-wide2 .mkp-news-card > a:first-child,
  .mkp-news-grid-wide2 .mkp-post-thumb,
  .mkp-news-grid-wide2 .mkp-news-thumb,
  .mkp-news-grid-wide2 .mkp-card-thumb,
  .mkp-news-grid-wide2 figure,
  .mkp-news-grid-wide2 .mkp-post-image{
    height:340px!important;
    min-height:340px!important;
  }
}

@media (max-width:980px){
  .mkp-main-layout-classic-refined:has(.mkp-news-grid-wide2){
    grid-template-columns:1fr!important;
  }
}

@media (max-width:760px){
  .mkp-news-grid-wide2{
    grid-template-columns:1fr!important;
  }

  .mkp-news-grid-wide2 article,
  .mkp-news-grid-wide2 .mkp-post-card,
  .mkp-news-grid-wide2 .mkp-news-card,
  .mkp-news-grid-wide2 .mkp-card{
    min-height:0!important;
  }

  .mkp-news-grid-wide2 article > a:first-child,
  .mkp-news-grid-wide2 .mkp-post-card > a:first-child,
  .mkp-news-grid-wide2 .mkp-news-card > a:first-child,
  .mkp-news-grid-wide2 .mkp-post-thumb,
  .mkp-news-grid-wide2 .mkp-news-thumb,
  .mkp-news-grid-wide2 .mkp-card-thumb,
  .mkp-news-grid-wide2 figure,
  .mkp-news-grid-wide2 .mkp-post-image{
    height:260px!important;
    min-height:260px!important;
  }
}


/* 2.1.20 — aktualności wide2: osobna karta bez kadrowania starego układu */
.mkp-news-grid-wide2{
  display:grid!important;
  grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  gap:26px!important;
  align-items:stretch!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:28px!important;
  background:#fff!important;
  border:1px solid rgba(190,151,78,.22)!important;
  box-shadow:0 18px 44px rgba(13,43,69,.08)!important;
  min-height:0!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:4 / 3!important;
  background:#efe7d8!important;
  overflow:hidden!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#efe7d8!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-body{
  padding:22px 24px 24px!important;
  flex:1 1 auto!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-body time{
  display:block!important;
  margin:0 0 10px!important;
  color:#9aa2ad!important;
  font-weight:800!important;
  font-size:15px!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-body h3{
  margin:0 0 14px!important;
  font-size:clamp(22px,2vw,30px)!important;
  line-height:1.12!important;
  color:#0d2b45!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-body h3 a{
  color:inherit!important;
  text-decoration:none!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-body .mkp-read-more{
  color:#a7741f!important;
  font-weight:900!important;
  text-decoration:none!important;
}

@media (max-width:760px){
  .mkp-news-grid-wide2{
    grid-template-columns:1fr!important;
  }

  .mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
    aspect-ratio:4 / 3!important;
  }
}


/* 2.1.21 — pełne zdjęcie aktualności z rozmytym tłem zamiast pustych boków */
.mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
  position:relative!important;
  isolation:isolate!important;
  background-image:var(--mkp-news-bg)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image::before{
  content:""!important;
  position:absolute!important;
  inset:-18px!important;
  background-image:var(--mkp-news-bg)!important;
  background-size:cover!important;
  background-position:center center!important;
  filter:blur(18px)!important;
  transform:scale(1.08)!important;
  opacity:.32!important;
  z-index:-2!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:rgba(255,250,241,.52)!important;
  z-index:-1!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image img{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
}


/* 2.1.22 — aktualności wide2: większa grafika w środku kafla */
.mkp-news-grid-wide2 .mkp-post-card-wide-full{
  min-height:0!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
  height:clamp(230px, 28vw, 390px)!important;
  min-height:230px!important;
  aspect-ratio:auto!important;
  padding:0!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image img{
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
}

@media (min-width:1200px){
  .mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
    height:410px!important;
    min-height:410px!important;
  }
}

@media (max-width:980px){
  .mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
    height:300px!important;
    min-height:300px!important;
  }
}

@media (max-width:760px){
  .mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
    height:270px!important;
    min-height:270px!important;
  }
}


/* 2.1.23 — aktualności: dłuższe 2 kafle i pełna grafika także w 2x2 */

/* Układ: 2 podłużne aktualności — wykorzystaj wolną wysokość sekcji */
.mkp-news-grid-wide2{
  align-items:stretch!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full{
  min-height:640px!important;
  height:100%!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
  height:520px!important;
  min-height:520px!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  padding:0!important;
}

.mkp-news-grid-wide2 .mkp-post-card-wide-full-image img{
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
}

/* Układ: 2x2 — nie kadruj grafik wpisów */
.mkp-news-grid-two .mkp-post-card,
.mkp-news-grid-two article,
.mkp-news-grid-two .mkp-news-card{
  overflow:hidden!important;
}

.mkp-news-grid-two .mkp-post-card > a:first-child,
.mkp-news-grid-two article > a:first-child,
.mkp-news-grid-two .mkp-post-thumb,
.mkp-news-grid-two .mkp-news-thumb,
.mkp-news-grid-two .mkp-card-thumb,
.mkp-news-grid-two figure,
.mkp-news-grid-two .mkp-post-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:310px!important;
  min-height:310px!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  background:#efe7d8!important;
  overflow:hidden!important;
}

.mkp-news-grid-two .mkp-post-card img,
.mkp-news-grid-two article img,
.mkp-news-grid-two .mkp-news-card img{
  display:block!important;
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#efe7d8!important;
}

@media (min-width:1280px){
  .mkp-news-grid-wide2 .mkp-post-card-wide-full{
    min-height:700px!important;
  }

  .mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
    height:575px!important;
    min-height:575px!important;
  }

  .mkp-news-grid-two .mkp-post-card > a:first-child,
  .mkp-news-grid-two article > a:first-child,
  .mkp-news-grid-two .mkp-post-thumb,
  .mkp-news-grid-two .mkp-news-thumb,
  .mkp-news-grid-two .mkp-card-thumb,
  .mkp-news-grid-two figure,
  .mkp-news-grid-two .mkp-post-image{
    height:340px!important;
    min-height:340px!important;
  }
}

@media (max-width:980px){
  .mkp-news-grid-wide2 .mkp-post-card-wide-full{
    min-height:0!important;
  }

  .mkp-news-grid-wide2 .mkp-post-card-wide-full-image{
    height:360px!important;
    min-height:360px!important;
  }

  .mkp-news-grid-two .mkp-post-card > a:first-child,
  .mkp-news-grid-two article > a:first-child,
  .mkp-news-grid-two .mkp-post-thumb,
  .mkp-news-grid-two .mkp-news-thumb,
  .mkp-news-grid-two .mkp-card-thumb,
  .mkp-news-grid-two figure,
  .mkp-news-grid-two .mkp-post-image{
    height:280px!important;
    min-height:280px!important;
  }
}

@media (max-width:760px){
  .mkp-news-grid-wide2 .mkp-post-card-wide-full-image,
  .mkp-news-grid-two .mkp-post-card > a:first-child,
  .mkp-news-grid-two article > a:first-child,
  .mkp-news-grid-two .mkp-post-thumb,
  .mkp-news-grid-two .mkp-news-thumb,
  .mkp-news-grid-two .mkp-card-thumb,
  .mkp-news-grid-two figure,
  .mkp-news-grid-two .mkp-post-image{
    height:260px!important;
    min-height:260px!important;
  }
}


/* 2.1.24 — aktualności 2x2: osobne karty z pełną grafiką bez kadrowania */
.mkp-news-grid-two{
  display:grid!important;
  grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid rgba(190,151,78,.18)!important;
  box-shadow:0 14px 32px rgba(13,43,69,.07)!important;
  min-height:0!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-image{
  position:relative!important;
  isolation:isolate!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  overflow:hidden!important;
  background-image:var(--mkp-news-bg)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-image::before{
  content:""!important;
  position:absolute!important;
  inset:-18px!important;
  background-image:var(--mkp-news-bg)!important;
  background-size:cover!important;
  background-position:center center!important;
  filter:blur(18px)!important;
  transform:scale(1.08)!important;
  opacity:.28!important;
  z-index:-2!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-image::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:rgba(255,250,241,.58)!important;
  z-index:-1!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-image img{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:transparent!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-body{
  padding:18px 20px 20px!important;
  flex:1 1 auto!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-body time{
  display:block!important;
  margin:0 0 8px!important;
  color:#9aa2ad!important;
  font-weight:800!important;
  font-size:14px!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-body h3{
  margin:0 0 12px!important;
  font-size:clamp(18px,1.8vw,23px)!important;
  line-height:1.14!important;
  color:#0d2b45!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-body h3 a{
  color:inherit!important;
  text-decoration:none!important;
}

.mkp-news-grid-two .mkp-post-card-grid-full-body .mkp-read-more{
  color:#a7741f!important;
  font-weight:900!important;
  text-decoration:none!important;
}

@media (min-width:1280px){
  .mkp-news-grid-two .mkp-post-card-grid-full-image{
    height:340px!important;
    min-height:340px!important;
  }
}

@media (max-width:980px){
  .mkp-news-grid-two .mkp-post-card-grid-full-image{
    height:280px!important;
    min-height:280px!important;
  }
}

@media (max-width:760px){
  .mkp-news-grid-two{
    grid-template-columns:1fr!important;
  }

  .mkp-news-grid-two .mkp-post-card-grid-full-image{
    height:270px!important;
    min-height:270px!important;
  }
}
