/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0fa67d;
  --primary-dark:  #0d0d0d;
  --primary-mid:   #0d8f6b;
  --accent:        #0fa67d;
  --accent-dark:   #0d8f6b;
  --accent-light:  #0f2520;
  --amber:         #0fa67d;
  --amber-dark:    #0d8f6b;
  --text:          #f0f0f0;
  --text-muted:    #aaaaaa;
  --bg:            #111111;
  --bg-card:       #1a1a1a;
  --border:        #2a2a2a;
  --heading:       #ffffff;
  --radius:        14px;
  --radius-sm:     8px;
  --shadow:        0 2px 16px rgba(0,0,0,.4);
  --shadow-hover:  0 8px 32px rgba(0,0,0,.6);
  --shadow-card:   0 1px 4px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.3);
  --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); text-shadow: 0 2px 8px rgba(0,0,0,.8); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-shadow: 0 2px 8px rgba(0,0,0,.8); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { margin-bottom: 1rem; }
a  { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-mid); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.container         { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 800px;  margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
  background: var(--primary-dark);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
  gap: 1rem;
}
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.logo span { color: #0fa67d; }

nav { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
nav a { color: rgba(255,255,255,.82); font-size: .93rem; font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--amber); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: .85rem !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }

/* aktywna zakładka */
nav a.active { color: #0fa67d !important; font-weight: 600; }
nav a.active:not(.nav-cta) {
  position: relative;
}
nav a.active:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0fa67d;
  border-radius: 2px;
}
nav a.nav-cta.active { background: var(--accent-dark) !important; }

/* ===== NAV TOGGLE (HAMBURGER) ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .45rem .5rem;
  color: #fff;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  background:
    linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.65) 100%),
    url('../img/hero-main.webp') center / cover no-repeat;
  color: #ffffff;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.04'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(15,166,125,.2);
  border: 1px solid rgba(15,166,125,.4);
  border-radius: 50px;
  padding: .35rem 1.1rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .6px;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.hero h1 {
  margin-bottom: 1.1rem;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.hero h1 em { font-style: normal; color: #0fa67d; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.hero p.lead { font-size: 1.15rem; color: #ffffff; max-width: 580px; margin: 0 auto 2.2rem; text-shadow: 0 1px 6px rgba(0,0,0,.7); }

.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--primary-dark);
  font-weight: 700;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 20px rgba(15,166,125,.45);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(15,166,125,.5); background: var(--amber-dark); text-decoration: none; color: var(--primary-dark); }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  box-shadow: none;
  margin-left: .8rem;
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; box-shadow: none; }

.hero-btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: #0d0d0d;
  padding: 1.4rem 1.5rem;
  border-bottom: 3px solid #0fa67d;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1.1;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.65); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }

/* ===== SECTIONS ===== */
.section     { padding: 5rem 0; }
.section--alt { background: #131f1c; }
.section--dark { background: var(--primary-dark); color: #fff; }

.section-tag {
  display: inline-block;
  background: rgba(15,166,125,.15);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: .25rem .8rem;
  border-radius: 50px;
  margin-bottom: .7rem;
}
.section--dark .section-tag { background: rgba(15,166,125,.18); color: var(--amber); }

.section-title  { margin-bottom: .5rem; color: #ffffff; }
.section-sub    { color: var(--text-muted); margin-bottom: 3rem; font-size: 1.05rem; max-width: 600px; }
.section-header { text-align: center; }
.section-header .section-sub { margin-left: auto; margin-right: auto; }

.section--dark .section-title { color: #fff; }
.section--dark .section-sub   { color: rgba(255,255,255,.65); }

/* ===== FEATURED CARD ===== */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}
.featured-img-wrap { overflow: hidden; min-height: 380px; }
.featured-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.featured-card:hover .featured-img { transform: scale(1.04); }
.featured-body {
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(15,166,125,.15);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  width: fit-content;
}
.featured-body h2 { font-size: 1.65rem; margin-bottom: .9rem; color: var(--primary-dark); }
.featured-body p  { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.75; }
.featured-meta { font-size: .83rem; color: var(--text-muted); margin-bottom: 1.5rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.btn--primary {
  background: var(--primary);
  color: #fff;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(15,166,125,.4);
  width: fit-content;
}
.btn--primary:hover { background: var(--primary-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,166,125,.45); text-decoration: none; color: #fff; }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.card-img-link  { display: block; overflow: hidden; line-height: 0; }
.card-img {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
  transition: transform .4s ease, filter .35s ease;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.card:hover .card-img { transform: scale(1.05); filter: brightness(1.07); }

.card-img-placeholder {
  width: 100%; height: 220px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
}

.card-body   { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  background: rgba(15,166,125,.18);
  color: var(--accent-dark);
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: .22rem .75rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}
.card-title { font-size: 1.1rem; margin-bottom: .6rem; color: #ffffff; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--primary); text-decoration: none; }
.card-excerpt { color: var(--text-muted); font-size: .94rem; flex: 1; margin-bottom: 1rem; line-height: 1.65; }
.card-meta    { font-size: .82rem; color: var(--text-muted); display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .2rem; }
.card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--primary); font-weight: 700; font-size: .88rem;
  margin-top: .9rem; transition: gap .2s, color .2s;
}
.card-link::after { content: '→'; transition: transform .2s; }
.card-link:hover  { color: var(--primary-mid); text-decoration: none; }
.card-link:hover::after { transform: translateX(5px); }

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0fa67d, #0d8f6b);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 14px rgba(15,166,125,.4);
}
.step h3 { font-size: 1.1rem; color: #ffffff; margin-bottom: .6rem; }
.step p  { color: var(--text-muted); font-size: .93rem; margin: 0; line-height: 1.65; }
.step-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--primary); font-weight: 600; font-size: .88rem; margin-top: .9rem; }
.step-link::after { content: '→'; transition: transform .2s; }
.step-link:hover  { color: var(--primary-mid); text-decoration: none; }
.step-link:hover::after { transform: translateX(4px); }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.feature {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform .25s, background .25s;
}
.feature:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }
.feature-icon { font-size: 2.6rem; margin-bottom: .9rem; display: block; }
.feature h3   { margin-bottom: .5rem; font-size: 1.05rem; color: #fff; }
.feature p    { font-size: .9rem; color: rgba(255,255,255,.65); margin: 0; }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, #0fa67d 0%, #062a1e 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(15,166,125,.22) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2  { color: #fff; margin-bottom: .6rem; }
.newsletter p   { color: rgba(255,255,255,.78); max-width: 480px; margin: 0 auto 2rem; }
.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: .8rem 1.2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { border-color: #0fa67d; background: rgba(255,255,255,.15); }
.newsletter-form .btn { flex-shrink: 0; }
.newsletter-note { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .9rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: #0d0d0d; padding: .75rem 0; border-bottom: 1px solid #1a1a1a; color: #aaaaaa; }
.breadcrumb ol { list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: .88rem; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--text-muted); margin-left: .5rem; }
.breadcrumb a { color: #0fa67d; }

/* ===== ARTICLE HEADER ===== */
.article-header {
  background: #0d0d0d;
  color: #fff;
  padding: 4rem 1.5rem 3rem;
  border-bottom: 2px solid rgba(15,166,125,.3);
}
.article-header .article-tag {
  display: inline-block;
  background: rgba(15,166,125,.28);
  color: #ffd6b3;
  border-radius: 50px;
  padding: .28rem .95rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}
.article-header h1 { max-width: 700px; margin-bottom: 1rem; }
.article-header .article-meta { opacity: .78; font-size: .9rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ===== ARTICLE CONTENT ===== */
.article-content { padding: 3rem 0 4rem; }
.article-content h2 {
  color: #ffffff;
  margin: 2.5rem 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid rgba(15,166,125,.22);
}
.article-content h3 { color: var(--primary); margin: 1.8rem 0 .7rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: .4rem; }
.article-content blockquote {
  border-left: 4px solid #0fa67d;
  background: #1a2a22;
  padding: 1rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #cccccc;
}
.article-content .tip-box {
  background: #1a2a22;
  border: 1px solid #2a3a30;
  border-left: 4px solid #0fa67d;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.4rem;
  margin: 1.5rem 0;
}
.article-content .tip-box strong { color: #4ecdaa; }
.article-content .warning-box {
  background: #1f1212;
  border: 1px solid #3a1a1a;
  border-left: 4px solid #e53e3e;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.4rem;
  margin: 1.5rem 0;
}
.article-content .warning-box strong { color: #f87171; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.article-content th { background: #0fa67d; color: #fff; padding: .75rem 1rem; text-align: left; }
.article-content td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); }
.article-content tr:nth-child(even) td { background: #1a2a22; }

/* ===== TABLE OF CONTENTS ===== */
.toc {
  background: #1e1e1e;
  border: 1px solid #2c2c2c;
  border-left: 4px solid #0fa67d;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.8rem 1.6rem 1.8rem;
  margin-bottom: 2rem;
}
.toc h2 {
  font-size: .95rem;
  color: #0fa67d;
  margin-bottom: 1rem;
  border: none !important;
  padding: 0 !important;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.toc ol { padding-left: 1.4rem; margin: 0; }
.toc li { margin-bottom: .6rem; font-size: .95rem; line-height: 1.5; }
.toc li::marker { color: #0fa67d; font-weight: 700; }
.toc a { color: #ffffff; transition: color .2s; }
.toc a:hover { color: #0fa67d; text-decoration: none; }

/* ===== RELATED ARTICLES ===== */
.related { padding: 3.5rem 0; background: #131f1c; }
.related h2 { text-align: center; color: #ffffff; margin-bottom: 2.2rem; }

/* ===== FOOTER ===== */
.site-footer { background: #0a0a0a; color: rgba(255,255,255,.78); padding: 4rem 1.5rem 1.8rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1160px;
  margin: 0 auto 2.5rem;
}
.footer-logo { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: .8rem; display: block; }
.footer-logo span { color: #0fa67d; }
.footer-col p  { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: .95rem; letter-spacing: .3px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .88rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--amber); text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); max-width: 1160px; margin: 0 auto 1.4rem; }
.footer-bottom { text-align: center; font-size: .82rem; color: rgba(255,255,255,.4); max-width: 1160px; margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-img-wrap { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #0d0d0d;
    flex-direction: column;
    gap: 0;
    padding: .5rem 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.65);
    z-index: 99;
  }
  nav.nav-open { display: flex; }
  nav a {
    padding: .85rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: .97rem;
    width: 100%;
  }
  nav a:last-child { border-bottom: none; }
  .nav-cta {
    border-radius: 0 !important;
    padding: .85rem 1.5rem !important;
    text-align: left;
    background: transparent !important;
    color: rgba(255,255,255,.82) !important;
    font-size: .97rem !important;
  }
  .nav-cta:hover { background: rgba(15,166,125,.15) !important; }
  nav a.active:not(.nav-cta) { background: rgba(15,166,125,.1); color: #0fa67d !important; }
  nav a.active:not(.nav-cta)::after { display: none; }
  nav a.nav-cta.active { background: rgba(15,166,125,.1) !important; color: #0fa67d !important; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .hero p.lead { font-size: 1rem; }
  .btn--outline { display: none; }
  .article-header { padding: 2.5rem 1rem 2rem; }
  .article-header .article-meta { flex-direction: column; gap: .4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form .btn { text-align: center; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .featured-body { padding: 2rem 1.5rem; }
  nav a { min-height: 44px; display: flex; align-items: center; }
  .btn, .btn--primary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .article-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ===== RESPONSIVE: 480px (telefon) ===== */
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3rem 0; }
  .container, .container--narrow { padding: 0 1rem; }
  .newsletter { padding: 2rem 1.2rem; }
  .newsletter p { margin-bottom: 1.5rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero p.lead { font-size: 1rem; }
  .card-body { padding: 1.2rem; }
  .step { padding: 1.5rem 1.2rem; }
  .featured-body { padding: 1.5rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--brand { order: -1; }
  .card-link, .step-link { min-height: 44px; display: inline-flex; align-items: center; }
  .faq-question { min-height: 44px; font-size: .95rem; }
  .section-title { font-size: 1.4rem; }
  .article-header { padding: 2rem 1rem 1.5rem; }
  .toc { padding: 1.1rem 1.2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: block;
  background: #0d0d0d;
}
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .45s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
  filter: brightness(1.07) saturate(1.12);
}

/* ===== ARTICLE FIGURE ===== */
.article-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.article-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.article-figure figcaption {
  padding: .6rem 1.2rem;
  font-size: .83rem;
  color: var(--text-muted);
  background: #1a2a22;
  border-top: 1px solid #2a3a30;
  text-align: center;
  font-style: italic;
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-img   { height: 220px; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-img   { height: 240px; }
}

/* ===== SEARCH BAR ===== */
.search-bar {
  background: #0d0d0d;
  padding: .8rem 1.5rem 1rem;
  border-bottom: 2px solid rgba(15,166,125,.25);
}
.search-inner { max-width: 700px; margin: 0 auto; }
.search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .55rem 1.2rem;
  gap: .6rem;
  transition: border-color .2s, background .2s;
}
.search-wrap:focus-within {
  background: rgba(255,255,255,.12);
  border-color: #0fa67d;
}
.search-icon { font-size: 1rem; flex-shrink: 0; }
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: .95rem;
  font-family: var(--font);
}
.search-input::placeholder { color: rgba(255,255,255,.45); }
.search-clear {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  font-size: .9rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: color .2s;
}
.search-clear:hover { color: #fff; }
.search-no-results {
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin: .6rem 0 0;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(135deg, #0f2520 0%, #111a17 100%);
  border-top: 1px solid rgba(15,166,125,.4);
  border-bottom: 1px solid rgba(15,166,125,.4);
  padding: 3rem 0;
}
.about-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.about-col {
  text-align: center;
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  transition: background .2s;
}
.about-col:hover { background: rgba(255,255,255,.04); }
.about-col-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.1rem;
}
.about-col-icon svg { width: 100%; height: 100%; }
.about-col h3 { color: #ffffff; font-size: 1.1rem; margin-bottom: .55rem; }
.about-col p { color: #aaaaaa; font-size: .93rem; line-height: 1.7; margin: 0; }

/* ===== AUTHOR SIGNATURE ===== */
.author-sig {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #1a2a22;
  border: 1px solid #2a3a30;
  border-left: 4px solid #0fa67d;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .85rem 1.2rem;
  margin: 2rem 0;
}
.author-sig-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}
.author-sig-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}
.author-sig-info { flex: 1; min-width: 0; }
.author-sig-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.author-sig-name { font-size: .95rem; font-weight: 700; color: var(--primary-dark); }
.author-sig-role { font-size: .83rem; color: var(--text-muted); }

/* ===== ARTICLE AUTHOR INLINE ===== */
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  opacity: .9;
  font-size: .9rem;
  margin-top: 1rem;
}
.article-author-inline {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.article-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.5);
  flex-shrink: 0;
}
.article-author-details {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.article-author-name {
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: color .2s;
}
.article-author-name:hover { color: var(--amber); text-decoration: none; }
.article-author-role {
  font-size: .77rem;
  color: rgba(255,255,255,.6);
}
.article-meta-dates {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
}

/* ===== STATS BAR — UPDATED ===== */
.stat-item { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.stat-title { font-size: .78rem; color: rgba(255,255,255,.75); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.stat-num--icon { font-size: 1.8rem; line-height: 1; }

/* ===== CALCULATOR PROMO SECTION ===== */
.calc-promo-section {
  background: linear-gradient(135deg, #052018 0%, #0a3d2c 45%, #062215 100%);
  border-top: 1px solid rgba(15,166,125,.45);
  border-bottom: 1px solid rgba(15,166,125,.45);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.calc-promo-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(15,166,125,.2) 0%, transparent 60%);
  pointer-events: none;
}
.calc-promo-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.calc-promo-text .section-tag { display: inline-block; margin-bottom: .6rem; }
.calc-promo-text .section-title { text-align: left; font-size: clamp(1.6rem,3vw,2.2rem); }
.calc-promo-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 1rem 0 2rem;
  max-width: 480px;
}
.calc-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #0fa67d;
  color: #fff;
  padding: .95rem 2.4rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .2px;
  box-shadow: 0 8px 28px rgba(15,166,125,.5);
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.calc-promo-btn:hover {
  background: #0d8f6b;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(15,166,125,.6);
  text-decoration: none;
  color: #fff;
}
.calc-promo-feats { display: flex; flex-direction: column; gap: 1rem; }
.calc-promo-feat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15,166,125,.08);
  border: 1px solid rgba(15,166,125,.22);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  transition: background .2s, border-color .2s;
}
.calc-promo-feat:hover { background: rgba(15,166,125,.15); border-color: rgba(15,166,125,.5); }
.calc-promo-feat-icon { width: 44px; height: 44px; flex-shrink: 0; }
.calc-promo-feat-icon svg { width: 100%; height: 100%; }
.calc-promo-feat-text strong { display: block; color: #fff; font-size: .97rem; margin-bottom: .15rem; }
.calc-promo-feat-text span { color: rgba(255,255,255,.55); font-size: .84rem; line-height: 1.4; }
@media (max-width: 860px) {
  .calc-promo-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .calc-promo-text .section-title { text-align: center; }
  .calc-promo-desc { text-align: center; margin-left: auto; margin-right: auto; }
  .calc-promo-section::before { background: radial-gradient(ellipse at 50% 30%, rgba(15,166,125,.18) 0%, transparent 60%); }
}
@media (max-width: 480px) {
  .calc-promo-section { padding: 3rem 0; }
  .calc-promo-feat { padding: .8rem 1rem; }
}

/* ===== REVIEWS SECTION ===== */
.reviews-section { background: #111111; }
.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(15,166,125,.15);
  border: 1px solid rgba(15,166,125,.35);
  border-radius: 50px;
  padding: .4rem 1.2rem;
  font-size: .92rem;
  color: var(--primary-dark);
  margin-top: .6rem;
  margin-bottom: 2.5rem;
}
.reviews-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: .05em; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.review-header { display: flex; align-items: center; gap: .8rem; }
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
  letter-spacing: -.5px;
}
.review-author { flex: 1; }
.review-author strong { display: block; font-size: .95rem; color: #ffffff; }
.review-author span { font-size: .8rem; color: var(--text-muted); }
.review-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .05em; flex-shrink: 0; }
.review-text { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin: 0; font-style: italic; }

/* ===== STEPS 4-COLUMN ===== */
.steps-grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step-icon { font-size: 1.8rem; margin-bottom: .4rem; display: block; }

/* ===== FAQ SECTION ===== */
.faq-section { background: #131f1c; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: #f0f0f0;
  transition: background .2s, color .2s;
}
.faq-question:hover { background: rgba(79,70,229,.05); color: var(--primary); }
.faq-question[aria-expanded="true"] { color: var(--primary); background: rgba(79,70,229,.06); }
.faq-chevron {
  font-size: .9rem;
  color: var(--text-muted);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer { padding: 0 1.4rem 1.2rem; }
.faq-answer p { font-size: .95rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

/* ===== CONTENT MAP ===== */
.content-map-section { background: #111111; border-top: 1px solid #2a2a2a; }
.content-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.content-map-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
}
.content-map-heading {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid rgba(15,166,125,.22);
}
.content-map-icon { font-size: 1.2rem; }
.content-map-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.content-map-list li::before { content: '›'; color: var(--accent); margin-right: .45rem; font-weight: 700; }
.content-map-list a { color: #cccccc; font-size: .89rem; transition: color .2s; }
.content-map-list a:hover { color: var(--primary); text-decoration: none; }
@media (max-width: 860px) { .content-map-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .content-map-grid { grid-template-columns: 1fr; } }

/* ===== FOOTER SOCIAL ===== */
.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
}
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.15);
  transition: background .2s, color .2s, transform .2s;
}
.footer-social-btn:hover {
  background: var(--amber);
  color: var(--primary-dark);
  transform: translateY(-2px);
  text-decoration: none;
  border-color: var(--amber);
}

/* ===== ABOUT SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-cols { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .about-col { padding: 1.4rem 1rem; }
}
@media (max-width: 480px) {
  .about-cols { grid-template-columns: 1fr; }
  .about-section { padding: 2.5rem 0; }
}

/* ===== DARK THEME OVERRIDES — ARTICLE & GLOBAL ===== */
/* Article content typography */
.article-content p, .article-content li { color: #cccccc; }
.article-content h3 { color: #0fa67d; }
.article-content a { color: #0fa67d; }
.article-content a:hover { color: #0d8f6b; }

/* Featured card body in dark */
.featured-body h2 { color: #ffffff; }
.featured-body p { color: #aaaaaa; }

/* Card tag dark */
.card-tag {
  background: rgba(15,166,125,.15);
  color: #0fa67d;
}
.card-title a { color: #ffffff; }
.card-title a:hover { color: #0fa67d; }
.card-excerpt { color: #aaaaaa; }
.card-meta { color: #aaaaaa; }

/* Section title all headings */
h2.section-title { color: #ffffff; }

/* Author sig */
.author-sig-name { color: #ffffff; }
.author-sig-role { color: #aaaaaa; }
.author-sig-label { color: #aaaaaa; }
.author-sig-avatar-placeholder { background: linear-gradient(135deg, #0d0d0d, #0fa67d); }

/* Article meta */
.article-author-name { color: #ffffff; }
.article-author-role { color: #aaaaaa; }

/* Breadcrumb li text */
.breadcrumb li { color: #aaaaaa; }
.breadcrumb li:not(:last-child)::after { color: #555555; }

/* Contact form dark */
.contact-info h2, .contact-info-item h4 { color: #ffffff; }
.contact-info p, .contact-info-item p { color: #aaaaaa; }
.contact-form-wrap { background: #1a1a1a; border-color: #2a2a2a; }
.contact-form-wrap h2 { color: #ffffff; }
.form-group label { color: #f0f0f0; }
.form-group input, .form-group select, .form-group textarea {
  background: #111111;
  border-color: #2a2a2a;
  color: #f0f0f0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #0fa67d;
  box-shadow: 0 0 0 3px rgba(15,166,125,.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #555555; }
.form-group select option { background: #1a1a1a; color: #f0f0f0; }
.required-mark { color: #0fa67d; }

/* Redakcja / legal pages */
.legal-content h2 { color: #ffffff !important; }
.legal-content h3 { color: #0fa67d !important; }
.legal-content p, .legal-content li { color: #cccccc !important; }
.legal-date { background: #1a2a22 !important; border-left-color: #0fa67d !important; color: #aaaaaa !important; }

/* Reviews rating */
.reviews-rating { background: rgba(15,166,125,.1); border-color: rgba(15,166,125,.25); color: #f0f0f0; }

/* Redakcja author cards */
.team-card { background: #1a1a1a; border-color: #2a2a2a; }
.team-name { color: #ffffff; }
.team-role { color: #0fa67d; }
.team-bio { color: #aaaaaa; }

/* Step link */
.step-link { color: #0fa67d; }
.step-link:hover { color: #0d8f6b; }
.step p { color: #aaaaaa; }

/* About section text */
.about-col p { color: #aaaaaa; }

/* Footer links */
.footer-col ul a:hover { color: #0fa67d; }

/* Form success */
.form-success { background: #0f2520; border-color: #0fa67d; color: #4ecdaa; }

/* ===== KALKULATOR CTA (inline paragraph w artykułach) ===== */
.calc-cta {
  background: linear-gradient(135deg, #062a1e, #0d1a14);
  border: 1px solid rgba(15,166,125,.3);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}
.calc-cta a { color: var(--primary); font-weight: 600; }
.calc-cta a:hover { color: var(--primary-mid); }

/* ===== SHARE CTA (przed "Przeczytaj też" w artykułach) ===== */
.share-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #062a1e 0%, #0d1117 100%);
  border: 1.5px solid rgba(15,166,125,.35);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}
.share-cta-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}
.share-cta-text { flex: 1; }
.share-cta-text p {
  color: rgba(255,255,255,.85);
  font-size: .97rem;
  margin: 0 0 .9rem;
  line-height: 1.6;
}
.share-cta-text p strong { color: #fff; }
.share-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.share-cta-btn:hover {
  background: var(--primary-mid);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
@media (max-width: 500px) {
  .share-cta { flex-direction: column; text-align: center; }
}

/* ===== SPOLECZNOSC SECTION (index.html) ===== */
.spolecznosc-section {
  padding: 5rem 1.5rem;
  background: #0d1117;
  border-top: 1.5px solid rgba(15,166,125,.25);
  border-bottom: 1.5px solid rgba(15,166,125,.25);
}
.spolecznosc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.spolecznosc-cta-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.spolecznosc-cta-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.9);
  margin: 0;
  line-height: 1.5;
}
.spolecznosc-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.spolecznosc-benefits li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.spolecznosc-benefit-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.spolecznosc-benefits strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  margin-bottom: .15rem;
}
.spolecznosc-benefits span {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.btn-spolecznosc {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  align-self: flex-start;
}
.btn-spolecznosc:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,166,125,.3);
  text-decoration: none;
  color: #fff;
}
.spolecznosc-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.spolecznosc-cards-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 .25rem;
}
.spolecznosc-mini-cards {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.spolecznosc-mini-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.spolecznosc-mini-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.spolecznosc-mini-card img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}
.spolecznosc-mini-body {
  padding: .65rem .85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .3rem;
}
.spolecznosc-mini-tag {
  display: inline-block;
  background: rgba(15,166,125,.15);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: .15rem .5rem;
  border-radius: 50px;
}
.spolecznosc-mini-author {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin: 0;
  font-weight: 600;
}
@media (max-width: 840px) {
  .spolecznosc-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .btn-spolecznosc { width: 100%; justify-content: center; }
}
