/*
Theme Name: Visits4u GZ5 – Editorial Magazine Theme
Theme URI: https://example.com/
Author: OpenAI
Description: Lekki, editorialny motyw magazynowo-blogowy dla sieci serwisów tematycznych.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: seo-magazine-01
*/

:root{
  --bg:#f7f7f8;
  --surface:#fff;
  --text:#15171b;
  --muted:#737982;
  --line:#e7e9ed;
  --accent:#c81624;
  --accent2:#ff7b3b;
  --dark:#111318;
  --container:1420px;
  --radius:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}
.container{width:min(calc(100% - 38px),var(--container));margin-inline:auto}

/* breaking news */
.breaking{background:#f0f1f3;border-bottom:1px solid var(--line)}
.breaking-inner{display:flex;align-items:center;min-height:46px;overflow:hidden}
.breaking-label{background:var(--accent);color:#fff;padding:12px 17px;font-weight:700;white-space:nowrap}
.breaking-track{overflow:hidden;white-space:nowrap;flex:1}
.breaking-items{display:inline-flex;gap:34px;padding-left:18px;animation:newsTicker 30s linear infinite}
.breaking-items a{font-size:.94rem;font-weight:600}
@keyframes newsTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.breaking-items{animation:none}}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand-wrap{display:flex;align-items:center;gap:12px}
.custom-logo{max-height:54px;width:auto}
.site-title{font-size:2rem;font-weight:800;letter-spacing:-.04em}
.site-title strong{color:var(--accent)}
.site-description{font-size:.78rem;color:var(--muted)}
.primary-menu{display:flex;gap:28px;list-style:none;padding:0;margin:0;align-items:center}
.primary-menu a{font-size:.93rem;font-weight:700;text-transform:uppercase}
.menu-toggle{display:none;border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px 12px}

/* featured */
.featured-wrap{padding:26px 0 10px}
.featured-grid{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(300px,.75fr);gap:24px}
.main-slider{position:relative;background:#111;border-radius:var(--radius);overflow:hidden;min-height:610px}
.hero-slide{display:none;position:absolute;inset:0}
.hero-slide.is-active{display:block}
.hero-slide img{width:100%;height:610px;object-fit:cover;opacity:.78}
.hero-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;background:linear-gradient(180deg,transparent 28%,rgba(0,0,0,.83))}
.hero-copy{padding:34px;color:#fff;max-width:850px}
.news-badge{display:inline-block;background:var(--accent);color:#fff;border-radius:4px;padding:5px 8px;font-size:.7rem;font-weight:800;text-transform:uppercase}
.hero-copy h1,.hero-copy h2{font-size:clamp(2rem,4.6vw,3.75rem);line-height:1.03;letter-spacing:-.045em;margin:12px 0 12px}
.hero-date{font-size:.95rem}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);cursor:pointer;font-size:1.35rem}
.hero-prev{left:16px}.hero-next{right:16px}

/* thumbs */
.featured-side{background:#fff;border-radius:var(--radius);padding:0 6px 6px}
.featured-side h2{font-size:1.65rem;margin:0;padding:0 0 14px}
.hero-thumbs{display:flex;flex-direction:column;gap:9px;max-height:560px;overflow:auto;padding-right:5px}
.hero-thumb{display:grid;grid-template-columns:100px 1fr;gap:11px;align-items:center;border:0;background:transparent;text-align:left;padding:5px;border-radius:8px;cursor:pointer}
.hero-thumb.is-active{background:#f1f2f4}
.hero-thumb img{width:100px;height:82px;object-fit:cover;border-radius:7px}
.hero-thumb-title{font-weight:700;line-height:1.2;font-size:.94rem}
.hero-thumb-date{font-size:.76rem;color:var(--muted);margin-top:5px}

/* section titles */
.home-sections{padding:16px 0 60px}
.news-section{margin:36px 0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.section-title{font-size:2.65rem;line-height:1;margin:0;padding-left:18px;border-left:7px solid var(--accent);letter-spacing:-.035em}
.section-more{font-size:.88rem;color:var(--muted)}

/* mosaic */
.mosaic{display:grid;grid-template-columns:1.15fr 1.1fr;gap:10px}
.mosaic-left,.mosaic-top,.mosaic-small{position:relative;overflow:hidden;border-radius:var(--radius);background:#222}
.mosaic-left{min-height:570px}
.mosaic-right{display:grid;grid-template-rows:1fr 1fr;gap:10px}
.mosaic-top{min-height:280px}
.mosaic-bottom{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mosaic-small{min-height:280px}
.mosaic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78}
.card-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.82));padding:24px;color:#fff}
.card-overlay h3{margin:8px 0 5px;line-height:1.08;font-size:1.65rem}
.mosaic-left .card-overlay h3{font-size:2.25rem}
.card-date{font-size:.82rem}

/* cards row */
.cards-row{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.tall-card{position:relative;min-height:470px;border-radius:var(--radius);overflow:hidden;background:#222}
.tall-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.76}
.tall-card .card-overlay{padding:18px}
.tall-card h3{font-size:1.45rem}

/* mixed */
.mixed-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:18px}
.mixed-feature{position:relative;min-height:420px;border-radius:var(--radius);overflow:hidden;background:#222}
.mixed-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.76}
.mixed-list{display:flex;flex-direction:column;gap:15px}
.mixed-item{display:grid;grid-template-columns:125px 1fr;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}
.mixed-item img{width:125px;height:85px;object-fit:cover;border-radius:8px}
.mixed-item h3{font-size:.96rem;line-height:1.22;margin:0 0 6px}

/* archive */
.archive-wrap{padding:40px 0 60px}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.archive-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.archive-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.archive-body{padding:17px}
.archive-body h2{font-size:1.15rem;line-height:1.25;margin:8px 0}
.archive-body p{font-size:.9rem;color:var(--muted);margin:0}

/* single */
.single-wrap{width:min(calc(100% - 36px),900px);margin:0 auto;padding:42px 0 65px}
.single-header h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.04;letter-spacing:-.045em;margin:10px 0 12px}
.single-meta{color:var(--muted);font-size:.85rem}
.single-featured{border-radius:var(--radius);overflow:hidden;margin:25px 0 32px}
.single-featured img{width:100%}
.entry-content{font-size:1.08rem}
.entry-content h2,.entry-content h3{line-height:1.2;margin-top:1.7em}
.entry-content a{color:var(--accent);text-decoration:underline}
.entry-content blockquote{border-left:5px solid var(--accent);background:#fff;margin:1.7em 0;padding:18px 22px}

/* pagination/footer */
.pagination{margin-top:30px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap}
.page-numbers{min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:7px;padding:0 10px}
.page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}
.site-footer{background:#111318;color:#cbd0d8;padding:42px 0}
.footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:center}
.footer-menu{display:flex;gap:16px;list-style:none;margin:0;padding:0}
.footer-menu a{color:#cbd0d8}

@media(max-width:1050px){
 .featured-grid{grid-template-columns:1fr}
 .featured-side{padding-top:10px}
 .hero-thumbs{display:grid;grid-template-columns:repeat(2,1fr);max-height:none}
 .cards-row{grid-template-columns:repeat(2,1fr)}
 .mixed-grid{grid-template-columns:1fr 1fr}
 .mixed-list:last-child{grid-column:1/-1}
 .archive-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:750px){
 .header-inner{min-height:72px;flex-wrap:wrap;padding:10px 0}
 .menu-toggle{display:block}
 .site-nav{display:none;width:100%}
 .site-nav.is-open{display:block}
 .primary-menu{flex-direction:column;align-items:flex-start;gap:0;border-top:1px solid var(--line)}
 .primary-menu a{display:block;padding:9px 0}
 .main-slider{min-height:430px}
 .hero-slide img{height:430px}
 .hero-copy{padding:24px}
 .hero-thumbs{grid-template-columns:1fr}
 .mosaic{grid-template-columns:1fr}
 .mosaic-left{min-height:420px}
 .mosaic-top,.mosaic-small{min-height:230px}
 .cards-row{grid-template-columns:1fr 1fr}
 .tall-card{min-height:360px}
 .mixed-grid{grid-template-columns:1fr}
 .archive-grid{grid-template-columns:1fr}
 .section-title{font-size:2rem}
 .footer-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:500px){
 .cards-row{grid-template-columns:1fr}
 .mosaic-bottom{grid-template-columns:1fr}
 .breaking-label{padding-inline:10px}
}


/* SINGLE PREMIUM */
.article-shell{
  width:min(calc(100% - 38px),var(--container));
  margin:0 auto;
  padding:42px 0 70px;
}
.article-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:42px;
  align-items:start;
}
.article-main{min-width:0}
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
  font-size:.78rem;
  color:var(--muted);
  margin-bottom:18px;
}
.breadcrumbs a:hover{color:var(--accent)}
.article-head{margin-bottom:22px}
.article-head h1{
  font-size:clamp(2.35rem,5vw,4.6rem);
  line-height:1.01;
  letter-spacing:-.05em;
  margin:12px 0 16px;
}
.article-lead{
  font-size:1.2rem;
  color:#555b64;
  max-width:900px;
  margin:0 0 18px;
}
.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:var(--muted);
  font-size:.83rem;
}
.article-featured{
  border-radius:14px;
  overflow:hidden;
  margin:28px 0 34px;
}
.article-featured img{width:100%;height:auto}
.article-content{
  font-size:1.11rem;
  line-height:1.75;
}
.article-content p{margin:0 0 1.25em}
.article-content h2{
  font-size:2rem;
  line-height:1.15;
  letter-spacing:-.03em;
  margin:1.8em 0 .65em;
}
.article-content h3{
  font-size:1.45rem;
  line-height:1.2;
  margin:1.6em 0 .55em;
}
.article-content ul,.article-content ol{padding-left:1.35em;margin:0 0 1.35em}
.article-content blockquote{
  border-left:5px solid var(--accent);
  background:#fff;
  border-radius:0 10px 10px 0;
  margin:1.7em 0;
  padding:20px 24px;
  font-size:1.15rem;
}
.article-content table{
  width:100%;
  border-collapse:collapse;
  display:block;
  overflow-x:auto;
  margin:1.5em 0;
}
.article-content th,.article-content td{
  border:1px solid var(--line);
  padding:10px 12px;
}
.article-content a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.article-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.article-tags a{
  background:#fff;
  border:1px solid var(--line);
  padding:7px 10px;
  border-radius:999px;
  font-size:.78rem;
}
.article-sidebar{
  position:sticky;
  top:24px;
}
.side-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  margin-bottom:18px;
}
.side-box h2{
  margin:0 0 14px;
  font-size:1.35rem;
  letter-spacing:-.025em;
}
.side-news{
  display:grid;
  grid-template-columns:86px 1fr;
  gap:11px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.side-news:last-child{border-bottom:0}
.side-news img{
  width:86px;
  height:65px;
  object-fit:cover;
  border-radius:7px;
}
.side-news h3{
  font-size:.9rem;
  line-height:1.2;
  margin:0 0 4px;
}
.side-news time{
  font-size:.72rem;
  color:var(--muted);
}
.related-section{
  margin-top:48px;
  padding-top:30px;
  border-top:1px solid var(--line);
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.related-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}
.related-card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.related-card-body{padding:14px}
.related-card h3{
  margin:6px 0 0;
  font-size:1rem;
  line-height:1.25;
}

/* CATEGORY / TAG ARCHIVES */
.archive-hero{
  padding:42px 0 20px;
}
.archive-hero-inner{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:28px;
}
.archive-label{
  text-transform:uppercase;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  color:var(--accent);
}
.archive-hero h1{
  font-size:clamp(2.2rem,4.5vw,4rem);
  line-height:1.03;
  letter-spacing:-.045em;
  margin:8px 0 10px;
}
.archive-description{
  color:var(--muted);
  max-width:900px;
  font-size:1rem;
}
.archive-featured-grid{
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:18px;
  margin:26px 0 34px;
}
.archive-feature{
  position:relative;
  min-height:420px;
  border-radius:12px;
  overflow:hidden;
  background:#222;
}
.archive-feature img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.76;
}
.archive-feature .card-overlay h2{
  font-size:2rem;
  line-height:1.08;
  margin:8px 0;
}
.archive-side-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.archive-mini{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}
.archive-mini img{
  width:150px;
  height:110px;
  object-fit:cover;
}
.archive-mini-body{padding:12px 12px 12px 0}
.archive-mini h3{
  margin:4px 0 6px;
  font-size:1rem;
  line-height:1.2;
}
.archive-list-title{
  font-size:2rem;
  margin:0 0 20px;
  letter-spacing:-.03em;
}
.archive-grid-v2{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.archive-card-v2{
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
  overflow:hidden;
}
.archive-card-v2 img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.archive-card-v2-body{padding:16px}
.archive-card-v2 h2{
  margin:7px 0 8px;
  font-size:1.08rem;
  line-height:1.25;
}
.archive-card-v2 p{
  color:var(--muted);
  font-size:.88rem;
  margin:0;
}

@media(max-width:1000px){
  .article-grid{grid-template-columns:1fr}
  .article-sidebar{position:static}
  .side-box .side-news-wrap{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
  .archive-featured-grid{grid-template-columns:1fr}
  .archive-grid-v2{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .related-grid{grid-template-columns:1fr}
  .side-box .side-news-wrap{grid-template-columns:1fr}
  .archive-grid-v2{grid-template-columns:1fr}
  .archive-mini{grid-template-columns:110px 1fr}
  .archive-mini img{width:110px;height:90px}
  .article-head h1{font-size:2.35rem}
}


/* WordPress używa klasy body.tag na archiwach tagów.
   Badge kategorii ma osobną klasę .news-badge, aby uniknąć kolizji. */
.news-badge{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  border-radius:4px;
  padding:5px 8px;
  font-size:.7rem;
  font-weight:800;
  text-transform:uppercase;
}


/* V7 - zróżnicowana strona główna */
.layout-feature-quad{display:grid;grid-template-columns:1.05fr 1fr;gap:14px}.feature-big,.quad-card{position:relative;overflow:hidden;border-radius:12px;background:#222}.feature-big{min-height:560px}.feature-big img,.quad-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78}.feature-big .card-overlay h3{font-size:2.35rem}.feature-quad{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.quad-card{min-height:273px}.compact-overlay{padding:16px}.compact-overlay h3{font-size:1.15rem;line-height:1.15}
.layout-clean-four{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.clean-card{background:#fff;border-bottom:1px solid var(--line)}.clean-image{display:block;overflow:hidden;border-radius:10px}.clean-image img{width:100%;aspect-ratio:4/3;object-fit:cover}.clean-body{padding:14px 2px 18px}.clean-category{font-size:.7rem;text-transform:uppercase;font-weight:800;letter-spacing:.04em;color:#555}.clean-body h3,.two-large-body h3,.center-main-body h3,.final-card-body h3{margin:7px 0 8px;font-size:1.22rem;line-height:1.2}.clean-body p,.two-large-body p,.center-main-body p,.final-card-body p{margin:0;color:var(--muted);font-size:.9rem}.clean-meta{margin-top:10px;font-size:.72rem;color:var(--muted);text-transform:uppercase}
.layout-center-feature{display:grid;grid-template-columns:.8fr 1.45fr .8fr;gap:22px;align-items:start}.center-side-list{display:flex;flex-direction:column;gap:18px}.mini-list-item{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}.mini-list-item img{width:110px;height:78px;object-fit:cover;border-radius:8px}.mini-list-item h3{margin:4px 0 0;font-size:.98rem;line-height:1.2}.center-main img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}.center-main-body{padding-top:14px}.center-main-body h3{font-size:1.5rem}
.layout-two-large{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.two-large-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}.two-large-body{padding-top:14px}.two-large-body h3{font-size:1.4rem}
.category-carousel{position:relative}.carousel-track{display:flex;gap:18px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:2px 2px 10px}.carousel-track::-webkit-scrollbar{display:none}.carousel-card{flex:0 0 calc((100% - 54px)/4);min-width:0;background:#fff}.carousel-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.carousel-card-body{padding-top:12px}.carousel-card-body h3{margin:5px 0 7px;font-size:1.1rem;line-height:1.2}.carousel-card-body p{margin:0;color:var(--muted);font-size:.86rem}.carousel-arrow{position:absolute;top:34%;z-index:4;width:42px;height:42px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.15);font-size:1.45rem;cursor:pointer}.carousel-prev{left:-12px}.carousel-next{right:-12px}
.layout-side-center-side{display:grid;grid-template-columns:.72fr 1.45fr .72fr;gap:22px;align-items:start}.small-column{display:flex;flex-direction:column;gap:22px}.small-column-item{display:grid;grid-template-columns:95px 1fr;gap:12px;align-items:center}.small-column-item img{width:95px;height:72px;object-fit:cover;border-radius:8px}.small-column-item h3{margin:4px 0 0;font-size:.96rem;line-height:1.2}.huge-center img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}.huge-center-body{padding-top:15px}.huge-center-body h3{font-size:1.65rem;line-height:1.15;margin:9px 0 8px}.huge-center-body p{margin:0;color:var(--muted)}
.layout-final-three{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.final-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px}.final-card-body{padding-top:13px}
.site-footer{padding:0;background:#0d0f12}.footer-widgets-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr .85fr;gap:42px;padding-top:48px;padding-bottom:44px}.footer-widgets-grid h2{color:#fff;margin:0 0 16px;font-size:1.35rem}.footer-about{margin:0;color:#b8bec7;line-height:1.75;font-size:.92rem}.footer-list{list-style:none;margin:0;padding:0}.footer-list li{margin:0 0 10px}.footer-list a{color:#d7dce3;font-size:.9rem}.footer-list a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);background:#090b0e}.footer-bottom-inner{min-height:72px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#aeb4bd}
.home-layout-2{background:#fff;padding:26px;border-radius:14px}.home-layout-4{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px 0}.home-layout-6{background:#fff;padding:28px;border-radius:14px}
@media(max-width:1100px){.layout-feature-quad{grid-template-columns:1fr}.layout-clean-four{grid-template-columns:repeat(2,1fr)}.layout-center-feature{grid-template-columns:1fr}.center-side-list{display:grid;grid-template-columns:repeat(2,1fr)}.layout-side-center-side{grid-template-columns:1fr}.small-column{display:grid;grid-template-columns:repeat(2,1fr)}.carousel-card{flex-basis:calc((100% - 18px)/2)}.footer-widgets-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.feature-quad{grid-template-columns:1fr}.feature-big{min-height:420px}.quad-card{min-height:240px}.layout-clean-four,.layout-two-large,.layout-final-three{grid-template-columns:1fr}.center-side-list,.small-column{grid-template-columns:1fr}.carousel-card{flex-basis:85%}.footer-widgets-grid{grid-template-columns:1fr}.footer-bottom-inner{flex-direction:column;align-items:flex-start;padding-top:18px;padding-bottom:18px}}


/* ===== V8: kategorie 4 / 3 / 2 w różnych stylach ===== */
.dynamic-category-section{margin:42px 0}
.cat-layout{display:grid;gap:20px}

.cat-layout-4-feature{grid-template-columns:1.35fr .65fr}
.cat-main-tile{position:relative;min-height:520px;overflow:hidden;border-radius:12px;background:#222}
.cat-main-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78}
.cat-three-stack{display:flex;flex-direction:column;gap:14px}
.cat-stack-item{
  display:grid;
  grid-template-columns:145px 1fr;
  gap:14px;
  align-items:center;
  background:#fff;
  border-bottom:1px solid var(--line);
  padding-bottom:13px;
}
.cat-stack-item img{width:145px;height:100px;object-fit:cover;border-radius:8px}
.cat-stack-item h3{margin:5px 0 0;font-size:1.05rem;line-height:1.2}

.cat-layout-3-equal{grid-template-columns:repeat(3,1fr)}
.cat-equal-card{background:#fff;border-bottom:1px solid var(--line)}
.cat-equal-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.cat-equal-body{padding:14px 2px 18px}
.cat-equal-body h3{font-size:1.2rem;line-height:1.2;margin:7px 0}
.cat-equal-body p{margin:0;color:var(--muted);font-size:.9rem}

.cat-layout-2-large{grid-template-columns:repeat(2,1fr)}
.cat-two-card{background:#fff}
.cat-two-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}
.cat-two-body{padding-top:14px}
.cat-two-body h3{font-size:1.45rem;line-height:1.15;margin:9px 0 8px}
.cat-two-body p{margin:0;color:var(--muted)}

.cat-layout-4-grid{grid-template-columns:repeat(2,1fr)}
.cat-grid-tile{position:relative;min-height:310px;overflow:hidden;border-radius:11px;background:#222}
.cat-grid-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78}

.cat-layout-3-split{grid-template-columns:1.3fr .7fr}
.cat-split-main{position:relative;min-height:470px;overflow:hidden;border-radius:12px;background:#222}
.cat-split-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78}
.cat-split-side{display:flex;flex-direction:column;gap:16px}
.cat-split-small{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:14px;
  align-items:center;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.cat-split-small img{width:150px;height:105px;object-fit:cover;border-radius:8px}
.cat-split-small h3{font-size:1.05rem;line-height:1.2;margin:5px 0 0}

.cat-layout-2-horizontal{grid-template-columns:repeat(2,1fr)}
.cat-horizontal-card{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:18px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  padding-right:16px;
}
.cat-horizontal-card img{width:220px;height:150px;object-fit:cover}
.cat-horizontal-card h3{font-size:1.2rem;line-height:1.2;margin:6px 0 8px}
.cat-horizontal-card p{margin:0;color:var(--muted);font-size:.9rem}

/* delikatne różnicowanie tła */
.category-style-2,
.category-style-5{
  background:#fff;
  padding:28px;
  border-radius:14px;
}
.category-style-4{
  padding-top:30px;
  padding-bottom:30px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

@media(max-width:1000px){
  .cat-layout-4-feature,
  .cat-layout-3-split{grid-template-columns:1fr}
  .cat-layout-3-equal{grid-template-columns:repeat(2,1fr)}
  .cat-layout-2-horizontal{grid-template-columns:1fr}
}
@media(max-width:700px){
  .cat-layout-3-equal,
  .cat-layout-2-large,
  .cat-layout-4-grid{grid-template-columns:1fr}
  .cat-stack-item,
  .cat-split-small{grid-template-columns:110px 1fr}
  .cat-stack-item img,
  .cat-split-small img{width:110px;height:85px}
  .cat-horizontal-card{grid-template-columns:110px 1fr}
  .cat-horizontal-card img{width:110px;height:95px}
}


/* ===== V10: edytowalna sekcja SEO na stronie głównej ===== */
.home-seo-section{
  padding:18px 0 58px;
}
.home-seo-box{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:42px;
}
.home-seo-box::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:7px;
  height:100%;
  background:var(--accent);
}
.home-seo-head{
  max-width:900px;
  margin-bottom:28px;
}
.home-seo-eyebrow{
  margin-bottom:8px;
  color:var(--accent);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.home-seo-head h2{
  margin:0;
  font-size:clamp(2rem,4vw,3.25rem);
  line-height:1.05;
  letter-spacing:-.04em;
}
.home-seo-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);
  gap:46px;
  align-items:start;
}
.home-seo-main{
  font-size:1.03rem;
  line-height:1.75;
  color:#3c4148;
}
.home-seo-main p{
  margin:0 0 1.1em;
}
.home-seo-main p:last-child{
  margin-bottom:0;
}
.home-seo-side{
  background:#f5f6f8;
  border-radius:12px;
  padding:24px;
}
.home-seo-side h3{
  margin:0 0 12px;
  font-size:1.3rem;
  letter-spacing:-.025em;
}
.home-seo-side p{
  margin:0 0 1em;
  color:#555c65;
  font-size:.93rem;
  line-height:1.7;
}
.home-seo-side p:last-child{
  margin-bottom:0;
}

@media(max-width:850px){
  .home-seo-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .home-seo-box{
    padding:30px;
  }
}
@media(max-width:520px){
  .home-seo-box{
    padding:24px 22px 24px 28px;
  }
}


/* =========================================================
   V12 – NOWOCZESNA PODSTRONA KATEGORII
   Strona główna pozostaje bez zmian.
   ========================================================= */
.modern-category-page{
  padding-bottom:64px;
}
.modern-category-hero{
  padding:34px 0 30px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(247,247,248,.96));
  border-bottom:1px solid var(--line);
}
.category-breadcrumbs{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:28px;
  color:var(--muted);
  font-size:.78rem;
}
.category-breadcrumbs a:hover{color:var(--accent)}
.modern-category-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
}
.modern-category-label{
  display:block;
  margin-bottom:7px;
  color:var(--accent);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.modern-category-title h1{
  margin:0;
  font-size:clamp(2.7rem,6vw,5.6rem);
  line-height:.96;
  letter-spacing:-.055em;
}
.modern-category-count{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  padding-bottom:5px;
  color:var(--muted);
}
.modern-category-count strong{
  color:var(--dark);
  font-size:1.5rem;
  line-height:1;
}
.modern-category-count span{
  margin-top:5px;
  font-size:.75rem;
}
.modern-category-description{
  display:grid;
  grid-template-columns:5px minmax(0,850px);
  gap:20px;
  margin-top:28px;
  padding-top:25px;
  border-top:1px solid var(--line);
}
.modern-category-description-mark{
  width:5px;
  min-height:100%;
  border-radius:999px;
  background:var(--accent);
}
.modern-category-description-content{
  color:#4d535b;
  font-size:1rem;
  line-height:1.75;
}
.modern-category-description-content p{
  margin:0 0 .9em;
}
.modern-category-description-content p:last-child{
  margin-bottom:0;
}

.modern-category-content{
  padding-top:34px;
}
.category-top-stories{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:22px;
  margin-bottom:54px;
}
.category-lead-story{
  min-width:0;
}
.category-lead-image{
  position:relative;
  display:block;
  min-height:550px;
  overflow:hidden;
  border-radius:16px;
  background:#222;
}
.category-lead-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.category-lead-gradient{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 34%,rgba(0,0,0,.82) 100%);
}
.category-lead-copy{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:34px;
  color:#fff;
}
.category-lead-copy h2{
  max-width:850px;
  margin:10px 0 9px;
  color:#fff;
  font-size:clamp(1.9rem,3vw,3.1rem);
  line-height:1.05;
  letter-spacing:-.035em;
}
.category-lead-meta{
  color:rgba(255,255,255,.78);
  font-size:.76rem;
}
.category-top-side{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.category-side-story{
  display:grid;
  grid-template-columns:145px minmax(0,1fr);
  gap:15px;
  align-items:center;
  padding:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  transition:transform .18s ease,box-shadow .18s ease;
}
.category-side-story:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}
.category-side-image{
  display:block;
  overflow:hidden;
  border-radius:8px;
}
.category-side-image img{
  width:145px;
  height:112px;
  object-fit:cover;
}
.category-side-date{
  margin-bottom:5px;
  color:var(--accent);
  font-size:.69rem;
  font-weight:700;
  text-transform:uppercase;
}
.category-side-copy h2{
  margin:0 0 7px;
  font-size:1.08rem;
  line-height:1.18;
}
.category-side-copy p{
  margin:0;
  color:var(--muted);
  font-size:.82rem;
  line-height:1.45;
}

.category-all-posts{
  padding-top:8px;
}
.category-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}
.category-section-head h2{
  margin:0;
  font-size:2rem;
  letter-spacing:-.035em;
}
.modern-category-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.modern-category-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  transition:transform .18s ease,box-shadow .18s ease;
}
.modern-category-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,.07);
}
.modern-category-card-image{
  display:block;
  overflow:hidden;
  background:#eceef1;
}
.modern-category-card-image img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .3s ease;
}
.modern-category-card:hover .modern-category-card-image img{
  transform:scale(1.025);
}
.modern-category-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/10;
  padding:20px;
  color:#7b8189;
  font-weight:700;
}
.modern-category-card-body{
  padding:20px;
}
.modern-category-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  color:var(--muted);
  font-size:.7rem;
}
.modern-category-card-body h2{
  margin:9px 0 9px;
  font-size:1.22rem;
  line-height:1.2;
  letter-spacing:-.02em;
}
.modern-category-card-body p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.6;
}
.modern-category-readmore{
  display:inline-flex;
  gap:7px;
  align-items:center;
  margin-top:16px;
  color:var(--dark);
  font-size:.78rem;
  font-weight:800;
}
.modern-category-readmore span{
  color:var(--accent);
  transition:transform .18s ease;
}
.modern-category-readmore:hover span{
  transform:translateX(3px);
}
.modern-category-pagination{
  margin-top:38px;
}
.modern-category-pagination .page-numbers{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  margin:3px;
  padding:0 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:.82rem;
}
.modern-category-pagination .page-numbers.current,
.modern-category-pagination .page-numbers:hover{
  border-color:var(--accent);
  color:var(--accent);
}
.modern-category-empty{
  grid-column:1/-1;
  padding:45px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}

@media(max-width:1050px){
  .category-top-stories{
    grid-template-columns:1fr;
  }
  .category-top-side{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }
  .category-side-story{
    display:block;
  }
  .category-side-image img{
    width:100%;
    height:auto;
    aspect-ratio:16/10;
  }
  .category-side-copy{
    padding:12px 4px 4px;
  }
  .modern-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px){
  .modern-category-hero{
    padding-top:24px;
  }
  .modern-category-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:15px;
  }
  .modern-category-count{
    align-items:flex-start;
  }
  .modern-category-title h1{
    font-size:2.75rem;
  }
  .category-lead-image{
    min-height:430px;
  }
  .category-lead-copy{
    padding:24px;
  }
  .category-top-side,
  .modern-category-grid{
    grid-template-columns:1fr;
  }
  .category-side-story{
    display:grid;
    grid-template-columns:120px 1fr;
  }
  .category-side-image img{
    width:120px;
    height:95px;
  }
}


/* =========================================================
   V14 – KATEGORIA Z BANNEREM I OPISEM
   Header/menu pozostaje identyczny jak na stronie głównej.
   ========================================================= */

.category-v14-page{
  padding-bottom:64px;
}

.category-v14-banner{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg,var(--dark) 0%,#20242b 65%,var(--accent) 160%);
  color:#fff;
}

.category-v14-pattern{
  position:absolute;
  inset:0;
  opacity:.12;
  background-image:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.35) 0 2px,transparent 3px),
    radial-gradient(circle at 80% 60%,rgba(255,255,255,.25) 0 2px,transparent 3px);
  background-size:42px 42px,58px 58px;
}

.category-v14-banner-inner{
  position:relative;
  z-index:2;
  padding-top:38px;
  padding-bottom:54px;
}

.category-v14-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:44px;
  color:rgba(255,255,255,.62);
  font-size:.78rem;
}

.category-v14-breadcrumbs a{
  color:rgba(255,255,255,.75);
}

.category-v14-breadcrumbs a:hover{
  color:#fff;
}

.category-v14-heading-row{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-end;
}

.category-v14-kicker{
  display:block;
  margin-bottom:10px;
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.category-v14-heading h1{
  margin:0;
  max-width:950px;
  color:#fff;
  font-size:clamp(3rem,7vw,6.5rem);
  line-height:.92;
  letter-spacing:-.06em;
}

.category-v14-counter{
  min-width:110px;
  padding:17px 19px;
  text-align:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(6px);
}

.category-v14-counter strong{
  display:block;
  color:#fff;
  font-size:1.8rem;
  line-height:1;
}

.category-v14-counter span{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.67);
  font-size:.72rem;
}

/* DESCRIPTION */
.category-v14-description-section{
  margin-top:-24px;
  position:relative;
  z-index:3;
}

.category-v14-description-card{
  display:grid;
  grid-template-columns:minmax(220px,.38fr) minmax(0,1fr);
  gap:40px;
  padding:30px 34px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 16px 40px rgba(0,0,0,.07);
}

.category-v14-description-title{
  padding-right:30px;
  border-right:1px solid var(--line);
}

.category-v14-description-title span{
  display:block;
  margin-bottom:7px;
  color:var(--accent);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.category-v14-description-title h2{
  margin:0;
  font-size:1.75rem;
  line-height:1.05;
  letter-spacing:-.035em;
}

.category-v14-description-text{
  color:#4b5159;
  font-size:.98rem;
  line-height:1.75;
}

.category-v14-description-text p{
  margin:0 0 .85em;
}

.category-v14-description-text p:last-child{
  margin-bottom:0;
}

/* CONTENT */
.category-v14-content{
  padding-top:42px;
}

.category-v14-featured{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);
  gap:22px;
  margin-bottom:54px;
}

.category-v14-main-story{
  position:relative;
  min-height:560px;
  overflow:hidden;
  border-radius:16px;
  background:#222;
}

.category-v14-main-story > a{
  display:block;
  position:absolute;
  inset:0;
}

.category-v14-main-story img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.category-v14-main-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:34px;
  color:#fff;
  background:linear-gradient(180deg,transparent 28%,rgba(0,0,0,.84));
}

.category-v14-main-overlay h2{
  max-width:800px;
  margin:10px 0 8px;
  color:#fff;
  font-size:clamp(2rem,3.5vw,3.3rem);
  line-height:1.04;
  letter-spacing:-.04em;
}

.category-v14-date{
  color:var(--muted);
  font-size:.72rem;
}

.category-v14-main-overlay .category-v14-date{
  color:rgba(255,255,255,.72);
}

.category-v14-side-stories{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.category-v14-side-card{
  display:grid;
  grid-template-columns:145px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:11px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  transition:transform .18s ease,box-shadow .18s ease;
}

.category-v14-side-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,.055);
}

.category-v14-side-image{
  overflow:hidden;
  border-radius:8px;
}

.category-v14-side-image img{
  width:145px;
  height:108px;
  object-fit:cover;
}

.category-v14-side-content h2{
  margin:5px 0 7px;
  font-size:1.04rem;
  line-height:1.18;
}

.category-v14-side-content p{
  margin:0;
  color:var(--muted);
  font-size:.81rem;
  line-height:1.45;
}

/* GRID */
.category-v14-list-header{
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.category-v14-list-header span{
  display:block;
  margin-bottom:6px;
  color:var(--accent);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.category-v14-list-header h2{
  margin:0;
  font-size:2rem;
  letter-spacing:-.035em;
}

.category-v14-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.category-v14-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  transition:transform .18s ease,box-shadow .18s ease;
}

.category-v14-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.065);
}

.category-v14-card-image{
  display:block;
  overflow:hidden;
  background:#eceef1;
}

.category-v14-card-image img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .28s ease;
}

.category-v14-card:hover .category-v14-card-image img{
  transform:scale(1.025);
}

.category-v14-noimage{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/10;
  padding:20px;
  color:#777d85;
  font-weight:700;
}

.category-v14-card-body{
  padding:20px;
}

.category-v14-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  color:var(--muted);
  font-size:.7rem;
}

.category-v14-card-body h2{
  margin:9px 0 8px;
  font-size:1.2rem;
  line-height:1.2;
}

.category-v14-card-body p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.6;
}

.category-v14-more{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:15px;
  font-size:.78rem;
  font-weight:800;
}

.category-v14-more span{
  color:var(--accent);
}

.category-v14-pagination{
  margin-top:38px;
}

.category-v14-pagination .page-numbers{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  margin:3px;
  padding:0 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:.82rem;
}

.category-v14-pagination .page-numbers.current,
.category-v14-pagination .page-numbers:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.category-v14-empty{
  grid-column:1/-1;
  padding:40px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}

@media(max-width:1050px){
  .category-v14-featured{
    grid-template-columns:1fr;
  }

  .category-v14-side-stories{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }

  .category-v14-side-card{
    display:block;
  }

  .category-v14-side-image img{
    width:100%;
    height:auto;
    aspect-ratio:16/10;
  }

  .category-v14-side-content{
    padding:12px 3px 3px;
  }

  .category-v14-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .category-v14-heading-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .category-v14-counter{
    text-align:left;
  }

  .category-v14-description-card{
    grid-template-columns:1fr;
    gap:20px;
  }

  .category-v14-description-title{
    padding-right:0;
    padding-bottom:18px;
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .category-v14-side-stories,
  .category-v14-grid{
    grid-template-columns:1fr;
  }

  .category-v14-side-card{
    display:grid;
    grid-template-columns:120px 1fr;
  }

  .category-v14-side-image img{
    width:120px;
    height:94px;
  }

  .category-v14-main-story{
    min-height:430px;
  }

  .category-v14-main-overlay{
    padding:24px;
  }
}


/* =========================================================
   SEO MAGAZINE v15 – NOWOCZESNA PODSTRONA KATEGORII
   FRONT-PAGE NIE JEST ZMIENIANY.
   ========================================================= */

.seo-cat-page{
  width:100%;
  padding-bottom:64px;
}

.seo-cat-banner{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,255,255,.10),transparent 26%),
    linear-gradient(120deg,var(--dark) 0%,#252a32 66%,var(--accent) 145%);
}

.seo-cat-banner::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);
  background-size:46px 46px;
}

.seo-cat-banner-inner{
  position:relative;
  z-index:2;
  padding-top:38px;
  padding-bottom:56px;
}

.seo-cat-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:46px;
  color:rgba(255,255,255,.62);
  font-size:.78rem;
}

.seo-cat-breadcrumbs a{
  color:rgba(255,255,255,.80);
}

.seo-cat-breadcrumbs a:hover{
  color:#fff;
}

.seo-cat-banner-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:32px;
}

.seo-cat-kicker{
  display:block;
  margin-bottom:10px;
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.seo-cat-banner h1{
  max-width:1000px;
  margin:0;
  color:#fff;
  font-size:clamp(3rem,7vw,6.4rem);
  line-height:.92;
  letter-spacing:-.06em;
}

.seo-cat-count{
  min-width:120px;
  padding:18px 20px;
  text-align:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:13px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}

.seo-cat-count strong{
  display:block;
  color:#fff;
  font-size:1.9rem;
  line-height:1;
}

.seo-cat-count span{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.70);
  font-size:.72rem;
}

/* OPIS */
.seo-cat-description-wrap{
  position:relative;
  z-index:4;
  margin-top:-26px;
}

.seo-cat-description-card{
  display:grid;
  grid-template-columns:minmax(220px,.36fr) minmax(0,1fr);
  gap:38px;
  padding:30px 34px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 16px 42px rgba(0,0,0,.07);
}

.seo-cat-description-heading{
  padding-right:30px;
  border-right:1px solid var(--line);
}

.seo-cat-description-heading span{
  display:block;
  margin-bottom:7px;
  color:var(--accent);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.seo-cat-description-heading h2{
  margin:0;
  font-size:1.75rem;
  line-height:1.05;
  letter-spacing:-.035em;
}

.seo-cat-description-text{
  color:#4d535b;
  font-size:.98rem;
  line-height:1.76;
}

.seo-cat-description-text p{
  margin:0 0 .9em;
}

.seo-cat-description-text p:last-child{
  margin-bottom:0;
}

/* CONTENT */
.seo-cat-content{
  padding-top:44px;
}

.seo-cat-featured{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:22px;
  margin-bottom:54px;
}

.seo-cat-lead{
  position:relative;
  min-height:560px;
  overflow:hidden;
  border-radius:16px;
  background:#222;
}

.seo-cat-lead > a{
  position:absolute;
  inset:0;
  display:block;
}

.seo-cat-lead img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.seo-cat-lead-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:34px;
  color:#fff;
  background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.84));
}

.seo-cat-lead-overlay h2{
  max-width:800px;
  margin:10px 0 8px;
  color:#fff;
  font-size:clamp(2rem,3.5vw,3.25rem);
  line-height:1.04;
  letter-spacing:-.04em;
}

.seo-cat-date{
  color:var(--muted);
  font-size:.72rem;
}

.seo-cat-lead .seo-cat-date{
  color:rgba(255,255,255,.72);
}

/* SIDE */
.seo-cat-side{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.seo-cat-mini{
  display:grid;
  grid-template-columns:145px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:11px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  transition:transform .18s ease,box-shadow .18s ease;
}

.seo-cat-mini:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.055);
}

.seo-cat-mini-img{
  display:block;
  overflow:hidden;
  border-radius:8px;
}

.seo-cat-mini-img img{
  width:145px;
  height:108px;
  object-fit:cover;
}

.seo-cat-mini-body h2{
  margin:5px 0 7px;
  font-size:1.05rem;
  line-height:1.18;
}

.seo-cat-mini-body p{
  margin:0;
  color:var(--muted);
  font-size:.81rem;
  line-height:1.45;
}

/* MORE */
.seo-cat-more-head{
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.seo-cat-more-head span{
  display:block;
  margin-bottom:6px;
  color:var(--accent);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.seo-cat-more-head h2{
  margin:0;
  font-size:2rem;
  letter-spacing:-.035em;
}

.seo-cat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.seo-cat-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  transition:transform .18s ease,box-shadow .18s ease;
}

.seo-cat-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.065);
}

.seo-cat-card-img{
  display:block;
  overflow:hidden;
  background:#eceef1;
}

.seo-cat-card-img img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .28s ease;
}

.seo-cat-card:hover .seo-cat-card-img img{
  transform:scale(1.025);
}

.seo-cat-noimage{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/10;
  padding:20px;
  color:#777d85;
  font-weight:700;
}

.seo-cat-card-body{
  padding:20px;
}

.seo-cat-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  color:var(--muted);
  font-size:.7rem;
}

.seo-cat-card-body h2{
  margin:9px 0 8px;
  font-size:1.2rem;
  line-height:1.2;
}

.seo-cat-card-body p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.6;
}

.seo-cat-readmore{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:15px;
  font-size:.78rem;
  font-weight:800;
}

.seo-cat-readmore span{
  color:var(--accent);
}

.seo-cat-pagination{
  margin-top:38px;
}

.seo-cat-pagination .page-numbers{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  margin:3px;
  padding:0 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--text);
  font-size:.82rem;
}

.seo-cat-pagination .page-numbers.current,
.seo-cat-pagination .page-numbers:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.seo-cat-empty{
  grid-column:1/-1;
  padding:42px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}

/* RESPONSIVE */
@media(max-width:1050px){
  .seo-cat-featured{
    grid-template-columns:1fr;
  }

  .seo-cat-side{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }

  .seo-cat-mini{
    display:block;
  }

  .seo-cat-mini-img img{
    width:100%;
    height:auto;
    aspect-ratio:16/10;
  }

  .seo-cat-mini-body{
    padding:12px 3px 3px;
  }

  .seo-cat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .seo-cat-banner-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .seo-cat-count{
    text-align:left;
  }

  .seo-cat-description-card{
    grid-template-columns:1fr;
    gap:20px;
  }

  .seo-cat-description-heading{
    padding-right:0;
    padding-bottom:18px;
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .seo-cat-side,
  .seo-cat-grid{
    grid-template-columns:1fr;
  }

  .seo-cat-mini{
    display:grid;
    grid-template-columns:120px 1fr;
  }

  .seo-cat-mini-img img{
    width:120px;
    height:94px;
  }

  .seo-cat-lead{
    min-height:430px;
  }

  .seo-cat-lead-overlay{
    padding:24px;
  }
}


/* ============================================================
   VISITS4U GZ6 – MAGAZINE THEME
   CATEGORY PAGE BUILT FROM SCRATCH
   ============================================================ */

.sm16-category{
  width:100%;
  padding-bottom:64px;
}

.sm16-category-hero{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 82% 16%,rgba(255,255,255,.12),transparent 28%),
    linear-gradient(118deg,var(--dark) 0%,#252a31 66%,var(--accent) 150%);
}

.sm16-category-hero::after{
  content:"";
  position:absolute;
  inset:0;
  opacity:.12;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px);
  background-size:48px 48px;
}

.sm16-category-hero-inner{
  position:relative;
  z-index:2;
  padding-top:38px;
  padding-bottom:56px;
}

.sm16-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:46px;
  color:rgba(255,255,255,.62);
  font-size:.78rem;
}

.sm16-breadcrumbs a{
  color:rgba(255,255,255,.82);
}

.sm16-breadcrumbs a:hover{
  color:#fff;
}

.sm16-category-hero-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
}

.sm16-category-label{
  display:block;
  margin-bottom:10px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#fff;
}

.sm16-category-title-wrap h1{
  max-width:980px;
  margin:0;
  color:#fff;
  font-size:clamp(3rem,7vw,6.2rem);
  line-height:.92;
  letter-spacing:-.06em;
}

.sm16-category-counter{
  min-width:120px;
  padding:18px 20px;
  text-align:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:13px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}

.sm16-category-counter strong{
  display:block;
  color:#fff;
  font-size:1.9rem;
  line-height:1;
}

.sm16-category-counter span{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.70);
  font-size:.72rem;
}

/* description */
.sm16-category-description{
  position:relative;
  z-index:4;
  margin-top:-26px;
}

.sm16-category-description-box{
  display:grid;
  grid-template-columns:minmax(220px,.36fr) minmax(0,1fr);
  gap:38px;
  padding:30px 34px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 16px 42px rgba(0,0,0,.07);
}

.sm16-category-description-heading{
  padding-right:30px;
  border-right:1px solid var(--line);
}

.sm16-category-description-heading span{
  display:block;
  margin-bottom:7px;
  color:var(--accent);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.sm16-category-description-heading h2{
  margin:0;
  font-size:1.75rem;
  line-height:1.05;
  letter-spacing:-.035em;
}

.sm16-category-description-content{
  color:#4d535b;
  font-size:.98rem;
  line-height:1.76;
}

.sm16-category-description-content p{
  margin:0 0 .9em;
}

.sm16-category-description-content p:last-child{
  margin-bottom:0;
}

/* content */
.sm16-category-content{
  padding-top:44px;
}

.sm16-featured-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:22px;
  margin-bottom:54px;
}

.sm16-lead-story{
  position:relative;
  min-height:560px;
  overflow:hidden;
  border-radius:16px;
  background:#222;
}

.sm16-lead-story > a{
  position:absolute;
  inset:0;
  display:block;
}

.sm16-lead-story img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.sm16-lead-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:34px;
  background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.84));
}

.sm16-lead-overlay h2{
  max-width:800px;
  margin:10px 0 8px;
  color:#fff;
  font-size:clamp(2rem,3.5vw,3.25rem);
  line-height:1.04;
  letter-spacing:-.04em;
}

.sm16-meta{
  color:var(--muted);
  font-size:.72rem;
}

.sm16-lead-story .sm16-meta{
  color:rgba(255,255,255,.72);
}

.sm16-side-stories{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.sm16-side-card{
  display:grid;
  grid-template-columns:145px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:11px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  transition:transform .18s ease,box-shadow .18s ease;
}

.sm16-side-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.055);
}

.sm16-side-thumb{
  display:block;
  overflow:hidden;
  border-radius:8px;
}

.sm16-side-thumb img{
  width:145px;
  height:108px;
  object-fit:cover;
}

.sm16-side-body h2{
  margin:5px 0 7px;
  font-size:1.05rem;
  line-height:1.18;
}

.sm16-side-body p{
  margin:0;
  color:var(--muted);
  font-size:.81rem;
  line-height:1.45;
}

/* list */
.sm16-category-list-heading{
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.sm16-category-list-heading span{
  display:block;
  margin-bottom:6px;
  color:var(--accent);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.sm16-category-list-heading h2{
  margin:0;
  font-size:2rem;
  letter-spacing:-.035em;
}

.sm16-category-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.sm16-category-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  transition:transform .18s ease,box-shadow .18s ease;
}

.sm16-category-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.065);
}

.sm16-category-card-image{
  display:block;
  overflow:hidden;
  background:#eceef1;
}

.sm16-category-card-image img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .28s ease;
}

.sm16-category-card:hover .sm16-category-card-image img{
  transform:scale(1.025);
}

.sm16-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/10;
  padding:20px;
  color:#777d85;
  font-weight:700;
}

.sm16-category-card-body{
  padding:20px;
}

.sm16-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  color:var(--muted);
  font-size:.7rem;
}

.sm16-category-card-body h2{
  margin:9px 0 8px;
  font-size:1.2rem;
  line-height:1.2;
}

.sm16-category-card-body p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.6;
}

.sm16-read-more{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:15px;
  color:var(--text);
  font-size:.78rem;
  font-weight:800;
}

.sm16-read-more span{
  color:var(--accent);
}

.sm16-pagination{
  margin-top:38px;
}

.sm16-pagination .page-numbers{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  margin:3px;
  padding:0 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--text);
  font-size:.82rem;
}

.sm16-pagination .page-numbers.current,
.sm16-pagination .page-numbers:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.sm16-empty{
  grid-column:1/-1;
  padding:42px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}

/* responsive */
@media(max-width:1050px){
  .sm16-featured-grid{
    grid-template-columns:1fr;
  }

  .sm16-side-stories{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }

  .sm16-side-card{
    display:block;
  }

  .sm16-side-thumb img{
    width:100%;
    height:auto;
    aspect-ratio:16/10;
  }

  .sm16-side-body{
    padding:12px 3px 3px;
  }

  .sm16-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .sm16-category-hero-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .sm16-category-counter{
    text-align:left;
  }

  .sm16-category-description-box{
    grid-template-columns:1fr;
    gap:20px;
  }

  .sm16-category-description-heading{
    padding-right:0;
    padding-bottom:18px;
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .sm16-side-stories,
  .sm16-category-grid{
    grid-template-columns:1fr;
  }

  .sm16-side-card{
    display:grid;
    grid-template-columns:120px 1fr;
  }

  .sm16-side-thumb img{
    width:120px;
    height:94px;
  }

  .sm16-lead-story{
    min-height:430px;
  }

  .sm16-lead-overlay{
    padding:24px;
  }
}








/* =====================================================
   VISITS4U GZ5 – EDITORIAL MAGAZINE
   ===================================================== */
:root{
  --gz5-bg:#f3efe7;
  --gz5-paper:#fffdf8;
  --gz5-text:#1f2430;
  --gz5-muted:#72767d;
  --gz5-line:#ded8cd;
  --gz5-accent:#b56a2a;
  --gz5-navy:#243042;
  --container:1280px;
}
body{background:var(--gz5-bg);color:var(--gz5-text);font-family:Arial,Helvetica,sans-serif}
.container{width:min(calc(100% - 36px),var(--container));margin-inline:auto}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
.gz5-topline{background:var(--gz5-navy);color:#dfe3e8;font-size:.76rem}
.gz5-topline-inner{min-height:34px;display:flex;justify-content:space-between;align-items:center}
.gz5-header{background:var(--gz5-paper);border-bottom:1px solid var(--gz5-line)}
.gz5-brand-row{min-height:98px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.gz5-site-title{font-family:Georgia,"Times New Roman",serif;font-size:2.4rem;font-weight:700;letter-spacing:-.035em}
.gz5-nav .primary-menu{display:flex;gap:25px;list-style:none;margin:0;padding:0}
.gz5-nav .primary-menu a{text-transform:uppercase;font-size:.82rem;font-weight:700;letter-spacing:.04em}
.menu-toggle{display:none}
.custom-logo{max-height:52px;width:auto}

.gz5-hero{padding:34px 0}
.gz5-hero-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:24px}
.gz5-hero-main{position:relative;min-height:590px;overflow:hidden;background:#222}
.gz5-hero-main>a{position:absolute;inset:0}
.gz5-hero-main img{width:100%;height:100%;object-fit:cover}
.gz5-hero-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;padding:42px;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.84));color:#fff}
.gz5-hero-overlay h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.4rem,4.7vw,4.6rem);line-height:.98;margin:10px 0 14px;letter-spacing:-.04em}
.gz5-hero-overlay p{max-width:760px;margin:0 0 12px;color:rgba(255,255,255,.88)}
.gz5-kicker,.gz5-mini-cat{display:inline-block;color:var(--gz5-accent);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.gz5-hero-main .gz5-kicker{color:#fff;background:var(--gz5-accent);padding:5px 8px}
.gz5-meta{color:var(--gz5-muted);font-size:.73rem}
.gz5-hero-main .gz5-meta{color:rgba(255,255,255,.74)}
.gz5-hero-side{display:grid;gap:16px}
.gz5-hero-side-card{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--gz5-line)}
.gz5-hero-side-card img{width:150px;height:115px;object-fit:cover}
.gz5-hero-side-card h2{font-family:Georgia,"Times New Roman",serif;font-size:1.08rem;line-height:1.18;margin:6px 0 0}

.gz5-sections{padding:14px 0 54px}
.gz5-section{margin:50px 0}
.gz5-section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px;padding-bottom:12px;border-bottom:2px solid var(--gz5-text)}
.gz5-section-head h2{font-family:Georgia,"Times New Roman",serif;font-size:2.2rem;margin:3px 0 0}
.gz5-section-head a{font-size:.8rem;font-weight:700}
.gz5-section-eyebrow{color:var(--gz5-accent);font-size:.67rem;text-transform:uppercase;font-weight:800;letter-spacing:.09em}
.gz5-three{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.gz5-editorial-card{background:var(--gz5-paper);border:1px solid var(--gz5-line)}
.gz5-editorial-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.gz5-editorial-body{padding:18px}
.gz5-editorial-body h3{font-family:Georgia,"Times New Roman",serif;font-size:1.35rem;line-height:1.15;margin:7px 0 9px}
.gz5-editorial-body p{margin:0;color:var(--gz5-muted);font-size:.9rem;line-height:1.55}

.gz5-five{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:18px}
.gz5-five-lead{grid-row:span 2;background:var(--gz5-paper)}
.gz5-five-lead img{width:100%;height:100%;min-height:460px;object-fit:cover}
.gz5-five-lead>div{padding:16px}
.gz5-five-lead h3{font-family:Georgia,"Times New Roman",serif;font-size:1.6rem;line-height:1.1;margin:8px 0}
.gz5-five-small{display:grid;grid-template-columns:130px 1fr;gap:12px;align-items:center}
.gz5-five-small img{width:130px;height:95px;object-fit:cover}
.gz5-five-small h3{font-family:Georgia,"Times New Roman",serif;font-size:1rem;line-height:1.2;margin:5px 0}

.gz5-two{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.gz5-two-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.gz5-two-body{padding:16px 0}
.gz5-two-body h3{font-family:Georgia,"Times New Roman",serif;font-size:1.65rem;line-height:1.1;margin:8px 0}
.gz5-two-body p{margin:0;color:var(--gz5-muted)}

.gz5-four-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 28px}
.gz5-list-row{display:grid;grid-template-columns:180px 1fr;gap:16px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--gz5-line)}
.gz5-list-row img{width:180px;height:120px;object-fit:cover}
.gz5-list-row h3{font-family:Georgia,"Times New Roman",serif;font-size:1.18rem;line-height:1.16;margin:5px 0 7px}
.gz5-list-row p{margin:0;color:var(--gz5-muted);font-size:.86rem}

.gz5-about{padding:0 0 58px}
.gz5-about-inner{display:grid;grid-template-columns:1.4fr .6fr;gap:44px;padding:38px;background:var(--gz5-navy);color:#eef1f4}
.gz5-about-main>span{color:#d6a16e;text-transform:uppercase;font-size:.7rem;font-weight:800;letter-spacing:.08em}
.gz5-about h2{font-family:Georgia,"Times New Roman",serif;font-size:2.6rem;margin:8px 0 16px}
.gz5-about p{color:#d3d8de;line-height:1.7}
.gz5-about aside{border-left:1px solid rgba(255,255,255,.18);padding-left:28px}
.gz5-about aside h3{font-family:Georgia,"Times New Roman",serif;font-size:1.45rem;margin-top:0}

.gz5-single-wrap{width:min(calc(100% - 36px),1200px);margin:0 auto;padding:40px 0 64px}
.gz5-breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;color:var(--gz5-muted);font-size:.76rem;margin-bottom:24px}
.gz5-single-head{max-width:900px}
.gz5-single-head h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.6rem,5vw,4.8rem);line-height:.98;letter-spacing:-.045em;margin:10px 0 14px}
.gz5-single-lead{font-size:1.15rem;color:#5f646b;line-height:1.6}
.gz5-single-image{margin:28px 0 34px}
.gz5-single-image img{width:100%;max-height:650px;object-fit:cover}
.gz5-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:46px}
.gz5-single-content{font-family:Georgia,"Times New Roman",serif;font-size:1.08rem;line-height:1.8}
.gz5-single-content h2,.gz5-single-content h3{font-family:Arial,Helvetica,sans-serif;line-height:1.2}
.gz5-aside-box{position:sticky;top:20px;border-top:3px solid var(--gz5-text);padding-top:14px}
.gz5-aside-box h2{font-family:Georgia,"Times New Roman",serif}
.gz5-aside-item{display:grid;grid-template-columns:80px 1fr;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--gz5-line)}
.gz5-aside-item img{width:80px;height:62px;object-fit:cover}
.gz5-aside-item h3{font-size:.88rem;line-height:1.2;margin:0}
.gz5-related{margin-top:48px;border-top:2px solid var(--gz5-text);padding-top:22px}
.gz5-related>h2{font-family:Georgia,"Times New Roman",serif;font-size:2rem}
.gz5-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.gz5-related-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}
.gz5-related-grid h3{font-family:Georgia,"Times New Roman",serif;font-size:1.05rem;line-height:1.2}

.gz5-cat-hero{padding:46px 0;background:var(--gz5-paper);border-bottom:1px solid var(--gz5-line)}
.gz5-cat-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,6vw,5.4rem);margin:8px 0 18px;letter-spacing:-.05em}
.gz5-cat-desc{max-width:900px;color:var(--gz5-muted);line-height:1.7}
.gz5-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;padding-top:38px}
.gz5-cat-card{display:grid;grid-template-columns:220px 1fr;gap:18px;background:var(--gz5-paper);border-bottom:1px solid var(--gz5-line);padding-bottom:18px}
.gz5-cat-card img{width:220px;height:150px;object-fit:cover}
.gz5-cat-card h2{font-family:Georgia,"Times New Roman",serif;font-size:1.35rem;line-height:1.15;margin:8px 0}
.gz5-cat-card p{margin:0;color:var(--gz5-muted);font-size:.88rem}
.gz5-pagination{padding:30px 0 56px}

.gz5-footer{background:#1d2531;color:#d7dce2}
.gz5-footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:42px;padding-top:44px;padding-bottom:42px}
.gz5-footer h2{font-family:Georgia,"Times New Roman",serif;color:#fff;margin-top:0}
.gz5-footer p{color:#c2c8cf;line-height:1.7}
.gz5-footer ul{list-style:none;padding:0;margin:0}
.gz5-footer li{margin:0 0 9px}
.gz5-footer a{color:#e2e6eb}
.gz5-footer-bottom{border-top:1px solid rgba(255,255,255,.1)}
.gz5-footer-bottom-inner{min-height:70px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:.8rem}
.gz5-credit .visits4u-gz5-credit{display:inline-flex;gap:7px}
.gz5-credit .visits4u-gz5-credit-label{opacity:.58}
.gz5-credit a{font-weight:700}

@media(max-width:1000px){
  .gz5-hero-grid{grid-template-columns:1fr}
  .gz5-hero-side{grid-template-columns:repeat(2,1fr)}
  .gz5-five{grid-template-columns:1fr 1fr}
  .gz5-five-lead{grid-column:1/-1}
  .gz5-cat-grid{grid-template-columns:1fr}
  .gz5-single-grid{grid-template-columns:1fr}
  .gz5-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .gz5-topline-note{display:none}
  .menu-toggle{display:block}
  .gz5-nav{display:none;width:100%}
  .gz5-nav.is-open{display:block}
  .gz5-brand-row{flex-wrap:wrap}
  .gz5-nav .primary-menu{flex-direction:column;gap:0}
  .gz5-nav .primary-menu a{display:block;padding:8px 0}
  .gz5-hero-main{min-height:450px}
  .gz5-hero-overlay{padding:24px}
  .gz5-hero-side{grid-template-columns:1fr}
  .gz5-three,.gz5-two,.gz5-four-list{grid-template-columns:1fr}
  .gz5-five{grid-template-columns:1fr}
  .gz5-five-small{grid-template-columns:110px 1fr}
  .gz5-about-inner{grid-template-columns:1fr}
  .gz5-about aside{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding-left:0;padding-top:22px}
  .gz5-related-grid{grid-template-columns:1fr}
  .gz5-cat-card{grid-template-columns:120px 1fr}
  .gz5-cat-card img{width:120px;height:95px}
  .gz5-footer-grid{grid-template-columns:1fr}
  .gz5-footer-bottom-inner{flex-direction:column;align-items:flex-start;padding-top:16px;padding-bottom:16px}
}


/* =====================================================
   GZ5 1.1 – stabilizacja długich tytułów i sekcji
   ===================================================== */

/* większy oddech między hero a pierwszą sekcją */
.gz5-sections{
  padding-top:34px;
}

/* sekcja z 5 wpisami – stabilny układ */
.gz5-five{
  align-items:start;
}

.gz5-five-lead{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
}

.gz5-five-lead > a{
  display:block;
  overflow:hidden;
}

.gz5-five-lead img{
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:4/3;
  object-fit:cover;
}

.gz5-five-lead > div{
  padding:18px 16px 20px;
}

.gz5-five-lead .gz5-mini-cat{
  display:block;
  margin-bottom:8px;
}

.gz5-five-lead h3{
  margin:0;
  font-size:1.45rem;
  line-height:1.12;
  overflow-wrap:anywhere;
  word-break:normal;
}

/* małe boksy obok – bez rozsypywania */
.gz5-five-small{
  min-width:0;
  align-items:start;
  padding-bottom:14px;
  border-bottom:1px solid var(--gz5-line);
}

.gz5-five-small > a{
  display:block;
  overflow:hidden;
}

.gz5-five-small img{
  width:130px;
  height:96px;
  object-fit:cover;
}

.gz5-five-small > div{
  min-width:0;
  padding-top:2px;
}

.gz5-five-small .gz5-mini-cat{
  display:block;
  margin-bottom:6px;
}

.gz5-five-small h3{
  margin:0;
  font-size:1rem;
  line-height:1.22;
  overflow-wrap:anywhere;
  word-break:normal;
}

/* nagłówki sekcji nie mogą nachodzić na karty */
.gz5-section-head{
  position:relative;
  z-index:2;
  margin-bottom:26px;
}

.gz5-section-head > div{
  min-width:0;
}

.gz5-section-head h2{
  line-height:1.05;
  overflow-wrap:anywhere;
}

/* dodatkowy odstęp dla pierwszej kategorii */
.gz5-sections > .gz5-section:first-child{
  margin-top:26px;
}

/* długie tytuły w dużych kaflach */
.gz5-editorial-body h3,
.gz5-two-body h3,
.gz5-list-row h3,
.gz5-hero-side-card h2{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* tablet */
@media(max-width:1000px){
  .gz5-five{
    grid-template-columns:1fr 1fr;
  }

  .gz5-five-lead{
    grid-column:1/-1;
  }

  .gz5-five-small{
    grid-template-columns:140px 1fr;
  }

  .gz5-five-small img{
    width:140px;
    height:100px;
  }
}

/* mobile */
@media(max-width:720px){
  .gz5-sections{
    padding-top:22px;
  }

  .gz5-section{
    margin:38px 0;
  }

  .gz5-section-head{
    align-items:flex-start;
    gap:18px;
    margin-bottom:20px;
  }

  .gz5-section-head h2{
    font-size:1.9rem;
  }

  .gz5-five{
    grid-template-columns:1fr;
  }

  .gz5-five-lead{
    grid-column:auto;
  }

  .gz5-five-lead img{
    aspect-ratio:16/10;
  }

  .gz5-five-small{
    grid-template-columns:110px 1fr;
  }

  .gz5-five-small img{
    width:110px;
    height:84px;
  }

  .gz5-five-small h3{
    font-size:.96rem;
  }
}
