/*
Theme Name: Życie na Kołach
Theme URI: https://example.com/zycie-na-kolach
Author: Życie na Kołach
Description: Lekki, responsywny motyw blogowy dla pary podróżującej kamperem i vanem. Projekt oparty na makiecie Google Stitch: hero, trzy filary tematyczne, sekcja o autorach, archiwa kategorii i czytelne artykuły.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: zycie-na-kolach
*/

:root{
  --znk-bg:#f8faf5;
  --znk-surface:#ffffff;
  --znk-surface-low:#f3f4ef;
  --znk-surface-mid:#edeee9;
  --znk-text:#191c19;
  --znk-muted:#5f645c;
  --znk-primary:#34482d;
  --znk-primary-2:#4b6043;
  --znk-soft:#e8e2d7;
  --znk-border:#d9ddd4;
  --znk-max:1152px;
  --znk-radius:14px;
  --znk-shadow:0 8px 26px rgba(25,28,25,.055);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--znk-bg);
  color:var(--znk-text);
  font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{color:var(--znk-primary)}
button,input,textarea,select{font:inherit}
.screen-reader-text{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0
}
.container{width:min(var(--znk-max),calc(100% - 32px));margin-inline:auto}
.site-main{padding-top:80px}
.serif{font-family:"Newsreader",Georgia,serif}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border-radius:999px;
  background:var(--znk-soft);color:#2c302a;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase
}
.eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--znk-primary)}
.section-kicker{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--znk-primary);font-weight:700}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 18px;
  border-radius:9px;background:var(--znk-primary);color:#fff;font-size:13px;font-weight:700;
  letter-spacing:.055em;text-transform:uppercase;transition:.2s ease;border:0
}
.btn:hover{background:#263721;color:#fff;transform:translateY(-1px)}
.btn-light{background:var(--znk-surface-mid);color:var(--znk-text)}
.btn-light:hover{background:var(--znk-primary);color:#fff}

/* Header */
.site-header{
  position:fixed;inset:0 0 auto 0;height:80px;z-index:50;background:rgba(248,250,245,.88);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 1px 8px rgba(0,0,0,.03)
}
.header-inner{height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand-mark{display:flex;align-items:center;min-width:42px}
.custom-logo{display:block;max-height:36px;width:auto}
.default-logo{
  width:38px;height:38px;display:grid;place-items:center;border-radius:50%;
  background:var(--znk-primary);color:#fff
}
.default-logo svg{width:23px;height:23px}
.primary-nav{display:flex;align-items:center;gap:28px}
.primary-nav ul{list-style:none;display:flex;gap:28px;align-items:center;margin:0;padding:0}
.primary-nav a{
  font-size:13px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#4c514a
}
.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current_page_item>a{color:var(--znk-primary)}
.header-actions{display:flex;align-items:center;gap:26px}

/* Hero */
.hero-wrap{position:relative;overflow:hidden}
.hero-wrap::before{
  content:"";position:absolute;top:-180px;left:50%;transform:translateX(-50%);width:720px;height:330px;
  border-radius:50%;background:rgba(209,234,196,.3);filter:blur(62px);z-index:-1
}
.hero{padding:64px 0 56px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:15px}
.hero h1{margin:0;font-family:"Newsreader",Georgia,serif;font-weight:400;font-size:clamp(42px,5.2vw,64px);line-height:1.02;letter-spacing:-.025em}
.hero-lead{margin:0;max-width:590px;font-family:"Newsreader",Georgia,serif;font-size:21px;line-height:1.55;color:#444840}
.hero-values{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:5px;color:#615e56;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.hero-values span{display:flex;align-items:center;gap:6px}
.hero-values i{width:5px;height:5px;border-radius:50%;background:#bfc4ba;display:block}
.hero-media{
  min-height:400px;border-radius:var(--znk-radius);overflow:hidden;background:linear-gradient(150deg,#d1eac4,#829376 55%,#34482d);
  position:relative;box-shadow:var(--znk-shadow)
}
.hero-media img{width:100%;height:400px;object-fit:cover;display:block}
.hero-media-placeholder{
  min-height:400px;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;color:#fff;
  background:
    linear-gradient(to top,rgba(18,28,18,.62),rgba(18,28,18,.04) 58%),
    radial-gradient(circle at 72% 24%,rgba(255,243,192,.76),transparent 15%),
    linear-gradient(160deg,#a8b99e 0 40%,#687c61 40% 66%,#384b35 66%)
}
.hero-media-placeholder strong{font-family:"Newsreader",Georgia,serif;font-size:24px;font-weight:500}
.hero-media-placeholder small{font-size:11px;letter-spacing:.1em;text-transform:uppercase;opacity:.85}

/* Latest */
.latest-section{padding:68px 0 54px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:34px}
.section-head h2{font-family:"Newsreader",Georgia,serif;font-size:42px;line-height:1.1;font-weight:400;letter-spacing:-.02em;margin:4px 0 0}
.section-head p{max-width:390px;margin:0;color:var(--znk-muted);font-size:14px;text-align:right}
.pillars-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.pillar{
  display:flex;flex-direction:column;justify-content:space-between;background:var(--znk-surface-low);
  padding:24px;border-radius:var(--znk-radius);box-shadow:0 3px 14px rgba(25,28,25,.04)
}
.pillar-title{margin-bottom:18px}
.pillar-index{font-size:12px;color:var(--znk-primary);font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pillar-title h3{font-family:"Newsreader",Georgia,serif;font-size:29px;line-height:1.15;font-weight:500;margin:5px 0 8px}
.pillar-title p{margin:0;color:#555a52;font-size:14px;line-height:1.55}
.post-list{display:flex;flex-direction:column;gap:14px}
.mini-card{
  padding:16px;background:var(--znk-surface);border-radius:10px;box-shadow:0 2px 10px rgba(25,28,25,.045);
  transition:.2s ease
}
.mini-card:hover{transform:translateY(-2px);box-shadow:var(--znk-shadow)}
.mini-card time{display:block;font-size:11px;letter-spacing:.045em;color:#716f68;margin-bottom:5px}
.mini-card h4{font-size:19px;line-height:1.35;margin:0 0 7px;font-weight:650}
.mini-card p{font-size:13px;line-height:1.55;color:#555a52;margin:0}
.read-more{display:inline-block;margin-top:8px;color:var(--znk-primary);font-size:12px;font-weight:700}
.pillar-footer{padding-top:20px}
.pillar-footer .btn{width:100%}
.empty-state{font-size:13px;color:#666b63;padding:16px;background:#fff;border-radius:10px}
.empty-state strong{display:block;color:var(--znk-text);margin-bottom:4px}

/* About strip */
.about-strip{padding:20px 0 24px}
.about-box{
  overflow:hidden;background:var(--znk-surface-low);border-radius:18px;display:grid;grid-template-columns:5fr 7fr;
  min-height:410px;box-shadow:0 4px 18px rgba(25,28,25,.045)
}
.about-media{min-height:410px;background:linear-gradient(135deg,#9bad90,#62775b);overflow:hidden}
.about-media img{width:100%;height:100%;min-height:410px;object-fit:cover;display:block}
.about-placeholder{
  min-height:410px;height:100%;display:flex;align-items:flex-end;padding:24px;color:#fff;
  background:
    linear-gradient(to top,rgba(30,40,29,.58),transparent 60%),
    linear-gradient(145deg,#c0cbb6 0 34%,#7e9277 34% 67%,#3e523b 67%)
}
.about-content{padding:48px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:15px}
.about-content h2{font-family:"Newsreader",Georgia,serif;font-size:40px;line-height:1.13;font-weight:400;letter-spacing:-.018em;margin:0}
.about-content p{margin:0;color:#4c514a}
.quote-strip{padding:36px 16px 54px;text-align:center;max-width:760px;margin:0 auto}
.quote-strip blockquote{font-family:"Newsreader",Georgia,serif;font-size:27px;line-height:1.4;font-style:italic;color:#5f5c55;margin:0}
.quote-strip cite{display:block;margin-top:8px;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#83877f}

/* Footer */
.site-footer{margin-top:72px;background:var(--znk-surface-low)}
.footer-top{padding:54px 0 34px;display:flex;justify-content:space-between;align-items:flex-start;gap:50px}
.footer-brand{max-width:350px}
.footer-brand-line{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.footer-brand-line .site-name{font-family:"Newsreader",Georgia,serif;font-size:20px;font-weight:600}
.footer-brand p{font-size:13px;color:#555a52;margin:0}
.footer-links{display:flex;gap:60px;flex-wrap:wrap}
.footer-links h3{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:#6b6f68;margin:0 0 10px}
.footer-links ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.footer-links a{font-size:13px;color:#4f544c}
.footer-bottom{border-top:1px solid var(--znk-border);padding:21px 0 30px;display:flex;justify-content:space-between;gap:20px;color:#666b63;font-size:12px}
.footer-motto{text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:700}

/* Archives and content */
.page-shell{padding:66px 0 20px}
.archive-hero,.page-hero{max-width:760px;margin-bottom:34px}
.archive-hero h1,.page-hero h1{
  font-family:"Newsreader",Georgia,serif;font-size:clamp(40px,5vw,56px);line-height:1.05;
  font-weight:400;letter-spacing:-.025em;margin:6px 0 12px
}
.archive-hero p,.page-hero p{margin:0;color:#555a52;font-size:17px}
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.post-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 16px rgba(25,28,25,.05);transition:.2s ease}
.post-card:hover{transform:translateY(-3px);box-shadow:var(--znk-shadow)}
.post-card-thumb{aspect-ratio:16/10;background:linear-gradient(135deg,#d4ddce,#7f9278);overflow:hidden}
.post-card-thumb img{width:100%;height:100%;object-fit:cover}
.post-card-body{padding:20px}
.post-meta{font-size:11px;color:#777b74;margin-bottom:7px}
.post-card h2{font-size:21px;line-height:1.35;margin:0 0 9px}
.post-card p{font-size:14px;color:#565b53;margin:0}
.pagination{margin-top:36px;display:flex;justify-content:center}
.nav-links{display:flex;gap:8px;align-items:center}
.page-numbers{padding:8px 12px;background:#fff;border-radius:8px}
.page-numbers.current{background:var(--znk-primary);color:#fff}

.single-wrap{padding:60px 0 10px}
.article-header{max-width:850px;margin:0 auto 30px;text-align:center}
.article-header .categories{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.article-header .categories a{font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--znk-primary)}
.article-header h1{
  font-family:"Newsreader",Georgia,serif;font-size:clamp(40px,5.5vw,62px);line-height:1.07;
  font-weight:400;letter-spacing:-.026em;margin:0 0 13px
}
.article-header .meta{font-size:12px;color:#74786f}
.article-featured{max-width:1050px;margin:0 auto 38px;border-radius:16px;overflow:hidden}
.article-featured img{display:block;width:100%;max-height:620px;object-fit:cover}
.entry-content{max-width:760px;margin:0 auto;font-size:17px;line-height:1.82}
.entry-content h2,.entry-content h3,.entry-content h4{font-family:"Newsreader",Georgia,serif;line-height:1.2}
.entry-content h2{font-size:36px;margin-top:46px}
.entry-content h3{font-size:28px;margin-top:36px}
.entry-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;color:var(--znk-primary)}
.entry-content blockquote{margin:32px 0;padding:18px 24px;border-left:3px solid var(--znk-primary);background:var(--znk-surface-low);font-family:"Newsreader",Georgia,serif;font-size:23px}
.entry-content img{border-radius:12px}
.page-content{max-width:780px}
.page-content>p:first-child{font-size:19px;color:#4d524b}

/* Mobile */
@media (max-width:960px){
  .hero{grid-template-columns:1fr;padding-top:42px}
  .hero-media,.hero-media img,.hero-media-placeholder{min-height:340px;height:340px}
  .pillars-grid{grid-template-columns:1fr}
  .about-box{grid-template-columns:1fr}
  .about-media,.about-media img,.about-placeholder{min-height:360px}
  .posts-grid{grid-template-columns:repeat(2,1fr)}
  .footer-top{flex-direction:column}
}
@media (max-width:640px){
  .container{width:min(100% - 24px,var(--znk-max))}
  .site-main{padding-top:70px}
  .site-header,.header-inner{height:70px}
  .header-actions{gap:14px}
  .primary-nav,.primary-nav ul{gap:16px}
  .primary-nav a{font-size:11px}
  .hero{padding:34px 0 42px;gap:28px}
  .hero-lead{font-size:19px}
  .hero-media,.hero-media img,.hero-media-placeholder{min-height:280px;height:280px}
  .latest-section{padding:50px 0 34px}
  .section-head{align-items:flex-start;flex-direction:column}
  .section-head h2{font-size:36px}
  .section-head p{text-align:left}
  .pillar{padding:18px}
  .about-content{padding:30px 22px}
  .about-content h2{font-size:34px}
  .about-media,.about-media img,.about-placeholder{min-height:290px}
  .quote-strip blockquote{font-size:23px}
  .posts-grid{grid-template-columns:1fr}
  .page-shell,.single-wrap{padding-top:38px}
  .footer-links{gap:34px}
  .footer-bottom{flex-direction:column}
}
