/* =============================================================
   Sprzęt Turystyczny — commercial reviews
   Paleta: white, slate #1c2937, emerald #0a8f5f, tan CTA #c89871, ink #0e1420
   Typo: Space Grotesk (display), Inter (body)
============================================================= */

:root {
    --st-white: #ffffff;
    --st-cream: #fafaf7;
    --st-slate: #1c2937;
    --st-slate-2: #2a3a4c;
    --st-ink: #0e1420;
    --st-emerald: #0a8f5f;
    --st-emerald-dark: #076e4a;
    --st-tan: #c89871;
    --st-amber: #d9a455;
    --st-stone: #626b78;
    --st-stone-light: #b8bec8;
    --st-line: rgba(14, 20, 32, 0.1);
    --st-bg: #f6f5f1;
    --st-shadow: 0 12px 28px -12px rgba(14, 20, 32, 0.18);
    --st-radius: 8px;
    --st-container: 1260px;
    --st-container-narrow: 780px;
    --st-font-display: 'Space Grotesk', -apple-system, sans-serif;
    --st-font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--st-font-body);
    color: var(--st-ink);
    background: var(--st-white);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--st-emerald); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--st-emerald-dark); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--st-font-display);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--st-slate);
    margin: 0 0 .4em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
em { color: var(--st-emerald); font-style: normal; font-weight: 600; }
strong { font-weight: 600; color: var(--st-slate); }

.st-container { max-width: var(--st-container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.st-container--narrow { max-width: var(--st-container-narrow); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.st-eyebrow {
    display: inline-block; font-size: .72rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--st-emerald); margin-bottom: .9rem;
}

.st-section { padding: clamp(48px, 7vw, 90px) 0; }

/* HEADER */
.st-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--st-line);
    backdrop-filter: saturate(1.3) blur(10px);
}
.st-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 0; }
.st-logo { display: inline-flex; flex-direction: column; line-height: 1; }
.st-logo__mark { font-family: var(--st-font-display); font-size: 1.3rem; font-weight: 700; color: var(--st-slate); letter-spacing: -.02em; }
.st-logo__tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--st-emerald); margin-top: 3px; font-weight: 600; }

.st-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.st-nav__list a { font-size: .94rem; font-weight: 500; color: var(--st-slate); position: relative; }
.st-nav__list a:hover { color: var(--st-emerald); }

.st-search {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    background: var(--st-bg); border-radius: 20px; font-size: .88rem; color: var(--st-stone);
}
.st-search::before { content: '⌕'; font-size: 1rem; }

.st-burger { display: none; background: none; border: 0; padding: 8px; }
.st-burger span { display: block; width: 22px; height: 2px; background: var(--st-slate); margin: 4px 0; }

@media (max-width: 860px) {
    .st-nav, .st-search { display: none; }
    .st-burger { display: block; }
}

/* HERO — homepage */
.st-hero {
    padding: clamp(40px, 6vw, 80px) 0 20px;
    background: var(--st-bg);
    border-bottom: 1px solid var(--st-line);
}
.st-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.st-hero__title { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; margin: 12px 0 18px; }
.st-hero__sub { font-size: 1.1rem; color: var(--st-stone); margin-bottom: 28px; }
.st-hero__media { overflow: hidden; border-radius: var(--st-radius); aspect-ratio: 4/3; background: var(--st-cream); }
.st-hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
    .st-hero__inner { grid-template-columns: 1fr; gap: 30px; }
}

/* BUTTONS */
.st-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-weight: 600; font-size: .94rem; border-radius: var(--st-radius); border: 1px solid transparent; transition: all .2s ease; }
.st-btn--emerald { background: var(--st-emerald); color: var(--st-white); }
.st-btn--emerald:hover { background: var(--st-emerald-dark); color: var(--st-white); text-decoration: none; transform: translateY(-1px); }
.st-btn--tan { background: var(--st-tan); color: var(--st-white); }
.st-btn--tan:hover { background: var(--st-amber); color: var(--st-white); text-decoration: none; }
.st-btn--outline { background: transparent; color: var(--st-slate); border-color: var(--st-slate); }
.st-btn--outline:hover { background: var(--st-slate); color: var(--st-white); text-decoration: none; }

/* CATEGORIES */
.st-categories { padding: 60px 0 20px; }
.st-cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.st-cat { padding: 24px 20px; background: var(--st-bg); border-radius: var(--st-radius); text-align: center; border: 1px solid var(--st-line); }
.st-cat:hover { background: var(--st-emerald); color: var(--st-white); text-decoration: none; }
.st-cat:hover h3, .st-cat:hover span { color: var(--st-white); }
.st-cat h3 { font-size: 1.05rem; color: var(--st-slate); margin: 0; }
.st-cat span { font-size: .84rem; color: var(--st-stone); }

/* POSTS GRID */
.st-posts {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 34px;
}
.st-post { background: var(--st-white); border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.st-post:hover { transform: translateY(-4px); box-shadow: var(--st-shadow); text-decoration: none; }
.st-post__media { aspect-ratio: 4/3; background: var(--st-bg) center/cover; position: relative; }
.st-post__badge { position: absolute; top: 12px; left: 12px; background: var(--st-tan); color: var(--st-white); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.st-post__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.st-post__cat { font-size: .72rem; color: var(--st-emerald); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.st-post__title { font-size: 1.2rem; color: var(--st-slate); margin: 0; line-height: 1.3; }
.st-post:hover .st-post__title { color: var(--st-emerald); }
.st-post__excerpt { color: var(--st-stone); font-size: .93rem; margin: 4px 0 12px; }
.st-post__meta { margin-top: auto; font-size: .82rem; color: var(--st-stone); padding-top: 12px; border-top: 1px solid var(--st-line); display: flex; gap: 14px; align-items: center; }
.st-post__rating { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; background: var(--st-bg); border-radius: 4px; font-weight: 700; color: var(--st-slate); }
.st-post__rating::before { content: '★'; color: var(--st-tan); }

/* SINGLE POST */
.st-single { padding: 0; }
.st-single__head { padding: 50px 0 30px; border-bottom: 1px solid var(--st-line); }
.st-single__head-inner { max-width: var(--st-container-narrow); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.st-single__cat { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--st-emerald); font-weight: 700; }
.st-single__title { margin: 12px 0 16px; }
.st-single__meta { display: flex; gap: 18px; font-size: .88rem; color: var(--st-stone); align-items: center; flex-wrap: wrap; }

.st-single__cover { max-width: 1000px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 40px); }
.st-single__cover img { width: 100%; border-radius: var(--st-radius); }

.st-single__body { max-width: var(--st-container-narrow); margin: 0 auto; padding: 30px clamp(20px, 4vw, 40px) 70px; font-size: 1.05rem; }
.st-single__body h2 { margin: 40px 0 16px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.st-single__body h3 { margin: 32px 0 12px; font-size: 1.22rem; }
.st-single__body ul, .st-single__body ol { padding-left: 1.3em; margin-bottom: 1.4em; }
.st-single__body li { margin-bottom: .5em; }

/* RATING BOX */
.st-rating {
    margin: 36px 0; padding: 28px;
    background: linear-gradient(135deg, var(--st-slate) 0%, var(--st-slate-2) 100%);
    color: var(--st-white); border-radius: var(--st-radius);
    display: grid; gap: 22px;
}
.st-rating__score { display: flex; align-items: baseline; gap: 8px; }
.st-rating__num { font-family: var(--st-font-display); font-size: 3.2rem; font-weight: 700; color: var(--st-tan); line-height: 1; }
.st-rating__max { font-size: 1.4rem; color: var(--st-stone-light); }
.st-rating__label { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--st-stone-light); margin-left: auto; }
.st-rating__verdict { font-size: 1.02rem; margin: 0; color: var(--st-white); }
.st-rating__verdict strong { color: var(--st-tan); }
.st-rating__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.st-rating__col h4 { font-family: var(--st-font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.st-rating__col--pros h4 { color: #4edba3; }
.st-rating__col--cons h4 { color: #ff8e7a; }
.st-rating__col ul { list-style: none; padding: 0; margin: 0; }
.st-rating__col li { padding: 6px 0; padding-left: 20px; position: relative; font-size: .92rem; color: var(--st-stone-light); }
.st-rating__col--pros li::before { content: '+'; position: absolute; left: 0; color: #4edba3; font-weight: 700; }
.st-rating__col--cons li::before { content: '−'; position: absolute; left: 0; color: #ff8e7a; font-weight: 700; }

@media (max-width: 560px) {
    .st-rating__cols { grid-template-columns: 1fr; }
}

/* SPECS TABLE */
.st-specs { margin: 30px 0; width: 100%; border-collapse: collapse; border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; font-size: .95rem; }
.st-specs caption { text-align: left; font-weight: 600; font-size: 1rem; padding: 14px 18px; background: var(--st-bg); color: var(--st-slate); border-bottom: 1px solid var(--st-line); }
.st-specs th, .st-specs td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--st-line); }
.st-specs tr:last-child th, .st-specs tr:last-child td { border-bottom: 0; }
.st-specs th { color: var(--st-stone); font-weight: 500; width: 40%; background: #fcfbf8; }
.st-specs td { color: var(--st-slate); font-weight: 600; }

/* CROSS-LINK */
.st-crosslink {
    margin: 44px 0; padding: 30px;
    background: var(--st-bg); border: 1px dashed var(--st-emerald);
    border-radius: var(--st-radius);
}
.st-crosslink__head { margin-bottom: 20px; }
.st-crosslink__head h3 { font-size: 1.3rem; margin: 0; }
.st-crosslink__head em { color: var(--st-emerald); font-style: italic; font-weight: 700; }
.st-crosslink ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.st-crosslink li { padding: 14px 0; border-bottom: 1px solid var(--st-line); }
.st-crosslink li:last-child { border-bottom: 0; }
.st-crosslink a strong { color: var(--st-slate); font-size: 1rem; }
.st-crosslink a span { color: var(--st-stone); font-size: .9rem; }
.st-crosslink a:hover strong { color: var(--st-emerald); }

/* AUTHOR */
.st-author {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 26px; background: var(--st-bg); border-radius: var(--st-radius);
    margin: 50px 0 0;
}
.st-author__avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.st-author h4 { margin-bottom: 4px; font-size: 1.1rem; color: var(--st-slate); }
.st-author__role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--st-emerald); font-weight: 700; margin-bottom: 8px; }
.st-author__bio { font-size: .92rem; color: var(--st-stone); margin: 0; }

/* FOOTER */
.st-footer { background: var(--st-slate); color: rgba(255,255,255,.8); padding: 60px 0 0; font-size: .94rem; margin-top: 60px; }
.st-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.st-footer h5 { color: var(--st-tan); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--st-font-body); font-weight: 700; }
.st-footer ul { list-style: none; padding: 0; margin: 0; }
.st-footer li { padding: 6px 0; }
.st-footer a { color: rgba(255,255,255,.75); }
.st-footer a:hover { color: var(--st-tan); }
.st-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .83rem; background: rgba(0,0,0,.22); }
.st-footer__bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }

@media (max-width: 820px) {
    .st-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* PAGINATION */
.st-pagination { margin-top: 50px; text-align: center; }
.st-pagination .page-numbers { padding: 10px 15px; border: 1px solid var(--st-line); margin: 0 3px; border-radius: 4px; font-weight: 600; color: var(--st-slate); }
.st-pagination .current { background: var(--st-emerald); color: var(--st-white); border-color: var(--st-emerald); }
