
/*
Theme Name: Zastawie – wersja ustalona
Version: 4.1.0
Description: Skórka Zastawia zgodna z zaakceptowanym projektem.
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');
:root{--navy:#071d2b;--navy2:#0b2637;--cream:#f3ead8;--cream2:#fbf4e7;--gold:#d4ad55;--gold2:#efd28b;--text:#1d2a32;--line:#b99b5d}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--navy);color:#1d2a32;font-family:"Libre Baskerville",Georgia,serif;line-height:1.55}
a{text-decoration:none;color:inherit}img{max-width:100%;display:block;height:auto}
.container{width:min(1180px,calc(100% - 38px));margin:auto}
.site-header{background:var(--navy);color:#fff}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0 10px;gap:25px}
.logo{display:block;width:470px;max-width:52vw}.logo img{width:100%}
.top-links{display:flex;justify-content:flex-end;gap:28px;font:12px "Libre Baskerville",serif;color:var(--gold2);margin-bottom:9px;text-transform:uppercase}
.header-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.fb{width:30px;height:30px;border-radius:50%;background:#1877f2;color:#fff;display:grid;place-items:center;font:bold 17px Arial}
.search{height:43px;display:flex}.search input{width:270px;border:0;background:var(--cream2);padding:0 16px;font:14px "Libre Baskerville",Georgia}.search button{width:62px;border:0;background:var(--navy2);color:#fff;font-size:23px;cursor:pointer}
.nav-wrap{border:1px solid var(--gold);border-radius:8px;margin:4px 0 14px;background:#091e2d}
.nav{display:flex;align-items:center;flex-wrap:wrap}.nav a{display:block;padding:12px 9px;color:#fff;font:10px "Libre Baskerville",Georgia;white-space:nowrap}.nav a:hover{background:rgba(212,173,85,.16);color:var(--gold2)}
.nav .home{font-size:19px;background:var(--gold);color:var(--navy);padding:7px 12px;border-radius:6px;margin:3px 7px 3px 3px}
main{padding-bottom:45px}
.hero{position:relative;height:390px;border:1px solid var(--gold);border-radius:10px;overflow:hidden;background:#19384b}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,22,33,.72),rgba(4,22,33,.15) 70%)}
.hero-box{position:absolute;z-index:2;left:40px;top:38px;width:380px;background:var(--cream2);border-radius:9px;padding:27px 28px 25px;box-shadow:0 8px 25px rgba(0,0,0,.25)}
.hero-date{font-size:10px;text-transform:uppercase;color:#192b36;margin-bottom:18px}.hero h1{font-size:31px;line-height:1.25;margin:0 0 15px;color:#10293c}.hero p{font-size:13px;line-height:1.8;margin:0 0 17px}.btn{display:inline-block;background:var(--navy2);color:#fff;padding:11px 16px;border-radius:5px;font-size:11px}
.arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:39px;height:39px;border-radius:50%;border:1px solid var(--gold);background:var(--navy2);color:var(--gold);font-size:27px;display:grid;place-items:center}.arrow.left{left:10px}.arrow.right{right:10px}
.dots{position:absolute;z-index:4;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:10px}.dot{width:10px;height:10px;border-radius:50%;border:1px solid #fff}.dot.active{background:var(--gold)}
.section{margin-top:22px}.section-head{display:flex;align-items:center;justify-content:space-between;color:#fff;margin-bottom:10px}.section-head h2{font-size:22px;font-weight:400;margin:0}.section-head h2:before{content:"▣";color:var(--gold);margin-right:12px}.section-head a{color:var(--gold2);font-size:12px}
.latest{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.card{background:var(--cream2);border:1px solid var(--gold);border-radius:7px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.card-img{height:120px;background:#203b49;overflow:hidden}.card-img img{width:100%;height:100%;object-fit:cover}.card-body{padding:10px 12px 13px;flex:1}.card-cat{font-size:9px;text-transform:uppercase;color:#253744;margin-bottom:8px}.card h3{font-size:16px;line-height:1.45;font-weight:400;margin:0 0 9px;color:#152a39}.card-date{font-size:10px;color:#243641;margin-top:auto}
.discovery{margin-top:15px}.discovery-title{text-align:center;color:#fff;font-size:23px;font-weight:400;margin:14px 0 11px}.discovery-title:before{content:"✦  ";color:var(--gold)}.discovery-title:after{content:"  ✦";color:var(--gold)}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.cat{background:var(--cream2);border:1px solid var(--gold);border-radius:7px;overflow:hidden;display:flex;flex-direction:column;min-height:133px}.cat-img{height:84px;background:linear-gradient(135deg,#17384b,#0c2637);overflow:hidden}.cat-img img{width:100%;height:100%;object-fit:cover}.cat-label{margin-top:auto;background:var(--cream2);padding:8px 5px 9px;text-align:center;font-size:12px;line-height:1.2;color:#101f2a;text-transform:uppercase}.cat:hover .cat-label{background:#e5d1a3}
.contact-tile{margin:12px auto 0;width:205px;border:1px solid var(--gold);border-radius:6px;padding:9px;text-align:center;color:var(--gold2);font-size:14px;cursor:pointer}
.footer{position:relative;background:var(--navy);color:#fff;border-top:1px solid var(--gold);padding-top:0;overflow:hidden}
.branches{position:relative;height:112px;display:block;overflow:hidden}
.branch-img{position:absolute;top:8px;width:185px;height:96px;object-fit:contain}
.branch-left{left:16px}
.branch-right{right:16px}
.quote{position:absolute;z-index:2;top:28px;left:50%;transform:translateX(-50%);width:min(600px,52%);text-align:center;color:var(--gold2);font-style:italic;font-size:16px;line-height:1.4;padding:0}
.quote strong{display:block;font-style:normal;font-size:12px;margin-top:7px}
.footer-line{border-top:1px solid rgba(212,173,85,.4);padding:13px 0 15px;text-align:center;color:#c7c9c5;font:10px Arial}
@media(max-width:700px){
  .branches{height:105px}
  .branch-img{width:150px;height:88px;top:8px}
  .branch-left{left:5px}
  .branch-right{right:5px}
  .quote{top:25px;width:56%;font-size:13px;line-height:1.35}
  .quote strong{font-size:10px;margin-top:5px}
}
@media(max-width:520px){
  .branches{height:96px}
  .branch-img{width:125px;height:76px;top:8px}
  .branch-left{left:0}
  .branch-right{right:0}
  .quote{top:21px;width:55%;font-size:11px}
  .quote strong{font-size:9px;margin-top:4px}
}
@media(max-width:700px){
  .branches{height:100px}
  .branch-img{width:205px;height:auto;top:5px}
  .branch-left{left:8px}
  .branch-right{right:8px}
  .quote{top:23px;width:58%;font-size:13px;line-height:1.35}
  .quote strong{font-size:10px;margin-top:6px}
}
@media(max-width:520px){
  .branches{height:92px}
  .branch-img{width:170px;top:7px}
  .branch-left{left:3px}
  .branch-right{right:3px}
  .quote{top:19px;width:55%;font-size:11px}
  .quote strong{font-size:9px;margin-top:5px}
}
.page-main{background:var(--cream2);color:var(--text);padding:28px 0 50px;min-height:500px}.breadcrumb{font:11px Arial;color:#7b7d79;margin-bottom:12px}.category-banner{height:220px;position:relative;border:1px solid var(--gold);border-radius:7px;overflow:hidden;background:var(--navy2)}.category-banner img{width:100%;height:100%;object-fit:cover;opacity:.55}.category-banner:after{content:"";position:absolute;inset:0;background:rgba(8,29,43,.38)}.category-banner h1{position:absolute;z-index:2;left:32px;bottom:27px;color:#fff;font-size:43px;font-weight:400;margin:0}.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.page-card{background:#fffaf0;border:1px solid #d4c6aa;border-radius:6px;overflow:hidden}.page-card img{width:100%;height:175px;object-fit:cover}.page-card .inside{padding:15px}.page-card h2{font-size:21px;line-height:1.3;font-weight:400;color:#142c3d;margin:0 0 8px}.page-card p{font:12px/1.65 Arial;color:#5e6262}.page-card .read{font:bold 10px Arial;color:#17384b}
.single{background:var(--cream2);color:var(--text);padding:30px 0 60px}.single-content{max-width:900px;margin:auto}.single h1{font-size:43px;font-weight:400;color:#122c40;text-align:center;line-height:1.18;margin:8px 0}.single .meta{text-align:center;font:10px Arial;color:#8a7c61}.feature{margin:24px auto;border:1px solid #c7ad74}.entry{font:16px/1.85 Georgia,serif}.entry h2,.entry h3{color:#12344a;font-weight:400}.entry img{margin:20px auto}.comments{margin-top:40px;border-top:1px solid #cbbd9f;padding-top:20px}.comments h2{font-size:27px;font-weight:400;color:#15374e}.comment-form input,.comment-form textarea{width:100%;border:1px solid #cbbd9f;background:#fffaf0;padding:10px;margin:5px 0 10px;font:13px Arial}.comment-form .submit{background:var(--navy2);color:#fff;border:0;padding:10px 15px}
.towns{background:var(--cream2);padding:28px 0 50px;min-height:500px}.towns h1{text-align:center;font-size:40px;font-weight:400;color:#12334a}.town-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.town{border:1px solid #cdbb95;background:#fffaf0;padding:11px 5px;text-align:center;border-radius:5px;font-size:13px;color:#173449}.town:hover{background:#e7d4a7}
.modal{display:none;position:fixed;z-index:9999;inset:0;background:rgba(0,0,0,.7);align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-box{width:min(600px,100%);background:var(--cream2);border:1px solid var(--gold);border-radius:8px;padding:28px;position:relative}.modal-box h2{font-size:34px;font-weight:400;color:#12344a;margin:0 0 15px}.close{position:absolute;right:12px;top:7px;border:0;background:none;font-size:28px;color:#173449;cursor:pointer}.form input,.form textarea{width:100%;padding:11px;border:1px solid #c8b895;background:#fffaf0;margin:5px 0 12px;font:13px Arial}.form textarea{min-height:150px}
@media(max-width:1050px){.latest{grid-template-columns:repeat(3,1fr)}.category-grid{grid-template-columns:repeat(4,1fr)}.town-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.container{width:calc(100% - 22px)}.header-inner{flex-direction:column;align-items:flex-start}.logo{width:370px;max-width:100%}.top-links{display:none}.header-tools{width:100%;justify-content:flex-end}.search input{width:210px}.nav{overflow:auto;flex-wrap:nowrap}.nav a{font-size:9px}.hero{height:500px}.hero-box{left:18px;right:18px;width:auto;top:auto;bottom:20px}.latest,.posts{grid-template-columns:1fr 1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.town-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.latest,.posts{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:26px}.category-banner h1{font-size:34px}}


/* CATEGORY PAGES – refined section header */
.category-hero{height:310px;border:1px solid var(--gold);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.category-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,25,39,.78) 0%,rgba(7,25,39,.35) 45%,rgba(7,25,39,.08) 100%);z-index:1}
.category-title-wrap{position:absolute;z-index:2;left:48px;bottom:38px}
.category-title{position:static;margin:0;color:#fff;font:600 58px/1 "Cormorant Garamond",Georgia,serif;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.category-rule{display:block;width:230px;height:3px;background:var(--gold);margin-top:16px;position:relative}
.category-rule:after{content:'›››';position:absolute;right:-8px;top:-14px;color:var(--gold);font:700 24px Arial;letter-spacing:-7px}
.category-heading{margin-top:30px}
.category-heading:before{width:32px;height:32px;background:transparent;border:2px solid var(--gold);border-radius:4px;position:relative}
.category-articles{padding-bottom:5px}
@media(max-width:760px){.category-hero{height:250px}.category-title-wrap{left:28px;bottom:27px}.category-title{font-size:46px}}

/* FINAL CATEGORY PAGE – same visual language as the accepted homepage */
.category-page{background:var(--navy);color:#fff;padding:20px 0 48px;min-height:620px}
.category-breadcrumb{display:flex;gap:9px;align-items:center;color:var(--gold2);font:12px "Libre Baskerville",Georgia,serif;margin:0 0 14px;padding-left:14px}
.category-breadcrumb a{color:var(--gold2)}
.category-breadcrumb span{color:var(--gold);font-size:17px}
.category-page .category-hero{height:310px;position:relative;border:1px solid var(--gold);border-radius:10px;overflow:hidden;background:var(--navy2);box-shadow:0 7px 25px rgba(0,0,0,.25)}
.category-page .category-hero>img{width:100%;height:100%;object-fit:cover;object-position:center;opacity:.9}
.category-page .category-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,20,30,.82) 0%,rgba(5,20,30,.48) 39%,rgba(5,20,30,.08) 75%);z-index:1}
.category-page .category-title-wrap{position:absolute;z-index:2;left:52px;bottom:40px}
.category-page .category-title{margin:0;color:#fff;font:600 64px/.95 "Cormorant Garamond",Georgia,serif;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.category-page .category-rule{display:block;width:250px;height:3px;background:var(--gold);margin-top:18px;position:relative}
.category-page .category-rule:after{content:'›››';position:absolute;right:-8px;top:-15px;color:var(--gold);font:700 25px Arial;letter-spacing:-7px}
.category-articles{padding-top:25px}
.category-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 12px}
.category-section-title{display:flex;align-items:center;gap:14px;min-width:0}
.category-section-title h2{margin:0;color:#fff;font:500 24px/1.1 "Cormorant Garamond",Georgia,serif;letter-spacing:.3px}
.category-section-icon{width:31px;height:31px;display:grid;place-items:center;border:2px solid var(--gold);border-radius:5px;color:var(--gold);font:700 21px/1 Arial;flex:none}
.category-all{color:var(--gold2);font:600 11px "Libre Baskerville",Georgia,serif;white-space:nowrap}
.category-all span{font-size:18px;margin-left:6px}
.category-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;align-items:stretch}
.category-post-card{background:var(--cream2);border:1px solid var(--gold);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;min-width:0;min-height:380px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.category-post-image{display:block;height:145px;background:#17384b;overflow:hidden;flex:none}
.category-post-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.category-post-image .no-image{display:block;width:100%;height:100%;background:linear-gradient(135deg,#203e4e,#0d2738)}
.category-post-body{padding:13px 13px 14px;display:flex;flex-direction:column;flex:1;color:#101f2a}
.category-post-date{font:9px "Libre Baskerville",Georgia,serif;color:#1d2d38;text-transform:uppercase;margin-bottom:9px}
.category-post-body h3{margin:0 0 8px;color:#101f2a;font:500 18px/1.28 "Cormorant Garamond",Georgia,serif}
.category-post-body h3 a{color:#101f2a}
.category-post-body p{margin:0;color:#24343d;font:11px/1.65 "Libre Baskerville",Georgia,serif}
.category-read{margin-top:auto;align-self:flex-start;background:var(--navy2);color:#fff;padding:9px 12px;border-radius:4px;font:700 9px "Libre Baskerville",Georgia,serif}
.category-read span{color:var(--gold2);font-size:14px;margin-left:5px}
.category-empty{color:#fff;font:16px "Libre Baskerville",Georgia,serif}
.category-pagination{margin-top:25px;display:flex;justify-content:center;gap:7px}
.category-pagination a,.category-pagination span{display:inline-block;background:var(--navy2);color:#fff;border:1px solid var(--gold);padding:7px 11px;border-radius:4px;font:11px Arial}
.category-pagination .current{background:var(--gold);color:var(--navy)}

/* Keep the navigation bar identical and clearly framed on inner pages. */
.nav-wrap{border:1px solid var(--gold);border-radius:8px;margin:4px 0 14px;background:linear-gradient(180deg,#0a2131,#071d2b);box-shadow:0 3px 12px rgba(0,0,0,.18)}
.nav{min-height:47px;align-items:center}
.nav li{list-style:none;margin:0;padding:0}
.nav a{border-right:1px solid transparent;transition:background .15s ease,color .15s ease}
.nav li.current-menu-item>a,.nav li.current-cat>a,.nav li.current-menu-ancestor>a{background:linear-gradient(180deg,#cda858,#a98538);color:var(--navy);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.nav a:hover{background:rgba(212,173,85,.14);color:var(--gold2)}
.nav .home{background:linear-gradient(180deg,#d4ad55,#a9873e);color:var(--navy);border:1px solid var(--gold2)}

@media(max-width:1050px){.category-page .category-title{font-size:54px}}
@media(max-width:700px){.category-section-head{align-items:flex-start;flex-direction:column}.category-page .category-hero{height:250px}.category-page .category-title-wrap{left:28px;bottom:27px}.category-page .category-title{font-size:46px}}
@media(max-width:460px){.category-page .category-title{font-size:40px}.category-section-title h2{font-size:21px}}
.category-page .town-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.category-page .town{display:block;border:1px solid var(--gold);background:var(--cream2);padding:11px 5px;text-align:center;border-radius:6px;font:500 15px "Cormorant Garamond",Georgia,serif;color:#101f2a}
.category-page .town:hover{background:#e5d1a3;color:#101f2a}
@media(max-width:1050px){.category-page .town-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.category-page .town-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Final polish – header, navigation and exact footer branches */
.top-links{display:none!important}
.header-inner{min-height:116px;padding:10px 0 12px}
.logo{width:470px;max-width:52vw}
.header-tools{margin-top:4px}
.nav-wrap{position:relative;margin:2px auto 14px;border:1px solid var(--gold);border-radius:8px;background:linear-gradient(180deg,#0b2435 0%,#071d2b 100%);box-shadow:0 4px 14px rgba(0,0,0,.22);padding:2px 7px}
.nav-wrap:before,.nav-wrap:after{position:absolute;top:50%;transform:translateY(-50%);color:var(--gold);font:700 18px Georgia,serif;line-height:1}
.nav-wrap:before{content:'❧';left:-14px}.nav-wrap:after{content:'❧';right:-14px;transform:translateY(-50%) scaleX(-1)}
.nav{justify-content:center;gap:1px;min-height:47px}
.nav a{padding:11px 9px;border-radius:3px}
.nav .home{margin:3px 8px 3px 2px}
.nav li.current-menu-item>a,.nav li.current-cat>a,.nav li.current-menu-ancestor>a{background:linear-gradient(180deg,#d6b25f,#a78337);color:var(--navy);box-shadow:0 0 0 1px rgba(239,210,139,.45),inset 0 0 10px rgba(255,255,255,.12)}
.footer{background:var(--navy);border-top:1px solid rgba(212,173,85,.45);padding-top:0;overflow:hidden}
.branches{height:112px;position:relative;display:block;overflow:hidden}
.branch-img{position:absolute;bottom:0;width:255px;height:111px;object-fit:cover;object-position:center bottom;mix-blend-mode:normal}
.branch-left{left:0}.branch-right{right:0}
.quote{position:absolute;left:0;right:0;margin-top:-92px;z-index:2;padding:0 280px 16px;font-size:17px;line-height:1.45}
.footer .quote strong{font-size:12px}
.footer-line{padding-top:12px}
.category-page .category-hero>img{object-fit:cover;object-position:center 42%;}
.category-post-image img{object-fit:cover;object-position:center 45%;}
@media(max-width:900px){.nav{justify-content:flex-start}.nav-wrap:before,.nav-wrap:after{display:none}.quote{position:relative;margin-top:0;padding:4px 170px 16px}.branches{height:95px}.branch-img{width:210px;height:92px}}
@media(max-width:700px){.header-inner{min-height:0}.logo{width:370px;max-width:100%}.quote{padding:6px 20px 16px}.branches{height:82px}.branch-img{width:180px;height:79px}}

.category-post-body p,.page-card p{text-align:justify;text-justify:inter-word}
.entry{text-align:justify}

/* FINAL TEXT ALIGNMENT – requested on inner pages */
.category-page,
.category-page .category-section-head,
.category-page .category-section-title,
.category-page .category-section-title h2,
.category-page .category-breadcrumb,
.category-page .category-all,
.page-main,
.page-main .single-content,
.single,
.single-content,
.entry,
.entry p,
.entry li,
.towns,
.towns p,
.towns .town-grid,
.modal-box,
.form {
  text-align: justify;
  text-justify: inter-word;
}

/* Keep headings visually balanced while body copy is justified. */
.category-page .category-title,
.category-page .category-section-title h2,
.page-main h1,
.page-main h2,
.single h1,
.single h2,
.single h3,
.towns h1,
.modal-box h2 {
  text-align: center;
}

/* Navigation: distribute category labels evenly across the bar. */
.nav-wrap .nav {
  justify-content: space-between;
  text-align: justify;
}
.nav-wrap .nav li {
  flex: 0 0 auto;
}
.nav-wrap .nav a {
  text-align: justify;
  text-justify: inter-word;
}

/* Header text areas use the same clean alignment without affecting the logo/search controls. */
.top-links,
.header-tools {
  text-align: justify;
  text-justify: inter-word;
}

@media(max-width:900px){
  .nav-wrap .nav{justify-content:flex-start}
}


/* FINAL HORIZONTAL ALIGNMENT — navigation uses the same container edges as page content */
.site-header > .nav-wrap {
  width: min(1180px, calc(100% - 38px));
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width:700px){
  .site-header > .nav-wrap { width: calc(100% - 22px); }
}


/* Navigation readability – larger, calmer and more elegant labels */
.nav-wrap .nav{column-gap:3px;row-gap:2px;padding:2px 4px}
.nav-wrap .nav a{font:600 12px/1.25 "Libre Baskerville",Georgia,serif;padding:12px 10px;letter-spacing:.05px}
.nav-wrap .nav .home{font-size:20px;padding:8px 13px}
@media(max-width:1050px){.nav-wrap .nav a{font-size:11px;padding:11px 8px}}
@media(max-width:700px){.nav-wrap .nav a{font-size:10px;padding:10px 8px}.nav-wrap .nav{gap:2px}}

/* FINAL ALIGNMENT FIX: navigation must share exactly the same horizontal grid as .container */
.site-header > .nav-wrap {
  width: calc(100% - 38px) !important;
  max-width: 1180px !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Keep the main content and navigation on the exact same left/right edges. */
.category-page > .container,
.page-main > .container,
.single > .container,
.site-header > .nav-wrap {
  box-sizing: border-box;
}
@media (max-width:700px){
  .site-header > .nav-wrap { width: calc(100% - 22px) !important; }
}

/* FINAL ALIGNMENT + SEARCH RESULTS */
.container{width:min(1180px,calc(100% - 38px));margin-left:auto!important;margin-right:auto!important}
.header-inner,.nav-wrap{width:min(1180px,calc(100% - 38px));margin-left:auto!important;margin-right:auto!important}
.nav-wrap{padding:0}
main.container,.category-page .container,.search-page .container{width:min(1180px,calc(100% - 38px));margin-left:auto!important;margin-right:auto!important}
.nav{width:100%;justify-content:space-between}
.site-header .header-inner{align-items:center}
.site-header .header-tools{justify-content:flex-end}
.footer{width:100%}
.footer .quote,.footer .footer-line{max-width:1180px;margin-left:auto;margin-right:auto}
.footer .branches{width:min(1180px,calc(100% - 38px));margin-left:auto;margin-right:auto}
.hero,.latest,.discovery,.category-grid,.category-hero,.category-post-grid{width:100%}

/* text alignment */
.hero-box p,.card-body,.category-post-body,.page-main,.single-content,.search-page,.category-page{ text-align:justify }
.hero h1,.section-head h2,.discovery-title,.category-title,.category-post-body h3,.search-results-title{ text-align:left }

/* category article cards */
.category-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;align-items:stretch}
.category-post-card{height:100%;min-height:380px}
.category-post-image{height:145px;flex:none}
.category-post-body{min-height:235px}
.category-post-body p{ text-align:justify }

/* search results: same cards, below heading */
.search-page{background:var(--navy);color:#fff;padding:28px 0 50px;min-height:620px}
.search-results-title{margin:0 0 8px;color:#fff;font:600 42px/1.05 "Cormorant Garamond",Georgia,serif}
.search-query{margin:0 0 22px;color:#fff;font:13px/1.6 "Libre Baskerville",Georgia,serif}
.search-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;align-items:stretch}
.search-post-grid .category-post-card{min-width:0;height:100%}
.search-post-grid .category-post-body{min-height:235px}
.search-post-grid .category-post-body p{text-align:justify}
.search-post-grid + .pagination{clear:both}

/* category pages: no extra heading; cards align to container */
.category-articles{padding-top:25px}
.category-post-grid{margin-left:0;margin-right:0}
.category-post-grid .category-post-card{width:100%}

/* footer and navigation share the exact content axis */
.site-header,.footer{width:100%}
@media(max-width:1050px){
 .category-post-grid,.search-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .category-post-grid,.search-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nav{justify-content:flex-start}
}
@media(max-width:520px){
 .category-post-grid,.search-post-grid{grid-template-columns:1fr}
}


/* DEFINITIVE LAYOUT FIX – v3.0.3
   One shared horizontal grid for header, navigation, content and footer.
*/
:root{--content-width:1180px;--content-gap:19px}
.container,.header-inner,.nav-wrap,.footer .branches,.footer .quote,.footer .footer-line{
  width:min(var(--content-width),calc(100% - (var(--content-gap) * 2))) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.site-header{width:100%;}
.header-inner{padding-left:0 !important;padding-right:0 !important;}
.nav-wrap{padding-left:7px !important;padding-right:7px !important;}
main.container,.category-page>.container,.search-page>.container{width:min(var(--content-width),calc(100% - (var(--content-gap) * 2))) !important;}
/* The footer decorations remain on the same content axis; quote and copyright align with it. */
.footer .branches{position:relative;}
.footer .quote{left:auto;right:auto;}
.footer .footer-line{text-align:center !important;}
/* Body copy is justified; structural headings remain deliberately aligned. */
.entry,.entry p,.entry li,.category-post-body p,.search-post-grid .category-post-body p,.page-card p{text-align:justify !important;text-justify:inter-word;}
/* Category/search cards: fill the available row. Four cards therefore become four equal columns; five become five. */
.category-post-grid,.search-post-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr)) !important;
  gap:12px !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  align-items:stretch !important;
}
.category-post-card,.search-post-grid .category-post-card{
  width:100% !important;
  height:100% !important;
  min-height:380px;
}
.category-post-body{display:flex !important;flex-direction:column !important;min-height:235px;}
.category-post-body .category-read{margin-top:auto;}
/* Search results: heading first, grid below it, never beside it. */
.search-page{display:block !important;}
.search-page>.container{display:block !important;}
.search-results-title,.search-query{display:block !important;width:100% !important;}
.search-post-grid{clear:both !important;float:none !important;}
/* Category pages: no extra section heading; cards align directly to the banner/content grid. */
.category-articles{width:100% !important;padding-top:25px !important;}
.category-articles .category-post-grid{width:100% !important;}
@media(max-width:700px){
  :root{--content-gap:11px}
  .container,.header-inner,.nav-wrap,.footer .branches,.footer .quote,.footer .footer-line,
  main.container,.category-page>.container,.search-page>.container{width:calc(100% - (var(--content-gap) * 2)) !important;}
  .category-post-grid,.search-post-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:460px){
  .category-post-grid,.search-post-grid{grid-template-columns:1fr !important;}
}

/* SEARCH PAGE – force the results area to use the full shared content width. */
main.search-page{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:28px 0 50px !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
main.search-page > .container{
  display:block !important;
  width:min(1180px, calc(100% - 38px)) !important;
  max-width:1180px !important;
  min-width:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  grid-column:auto !important;
}
main.search-page .search-results-title,
main.search-page .search-query{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  float:none !important;
  clear:both !important;
}
main.search-page .search-post-grid{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
main.search-page .search-post-grid .category-post-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
}
@media(max-width:1050px){
  main.search-page > .container{width:calc(100% - 38px) !important;}
  main.search-page .search-post-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media(max-width:700px){
  main.search-page > .container{width:calc(100% - 22px) !important;}
  main.search-page .search-post-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:460px){
  main.search-page .search-post-grid{grid-template-columns:1fr !important;}
}

/* CATEGORY CARDS – definitive alignment and removal of injected share button */
.category-page .category-articles,
.category-page .category-post-grid {
  clear: both !important;
  float: none !important;
}
.category-page .category-post-grid {
  display: grid !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}
.category-page .category-post-card {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 380px !important;
  height: 100% !important;
  margin: 0 !important;
}
/* Hide social/share widgets injected by plugins on category pages only. */
.category-page .sharedaddy,
.category-page .sd-sharing-enabled,
.category-page .fb-share-button,
.category-page .heateor_sss_sharing_container,
.category-page .addtoany_share_save_container,
.category-page .wp-socializer,
.category-page .social-share,
.category-page [class*="facebook-share"],
.category-page [class*="share-button"] {
  display: none !important;
}
@media (max-width:1050px){
  .category-page .category-post-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width:760px){
  .category-page .category-post-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:520px){
  .category-page .category-post-grid { grid-template-columns:1fr !important; }
}

/* FINAL COMBINED FIX – category cards + search results */
.category-page .category-articles{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  float:none !important;
  clear:both !important;
  overflow:visible !important;
}
.category-page .category-post-grid{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr)) !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  align-items:stretch !important;
}
.category-page .category-post-card{
  width:100% !important;
  min-width:0 !important;
  height:100% !important;
  min-height:380px !important;
  margin:0 !important;
}
/* Hide common sharing widgets on category archives. */
body.category .sharedaddy,
body.category .sd-sharing-enabled,
body.category .sd-social,
body.category .sharing-buttons,
body.category .share-buttons,
body.category .social-share,
body.category .fb-share-button,
body.category .heateor_sss_sharing_container,
body.category .addtoany_share_save_container,
body.category .wp-socializer,
body.category [class*="facebook-share"],
body.category [class*="share-button"]{display:none !important;}

/* Search archives occupy the full viewport even if a plugin/theme wrapper constrains the main element. */
main.search-page{
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:0 !important;
  float:none !important;
  clear:both !important;
}
main.search-page > .container{
  width:min(1180px,calc(100vw - 38px)) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
main.search-page .search-post-grid{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr)) !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  align-items:stretch !important;
}
main.search-page .search-post-grid .category-post-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:100% !important;
  min-height:380px !important;
  margin:0 !important;
}
@media(max-width:700px){
  main.search-page > .container{width:calc(100vw - 22px) !important;}
  main.search-page .search-post-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:460px){
  main.search-page .search-post-grid{grid-template-columns:1fr !important;}
}


/* REAL FIX 2026-08-22 – structural overrides */
main.search-page{display:block!important;width:100vw!important;max-width:none!important;float:none!important;clear:both!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;position:relative!important;}
main.search-page>.container{display:block!important;width:min(1180px,calc(100vw - 38px))!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;float:none!important;clear:both!important;position:relative!important;}
main.search-page .search-results-title,main.search-page .search-query{display:block!important;width:100%!important;float:none!important;clear:both!important;margin-left:0!important;margin-right:0!important;}
main.search-page .search-post-grid{display:grid!important;width:100%!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important;float:none!important;clear:both!important;align-items:stretch!important;}
main.search-page .search-post-grid>.category-post-card{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;height:100%!important;}
.category-page>.container{width:min(1180px,calc(100% - 38px))!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;float:none!important;clear:both!important;}
.category-page .category-post-grid{display:grid!important;width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important;float:none!important;clear:both!important;align-items:stretch!important;}
.category-page .category-post-grid>.category-post-card{width:100%!important;min-width:0!important;margin:0!important;height:100%!important;}
@media(max-width:1050px){main.search-page .search-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.category-page .category-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){main.search-page>.container,.category-page>.container{width:calc(100% - 22px)!important}main.search-page .search-post-grid,.category-page .category-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:460px){main.search-page .search-post-grid,.category-page .category-post-grid{grid-template-columns:1fr!important}}
body.category .sharedaddy,body.category .sd-sharing-enabled,body.category .sd-social,body.category .sharing-buttons,body.category .share-buttons,body.category .social-share,body.category .fb-share-button,body.category .heateor_sss_sharing_container,body.category .addtoany_share_save_container{display:none!important}

/* HARD LAYOUT FIX – search results and category card grid */
.category-grid-shell{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
  position:relative!important;
  overflow:visible!important;
}
.category-grid-shell::before,.category-grid-shell::after{content:"";display:table;clear:both}
.category-page .category-articles{display:block!important;width:100%!important;max-width:none!important;position:relative!important;float:none!important;clear:both!important}
.category-page .category-post-grid{display:grid!important;position:relative!important;left:0!important;right:auto!important;transform:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;clear:both!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.category-page .category-post-grid>.category-post-card{grid-column:auto!important;justify-self:stretch!important;align-self:stretch!important;margin:0!important;width:100%!important;min-width:0!important;max-width:none!important}

/* Search is deliberately isolated from any column/sidebar layout inherited elsewhere. */
body.search main.search-page,body.search-results main.search-page{
  display:block!important;
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:28px 0 50px!important;
  grid-column:1 / -1!important;
  grid-row:auto!important;
  justify-self:stretch!important;
  align-self:start!important;
}
body.search main.search-page>.container,body.search-results main.search-page>.container{
  display:block!important;
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
  width:min(1180px,calc(100% - 38px))!important;
  max-width:1180px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
  grid-column:1 / -1!important;
}
body.search main.search-page .search-post-grid,body.search-results main.search-page .search-post-grid{
  display:grid!important;
  position:relative!important;
  inset:auto!important;
  left:0!important;
  right:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
body.search main.search-page .search-post-grid>.category-post-card,body.search-results main.search-page .search-post-grid>.category-post-card{
  width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;height:100%!important;justify-self:stretch!important;align-self:stretch!important;
}
@media(max-width:1050px){
 .category-page .category-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.search main.search-page .search-post-grid,body.search-results main.search-page .search-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
 .category-page .category-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.search main.search-page>.container,body.search-results main.search-page>.container{width:calc(100% - 22px)!important}
 body.search main.search-page .search-post-grid,body.search-results main.search-page .search-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
 .category-page .category-post-grid{grid-template-columns:1fr!important}
 body.search main.search-page .search-post-grid,body.search-results main.search-page .search-post-grid{grid-template-columns:1fr!important}
}

/* DEFINITIVE REAL FIX: category/search layouts and share buttons */
.z-category-container,.z-search-container{width:min(1180px,calc(100% - 38px)) !important;max-width:1180px !important;margin:0 auto !important;float:none !important;clear:both !important;display:block !important;}
.z-category-articles{display:block !important;width:100% !important;clear:both !important;float:none !important;position:relative !important;}
.z-category-grid{display:grid !important;width:100% !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:18px !important;align-items:stretch !important;justify-content:stretch !important;margin:0 !important;padding:0 !important;float:none !important;clear:both !important;}
.z-category-grid .category-post-card{width:100% !important;min-width:0 !important;height:100% !important;min-height:380px !important;float:none !important;margin:0 !important;}
.z-search-page{display:block !important;width:100% !important;clear:both !important;float:none !important;position:relative !important;}
.z-search-container{display:block !important;}
.z-search-grid{display:grid !important;width:100% !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:18px !important;align-items:stretch !important;justify-content:stretch !important;margin:0 !important;padding:0 !important;float:none !important;clear:both !important;}
.z-search-grid .category-post-card{width:100% !important;min-width:0 !important;height:100% !important;min-height:380px !important;float:none !important;margin:0 !important;}
/* Hide sharing widgets on category/search pages; they must never participate in layout. */
.category-page .sharedaddy,.category-page .sd-sharing-enabled,.category-page .sd-sharing,.category-page .heateor_sss_sharing_container,.category-page .heateor_sss_vertical_sharing,.category-page .addtoany_share_save_container,.category-page .shareaholic-share-buttons,.category-page [class*="share"].jp-relatedposts,.search-page .sharedaddy,.search-page .sd-sharing-enabled,.search-page .sd-sharing,.search-page .heateor_sss_sharing_container,.search-page .addtoany_share_save_container{display:none !important;}
@media(max-width:1050px){.z-category-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}.z-search-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media(max-width:760px){.z-category-grid,.z-search-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:520px){.z-category-grid,.z-search-grid{grid-template-columns:1fr !important}}


/* GUARANTEED FINAL GRID FIX 2026-08-22 */
body.search main.search-page,
body.search-results main.search-page{
  display:block !important;
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  padding:28px 0 50px !important;
}
body.search main.search-page > .container,
body.search-results main.search-page > .container{
  display:block !important;
  width:min(1180px,calc(100vw - 38px)) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  float:none !important;
  clear:both !important;
}
body.search main.search-page .search-post-grid,
body.search-results main.search-page .search-post-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  width:100% !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  align-items:stretch !important;
}
body.search main.search-page .search-post-grid > .category-post-card,
body.search-results main.search-page .search-post-grid > .category-post-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  height:100% !important;
}
body.search .search-results-title,
body.search-results .search-results-title,
body.search .search-query,
body.search-results .search-query{
  display:block !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  float:none !important;
  clear:both !important;
}
body.category .category-page > .container{
  width:min(1180px,calc(100vw - 38px)) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.category .category-post-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  width:100% !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  align-items:stretch !important;
}
body.category .category-post-grid > .category-post-card{
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  height:100% !important;
}
@media(max-width:1050px){
 body.search main.search-page .search-post-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
 body.category .category-post-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:700px){
 body.search main.search-page > .container,body.category .category-page > .container{width:calc(100vw - 22px) !important}
 body.search main.search-page .search-post-grid,body.category .category-post-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:460px){
 body.search main.search-page .search-post-grid,body.category .category-post-grid{grid-template-columns:1fr !important}
}


/* ZASTAWIE 3.2.0 — FINAL STRUCTURAL FIX FOR CATEGORY + SEARCH */
/* Force WordPress/plugin wrappers to stop creating a side-by-side layout. */
html body.search,
html body.search-results,
html body.category{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
html body.search > .site-header,
html body.search-results > .site-header,
html body.category > .site-header{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  float:none !important;
  clear:both !important;
}
html body.search > main.search-page,
html body.search-results > main.search-page,
html body.category > main.category-page{
  display:block !important;
  position:relative !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:28px 0 50px !important;
  float:none !important;
  clear:both !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  grid-column:auto !important;
}

/* The content wrapper always follows the same 1180px axis as the hero/banner. */
html body.search .z-search-container,
html body.search-results .z-search-container,
html body.category .z-category-container{
  display:block !important;
  width:min(1180px,calc(100% - 38px)) !important;
  max-width:1180px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
}

/* Search: heading first, then one full-width card grid. */
html body.search .search-results-title,
html body.search-results .search-results-title,
html body.search .search-query,
html body.search-results .search-query{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  float:none !important;
  clear:both !important;
}
html body.search .search-post-grid,
html body.search-results .search-post-grid,
html body.search [data-z-search-grid],
html body.search-results [data-z-search-grid]{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  align-items:stretch !important;
}
html body.search .search-post-grid > .category-post-card,
html body.search-results .search-post-grid > .category-post-card{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:380px !important;
  height:100% !important;
  margin:0 !important;
  float:none !important;
  grid-column:auto !important;
}
/* If a sharing/plugin element is injected into the grid, it must not occupy a grid cell. */
html body.search .search-post-grid > :not(.category-post-card),
html body.search-results .search-post-grid > :not(.category-post-card){display:none !important;}

/* Categories: four cards from the exact left edge of the hero/banner. */
html body.category .z-category-articles{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:25px 0 0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
}
html body.category .z-category-grid,
html body.category [data-z-category-grid]{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  align-items:stretch !important;
}
html body.category .z-category-grid > .category-post-card,
html body.category [data-z-category-grid] > .category-post-card{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:380px !important;
  height:100% !important;
  margin:0 !important;
  float:none !important;
  grid-column:auto !important;
  justify-self:stretch !important;
}
/* Absolutely prevent an injected share/empty/plugin element from creating the blank first column. */
html body.category .z-category-grid > :not(.category-post-card),
html body.category [data-z-category-grid] > :not(.category-post-card){display:none !important;}

/* Sharing widgets are not part of the category content. */
html body.category .sharedaddy,
html body.category .sd-sharing-enabled,
html body.category .sd-sharing,
html body.category .sd-social,
html body.category .fb-share-button,
html body.category .heateor_sss_sharing_container,
html body.category .heateor_sss_vertical_sharing,
html body.category .addtoany_share_save_container,
html body.category .social-share,
html body.category .share-buttons,
html body.category [class*="facebook-share"],
html body.category [class*="share-button"]{display:none !important;}

@media(max-width:1050px){
  html body.search .search-post-grid,html body.search-results .search-post-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
  html body.category .z-category-grid,html body.category [data-z-category-grid]{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media(max-width:700px){
  html body.search .z-search-container,html body.search-results .z-search-container,html body.category .z-category-container{width:calc(100% - 22px) !important;}
  html body.search .search-post-grid,html body.search-results .search-post-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  html body.category .z-category-grid,html body.category [data-z-category-grid]{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:460px){
  html body.search .search-post-grid,html body.search-results .search-post-grid{grid-template-columns:1fr !important;}
  html body.category .z-category-grid,html body.category [data-z-category-grid]{grid-template-columns:1fr !important;}
}


/* =========================================================
   KOMENTARZE – STYL SKÓRKI
   ========================================================= */
main.single.article-page .comments,
.single .comments{
  margin-top:48px !important;
  padding-top:24px !important;
  border-top:1px solid #cbbd9f !important;
}
.comments h2,.comments-title{
  font-family:"Cormorant Garamond",Georgia,serif !important;
  font-size:29px !important;
  font-weight:500 !important;
  color:#15374e !important;
  margin:0 0 20px !important;
}
.comments-area .comment-list{
  list-style:none;
  padding:0;
  margin:0 0 28px;
}
.comments-area .comment-list .comment{
  margin:0 0 18px;
  padding:16px 18px;
  background:#f3ead8;
  border:1px solid #d8c9ae;
}
.comments-area .comment-list .comment-meta{
  font:11px/1.4 Arial,sans-serif;
  color:#7d705e;
  margin-bottom:8px;
}
.comments-area .comment-list .comment-content{
  font:14px/1.7 Georgia,"Times New Roman",serif;
}
.comments-area .comment-list .comment-content p{margin:0 0 8px !important}
.comments-area .comment-reply-link{
  font:11px Arial,sans-serif;
  color:#8b6a2d;
}
.comments-area .comment-form{
  margin-top:22px;
  padding:24px;
  background:#f3ead8;
  border:1px solid #d8c9ae;
}
.comments-area .comment-form label{
  display:block;
  font:12px/1.4 Arial,sans-serif;
  color:#6e6252;
  margin-bottom:5px;
}
.comments-area .comment-form input:not(.submit),
.comments-area .comment-form textarea{
  display:block;
  width:100%;
  max-width:100%;
  border:1px solid #cbbd9f;
  background:#fffaf0;
  color:#27313a;
  padding:10px 11px;
  margin:0 0 14px;
  font:13px/1.5 Arial,sans-serif;
  box-sizing:border-box;
}
.comments-area .comment-form textarea{resize:vertical}
.comments-area .comment-form .submit{
  background:#15374e;
  color:#fff;
  border:1px solid #d4ad55;
  padding:11px 17px;
  font:11px/1 Arial,sans-serif;
  letter-spacing:.04em;
  cursor:pointer;
}
.comments-area .comment-notes,
.comments-area .no-comments{
  font:12px/1.6 Arial,sans-serif;
  color:#7b7165;
}
.comments-area .required{color:#8d2f24}

/* Ochrona przed łatwym kopiowaniem – pola formularzy pozostają edytowalne. */
body{
  -webkit-user-select:none;
  -moz-user-select:none;
  user-select:none;
}
input,textarea,select,button,[contenteditable="true"]{
  -webkit-user-select:text;
  -moz-user-select:text;
  user-select:text;
}
img{
  -webkit-user-drag:none;
  user-drag:none;
}



/* =========================================================
   ARTYKUŁ – BOCZNE GRANATOWE MARGINESY
   Centralne jasne pole zaczyna się dokładnie po granatowym
   pasie i biegnie aż do stopki.
   ========================================================= */
html,body{
  margin:0 !important;
  padding:0 !important;
  background:var(--navy) !important;
}

/* Header i footer pozostają pełnej szerokości.
   Poniżej nagłówka granat jest widoczny po obu stronach
   jasnego centralnego pola aż do samej stopki. */
main.container.single.article-page{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:30px 0 60px !important;
  background:var(--navy) !important;
  box-sizing:border-box !important;
}

/* Jasny centralny blok – jego lewa i prawa krawędź
   są granicą granatowych marginesów. */
main.container.single.article-page > .single-wrap.article-shell{
  width:calc(100% - 112px) !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:38px 70px 52px !important;
  background:var(--cream2) !important;
  color:var(--text) !important;
  box-sizing:border-box !important;
}

/* Elementy artykułu mają być wewnątrz jasnego pasa,
   ale tekst nadal zachowuje swoją czytelną szerokość. */
main.container.single.article-page > .single-wrap.article-shell > *{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

main.container.single.article-page .single-header h1{
  text-align:left !important;
}

main.container.single.article-page .single-feature{
  width:auto !important;
  max-width:82% !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
main.container.single.article-page .single-feature img{
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}

main.container.single.article-page .entry-content img,
main.container.single.article-page .entry-content figure,
main.container.single.article-page .entry-content .wp-caption{
  height:auto !important;
  object-fit:contain !important;
}

@media(max-width:900px){
  main.container.single.article-page > .single-wrap.article-shell{
    width:calc(100% - 36px) !important;
    padding:30px 38px 44px !important;
  }
}
@media(max-width:700px){
  main.container.single.article-page{
    padding:18px 0 30px !important;
  }
  main.container.single.article-page > .single-wrap.article-shell{
    width:calc(100% - 24px) !important;
    padding:26px 22px 38px !important;
  }
}





/* =========================================================
   NAGŁÓWEK – WERSJA ZATWIERDZONA
   Zmieniony wyłącznie nagłówek.
   Stopka, gałązki stopki, menu i treść strony bez zmian.
   ========================================================= */
.site-header > .header-inner{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 430px !important;
  align-items:center !important;
  column-gap:24px !important;
  min-height:124px !important;
  height:124px !important;
  padding:8px 0 10px !important;
  box-sizing:border-box !important;
}

.site-header .zastawie-brand{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:16px !important;
  width:auto !important;
  max-width:100% !important;
  min-width:0 !important;
  height:110px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  text-decoration:none !important;
}

.site-header .zastawie-brand-tree{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:112px !important;
  height:108px !important;
  flex:0 0 112px !important;
  overflow:visible !important;
  margin:0 !important;
  padding:0 !important;
}

.site-header .zastawie-brand-tree img{
  display:block !important;
  width:112px !important;
  height:108px !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 !important;
  padding:0 !important;
  filter:none !important;
}

.site-header .zastawie-brand-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  min-width:0 !important;
  height:108px !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1 !important;
}

.site-header .zastawie-brand-line{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  color:#f5f0e8 !important;
  font-family:"Cormorant Garamond",Georgia,serif !important;
  white-space:nowrap !important;
}

.site-header .zastawie-brand-line-1{
  font-size:38px !important;
  line-height:.94 !important;
  font-weight:600 !important;
  letter-spacing:.035em !important;
}

.site-header .zastawie-brand-line-2{
  margin-top:5px !important;
  font-size:28px !important;
  line-height:.96 !important;
  font-weight:500 !important;
  letter-spacing:.025em !important;
}

.site-header .zastawie-brand-sub{
  display:block !important;
  margin:8px 0 0 !important;
  padding:0 !important;
  color:#d4ad55 !important;
  font-family:"Libre Baskerville",Georgia,serif !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:400 !important;
  letter-spacing:.04em !important;
  white-space:nowrap !important;
}

/* prawa strona ma własną stałą kolumnę – nie wypycha logo */
.site-header .zastawie-header-tools{
  grid-column:2 !important;
  width:430px !important;
  max-width:430px !important;
  min-width:0 !important;
  justify-self:end !important;
}
.site-header .zastawie-header-tools .header-tools{
  width:430px !important;
  max-width:430px !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:14px !important;
}

@media(max-width:1050px){
  .site-header > .header-inner{
    grid-template-columns:minmax(0,1fr) 360px !important;
    min-height:116px !important;
    height:116px !important;
  }
  .site-header .zastawie-header-tools,
  .site-header .zastawie-header-tools .header-tools{
    width:360px !important;
    max-width:360px !important;
  }
  .site-header .zastawie-brand-tree{
    width:98px !important;
    height:94px !important;
    flex-basis:98px !important;
  }
  .site-header .zastawie-brand-tree img{
    width:98px !important;
    height:94px !important;
  }
  .site-header .zastawie-brand-line-1{font-size:33px !important}
  .site-header .zastawie-brand-line-2{font-size:24px !important}
  .site-header .zastawie-brand-sub{font-size:11px !important}
}

@media(max-width:700px){
  .site-header > .header-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    height:auto !important;
    min-height:0 !important;
    gap:8px !important;
  }
  .site-header .zastawie-brand{
    width:100% !important;
    height:94px !important;
  }
  .site-header .zastawie-brand-tree{
    width:82px !important;
    height:82px !important;
    flex-basis:82px !important;
  }
  .site-header .zastawie-brand-tree img{
    width:82px !important;
    height:82px !important;
  }
  .site-header .zastawie-brand-line-1{font-size:28px !important}
  .site-header .zastawie-brand-line-2{font-size:21px !important}
  .site-header .zastawie-brand-sub{font-size:10px !important;margin-top:6px !important}
  .site-header .zastawie-header-tools,
  .site-header .zastawie-header-tools .header-tools{
    width:100% !important;
    max-width:none !important;
  }
}


/* 3.9.8 – exact approved broad tree; header only */
.site-header .zastawie-brand-tree{
  width:108px !important;
  height:104px !important;
  flex:0 0 108px !important;
  overflow:visible !important;
}
.site-header .zastawie-brand-tree img{
  display:block !important;
  width:108px !important;
  height:104px !important;
  object-fit:contain !important;
  object-position:center !important;
}


/* =========================================================
   4.0.0 – FINALNY WARIANT STOPKI
   Tylko stopka. Nagłówek, menu i treść bez zmian.
   ========================================================= */
.footer{
  width:100% !important;
  background:var(--navy) !important;
  color:#e9e4d8 !important;
  padding:0 !important;
  margin:0 !important;
}
.footer .branches{
  position:relative !important;
  height:150px !important;
  width:min(1180px,calc(100% - 38px)) !important;
  margin:0 auto !important;
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-end !important;
  overflow:hidden !important;
  border-top:1px solid rgba(112,132,92,.7) !important;
}
.footer .branch-img{
  position:absolute !important;
  bottom:0 !important;
  width:350px !important;
  height:152px !important;
  object-fit:contain !important;
  object-position:bottom center !important;
  opacity:.98 !important;
}
.footer .branch-left{left:0 !important}
.footer .branch-right{right:0 !important; transform:none !important}

.footer .quote{
  position:absolute !important;
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  width:min(680px,calc(100% - 520px)) !important;
  margin:0 !important;
  padding:22px 20px 18px !important;
  box-sizing:border-box !important;
  text-align:center !important;
  color:#88b84d !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:21px !important;
  line-height:1.45 !important;
  font-style:italic !important;
  z-index:3 !important;
}
.footer .quote strong{
  display:block !important;
  margin-top:8px !important;
  text-align:center !important;
  color:#78a63f !important;
  font-size:15px !important;
  font-style:normal !important;
  font-weight:400 !important;
}
.footer .footer-line{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
  border-top:1px solid rgba(112,132,92,.7) !important;
  padding:18px 19px 20px !important;
  margin:0 !important;
  text-align:center !important;
  color:#e7e4dc !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:15px !important;
  line-height:1.2 !important;
}

@media(max-width:900px){
  .footer .branches{height:125px !important}
  .footer .branch-img{width:270px !important;height:118px !important}
  .footer .quote{
    width:calc(100% - 380px) !important;
    font-size:17px !important;
    padding:16px 8px 12px !important;
  }
  .footer .quote strong{font-size:13px !important}
}
@media(max-width:700px){
  .footer .branches{height:105px !important}
  .footer .branch-img{width:190px !important;height:83px !important}
  .footer .quote{
    position:relative !important;
    left:auto !important;
    transform:none !important;
    width:100% !important;
    padding:12px 15px 14px !important;
  }
}


/* =========================================================
   4.0.8 – TYLKO NAGŁÓWEK I STOPKA
   Cała pozostała skórka, linki, kategorie, artykuły,
   wyszukiwarka, komentarze i funkcje pozostają bez zmian.
   ========================================================= */

/* Header */
.site-header > .header-inner{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 430px !important;
  align-items:center !important;
  column-gap:24px !important;
  min-height:255px !important;
  height:255px !important;
  padding:18px 0 12px !important;
}
.site-header .zastawie-brand{
  display:flex !important;
  align-items:center !important;
  gap:28px !important;
  height:220px !important;
  text-decoration:none !important;
}
.site-header .zastawie-brand-tree{
  width:205px !important;
  height:210px !important;
  flex:0 0 205px !important;
}
.site-header .zastawie-brand-tree img{
  width:205px !important;
  height:210px !important;
  object-fit:contain !important;
  object-position:center !important;
}
.site-header .zastawie-brand-copy{
  height:205px !important;
  justify-content:center !important;
}
.site-header .zastawie-brand-line-1{
  font-size:58px !important;
  line-height:.95 !important;
  font-weight:600 !important;
}
.site-header .zastawie-brand-line-2{
  font-size:36px !important;
  line-height:.98 !important;
  margin-top:8px !important;
}
.site-header .zastawie-brand-sub{
  font-size:20px !important;
  line-height:1 !important;
  margin-top:13px !important;
  color:#d4ad55 !important;
}
.site-header .zastawie-header-tools,
.site-header .zastawie-header-tools .header-tools{
  width:430px !important;
  max-width:430px !important;
}
.site-header .zastawie-header-tools .header-tools{
  gap:16px !important;
}
.site-header .header-tools .fb{
  width:50px !important;
  height:50px !important;
  font-size:28px !important;
}
.site-header .search{
  height:60px !important;
}
.site-header .search input{
  width:355px !important;
  height:60px !important;
  font-size:19px !important;
}
.site-header .search button{
  width:82px !important;
  height:60px !important;
  font-size:32px !important;
}

/* Keep the existing two-row WordPress navigation and its real URLs. */
.site-header > .nav-wrap{
  margin-top:0 !important;
  margin-bottom:14px !important;
}

/* Footer */
.footer{
  background:var(--navy) !important;
  border-top:1px solid var(--gold) !important;
  padding:0 !important;
}
.footer .branches{
  width:100% !important;
  height:220px !important;
  margin:0 auto !important;
  position:relative !important;
  overflow:hidden !important;
}
.footer .branch-img{
  position:absolute !important;
  top:0 !important;
  width:305px !important;
  height:160px !important;
  object-fit:contain !important;
}
.footer .branch-left{
  left:0 !important;
}
.footer .branch-right{
  right:0 !important;
}
.footer .quote{
  position:absolute !important;
  left:50% !important;
  top:57px !important;
  transform:translateX(-50%) !important;
  width:58% !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
  color:var(--gold2) !important;
  font-size:26px !important;
  line-height:1.35 !important;
  font-style:italic !important;
}
.footer .quote strong{
  display:block !important;
  margin-top:25px !important;
  font-size:18px !important;
  font-style:normal !important;
  font-weight:400 !important;
}
.footer .footer-line{
  width:100% !important;
  min-height:100px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-top:1px solid rgba(212,173,85,.65) !important;
  color:#e1dcd4 !important;
  font:22px "Libre Baskerville",Georgia,serif !important;
  text-align:center !important;
}

/* Responsive header/footer only */
@media(max-width:1050px){
  .site-header > .header-inner{
    grid-template-columns:minmax(0,1fr) 360px !important;
    min-height:220px !important;
    height:220px !important;
  }
  .site-header .zastawie-header-tools,
  .site-header .zastawie-header-tools .header-tools{
    width:360px !important;
    max-width:360px !important;
  }
  .site-header .zastawie-brand-tree{
    width:175px !important;
    height:180px !important;
    flex-basis:175px !important;
  }
  .site-header .zastawie-brand-tree img{
    width:175px !important;
    height:180px !important;
  }
  .site-header .zastawie-brand-line-1{font-size:50px !important}
  .site-header .zastawie-brand-line-2{font-size:31px !important}
  .site-header .zastawie-brand-sub{font-size:17px !important}
  .footer .branch-img{width:255px !important;height:145px !important}
}
@media(max-width:700px){
  .site-header > .header-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    height:auto !important;
    min-height:0 !important;
    padding:12px 0 8px !important;
  }
  .site-header .zastawie-brand{
    height:auto !important;
    gap:12px !important;
  }
  .site-header .zastawie-brand-tree{
    width:125px !important;
    height:135px !important;
    flex-basis:125px !important;
  }
  .site-header .zastawie-brand-tree img{
    width:125px !important;
    height:135px !important;
  }
  .site-header .zastawie-brand-line-1{font-size:36px !important}
  .site-header .zastawie-brand-line-2{font-size:23px !important}
  .site-header .zastawie-brand-sub{font-size:13px !important}
  .site-header .zastawie-header-tools,
  .site-header .zastawie-header-tools .header-tools{
    width:100% !important;
    max-width:100% !important;
  }
  .footer .branches{
    height:175px !important;
    width:100% !important;
  }
  .footer .branch-img{
    width:185px !important;
    height:120px !important;
  }
  .footer .branch-left{left:0 !important}
  .footer .branch-right{right:0 !important}
  .footer .quote{
    width:55% !important;
    top:48px !important;
    font-size:14px !important;
  }
  .footer .quote strong{font-size:10px !important;margin-top:10px !important}
  .footer .footer-line{min-height:70px !important;font-size:14px !important}
}


/* 4.1.0 – Facebook: normal circular icon */
.site-header .header-tools .fb,
.site-header .zastawie-header-tools .fb{
  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  flex:0 0 50px !important;
  aspect-ratio:1 / 1 !important;
  border-radius:50% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  line-height:50px !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}

/* =========================================================
   MOBILE CATEGORY HERO – responsive refinement
   Desktop remains unchanged. On smaller screens the 1180x310
   panoramic banners become shorter so the image is not visually
   over-scaled, while preserving the full banner width and the
   category title/shading.
   ========================================================= */
@media (max-width: 700px){
  html body.category .category-page .category-hero{
    height:210px !important;
    border-radius:8px !important;
  }
  html body.category .category-page .category-hero>img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
  }
  html body.category .category-page .category-hero-shade{
    background:linear-gradient(90deg,rgba(5,20,30,.84) 0%,rgba(5,20,30,.50) 42%,rgba(5,20,30,.10) 78%) !important;
  }
  html body.category .category-page .category-title-wrap{
    left:22px !important;
    bottom:20px !important;
  }
  html body.category .category-page .category-title{
    font-size:34px !important;
    line-height:1.12 !important;
  }
}

@media (max-width: 460px){
  html body.category .category-page .category-hero{
    height:175px !important;
    border-radius:7px !important;
  }
  html body.category .category-page .category-title-wrap{
    left:18px !important;
    bottom:16px !important;
  }
  html body.category .category-page .category-title{
    font-size:29px !important;
    line-height:1.08 !important;
  }
}

@media (max-width: 360px){
  html body.category .category-page .category-hero{
    height:160px !important;
  }
  html body.category .category-page .category-title{
    font-size:26px !important;
  }
}

/* ===== ZASTAWIE: WIDOCZNE LINIE TABEL ===== */
.article-zastawie table,
.entry-content table,
.post-content table,
article table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 1px solid #555 !important;
}

.article-zastawie table td,
.article-zastawie table th,
.entry-content table td,
.entry-content table th,
.post-content table td,
.post-content table th,
article table td,
article table th {
    border: 1px solid #555 !important;
    border-style: solid !important;
}

.article-zastawie table tr > td[colspan],
.article-zastawie table tr > th[colspan] {
    border-left: 1px solid #555 !important;
    border-right: 1px solid #555 !important;
}



/* ===== ODSTĘP MIĘDZY POPRZEDNIM I NASTĘPNYM ARTYKUŁEM ===== */
.article-nav{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:80px !important;
  flex-wrap:wrap !important;
}
.article-nav span{
  min-width:0 !important;
}
