:root{
  --k-bg:#F7F3EC;
  --k-surface:#FFFDF9;
  --k-ink:#1C1B19;
  --k-text:#45413B;
  --k-muted:#777168;
  --k-burgundy:#6B2431;
  --k-burgundy-dark:#4F1722;
  --k-gold:#B89A62;
  --k-gold-soft:#D9C7A3;
  --k-line:#DED4C6;
  --k-radius:20px;
  --k-shadow:0 16px 42px rgba(28,27,25,.09);
  --k-shadow-hover:0 24px 58px rgba(28,27,25,.14);
  --k-content:1240px;
}

html{scroll-behavior:smooth}
body.katedra-site{
  background:var(--k-bg);
  color:var(--k-text);
  font-family:"Plus Jakarta Sans",sans-serif;
}
body.katedra-site h1,
body.katedra-site h2,
body.katedra-site h3,
body.katedra-site h4,
body.katedra-site h5,
body.katedra-site h6{
  font-family:"Cormorant Garamond",serif;
  color:var(--k-ink);
  letter-spacing:-.02em;
}
body.katedra-site p,
body.katedra-site li,
body.katedra-site a,
body.katedra-site button{font-family:"Plus Jakarta Sans",sans-serif}
body.katedra-site ::selection{background:var(--k-gold-soft);color:var(--k-ink)}

.katedra-container{width:min(92%,var(--k-content))!important;margin-inline:auto!important}
.katedra-narrow{width:min(92%,860px)!important;margin-inline:auto!important}
.katedra-section{padding-block:clamp(70px,7vw,112px)!important}
.katedra-section--surface{background:var(--k-surface)!important}
.katedra-section--burgundy{background:var(--k-burgundy-dark)!important;color:#fff}
.katedra-section--burgundy h1,.katedra-section--burgundy h2,.katedra-section--burgundy h3,.katedra-section--burgundy p{color:#fff}
.katedra-section-heading{margin-bottom:32px!important}

.katedra-eyebrow{
  margin:0 0 12px!important;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.76rem;
  line-height:1.4;
  font-weight:700;
  color:var(--k-burgundy);
}
.katedra-rule:after{
  content:"";
  display:block;
  width:64px;
  height:2px;
  margin-top:18px;
  background:var(--k-gold);
}
.katedra-content-area{font-size:clamp(1rem,.96rem + .18vw,1.12rem);line-height:1.82}
.katedra-content-area p{margin-bottom:1.25em}
.katedra-content-area h2,.katedra-content-area h3{margin-top:1.55em}

/* HEADER */
.katedra-global-header{
  position:sticky!important;
  top:0;
  z-index:99999!important;
  background:rgba(255,253,249,.97)!important;
  border-bottom:1px solid rgba(222,212,198,.9)!important;
  box-shadow:0 8px 28px rgba(28,27,25,.07);
  backdrop-filter:blur(14px);
}
body.admin-bar .katedra-global-header{top:32px}
.katedra-header-row{min-height:92px;align-items:center!important;padding-block:0!important}
.katedra-brand-wrap{display:flex!important;flex-direction:column;justify-content:center}
.katedra-brand-title h2{margin:0!important;color:var(--k-burgundy-dark)!important;font-size:clamp(30px,2.4vw,42px)!important;line-height:.95!important}
.katedra-brand-subtitle p{margin:6px 0 0!important;color:var(--k-muted)!important;font-size:11px!important;letter-spacing:.11em;text-transform:uppercase}
.katedra-nav-wrap{display:flex!important;align-items:center;justify-content:flex-end}
.katedra-header-menu .et_pb_menu__wrap{justify-content:flex-end!important}
.katedra-header-menu .et-menu>li{padding-left:11px!important;padding-right:11px!important}
.katedra-header-menu .et-menu>li>a{color:var(--k-ink)!important;font-size:14px!important;font-weight:650!important}
.katedra-header-menu .et-menu>li.current-menu-item>a,
.katedra-header-menu .et-menu>li>a:hover{color:var(--k-burgundy)!important}
.katedra-header-menu .sub-menu{border-top:3px solid var(--k-gold)!important;box-shadow:0 18px 42px rgba(28,27,25,.13)!important}

/* BUTTONS */
.katedra-button{display:inline-block!important;margin:8px 10px 0 0!important}
.katedra-button .et_pb_button{
  border-radius:999px!important;
  padding:.72em 1.38em!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.25!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.katedra-button .et_pb_button:hover{transform:translateY(-2px)!important}
.katedra-button--gold .et_pb_button{background:var(--k-gold)!important;border-color:var(--k-gold)!important;color:var(--k-ink)!important;box-shadow:0 12px 28px rgba(184,154,98,.25)!important}
.katedra-button--burgundy .et_pb_button{background:var(--k-burgundy)!important;border-color:var(--k-burgundy)!important;color:#fff!important}
.katedra-button--ghost .et_pb_button{background:transparent!important;border-color:rgba(255,255,255,.5)!important;color:#fff!important}
.katedra-button--youtube .et_pb_button{background:#ff0033!important;border-color:#ff0033!important;color:#fff!important;box-shadow:0 14px 34px rgba(255,0,51,.24)!important}

/* HOME HERO */
.katedra-hero{
  position:relative;
  overflow:hidden;
  min-height:clamp(610px,76vh,820px);
  display:flex!important;
  align-items:flex-end!important;
  background:
    radial-gradient(circle at 78% 16%,rgba(184,154,98,.32),transparent 30%),
    linear-gradient(125deg,#241518 0%,#4F1722 50%,#6B2431 100%)!important;
}
.katedra-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.2));
  pointer-events:none;
}
.katedra-hero .et_pb_row{position:relative;z-index:2}
.katedra-hero-content{padding-block:clamp(80px,10vw,132px)!important;max-width:820px}
.katedra-hero-content .katedra-eyebrow{color:var(--k-gold-soft)!important}
.katedra-hero-content h1{margin:0!important;color:#fff!important;font-size:clamp(58px,8vw,112px)!important;line-height:.86!important;font-weight:600!important}
.katedra-hero-lead{max-width:700px;margin:28px 0 0!important;color:#fff!important;font-size:clamp(20px,2.2vw,29px)!important;line-height:1.45!important}
.katedra-hero-note{max-width:650px;margin:14px 0 0!important;color:rgba(255,255,255,.72)!important;font-size:15px!important}
.katedra-hero-buttons{margin-top:22px!important}
.katedra-button-group{display:flex!important;flex-wrap:wrap;gap:2px}

/* LIVE PINNED */
.katedra-live-card{
  margin-top:12px!important;
  margin-bottom:38px!important;
  padding:clamp(24px,3vw,40px)!important;
  align-items:center!important;
  background:linear-gradient(120deg,var(--k-burgundy-dark),var(--k-burgundy))!important;
  border:1px solid rgba(184,154,98,.38)!important;
  border-radius:var(--k-radius)!important;
  box-shadow:var(--k-shadow)!important;
}
.katedra-live-card h3{color:#fff!important;font-size:clamp(34px,4vw,52px)!important;margin:0 0 8px!important}
.katedra-live-card p{color:rgba(255,255,255,.82)!important;margin:0!important}
.katedra-live-kicker{color:#ffb2c1!important;font-size:12px!important;font-weight:800!important;letter-spacing:.16em!important}
.katedra-live-action{display:flex!important;justify-content:flex-end!important;align-items:center!important}

/* CARDS */
.katedra-card-grid{gap:24px!important;align-items:stretch!important}
.katedra-info-card,.katedra-link-card,.katedra-feature-card,.katedra-contact-card{
  height:100%;
  padding:clamp(24px,2.6vw,36px)!important;
  background:var(--k-surface)!important;
  border:1px solid var(--k-line)!important;
  border-radius:var(--k-radius)!important;
  box-shadow:var(--k-shadow)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.katedra-info-card h4,.katedra-link-card h4,.katedra-feature-card h4,.katedra-contact-card h4,
.katedra-info-card h3,.katedra-link-card h3,.katedra-feature-card h3,.katedra-contact-card h3{font-size:30px!important;color:var(--k-burgundy-dark)!important}
@media(hover:hover){
  .katedra-info-card:hover,.katedra-link-card:hover,.katedra-feature-card:hover{transform:translateY(-5px)!important;box-shadow:var(--k-shadow-hover)!important;border-color:var(--k-gold-soft)!important}
}
.katedra-split{gap:40px!important;align-items:center!important}

/* BLOG */
.katedra-latest .et_pb_ajax_pagination_container,
.katedra-news-archive .et_pb_ajax_pagination_container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.katedra-latest .et_pb_post,
.katedra-news-archive .et_pb_post{
  margin:0!important;
  padding:0 0 24px!important;
  overflow:hidden;
  background:var(--k-surface)!important;
  border:1px solid var(--k-line)!important;
  border-radius:18px!important;
  box-shadow:0 10px 30px rgba(28,27,25,.07)!important;
}
.katedra-latest .et_pb_post h2,
.katedra-news-archive .et_pb_post h2{font-size:28px!important;line-height:1.08!important;padding:0 22px!important}
.katedra-latest .post-meta,
.katedra-news-archive .post-meta{padding:0 22px!important;color:var(--k-muted)!important;font-size:12px!important}
.katedra-latest .post-content,
.katedra-news-archive .post-content{padding:0 22px!important}
.katedra-latest .entry-featured-image-url,
.katedra-news-archive .entry-featured-image-url{margin-bottom:22px!important;aspect-ratio:16/10;overflow:hidden}
.katedra-latest .entry-featured-image-url img,
.katedra-news-archive .entry-featured-image-url img{width:100%;height:100%;object-fit:cover}

/* PAGE / POST TEMPLATES */
.katedra-page-hero,.katedra-archive-hero{
  padding-block:clamp(62px,7vw,104px)!important;
  background:linear-gradient(130deg,#F2E9DE,#FFFDF9)!important;
  border-bottom:1px solid var(--k-line)!important;
}
.katedra-page-title .et_pb_title_container h1,
.katedra-page-title h1{font-size:clamp(50px,6vw,78px)!important;line-height:.98!important;color:var(--k-burgundy-dark)!important}
.katedra-page-body{padding-block:clamp(60px,7vw,104px)!important;background:var(--k-surface)!important}
.katedra-contact-grid{gap:52px!important;align-items:flex-start!important}
.katedra-contact-card{margin-bottom:20px!important}
.katedra-post-hero{padding-block:clamp(58px,7vw,96px)!important;background:var(--k-burgundy-dark)!important}
.katedra-post-hero .et_pb_title_container h1{color:#fff!important;font-size:clamp(46px,6vw,74px)!important;line-height:.98!important}
.katedra-post-hero .et_pb_title_meta_container,.katedra-post-hero .et_pb_title_meta_container a{color:rgba(255,255,255,.72)!important}
.katedra-post-body{padding-block:clamp(58px,7vw,104px)!important;background:var(--k-surface)!important}
.katedra-post-nav{margin-top:44px!important;padding-top:26px!important;border-top:1px solid var(--k-line)!important}
.katedra-archive-body{background:var(--k-bg)!important}

/* FOOTER */
.katedra-global-footer{padding-block:clamp(54px,6vw,82px) 26px!important;background:#181715!important;color:#eee!important}
.katedra-global-footer h2,.katedra-global-footer h3{color:#fff!important}
.katedra-global-footer p,.katedra-global-footer a{color:rgba(255,255,255,.72)!important}
.katedra-footer-grid{gap:34px!important;align-items:flex-start!important}
.katedra-footer-menu .et_pb_menu__wrap{justify-content:flex-start!important}
.katedra-footer-menu .et-menu{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
.katedra-footer-menu .et-menu>li{padding:0!important;margin:0!important}
.katedra-footer-menu .et-menu>li>a{padding:5px 0!important;color:rgba(255,255,255,.78)!important}
.katedra-footer-menu .sub-menu{display:none!important}
.katedra-footer-bottom{margin-top:28px!important;padding-top:22px!important;border-top:1px solid rgba(255,255,255,.12)!important;font-size:12px!important}

.katedra-site :focus-visible{outline:3px solid var(--k-gold)!important;outline-offset:3px!important}

@media(max-width:1100px){
  .katedra-header-menu .et-menu>li{padding-left:7px!important;padding-right:7px!important}
  .katedra-header-menu .et-menu>li>a{font-size:13px!important}
  .katedra-latest .et_pb_ajax_pagination_container,.katedra-news-archive .et_pb_ajax_pagination_container{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:980px){
  body.admin-bar .katedra-global-header{top:46px}
  .katedra-header-row{min-height:78px!important;flex-wrap:nowrap!important}
  .katedra-brand-subtitle{display:none!important}
  .katedra-brand-title h2{font-size:28px!important}
  .katedra-nav-wrap{justify-content:flex-end!important}
  .katedra-header-menu .et_pb_menu__wrap{justify-content:flex-end!important}
  .katedra-section{padding-block:60px!important}
  .katedra-hero{min-height:650px}
  .katedra-hero-content{padding-block:80px!important}
  .katedra-live-action{justify-content:flex-start!important;margin-top:22px!important}
  .katedra-card-grid,.katedra-split,.katedra-contact-grid,.katedra-footer-grid{gap:22px!important}
}

@media(max-width:767px){
  .katedra-container,.katedra-narrow{width:min(90%,var(--k-content))!important}
  .katedra-global-header{top:0!important}
  .katedra-header-row{min-height:70px!important}
  .katedra-brand-title h2{font-size:25px!important}
  .katedra-hero{min-height:590px}
  .katedra-hero-content h1{font-size:58px!important}
  .katedra-hero-lead{font-size:20px!important}
  .katedra-live-card{padding:24px!important;border-radius:16px!important}
  .katedra-latest .et_pb_ajax_pagination_container,.katedra-news-archive .et_pb_ajax_pagination_container{grid-template-columns:1fr}
  .katedra-info-card,.katedra-link-card,.katedra-feature-card,.katedra-contact-card{border-radius:15px!important}
  .katedra-footer-menu .et-menu{display:none!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .katedra-button .et_pb_button,.katedra-info-card,.katedra-link-card,.katedra-feature-card{transition:none!important}
}


/* =========================================================
   0.2.4 — LAYOUT STABILITY / DIVI 5 NATIVE
   Naprawa boxed layout, siatek kart i modułu Blog.
   ========================================================= */

/* Witryna ma być pełnej szerokości — niezależnie od ustawienia Boxed Layout w Divi. */
html,
body.katedra-site,
body.katedra-site #page-container,
body.katedra-site #et-main-area,
body.katedra-site #main-content,
body.katedra-site .et-l,
body.katedra-site .et_builder_inner_content{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.katedra-site #page-container{
  box-shadow:none!important;
  overflow-x:hidden!important;
}
body.katedra-site .et_pb_section{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Wszystkie nasze rzędy dostają jedną przewidywalną szerokość. */
body.katedra-site .katedra-container,
body.katedra-site .katedra-narrow{
  box-sizing:border-box!important;
  max-width:var(--k-content)!important;
}
body.katedra-site .katedra-narrow{
  max-width:860px!important;
}

/* Nagłówki sekcji — czytelna skala zamiast drobnego tekstu. */
body.katedra-site .katedra-section-heading h2,
body.katedra-site .katedra-split h2,
body.katedra-site .katedra-narrow h2,
body.katedra-site .katedra-cta h2{
  font-size:clamp(38px,4.2vw,58px)!important;
  line-height:1.02!important;
  font-weight:600!important;
  margin-bottom:12px!important;
}
body.katedra-site .katedra-section-heading{
  margin-bottom:38px!important;
}
body.katedra-site .katedra-eyebrow{
  font-size:12px!important;
  letter-spacing:.16em!important;
}

/* Karty: Divi nadal nadaje kolumnom procentowe szerokości. Grid przejmuje layout. */
body.katedra-site .katedra-card-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-gap:24px!important;
  row-gap:24px!important;
  align-items:stretch!important;
}
body.katedra-site .katedra-card-grid:before,
body.katedra-site .katedra-card-grid:after{
  display:none!important;
}
body.katedra-site .katedra-card-grid > .et_pb_column{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}
body.katedra-site .katedra-info-card,
body.katedra-site .katedra-link-card,
body.katedra-site .katedra-feature-card{
  box-sizing:border-box!important;
  min-width:0!important;
}
body.katedra-site .katedra-info-card h3,
body.katedra-site .katedra-link-card h3,
body.katedra-site .katedra-feature-card h3{
  font-size:clamp(25px,2.2vw,32px)!important;
  line-height:1.05!important;
  margin-bottom:12px!important;
}
body.katedra-site .katedra-info-card p,
body.katedra-site .katedra-link-card p,
body.katedra-site .katedra-feature-card p{
  font-size:14px!important;
  line-height:1.65!important;
}

/* Dwa boksy obok siebie bez dodawania gap do istniejących szerokości Divi. */
body.katedra-site .katedra-split{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:clamp(28px,5vw,64px)!important;
  align-items:center!important;
}
body.katedra-site .katedra-split:before,
body.katedra-site .katedra-split:after{
  display:none!important;
}
body.katedra-site .katedra-split > .et_pb_column{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}

/* Przypięta transmisja — stabilne 2 kolumny. */
body.katedra-site .katedra-live-card{
  display:grid!important;
  grid-template-columns:minmax(0,1.7fr) minmax(180px,.55fr)!important;
  gap:32px!important;
}
body.katedra-site .katedra-live-card:before,
body.katedra-site .katedra-live-card:after{
  display:none!important;
}
body.katedra-site .katedra-live-card > .et_pb_column{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}
body.katedra-site .katedra-live-action{
  justify-content:flex-end!important;
  align-self:center!important;
}

/* Blog Divi 5 — zapobiega pionowemu paskowi widocznemu na Home. */
body.katedra-site .katedra-latest,
body.katedra-site .katedra-latest > div,
body.katedra-site .katedra-latest .et_pb_ajax_pagination_container,
body.katedra-site .katedra-latest .et_pb_posts,
body.katedra-site .katedra-latest .et_pb_post{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.katedra-site .katedra-latest .et_pb_ajax_pagination_container,
body.katedra-site .katedra-latest .et_pb_posts{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:26px!important;
}
body.katedra-site .katedra-latest .et_pb_post{
  float:none!important;
  margin:0!important;
  overflow:hidden!important;
}
body.katedra-site .katedra-latest .entry-title,
body.katedra-site .katedra-latest h2{
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto!important;
}

/* Header / footer także nie mogą dziedziczyć szerokości boxed. */
body.katedra-site .katedra-global-header,
body.katedra-site .katedra-global-footer{
  width:100%!important;
  max-width:none!important;
}
body.katedra-site .katedra-header-row,
body.katedra-site .katedra-footer-grid,
body.katedra-site .katedra-footer-bottom{
  width:min(92%,var(--k-content))!important;
  max-width:var(--k-content)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.katedra-site .katedra-brand-title h1,
body.katedra-site .katedra-brand-title h2,
body.katedra-site .katedra-brand-title h3,
body.katedra-site .katedra-brand-title .et_pb_module_heading{
  font-size:clamp(30px,2.5vw,42px)!important;
  line-height:.95!important;
}

/* Hero: proporcje bardziej eleganckie, mniej pustej przestrzeni. */
body.katedra-site .katedra-hero{
  min-height:clamp(540px,68vh,720px)!important;
}
body.katedra-site .katedra-hero-content{
  padding-block:clamp(72px,8vw,112px)!important;
}

@media(max-width:1100px){
  body.katedra-site .katedra-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.katedra-site .katedra-latest .et_pb_ajax_pagination_container,
  body.katedra-site .katedra-latest .et_pb_posts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:767px){
  body.katedra-site .katedra-card-grid,
  body.katedra-site .katedra-split,
  body.katedra-site .katedra-live-card,
  body.katedra-site .katedra-latest .et_pb_ajax_pagination_container,
  body.katedra-site .katedra-latest .et_pb_posts{
    grid-template-columns:1fr!important;
  }
  body.katedra-site .katedra-live-action{
    justify-content:flex-start!important;
    margin-top:4px!important;
  }
  body.katedra-site .katedra-section-heading h2,
  body.katedra-site .katedra-split h2,
  body.katedra-site .katedra-narrow h2,
  body.katedra-site .katedra-cta h2{
    font-size:38px!important;
  }
  body.katedra-site .katedra-header-row,
  body.katedra-site .katedra-footer-grid,
  body.katedra-site .katedra-footer-bottom{
    width:90%!important;
  }
}

/* =========================================================
   0.2.5 — VISUAL POLISH / RECOVERED MEDIA / MOBILE FOOTER
   ========================================================= */

/* HOME: więcej charakteru, mniej pustych płaszczyzn. */
body.katedra-site.katedra-home .katedra-section{
  position:relative;
}
body.katedra-site.katedra-home .katedra-section--surface{
  background:
    radial-gradient(circle at 8% 0%,rgba(184,154,98,.055),transparent 28%),
    #FFFDF9!important;
}

/* Hero z natywnym modułem Image — bez custom HTML i bez tła zewnętrznego. */
body.katedra-site .katedra-hero-visual{
  min-height:clamp(560px,70vh,760px)!important;
  display:flex!important;
  align-items:center!important;
  background:
    radial-gradient(circle at 18% 18%,rgba(184,154,98,.22),transparent 32%),
    linear-gradient(120deg,#241518 0%,#4F1722 54%,#6B2431 100%)!important;
}
body.katedra-site .katedra-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;
  gap:clamp(42px,6vw,86px)!important;
  align-items:center!important;
}
body.katedra-site .katedra-hero-grid:before,
body.katedra-site .katedra-hero-grid:after{display:none!important}
body.katedra-site .katedra-hero-grid>.et_pb_column{
  width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;float:none!important;
}
body.katedra-site .katedra-hero-photo{
  position:relative!important;
  margin:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 34px 90px rgba(0,0,0,.34)!important;
  border:1px solid rgba(255,255,255,.16)!important;
}
body.katedra-site .katedra-hero-photo img{
  width:100%!important;
  height:clamp(420px,55vw,610px)!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  filter:saturate(.92) contrast(1.04)!important;
}
body.katedra-site .katedra-hero-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 48%,rgba(35,15,20,.28));
  pointer-events:none;
}
body.katedra-site .katedra-hero-content{max-width:720px!important}
body.katedra-site .katedra-hero-content h1{
  font-size:clamp(58px,6.8vw,96px)!important;
  line-height:.9!important;
}
body.katedra-site .katedra-hero-lead{
  font-size:clamp(19px,1.7vw,25px)!important;
  max-width:620px!important;
}

/* Live: zdjęcie + treść, bardziej jak ważny komunikat niż zwykły klocek. */
body.katedra-site .katedra-live-card--visual{
  grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr)!important;
  padding:0!important;
  overflow:hidden!important;
  gap:0!important;
}
body.katedra-site .katedra-live-media{min-height:100%!important}
body.katedra-site .katedra-live-image,
body.katedra-site .katedra-live-image .et_pb_image_wrap{height:100%!important;display:block!important}
body.katedra-site .katedra-live-image img{
  width:100%!important;
  height:100%!important;
  min-height:290px!important;
  object-fit:cover!important;
  display:block!important;
}
body.katedra-site .katedra-live-copy-visual{
  padding:clamp(30px,4vw,52px)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
body.katedra-site .katedra-live-copy-visual h3{font-size:clamp(38px,4vw,56px)!important}
body.katedra-site .katedra-live-copy-visual .katedra-button{margin-top:20px!important}

/* Fotograficzny split. */
body.katedra-site .katedra-photo-card{
  overflow:hidden!important;
  border-radius:24px!important;
  box-shadow:var(--k-shadow)!important;
  border:1px solid var(--k-line)!important;
  background:#fff!important;
}
body.katedra-site .katedra-photo-card img{
  width:100%!important;
  height:clamp(350px,42vw,520px)!important;
  object-fit:cover!important;
  display:block!important;
}

/* Galeria teaser — trzy duże obrazy zamiast pustego tekstu. */
body.katedra-site .katedra-gallery-grid{
  display:grid!important;
  grid-template-columns:1.25fr 1fr 1fr!important;
  gap:20px!important;
  margin-top:34px!important;
}
body.katedra-site .katedra-gallery-grid:before,
body.katedra-site .katedra-gallery-grid:after{display:none!important}
body.katedra-site .katedra-gallery-grid>.et_pb_column{
  width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;float:none!important;
}
body.katedra-site .katedra-gallery-tile{
  overflow:hidden!important;
  border-radius:20px!important;
  border:1px solid var(--k-line)!important;
  box-shadow:0 14px 36px rgba(28,27,25,.08)!important;
  background:#fff!important;
}
body.katedra-site .katedra-gallery-tile .et_pb_image,
body.katedra-site .katedra-gallery-tile .et_pb_image_wrap{display:block!important;width:100%!important}
body.katedra-site .katedra-gallery-tile img{
  width:100%!important;
  height:300px!important;
  object-fit:cover!important;
  display:block!important;
  transition:transform .35s ease!important;
}
body.katedra-site .katedra-gallery-tile:first-child img{height:360px!important}
@media(hover:hover){
  body.katedra-site .katedra-gallery-tile:hover img{transform:scale(1.035)!important}
}
body.katedra-site .katedra-gallery-caption{padding:18px 20px 20px!important}
body.katedra-site .katedra-gallery-caption h3{font-size:26px!important;margin:0 0 4px!important;color:var(--k-burgundy-dark)!important}
body.katedra-site .katedra-gallery-caption p{font-size:13px!important;line-height:1.6!important;margin:0!important;color:var(--k-muted)!important}

/* Karty mają dostać trochę hierarchii wizualnej. */
body.katedra-site .katedra-info-card,
body.katedra-site .katedra-link-card{
  position:relative!important;
  overflow:hidden!important;
}
body.katedra-site .katedra-info-card:before,
body.katedra-site .katedra-link-card:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg,var(--k-gold),rgba(184,154,98,.12));
}

/* Hello World nie może rozwalać strony podczas oczekiwania na import odzyskanych wpisów. */
body.katedra-site .katedra-latest #post-1,
body.katedra-site .katedra-latest .post-1{display:none!important}

/* FOOTER — prawdziwe menu WP pozostaje, ale bez białego mobilnego prostokąta. */
body.katedra-site .katedra-footer-grid{
  display:grid!important;
  grid-template-columns:1.15fr .85fr 1.15fr!important;
  gap:clamp(28px,4vw,56px)!important;
}
body.katedra-site .katedra-footer-grid:before,
body.katedra-site .katedra-footer-grid:after{display:none!important}
body.katedra-site .katedra-footer-grid>.et_pb_column{
  width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;float:none!important;
}
body.katedra-site .katedra-footer-menu .et_pb_menu__menu{display:block!important}
body.katedra-site .katedra-footer-menu .et_mobile_nav_menu{display:none!important}
body.katedra-site .katedra-footer-menu,
body.katedra-site .katedra-footer-menu .et_pb_menu_inner_container,
body.katedra-site .katedra-footer-menu .et_pb_menu__wrap{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
body.katedra-site .katedra-footer-menu .et-menu-nav,
body.katedra-site .katedra-footer-menu .et-menu{width:100%!important}
body.katedra-site .katedra-footer-menu .et-menu{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
body.katedra-site .katedra-footer-menu .et-menu>li{width:100%!important}
body.katedra-site .katedra-footer-menu .et-menu>li>a{font-size:13px!important;line-height:1.35!important}

/* Stopka ma być mocna wizualnie, ale czytelna. */
body.katedra-site .katedra-global-footer{background:#171513!important}
body.katedra-site .katedra-global-footer h2,
body.katedra-site .katedra-global-footer h3{font-size:28px!important;margin-bottom:12px!important}
body.katedra-site .katedra-global-footer p,
body.katedra-site .katedra-global-footer a{font-size:13px!important;line-height:1.7!important}

@media(max-width:980px){
  body.katedra-site .katedra-hero-grid{grid-template-columns:1fr!important}
  body.katedra-site .katedra-hero-photo img{height:420px!important}
  body.katedra-site .katedra-live-card--visual{grid-template-columns:1fr!important}
  body.katedra-site .katedra-live-image img{min-height:250px!important;height:320px!important}
  body.katedra-site .katedra-gallery-grid{grid-template-columns:1fr 1fr!important}
  body.katedra-site .katedra-gallery-grid>.et_pb_column:first-child{grid-column:1/-1!important}
}

@media(max-width:767px){
  body.katedra-site .katedra-hero-visual{min-height:auto!important}
  body.katedra-site .katedra-hero-content{padding-block:58px 18px!important}
  body.katedra-site .katedra-hero-photo{border-radius:18px!important;margin-bottom:46px!important}
  body.katedra-site .katedra-hero-photo img{height:330px!important}
  body.katedra-site .katedra-live-copy-visual{padding:28px 24px 32px!important}
  body.katedra-site .katedra-live-image img{height:230px!important;min-height:230px!important}
  body.katedra-site .katedra-gallery-grid{grid-template-columns:1fr!important}
  body.katedra-site .katedra-gallery-grid>.et_pb_column:first-child{grid-column:auto!important}
  body.katedra-site .katedra-gallery-tile img,
  body.katedra-site .katedra-gallery-tile:first-child img{height:260px!important}
  body.katedra-site .katedra-footer-grid{grid-template-columns:1fr!important;gap:30px!important}
}

/* =========================================================
   0.2.7 — ARCHIVE HEADER / REAL LIVE STREAM / MOBILE NAV
   ========================================================= */

/* ARCHIWALNY HEADER: pełne zdjęcie jak na starej stronie. */
body.katedra-site .katedra-header-visual,
body.katedra-site .katedra-header-archive{
  position:relative!important;
  z-index:10!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  background:#1b1716!important;
  overflow:hidden!important;
}
body.katedra-site .katedra-header-visual .katedra-archive-header-row,
body.katedra-site .katedra-header-visual .et_pb_row{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.katedra-site .katedra-header-visual .et_pb_column{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.katedra-site .katedra-archive-header-image,
body.katedra-site .katedra-archive-header-image .et_pb_image_wrap{
  display:block!important;
  width:100%!important;
  height:clamp(360px,31vw,500px)!important;
  margin:0!important;
}
body.katedra-site .katedra-archive-header-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center 48%!important;
  filter:saturate(.98) contrast(1.03)!important;
}
body.katedra-site .katedra-archive-header-row:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(12,10,9,.14),rgba(12,10,9,.02) 44%,rgba(12,10,9,.16));
}
body.katedra-site .katedra-archive-header-title{
  position:absolute!important;
  z-index:2!important;
  left:50%!important;
  top:52%!important;
  width:min(92%,1120px)!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  text-align:center!important;
  pointer-events:none!important;
}
body.katedra-site .katedra-archive-header-title .et_pb_module_heading,
body.katedra-site .katedra-archive-header-title h1,
body.katedra-site .katedra-archive-header-title h2{
  margin:0!important;
  color:#fff!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:clamp(34px,3.35vw,58px)!important;
  line-height:1.08!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
  text-shadow:0 2px 22px rgba(0,0,0,.40)!important;
}

/* MENU dokładnie pod zdjęciem; po scrollu JS przełącza je na fixed. */
body.katedra-site .katedra-header-sticky,
body.katedra-site .katedra-archive-nav{
  position:relative!important;
  z-index:99990!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:linear-gradient(180deg,#292929,#202020)!important;
  border:0!important;
  border-bottom:10px solid #a60d15!important;
  box-shadow:none!important;
}
body.katedra-site .katedra-header-sticky.is-katedra-fixed{
  position:fixed!important;
  left:0!important;
  right:0!important;
  top:0!important;
  box-shadow:0 8px 26px rgba(0,0,0,.24)!important;
}
body.admin-bar.katedra-site .katedra-header-sticky.is-katedra-fixed{top:32px!important}
body.katedra-site .katedra-archive-nav-row,
body.katedra-site .katedra-header-sticky .et_pb_row{
  width:min(94%,1180px)!important;
  max-width:1180px!important;
  min-height:72px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
}
body.katedra-site .katedra-header-sticky .et_pb_column,
body.katedra-site .katedra-nav-wrap{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.katedra-site .katedra-header-menu{
  width:100%!important;
  margin:0!important;
  background:transparent!important;
}
body.katedra-site .katedra-header-menu .et_pb_menu__logo-wrap,
body.katedra-site .katedra-header-menu .et_pb_menu__search-button,
body.katedra-site .katedra-header-menu .et_pb_menu__search-container,
body.katedra-site .katedra-header-menu .et_pb_menu__search-input,
body.katedra-site .katedra-header-menu .et_pb_menu__cart-button{
  display:none!important;
}
body.katedra-site .katedra-header-menu .et_pb_menu__wrap{
  justify-content:center!important;
  width:100%!important;
}
body.katedra-site .katedra-header-menu .et-menu-nav,
body.katedra-site .katedra-header-menu .et-menu{width:auto!important}
body.katedra-site .katedra-header-menu .et-menu{
  align-items:stretch!important;
  justify-content:center!important;
}
body.katedra-site .katedra-header-menu .et-menu>li{
  position:relative!important;
  padding:0 21px!important;
  margin:0!important;
}
body.katedra-site .katedra-header-menu .et-menu>li>a{
  display:flex!important;
  align-items:center!important;
  min-height:62px!important;
  padding:0!important;
  color:rgba(255,255,255,.72)!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:600!important;
}
body.katedra-site .katedra-header-menu .et-menu>li.current-menu-item>a,
body.katedra-site .katedra-header-menu .et-menu>li>a:hover{color:#fff!important}
body.katedra-site .katedra-header-menu .et-menu>li.current-menu-item:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  width:0;
  height:0;
  transform:translateX(-50%);
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-bottom:0;
  border-top:10px solid #a60d15;
}
body.katedra-site.katedra-nav-fixed .et-l--header,
body.katedra-site.katedra-nav-fixed header.et-l--header{
  padding-bottom:var(--k-sticky-nav-height,82px)!important;
}

/* HERO HOME: prawa kolumna to prawdziwy stream, nie zdjęcie i nie opis źródła. */
body.katedra-site .katedra-hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(440px,1.08fr)!important;
  gap:clamp(34px,5vw,72px)!important;
}
body.katedra-site .katedra-hero-live{
  min-height:0!important;
  display:block!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.katedra-site .katedra-hero-live:after{display:none!important}
body.katedra-site .katedra-hero-live-title{
  margin:0 0 14px!important;
}
body.katedra-site .katedra-hero-live-title .et_pb_module_heading,
body.katedra-site .katedra-hero-live-title h2{
  color:#fff!important;
  font-size:clamp(32px,3vw,48px)!important;
  line-height:1!important;
}
body.katedra-site .katedra-live-embed{
  width:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:#0e0e0e!important;
  box-shadow:0 28px 80px rgba(0,0,0,.34)!important;
}
body.katedra-site .katedra-live-embed .et_pb_code_inner{
  width:100%!important;
  aspect-ratio:16/9!important;
  line-height:0!important;
}
body.katedra-site .katedra-live-embed iframe{
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:16/9!important;
  border:0!important;
  background:#000!important;
}

/* Aktualności bez pustej wielkiej dziury, dopóki wpisy nie są zaimportowane. */
body.katedra-site.katedra-home .katedra-section.katedra-news-empty{
  padding-block:54px!important;
}
body.katedra-site.katedra-home .katedra-news-empty .katedra-section-heading{margin-bottom:0!important}

@media(max-width:980px){
  body.katedra-site .katedra-archive-header-image,
  body.katedra-site .katedra-archive-header-image .et_pb_image_wrap{height:330px!important}
  body.katedra-site .katedra-header-menu .et_pb_menu__wrap{justify-content:flex-end!important}
  body.katedra-site .katedra-header-menu .et_pb_menu__menu{display:none!important}
  body.katedra-site .katedra-header-menu .et_mobile_nav_menu{display:flex!important;margin:0!important}
  body.katedra-site .katedra-header-menu .mobile_menu_bar{display:flex!important;align-items:center!important;min-height:58px!important}
  body.katedra-site .katedra-header-menu .mobile_menu_bar:before{color:#fff!important;font-size:36px!important}
  body.katedra-site .katedra-header-menu .et_mobile_menu{
    top:100%!important;
    left:auto!important;
    right:0!important;
    width:min(92vw,420px)!important;
    padding:12px!important;
    background:#202020!important;
    border-top:4px solid #a60d15!important;
    box-shadow:0 18px 46px rgba(0,0,0,.30)!important;
  }
  body.katedra-site .katedra-header-menu .et_mobile_menu li a{
    color:#fff!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
    font-size:15px!important;
    font-weight:600!important;
    padding:13px 14px!important;
  }
  body.katedra-site .katedra-hero-grid{grid-template-columns:1fr!important}
  body.katedra-site .katedra-hero-live{margin-bottom:52px!important}
}
@media(max-width:782px){body.admin-bar.katedra-site .katedra-header-sticky.is-katedra-fixed{top:46px!important}}
@media(max-width:767px){
  body.katedra-site .katedra-archive-header-image,
  body.katedra-site .katedra-archive-header-image .et_pb_image_wrap{height:235px!important}
  body.katedra-site .katedra-archive-header-image img{object-position:center 48%!important}
  body.katedra-site .katedra-archive-header-title{top:55%!important;width:90%!important}
  body.katedra-site .katedra-archive-header-title .et_pb_module_heading,
  body.katedra-site .katedra-archive-header-title h1,
  body.katedra-site .katedra-archive-header-title h2{font-size:27px!important;line-height:1.1!important}
  body.katedra-site .katedra-header-sticky{border-bottom-width:6px!important}
  body.katedra-site .katedra-archive-nav-row,
  body.katedra-site .katedra-header-sticky .et_pb_row{width:92%!important;min-height:58px!important}
  body.katedra-site .katedra-hero-content{padding-block:52px 20px!important}
  body.katedra-site .katedra-hero-content h1{font-size:54px!important}
  body.katedra-site .katedra-live-embed{border-radius:16px!important}
}


/* =========================================================
   0.2.9 — VERIFIED LIVE PLAYER / PREMIUM HERO / NO PRE-FOOTER
   ========================================================= */

/* Hero ma być zwarty: lewa treść + duży player, bez pustej bordowej połaci. */
body.katedra-site .katedra-hero{
  min-height:auto!important;
  align-items:center!important;
  padding:clamp(52px,6vw,82px) 0!important;
}
body.katedra-site .katedra-hero-grid{
  display:grid!important;
  grid-template-columns:minmax(0,.82fr) minmax(500px,1.18fr)!important;
  gap:clamp(38px,5vw,76px)!important;
  align-items:center!important;
}
body.katedra-site .katedra-hero-grid:before,
body.katedra-site .katedra-hero-grid:after{display:none!important}
body.katedra-site .katedra-hero-grid>.et_pb_column{
  width:auto!important;
  margin:0!important;
}
body.katedra-site .katedra-hero-content{
  padding:0!important;
  max-width:620px!important;
}
body.katedra-site .katedra-hero-content h1{
  font-size:clamp(58px,6.4vw,96px)!important;
  line-height:.88!important;
}
body.katedra-site .katedra-hero-lead{font-size:clamp(18px,1.7vw,25px)!important}

/* CTA naprawdę w jednym rzędzie na desktop/tablet. */
body.katedra-site .katedra-hero-content .et_pb_button_module_wrapper,
body.katedra-site .katedra-hero-content .et_pb_module.et_pb_button,
body.katedra-site .katedra-hero-content .katedra-button{
  display:inline-block!important;
  width:auto!important;
  max-width:none!important;
  float:none!important;
  clear:none!important;
  margin:22px 9px 0 0!important;
  vertical-align:top!important;
}
body.katedra-site .katedra-hero-content .et_pb_button{
  width:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
}

/* Player: ciemne szkło + złoty detal. Bez kremowego "paska". */
body.katedra-site .katedra-hero-live{
  min-width:0!important;
  padding:12px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.045))!important;
  border:1px solid rgba(217,199,163,.42)!important;
  border-radius:22px!important;
  box-shadow:0 28px 76px rgba(0,0,0,.30)!important;
  overflow:hidden!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
body.katedra-site .katedra-hero-live-title{
  margin:3px 6px 2px!important;
}
body.katedra-site .katedra-hero-live-title .et_pb_module_heading,
body.katedra-site .katedra-hero-live-title h2{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(30px,2.7vw,43px)!important;
  line-height:1!important;
  font-weight:600!important;
}
body.katedra-site .katedra-live-status{
  display:inline-block!important;
  width:auto!important;
  margin:8px 6px 13px!important;
  padding:6px 9px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:999px!important;
}
body.katedra-site .katedra-live-status p{
  margin:0!important;
  color:rgba(255,255,255,.82)!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.13em!important;
}
body.katedra-site .katedra-live-dot{
  display:inline-block!important;
  width:7px!important;
  height:7px!important;
  margin-right:6px!important;
  border-radius:50%!important;
  background:#ef3857!important;
  box-shadow:0 0 0 4px rgba(239,56,87,.12)!important;
  vertical-align:1px!important;
}
body.katedra-site .katedra-live-embed{
  width:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:14px!important;
  background:#080808!important;
  box-shadow:0 14px 34px rgba(0,0,0,.26)!important;
}
body.katedra-site .katedra-live-embed .et_pb_code_inner{
  display:block!important;
  width:100%!important;
  aspect-ratio:16/9!important;
  min-height:0!important;
  line-height:0!important;
}
body.katedra-site .katedra-live-embed iframe{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
  border:0!important;
  background:#000!important;
}

/* Stary pre-footer z Home został usunięty z layoutu. Gdyby został w cache — ukryj. */
body.katedra-site.katedra-home .katedra-prefooter{display:none!important}

@media(max-width:1100px){
  body.katedra-site .katedra-hero-grid{
    grid-template-columns:minmax(0,.85fr) minmax(430px,1.15fr)!important;
    gap:34px!important;
  }
}
@media(max-width:980px){
  body.katedra-site .katedra-hero{padding:48px 0 56px!important}
  body.katedra-site .katedra-hero-grid{grid-template-columns:1fr!important;gap:34px!important}
  body.katedra-site .katedra-hero-content{max-width:720px!important}
  body.katedra-site .katedra-hero-live{margin:0!important}
}
@media(max-width:767px){
  body.katedra-site .katedra-hero{padding:38px 0 44px!important}
  body.katedra-site .katedra-hero-grid{gap:28px!important}
  body.katedra-site .katedra-hero-content h1{font-size:clamp(52px,15vw,72px)!important}
  body.katedra-site .katedra-hero-content .et_pb_button_module_wrapper,
  body.katedra-site .katedra-hero-content .et_pb_module.et_pb_button,
  body.katedra-site .katedra-hero-content .katedra-button{
    margin-top:16px!important;
    margin-right:7px!important;
  }
  body.katedra-site .katedra-hero-content .et_pb_button{
    padding:.68em 1.08em!important;
    font-size:12px!important;
  }
  body.katedra-site .katedra-hero-live{padding:8px!important;border-radius:17px!important}
  body.katedra-site .katedra-live-embed{border-radius:11px!important}
  body.katedra-site .katedra-hero-live-title{margin-top:5px!important}
  body.katedra-site .katedra-hero-live-title .et_pb_module_heading,
  body.katedra-site .katedra-hero-live-title h2{font-size:31px!important}
}
@media(max-width:390px){
  body.katedra-site .katedra-hero-content .et_pb_button_module_wrapper,
  body.katedra-site .katedra-hero-content .et_pb_module.et_pb_button,
  body.katedra-site .katedra-hero-content .katedra-button{display:block!important;margin-right:0!important}
}


/* ============================================================
   0.3.0 — HOME / AKTUALNOŚCI — FINAL GRID FIX
   Divi 5 Blog ma jawny grid w module, a te reguły zabezpieczają
   markup zarówno nowego Blog Grid jak i starszego Salvattore.
   ============================================================ */
body.katedra-site.katedra-home .katedra-latest{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow:visible!important;
}
body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container,
body.katedra-site.katedra-home .katedra-latest .et_pb_salvattore_content,
body.katedra-site.katedra-home .katedra-latest .et_pb_blog_grid{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  align-items:stretch!important;
}
body.katedra-site.katedra-home .katedra-latest .column{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  margin:0!important;
  display:block!important;
}
body.katedra-site.katedra-home .katedra-latest .et_pb_post{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  float:none!important;
  margin:0!important;
  padding:0 0 24px!important;
  display:flex!important;
  flex-direction:column!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.28)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 16px 42px rgba(28,27,25,.08)!important;
}
body.katedra-site.katedra-home .katedra-latest .entry-featured-image-url,
body.katedra-site.katedra-home .katedra-latest .et_pb_image_container{
  width:100%!important;
  margin:0 0 20px!important;
  aspect-ratio:16/9!important;
  overflow:hidden!important;
  background:#eee8df!important;
}
body.katedra-site.katedra-home .katedra-latest .entry-featured-image-url img,
body.katedra-site.katedra-home .katedra-latest .et_pb_image_container img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.katedra-site.katedra-home .katedra-latest h2.entry-title,
body.katedra-site.katedra-home .katedra-latest .entry-title{
  margin:0!important;
  padding:0 22px 10px!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:clamp(25px,2vw,31px)!important;
  line-height:1.08!important;
  font-weight:600!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.katedra-site.katedra-home .katedra-latest h2.entry-title a,
body.katedra-site.katedra-home .katedra-latest .entry-title a{
  color:#4F1722!important;
  text-decoration:none!important;
}
body.katedra-site.katedra-home .katedra-latest .post-meta{
  margin:0!important;
  padding:0 22px 8px!important;
  color:#8A7F72!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body.katedra-site.katedra-home .katedra-latest .post-content{
  padding:0 22px!important;
  color:#45413B!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.katedra-site.katedra-home .katedra-latest .post-content p{
  margin-bottom:16px!important;
}
body.katedra-site.katedra-home .katedra-latest .more-link{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  margin-top:auto!important;
  padding-top:4px!important;
  color:#6B2431!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
body.katedra-site.katedra-home .katedra-latest .pagination,
body.katedra-site.katedra-home .katedra-latest .wp-pagenavi{
  display:none!important;
}
@media(max-width:980px){
  body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container,
  body.katedra-site.katedra-home .katedra-latest .et_pb_salvattore_content,
  body.katedra-site.katedra-home .katedra-latest .et_pb_blog_grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:767px){
  body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container,
  body.katedra-site.katedra-home .katedra-latest .et_pb_salvattore_content,
  body.katedra-site.katedra-home .katedra-latest .et_pb_blog_grid{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  body.katedra-site.katedra-home .katedra-latest h2.entry-title,
  body.katedra-site.katedra-home .katedra-latest .entry-title{font-size:27px!important}
}

/* ============================================================
   0.3.1 — VERIFIED FIX: HOME NEWS + HERO CTA + CATEGORY ARCHIVES
   Root cause Home: nested grid (ajax container + salvattore) caused
   the real post grid to live in only 1/3 of the available width.
   ============================================================ */

/* HERO CTA — two real Divi Button modules in one row. */
body.katedra-site.katedra-home .katedra-hero-content{
  display:grid!important;
  grid-template-columns:max-content max-content minmax(0,1fr)!important;
  column-gap:10px!important;
  row-gap:0!important;
  align-items:start!important;
}
body.katedra-site.katedra-home .katedra-hero-content > :not(.katedra-button){
  grid-column:1 / -1!important;
}
body.katedra-site.katedra-home .katedra-hero-content > .katedra-button{
  grid-column:auto!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  margin:20px 0 0!important;
  float:none!important;
  clear:none!important;
}
body.katedra-site.katedra-home .katedra-hero-content > .katedra-button + .katedra-button{
  margin-left:0!important;
}
body.katedra-site.katedra-home .katedra-hero-content > .katedra-button .et_pb_button{
  width:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
}

/* HOME NEWS — ONE grid only. Salvattore wrappers become transparent. */
body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  align-items:stretch!important;
}
body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container > .et_pb_salvattore_content,
body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container > .et_pb_salvattore_content > .column{
  display:contents!important;
}
/* Undo the previous nested-grid rule completely. */
body.katedra-site.katedra-home .katedra-latest .et_pb_salvattore_content,
body.katedra-site.katedra-home .katedra-latest .et_pb_salvattore_content > .column{
  grid-template-columns:none!important;
  gap:0!important;
}
body.katedra-site.katedra-home .katedra-latest article.et_pb_post{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}

/* CATEGORY ARCHIVES — replace Divi's old sidebar/list presentation. */
body.katedra-site.category #main-content{
  background:#F7F3EC!important;
}
body.katedra-site.category #main-content > .container{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:clamp(56px,6vw,86px) 0!important;
}
body.katedra-site.category #main-content > .container:before{
  display:none!important;
}
body.katedra-site.category #content-area{
  width:100%!important;
}
body.katedra-site.category #sidebar{
  display:none!important;
}
body.katedra-site.category #left-area{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  float:none!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  align-items:stretch!important;
}
body.katedra-site.category #left-area > article.et_pb_post{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0 0 24px!important;
  overflow:hidden!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.30)!important;
  border-radius:18px!important;
  box-shadow:0 16px 42px rgba(28,27,25,.08)!important;
  display:flex!important;
  flex-direction:column!important;
}
body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url{
  display:block!important;
  width:100%!important;
  margin:0 0 20px!important;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  background:#EEE8DF!important;
}
body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.katedra-site.category #left-area > article.et_pb_post h2.entry-title{
  margin:0!important;
  padding:0 22px 10px!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:clamp(25px,2vw,31px)!important;
  line-height:1.08!important;
  font-weight:600!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.katedra-site.category #left-area > article.et_pb_post h2.entry-title a{
  color:#4F1722!important;
  text-decoration:none!important;
}
body.katedra-site.category #left-area > article.et_pb_post .post-meta{
  margin:0!important;
  padding:0 22px 10px!important;
  color:#8A7F72!important;
  font-size:11px!important;
  line-height:1.45!important;
  font-weight:700!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body.katedra-site.category #left-area > article.et_pb_post .post-content,
body.katedra-site.category #left-area > article.et_pb_post > p:not(.post-meta){
  padding-left:22px!important;
  padding-right:22px!important;
  color:#45413B!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.katedra-site.category #left-area > .pagination,
body.katedra-site.category #left-area > .wp-pagenavi{
  grid-column:1 / -1!important;
  margin-top:12px!important;
}

@media(max-width:980px){
  body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container,
  body.katedra-site.category #left-area{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:767px){
  body.katedra-site.katedra-home .katedra-latest .et_pb_ajax_pagination_container,
  body.katedra-site.category #left-area{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  body.katedra-site.katedra-home .katedra-hero-content{
    grid-template-columns:max-content max-content minmax(0,1fr)!important;
    column-gap:8px!important;
  }
  body.katedra-site.katedra-home .katedra-hero-content > .katedra-button{
    margin-top:16px!important;
  }
}
@media(max-width:340px){
  body.katedra-site.katedra-home .katedra-hero-content{
    grid-template-columns:1fr!important;
  }
  body.katedra-site.katedra-home .katedra-hero-content > .katedra-button{
    grid-column:1!important;
    width:max-content!important;
  }
}

/* ============================================================
   0.3.2 — ACTUAL DOM FIX
   Home news no longer uses one multi-post Salvattore grid.
   Visual SAFE 0.5.4 outputs 3 independent one-post Blog modules.
   This CSS styles those modules and the real WP posts page (/aktualnosci/).
   ============================================================ */

/* HERO CTA — dedicated native Divi row with two columns. */
body.katedra-site.katedra-home .katedra-hero-cta-row{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
  margin:-54px auto 44px!important;
  padding:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:10px!important;
  position:relative!important;
  z-index:3!important;
}
body.katedra-site.katedra-home .katedra-hero-cta-row > .et_pb_column,
body.katedra-site.katedra-home .katedra-hero-cta-cell{
  width:auto!important;
  max-width:none!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
}
body.katedra-site.katedra-home .katedra-hero-cta-row .katedra-button,
body.katedra-site.katedra-home .katedra-hero-cta-row .et_pb_button_module_wrapper{
  display:block!important;
  width:auto!important;
  margin:0!important;
}
body.katedra-site.katedra-home .katedra-hero-cta-row .et_pb_button{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
}

/* HOME NEWS — 3 separate native Blog modules, one post each. */
body.katedra-site.katedra-home .katedra-news-cards-row{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  align-items:stretch!important;
}
body.katedra-site.katedra-home .katedra-news-cards-row > .et_pb_column,
body.katedra-site.katedra-home .katedra-news-card-col{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
}
body.katedra-site.katedra-home .katedra-news-card-module,
body.katedra-site.katedra-home .katedra-news-card-module > div,
body.katedra-site.katedra-home .katedra-news-card-module .et_pb_ajax_pagination_container{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
}
body.katedra-site.katedra-home .katedra-news-card-module .et_pb_post{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:0 0 24px!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.30)!important;
  border-radius:18px!important;
  box-shadow:0 16px 42px rgba(28,27,25,.08)!important;
}
body.katedra-site.katedra-home .katedra-news-card-module .entry-featured-image-url,
body.katedra-site.katedra-home .katedra-news-card-module .et_pb_image_container{
  display:block!important;
  width:100%!important;
  margin:0 0 20px!important;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  background:#EEE8DF!important;
}
body.katedra-site.katedra-home .katedra-news-card-module .entry-featured-image-url img,
body.katedra-site.katedra-home .katedra-news-card-module .et_pb_image_container img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.katedra-site.katedra-home .katedra-news-card-module h2.entry-title,
body.katedra-site.katedra-home .katedra-news-card-module .entry-title{
  margin:0!important;
  padding:0 22px 10px!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:28px!important;
  line-height:1.08!important;
  font-weight:600!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.katedra-site.katedra-home .katedra-news-card-module .entry-title a{color:#4F1722!important;text-decoration:none!important}
body.katedra-site.katedra-home .katedra-news-card-module .post-meta{
  margin:0!important;
  padding:0 22px 8px!important;
  color:#8A7F72!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body.katedra-site.katedra-home .katedra-news-card-module .post-content{
  padding:0 22px!important;
  color:#45413B!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.katedra-site.katedra-home .katedra-news-card-module .more-link{
  display:inline-flex!important;
  width:max-content!important;
  margin-top:14px!important;
  color:#6B2431!important;
  font-size:12px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
body.katedra-site.katedra-home .katedra-news-card-module .pagination,
body.katedra-site.katedra-home .katedra-news-card-module .wp-pagenavi{display:none!important}

/* /aktualnosci/ is WordPress Posts Page (is_home), NOT a category archive.
   Previous 0.3.1 targeted only body.category, so it could never affect that page. */
body.katedra-site.katedra-news-page #main-content,
body.katedra-site.category #main-content{background:#F7F3EC!important}
body.katedra-site.katedra-news-page #main-content > .container,
body.katedra-site.category #main-content > .container{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:clamp(54px,6vw,84px) 0!important;
}
body.katedra-site.katedra-news-page #main-content > .container:before,
body.katedra-site.category #main-content > .container:before{display:none!important}
body.katedra-site.katedra-news-page #content-area,
body.katedra-site.category #content-area{width:100%!important}
body.katedra-site.katedra-news-page #sidebar,
body.katedra-site.category #sidebar{display:none!important}
body.katedra-site.katedra-news-page #left-area,
body.katedra-site.category #left-area{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  float:none!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  align-items:stretch!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post,
body.katedra-site.category #left-area > article.et_pb_post{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0 0 24px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.30)!important;
  border-radius:18px!important;
  box-shadow:0 16px 42px rgba(28,27,25,.08)!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .entry-featured-image-url,
body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url{
  display:block!important;
  width:100%!important;
  margin:0 0 20px!important;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  background:#EEE8DF!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .entry-featured-image-url img,
body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post h2.entry-title,
body.katedra-site.category #left-area > article.et_pb_post h2.entry-title{
  margin:0!important;
  padding:0 22px 10px!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:28px!important;
  line-height:1.08!important;
  font-weight:600!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post h2.entry-title a,
body.katedra-site.category #left-area > article.et_pb_post h2.entry-title a{color:#4F1722!important;text-decoration:none!important}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-meta,
body.katedra-site.category #left-area > article.et_pb_post .post-meta{
  margin:0!important;
  padding:0 22px 10px!important;
  color:#8A7F72!important;
  font-size:11px!important;
  line-height:1.45!important;
  font-weight:700!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-content,
body.katedra-site.katedra-news-page #left-area > article.et_pb_post > p:not(.post-meta),
body.katedra-site.category #left-area > article.et_pb_post .post-content,
body.katedra-site.category #left-area > article.et_pb_post > p:not(.post-meta){
  padding-left:22px!important;
  padding-right:22px!important;
  color:#45413B!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.katedra-site.katedra-news-page #left-area > .pagination,
body.katedra-site.katedra-news-page #left-area > .wp-pagenavi,
body.katedra-site.category #left-area > .pagination,
body.katedra-site.category #left-area > .wp-pagenavi{
  grid-column:1/-1!important;
  margin-top:10px!important;
}

@media(max-width:980px){
  body.katedra-site.katedra-home .katedra-news-cards-row,
  body.katedra-site.katedra-news-page #left-area,
  body.katedra-site.category #left-area{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
  body.katedra-site.katedra-home .katedra-news-cards-row,
  body.katedra-site.katedra-news-page #left-area,
  body.katedra-site.category #left-area{grid-template-columns:1fr!important;gap:20px!important}
  body.katedra-site.katedra-home .katedra-hero-cta-row{margin:-26px auto 34px!important;gap:8px!important}
}
@media(max-width:390px){
  body.katedra-site.katedra-home .katedra-hero-cta-row{display:flex!important;flex-wrap:wrap!important}
}

/* ============================================================
   KATEDRA 0.3.3 — HOME NEWS + NEWS ARCHIVE 2/3 / 1/3
   Home uses 3 static native Divi cards generated from the latest
   WordPress posts. /aktualnosci/ and category archives use the
   parent Divi loop as a vertical list with the native WP sidebar.
   ============================================================ */

/* HOME — static native Divi news cards, no Blog/Salvattore. */
body.katedra-site.katedra-home .katedra-news-cards-row{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  align-items:stretch!important;
}
body.katedra-site.katedra-home .katedra-news-cards-row > .et_pb_column,
body.katedra-site.katedra-home .katedra-news-card-static{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0 0 24px!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.30)!important;
  border-radius:18px!important;
  box-shadow:0 16px 42px rgba(28,27,25,.08)!important;
}
body.katedra-site.katedra-home .katedra-news-card-static .et_pb_module{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.katedra-site.katedra-home .katedra-news-card-static .katedra-news-static-image{margin:0 0 20px!important;aspect-ratio:16/10!important;overflow:hidden!important;background:#EEE8DF!important}
body.katedra-site.katedra-home .katedra-news-card-static .katedra-news-static-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
body.katedra-site.katedra-home .katedra-news-static-date{padding:0 22px 8px!important;margin:0!important;color:#8A7F72!important;font:700 11px/1.4 'Plus Jakarta Sans',sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase!important}
body.katedra-site.katedra-home .katedra-news-static-title{padding:0 22px 10px!important;margin:0!important}
body.katedra-site.katedra-home .katedra-news-static-title h3,
body.katedra-site.katedra-home .katedra-news-static-title .et_pb_module_heading{margin:0!important;padding:0!important;font-family:'Cormorant Garamond',Georgia,serif!important;font-size:28px!important;line-height:1.08!important;font-weight:600!important;color:#4F1722!important}
body.katedra-site.katedra-home .katedra-news-static-excerpt{padding:0 22px 16px!important;margin:0!important;color:#45413B!important;font-size:14px!important;line-height:1.65!important;flex:1 1 auto!important}
body.katedra-site.katedra-home .katedra-news-static-button{padding:0 22px!important;margin-top:auto!important;margin-bottom:0!important}
body.katedra-site.katedra-home .katedra-news-static-button .et_pb_button{width:max-content!important}

/* ACTUALNOŚCI + real category archives — 2/3 list + 1/3 sidebar. */
body.katedra-site.katedra-news-page #main-content,
body.katedra-site.category #main-content{background:#F7F3EC!important}
body.katedra-site.katedra-news-page #main-content > .container,
body.katedra-site.category #main-content > .container{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:clamp(48px,5vw,76px) 0!important;
}
body.katedra-site.katedra-news-page #main-content > .container:before,
body.katedra-site.category #main-content > .container:before{display:none!important}
body.katedra-site.katedra-news-page #content-area,
body.katedra-site.category #content-area{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(280px,1fr)!important;
  gap:42px!important;
  align-items:start!important;
}
body.katedra-site.katedra-news-page #left-area,
body.katedra-site.category #left-area{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  float:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:22px!important;
}
body.katedra-site.katedra-news-page #left-area:before,
body.katedra-site.category #left-area:before{
  content:'Wpisy';
  display:block!important;
  margin:0 0 10px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid rgba(184,154,98,.45)!important;
  color:#1C1B19!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:clamp(34px,4vw,48px)!important;
  line-height:1!important;
  font-weight:600!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post,
body.katedra-site.category #left-area > article.et_pb_post{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:18px!important;
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  grid-template-rows:auto auto 1fr auto!important;
  column-gap:26px!important;
  row-gap:7px!important;
  align-items:start!important;
  overflow:hidden!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.28)!important;
  border-radius:18px!important;
  box-shadow:0 12px 34px rgba(28,27,25,.06)!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .entry-featured-image-url,
body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url{
  grid-column:1!important;
  grid-row:1 / 5!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:178px!important;
  margin:0!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#EEE8DF!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .entry-featured-image-url img,
body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:178px!important;
  object-fit:cover!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post h2.entry-title,
body.katedra-site.category #left-area > article.et_pb_post h2.entry-title{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  padding:0!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:clamp(25px,2.4vw,32px)!important;
  line-height:1.06!important;
  font-weight:600!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post h2.entry-title a,
body.katedra-site.category #left-area > article.et_pb_post h2.entry-title a{color:#4F1722!important;text-decoration:none!important}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-meta,
body.katedra-site.category #left-area > article.et_pb_post .post-meta{
  grid-column:2!important;
  grid-row:2!important;
  margin:0!important;
  padding:0!important;
  color:#8A7F72!important;
  font-size:11px!important;
  line-height:1.45!important;
  font-weight:700!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-content,
body.katedra-site.katedra-news-page #left-area > article.et_pb_post > p:not(.post-meta),
body.katedra-site.category #left-area > article.et_pb_post .post-content,
body.katedra-site.category #left-area > article.et_pb_post > p:not(.post-meta){
  grid-column:2!important;
  grid-row:3!important;
  margin:0!important;
  padding:0!important;
  color:#45413B!important;
  font-size:14px!important;
  line-height:1.6!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}
body.katedra-site.katedra-news-page #left-area .katedra-readmore,
body.katedra-site.category #left-area .katedra-readmore{
  grid-column:2!important;
  grid-row:4!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  margin:5px 0 0!important;
  padding:10px 16px!important;
  border:1px solid #6B2431!important;
  border-radius:999px!important;
  background:#6B2431!important;
  color:#FFFDF9!important;
  font:700 12px/1 'Plus Jakarta Sans',sans-serif!important;
  letter-spacing:.02em!important;
  text-decoration:none!important;
  transition:background .2s ease,border-color .2s ease,transform .2s ease!important;
}
body.katedra-site.katedra-news-page #left-area .katedra-readmore:hover,
body.katedra-site.category #left-area .katedra-readmore:hover{background:#4F1722!important;border-color:#4F1722!important;transform:translateY(-1px)!important}
body.katedra-site.katedra-news-page #left-area > .pagination,
body.katedra-site.katedra-news-page #left-area > .wp-pagenavi,
body.katedra-site.category #left-area > .pagination,
body.katedra-site.category #left-area > .wp-pagenavi{width:100%!important;margin:8px 0 0!important}

/* Sidebar — native WordPress block widgets, visually aligned with Divi. */
body.katedra-site.katedra-news-page #sidebar,
body.katedra-site.category #sidebar{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  border:0!important;
  position:sticky!important;
  top:92px!important;
}
body.admin-bar.katedra-site.katedra-news-page #sidebar,
body.admin-bar.katedra-site.category #sidebar{top:124px!important}
body.katedra-site.katedra-news-page #sidebar .et_pb_widget,
body.katedra-site.category #sidebar .et_pb_widget{
  width:100%!important;
  margin:0 0 18px!important;
  padding:24px!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.28)!important;
  border-radius:18px!important;
  box-shadow:0 12px 34px rgba(28,27,25,.06)!important;
}
body.katedra-site.katedra-news-page #sidebar h2,
body.katedra-site.katedra-news-page #sidebar h3,
body.katedra-site.category #sidebar h2,
body.katedra-site.category #sidebar h3{
  margin:0 0 14px!important;
  padding:0!important;
  color:#4F1722!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:26px!important;
  line-height:1.08!important;
  font-weight:600!important;
}
body.katedra-site.katedra-news-page #sidebar p,
body.katedra-site.category #sidebar p{margin:0 0 10px!important;color:#45413B!important;font-size:14px!important;line-height:1.65!important}
body.katedra-site.katedra-news-page #sidebar .wp-block-button__link,
body.katedra-site.category #sidebar .wp-block-button__link{
  padding:10px 16px!important;
  border-radius:999px!important;
  background:#6B2431!important;
  color:#FFFDF9!important;
  font:700 12px/1 'Plus Jakarta Sans',sans-serif!important;
  text-decoration:none!important;
}
body.katedra-site.katedra-news-page #sidebar .wp-block-separator,
body.katedra-site.category #sidebar .wp-block-separator{border-color:rgba(184,154,98,.35)!important;margin:16px 0!important}

@media(max-width:980px){
  body.katedra-site.katedra-home .katedra-news-cards-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.katedra-site.katedra-news-page #content-area,
  body.katedra-site.category #content-area{grid-template-columns:1fr!important;gap:30px!important}
  body.katedra-site.katedra-news-page #sidebar,
  body.katedra-site.category #sidebar{position:static!important;top:auto!important}
}
@media(max-width:767px){
  body.katedra-site.katedra-home .katedra-news-cards-row{grid-template-columns:1fr!important;gap:20px!important}
  body.katedra-site.katedra-news-page #left-area > article.et_pb_post,
  body.katedra-site.category #left-area > article.et_pb_post{grid-template-columns:1fr!important;grid-template-rows:auto!important;padding:16px!important}
  body.katedra-site.katedra-news-page #left-area > article.et_pb_post .entry-featured-image-url,
  body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url,
  body.katedra-site.katedra-news-page #left-area > article.et_pb_post h2.entry-title,
  body.katedra-site.category #left-area > article.et_pb_post h2.entry-title,
  body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-meta,
  body.katedra-site.category #left-area > article.et_pb_post .post-meta,
  body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-content,
  body.katedra-site.katedra-news-page #left-area > article.et_pb_post > p:not(.post-meta),
  body.katedra-site.category #left-area > article.et_pb_post .post-content,
  body.katedra-site.category #left-area > article.et_pb_post > p:not(.post-meta),
  body.katedra-site.katedra-news-page #left-area .katedra-readmore,
  body.katedra-site.category #left-area .katedra-readmore{grid-column:1!important;grid-row:auto!important}
  body.katedra-site.katedra-news-page #left-area > article.et_pb_post .entry-featured-image-url,
  body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url{height:auto!important;min-height:0!important;aspect-ratio:16/10!important;margin:0 0 8px!important}
}

body.katedra-site.katedra-news-page #left-area:before{content:'Aktualności'!important}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-meta a,
body.katedra-site.category #left-area > article.et_pb_post .post-meta a{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 6px 3px 0!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#F2E9E3!important;
  color:#6B2431!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  text-decoration:none!important;
}

/* =========================================================
   0.3.5 — SINGLE POST PREMIUM
   Body layout is built natively in Divi 5 by Visual SAFE 0.5.7.
   ========================================================= */
body.katedra-site.katedra-single-post .katedra-single-hero{
  padding:clamp(58px,7vw,94px) 0!important;
  background:
    radial-gradient(720px 300px at 82% 0%,rgba(184,154,98,.18),transparent 62%),
    linear-gradient(128deg,#4F1722 0%,#6B2431 100%)!important;
}
body.katedra-site.katedra-single-post .katedra-single-hero .et_pb_row,
body.katedra-site.katedra-single-post .katedra-single-featured-row,
body.katedra-site.katedra-single-post .katedra-single-content-row{
  width:min(92%,1180px)!important;
  max-width:1180px!important;
  margin-inline:auto!important;
}
body.katedra-site.katedra-single-post .katedra-single-title h1{
  max-width:980px!important;
  margin:0!important;
  color:#FFFDF9!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:clamp(44px,5.3vw,76px)!important;
  line-height:.98!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}
body.katedra-site.katedra-single-post .katedra-single-title .et_pb_title_meta_container,
body.katedra-site.katedra-single-post .katedra-single-title .et_pb_title_meta_container a,
body.katedra-site.katedra-single-post .katedra-single-title .published{
  margin-top:16px!important;
  color:rgba(255,253,249,.78)!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.04em!important;
  text-decoration:none!important;
}
body.katedra-site.katedra-single-post .katedra-single-featured-section{
  padding:34px 0 0!important;
  background:#F7F3EC!important;
}
body.katedra-site.katedra-single-post .katedra-single-featured{
  min-height:clamp(320px,52vw,610px)!important;
  overflow:hidden!important;
  border-radius:22px!important;
  box-shadow:0 22px 55px rgba(28,27,25,.13)!important;
  background-color:#EDE5DA!important;
}
body.katedra-site.katedra-single-post .katedra-single-featured .et_pb_title_featured_container,
body.katedra-site.katedra-single-post .katedra-single-featured .et_pb_title_featured_container img{
  width:100%!important;
  height:100%!important;
}
body.katedra-site.katedra-single-post .katedra-single-featured .et_pb_title_featured_container img{
  object-fit:cover!important;
}
body.katedra-site.katedra-single-post .katedra-single-main{
  padding:clamp(46px,6vw,84px) 0 clamp(72px,8vw,112px)!important;
  background:#F7F3EC!important;
}
body.katedra-site.katedra-single-post .katedra-single-content-row{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(280px,1fr)!important;
  gap:44px!important;
  align-items:start!important;
}
body.katedra-site.katedra-single-post .katedra-single-content-row:before,
body.katedra-site.katedra-single-post .katedra-single-content-row:after{display:none!important}
body.katedra-site.katedra-single-post .katedra-single-content-row>.et_pb_column{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}
body.katedra-site.katedra-single-post .katedra-single-content-card{
  padding:clamp(24px,3.5vw,46px)!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.28)!important;
  border-radius:20px!important;
  box-shadow:0 14px 40px rgba(28,27,25,.07)!important;
}
body.katedra-site.katedra-single-post .katedra-single-content-card,
body.katedra-site.katedra-single-post .katedra-single-content-card p,
body.katedra-site.katedra-single-post .katedra-single-content-card li{
  color:#45413B!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:clamp(16px,1.2vw,18px)!important;
  line-height:1.82!important;
}
body.katedra-site.katedra-single-post .katedra-single-content-card h2,
body.katedra-site.katedra-single-post .katedra-single-content-card h3,
body.katedra-site.katedra-single-post .katedra-single-content-card h4{
  margin-top:1.55em!important;
  color:#4F1722!important;
}
body.katedra-site.katedra-single-post .katedra-single-content-card img{
  max-width:100%!important;
  height:auto!important;
  border-radius:14px!important;
}
/* Imported recovery posts often begin with the same image that is already
   displayed as the featured image above. Hide only an image-first opening. */
body.katedra-site.katedra-single-post .katedra-single-content-card .et_pb_post_content>img:first-child,
body.katedra-site.katedra-single-post .katedra-single-content-card .et_pb_post_content>p:first-child:has(img:only-child),
body.katedra-site.katedra-single-post .katedra-single-content-card .et_pb_post_content>figure:first-child{
  display:none!important;
}
body.katedra-site.katedra-single-post .katedra-single-side{
  position:sticky!important;
  top:96px!important;
}
body.admin-bar.katedra-site.katedra-single-post .katedra-single-side{top:128px!important}
body.katedra-site.katedra-single-post .katedra-single-side-card{
  margin:0 0 18px!important;
  padding:24px!important;
  background:#FFFDF9!important;
  border:1px solid rgba(184,154,98,.28)!important;
  border-radius:18px!important;
  box-shadow:0 12px 34px rgba(28,27,25,.06)!important;
}
body.katedra-site.katedra-single-post .katedra-single-side-card h3{
  margin:0 0 12px!important;
  color:#4F1722!important;
  font-size:28px!important;
  line-height:1.05!important;
}
body.katedra-site.katedra-single-post .katedra-single-side-card p{
  margin:0 0 12px!important;
  color:#45413B!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.katedra-site.katedra-single-post .katedra-single-side .katedra-button{
  margin-top:6px!important;
}
@media(max-width:980px){
  body.katedra-site.katedra-single-post .katedra-single-content-row{grid-template-columns:1fr!important;gap:28px!important}
  body.katedra-site.katedra-single-post .katedra-single-side{position:static!important;top:auto!important}
}
@media(max-width:767px){
  body.katedra-site.katedra-single-post .katedra-single-hero{padding:42px 0 46px!important}
  body.katedra-site.katedra-single-post .katedra-single-title h1{font-size:clamp(36px,11vw,50px)!important}
  body.katedra-site.katedra-single-post .katedra-single-featured-section{padding-top:18px!important}
  body.katedra-site.katedra-single-post .katedra-single-featured{min-height:230px!important;border-radius:14px!important}
  body.katedra-site.katedra-single-post .katedra-single-content-card{padding:20px!important;border-radius:16px!important}
}


/* =========================================================
   0.3.6 — ARCHIVE LINK HIT-AREA SAFETY
   ========================================================= */
body.katedra-site.katedra-news-page #left-area .katedra-readmore,
body.katedra-site.category #left-area .katedra-readmore{
  position:relative!important;
  z-index:5!important;
  pointer-events:auto!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .entry-featured-image-url,
body.katedra-site.category #left-area > article.et_pb_post .entry-featured-image-url{
  position:relative!important;
  z-index:1!important;
}
body.katedra-site.katedra-news-page #left-area > article.et_pb_post h2.entry-title,
body.katedra-site.category #left-area > article.et_pb_post h2.entry-title,
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-meta,
body.katedra-site.category #left-area > article.et_pb_post .post-meta,
body.katedra-site.katedra-news-page #left-area > article.et_pb_post .post-content,
body.katedra-site.category #left-area > article.et_pb_post .post-content{
  position:relative!important;
  z-index:2!important;
}

/* ==========================================================
   0.3.7 — NATIVE DIVI 5 THEME BUILDER ARCHIVES / SINGLE
   Layout structure lives in Theme Builder. This file only
   provides the shared visual system; no classic WP-loop hacks.
   ========================================================== */
body.katedra-site .katedra-native-archive{
  background:#F7F3EC;
  padding:64px 0 76px;
}
body.katedra-site .katedra-native-archive .et_pb_row{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
}
body.katedra-site .katedra-archive-heading{
  margin-bottom:34px!important;
}
body.katedra-site .katedra-archive-heading h1,
body.katedra-site .katedra-archive-heading h2{
  color:#1C1B19!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(40px,5vw,64px)!important;
  line-height:1.02!important;
  font-weight:600!important;
}
body.katedra-site .katedra-archive-main-row{
  align-items:start!important;
}
body.katedra-site .katedra-archive-loop-card{
  background:#FFFDF9!important;
  border:1px solid #DED4C6!important;
  border-radius:18px!important;
  box-shadow:0 18px 45px rgba(28,27,25,.07)!important;
  overflow:hidden!important;
  margin:0 0 24px!important;
  padding:0!important;
}
body.katedra-site .katedra-archive-loop-card .katedra-loop-image{
  flex:0 0 34%!important;
  width:34%!important;
  margin:0!important;
}
body.katedra-site .katedra-archive-loop-card .katedra-loop-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:220px!important;
  object-fit:cover!important;
}
body.katedra-site .katedra-loop-copy{
  flex:1 1 66%!important;
  width:66%!important;
  padding:26px 28px 28px!important;
}
body.katedra-site .katedra-loop-date{
  margin-bottom:8px!important;
  color:#8B7461!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body.katedra-site .katedra-loop-title h2{
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:31px!important;
  line-height:1.08!important;
  font-weight:600!important;
  margin-bottom:12px!important;
}
body.katedra-site .katedra-loop-excerpt,
body.katedra-site .katedra-loop-excerpt p{
  color:#45413B!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:15px!important;
  line-height:1.7!important;
}
body.katedra-site .katedra-loop-readmore{
  margin-top:18px!important;
}
body.katedra-site .katedra-archive-sidebar{
  position:sticky!important;
  top:106px!important;
}
body.admin-bar.katedra-site .katedra-archive-sidebar{top:138px!important}
body.katedra-site .katedra-sidebar-card{
  background:#FFFDF9!important;
  border:1px solid #DED4C6!important;
  border-radius:16px!important;
  padding:24px!important;
  margin-bottom:18px!important;
  box-shadow:0 14px 36px rgba(28,27,25,.05)!important;
}
body.katedra-site .katedra-sidebar-card h3{
  color:#4F1722!important;
  font-size:25px!important;
  line-height:1.1!important;
  margin-bottom:10px!important;
}
body.katedra-site .katedra-sidebar-card p{
  color:#45413B!important;
  font-size:14px!important;
  line-height:1.65!important;
  margin-bottom:10px!important;
}
body.katedra-site .katedra-native-single-hero{
  background:linear-gradient(135deg,#4F1722 0%,#6B2431 75%,#7A3040 100%)!important;
  padding:62px 0 58px!important;
}
body.katedra-site .katedra-native-single-hero .et_pb_row,
body.katedra-site .katedra-native-single-main .et_pb_row{
  width:min(92%,1180px)!important;
  max-width:1180px!important;
}
body.katedra-site .katedra-native-single-title h1{
  color:#FFFDF9!important;
  font-size:clamp(42px,5.3vw,68px)!important;
  line-height:1.03!important;
  font-weight:600!important;
}
body.katedra-site .katedra-native-single-title .et_pb_title_meta_container,
body.katedra-site .katedra-native-single-title .et_pb_title_meta_container a{
  color:rgba(255,253,249,.78)!important;
}
body.katedra-site .katedra-native-single-main{
  background:#F7F3EC!important;
  padding:62px 0 76px!important;
}
body.katedra-site .katedra-native-single-content{
  background:#FFFDF9!important;
  border:1px solid #DED4C6!important;
  border-radius:18px!important;
  padding:34px!important;
  box-shadow:0 18px 45px rgba(28,27,25,.06)!important;
}
body.katedra-site .katedra-native-single-content,
body.katedra-site .katedra-native-single-content p,
body.katedra-site .katedra-native-single-content li{
  font-family:"Plus Jakarta Sans",sans-serif!important;
  color:#45413B!important;
  font-size:17px!important;
  line-height:1.82!important;
}
body.katedra-site .katedra-native-single-content img{
  width:100%!important;
  height:auto!important;
  border-radius:14px!important;
  margin:12px 0 28px!important;
}
body.katedra-site .katedra-native-post-nav{margin-top:30px!important}

@media(max-width:980px){
  body.katedra-site .katedra-archive-sidebar{position:static!important;top:auto!important;margin-top:30px!important}
  body.katedra-site .katedra-archive-loop-card{flex-direction:row!important}
  body.katedra-site .katedra-archive-loop-card .katedra-loop-image{flex-basis:38%!important;width:38%!important}
  body.katedra-site .katedra-loop-copy{width:62%!important}
}
@media(max-width:767px){
  body.katedra-site .katedra-native-archive{padding:42px 0 58px!important}
  body.katedra-site .katedra-archive-loop-card{flex-direction:column!important}
  body.katedra-site .katedra-archive-loop-card .katedra-loop-image,
  body.katedra-site .katedra-loop-copy{width:100%!important;flex-basis:auto!important}
  body.katedra-site .katedra-archive-loop-card .katedra-loop-image img{height:210px!important;min-height:0!important}
  body.katedra-site .katedra-loop-copy{padding:22px!important}
  body.katedra-site .katedra-loop-title h2{font-size:27px!important}
  body.katedra-site .katedra-native-single-hero{padding:42px 0 44px!important}
  body.katedra-site .katedra-native-single-main{padding:38px 0 56px!important}
  body.katedra-site .katedra-native-single-content{padding:22px!important}
}

/* ==========================================================
   0.3.8 — NATIVE DIVI 5 BLOG + SINGLE REFINEMENT
   Archiwa: prawdziwy moduł Blog Divi 5.
   Single: lżejszy hero, 3/4 treści + 1/4 sidebar.
   ========================================================== */

/* ---------- ARCHIVE / BLOG MODULE ---------- */
body.katedra-site .katedra-native-archive-head{
  background:#F7F3EC!important;
  padding:48px 0 12px!important;
}
body.katedra-site .katedra-native-archive-body{
  background:#F7F3EC!important;
  padding:12px 0 76px!important;
}
body.katedra-site .katedra-native-archive-head .et_pb_row,
body.katedra-site .katedra-native-archive-body .et_pb_row{
  width:min(92%,1240px)!important;
  max-width:1240px!important;
}
body.katedra-site .katedra-archive-eyebrow,
body.katedra-site .katedra-archive-eyebrow p{
  margin:0 0 8px!important;
  color:#8C2339!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.katedra-site .katedra-archive-heading{
  margin:0!important;
}
body.katedra-site .katedra-archive-heading h1,
body.katedra-site .katedra-archive-heading h2{
  margin:0!important;
  color:#3D121B!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(42px,5vw,64px)!important;
  line-height:.98!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}

body.katedra-site .katedra-native-blog{
  width:100%!important;
}
body.katedra-site .katedra-native-blog .et_pb_ajax_pagination_container,
body.katedra-site .katedra-native-blog .et_pb_salvattore_content{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:22px!important;
}
body.katedra-site .katedra-native-blog article.et_pb_post,
body.katedra-site .katedra-native-blog .et_pb_post{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(220px,34%) minmax(0,1fr)!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;
  column-gap:0!important;
  row-gap:0!important;
  min-height:245px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#FFFDF9!important;
  border:1px solid #DED4C6!important;
  border-radius:18px!important;
  box-shadow:0 16px 40px rgba(28,27,25,.065)!important;
}
body.katedra-site .katedra-native-blog article.et_pb_post:hover,
body.katedra-site .katedra-native-blog .et_pb_post:hover{
  border-color:#CEBCA9!important;
  box-shadow:0 20px 48px rgba(28,27,25,.09)!important;
}
body.katedra-site .katedra-native-blog .entry-featured-image-url,
body.katedra-site .katedra-native-blog .et_pb_image_container{
  grid-column:1!important;
  grid-row:1 / span 3!important;
  width:100%!important;
  height:100%!important;
  min-height:245px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:0!important;
}
body.katedra-site .katedra-native-blog .entry-featured-image-url img,
body.katedra-site .katedra-native-blog .et_pb_image_container img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:245px!important;
  object-fit:cover!important;
  transition:transform .35s ease!important;
}
@media(hover:hover){
  body.katedra-site .katedra-native-blog article.et_pb_post:hover .entry-featured-image-url img,
  body.katedra-site .katedra-native-blog .et_pb_post:hover .et_pb_image_container img{
    transform:scale(1.025)!important;
  }
}
body.katedra-site .katedra-native-blog h2.entry-title,
body.katedra-site .katedra-native-blog .entry-title{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  padding:25px 28px 7px!important;
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(27px,2.6vw,35px)!important;
  line-height:1.06!important;
  font-weight:600!important;
  letter-spacing:-.018em!important;
}
body.katedra-site .katedra-native-blog h2.entry-title a,
body.katedra-site .katedra-native-blog .entry-title a{
  color:#4F1722!important;
  text-decoration:none!important;
}
body.katedra-site .katedra-native-blog .post-meta{
  grid-column:2!important;
  grid-row:2!important;
  margin:0!important;
  padding:0 28px 10px!important;
  color:#8B7461!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:12px!important;
  line-height:1.55!important;
  font-weight:600!important;
}
body.katedra-site .katedra-native-blog .post-meta a{
  color:#7A3040!important;
  text-decoration:none!important;
}
body.katedra-site .katedra-native-blog .post-content{
  grid-column:2!important;
  grid-row:3!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  margin:0!important;
  padding:0 28px 27px!important;
  color:#45413B!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:15px!important;
  line-height:1.72!important;
}
body.katedra-site .katedra-native-blog .post-content p{
  margin:0!important;
  color:#45413B!important;
  font-size:15px!important;
  line-height:1.72!important;
}
body.katedra-site .katedra-native-blog .more-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin:17px 0 0!important;
  padding:10px 17px!important;
  background:#6B1F31!important;
  border:1px solid #6B1F31!important;
  border-radius:999px!important;
  box-shadow:0 10px 24px rgba(107,31,49,.14)!important;
  color:#FFF!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
  text-decoration:none!important;
  text-transform:none!important;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease!important;
}
body.katedra-site .katedra-native-blog .more-link:hover{
  transform:translateY(-1px)!important;
  background:#4F1722!important;
  border-color:#4F1722!important;
  box-shadow:0 13px 26px rgba(79,23,34,.2)!important;
  color:#FFF!important;
}
body.katedra-site .katedra-native-blog .pagination,
body.katedra-site .katedra-native-blog .wp-pagenavi{
  grid-column:1 / -1!important;
  width:100%!important;
  margin:10px 0 0!important;
  padding:18px 0 0!important;
  border-top:1px solid #DED4C6!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.katedra-site .katedra-native-blog .pagination a,
body.katedra-site .katedra-native-blog .wp-pagenavi a,
body.katedra-site .katedra-native-blog .wp-pagenavi span{
  color:#6B1F31!important;
}

/* Bez obrazka karta nadal ma poprawny układ. */
@supports selector(article:has(*)){
  body.katedra-site .katedra-native-blog article.et_pb_post:not(:has(.entry-featured-image-url)):not(:has(.et_pb_image_container)){
    grid-template-columns:1fr!important;
  }
  body.katedra-site .katedra-native-blog article.et_pb_post:not(:has(.entry-featured-image-url)):not(:has(.et_pb_image_container)) h2.entry-title,
  body.katedra-site .katedra-native-blog article.et_pb_post:not(:has(.entry-featured-image-url)):not(:has(.et_pb_image_container)) .entry-title,
  body.katedra-site .katedra-native-blog article.et_pb_post:not(:has(.entry-featured-image-url)):not(:has(.et_pb_image_container)) .post-meta,
  body.katedra-site .katedra-native-blog article.et_pb_post:not(:has(.entry-featured-image-url)):not(:has(.et_pb_image_container)) .post-content{
    grid-column:1!important;
  }
}

/* ---------- SINGLE POST ---------- */
body.katedra-site .katedra-native-single-hero{
  background:#F7F3EC!important;
  padding:46px 0 40px!important;
  border-bottom:1px solid #DED4C6!important;
}
body.katedra-site .katedra-native-single-hero .et_pb_row,
body.katedra-site .katedra-native-single-main .et_pb_row{
  width:min(92%,1200px)!important;
  max-width:1200px!important;
}
body.katedra-site .katedra-single-kicker,
body.katedra-site .katedra-single-kicker p{
  margin:0 0 10px!important;
  color:#8C2339!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.katedra-site .katedra-native-single-title{
  max-width:1040px!important;
  margin:0!important;
}
body.katedra-site .katedra-native-single-title h1{
  max-width:1040px!important;
  margin:0 0 12px!important;
  color:#3D121B!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(38px,4.5vw,58px)!important;
  line-height:1.02!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}
body.katedra-site .katedra-native-single-title .et_pb_title_meta_container,
body.katedra-site .katedra-native-single-title .et_pb_title_meta_container a{
  color:#806B5E!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:12px!important;
  line-height:1.55!important;
  font-weight:600!important;
}
body.katedra-site .katedra-single-back{
  display:inline-block!important;
  margin:20px 0 0!important;
}
body.katedra-site .katedra-single-back .et_pb_button{
  padding:.64em 1.18em!important;
  background:transparent!important;
  border:1px solid #B99B85!important;
  border-radius:999px!important;
  color:#6B1F31!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
  box-shadow:none!important;
}
body.katedra-site .katedra-single-back .et_pb_button:hover{
  background:#FFFDF9!important;
  border-color:#6B1F31!important;
  color:#4F1722!important;
  transform:translateY(-1px)!important;
}
body.katedra-site .katedra-native-single-main{
  background:#F7F3EC!important;
  padding:46px 0 76px!important;
}
body.katedra-site .katedra-single-main-row{
  align-items:start!important;
}
body.katedra-site .katedra-native-single-maincol{
  min-width:0!important;
}
body.katedra-site .katedra-native-single-content{
  margin:0!important;
  padding:42px 46px!important;
  background:#FFFDF9!important;
  border:1px solid #DED4C6!important;
  border-radius:16px!important;
  box-shadow:0 16px 40px rgba(28,27,25,.055)!important;
}
body.katedra-site .katedra-native-single-content,
body.katedra-site .katedra-native-single-content p,
body.katedra-site .katedra-native-single-content li{
  color:#3F3B36!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:17px!important;
  line-height:1.82!important;
}
body.katedra-site .katedra-native-single-content p{
  margin:0 0 1.15em!important;
}
body.katedra-site .katedra-native-single-content h2,
body.katedra-site .katedra-native-single-content h3,
body.katedra-site .katedra-native-single-content h4{
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-weight:600!important;
  letter-spacing:-.018em!important;
}
body.katedra-site .katedra-native-single-content h2{
  margin:1.15em 0 .45em!important;
  font-size:36px!important;
  line-height:1.08!important;
}
body.katedra-site .katedra-native-single-content h3{
  margin:1.1em 0 .4em!important;
  font-size:29px!important;
  line-height:1.12!important;
}
body.katedra-site .katedra-native-single-content a{
  color:#7A1F32!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
body.katedra-site .katedra-native-single-content img{
  display:block!important;
  max-width:100%!important;
  width:auto!important;
  height:auto!important;
  margin:14px auto 28px!important;
  border-radius:12px!important;
}
body.katedra-site .katedra-native-single-content figure{
  max-width:100%!important;
  margin:18px 0 30px!important;
}
body.katedra-site .katedra-native-post-nav{
  margin:22px 0 0!important;
  padding:18px 20px!important;
  background:#FFFDF9!important;
  border:1px solid #DED4C6!important;
  border-radius:14px!important;
  box-shadow:0 10px 28px rgba(28,27,25,.045)!important;
}
body.katedra-site .katedra-native-post-nav a{
  color:#6B1F31!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.katedra-site .katedra-single-sidebar .katedra-sidebar-card{
  padding:20px!important;
  border-radius:14px!important;
  box-shadow:0 10px 28px rgba(28,27,25,.045)!important;
}
body.katedra-site .katedra-single-sidebar .katedra-sidebar-card h3{
  font-size:22px!important;
}
body.katedra-site .katedra-single-sidebar .katedra-sidebar-card p{
  font-size:13px!important;
  line-height:1.6!important;
}
body.katedra-site .katedra-single-sidebar .katedra-button .et_pb_button{
  font-size:12px!important;
  padding:.62em 1.1em!important;
}

@media(max-width:980px){
  body.katedra-site .katedra-native-blog article.et_pb_post,
  body.katedra-site .katedra-native-blog .et_pb_post{
    grid-template-columns:minmax(190px,36%) minmax(0,1fr)!important;
  }
  body.katedra-site .katedra-native-blog h2.entry-title,
  body.katedra-site .katedra-native-blog .entry-title{
    padding:22px 22px 7px!important;
  }
  body.katedra-site .katedra-native-blog .post-meta{
    padding:0 22px 9px!important;
  }
  body.katedra-site .katedra-native-blog .post-content{
    padding:0 22px 23px!important;
  }
  body.katedra-site .katedra-single-sidebar{
    margin-top:26px!important;
  }
}

@media(max-width:767px){
  body.katedra-site .katedra-native-archive-head{padding:36px 0 8px!important}
  body.katedra-site .katedra-native-archive-body{padding:8px 0 54px!important}
  body.katedra-site .katedra-native-blog article.et_pb_post,
  body.katedra-site .katedra-native-blog .et_pb_post{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto auto!important;
    min-height:0!important;
  }
  body.katedra-site .katedra-native-blog .entry-featured-image-url,
  body.katedra-site .katedra-native-blog .et_pb_image_container{
    grid-column:1!important;
    grid-row:1!important;
    height:210px!important;
    min-height:210px!important;
  }
  body.katedra-site .katedra-native-blog .entry-featured-image-url img,
  body.katedra-site .katedra-native-blog .et_pb_image_container img{
    height:210px!important;
    min-height:210px!important;
  }
  body.katedra-site .katedra-native-blog h2.entry-title,
  body.katedra-site .katedra-native-blog .entry-title{
    grid-column:1!important;
    grid-row:2!important;
    padding:21px 21px 7px!important;
    font-size:28px!important;
  }
  body.katedra-site .katedra-native-blog .post-meta{
    grid-column:1!important;
    grid-row:3!important;
    padding:0 21px 9px!important;
  }
  body.katedra-site .katedra-native-blog .post-content{
    grid-column:1!important;
    grid-row:4!important;
    padding:0 21px 22px!important;
  }
  body.katedra-site .katedra-native-single-hero{
    padding:34px 0 32px!important;
  }
  body.katedra-site .katedra-native-single-title h1{
    font-size:clamp(35px,10vw,46px)!important;
    line-height:1.02!important;
  }
  body.katedra-site .katedra-native-single-main{
    padding:30px 0 54px!important;
  }
  body.katedra-site .katedra-native-single-content{
    padding:24px 22px!important;
    border-radius:14px!important;
  }
  body.katedra-site .katedra-native-single-content,
  body.katedra-site .katedra-native-single-content p,
  body.katedra-site .katedra-native-single-content li{
    font-size:16px!important;
    line-height:1.76!important;
  }
  body.katedra-site .katedra-native-single-content h2{font-size:31px!important}
  body.katedra-site .katedra-native-single-content h3{font-size:26px!important}
}

/* ==========================================================
   0.3.9 — 2/3 + 1/3 FOR ARCHIVE AND SINGLE, PREMIUM UTILITY
   Struktura nadal jest natywnym Divi 5 Theme Builderem.
   CSS wymusza tylko proporcje i wygląd modułów.
   ========================================================== */

/* --- pewne proporcje 2/3 + 1/3 niezależnie od wrapperów Divi --- */
body.katedra-site .katedra-archive-main-row,
body.katedra-site .katedra-single-main-row{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(300px,1fr)!important;
  gap:38px!important;
  align-items:start!important;
}
body.katedra-site .katedra-archive-main-row > .et_pb_column,
body.katedra-site .katedra-single-main-row > .et_pb_column{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  min-width:0!important;
  float:none!important;
}
body.katedra-site .katedra-archive-main-row > .et_pb_column:first-child,
body.katedra-site .katedra-single-main-row > .et_pb_column:first-child{
  grid-column:1!important;
}
body.katedra-site .katedra-archive-main-row > .et_pb_column:last-child,
body.katedra-site .katedra-single-main-row > .et_pb_column:last-child{
  grid-column:2!important;
}
body.katedra-site .katedra-archive-list,
body.katedra-site .katedra-native-single-maincol{
  width:100%!important;
  min-width:0!important;
}
body.katedra-site .katedra-archive-sidebar,
body.katedra-site .katedra-single-sidebar{
  width:100%!important;
  min-width:0!important;
}

/* --- sidebar: „Przydatne” jako zwarta karta narzędziowa --- */
body.katedra-site .katedra-sidebar-useful{
  position:relative!important;
  overflow:hidden!important;
  padding:24px!important;
  background:
    radial-gradient(360px 180px at 100% 0%,rgba(184,154,98,.13),transparent 64%),
    #FFFDF9!important;
  border-color:#D8C9B7!important;
}
body.katedra-site .katedra-sidebar-useful:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg,#B89A62,#6B2431);
}
body.katedra-site .katedra-sidebar-mini,
body.katedra-site .katedra-sidebar-mini p{
  margin:0 0 6px!important;
  color:#9B7D51!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
body.katedra-site .katedra-sidebar-useful .katedra-sidebar-lead,
body.katedra-site .katedra-sidebar-useful .katedra-sidebar-lead p{
  margin:0 0 18px!important;
  color:#6F675F!important;
  font-size:13px!important;
  line-height:1.6!important;
}
body.katedra-site .katedra-sidebar-useful .katedra-button--utility{
  display:block!important;
  width:100%!important;
  margin:0 0 10px!important;
}
body.katedra-site .katedra-sidebar-useful .katedra-button--utility:last-child{
  margin-bottom:0!important;
}
body.katedra-site .katedra-sidebar-useful .katedra-button--utility .et_pb_button{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  padding:12px 14px!important;
  background:#FAF7F2!important;
  border:1px solid #DED4C6!important;
  border-radius:12px!important;
  box-shadow:none!important;
  color:#4F1722!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
  text-align:left!important;
}
body.katedra-site .katedra-sidebar-useful .katedra-button--utility .et_pb_button:hover{
  background:#FFF!important;
  border-color:#B89A62!important;
  transform:translateX(2px)!important;
  color:#6B2431!important;
}

/* --- premium panel starszy / nowszy --- */
body.katedra-site .katedra-post-nav-panel{
  margin-top:26px!important;
  padding:26px!important;
  background:linear-gradient(145deg,#FFFDF9 0%,#FAF6EF 100%)!important;
  border:1px solid #DCCFBE!important;
  border-radius:16px!important;
  box-shadow:0 14px 38px rgba(28,27,25,.055)!important;
}
body.katedra-site .katedra-nav-kicker,
body.katedra-site .katedra-nav-kicker p{
  margin:0 0 5px!important;
  color:#9A7849!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
body.katedra-site .katedra-nav-heading{
  margin:0 0 17px!important;
}
body.katedra-site .katedra-nav-heading h3{
  margin:0!important;
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:27px!important;
  line-height:1.08!important;
  font-weight:600!important;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav{
  display:flex!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-previous,
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-next{
  display:flex!important;
  flex:1 1 0!important;
  width:auto!important;
  margin:0!important;
  min-width:0!important;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-previous:empty,
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-next:empty{
  display:none!important;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav a{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  width:100%!important;
  min-height:96px!important;
  padding:34px 16px 15px!important;
  background:#FFF!important;
  border:1px solid #DED4C6!important;
  border-radius:13px!important;
  color:#4F1722!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:0 8px 20px rgba(28,27,25,.035)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav a:hover{
  transform:translateY(-2px)!important;
  border-color:#B89A62!important;
  box-shadow:0 12px 26px rgba(79,23,34,.09)!important;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .meta-nav{
  display:none!important;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-previous a:before,
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-next a:before{
  position:absolute;
  top:13px;
  left:16px;
  color:#9B7D51;
  font-family:"Plus Jakarta Sans",sans-serif;
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-previous a:before{content:"← Starszy wpis"}
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-next a:before{content:"Nowszy wpis →"}

/* --- tablet/mobile: sidebar pod treścią --- */
@media(max-width:980px){
  body.katedra-site .katedra-archive-main-row,
  body.katedra-site .katedra-single-main-row{
    grid-template-columns:1fr!important;
    gap:28px!important;
  }
  body.katedra-site .katedra-archive-main-row > .et_pb_column:first-child,
  body.katedra-site .katedra-archive-main-row > .et_pb_column:last-child,
  body.katedra-site .katedra-single-main-row > .et_pb_column:first-child,
  body.katedra-site .katedra-single-main-row > .et_pb_column:last-child{
    grid-column:1!important;
  }
  body.katedra-site .katedra-archive-sidebar,
  body.katedra-site .katedra-single-sidebar{
    position:static!important;
    top:auto!important;
    margin-top:0!important;
  }
}
@media(max-width:620px){
  body.katedra-site .katedra-post-nav-panel{padding:20px!important}
  body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav{flex-direction:column!important}
  body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-previous,
  body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav .nav-next{width:100%!important}
}


/* ==========================================================
   0.4.0 — TB HARDENING: rzeczywiste 2/3 + 1/3 i premium UI
   Layout nadal jest z natywnych Row/Column/Blog/Post Content/Post Nav Divi 5.
   Te reguły wyłącznie stabilizują frontend niezależnie od wrapperów Divi.
   ========================================================== */

/* W Theme Builderze sekcje body mają po jednym głównym Row. Celujemy również
   przez sekcję, a nie tylko klasę Row — dzięki temu proporcje nie zależą od
   miejsca, w które Divi przypnie klasę modułu Row. */
body.katedra-site .katedra-native-archive-body > .et_pb_row,
body.katedra-site .katedra-native-archive-body .katedra-archive-main-row,
body.katedra-site .katedra-native-single-main > .et_pb_row,
body.katedra-site .katedra-native-single-main .katedra-single-main-row{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(285px,1fr)!important;
  column-gap:40px!important;
  row-gap:28px!important;
  align-items:start!important;
}
body.katedra-site .katedra-native-archive-body > .et_pb_row > .et_pb_column,
body.katedra-site .katedra-native-archive-body .katedra-archive-main-row > .et_pb_column,
body.katedra-site .katedra-native-single-main > .et_pb_row > .et_pb_column,
body.katedra-site .katedra-native-single-main .katedra-single-main-row > .et_pb_column{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}
body.katedra-site .katedra-native-archive-body > .et_pb_row > .et_pb_column:first-child,
body.katedra-site .katedra-native-archive-body .katedra-archive-main-row > .et_pb_column:first-child,
body.katedra-site .katedra-native-single-main > .et_pb_row > .et_pb_column:first-child,
body.katedra-site .katedra-native-single-main .katedra-single-main-row > .et_pb_column:first-child{
  grid-column:1!important;
}
body.katedra-site .katedra-native-archive-body > .et_pb_row > .et_pb_column:last-child,
body.katedra-site .katedra-native-archive-body .katedra-archive-main-row > .et_pb_column:last-child,
body.katedra-site .katedra-native-single-main > .et_pb_row > .et_pb_column:last-child,
body.katedra-site .katedra-native-single-main .katedra-single-main-row > .et_pb_column:last-child{
  grid-column:2!important;
}

/* Sidebar ma wyglądać jak panel informacji, a nie drugi równorzędny content. */
body.katedra-site .katedra-archive-sidebar,
body.katedra-site .katedra-single-sidebar{
  position:sticky!important;
  top:96px!important;
}
body.admin-bar.katedra-site .katedra-archive-sidebar,
body.admin-bar.katedra-site .katedra-single-sidebar{top:128px!important}

/* Przydatne — premium quick links. */
body.katedra-site .katedra-sidebar-useful{
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #D8C9B7!important;
  border-radius:18px!important;
  background:#FFFDF9!important;
  box-shadow:0 14px 38px rgba(28,27,25,.06)!important;
}
body.katedra-site .katedra-sidebar-useful > .et_pb_module,
body.katedra-site .katedra-sidebar-useful > .et_pb_button_module_wrapper{
  margin-left:24px!important;
  margin-right:24px!important;
}
body.katedra-site .katedra-sidebar-useful:before{
  content:"";display:block!important;position:static!important;width:100%!important;height:4px!important;
  background:linear-gradient(90deg,#B89A62,#6B2431)!important;
}
body.katedra-site .katedra-sidebar-useful .katedra-sidebar-mini{margin-top:22px!important}
body.katedra-site .katedra-sidebar-useful .katedra-button--utility{display:block!important;width:auto!important;margin:0 24px 10px!important}
body.katedra-site .katedra-sidebar-useful .katedra-button--utility:last-child{margin-bottom:24px!important}
body.katedra-site .katedra-sidebar-useful .katedra-button--utility .et_pb_button{
  display:flex!important;width:100%!important;justify-content:space-between!important;text-align:left!important;
  min-height:48px!important;padding:12px 15px!important;border-radius:12px!important;
  background:#F8F2EA!important;border:1px solid #DED4C6!important;color:#4F1722!important;box-shadow:none!important;
}

/* Post Nav — obsługujemy zarówno wrapper Divi 4/5 jak i klasy nav-previous/nav-next. */
body.katedra-site .katedra-post-nav-panel{margin-top:30px!important;padding:24px!important}
body.katedra-site .katedra-post-nav-panel .et_pb_posts_nav,
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav,
body.katedra-site .katedra-post-nav-panel .et_pb_module_inner{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
}
body.katedra-site .katedra-post-nav-panel .et_pb_posts_nav > span,
body.katedra-site .katedra-post-nav-panel .nav-previous,
body.katedra-site .katedra-post-nav-panel .nav-next{
  width:auto!important;margin:0!important;float:none!important;min-width:0!important;
}
body.katedra-site .katedra-post-nav-panel a{
  display:flex!important;align-items:center!important;width:100%!important;min-height:82px!important;
  padding:18px!important;background:#FFF!important;border:1px solid #DED4C6!important;border-radius:13px!important;
  color:#4F1722!important;font-family:"Plus Jakarta Sans",sans-serif!important;font-size:13px!important;line-height:1.45!important;
  font-weight:700!important;text-decoration:none!important;box-shadow:0 8px 20px rgba(28,27,25,.035)!important;
}
body.katedra-site .katedra-post-nav-panel a:hover{border-color:#B89A62!important;transform:translateY(-2px)!important}

@media(max-width:980px){
  body.katedra-site .katedra-native-archive-body > .et_pb_row,
  body.katedra-site .katedra-native-archive-body .katedra-archive-main-row,
  body.katedra-site .katedra-native-single-main > .et_pb_row,
  body.katedra-site .katedra-native-single-main .katedra-single-main-row{grid-template-columns:1fr!important}
  body.katedra-site .katedra-native-archive-body > .et_pb_row > .et_pb_column,
  body.katedra-site .katedra-native-archive-body .katedra-archive-main-row > .et_pb_column,
  body.katedra-site .katedra-native-single-main > .et_pb_row > .et_pb_column,
  body.katedra-site .katedra-native-single-main .katedra-single-main-row > .et_pb_column{grid-column:1!important}
  body.katedra-site .katedra-archive-sidebar,body.katedra-site .katedra-single-sidebar{position:static!important;top:auto!important}
}
@media(max-width:620px){
  body.katedra-site .katedra-post-nav-panel .et_pb_posts_nav,
  body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav,
  body.katedra-site .katedra-post-nav-panel .et_pb_module_inner{grid-template-columns:1fr!important}
}

/* ==========================================================
   0.4.1 — PREMIUM POST NAV + ARCHIVE PAGINATION
   Natywne moduły Divi pozostają bez zmian. To wyłącznie warstwa wizualna.
   ========================================================== */

/* Single: starszy / nowszy wpis jako pełnoprawne karty, nie surowy link. */
body.katedra-site .katedra-post-nav-panel .et_pb_posts_nav,
body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav,
body.katedra-site .katedra-post-nav-panel .et_pb_module_inner{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:14px!important;
  width:100%!important;
}
@supports selector(span:has(a)){
  body.katedra-site .katedra-post-nav-panel .et_pb_posts_nav > span:not(:has(a)),
  body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav > .nav-previous:not(:has(a)),
  body.katedra-site .katedra-post-nav-panel .katedra-native-post-nav > .nav-next:not(:has(a)){
    display:none!important;
  }
}
body.katedra-site .katedra-post-nav-panel .et_pb_posts_nav > span,
body.katedra-site .katedra-post-nav-panel .nav-previous,
body.katedra-site .katedra-post-nav-panel .nav-next{
  width:auto!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
}
body.katedra-site .katedra-post-nav-panel a{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-height:116px!important;
  width:100%!important;
  padding:22px 72px 22px 22px!important;
  border:1px solid #D8C9B7!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#FFFDF9 0%,#FAF6EF 100%)!important;
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:23px!important;
  line-height:1.12!important;
  font-weight:600!important;
  text-align:left!important;
  text-decoration:none!important;
  box-shadow:0 12px 30px rgba(28,27,25,.055)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
body.katedra-site .katedra-post-nav-panel a *,
body.katedra-site .katedra-post-nav-panel a span:not(.meta-nav){
  color:inherit!important;
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
  font-weight:inherit!important;
  text-decoration:none!important;
}
body.katedra-site .katedra-post-nav-panel .meta-nav{display:none!important}
body.katedra-site .katedra-post-nav-panel .nav-previous a{padding-left:72px!important;padding-right:22px!important}
body.katedra-site .katedra-post-nav-panel .nav-next a{align-items:flex-end!important;text-align:right!important}
body.katedra-site .katedra-post-nav-panel .nav-previous a:before,
body.katedra-site .katedra-post-nav-panel .nav-next a:before{
  position:static!important;
  display:block!important;
  margin:0 0 7px!important;
  color:#9A7849!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:9px!important;
  line-height:1.25!important;
  font-weight:800!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
body.katedra-site .katedra-post-nav-panel .nav-previous a:before{content:"Starszy wpis"!important}
body.katedra-site .katedra-post-nav-panel .nav-next a:before{content:"Nowszy wpis"!important}
body.katedra-site .katedra-post-nav-panel .nav-previous a:after,
body.katedra-site .katedra-post-nav-panel .nav-next a:after{
  content:"→";
  position:absolute!important;
  top:50%!important;
  right:20px!important;
  width:38px!important;
  height:38px!important;
  margin-top:-19px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#6B2431!important;
  color:#FFF!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:700!important;
  box-shadow:0 10px 24px rgba(107,36,49,.18)!important;
}
body.katedra-site .katedra-post-nav-panel .nav-previous a:after{
  content:"←";
  left:20px!important;
  right:auto!important;
}
body.katedra-site .katedra-post-nav-panel a:hover{
  transform:translateY(-3px)!important;
  border-color:#B89A62!important;
  background:#FFF!important;
  box-shadow:0 18px 38px rgba(79,23,34,.10)!important;
}
body.katedra-site .katedra-post-nav-panel a:hover:after{background:#4F1722!important}

/* Archiwa/kategorie: natywna paginacja Blog Module w tym samym języku wizualnym. */
body.katedra-site .katedra-native-blog .pagination{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  clear:both!important;
  margin-top:24px!important;
  padding-top:20px!important;
  border-top:1px solid #DED4C6!important;
}
body.katedra-site .katedra-native-blog .pagination .alignleft,
body.katedra-site .katedra-native-blog .pagination .alignright{
  float:none!important;
  margin:0!important;
}
body.katedra-site .katedra-native-blog .pagination a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:10px 17px!important;
  border:1px solid #D8C9B7!important;
  border-radius:999px!important;
  background:#FFFDF9!important;
  color:#6B2431!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:0 8px 20px rgba(28,27,25,.04)!important;
  transition:.18s ease!important;
}
body.katedra-site .katedra-native-blog .pagination a:hover{
  transform:translateY(-2px)!important;
  background:#6B2431!important;
  border-color:#6B2431!important;
  color:#FFF!important;
}
body.katedra-site .katedra-native-blog .wp-pagenavi{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
}
body.katedra-site .katedra-native-blog .wp-pagenavi a,
body.katedra-site .katedra-native-blog .wp-pagenavi span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:38px!important;
  min-height:38px!important;
  padding:7px 10px!important;
  border:1px solid #D8C9B7!important;
  border-radius:999px!important;
  background:#FFFDF9!important;
  color:#6B2431!important;
  text-decoration:none!important;
}
body.katedra-site .katedra-native-blog .wp-pagenavi .current{
  background:#6B2431!important;
  border-color:#6B2431!important;
  color:#FFF!important;
}

@media(max-width:620px){
  body.katedra-site .katedra-post-nav-panel a{font-size:20px!important;min-height:104px!important}
  body.katedra-site .katedra-native-blog .pagination{align-items:stretch!important}
  body.katedra-site .katedra-native-blog .pagination a{width:100%!important}
}

/* ==========================================================
   0.4.2 — POST NAV: HARD OVERRIDE DEFAULT DIVI LINK BLUE
   Divi 5 potrafi nadać tytułowi sąsiedniego wpisu własny kolor linku
   z dynamicznych stylów modułu. Poniższa reguła celuje wyłącznie
   w natywny Post Nav wewnątrz naszego panelu i wygrywa specyficznością.
   ========================================================== */
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav.et_pb_posts_nav a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav.et_pb_posts_nav a:link,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav.et_pb_posts_nav a:visited,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav .nav-previous a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav .nav-next a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav .nav-previous a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav .nav-next a{
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  text-decoration-color:#4F1722!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav .nav-previous a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav .nav-next a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav a [class*="title"],
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav a [class*="title"]{
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  text-decoration-color:#4F1722!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:before,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:before{
  color:#9A7849!important;
  -webkit-text-fill-color:#9A7849!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:after,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:after{
  color:#FFF!important;
  -webkit-text-fill-color:#FFF!important;
}


/* ==========================================================
   0.4.3 — POST NAV REFINEMENT
   Duże, czytelne karty starszy/nowszy bez mikroskopijnego tytułu.
   ========================================================== */
html body.katedra-site.katedra-single-post .katedra-post-nav-panel{
  padding:28px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_module_inner{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;
  gap:16px!important;
  width:100%!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span > a{
  box-sizing:border-box!important;
  display:flex!important;
  position:relative!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:132px!important;
  width:100%!important;
  padding:43px 76px 22px 24px!important;
  border:1px solid #D8C9B7!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#FFFDF9 0%,#F8F2EA 100%)!important;
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:22px!important;
  line-height:1.14!important;
  font-weight:600!important;
  text-decoration:none!important;
  box-shadow:0 14px 34px rgba(28,27,25,.055)!important;
  overflow:hidden!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a{
  padding-left:76px!important;
  padding-right:24px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a{
  align-items:flex-end!important;
  text-align:right!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span > a *{
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:22px!important;
  line-height:1.14!important;
  font-weight:600!important;
  text-decoration:none!important;
  overflow-wrap:anywhere!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .meta-nav{display:none!important}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:before,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:before{
  position:absolute!important;
  top:20px!important;
  left:24px!important;
  right:auto!important;
  display:block!important;
  margin:0!important;
  color:#9A7849!important;
  -webkit-text-fill-color:#9A7849!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:9px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:before{
  left:auto!important;
  right:24px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:after,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:after{
  top:50%!important;
  margin-top:-21px!important;
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  background:#6B2431!important;
  color:#FFF!important;
  -webkit-text-fill-color:#FFF!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:18px!important;
  box-shadow:0 10px 24px rgba(107,36,49,.20)!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:after{left:20px!important;right:auto!important}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:after{right:20px!important;left:auto!important}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel a:hover{
  transform:translateY(-3px)!important;
  border-color:#B89A62!important;
  background:#FFF!important;
  box-shadow:0 18px 42px rgba(79,23,34,.10)!important;
}
@media(max-width:620px){
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel{padding:20px!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_module_inner{grid-template-columns:1fr!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a{min-height:116px!important;font-size:20px!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a *,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a *{font-size:20px!important}
}

/* ==========================================================
   0.4.4 — FINAL NATIVE POST NAV CARDS
   Tylko natywny Divi Post Nav w Single Post.
   ========================================================== */
html body.katedra-site.katedra-single-post .katedra-post-nav-panel{
  padding:30px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_module_inner{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  width:100%!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous:only-child,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next:only-child,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span:only-child{
  grid-column:1 / -1!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span > a{
  position:relative!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  align-items:flex-start!important;
  width:100%!important;
  min-height:150px!important;
  padding:58px 72px 26px 26px!important;
  overflow:hidden!important;
  border:1px solid #DED4C6!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#FFFDF9 0%,#F7F3EC 100%)!important;
  box-shadow:0 16px 38px rgba(28,27,25,.07)!important;
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:25px!important;
  line-height:1.12!important;
  font-weight:600!important;
  text-decoration:none!important;
  text-align:left!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a{
  align-items:flex-end!important;
  text-align:right!important;
  padding:58px 26px 26px 72px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span > a *{
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:25px!important;
  line-height:1.12!important;
  font-weight:600!important;
  text-decoration:none!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .meta-nav{
  display:none!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:before,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:before{
  content:"STARSZY WPIS"!important;
  position:absolute!important;
  top:24px!important;
  left:26px!important;
  right:auto!important;
  margin:0!important;
  color:#9A7849!important;
  -webkit-text-fill-color:#9A7849!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:before{
  content:"NOWSZY WPIS"!important;
  left:auto!important;
  right:26px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:after,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:after{
  content:"←"!important;
  position:absolute!important;
  left:auto!important;
  right:22px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  background:#6B2431!important;
  color:#FFF!important;
  -webkit-text-fill-color:#FFF!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:19px!important;
  line-height:1!important;
  box-shadow:0 10px 24px rgba(107,36,49,.22)!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:after{
  content:"→"!important;
  right:auto!important;
  left:22px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel a:hover{
  transform:translateY(-3px)!important;
  border-color:#B89A62!important;
  background:#FFF!important;
  box-shadow:0 22px 46px rgba(79,23,34,.10)!important;
}
@media(max-width:767px){
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel{padding:20px!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_module_inner{grid-template-columns:1fr!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a{min-height:130px!important;font-size:22px!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a *,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a *{font-size:22px!important}
}


/* ==========================================================
   0.4.5 — CLEAN LEGACY CONTENT + EDITORIAL POST NAV
   - neutralizuje stary border-left/blockquote z odzyskanej treści
   - ukrywa puste elementy po starych galeriach
   - styluje odzyskane galerie
   - upraszcza Starszy/Nowszy bez nachodzących kółek
   ========================================================== */

/* Legacy HTML z odzysku nie może wnosić pionowej linii/layoutowego blockquote. */
html body.katedra-site.katedra-single-post .katedra-native-single-content blockquote,
html body.katedra-site.katedra-single-post .katedra-native-single-content .wp-block-quote{
  margin:0 0 1.25em!important;
  padding:0!important;
  border:0!important;
  border-left:0!important;
  background:transparent!important;
  box-shadow:none!important;
  quotes:none!important;
}
html body.katedra-site.katedra-single-post .katedra-native-single-content blockquote:before,
html body.katedra-site.katedra-single-post .katedra-native-single-content blockquote:after,
html body.katedra-site.katedra-single-post .katedra-native-single-content .wp-block-quote:before,
html body.katedra-site.katedra-single-post .katedra-native-single-content .wp-block-quote:after{
  content:none!important;
  display:none!important;
}
html body.katedra-site.katedra-single-post .katedra-native-single-content li:empty,
html body.katedra-site.katedra-single-post .katedra-native-single-content ul:empty,
html body.katedra-site.katedra-single-post .katedra-native-single-content ol:empty{
  display:none!important;
}
html body.katedra-site.katedra-single-post .katedra-native-single-content ul,
html body.katedra-site.katedra-single-post .katedra-native-single-content ol{
  border-left:0!important;
}

/* Galeria odbudowana przez Recovery Importer 0.2.1+. */
html body.katedra-site.katedra-single-post .kri-recovered-gallery{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  margin:20px 0 8px!important;
  padding:0!important;
  list-style:none!important;
  border:0!important;
}
html body.katedra-site.katedra-single-post .kri-recovered-gallery__item{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #DED4C6!important;
  border-radius:14px!important;
  background:#F7F3EC!important;
  box-shadow:0 12px 30px rgba(28,27,25,.055)!important;
}
html body.katedra-site.katedra-single-post .kri-recovered-gallery__item a{
  display:block!important;
  width:100%!important;
  height:100%!important;
  text-decoration:none!important;
}
html body.katedra-site.katedra-single-post .kri-recovered-gallery__item img{
  display:block!important;
  width:100%!important;
  height:260px!important;
  margin:0!important;
  object-fit:cover!important;
  border-radius:0!important;
  transition:transform .25s ease!important;
}
@media(hover:hover){
  html body.katedra-site.katedra-single-post .kri-recovered-gallery__item:hover img{transform:scale(1.025)!important}
}

/* FINAL — czysty, redakcyjny Post Nav. Bez kółek nachodzących na tytuły. */
html body.katedra-site.katedra-single-post .katedra-post-nav-panel{
  padding:26px!important;
  border-radius:16px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_module_inner{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  align-items:stretch!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous:only-child,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next:only-child,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span:only-child{
  grid-column:1 / -1!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span > a{
  position:relative!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  width:100%!important;
  min-height:118px!important;
  padding:50px 22px 20px!important;
  overflow:hidden!important;
  border:1px solid #DED4C6!important;
  border-radius:14px!important;
  background:#FFFDF9!important;
  box-shadow:none!important;
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:21px!important;
  line-height:1.16!important;
  font-weight:600!important;
  text-decoration:none!important;
  text-align:left!important;
  transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a{
  align-items:flex-end!important;
  text-align:right!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a *,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav > span > a *{
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:21px!important;
  line-height:1.16!important;
  font-weight:600!important;
  text-decoration:none!important;
  overflow-wrap:anywhere!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .meta-nav{
  display:none!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:before,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:before{
  content:"←  STARSZY WPIS"!important;
  position:absolute!important;
  top:18px!important;
  left:22px!important;
  right:auto!important;
  display:block!important;
  margin:0!important;
  color:#9A7849!important;
  -webkit-text-fill-color:#9A7849!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:9px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:before{
  content:"NOWSZY WPIS  →"!important;
  left:auto!important;
  right:22px!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a:after,
html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a:after{
  content:none!important;
  display:none!important;
}
html body.katedra-site.katedra-single-post .katedra-post-nav-panel a:hover{
  transform:translateY(-2px)!important;
  border-color:#B89A62!important;
  background:#FFF!important;
  box-shadow:0 14px 34px rgba(79,23,34,.08)!important;
}
@media(max-width:767px){
  html body.katedra-site.katedra-single-post .kri-recovered-gallery{grid-template-columns:1fr!important}
  html body.katedra-site.katedra-single-post .kri-recovered-gallery__item img{height:230px!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel{padding:20px!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_posts_nav,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .katedra-native-post-nav,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .et_pb_module_inner{grid-template-columns:1fr!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a{min-height:108px!important;font-size:20px!important}
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-previous a *,
  html body.katedra-site.katedra-single-post .katedra-post-nav-panel .nav-next a *{font-size:20px!important}
}

/* ==========================================================
   0.4.6 — RECOVERY CONTENT HARD RESET
   Safety net for legacy markup already saved in post_content.
   ========================================================== */
html body.single-post.katedra-site .et_pb_post_content blockquote,
html body.single-post.katedra-site .et_pb_post_content .wp-block-quote,
html body.single-post.katedra-site .et_pb_post_content > div,
html body.single-post.katedra-site .et_pb_post_content > section,
html body.single-post.katedra-site .et_pb_post_content > article{
  border-left:0!important;
  border-inline-start:0!important;
  box-shadow:none!important;
}
html body.single-post.katedra-site .et_pb_post_content blockquote{
  margin-left:0!important;
  padding-left:0!important;
}
html body.single-post.katedra-site .et_pb_post_content [style*="border-left"],
html body.single-post.katedra-site .et_pb_post_content [style*="border-inline-start"]{
  border-left:0!important;
  border-inline-start:0!important;
}
/* Recovery Importer 0.2.2 removes the duplicated category label from post_content.
   This selector hides it temporarily if old content is still cached. */
html body.single-post.katedra-site .et_pb_post_content > h1:first-child,
html body.single-post.katedra-site .et_pb_post_content > h2:first-child,
html body.single-post.katedra-site .et_pb_post_content > h3:first-child{
  border-left:0!important;
}


/* ==========================================================
   0.4.7 — STATIC PAGES / RECOVERED CONTENT
   Premium editorial template for 34 recovered static pages.
   ========================================================== */
html body.katedra-site.katedra-static-page .katedra-native-page-head{
  background:
    radial-gradient(circle at 88% 12%,rgba(184,154,98,.11),transparent 31%),
    linear-gradient(180deg,#FBF8F2 0%,#F7F3EC 100%)!important;
  border-bottom:1px solid #E3D8C9!important;
}
html body.katedra-site.katedra-static-page .katedra-page-hero-row{
  padding-top:68px!important;
  padding-bottom:58px!important;
}
html body.katedra-site.katedra-static-page .katedra-page-eyebrow,
html body.katedra-site.katedra-static-page .katedra-page-eyebrow p{
  margin:0 0 16px!important;
  color:#8B2535!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:800!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-title,
html body.katedra-site.katedra-static-page .katedra-native-page-title *{
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-title h1,
html body.katedra-site.katedra-static-page .katedra-native-page-title .entry-title,
html body.katedra-site.katedra-static-page .katedra-native-page-title .et_pb_title_container h1{
  max-width:960px!important;
  margin:0!important;
  padding:0!important;
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(42px,5vw,66px)!important;
  line-height:.98!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
}
html body.katedra-site.katedra-static-page .katedra-page-ornament-wrap{margin-top:26px!important}
html body.katedra-site.katedra-static-page .katedra-page-ornament{
  width:92px!important;
  height:3px!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,#B89A62 0 48%,#6B2431 48% 100%)!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-main{
  padding:54px 0 72px!important;
  background:#F7F3EC!important;
}
html body.katedra-site.katedra-static-page .katedra-page-main-row{
  width:min(92%,1120px)!important;
  max-width:1120px!important;
}
html body.katedra-site.katedra-static-page .katedra-page-content-card{
  box-sizing:border-box!important;
  width:100%!important;
  padding:54px 62px!important;
  overflow:hidden!important;
  border:1px solid #DED4C6!important;
  border-radius:20px!important;
  background:#FFFDF9!important;
  box-shadow:0 22px 56px rgba(42,34,28,.065)!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content,
html body.katedra-site.katedra-static-page .katedra-native-page-content .et_pb_post_content{
  color:#2C2C2C!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:16px!important;
  line-height:1.82!important;
  font-weight:400!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content p{
  margin:0 0 1.35em!important;
  padding:0!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content h2,
html body.katedra-site.katedra-static-page .katedra-native-page-content h3,
html body.katedra-site.katedra-static-page .katedra-native-page-content h4,
html body.katedra-site.katedra-static-page .katedra-native-page-content h5{
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-weight:600!important;
  letter-spacing:-.012em!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content h2{
  margin:1.35em 0 .55em!important;
  font-size:38px!important;
  line-height:1.05!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content h3{
  margin:1.35em 0 .55em!important;
  font-size:30px!important;
  line-height:1.08!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content h4{
  margin:1.3em 0 .5em!important;
  font-size:24px!important;
  line-height:1.12!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content h2:first-child,
html body.katedra-site.katedra-static-page .katedra-native-page-content h3:first-child{margin-top:0!important}
html body.katedra-site.katedra-static-page .katedra-native-page-content a{
  color:#6B2431!important;
  -webkit-text-fill-color:#6B2431!important;
  font-weight:650!important;
  text-decoration:underline!important;
  text-decoration-color:rgba(184,154,98,.75)!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content a:hover{
  color:#8B2535!important;
  text-decoration-color:#8B2535!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content ul,
html body.katedra-site.katedra-static-page .katedra-native-page-content ol{
  margin:0 0 1.5em!important;
  padding-left:1.35em!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content li{margin:.4em 0!important;padding-left:.18em!important}
html body.katedra-site.katedra-static-page .katedra-native-page-content li::marker{color:#B89A62!important;font-weight:700!important}
html body.katedra-site.katedra-static-page .katedra-native-page-content blockquote{
  margin:2em 0!important;
  padding:18px 22px!important;
  border:0!important;
  border-left:3px solid #B89A62!important;
  border-radius:0 12px 12px 0!important;
  background:#F8F2E9!important;
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:24px!important;
  line-height:1.35!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content img{
  max-width:100%!important;
  height:auto!important;
  border-radius:14px!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content figure{
  max-width:100%!important;
  margin:2em auto!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content figcaption{
  margin-top:8px!important;
  color:#6D665E!important;
  font-size:12px!important;
  line-height:1.55!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content table{
  width:100%!important;
  margin:24px 0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  border:1px solid #DED4C6!important;
  border-radius:12px!important;
  background:#FFF!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content th,
html body.katedra-site.katedra-static-page .katedra-native-page-content td{
  padding:12px 14px!important;
  border:0!important;
  border-bottom:1px solid #E8DFD3!important;
  vertical-align:top!important;
  text-align:left!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content th{
  background:#F5EEE5!important;
  color:#4F1722!important;
  font-weight:700!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-content tr:last-child td{border-bottom:0!important}
html body.katedra-site.katedra-static-page .katedra-native-page-content hr{
  margin:36px 0!important;
  border:0!important;
  border-top:1px solid #DED4C6!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-utility{
  padding:0 0 82px!important;
  background:#F7F3EC!important;
}
html body.katedra-site.katedra-static-page .katedra-page-utility-row{
  width:min(92%,1120px)!important;
  max-width:1120px!important;
}
html body.katedra-site.katedra-static-page .katedra-page-utility{
  position:relative!important;
  box-sizing:border-box!important;
  padding:30px 34px!important;
  border:1px solid #DCCFBD!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#F3E9DB 0%,#FFFDF9 70%)!important;
  box-shadow:0 16px 42px rgba(50,34,25,.055)!important;
}
html body.katedra-site.katedra-static-page .katedra-page-utility-kicker{
  margin:0 0 8px!important;
  color:#9A7849!important;
  font-family:"Plus Jakarta Sans",sans-serif!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
html body.katedra-site.katedra-static-page .katedra-page-utility-heading,
html body.katedra-site.katedra-static-page .katedra-page-utility-heading *{
  margin:0!important;
  color:#4F1722!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:32px!important;
  line-height:1.05!important;
  font-weight:600!important;
}
html body.katedra-site.katedra-static-page .katedra-page-utility-text{max-width:640px!important;margin:10px 0 20px!important}
html body.katedra-site.katedra-static-page .katedra-page-utility-text p{margin:0!important;color:#4A4540!important;font-size:14px!important;line-height:1.65!important}
html body.katedra-site.katedra-static-page .katedra-page-utility-button{display:inline-block!important;margin:0 10px 0 0!important}
html body.katedra-site.katedra-static-page .katedra-page-utility-button .et_pb_button,
html body.katedra-site.katedra-static-page .katedra-page-utility-button a{
  border:0!important;
  border-radius:999px!important;
  background:#6B2431!important;
  color:#FFF!important;
  -webkit-text-fill-color:#FFF!important;
  box-shadow:0 12px 28px rgba(107,36,49,.18)!important;
}
html body.katedra-site.katedra-static-page .katedra-page-utility-button--ghost .et_pb_button,
html body.katedra-site.katedra-static-page .katedra-page-utility-button--ghost a{
  border:1px solid #CDBDAB!important;
  background:#FFFDF9!important;
  color:#4F1722!important;
  -webkit-text-fill-color:#4F1722!important;
  box-shadow:none!important;
}
@media(max-width:980px){
  html body.katedra-site.katedra-static-page .katedra-page-hero-row{padding-top:48px!important;padding-bottom:44px!important}
  html body.katedra-site.katedra-static-page .katedra-page-content-card{padding:40px 34px!important}
}
@media(max-width:600px){
  html body.katedra-site.katedra-static-page .katedra-native-page-title h1,
  html body.katedra-site.katedra-static-page .katedra-native-page-title .entry-title,
  html body.katedra-site.katedra-static-page .katedra-native-page-title .et_pb_title_container h1{font-size:42px!important;line-height:1.02!important}
  html body.katedra-site.katedra-static-page .katedra-native-page-main{padding:34px 0 50px!important}
  html body.katedra-site.katedra-static-page .katedra-page-content-card{padding:28px 22px!important;border-radius:15px!important}
  html body.katedra-site.katedra-static-page .katedra-native-page-content{font-size:15px!important;line-height:1.76!important}
  html body.katedra-site.katedra-static-page .katedra-native-page-content h2{font-size:31px!important}
  html body.katedra-site.katedra-static-page .katedra-native-page-content h3{font-size:26px!important}
  html body.katedra-site.katedra-static-page .katedra-page-utility{padding:24px 22px!important}
  html body.katedra-site.katedra-static-page .katedra-page-utility-button{display:block!important;margin:10px 0 0!important;width:100%!important}
}


/* ==========================================================
   0.4.8 — PREMIUM DESKTOP DROPDOWNS + CLEAN STATIC PAGE END
   - dropdown arrows sit inline with labels
   - submenu is a calm editorial panel, not Divi's stock dropdown
   - second level opens as a clean flyout
   ========================================================== */
@media (min-width:981px){
  html body.katedra-site .katedra-header-menu .et-menu > li.menu-item-has-children > a:first-child{
    gap:8px!important;
    padding-right:0!important;
  }
  html body.katedra-site .katedra-header-menu .et-menu > li.menu-item-has-children > a:first-child:after{
    content:""!important;
    position:relative!important;
    top:-2px!important;
    right:auto!important;
    display:inline-block!important;
    width:6px!important;
    height:6px!important;
    margin:0 0 0 2px!important;
    border:0!important;
    border-right:1.5px solid currentColor!important;
    border-bottom:1.5px solid currentColor!important;
    opacity:.72!important;
    transform:rotate(45deg)!important;
    transform-origin:center!important;
    font-family:inherit!important;
    font-size:0!important;
    line-height:0!important;
  }

  html body.katedra-site .katedra-header-menu .et-menu > li > ul.sub-menu{
    box-sizing:border-box!important;
    top:100%!important;
    left:50%!important;
    width:320px!important;
    min-width:320px!important;
    margin:0!important;
    padding:10px!important;
    transform:translateX(-50%)!important;
    border:1px solid rgba(213,199,182,.92)!important;
    border-top:3px solid #B89A62!important;
    border-radius:0 0 16px 16px!important;
    background:#FFFDF9!important;
    box-shadow:0 22px 55px rgba(24,19,16,.18)!important;
  }
  html body.katedra-site .katedra-header-menu .et-menu > li > ul.sub-menu:before{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:-8px!important;
    width:13px!important;
    height:13px!important;
    transform:translateX(-50%) rotate(45deg)!important;
    background:#B89A62!important;
    z-index:-1!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu li{
    box-sizing:border-box!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu li + li{
    border-top:1px solid rgba(213,199,182,.48)!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu li > a{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-height:46px!important;
    padding:11px 13px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#322C28!important;
    -webkit-text-fill-color:#322C28!important;
    font-family:'Plus Jakarta Sans',sans-serif!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:600!important;
    letter-spacing:0!important;
    white-space:normal!important;
    opacity:1!important;
    transition:background .16s ease,color .16s ease,transform .16s ease!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu li > a:hover,
  html body.katedra-site .katedra-header-menu .sub-menu li.current-menu-item > a,
  html body.katedra-site .katedra-header-menu .sub-menu li.current-menu-ancestor > a{
    background:#F6EFE6!important;
    color:#6B2431!important;
    -webkit-text-fill-color:#6B2431!important;
    transform:translateX(2px)!important;
  }

  html body.katedra-site .katedra-header-menu .sub-menu li.menu-item-has-children > a:first-child{
    padding-right:34px!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu li.menu-item-has-children > a:first-child:after{
    content:""!important;
    position:absolute!important;
    top:50%!important;
    right:15px!important;
    width:6px!important;
    height:6px!important;
    margin:0!important;
    border:0!important;
    border-right:1.5px solid #B89A62!important;
    border-bottom:1.5px solid #B89A62!important;
    transform:translateY(-50%) rotate(-45deg)!important;
    font-size:0!important;
    line-height:0!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu .sub-menu{
    box-sizing:border-box!important;
    top:-11px!important;
    left:calc(100% + 10px)!important;
    width:310px!important;
    min-width:310px!important;
    margin:0!important;
    padding:10px!important;
    transform:none!important;
    border:1px solid rgba(213,199,182,.92)!important;
    border-top:3px solid #6B2431!important;
    border-radius:12px!important;
    background:#FFFDF9!important;
    box-shadow:0 22px 55px rgba(24,19,16,.18)!important;
  }
}

/* Mobile menu: hierarchy remains obvious without huge indentation. */
@media (max-width:980px){
  html body.katedra-site .katedra-header-menu .et_mobile_menu{
    padding:10px 12px 14px!important;
    border-top:3px solid #B89A62!important;
    background:#FFFDF9!important;
    box-shadow:0 20px 44px rgba(24,19,16,.18)!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu li a{
    padding:11px 12px!important;
    border-bottom:1px solid rgba(213,199,182,.55)!important;
    color:#322C28!important;
    font-family:'Plus Jakarta Sans',sans-serif!important;
    font-size:14px!important;
    line-height:1.35!important;
    font-weight:650!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu .sub-menu{
    padding-left:12px!important;
    border-left:2px solid #D5C7B6!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu .sub-menu a{
    padding-left:14px!important;
    font-size:13px!important;
    font-weight:550!important;
  }
}

/* 0.8.1 removes the redundant bottom utility from static pages. */
html body.katedra-site.katedra-static-page .katedra-native-page-utility{
  display:none!important;
}
html body.katedra-site.katedra-static-page .katedra-native-page-main{
  padding-bottom:78px!important;
}

/* ==========================================================
   0.5.0 — RESPONSIVE NAV / CATEGORY MOBILE / COMPACT UTILITY
   Final overrides. Mobile menu is an accordion controlled by
   katedra-header.js; parent links remain real links.
   ========================================================== */
html,body{max-width:100%;overflow-x:clip}

/* DESKTOP — zero dead-zone between submenu levels. */
@media (min-width:981px){
  html body.katedra-site .katedra-header-sticky,
  html body.katedra-site .katedra-header-menu,
  html body.katedra-site .katedra-header-menu .et_pb_menu__wrap,
  html body.katedra-site .katedra-header-menu .et-menu-nav{overflow:visible!important}

  html body.katedra-site .katedra-header-menu .et-menu > li > ul.sub-menu{
    top:calc(100% - 1px)!important;
    z-index:999999!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu .sub-menu{
    left:calc(100% - 1px)!important;
    top:-10px!important;
    z-index:1000000!important;
  }
  html body.katedra-site .katedra-header-menu li.menu-item-has-children:hover > ul.sub-menu,
  html body.katedra-site .katedra-header-menu li.menu-item-has-children:focus-within > ul.sub-menu{
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  html body.katedra-site .katedra-header-menu .sub-menu li.menu-item-has-children{
    position:relative!important;
  }
}

/* SIDEBAR — compact quick access instead of a tall empty card. */
html body.katedra-site .katedra-sidebar-useful{
  padding:0 20px 18px!important;
  overflow:hidden!important;
  border:1px solid #DCCFBD!important;
  border-radius:15px!important;
  background:#FFFDF9!important;
  box-shadow:0 10px 28px rgba(38,28,23,.045)!important;
}
html body.katedra-site .katedra-sidebar-useful:before{
  position:static!important;
  display:block!important;
  width:100%!important;
  height:3px!important;
  margin:0 0 18px!important;
  background:linear-gradient(90deg,#B89A62 0%,#B89A62 42%,#6B2431 100%)!important;
}
html body.katedra-site .katedra-sidebar-useful > .et_pb_module,
html body.katedra-site .katedra-sidebar-useful > .et_pb_button_module_wrapper{
  margin-left:0!important;margin-right:0!important;
}
html body.katedra-site .katedra-sidebar-useful .katedra-sidebar-mini{margin:0 0 4px!important}
html body.katedra-site .katedra-sidebar-useful .katedra-sidebar-lead,
html body.katedra-site .katedra-sidebar-useful .katedra-sidebar-lead p{margin:0 0 14px!important}
html body.katedra-site .katedra-sidebar-useful .katedra-button--utility{
  display:block!important;width:100%!important;margin:0!important;
  border-top:1px solid #E9E0D6!important;
}
html body.katedra-site .katedra-sidebar-useful .katedra-button--utility .et_pb_button,
html body.katedra-site .katedra-sidebar-useful .katedra-button--utility a{
  min-height:0!important;width:100%!important;padding:12px 2px!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;color:#5A1D28!important;-webkit-text-fill-color:#5A1D28!important;
  font-size:12px!important;font-weight:750!important;
}
html body.katedra-site .katedra-sidebar-useful .katedra-button--utility .et_pb_button:hover,
html body.katedra-site .katedra-sidebar-useful .katedra-button--utility a:hover{
  transform:none!important;background:transparent!important;color:#9A7849!important;
}

/* MOBILE NAV — controlled accordion; do not dump the whole hierarchy at once. */
@media (max-width:980px){
  html body.katedra-site .katedra-header-sticky{z-index:999990!important}
  html body.katedra-site .katedra-header-sticky .et_pb_row{
    width:100%!important;max-width:none!important;min-height:58px!important;padding:0 16px!important;
  }
  html body.katedra-site .katedra-header-menu .et_pb_menu__wrap{
    width:100%!important;justify-content:flex-end!important;overflow:visible!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_nav_menu{position:relative!important;z-index:999999!important}
  html body.katedra-site .katedra-header-menu .mobile_menu_bar{
    min-width:48px!important;min-height:58px!important;justify-content:center!important;
  }
  html body.katedra-site .katedra-header-menu .mobile_menu_bar:before{font-size:32px!important}

  html body.katedra-site .katedra-header-menu .et_mobile_menu{
    position:absolute!important;
    top:calc(100% - 1px)!important;
    left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;
    width:min(94vw,480px)!important;max-width:480px!important;
    max-height:calc(100dvh - 86px)!important;
    margin:0!important;padding:8px 10px 12px!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
    border:1px solid #D8C9B7!important;border-top:3px solid #B89A62!important;
    border-radius:0 0 16px 16px!important;
    background:#FFFDF9!important;
    box-shadow:0 22px 54px rgba(20,16,14,.24)!important;
    z-index:1000000!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu > li,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li{
    position:relative!important;width:100%!important;margin:0!important;padding:0!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu li > a{
    display:flex!important;align-items:center!important;width:100%!important;min-height:48px!important;
    padding:12px 50px 12px 13px!important;
    border:0!important;border-bottom:1px solid #E9E0D6!important;border-radius:9px!important;
    background:transparent!important;color:#2F2925!important;-webkit-text-fill-color:#2F2925!important;
    font-family:'Plus Jakarta Sans',sans-serif!important;font-size:14px!important;line-height:1.3!important;
    font-weight:650!important;opacity:1!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu > li > a{font-weight:750!important}
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.current-menu-item > a,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.current-menu-ancestor > a{
    color:#6B2431!important;-webkit-text-fill-color:#6B2431!important;background:#F7F0E8!important;
  }

  html body.katedra-site .katedra-header-menu .et_mobile_menu li.menu-item-has-children > a:after{
    display:none!important;content:none!important;
  }
  html body.katedra-site .katedra-header-menu .katedra-submenu-toggle{
    position:absolute!important;top:5px!important;right:4px!important;z-index:5!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:40px!important;height:40px!important;margin:0!important;padding:0!important;
    border:0!important;border-radius:9px!important;background:#F3ECE3!important;color:#6B2431!important;
    cursor:pointer!important;-webkit-appearance:none!important;appearance:none!important;
  }
  html body.katedra-site .katedra-header-menu .katedra-submenu-toggle:before{
    content:""!important;width:7px!important;height:7px!important;
    border-right:2px solid currentColor!important;border-bottom:2px solid currentColor!important;
    transform:translateY(-2px) rotate(45deg)!important;transition:transform .16s ease!important;
  }
  html body.katedra-site .katedra-header-menu li.katedra-mobile-open > .katedra-submenu-toggle:before{
    transform:translateY(2px) rotate(225deg)!important;
  }

  html body.katedra-site .katedra-header-menu .et_mobile_menu li.menu-item-has-children > ul.sub-menu{
    display:none!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;
    width:100%!important;min-width:0!important;margin:0!important;padding:2px 0 5px 14px!important;
    transform:none!important;visibility:visible!important;opacity:1!important;
    border:0!important;border-left:2px solid #D5C7B6!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.katedra-mobile-open > ul.sub-menu{
    display:block!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu .sub-menu li > a{
    min-height:43px!important;padding:10px 48px 10px 12px!important;font-size:13px!important;font-weight:600!important;
  }
  html body.katedra-site .katedra-header-menu .et_mobile_menu .sub-menu .sub-menu{
    padding-left:12px!important;border-left-color:#B89A62!important;
  }

  /* Archive/category and single columns must genuinely stack. */
  html body.katedra-site .katedra-native-archive-head .et_pb_row,
  html body.katedra-site .katedra-native-archive-body .et_pb_row,
  html body.katedra-site .katedra-native-single-hero .et_pb_row,
  html body.katedra-site .katedra-native-single-main .et_pb_row{
    width:calc(100% - 32px)!important;max-width:720px!important;margin-left:auto!important;margin-right:auto!important;
  }
  html body.katedra-site .katedra-archive-main-row,
  html body.katedra-site .katedra-single-main-row{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important;
  }
  html body.katedra-site .katedra-archive-main-row > *,
  html body.katedra-site .katedra-single-main-row > *{
    grid-column:1!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;
  }
  html body.katedra-site .katedra-archive-sidebar,
  html body.katedra-site .katedra-single-sidebar{position:static!important;top:auto!important;margin-top:0!important}

  html body.katedra-site .katedra-native-blog,
  html body.katedra-site .katedra-native-blog .et_pb_ajax_pagination_container,
  html body.katedra-site .katedra-native-blog .et_pb_posts{width:100%!important;max-width:100%!important;min-width:0!important}
  html body.katedra-site .katedra-native-blog article.et_pb_post,
  html body.katedra-site .katedra-native-blog .et_pb_post{
    width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 16px!important;overflow:hidden!important;
  }
  html body.katedra-site .katedra-native-blog .entry-title,
  html body.katedra-site .katedra-native-blog h2.entry-title{overflow-wrap:anywhere!important;word-break:normal!important}
}

@media (max-width:767px){
  html body.katedra-site .katedra-native-archive-head{padding:30px 0 12px!important}
  html body.katedra-site .katedra-archive-heading h1,
  html body.katedra-site .katedra-archive-heading .et_pb_module_heading{
    font-size:clamp(38px,12vw,52px)!important;line-height:1.02!important;overflow-wrap:anywhere!important;
  }
  html body.katedra-site .katedra-native-archive-body{padding:8px 0 44px!important}
  html body.katedra-site .katedra-native-blog .entry-featured-image-url,
  html body.katedra-site .katedra-native-blog .et_pb_image_container{
    height:auto!important;min-height:0!important;aspect-ratio:16/10!important;overflow:hidden!important;
  }
  html body.katedra-site .katedra-native-blog .entry-featured-image-url img,
  html body.katedra-site .katedra-native-blog .et_pb_image_container img{
    width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;
  }
  html body.katedra-site .katedra-native-blog h2.entry-title,
  html body.katedra-site .katedra-native-blog .entry-title{
    padding:18px 18px 6px!important;font-size:clamp(25px,7.6vw,32px)!important;line-height:1.04!important;
  }
  html body.katedra-site .katedra-native-blog .post-meta{padding:0 18px 8px!important;font-size:11px!important}
  html body.katedra-site .katedra-native-blog .post-content{padding:0 18px 20px!important}
  html body.katedra-site .katedra-native-blog .post-content p{font-size:14px!important;line-height:1.6!important}

  html body.katedra-site .katedra-sidebar-card{padding:20px!important;border-radius:14px!important}
  html body.katedra-site .katedra-sidebar-useful{padding:0 18px 14px!important}

  html body.katedra-site.katedra-static-page .katedra-page-hero-row,
  html body.katedra-site.katedra-static-page .katedra-page-main-row{
    width:calc(100% - 28px)!important;max-width:720px!important;
  }
  html body.katedra-site.katedra-static-page .katedra-page-content-card{padding:24px 18px!important}
}

@media (max-width:480px){
  html body.katedra-site .katedra-header-sticky .et_pb_row{padding:0 10px!important}
  html body.katedra-site .katedra-header-menu .et_mobile_menu{
    width:calc(100vw - 12px)!important;max-height:calc(100dvh - 76px)!important;padding:6px 8px 10px!important;
    border-radius:0 0 13px 13px!important;
  }
  html body.katedra-site .katedra-native-archive-head .et_pb_row,
  html body.katedra-site .katedra-native-archive-body .et_pb_row,
  html body.katedra-site .katedra-native-single-hero .et_pb_row,
  html body.katedra-site .katedra-native-single-main .et_pb_row{width:calc(100% - 22px)!important}
  html body.katedra-site .katedra-native-blog .entry-featured-image-url,
  html body.katedra-site .katedra-native-blog .et_pb_image_container{aspect-ratio:4/3!important}
}

/* ==========================================================
   0.5.1 — LINKED HOME CARDS
   ========================================================== */
html body.katedra-site .katedra-link-card{
  display:flex!important;flex-direction:column!important;
}
html body.katedra-site .katedra-link-card .katedra-card-link-button{
  margin-top:auto!important;padding-top:10px!important;
}
html body.katedra-site .katedra-link-card .katedra-card-link-button .et_pb_button,
html body.katedra-site .katedra-link-card .katedra-card-link-button a{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  padding:8px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  color:#6B2431!important;-webkit-text-fill-color:#6B2431!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;font-size:12px!important;line-height:1.3!important;font-weight:800!important;
}
html body.katedra-site .katedra-link-card .katedra-card-link-button .et_pb_button:hover,
html body.katedra-site .katedra-link-card .katedra-card-link-button a:hover{
  color:#9A7849!important;-webkit-text-fill-color:#9A7849!important;transform:translateX(3px)!important;
}
html body.katedra-site .katedra-section-link{margin-top:14px!important}
html body.katedra-site .katedra-section-link .et_pb_button,
html body.katedra-site .katedra-section-link a{
  padding:9px 15px!important;border:1px solid #D3C2AE!important;border-radius:999px!important;
  background:#FFFDF9!important;color:#6B2431!important;-webkit-text-fill-color:#6B2431!important;
  font-family:'Plus Jakarta Sans',sans-serif!important;font-size:11px!important;font-weight:750!important;
}


/* ==========================================================
   0.5.2 — MOBILE HARDENING
   - viewport-wide, fixed mobile menu (no narrow Divi dropdown)
   - accordion works even if the custom menu class is missing
   - category/blog cards become a real single-column mobile feed
   - hard reset of Divi float/column/grid rules on <= 767px
   ========================================================== */

@media (max-width:980px){
  /* The dropdown is positioned against the VIEWPORT, not the tiny hamburger wrapper. */
  html body.katedra-site .et-l--header .et_mobile_menu,
  html body.katedra-site .katedra-header-menu .et_mobile_menu{
    position:fixed!important;
    top:var(--k-mobile-menu-top,64px)!important;
    left:10px!important;
    right:10px!important;
    bottom:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    max-height:calc(100dvh - var(--k-mobile-menu-top,64px) - 10px)!important;
    margin:0!important;
    padding:8px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    border:1px solid #D8C9B7!important;
    border-top:3px solid #B89A62!important;
    border-radius:0 0 15px 15px!important;
    background:#FFFDF9!important;
    box-shadow:0 24px 60px rgba(25,18,15,.28)!important;
    z-index:2147483000!important;
  }
  html body.katedra-site.katedra-mobile-menu-open{overflow:hidden!important}

  html body.katedra-site .et-l--header .et_mobile_menu li,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li{
    position:relative!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  html body.katedra-site .et-l--header .et_mobile_menu li > a,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li > a{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-height:46px!important;
    margin:0!important;
    padding:11px 48px 11px 12px!important;
    border:0!important;
    border-bottom:1px solid rgba(216,201,183,.55)!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#302A26!important;
    -webkit-text-fill-color:#302A26!important;
    font-family:'Plus Jakarta Sans',sans-serif!important;
    font-size:14px!important;
    line-height:1.28!important;
    font-weight:650!important;
    letter-spacing:0!important;
    white-space:normal!important;
    opacity:1!important;
    text-decoration:none!important;
  }
  html body.katedra-site .et-l--header .et_mobile_menu > li > a,
  html body.katedra-site .katedra-header-menu .et_mobile_menu > li > a{
    font-size:14.5px!important;
    font-weight:760!important;
  }
  html body.katedra-site .et-l--header .et_mobile_menu li.current-menu-item > a,
  html body.katedra-site .et-l--header .et_mobile_menu li.current-menu-ancestor > a,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.current-menu-item > a,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.current-menu-ancestor > a{
    background:#F6EFE7!important;
    color:#6B2431!important;
    -webkit-text-fill-color:#6B2431!important;
  }

  /* Kill Divi's built-in submenu chevrons and indentation. */
  html body.katedra-site .et-l--header .et_mobile_menu li.menu-item-has-children > a:after,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.menu-item-has-children > a:after{
    display:none!important;
    content:none!important;
  }
  html body.katedra-site .et-l--header .et_mobile_menu li.menu-item-has-children > ul.sub-menu,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.menu-item-has-children > ul.sub-menu{
    display:none!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:3px 0 5px 10px!important;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
    border:0!important;
    border-left:2px solid #D5C7B6!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body.katedra-site .et-l--header .et_mobile_menu li.katedra-mobile-open > ul.sub-menu,
  html body.katedra-site .katedra-header-menu .et_mobile_menu li.katedra-mobile-open > ul.sub-menu{
    display:block!important;
  }
  html body.katedra-site .et-l--header .et_mobile_menu .sub-menu li > a,
  html body.katedra-site .katedra-header-menu .et_mobile_menu .sub-menu li > a{
    min-height:42px!important;
    padding:9px 46px 9px 11px!important;
    font-size:13px!important;
    font-weight:600!important;
  }
  html body.katedra-site .et-l--header .et_mobile_menu .sub-menu .sub-menu,
  html body.katedra-site .katedra-header-menu .et_mobile_menu .sub-menu .sub-menu{
    padding-left:8px!important;
    border-left-color:#B89A62!important;
  }

  html body.katedra-site .et-l--header .katedra-submenu-toggle,
  html body.katedra-site .katedra-header-menu .katedra-submenu-toggle{
    position:absolute!important;
    top:4px!important;
    right:3px!important;
    z-index:20!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:8px!important;
    background:#F2EAE0!important;
    color:#6B2431!important;
    box-shadow:none!important;
    cursor:pointer!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  html body.katedra-site .et-l--header .katedra-submenu-toggle:before,
  html body.katedra-site .katedra-header-menu .katedra-submenu-toggle:before{
    content:""!important;
    display:block!important;
    width:7px!important;
    height:7px!important;
    border-right:2px solid currentColor!important;
    border-bottom:2px solid currentColor!important;
    transform:translateY(-2px) rotate(45deg)!important;
    transition:transform .16s ease!important;
  }
  html body.katedra-site .et-l--header li.katedra-mobile-open > .katedra-submenu-toggle:before,
  html body.katedra-site .katedra-header-menu li.katedra-mobile-open > .katedra-submenu-toggle:before{
    transform:translateY(2px) rotate(225deg)!important;
  }
}

/* CATEGORY / ARCHIVE — phone: one clean feed, never desktop 2-col card geometry. */
@media (max-width:767px){
  html body.katedra-site.category .katedra-native-archive-head,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-head{
    padding:24px 0 8px!important;
  }
  html body.katedra-site.category .katedra-native-archive-head .et_pb_row,
  html body.katedra-site.category .katedra-native-archive-body .et_pb_row,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-head .et_pb_row,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-body .et_pb_row{
    box-sizing:border-box!important;
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin-left:10px!important;
    margin-right:10px!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  html body.katedra-site.category .katedra-native-archive-body > .et_pb_row,
  html body.katedra-site.category .katedra-archive-main-row,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-body > .et_pb_row,
  html body.katedra-site.katedra-archive-page .katedra-archive-main-row{
    display:block!important;
    grid-template-columns:none!important;
    column-gap:0!important;
    row-gap:0!important;
  }
  html body.katedra-site.category .katedra-native-archive-body .et_pb_column,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-body .et_pb_column{
    display:block!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 18px!important;
    padding:0!important;
  }
  html body.katedra-site.category .katedra-archive-heading h1,
  html body.katedra-site.category .katedra-archive-heading .et_pb_module_heading,
  html body.katedra-site.katedra-archive-page .katedra-archive-heading h1,
  html body.katedra-site.katedra-archive-page .katedra-archive-heading .et_pb_module_heading{
    margin:0!important;
    font-size:clamp(37px,11vw,46px)!important;
    line-height:1!important;
    letter-spacing:-.025em!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html body.katedra-site.category .katedra-native-archive-body,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-body{
    padding:8px 0 42px!important;
  }

  /* Strong generic selector as a fallback if Divi drops our custom Blog class. */
  html body.katedra-site.category .et_pb_blog,
  html body.katedra-site.category .et_pb_blog .et_pb_ajax_pagination_container,
  html body.katedra-site.category .et_pb_blog .et_pb_salvattore_content,
  html body.katedra-site.katedra-archive-page .et_pb_blog,
  html body.katedra-site.katedra-archive-page .et_pb_blog .et_pb_ajax_pagination_container,
  html body.katedra-site.katedra-archive-page .et_pb_blog .et_pb_salvattore_content{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  html body.katedra-site.category .et_pb_blog article.et_pb_post,
  html body.katedra-site.category .et_pb_blog .et_pb_post,
  html body.katedra-site.katedra-archive-page .et_pb_blog article.et_pb_post,
  html body.katedra-site.katedra-archive-page .et_pb_blog .et_pb_post{
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    float:none!important;
    clear:both!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    margin:0 0 14px!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid #DED4C6!important;
    border-radius:15px!important;
    background:#FFFDF9!important;
    box-shadow:0 10px 28px rgba(33,25,21,.055)!important;
  }
  html body.katedra-site.category .et_pb_blog .entry-featured-image-url,
  html body.katedra-site.category .et_pb_blog .et_pb_image_container,
  html body.katedra-site.katedra-archive-page .et_pb_blog .entry-featured-image-url,
  html body.katedra-site.katedra-archive-page .et_pb_blog .et_pb_image_container{
    order:1!important;
    display:block!important;
    float:none!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html body.katedra-site.category .et_pb_blog .entry-featured-image-url img,
  html body.katedra-site.category .et_pb_blog .et_pb_image_container img,
  html body.katedra-site.katedra-archive-page .et_pb_blog .entry-featured-image-url img,
  html body.katedra-site.katedra-archive-page .et_pb_blog .et_pb_image_container img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    object-fit:cover!important;
  }
  html body.katedra-site.category .et_pb_blog h2.entry-title,
  html body.katedra-site.category .et_pb_blog .entry-title,
  html body.katedra-site.katedra-archive-page .et_pb_blog h2.entry-title,
  html body.katedra-site.katedra-archive-page .et_pb_blog .entry-title{
    order:2!important;
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:auto!important;
    margin:0!important;
    padding:17px 17px 5px!important;
    font-size:clamp(25px,7.2vw,30px)!important;
    line-height:1.06!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  html body.katedra-site.category .et_pb_blog .post-meta,
  html body.katedra-site.katedra-archive-page .et_pb_blog .post-meta{
    order:3!important;
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:auto!important;
    margin:0!important;
    padding:0 17px 8px!important;
    font-size:10.5px!important;
    line-height:1.45!important;
  }
  html body.katedra-site.category .et_pb_blog .post-content,
  html body.katedra-site.katedra-archive-page .et_pb_blog .post-content{
    order:4!important;
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0 17px 18px!important;
    font-size:14px!important;
    line-height:1.6!important;
  }
  html body.katedra-site.category .et_pb_blog .post-content p,
  html body.katedra-site.katedra-archive-page .et_pb_blog .post-content p{
    margin:0!important;
    font-size:14px!important;
    line-height:1.6!important;
  }
  html body.katedra-site.category .et_pb_blog .more-link,
  html body.katedra-site.katedra-archive-page .et_pb_blog .more-link{
    display:inline-flex!important;
    width:auto!important;
    max-width:100%!important;
    margin:13px 0 0!important;
    padding:9px 14px!important;
    font-size:12px!important;
  }

  /* Sidebar follows the feed and becomes a compact support block. */
  html body.katedra-site.category .katedra-archive-sidebar,
  html body.katedra-site.katedra-archive-page .katedra-archive-sidebar{
    position:static!important;
    top:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:8px 0 0!important;
  }
  html body.katedra-site.category .katedra-archive-sidebar .katedra-sidebar-card,
  html body.katedra-site.katedra-archive-page .katedra-archive-sidebar .katedra-sidebar-card{
    margin:0 0 12px!important;
    padding:18px!important;
    border-radius:13px!important;
  }
}

@media (max-width:430px){
  html body.katedra-site .et-l--header .et_mobile_menu,
  html body.katedra-site .katedra-header-menu .et_mobile_menu{
    left:6px!important;
    right:6px!important;
    padding:6px!important;
    border-radius:0 0 12px 12px!important;
  }
  html body.katedra-site.category .katedra-native-archive-head .et_pb_row,
  html body.katedra-site.category .katedra-native-archive-body .et_pb_row,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-head .et_pb_row,
  html body.katedra-site.katedra-archive-page .katedra-native-archive-body .et_pb_row{
    width:calc(100% - 14px)!important;
    margin-left:7px!important;
    margin-right:7px!important;
  }
  html body.katedra-site.category .et_pb_blog .entry-featured-image-url,
  html body.katedra-site.category .et_pb_blog .et_pb_image_container,
  html body.katedra-site.katedra-archive-page .et_pb_blog .entry-featured-image-url,
  html body.katedra-site.katedra-archive-page .et_pb_blog .et_pb_image_container{
    aspect-ratio:4/3!important;
  }
}
