/* ==========================================================================
   A2K CeNT — główny arkusz stylów

   Kolejność:
   01. Fundamenty i wspólne komponenty
   02. Interakcje i animacje
   03. Widoki oraz komponenty poszczególnych stron
   04. Flagi funkcji i wyjątki utrzymaniowe

   Reguły bazowe znajdują się przed wariantami stron. Późniejsze deklaracje
   zawierają wyłącznie aktywne rozszerzenia lub świadome wyjątki kaskady.
============================================================================ */

:root {
  --bg: #071a16;
  --bg-2: #0f2a24;
  --bg-3: #12372f;
  --page-bg: #eef1ed;
  --surface: #ffffff;
  --surface-soft: #f4f3ee;
  --text: #10221d;
  --muted: #596966;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.78);
  --gold: rgb(214, 168, 95);
  --gold-2: #e4bd76;
  --copper: #ce7a4b;
  --green-soft: #8da28b;
  --green-deep: #0b3a2f;
  --green-mid: #2f5d4b;
  --border: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(16, 34, 29, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  --soft-shadow: 0 18px 55px rgba(16, 34, 29, 0.07);
  --strong-shadow: 0 28px 90px rgba(16, 34, 29, 0.14);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(141, 162, 139, 0.20), transparent 34%),
    linear-gradient(180deg, #f7f8f4 0%, var(--page-bg) 100%);
  color: var(--text);
  line-height: 1.6;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0; line-height: 1.7; }
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.35rem; }
code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(16, 34, 29, 0.08);
}
.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}
.section {
  padding: 10px 0;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.08), transparent 30%),
    var(--page-bg);
}
.section-muted,
.knowledge-section,
.legal-section,
.testimonials-section {
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.08), transparent 30%),
    var(--surface-soft);
}
.section-dark,
.konwersatoria-section,
.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(214, 168, 95, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(141, 162, 139, 0.12), transparent 34%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  color: var(--white);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-mid);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.large-text {
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.68;
  color: var(--muted);
}
.section-dark .eyebrow,
.konwersatoria-section .eyebrow,
.hero .eyebrow,
.hero-with-bg .eyebrow,
.cta-box .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}
.section-dark h1,
.section-dark h2,
.section-dark > .container > h3,
.section-dark .section-heading h2,
.konwersatoria-section > .container > h2,
.konwersatoria-section .section-heading h2,
.konwersatoria-highlight-heading h3,
.hero h1,
.hero h2,
.hero-with-bg h1,
.hero-with-bg h2,
.cta-box:not(.light) h2 {
  color: rgba(255, 255, 255, 0.97);
}
.section-dark p,
.section-dark .large-text,
.konwersatoria-section .large-text,
.konwersatoria-highlight-heading p,
.hero p,
.hero-with-bg p,
.cta-box:not(.light) p {
  color: var(--white-soft);
}

/* 01. NAGŁÓWEK I NAWIGACJA */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 45, 36, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo,
.logo-image {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.logo-image img,
.site-header .logo-image img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.logo-mark,
.logo-text { display: none; }

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.94rem;
  transition: 0.2s ease;
}
.main-nav a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.main-nav .nav-cta {
  color: var(--bg);
  background: var(--gold);
}
.main-nav .nav-cta:hover {
  color: var(--bg);
  background: var(--gold-2);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 999px;
}

/* 02. PRZYCISKI */
.btn,
.training-btn,
.home-training-footer a,
.knowledge-card a,
.knowledge-article-card a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: -0.015em;
}
.btn { min-height: 50px; padding: 0 22px; }
.btn-primary,
.training-btn-primary,
.home-training-footer a,
.knowledge-card a,
.knowledge-article-card a {
  color: #091c17;
  background: var(--gold);
  border: 1px solid rgba(214, 168, 95, 0.35);
  box-shadow: 0 14px 32px rgba(214, 168, 95, 0.20);
}
.btn-primary:hover,
.training-btn-primary:hover,
.home-training-footer a:hover,
.knowledge-card a:hover,
.knowledge-article-card a:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
}
.btn-secondary,
.training-btn-secondary {
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 34, 29, 0.14);
}
.section-dark .btn-secondary,
.hero .btn-secondary,
.hero-with-bg .btn-secondary,
.konwersatoria-section .btn-secondary,
.cta-box:not(.light) .btn-secondary {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-secondary:hover,
.training-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.94);
}
.training-btn-download {
  color: var(--text);
  background: rgba(214, 168, 95, 0.16);
  border: 1px solid rgba(214, 168, 95, 0.34);
}
.training-btn-download:hover {
  transform: translateY(-2px);
  background: rgba(214, 168, 95, 0.24);
}
.training-btn.is-disabled {
  opacity: 0.62;
  pointer-events: none;
  cursor: not-allowed;
}

/* 03. HERO */
.hero,
.hero-with-bg {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: 90px 0 70px;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-with-bg { padding: 0; }
.hero-bg-image,
.hero-bg-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg-image { z-index: 0; }
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.03);
}
.hero-bg-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 26, 22, 0.92) 0%, rgba(7, 26, 22, 0.85) 34%, rgba(7, 26, 22, 0.58) 62%, rgba(7, 26, 22, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 26, 22, 0.25), rgba(7, 26, 22, 0.55)),
    radial-gradient(circle at top left, rgba(214, 168, 95, 0.14), transparent 30%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 44px;
  align-items: center;
}
.hero-grid-single { grid-template-columns: 1fr; }
.hero-content { max-width: 840px; }
.hero-grid-single .hero-content { max-width: 760px; }
.hero h1,
.hero-with-bg h1 {
  max-width: 980px;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.24), 0 2px 2px rgba(0, 0, 0, 0.08);
}
.hero-lead {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--white-soft);
}
.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.section-actions { justify-content: center; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}
.hero-points div,
.hero-insight-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}
.hero-points div {
  padding: 18px;
  border-radius: 20px;
}
.hero-points strong,
.hero-points span { display: block; }
.hero-points strong { color: var(--white); margin-bottom: 8px; }
.hero-points span { color: var(--white-soft); font-size: 0.9rem; }
.hero-insight-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 720px;
  margin-top: 34px;
  padding: 18px 20px;
  border-radius: 24px;
}
.hero-insight-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-insight-panel strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
}
.hero-insight-panel a {
  white-space: nowrap;
}
.hero-image-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.06);
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}
.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 22, 0.05), rgba(7, 26, 22, 0.42)),
    radial-gradient(circle at top left, rgba(214, 168, 95, 0.18), transparent 36%);
  pointer-events: none;
}

/* 04. HERO PODSTRON */
.page-hero {
  min-height: 420px;
  padding: 110px 0 86px;
  display: flex;
  align-items: center;
}
.page-hero.section-dark {
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 168, 95, 0.09), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(141, 162, 139, 0.10), transparent 32%),
    linear-gradient(145deg, #103b31 0%, #071a16 100%);
}
.page-hero-inner { max-width: 940px; }
.page-hero h1 {
  max-width: 920px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
}
.page-hero p {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.55vw, 1.22rem);
  color: rgba(255, 255, 255, 0.82);
}

/* 05. WSPÓLNE KARTY I SIATKI */
.card,
.offer-card,
.news-card,
.about-box,
.about-photo-card,
.feature-panel,
.contact-form,
.training-card,
.home-training-card,
.testimonial-card,
.knowledge-card,
.knowledge-article-card,
.legal-content,
.legal-toc,
.stat-card,
.topic-card,
.process-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-dark);
  box-shadow: var(--soft-shadow);
}
.offer-grid,
.news-grid,
.testimonials-grid,
.training-grid,
.stats-grid,
.topic-grid,
.process-grid {
  display: grid;
  gap: 18px;
}
.offer-grid,
.news-grid,
.testimonials-grid,
.training-grid,
.topic-grid { grid-template-columns: repeat(3, 1fr); }
.stats-grid,
.process-grid { grid-template-columns: repeat(4, 1fr); }

.stat-card,
.offer-card,
.news-card,
.topic-card,
.process-card,
.testimonial-card { padding: 28px; }
.offer-card { transition: 0.2s ease; }
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 26px 70px rgba(16, 34, 29, 0.12); }
.icon-box,
.process-card span {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), #ecd39e);
  font-weight: 900;
}

.offer-card h3,
.news-card h3,
.topic-card h3,
.process-card h3 { margin-bottom: 12px; color: var(--text); }
.offer-card p,
.news-card p,
.topic-card p,
.process-card p,
.about-box li,
.testimonial-card span { color: var(--muted); }
.news-date {
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.news-card a { display: inline-block; margin-top: 22px; color: var(--green-deep); font-weight: 900; }
.stat-card strong {
  display: block;
  color: var(--green-deep);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-card span { display: block; margin-top: 8px; color: var(--muted); font-weight: 700; }

/* 06. SZKOLENIA */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 10px 14px;
  border: 1px solid rgba(16, 34, 29, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 800;
  transition: 0.2s ease;
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  background: var(--green-mid);
  border-color: var(--green-mid);
}
.training-grid.wide { grid-template-columns: repeat(3, 1fr);  }

.training-card {
  flex-direction: column;
}
.training-card-extended {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 0;
}
.training-card-extended::before,
.home-training-card::before,
.knowledge-card::before,
.konwersatorium-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--copper), var(--green-mid));
}
.training-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 24px 24px 0;
}
.training-card-body { padding: 22px 24px 0; }
.training-card-body h3,
.training-card h3,
.home-training-card h3 {
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.training-description,
.training-card p,
.home-training-card p { margin-top: 14px; color: var(--muted); font-size: 0.96rem; }
.training-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(74, 107, 86, 0.10);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
}
.badge.gold { background: rgba(214, 168, 95, 0.18); color: #90662c; }
.badge.muted { background: rgba(16, 34, 29, 0.07); color: var(--muted); }
.training-date-box {
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(214, 168, 95, 0.15);
  border: 1px solid rgba(214, 168, 95, 0.28);
  text-align: right;
}
.training-date-box span,
.training-detail span {
  display: block;
  margin-bottom: 4px;
  color: #90662c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.training-date-box strong,
.training-detail strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.3;
}
.training-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.training-actions,
.training-footer {
  margin-top: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.training-footer { justify-content: space-between; padding: 22px 0 0; }
.training-footer span { color: var(--muted); font-size: 0.92rem; }
.training-footer a { color: var(--green-deep); font-weight: 900; }
.training-card-empty { min-height: auto; padding: 28px; }
.status-open { color: #24523b; background: rgba(98, 216, 131, 0.18); }
.status-last { color: #8a5b00; background: rgba(214, 168, 95, 0.24); }
.status-full { color: #7a241e; background: rgba(206, 74, 75, 0.14); }
.status-pending { color: #4a5568; background: rgba(16, 34, 29, 0.08); }
.status-contact { color: var(--green-deep); background: rgba(74, 107, 86, 0.12); }
.status-archive { color: #667085; background: rgba(16, 34, 29, 0.07); }

/* 07. SZKOLENIA NA STRONIE GŁÓWNEJ */
#homeTrainingGrid { grid-template-columns: repeat(3, 1fr); }
.home-training-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
}
.home-training-top,
.home-training-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.home-training-top { margin-bottom: 24px; }
.home-training-footer { margin-top: auto; padding-top: 24px; }
.home-training-date {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #90662c;
  background: rgba(214, 168, 95, 0.15);
  border: 1px solid rgba(214, 168, 95, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}
.home-training-footer span { color: var(--muted); font-size: 0.92rem; font-weight: 700; }

/* 08. KONTROLKI HARMONOGRAMU */
.schedule-toolbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  gap: 18px;
  align-items: end;
}
.schedule-mode {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 34, 29, 0.12);
  box-shadow: var(--soft-shadow);
}
.schedule-mode-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}
.schedule-mode-btn.active { color: var(--white); background: var(--green-mid); }
.schedule-search { display: grid; gap: 8px; }
.schedule-search label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.schedule-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 34, 29, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  box-shadow: var(--soft-shadow);
}
.schedule-search input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(74, 107, 86, 0.12);
}
.schedule-summary { margin: 16px 0 24px; color: var(--muted); font-weight: 700; }

/* 09. UKŁAD DZIELONY, O NAS I ODBIORCY */
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 52px;
  align-items: center;
}
.contact-grid { grid-template-columns: 0.9fr 1fr; align-items: start; }
.check-list { display: grid; gap: 12px; margin: 28px 0 30px; }
.check-list div {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text);
  background: rgba(16, 34, 29, 0.035);
  border: 1px solid rgba(16, 34, 29, 0.08);
}
.section-dark .check-list div,
.konwersatoria-section > .container > .split-grid .check-list div {
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}
.feature-panel {
  padding: 34px;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 243, 238, 0.92));
}
.feature-panel h3 { margin-bottom: 16px; color: var(--text); font-size: 2rem; }
.feature-panel p,
.feature-panel li { color: var(--muted); }
.feature-panel .card-label { color: #8f6d35; }
.about-box { padding: 34px; }
.about-box h3 { margin-bottom: 18px; }
.about-box ul { margin: 0; padding-left: 20px; }
.about-box li + li { margin-top: 10px; }
.about-section-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); align-items: center; }
.about-photo-card {
  max-width: 500px;
  justify-self: end;
  overflow: hidden;
  border-radius: 32px;
}
.about-photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
}
.about-photo-content { padding: 24px 24px 26px; }
.about-photo-content h3 { margin-bottom: 12px; font-size: 1.9rem; line-height: 1.05; color: var(--text); }
.about-photo-content p { color: var(--muted); }

/* 10. KONWERSATORIA */
.konwersatoria-section { padding-bottom: 110px; }
.konwersatoria-section .section-heading { max-width: 900px; }
.konwersatoria-section h2 { font-size: clamp(2.5rem, 5.4vw, 5.2rem); line-height: 0.98; }
.konwersatoria-highlight-heading { max-width: 880px; margin-top: 76px; margin-bottom: 28px; }
.konwersatoria-highlight-heading h3 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.konwersatoria-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.konwersatorium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border: 1px solid rgba(16, 34, 29, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}
.konwersatorium-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.konwersatorium-number {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--bg);
  background: var(--gold);
  font-size: 1.15rem;
  font-weight: 900;
}
.konwersatorium-tag {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #8b9a96;
  background: rgba(16, 34, 29, 0.06);
  border: 1px solid rgba(16, 34, 29, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}
.konwersatorium-card h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.18;
}
.konwersatorium-card p { color: var(--muted); }
.konwersatorium-meta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.konwersatorium-meta div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(16, 34, 29, 0.035);
  border: 1px solid rgba(16, 34, 29, 0.08);
}
.konwersatorium-meta span {
  display: block;
  margin-bottom: 4px;
  color: #b47a2c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.konwersatorium-meta strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.3;
}
.konwersatorium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}
.pdf-note { margin-top: 12px; color: var(--muted); font-size: 0.84rem; }
.why-konwersatoria {
  margin-top: 42px;
  padding: 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border: 1px solid rgba(16, 34, 29, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}
.why-konwersatoria h3 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.why-grid article {
  padding: 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 29, 0.10);
}
.why-grid h4 { margin: 0 0 10px; color: var(--text); font-size: 1.05rem; }
.why-grid p { color: var(--muted); }

/* 11. WIEDZA */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.knowledge-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
}
.knowledge-card.featured {
  grid-row: span 2;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.20), transparent 34%),
    linear-gradient(145deg, #123e34, #071a16);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.knowledge-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.knowledge-card-top span,
.knowledge-card-top small {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.78rem;
}
.knowledge-card-top span { color: var(--bg); background: var(--gold); }
.knowledge-card-top small { color: var(--muted); background: rgba(16, 34, 29, 0.06); }
.knowledge-card h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.16;
}
.knowledge-card p { color: var(--muted); }
.knowledge-card.featured h3 { color: rgba(255, 255, 255, 0.98); font-size: clamp(1.7rem, 3vw, 2.25rem); }
.knowledge-card.featured p { color: rgba(255, 255, 255, 0.78); }
.knowledge-card.featured .knowledge-card-top small { color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.12); }
.knowledge-card a { width: fit-content; margin-top: auto; }
.knowledge-list { display: grid; gap: 18px; }

.knowledge-article-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--gold);
  font-weight: 900;
  font-size: 0.8rem;
}
.knowledge-article-card h2 { margin-bottom: 14px; font-size: clamp(1.45rem, 3vw, 2rem); color: var(--text); }

.knowledge-article-card a { margin-top: 22px; }

/* 12. KONTAKT */
.contact-section {
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(237, 232, 220, 0.75), rgba(245, 241, 232, 1));
}
.contact-details { display: grid; gap: 16px; margin-top: 34px; }
.contact-details div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid var(--border-dark);
}
.contact-details span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-details a { color: var(--green-deep); font-weight: 900; }
.contact-form { padding: 30px; display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: var(--text); font-weight: 800; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(16, 34, 29, 0.16);
  border-radius: 16px;
  background: #fbfaf6;
  color: var(--text);
  padding: 14px 15px;
  outline: none;
}
.contact-form textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: 0.9rem; }

/* 13. WEZWANIA DO DZIAŁANIA */
.cta-box,
.cta-banner,
.cta-panel,
.contact-cta,
.offer-cta,
.dark-cta,
.section-cta {
  padding: 48px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.18), transparent 34%),
    linear-gradient(135deg, var(--bg-2), var(--bg));
  color: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-box.light {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-dark);
}
.cta-box h2 { max-width: 880px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.96); }
.cta-box p { max-width: 760px; color: rgba(255, 255, 255, 0.80); }
.cta-box.light h2 { color: var(--text); }
.cta-box.light p { color: var(--muted); }
.box-action { margin-top: 24px; }
.btn-secondary.dark { color: var(--text); background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.4); }

/* 14. TREŚCI PRAWNE */
.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 110px;
  padding: 24px;
  border-radius: 24px;
}
.legal-toc h2 { margin-bottom: 18px; font-size: 1rem; color: var(--text); }
.legal-toc a { display: block; margin-bottom: 10px; color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.legal-toc a:hover { color: var(--green-deep); }
.legal-content { padding: 34px; border-radius: 30px; }
.legal-content section {
  scroll-margin-top: 110px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(16, 34, 29, 0.09);
}
.legal-content section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-content h2 { margin-bottom: 14px; color: var(--text); font-size: 1.45rem; }
.legal-content p,
.legal-content li { color: var(--muted); line-height: 1.75; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--green-deep); font-weight: 800; }
.legal-note {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(214, 168, 95, 0.14);
  border: 1px solid rgba(214, 168, 95, 0.26);
}

/* 15. STOPKA */
.site-footer {
  padding: 58px 0 24px;
  background:
    radial-gradient(circle at top left, rgba(214, 168, 95, 0.12), transparent 32%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  color: var(--white-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .logo-image img { height: 58px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.95fr 0.95fr;
  gap: 34px;
  padding-bottom: 36px;
}
.footer-brand p { max-width: 420px; margin-top: 20px; color: var(--white-soft); }
.footer-logo { color: var(--white); }
.footer-column h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-column a,
.footer-column p { display: block; margin-bottom: 10px; color: var(--white-soft); font-size: 0.95rem; }
.footer-column a:hover,
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}
.footer-bottom div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, 0.72); }

/* 16. PODSTAWOWA RESPONSYWNOŚĆ */
@media (max-width: 1100px) {
  .konwersatoria-featured { grid-template-columns: 1fr; }
  .konwersatorium-card { min-height: auto; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .knowledge-card.featured { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 90px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(7, 26, 22, 0.97);
    box-shadow: var(--shadow);
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 14px 16px; }
  .hero-grid,
  .split-grid,
  .contact-grid,
  .about-section-grid,
  .legal-layout { grid-template-columns: 1fr; }
  .hero,
  .hero-with-bg { min-height: auto; }
  .hero-bg-image img { object-position: center center; }
  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(7, 26, 22, 0.82) 0%, rgba(7, 26, 22, 0.78) 45%, rgba(7, 26, 22, 0.88) 100%),
      radial-gradient(circle at top left, rgba(214, 168, 95, 0.12), transparent 30%);
  }
  .hero-points,
  .stats-grid,
  .offer-grid,
  .training-grid,
  .news-grid,
  .topic-grid,
  .process-grid,
  .training-grid.wide { grid-template-columns: repeat(2, 1fr); }
  #homeTrainingGrid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-card,
  .about-photo-card { max-width: 620px; justify-self: start; }
  .legal-toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 88px 0 70px; }
}
@media (max-width: 780px) {
  .schedule-toolbar { grid-template-columns: 1fr; }
  .schedule-mode { width: 100%; }
  .schedule-mode-btn { flex: 1; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max-width)); }
  .section { padding: 72px 0; }
  .hero { padding: 68px 0 56px; }
  .hero-with-bg { padding: 68px 0 56px; }
  .hero-actions,
  .hero-insight-panel,
  .home-training-top,
  .home-training-footer { flex-direction: column; align-items: flex-start; }
  .btn,
  .hero-insight-panel a,
  .home-training-footer a,
  .training-btn { width: 100%; }
  .hero-points,
  .stats-grid,
  .offer-grid,
  .training-grid,
  .news-grid,
  .topic-grid,
  .process-grid,
  .training-grid.wide,
  .knowledge-grid,
  .why-grid { grid-template-columns: 1fr; }
  .knowledge-card.featured { grid-column: auto; }
  .knowledge-card,
  .home-training-card { min-height: auto; }
  .knowledge-card-top { flex-direction: column; align-items: flex-start; }
  .training-card-header { grid-template-columns: 1fr; }
  .training-date-box { width: 100%; text-align: left; }
  .training-details-grid { grid-template-columns: 1fr; }
  .training-actions,
  .konwersatorium-actions { flex-direction: column; }
  .page-hero { min-height: 360px; padding: 72px 0 58px; }
  .page-hero h1 { font-size: clamp(2.35rem, 12vw, 4rem); line-height: 0.98; }
  .hero-image-card,
  .hero-image-card img { min-height: 320px; }
  .about-photo-card { max-width: 100%; }
  .about-photo-card img { height: 280px; }
  .about-photo-content h3 { font-size: 1.55rem; }
  .cta-box,
  .legal-content { padding: 24px; }
  .why-konwersatoria { padding: 22px; }
  .konwersatoria-section { padding-bottom: 80px; }
  .konwersatoria-section h2 { font-size: clamp(2.35rem, 11vw, 4rem); line-height: 1; }
  .konwersatoria-highlight-heading { margin-top: 56px; }
  .konwersatorium-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 44px; }
  .site-header .logo-image img { height: 52px; }
  .site-footer .logo-image img { height: 48px; }
}
/* Jasny wariant listy „Typowe grupy odbiorców” */

.feature-panel .check-list div,
.feature-panel ul li,
.feature-panel li {
  color: #10221d !important;
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(16, 34, 29, 0.1) !important;
}

.feature-panel .check-list div::before,
.feature-panel li::before {
  color: #2f5d4b !important;
}

.feature-panel .card-label,
.feature-panel > p:first-child {
  color: #9a6a2f !important;
}
.form-status {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.form-status.success {
  color: #0b3a2f;
  background: rgba(141, 162, 139, 0.2);
  border: 1px solid rgba(47, 93, 75, 0.25);
}

.form-status.error {
  color: #7a2e18;
  background: rgba(206, 122, 75, 0.15);
  border: 1px solid rgba(206, 122, 75, 0.28);
}
/* ==========================================================================
   17. INTERAKCJE I ANIMACJE
============================================================================ */

/* Płynne przewijanie anchorów */

html {
  scroll-behavior: smooth;
}

/* Nagłówek po przewinięciu strony */

.site-header {
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.site-header.header-scrolled {
  background: rgba(7, 45, 36, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

/* Aktywny link menu */

.main-nav a {
  position: relative;
}

.main-nav a.active {
  color: var(--gold, #d6a85f);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold, #d6a85f);
  transform: translateX(-50%);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  will-change: opacity, transform;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delikatne opóźnienia dla dzieci w gridach */

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
  will-change: opacity, transform;
}

.reveal-stagger.reveal-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.reveal-visible > *:nth-child(1) {
  transition-delay: 60ms;
}

.reveal-stagger.reveal-visible > *:nth-child(2) {
  transition-delay: 120ms;
}

.reveal-stagger.reveal-visible > *:nth-child(3) {
  transition-delay: 180ms;
}

.reveal-stagger.reveal-visible > *:nth-child(4) {
  transition-delay: 240ms;
}

.reveal-stagger.reveal-visible > *:nth-child(5) {
  transition-delay: 300ms;
}

.reveal-stagger.reveal-visible > *:nth-child(6) {
  transition-delay: 360ms;
}

/* Efekt hover kart */

.offer-card,
.training-card,
.home-training-card,
.knowledge-card,
.knowledge-article-card,
.testimonial-card,
.stat-card,
.contact-card,
.feature-panel,
.konwersatorium-card,
.why-grid article {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

@media (hover: hover) {
  .offer-card:hover,
  .training-card:hover,
  .home-training-card:hover,
  .knowledge-card:hover,
  .knowledge-article-card:hover,
  .testimonial-card:hover,
  .stat-card:hover,
  .contact-card:hover,
  .feature-panel:hover,
  .konwersatorium-card:hover,
  .why-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 80px rgba(16, 34, 29, 0.13);
    border-color: rgba(214, 168, 95, 0.28);
  }
}

/* Efekt hover przycisków */

.btn,
.training-btn,
.home-training-footer a,
.knowledge-card a,
.knowledge-article-card a {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

@media (hover: hover) {
  .btn:hover,
  .training-btn:hover,
  .home-training-footer a:hover,
  .knowledge-card a:hover,
  .knowledge-article-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(16, 34, 29, 0.12);
  }
}

/* Efekt hover logo */

.logo-image img {
  transition: transform 220ms ease, opacity 220ms ease;
}

@media (hover: hover) {
  .logo-image:hover img {
    transform: scale(1.025);
    opacity: 0.96;
  }
}

/* Ograniczenie ruchu zgodnie z preferencjami użytkownika */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile — bez podkreślenia aktywnego linku w rozwijanym menu */

@media (max-width: 780px) {
  .main-nav a.active::after {
    display: none;
  }
}
/* Hero — bezpieczny odstęp od nagłówka */

.hero,
.page-hero {
  padding-top: 80px !important;
}

.hero .container,
.page-hero .container,
.page-hero-inner {
  position: relative;
  z-index: 1;
}
/* Hero — wyrównanie przycisków CTA */

.hero .btn,
.hero .btn-primary,
.hero .btn-secondary,
.page-hero .btn,
.page-hero .btn-primary,
.page-hero .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
  text-align: center;
  min-height: 56px;
}
/* Hero — odstępy pod wariantami kart */

.hero,
.page-hero {
  padding-bottom: 54px !important;
}

.hero-cards,
.hero-topics,
.hero-features,
.hero-feature-grid {
  margin-top: 18px;
  margin-bottom: 14px;
}

.hero-cards > *,
.hero-topics > *,
.hero-features > *,
.hero-feature-grid > * {
  margin-bottom: 6px;
}
/* Harmonogram — widoczność kart podczas animacji */

.training-grid,
.home-training-grid,
.training-grid > *,
.home-training-grid > * {
  opacity: 1 !important;
  transform: none !important;
}
/* Numery kroków */

.step-number,
.process-number,
.number-badge,
.step-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  text-align: center;
  line-height: 1;
  font-weight: 800;
}
/* Przycisk „Sprawdź terminy” w panelu hero */

.hero-insight-panel a:hover {
  background: #e4bd76;
  transform: translateY(-2px);
}
/* Numery kart procesu */

.process-card span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px;
  height: 48px;
  padding: 0 !important;
  margin-bottom: 24px;
  line-height: 1 !important;
  text-align: center;
  vertical-align: middle;
}
/* ==========================================================================
   18. STRONA GŁÓWNA — HERO
============================================================================ */

/* Główne hero */

.hero {
  position: relative;
  min-height: 760px;
  padding-top: 150px !important;
  padding-bottom: 88px !important;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(
      110deg,
      rgba(7, 26, 22, 0.94) 0%,
      rgba(7, 26, 22, 0.86) 34%,
      rgba(11, 58, 47, 0.42) 62%,
      rgba(7, 26, 22, 0.72) 100%
    ),
    radial-gradient(circle at 18% 26%, rgba(214, 168, 95, 0.18), transparent 32%),
    url("../assets/images/hero.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(7, 26, 22, 0.08), rgba(7, 26, 22, 0.86));
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #eef1ed 82%);
  z-index: 0;
}

.hero .container,
.hero-inner,
.hero-content {
  position: relative;
  z-index: 1;
}

/* Układ hero */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.65fr);
  gap: 64px;
  align-items: center;
}

/* Tekst hero */

.hero .eyebrow {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.98) !important;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    0 2px 2px rgba(0, 0, 0, 0.08);
}

.hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.72;
}

/* CTA w hero */

.hero-actions,
.hero-cta,
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .btn,
.hero-cta .btn,
.hero-buttons .btn,
.hero .btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 900;
}

.hero .btn-primary {
  color: #091c17 !important;
  background: linear-gradient(135deg, rgb(158, 81, 42), oklch(86.472% 0.08564 85.589)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.hero .btn-secondary {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(14px);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
  transform: translateY(-2px);
}

/* Panel po prawej w hero — jeśli istnieje */

.hero-insight-panel,
.hero-panel,
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.075));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-insight-panel::before,
.hero-panel::before,
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 42%);
}

.hero-insight-panel > *,
.hero-panel > *,
.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-insight-panel h3,
.hero-panel h3,
.hero-card h3 {
  color: rgba(255, 255, 255, 0.96) !important;
}

.hero-insight-panel p,
.hero-panel p,
.hero-card p {
  color: rgba(255, 255, 255, 0.76) !important;
}

/* Przycisk w panelu "Sprawdź terminy" */

.hero-insight-panel a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px;
  padding: 0 22px;
  line-height: 1 !important;
  text-align: center;
  border-radius: 999px;
  color: #091c17 !important;
  background: linear-gradient(135deg, rgb(158, 81, 42), #eccf91);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

/* Kafelki w hero */

.hero-topics,
.hero-cards,
.hero-features,
.hero-feature-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
  margin-bottom: 20px;
}

.hero-topics > *,
.hero-cards > *,
.hero-features > *,
.hero-feature-grid > * {
  min-height: 132px;
  padding: 24px;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-topics h3,
.hero-cards h3,
.hero-features h3,
.hero-feature-grid h3 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 1.05rem;
}

.hero-topics p,
.hero-cards p,
.hero-features p,
.hero-feature-grid p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Liczniki niżej i spokojniej */

.stats-section {
  position: relative;
  z-index: 3;
  transform: none !important;
}

/* Mobile */

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 132px !important;
    padding-bottom: 72px !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
    line-height: 0.98;
  }

  .hero-topics,
  .hero-cards,
  .hero-features,
  .hero-feature-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 118px !important;
  }

  .hero-actions,
  .hero-cta,
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-cta .btn,
  .hero-buttons .btn,
  .hero .btn {
    width: 100%;
  }
}
/* ==========================================================================
   19. HARMONOGRAM — WYSZUKIWANIE I KARTY
============================================================================ */

/* Główna sekcja harmonogramu */

.schedule-section,
.harmonogram-section {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.08), transparent 34%),
    radial-gradient(circle at top left, rgba(141, 162, 139, 0.14), transparent 32%),
    #eef1ed;
}

/* Pasek narzędzi harmonogramu */

.schedule-toolbar {
  position: sticky;
  top: 92px;
  z-index: 20;
  margin-bottom: 32px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 34, 29, 0.1);
  box-shadow: 0 24px 70px rgba(16, 34, 29, 0.08);
  backdrop-filter: blur(18px);
}

/* Alternatywny układ filtrów bez paska narzędzi */

.filters,
.schedule-filters {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 34, 29, 0.1);
  box-shadow: 0 20px 60px rgba(16, 34, 29, 0.07);
  backdrop-filter: blur(16px);
}

/* Wyszukiwarka */

.schedule-search input,
.schedule-toolbar input,
#trainingSearch {
  min-height: 52px;
  border-radius: 999px;
  padding: 0 18px;
  color: #10221d;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 29, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.schedule-search input:focus,
.schedule-toolbar input:focus,
#trainingSearch:focus {
  outline: none;
  border-color: rgba(214, 168, 95, 0.7);
  box-shadow:
    0 0 0 4px rgba(214, 168, 95, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Przełączniki Najbliższe / Wszystkie */

.schedule-mode,
.schedule-view-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(16, 34, 29, 0.06);
  border: 1px solid rgba(16, 34, 29, 0.08);
}

.schedule-mode button,
.schedule-view-toggle button,
.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 34, 29, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #10221d;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.schedule-mode button.active,
.schedule-view-toggle button.active,
.filter-btn.active {
  color: #091c17;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  border-color: rgba(214, 168, 95, 0.6);
}

@media (hover: hover) {
  .schedule-mode button:hover,
  .schedule-view-toggle button:hover,
  .filter-btn:hover {
    transform: translateY(-1px);
  }
}

/* Siatka kart */

.training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* Karta szkolenia */

.training-card {
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 34, 29, 0.1);
  box-shadow: 0 24px 70px rgba(16, 34, 29, 0.08);
}

.training-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #d6a85f, #ce7a4b, #2f5d4b);
}

.training-card.is-nearest {
  border-color: rgba(214, 168, 95, 0.42);
  box-shadow:
    0 30px 90px rgba(16, 34, 29, 0.12),
    0 0 0 1px rgba(214, 168, 95, 0.18);
}

.training-card.is-nearest::after {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #091c17;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Nagłówki i meta */

.training-card h3 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.training-card p {
  color: #596966;
}

.training-card-top,
.training-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-right: 140px;
}

/* Status */

.training-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.training-status.available {
  color: #0b3a2f;
  background: rgba(141, 162, 139, 0.22);
}

.training-status.limited {
  color: #7a4b0b;
  background: rgba(214, 168, 95, 0.24);
}

.training-status.full {
  color: #7a2e18;
  background: rgba(206, 122, 75, 0.2);
}

.training-status.planned {
  color: #596966;
  background: rgba(16, 34, 29, 0.07);
}

/* Szczegóły szkolenia */

.training-detail span {
  display: block;
}

.training-detail strong {
  display: block;
}

/* Akcje */

.training-actions {
  flex-wrap: wrap;
}

.training-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}

.training-btn-primary {
  color: #091c17;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  border: 1px solid rgba(214, 168, 95, 0.48);
}

.training-btn-secondary {
  color: #0b3a2f;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 29, 0.13);
}

/* Pusty stan */

.training-card-empty,
.schedule-empty {
  grid-column: 1 / -1;
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.12), transparent 34%),
    #ffffff;
  border: 1px solid rgba(16, 34, 29, 0.1);
  box-shadow: 0 24px 70px rgba(16, 34, 29, 0.08);
}

.training-card-empty h3,
.schedule-empty h3 {
  color: #10221d;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.training-card-empty p,
.schedule-empty p {
  max-width: 640px;
  margin: 12px auto 0;
  color: #596966;
}

/* Widoki wąskie */

@media (max-width: 980px) {
  .schedule-toolbar {
    position: static;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .training-card-top,
  .training-card-header {
    padding-right: 0;
  }

  .training-card.is-nearest::after {
    position: static;
    width: fit-content;
    margin-bottom: 14px;
  }
}

@media (max-width: 640px) {
  .training-card {
    padding: 24px;
    border-radius: 26px;
  }

  .training-details {
    grid-template-columns: 1fr;
  }

  .training-actions {
    flex-direction: column;
  }

  .training-btn {
    width: 100%;
  }
}
/* Dostępnościowy nagłówek niewidoczny wizualnie */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* ==========================================================================
   20. LICZNIKI
============================================================================ */

.stats-section {
  padding: 72px 0;
  margin-top: 0 !important;
  background: #f3f4ef;
}

.stats-section .container {
  border-top: 1px solid rgba(16, 34, 29, 0.18);
  border-bottom: 1px solid rgba(16, 34, 29, 0.18);
  padding-top: 58px;
  padding-bottom: 52px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.stat-card {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}

.stat-card strong,
.stat-card .counter,
.stat-card .stat-number {
  display: block;
  margin-bottom: 22px;
  color: #2b2c34 !important;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.stat-card p,
.stat-card span {
  margin: 0;
  color: #1d2825;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }

  .stat-card strong,
  .stat-card .counter,
  .stat-card .stat-number {
    font-size: clamp(3.6rem, 13vw, 6rem);
  }
}

@media (max-width: 560px) {
  .stats-section {
    padding: 54px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-section .container {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}
.stats-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .stats-grid-three {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   21. SMART POPUP — NAJBLIŻSZE SZKOLENIA
============================================================================ */

.smart-popup {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 28px;
  pointer-events: none;
}

.smart-popup.is-visible {
  display: flex;
  pointer-events: auto;
}

.smart-popup-card {
  color: #10221d;
  transform: translateY(18px);
  opacity: 0;
  animation: smartPopupIn 420ms ease forwards;
}

@keyframes smartPopupIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.smart-popup-eyebrow {
  margin: 0 0 10px;
  color: #9a6a2f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.smart-popup h2 {
  max-width: 330px;
  margin: 0 0 12px;
  color: #10221d !important;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.smart-popup-lead {
  margin: 0 0 20px;
  color: #596966;
  font-size: 0.96rem;
  line-height: 1.55;
}

.smart-popup-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 22px;
}

.smart-popup-item {
  display: block;
  padding: 14px 15px;
  border-radius: 18px;
  color: #10221d;
  background: rgba(16, 34, 29, 0.04);
  border: 1px solid rgba(16, 34, 29, 0.08);
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.smart-popup-item strong {
  display: block;
  margin-bottom: 6px;
  color: #10221d;
  font-size: 0.98rem;
  line-height: 1.25;
}

.smart-popup-item span {
  display: block;
  color: #596966;
  font-size: 0.86rem;
  line-height: 1.35;
}

@media (hover: hover) {
  .smart-popup-item:hover {
    transform: translateY(-2px);
    background: rgba(214, 168, 95, 0.11);
    border-color: rgba(214, 168, 95, 0.35);
  }
}

.smart-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.smart-popup-primary,
.smart-popup-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.smart-popup-primary {
  color: #091c17;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  border: 1px solid rgba(214, 168, 95, 0.5);
}

.smart-popup-secondary {
  color: #0b3a2f;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 29, 0.13);
}

@media (max-width: 640px) {
  .smart-popup {
    padding: 14px;
    align-items: flex-end;
  }

  .smart-popup-card {
    border-radius: 26px;
  }

  .smart-popup-actions {
    flex-direction: column;
  }

  .smart-popup-primary,
  .smart-popup-secondary {
    width: 100%;
  }
}
.form-hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
/* ==========================================================================
   22. WIEDZA — POZIOMY WARIANT KARTY
============================================================================ */

.knowledge-card-horizontal {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.knowledge-card-image {
  min-height: 100%;
  background: rgba(16, 34, 29, 0.05);
}

.knowledge-card-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
}

.knowledge-card-content {
  padding: 34px 34px 34px 0;
}

.knowledge-card-content h3 {
  margin-bottom: 14px;
  color: #10221d;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.knowledge-card-content p {
  max-width: 820px;
  margin-bottom: 24px;
  color: #596966;
  font-size: 1.02rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .knowledge-card-horizontal {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .knowledge-card-content {
    padding: 28px;
  }

  .knowledge-card-image img {
    min-height: 220px;
  }
}
/* ==========================================================================
   23. WIEDZA — BIBLIOTEKA ARTYKUŁÓW
============================================================================ */

.knowledge-hero {
  padding: 120px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.1), transparent 34%),
    radial-gradient(circle at top left, rgba(141, 162, 139, 0.14), transparent 30%),
    #eef1ed;
}

.knowledge-hero-inner {
  max-width: 900px;
}

.knowledge-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: #10221d;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.knowledge-hero .large-text {
  max-width: 760px;
  color: #596966;
}

.knowledge-library {
  background:
    linear-gradient(180deg, #eef1ed 0%, #f5f2ea 100%);
}

.section-heading-left {
  text-align: left;
  max-width: 860px;
  margin-left: 0;
}

.knowledge-category-tabs {
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 34px;
}

.knowledge-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #10221d;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 34, 29, 0.11);
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.knowledge-tab.active {
  color: #091c17;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  border-color: rgba(214, 168, 95, 0.5);
}

@media (hover: hover) {
  .knowledge-tab:hover {
    transform: translateY(-1px);
    background: rgba(214, 168, 95, 0.15);
    border-color: rgba(214, 168, 95, 0.38);
  }
}

/* Artykuł wyróżniony */

.knowledge-featured-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 34, 29, 0.1);
  box-shadow: 0 30px 90px rgba(16, 34, 29, 0.1);
}

.knowledge-featured-image {
  min-height: 100%;
  background: rgba(16, 34, 29, 0.05);
}

.knowledge-featured-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.knowledge-featured-content {
  padding: clamp(32px, 5vw, 58px);
}

.knowledge-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  color: #10221d;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.knowledge-featured-content h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #10221d;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.knowledge-featured-content p {
  max-width: 680px;
  margin-bottom: 22px;
  color: #596966;
  font-size: 1.06rem;
  line-height: 1.65;
}

.knowledge-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.knowledge-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #596966;
  background: rgba(16, 34, 29, 0.055);
  font-size: 0.82rem;
  font-weight: 800;
}

.knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Siatka artykułów */

.knowledge-article-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

@media (hover: hover) {
  .knowledge-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 168, 95, 0.34);
    box-shadow: 0 32px 90px rgba(16, 34, 29, 0.11);
  }
}

.knowledge-article-image {
  background: rgba(16, 34, 29, 0.05);
}

.knowledge-article-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.knowledge-article-content h3 {
  margin-bottom: 14px;
  color: #10221d;
}

.knowledge-article-content p {
  margin-bottom: 18px;
}

.knowledge-read-more {
  border: 1px solid rgba(214, 168, 95, 0.32);
}

.knowledge-cta {
  padding-top: 80px;
  padding-bottom: 90px;
}

.knowledge-cta .cta-banner {
  max-width: 980px;
  margin: 0 auto;
}

/* Responsywność */

@media (max-width: 980px) {
  .knowledge-featured-card {
    grid-template-columns: 1fr;
  }

  .knowledge-featured-image img {
    min-height: 300px;
    max-height: 420px;
  }

  .knowledge-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .knowledge-hero {
    padding: 96px 0 54px;
  }

  .knowledge-category-tabs {
    margin-top: 26px;
  }

  .knowledge-featured-card,
  .knowledge-article-card {
    border-radius: 26px;
  }

  .knowledge-featured-content,
  .knowledge-article-content {
    padding: 24px;
  }

  .knowledge-featured-image img {
    min-height: 230px;
  }

  .knowledge-article-image {
    height: 210px;
  }

  .knowledge-actions {
    flex-direction: column;
  }

  .knowledge-actions .btn {
    width: 100%;
  }
}
/* ==========================================================================
   24. ARTYKUŁ — WIDOK POJEDYNCZY
============================================================================ */

.article-page {
  background: #eef1ed;
}

.article-hero {
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.12), transparent 36%),
    radial-gradient(circle at top left, rgba(141, 162, 139, 0.18), transparent 34%),
    #eef1ed;
}

.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.article-hero h1 {
  color: #10221d;
  font-size: clamp(3rem, 6.8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.078em;
}

.article-meta span {
  border: 1px solid rgba(16, 34, 29, 0.09);
}

.article-cover-section {
  background: #eef1ed;
}

.article-cover img {
  max-height: 620px;
}

.article-content-section {
  background: linear-gradient(180deg, #eef1ed 0%, #f5f2ea 100%);
}

.article-toc {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.article-toc a {
  display: block;
  padding: 10px 0;
  color: #596966;
  border-bottom: 1px solid rgba(16, 34, 29, 0.08);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a:hover {
  color: #0b3a2f;
}

.article-content {
  color: #10221d;
}

.article-content section {
  scroll-margin-top: 120px;
}

.article-content h3 {
  letter-spacing: -0.035em;
}

.article-content > section {
  margin-bottom: 62px;
}

.article-callout {
  margin: 32px 0;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 34, 29, 0.1);
}

.article-callout ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #43534f;
  font-size: 1.04rem;
  line-height: 1.55;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 28px 32px;
  border-left: 5px solid #d6a85f;
  border-radius: 0 24px 24px 0;
  color: #10221d;
  background: rgba(214, 168, 95, 0.12);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 850;
  line-height: 1.45;
}

.article-grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.article-grid-list div {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 34, 29, 0.1);
}

.article-grid-list p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.article-cta-box {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 36px;
  box-shadow: 0 28px 90px rgba(7, 26, 22, 0.24);
}

.article-cta-box h3 {
  color: #ffffff;
}

.article-cta-box p {
  color: rgba(255, 255, 255, 0.78);
}

.article-cta-actions {
  flex-direction: column;
}

.related-articles {
  padding-top: 80px;
  padding-bottom: 90px;
  background: #f5f2ea;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-article-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 26px;
  color: #10221d;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 34, 29, 0.1);
  text-decoration: none;
  box-shadow: 0 20px 70px rgba(16, 34, 29, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.related-article-card span {
  color: #9a6a2f;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related-article-card strong {
  display: block;
  margin-top: 20px;
  color: #10221d;
  font-size: 1.22rem;
  line-height: 1.18;
}

@media (hover: hover) {
  .related-article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 168, 95, 0.35);
    box-shadow: 0 28px 80px rgba(16, 34, 29, 0.1);
  }
}

@media (max-width: 980px) {

  .article-aside-card {
    display: none;
  }

  .article-cta-box {
    grid-template-columns: 1fr;
  }

  .article-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-hero {
    padding: 100px 0 44px;
  }

  .article-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .article-cover {
    border-radius: 26px;
  }

  .article-content-section {
    padding-top: 32px;
  }

  .article-grid-list {
    grid-template-columns: 1fr;
  }

  .article-callout,
  .article-grid-list div,
  .article-cta-box {
    border-radius: 24px;
  }

  .article-cta-actions {
    flex-direction: column;
  }

  .article-cta-actions .btn {
    width: 100%;
  }
}

.site-header .header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  width: auto;
  height: 58px;
  max-width: 230px;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* ==========================================================================
   25. WIEDZA — HERO PODSTRONY
============================================================================ */

.knowledge-page-hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 130px 0 92px;
  color: #ffffff;
  background:
    radial-gradient(circle at 72% 28%, rgba(214, 168, 95, 0.14), transparent 34%),
    radial-gradient(circle at 16% 18%, rgba(141, 162, 139, 0.18), transparent 32%),
    linear-gradient(135deg, #0b3a2f 0%, #071f1a 100%);
}

.knowledge-page-hero .page-hero-inner {
  max-width: 1080px;
}

.knowledge-page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.knowledge-page-hero h1 {
  max-width: 1050px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: 0.93;
  letter-spacing: -0.085em;
}

.knowledge-page-hero .page-hero-text {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  line-height: 1.65;
}

/* Odstęp biblioteki artykułów od hero */
.knowledge-page-hero + .knowledge-library {
  padding-top: 2px;
}

/* Zgodność ze starszym wariantem hero */
.knowledge-hero-inner::after {
  display: none;
}

@media (max-width: 820px) {
  .knowledge-page-hero {
    min-height: auto;
    padding: 112px 0 72px;
  }

  .knowledge-page-hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .knowledge-page-hero .page-hero-text {
    font-size: 1.05rem;
  }
}
/* Artykuły generowane przez articles.js */

.knowledge-articles-grid {
  margin-top: 42px;
}

.knowledge-read-more:hover {
  color: #9a6a2f;
}

@media (max-width: 840px) {
  .knowledge-article-card {
    grid-template-columns: 1fr;
  }

  .knowledge-article-image {
    height: 240px;
  }
}
/* Właściwy układ kart artykułów */

.knowledge-articles-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  width: 100%;
  max-width: 1180px;
  margin: 44px auto 0;
}

.knowledge-article-card {
  display: grid !important;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
}

.knowledge-article-content {
  padding: clamp(28px, 4vw, 48px);
}

.knowledge-article-card h3 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #10221d;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.knowledge-article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.knowledge-article-card p {
  max-width: 760px;
  margin: 0;
  color: #53635f;
  font-size: 1.08rem;
  line-height: 1.65;
}

.knowledge-tag {
  min-height: 32px;
  line-height: 1.1;
}

.knowledge-article-footer {
  justify-content: space-between;
}

.knowledge-read-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(214, 168, 95, 0.26);
}

/* Tablet */
@media (max-width: 900px) {
  .knowledge-article-card {
    grid-template-columns: 1fr !important;
  }

  .knowledge-article-image-link,
  .knowledge-article-image {
    min-height: 260px;
    height: 260px;
  }
}

/* Telefon */
@media (max-width: 560px) {
  .knowledge-articles-grid {
    gap: 22px !important;
    margin-top: 32px;
  }

  .knowledge-article-card {
    border-radius: 26px;
  }

  .knowledge-article-content {
    padding: 26px 22px 28px;
  }

  .knowledge-article-card h3 {
    font-size: clamp(1.75rem, 9vw, 2.6rem);
    letter-spacing: -0.055em;
  }

  .knowledge-article-card p {
    font-size: 1rem;
  }

  .knowledge-article-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Dwukolumnowy wariant biblioteki */

.knowledge-library .knowledge-articles-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100%;
  max-width: 1280px;
  margin: 44px auto 0;
}

.knowledge-library .knowledge-article-card {
  display: grid !important;
  grid-template-columns: 44% 56% !important;
  min-width: 0 !important;
  min-height: 270px !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(16, 34, 29, 0.1) !important;
  box-shadow: 0 22px 74px rgba(16, 34, 29, 0.08) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.knowledge-library .knowledge-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 168, 95, 0.4) !important;
  box-shadow: 0 34px 96px rgba(16, 34, 29, 0.13) !important;
}

.knowledge-library .knowledge-article-image-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 270px !important;
  overflow: hidden !important;
  background: #dfe5dc !important;
}

.knowledge-library .knowledge-article-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 270px !important;
  object-fit: cover !important;
  transition: transform 0.35s ease;
}

.knowledge-library .knowledge-article-card:hover .knowledge-article-image {
  transform: scale(1.04);
}

.knowledge-library .knowledge-article-content {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 20px 26px 24px !important;
}

.knowledge-library .knowledge-tag {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  min-height: 28px !important;
  padding: 0 12px !important;
  margin-bottom: 14px !important;
  border-radius: 999px !important;
  color: #10221d !important;
  background: rgba(214, 168, 95, 0.92) !important;
  font-size: 0.68rem !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
}

.knowledge-library .knowledge-article-card h3 {
  margin: 0 0 12px !important;
  max-width: 100% !important;
  color: #10221d !important;
  font-size: clamp(1.28rem, 1.65vw, 1.82rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
}

.knowledge-library .knowledge-article-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.knowledge-library .knowledge-article-card p {
  display: -webkit-box !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #53635f !important;
  font-size: 0.92rem !important;
  line-height: 1.52 !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

.knowledge-library .knowledge-article-footer {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-top: auto !important;
  padding-top: 18px !important;
}

.knowledge-library .knowledge-article-footer span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  color: #53635f !important;
  background: rgba(16, 34, 29, 0.06) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
}

.knowledge-library .knowledge-read-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  color: #071f1a !important;
  background: #d6a85f !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 26px rgba(214, 168, 95, 0.16);
}

.knowledge-library .knowledge-read-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(214, 168, 95, 0.26);
}

/* Duże ekrany — szersza karta i większe odstępy */
@media (min-width: 1440px) {
  .knowledge-library .knowledge-articles-grid {
    max-width: 1360px;
  }

  .knowledge-library .knowledge-article-card {
    grid-template-columns: 46% 54% !important;
    min-height: 285px !important;
  }

  .knowledge-library .knowledge-article-image-link,
  .knowledge-library .knowledge-article-image {
    min-height: 285px !important;
  }
}

/* Tablet — jedna kolumna, ale nadal poziomo */
@media (max-width: 1050px) {
  .knowledge-library .knowledge-articles-grid {
    grid-template-columns: 1fr !important;
    max-width: 760px;
  }

  .knowledge-library .knowledge-article-card {
    grid-template-columns: 44% 56% !important;
  }
}

/* Telefon — pionowo, bo pozioma karta byłaby zbyt ciasna */
@media (max-width: 640px) {
  .knowledge-library .knowledge-article-card {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .knowledge-library .knowledge-article-image-link,
  .knowledge-library .knowledge-article-image {
    height: 230px !important;
    min-height: 230px !important;
  }

  .knowledge-library .knowledge-article-content {
    padding: 24px 22px 26px !important;
  }

  .knowledge-library .knowledge-article-card h3 {
    font-size: clamp(1.55rem, 8vw, 2.25rem) !important;
  }

  .knowledge-library .knowledge-article-card p {
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  .knowledge-library .knowledge-article-footer {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}
/* ==========================================================================
   26. KONWERSATORIA STYCZEŃ 2027
============================================================================ */

#januaryConversatoriaSummary {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  color: rgba(16, 34, 29, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

#januaryConversatoriaGrid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.january-conversatorium-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 34, 29, 0.08);
  box-shadow: 0 24px 70px rgba(16, 34, 29, 0.08);
}

.january-card-aside {
  padding: 28px 26px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.18), transparent 38%),
    linear-gradient(180deg, #214d38, #082f26);
  color: #fff;
}

.january-card-date {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.january-card-time {
  margin-top: 12px;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 950;
}

.january-card-body {
  padding: 30px 34px;
}

.january-card-track {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  color: #12352b;
  background: rgba(16, 34, 29, 0.07);
  font-size: 0.78rem;
  font-weight: 950;
}

.january-card-body h3 {
  max-width: 940px;
  margin: 0 0 12px;
  color: #061b16;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.january-card-body p {
  max-width: 980px;
  margin: 0;
  color: rgba(16, 34, 29, 0.74);
  font-size: 1rem;
  line-height: 1.65;
}

.january-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.january-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(16, 34, 29, 0.82);
  background: rgba(16, 34, 29, 0.06);
  font-size: 0.82rem;
  font-weight: 850;
}

.january-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.january-card-actions .btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 950;
  cursor: pointer;
}

.january-card-actions .btn-primary {
  color: #061b16;
  background: linear-gradient(135deg, #d6a85f, #e7c57f);
  box-shadow: 0 16px 36px rgba(214, 168, 95, 0.22);
}

.january-card-actions .btn-secondary {
  color: #12352b;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(16, 34, 29, 0.12);
}

@media (max-width: 760px) {
  #januaryConversatoriaGrid,
  #januaryConversatoriaSummary {
    width: min(100% - 24px, 1180px);
  }

  .january-conversatorium-card {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .january-card-aside {
    padding: 22px 24px;
  }

  .january-card-body {
    padding: 24px;
  }

  .january-card-actions {
    flex-direction: column;
  }

  .january-card-actions .btn {
    width: 100%;
  }
}
/* ==========================================================================
   27. MODAL PROGRAMU KONWERSATORIUM
============================================================================ */

.program-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.program-modal.active {
  display: block;
}

.program-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 15, 0.72);
  backdrop-filter: blur(10px);
}

.program-modal-dialog {
  position: relative;
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: auto;
  border-radius: 30px;
  background: #f8f7f1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.32);
}

.program-modal-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 18px 18px 0 0;
  border: 0;
  border-radius: 999px;
  color: #061b16;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 34, 29, 0.12);
}

.program-modal-header {
  padding: 42px 46px 24px;
  border-bottom: 1px solid rgba(16, 34, 29, 0.1);
}

.program-modal-header h2 {
  max-width: 780px;
  margin: 8px 0 12px;
  color: #061b16;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.program-modal-header p {
  color: rgba(16, 34, 29, 0.68);
  font-weight: 700;
}

.program-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 46px 0;
}

.program-modal-content {
  padding: 28px 46px 46px;
}

.program-days {
  display: grid;
  gap: 18px;
}

.program-day {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 34, 29, 0.08);
}

.program-day h3 {
  margin: 0 0 18px;
  color: #10221d;
  font-size: 1.25rem;
}

.program-items {
  display: grid;
  gap: 12px;
}

.program-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(241, 243, 238, 0.72);
  border: 1px solid rgba(16, 34, 29, 0.07);
}

.program-item-time span,
.program-time {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #10221d;
  background: rgba(214, 168, 95, 0.28);
  font-size: 0.82rem;
  font-weight: 950;
}

.program-item-content h4,
.program-item > div:last-child h4 {
  margin: 0 0 8px;
  color: #061b16;
  font-size: 1.02rem;
  line-height: 1.25;
}

.program-speaker {
  margin: 0 0 10px;
  color: rgba(16, 34, 29, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.program-item-content ul,
.program-item > div:last-child ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(16, 34, 29, 0.74);
}

.program-item-content li,
.program-item > div:last-child li {
  margin-bottom: 6px;
  line-height: 1.55;
}

.program-modal .btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 950;
  cursor: pointer;
}

.program-modal .btn-primary {
  color: #061b16;
  background: linear-gradient(135deg, #d6a85f, #e7c57f);
}

.program-modal .btn-secondary {
  color: #12352b;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(16, 34, 29, 0.12);
}

@media (max-width: 760px) {
  .program-modal-dialog {
    width: min(100% - 20px, 980px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    border-radius: 24px;
  }

  .program-modal-header,
  .program-modal-actions,
  .program-modal-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .program-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
sub {
  font-size: 0.62em;
  line-height: 0;
  vertical-align: sub;
}

/* ==========================================================================
   28. HARMONOGRAM — PANEL WYSZUKIWANIA I FILTRÓW
   Utrzymanie: miesiące generuje JavaScript na podstawie pola dateISO.
============================================================================ */

.schedule-controls-premium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
  max-width: none;
  padding: clamp(24px, 3vw, 34px);
  margin: 34px 0 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 34, 29, 0.08);
  box-shadow: 0 24px 80px rgba(16, 34, 29, 0.06);
}

.schedule-search-wide {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: none;
}

.schedule-search-wide label {
  margin: 0;
  color: rgba(16, 34, 29, 0.72);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.schedule-search-wide input {
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  color: #10221d;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 34, 29, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 1.02rem;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.schedule-search-wide input:focus {
  border-color: rgba(214, 168, 95, 0.75);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(214, 168, 95, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.schedule-months-wrap {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.schedule-months {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.month-filter-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #10221d;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 34, 29, 0.12);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.month-filter-btn.active {
  color: #071f1a;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  border-color: rgba(214, 168, 95, 0.48);
  box-shadow: 0 14px 34px rgba(214, 168, 95, 0.18);
}

@media (hover: hover) {
  .month-filter-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 168, 95, 0.4);
  }
}

.filters {
  margin: 0 0 28px;
}

@media (max-width: 640px) {
  .schedule-controls-premium {
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
  }

  .schedule-search-wide input {
    min-height: 52px;
    padding: 0 18px;
    font-size: 0.96rem;
  }

  .schedule-months {
    gap: 8px;
  }

  .month-filter-btn {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.86rem;
  }
}
/* ==========================================================================
   29. HARMONOGRAM — KOMPAKTOWE KARTY SZKOLEŃ
============================================================================ */

.training-grid.wide {
  align-items: stretch;
}

.training-grid.wide .training-card {
  height: 100%;
}

/* Układ karty */
.training-card {
  display: grid !important;
  grid-template-rows:
    auto      /* góra: badge + status */
    auto      /* tytuł */
    auto      /* opis */
    auto      /* kafelki */
    1fr       /* elastyczny odstęp */
    auto;     /* przyciski */
  min-height: 0 !important;
  padding: 22px !important;
  border-radius: 28px !important;
}

/* Góra karty */

/* Badge i status */
.training-card-top .badge,
.training-status {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 950;
}

/* Tytuł — stała wysokość, żeby kafelki startowały podobnie */
.training-card h3 {
  margin: 0 0 14px !important;
  color: var(--text);
  letter-spacing: -0.045em !important;
  display: -webkit-box;
}

/* Opis — krótszy i wyrównany */
.training-card > p,
.training-card .training-description {
  min-height: 76px;
  margin: 0 0 22px !important;
  color: var(--muted);
  font-size: 0.93rem !important;
  line-height: 1.5 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* Kafelki: tylko 4 pola */
.training-details {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}

.training-detail {
  min-height: 86px;
  padding: 13px 14px !important;
  border-radius: 18px !important;
  background: rgba(16, 34, 29, 0.045);
  border: 1px solid rgba(16, 34, 29, 0.08);
}

.training-detail span {
  margin-bottom: 7px !important;
  color: #9a6a2f !important;
  font-size: 0.7rem !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.training-detail strong {
  color: var(--text);
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

/* Przyciski zawsze na dole i na tej samej wysokości */
.training-actions {
  align-self: end;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px !important;
  margin-top: 26px !important;
  padding: 0 !important;
}

.training-actions .training-btn {
  width: 100%;
  min-height: 44px !important;
  padding: 0 16px !important;
  font-size: 0.92rem !important;
  line-height: 1 !important;
}

/* Drugorzędny wariant przycisku */
.training-actions .training-btn-secondary,
.training-actions .training-btn-download {
  background: rgba(255, 255, 255, 0.82);
}

/* Pusta karta / komunikaty bez wymuszania układu */
.training-card.training-card-empty {
  display: block !important;
  min-height: auto !important;
}

/* Widoki wąskie */
@media (max-width: 680px) {
  .training-card {
    padding: 20px !important;
  }

  .training-card-top {
    min-height: auto;
    margin-bottom: 16px;
  }

  .training-card h3 {
    min-height: auto;
    font-size: 1.35rem !important;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .training-card > p,
  .training-card .training-description {
    min-height: auto;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .training-details {
    grid-template-columns: 1fr;
  }

  .training-detail {
    min-height: auto;
  }
}

/* Ukrycie nieużywanego badge'a „Najbliższy termin” */

.training-card-top {
  justify-content: space-between !important;
}

.training-card-top .training-status {
  margin-left: auto !important;
}

/* Nagłówek karty bez rozszerzania jej szerokości */

.training-card-top {
  grid-template-columns: minmax(0, auto) auto !important;
  align-items: start !important;
  gap: 10px !important;
}

.training-card-top .badge,
.training-card-top .training-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 30px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

.training-card-top .training-status {
  justify-self: end !important;
}

/* tytuł nie może wychodzić poza kartę */

/* opis również kontrolujemy */
.training-card > p,
.training-card .training-description {
  max-width: 100% !important;
  overflow: hidden !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}

/* kafelki nie mogą wychodzić poza kartę */
.training-details {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
}

.training-detail {
  min-width: 0 !important;
}

.training-detail strong {
  overflow-wrap: anywhere !important;
}

/* przyciski pełna szerokość, ale bez wychodzenia poza kartę */
.training-actions {
  width: 100% !important;
}

.training-actions .training-btn {
  max-width: 100% !important;
}
/* Nagłówek karty: kategoria po lewej, status po prawej */

.training-card {
  position: relative !important;
  overflow: hidden !important;
}

/* Badge „Najbliższy termin” pozostaje wyłączony. */
.training-card.is-nearest::after {
  content: none !important;
  display: none !important;
}

/* Kontener nagłówka stanowi bazę dla pozycjonowanych etykiet. */
.training-card-top {
  display: block !important;
  width: 100% !important;
  min-height: 34px !important;
  margin-bottom: 20px !important;
  padding-right: 150px !important;
}

/* kategoria po lewej */
.training-card-top .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  color: var(--green-deep) !important;
  background: rgba(74, 107, 86, 0.10) !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

/* status miejsc po prawej, niezależnie od kategorii */
.training-card-top .training-status {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 145px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* kolory statusów */
.training-card-top .training-status.status-open,
.training-card-top .training-status.status-contact,
.training-card-top .training-status.available {
  color: #0b3a2f !important;
  background: rgba(141, 162, 139, 0.22) !important;
}

.training-card-top .training-status.status-last,
.training-card-top .training-status.limited {
  color: #7a4c13 !important;
  background: rgba(214, 168, 95, 0.24) !important;
}

.training-card-top .training-status.status-full,
.training-card-top .training-status.full {
  color: #7a241e !important;
  background: rgba(206, 74, 75, 0.14) !important;
}

.training-card-top .training-status.status-pending,
.training-card-top .training-status.planned {
  color: #596966 !important;
  background: rgba(16, 34, 29, 0.07) !important;
}

/* tytuł — 4 linie, bez wychodzenia poza kartę */
.training-card h3 {
  max-width: 100% !important;
  min-height: 104px !important;
  overflow: hidden !important;
  font-size: clamp(1.2rem, 1.35vw, 1.45rem) !important;
  line-height: 1.06 !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
}
/* ==========================================================================
   30. HARMONOGRAM — MODAL SZCZEGÓŁÓW SZKOLENIA
============================================================================ */

body.modal-open {
  overflow: hidden;
}

.training-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.training-modal.active {
  display: block;
}

.training-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 15, 0.72);
  backdrop-filter: blur(10px);
}

.training-modal-dialog {
  position: relative;
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: auto;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.12), transparent 34%),
    #f8f7f1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.32);
}

.training-modal-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 18px 18px 0 0;
  border: 0;
  border-radius: 999px;
  color: #061b16;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 34, 29, 0.12);
}

.training-modal-header {
  padding: 42px 46px 24px;
  border-bottom: 1px solid rgba(16, 34, 29, 0.1);
}

.training-modal-header h2 {
  max-width: 780px;
  margin: 8px 0 12px;
  color: #061b16;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.training-modal-header p {
  color: rgba(16, 34, 29, 0.68);
  font-weight: 700;
}

.training-modal-content {
  padding: 30px 46px 0;
}

.training-modal-grid {
  display: grid;
  gap: 18px;
}

.training-modal-section {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 34, 29, 0.08);
}

.training-modal-section h3 {
  margin: 0 0 14px;
  color: #10221d;
  font-size: 1.25rem;
}

.training-modal-section h4 {
  margin: 0 0 10px;
  color: #10221d;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.training-modal-section p {
  color: rgba(16, 34, 29, 0.74);
  line-height: 1.7;
}

.training-modal-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.training-modal-info h3 {
  grid-column: 1 / -1;
}

.training-modal-info div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(16, 34, 29, 0.045);
  border: 1px solid rgba(16, 34, 29, 0.07);
}

.training-modal-info span {
  display: block;
  margin-bottom: 5px;
  color: #9a6a2f;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.training-modal-info strong {
  display: block;
  color: #10221d;
  font-size: 0.95rem;
  line-height: 1.35;
}

.training-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 46px 46px;
}

.training-modal .btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 950;
  cursor: pointer;
}

.training-modal .btn-primary {
  color: #061b16;
  background: linear-gradient(135deg, #d6a85f, #e7c57f);
}

.training-modal .btn-secondary {
  color: #12352b;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(16, 34, 29, 0.12);
}

@media (max-width: 760px) {
  .training-modal-dialog {
    width: min(100% - 20px, 980px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    border-radius: 24px;
  }

  .training-modal-header,
  .training-modal-content,
  .training-modal-actions {
    padding-left: 22px;
    padding-right: 22px;
  }

  .training-modal-info {
    grid-template-columns: 1fr;
  }

  .training-modal-actions {
    flex-direction: column;
  }

  .training-modal-actions .btn {
    width: 100%;
  }
}
.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F24500, #FFA679);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
/* Smart popup — aktywna warstwa i pozycja karty */

.smart-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
}

.smart-popup.active {
  display: block;
}

.smart-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 15, 0.58);
  backdrop-filter: blur(8px);
}

.smart-popup-card {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(430px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 95, 0.14), transparent 34%),
    #f8f7f1;
  border: 1px solid rgba(16, 34, 29, 0.1);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.28);
}

.smart-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #10221d;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .smart-popup-card {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 24px;
  }
}
/* ==========================================================================
   31. NAWIGACJA MOBILNA
============================================================================ */

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .main-nav.active {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

}
/* Panel nawigacji i kolejność warstw */

@media (max-width: 860px) {
  body.mobile-menu-open {
    overflow: hidden !important;
  }

  .site-header {
    z-index: 10000 !important;
  }

  .header-inner {
    position: relative !important;
    z-index: 10030 !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 10060 !important;
  }

  .main-nav {
    position: fixed !important;
    top: 92px !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 10020 !important;
    display: none !important;
    max-height: calc(100vh - 116px) !important;
    overflow-y: auto !important;
    padding: 28px 20px !important;
    border-radius: 26px !important;
  }

  .main-nav.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
  }

  .main-nav.active a {
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .main-nav.active .nav-cta {
    width: auto !important;
    min-width: 120px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
}
/* Krótkie etykiety menu pozostają w jednym wierszu. */

.main-nav a {
  white-space: nowrap;
}
/* ==========================================================================
   32. WIEDZA — KARTY GENEROWANE PRZEZ ARTICLES.JS
============================================================================ */

.knowledge-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.knowledge-article-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  min-height: 300px;
  padding: 28px;
  border-radius: 28px;
  /* Neutralne tło bez dekoracyjnego koła. */
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 34, 29, 0.1);
  box-shadow: 0 26px 80px rgba(16, 34, 29, 0.08);
  overflow: hidden;
}

/* Treść karty */

.knowledge-article-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.knowledge-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  color: #10221d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.knowledge-article-content h3 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  /* Reset dekoracji tytułu. */
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.knowledge-article-content h3 a {
  color: #10221d;
  text-decoration: none;
  /* Reset dekoracji linku. */
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.knowledge-article-content p {
  margin: 0 0 20px;
  color: #52625e;
  font-size: 1rem;
  line-height: 1.55;
}

.knowledge-article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.knowledge-article-footer span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(16, 34, 29, 0.06);
  color: #52625e;
  font-size: 0.84rem;
  font-weight: 800;
}

.knowledge-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6a85f, #ecd39e);
  color: #10221d;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 760px) {
  .knowledge-article-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .knowledge-article-image-link {
    height: 230px;
    border-radius: 22px;
  }

  .knowledge-article-image {
    border-radius: 22px !important;
  }

  .knowledge-article-content h3 {
    font-size: 1.55rem;
  }
}
/* ==========================================================================
   33. AKTUALNOŚCI — STRONA GŁÓWNA
============================================================================ */

.news-card-meta {
  flex-wrap: wrap;
}

.news-card-link {
  margin-top: auto;
}

/* ==========================================================================
   34. AKTUALNOŚĆ — WIDOK POJEDYNCZY
============================================================================ */

.article-page {
  padding-bottom: 56px;
}

.article-hero {
  padding: 34px 0 10px;
}

.article-hero-inner {
  max-width: 920px;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(27, 36, 32, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.article-breadcrumbs a {
  color: #123b32;
  text-decoration: none;
}

.article-breadcrumbs a:hover {
  color: #1f5a4d;
}

.article-hero h1 {
  max-width: 920px;
  margin-bottom: 14px;
}

.article-lead {
  max-width: 760px;
  margin: 0;
  color: #5f6d68;
  font-size: 18px;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(16, 34, 29, 0.08);
  color: #123b32;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-cover-section {
  padding: 10px 0 18px;
}

.article-cover {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #f2f4f3;
  border: 1px solid rgba(16, 34, 29, 0.12);
  box-shadow: 0 24px 70px rgba(16, 34, 29, 0.08);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.article-content-section {
  padding: 18px 0 40px;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 110px;
}

.article-aside-card {
  border: 1px solid rgba(16, 34, 29, 0.12);
  border-radius: 24px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 34, 29, 0.08);
}

.article-aside-card .card-label {
  margin: 0 0 6px;
  color: rgba(27, 36, 32, 0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-aside-card h2 {
  margin: 0 0 10px;
  color: #123b32;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.article-aside-card p {
  margin: 0 0 16px;
  color: #5f6d68;
}

.article-content {
  display: grid;
  gap: 18px;
}

.article-content section {
  border: 1px solid rgba(16, 34, 29, 0.10);
  border-radius: 28px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 34, 29, 0.06);
}

.article-content h2 {
  margin: 0 0 12px;
  color: #123b32;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.article-content h3 {
  margin: 16px 0 8px;
  color: #123b32;
  font-size: 18px;
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 14px;
  color: #42514c;
  font-size: 15px;
  line-height: 1.75;
}

.article-list {
  margin: 0;
  padding-left: 18px;
}

.article-list li {
  margin-bottom: 8px;
  color: #42514c;
  line-height: 1.7;
}

.article-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #0f2f28, #0e4a3f);
  color: #ffffff;
}

.article-cta-box h2,
.article-cta-box p,
.article-cta-box .eyebrow {
  color: #ffffff;
}

.article-cta-box p {
  margin-bottom: 0;
  opacity: 0.85;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .article-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {

  .article-content section {
    padding: 22px 18px;
  }

  .article-aside-card {
    padding: 18px;
  }

  .article-aside-card h2 {
    font-size: 22px;
  }

  .article-lead {
    font-size: 16px;
  }
}
/* ==========================================================================
   35. AKTUALNOŚCI — KARUZELA KART
============================================================================ */

#aktualnosci .section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

#aktualnosci .section-heading h2 {
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

#aktualnosci .section-heading p {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.65;
}

.news-grid.news-grid-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 18px;
  margin-left: -4px;
  margin-right: -4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 34, 29, 0.30) rgba(16, 34, 29, 0.08);
}

.news-grid.news-grid-scroll::-webkit-scrollbar {
  height: 9px;
}

.news-grid.news-grid-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(16, 34, 29, 0.08);
}

.news-grid.news-grid-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(16, 34, 29, 0.32);
}

.news-grid.news-grid-scroll .news-card {
  flex: 0 0 282px;
  width: 282px;
  height: 360px;
  min-height: 360px;
  max-height: 360px;
  display: grid;
  padding: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 29, 0.10);
  box-shadow: 0 14px 38px rgba(16, 34, 29, 0.08);
  scroll-snap-align: start;
}

.news-grid.news-grid-scroll .news-card:hover {
  box-shadow: 0 22px 54px rgba(16, 34, 29, 0.12);
}

.news-card-media {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 34, 29, 0.88), rgba(31, 90, 77, 0.72));
}

.news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.04);
}

.news-card-body {
  min-height: 0;
  display: grid;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}

.news-card-category {
  display: inline-flex;
  align-items: center;
  max-width: 145px;
  min-height: 23px;
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(16, 34, 29, 0.08);
  color: #123b32;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card-date {
  color: rgba(27, 36, 32, 0.55);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.news-card-title {
  color: #123b32;
  letter-spacing: -0.035em;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
}

.news-card-title a:hover {
  color: #1f5a4d;
}

.news-card-excerpt {
  margin: 0 !important;
  color: #5f6d68;
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  align-self: end;
  width: fit-content;
  border-radius: 999px;
  background: #d6a85f;
  color: #071f1a;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16, 34, 29, 0.14);
}

@media (max-width: 640px) {
  #aktualnosci .section-heading h2 {
    font-size: 34px;
  }

  .news-grid.news-grid-scroll .news-card {
    flex-basis: 260px;
    width: 260px;
    height: 365px;
    min-height: 365px;
    max-height: 365px;
    grid-template-rows: 128px minmax(0, 1fr);
  }

  .news-card-media {
    height: 128px;
  }

  .news-card-body {
    padding: 14px;
    gap: 8px;
  }

  .news-card-title {
    font-size: 17px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .news-card-excerpt {
    font-size: 12.5px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .news-card-link {
    min-height: 32px;
    font-size: 11.5px;
  }
}
/* Treść i proporcje karty */

/* Na kafelku pozostaje tytuł; opis jest dostępny na stronie artykułu. */
.news-card-excerpt {
  display: none !important;
}

/* Przycisk karty */

/* Układ treści po ukryciu opisu */
.news-card-body {
  grid-template-rows: auto auto 1fr auto;
}

.news-card-title {
  margin-bottom: 2px !important;
}
/* Proporcje obrazu i treści */
.news-grid.news-grid-scroll .news-card {
  grid-template-rows: 136px minmax(0, 1fr);
}

.news-card-media {
  height: 136px;
}

/* Wewnętrzne odstępy */
.news-card-body {
  padding: 14px 16px 18px;
  gap: 8px;
  align-content: start;
}

.news-card-meta {
  margin-top: 15px;
  margin-bottom: 2px;
}

/* Tytuł zajmuje maksymalnie trzy wiersze. */
.news-card-title {
  margin: 0 !important;
  line-height: 1.00;
  font-size: 18px;
  min-height: 80px;
  max-height: 80px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Wyśrodkowanie etykiety przycisku */
.news-card-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  line-height: 1 !important;
  min-width: 118px;
  min-height: 38px;
  padding: 0 16px !important;
  white-space: nowrap;
}

/* Korekta pionowego wyrównania etykiety */
.news-card-link span,
.news-card-link {
  vertical-align: middle;
}
/* ==========================================================================
   36. WIEDZA — MINIATURY I RESET DEKORACJI TYTUŁU
============================================================================ */

/* Prostokątna miniatura z zaokrągleniem */
.knowledge-article-image-link {
  border-radius: 22px !important;
}

.knowledge-article-image {
  aspect-ratio: auto !important;
  border-radius: 22px !important;
  clip-path: none !important;
}

/* Tytuł bez tła i obramowania */
.knowledge-article-content h3,
.knowledge-article-content h3 a {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Reset pseudoelementów tytułu */
.knowledge-article-content h3::before,
.knowledge-article-content h3::after,
.knowledge-article-content h3 a::before,
.knowledge-article-content h3 a::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
/* Docelowy rozmiar miniatury */

.knowledge-article-card {
  align-items: center !important;
}

.knowledge-article-image-link {
  display: block !important;
  width: 190px !important;
  height: 150px !important;
  max-height: 150px !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.knowledge-article-image {
  display: block !important;
  width: 190px !important;
  height: 150px !important;
  max-height: 150px !important;
  min-height: 0 !important;
  object-fit: cover !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
/* ==========================================================================
   37. FLAGI FUNKCJI
============================================================================ */

/* Filtry kategorii pozostają wyłączone do czasu publikacji sekcji Wiedza. */
.knowledge-category-tabs {
  display: none !important;
}
/* Link do sekcji Wiedza pozostaje ukryty w nawigacji. */
a[href="wiedza.html"],
a[href="../wiedza.html"] {
  display: none !important;
}

/* Dodatkowe elementy stopki */

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(214, 168, 95, 0.16);
  border-color: rgba(214, 168, 95, 0.45);
}

.footer-social-icon {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

/* Opinie */

.testimonial-text {
  margin: 0;
}

.testimonial-author {
  margin-top: 18px;
  line-height: 1.35;
}
/* ==========================================================================
   38. HARMONOGRAM — AKCJE KARTY
============================================================================ */

.training-card-actions-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 26px;
}

.training-card-action-btn {
  width: 100%;
  min-height: 44px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
  white-space: normal;
}

.training-card-action-btn.is-disabled {
  opacity: 0.42;
  pointer-events: none;
  cursor: not-allowed;
}
