/* ── VARIABLES ────────────────────────────────────────── */
:root {
  --forest-deep: #0E180C;
  --forest:      #2A5C26;
  --forest-mid:  #1E4A1B;
  --green:       #4BAF47;
  --green-light: #7dd87a;
  --sage:        #E3EEE0;
  --ivory:       #F7F6EF;
  --ivory-dark:  #EDE8DC;
  --ink:         #1B2418;
  --ink-mid:     #3D4A3B;
  --muted:       #6B7B69;
  --border:      rgba(42,92,38,0.15);
  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Plus Jakarta Sans', system-ui, sans-serif;
  --radius:      10px;
  --shadow:      0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.12);
}

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

html {
  font-size: 16px; scroll-behavior: smooth; min-height: 100%;
  /* Tmavé prémiové pozadí s rastrovaným vzorem */
  background-color: #080E07;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(75,175,71,0.09) 1px, transparent 0),
    radial-gradient(ellipse at 20% 5%,  rgba(42,92,38,0.22)  0%, transparent 48%),
    radial-gradient(ellipse at 80% 95%, rgba(14,24,12,0.7)   0%, transparent 48%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}

body {
  font-family: var(--ff-body); color: var(--ink);
  background: transparent;
  line-height: 1.65;
}

/* Centrovaný prémiový box — wrapper uvnitř body */
.site-shell {
  max-width: 1520px; margin: 0 auto;
  background: var(--ivory);
  border-radius: 14px;
  /* BEZ overflow:hidden — ten rozbíjí position:sticky (header, sidebar) */
  position: relative;
  /* Vícevrstvý stín pro plastický 3D efekt */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 1px 0   rgba(255,255,255,0.10),
    0 4px 8px  rgba(0,0,0,0.36),
    0 16px 48px rgba(0,0,0,0.30),
    0 56px 120px rgba(0,0,0,0.22);
}

/* Zelený proužek — zaoblené horní rohy kopírují site-shell */
.site-shell::before {
  content: '';
  display: block;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg,
    var(--forest-deep) 0%,
    var(--forest)  18%,
    var(--green)   50%,
    var(--forest)  82%,
    var(--forest-deep) 100%);
}

img  { max-width: 100%; display: block; }
a    { color: var(--forest); text-decoration: none; }
a:hover { color: var(--green); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ───────────────────────────────────────────── */
.site-header {
  background: rgba(247,246,239,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42,92,38,0.1);
  position: sticky; top: 0; z-index: 100;
  /* Jemný spodní stín aby se header odlišil od obsahu */
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-esgv {
  font-family: var(--ff-display); font-size: 23px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.02em;
}
.logo-v { color: var(--green); }
.logo-sep { width: 1px; height: 22px; background: var(--border); }
.logo-akademie { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.site-nav > a {
  font-size: 14px; font-weight: 500; color: var(--ink-mid);
  padding: 7px 14px; border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.site-nav > a:hover { background: var(--sage); color: var(--forest); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--ff-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; border: none;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-mid); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42,92,38,0.3); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-outline-sm { padding: 8px 18px; background: transparent; color: var(--forest); border: 1.5px solid var(--forest); border-radius: 8px; font-size: 13px; font-weight: 600; }
.btn-outline-sm:hover { background: var(--forest); color: #fff; }
.btn-primary-sm { padding: 8px 18px; background: var(--forest); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 600; }
.btn-primary-sm:hover { background: var(--forest-mid); color: #fff; }
.btn-outline-full { display: block; width: 100%; text-align: center; padding: 14px; background: transparent; color: var(--forest); border: 1.5px solid var(--forest); border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.btn-outline-full:hover { background: var(--forest); color: #fff; }
.btn-primary-full { display: block; width: 100%; text-align: center; padding: 14px; background: var(--forest); color: #fff; border-radius: var(--radius); font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary-full:hover { background: var(--forest-mid); transform: translateY(-1px); }

/* ── FLASH ────────────────────────────────────────────── */
.flash-wrap { position: fixed; top: 76px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); }
.flash-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4CAF50; }
.flash-error   { background: #fdecea; color: #c62828; border-left: 4px solid #f44336; }
.flash-warning { background: #fff8e1; color: #f57f17; border-left: 4px solid #FFC107; }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--forest-deep);
  padding: 28px 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 -1px 0 rgba(255,255,255,0.03) inset;
  border-radius: 0 0 14px 14px;
}
.footer-inner { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-inner a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-inner a:hover { color: var(--green-light); }
.footer-sep { opacity: 0.25; }

/* ── HOMEPAGE HERO ────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--forest-deep);
  padding: 100px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(75,175,71,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(42,92,38,0.2) 0%, transparent 50%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; margin-bottom: 28px;
  background: rgba(75,175,71,0.12); border: 1px solid rgba(75,175,71,0.3);
  border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-light);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(75,175,71,.6); } 50% { box-shadow: 0 0 0 6px rgba(75,175,71,0); } }
.hero-title {
  font-family: var(--ff-display); font-size: clamp(44px, 6vw, 72px);
  font-weight: 300; color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--green-light); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 36px; max-width: 580px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 0; }
.hstat { text-align: center; padding: 0 28px; }
.hstat:first-child { padding-left: 0; }
.hstat-n { display: block; font-family: var(--ff-display); font-size: 32px; font-weight: 400; color: #fff; line-height: 1; }
.hstat-l { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }
.hstat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* ── SECTION LABELS ───────────────────────────────────── */
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.section-title { font-family: var(--ff-display); font-size: clamp(28px, 4vw, 44px); font-weight: 400; color: var(--ink); margin-bottom: 16px; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 640px; margin-bottom: 56px; line-height: 1.7; }

/* ── KURZY ────────────────────────────────────────────── */
.courses-section { padding: 96px 0; }
.courses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }

.course-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s; position: relative;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card--featured { background: var(--forest-deep); border-color: var(--forest); }
.course-card-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px;
}
.course-card-header { padding: 32px 32px 0; }
.course-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.course-tag--light { color: rgba(255,255,255,0.5); }
.course-name { font-family: var(--ff-display); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.course-card--featured .course-name { color: #fff; }
.course-subtitle { font-size: 14px; color: var(--muted); }
.course-card--featured .course-subtitle { color: rgba(255,255,255,0.55); }
.course-card-body { padding: 24px 32px 32px; }
.course-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.price-amount { font-family: var(--ff-display); font-size: 42px; font-weight: 400; color: var(--ink); line-height: 1; }
.course-card--featured .price-amount { color: #fff; }
.price-currency { font-size: 18px; font-weight: 500; color: var(--muted); }
.course-card--featured .price-currency { color: rgba(255,255,255,0.6); }
.price-vat { font-size: 12px; color: var(--muted); }
.course-card--featured .price-vat { color: rgba(255,255,255,0.4); }
.course-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.course-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-mid); }
.course-card--featured .course-features li { color: rgba(255,255,255,0.75); }
.course-features svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; stroke: var(--green); }
.course-card-footer { display: flex; flex-direction: column; gap: 12px; }
.course-detail-link { text-align: center; font-size: 13px; color: var(--muted); }
.course-detail-link:hover { color: var(--forest); }
.course-detail-link--light { color: rgba(255,255,255,0.4); }
.course-detail-link--light:hover { color: #fff; }

/* ── JAK TO FUNGUJE ───────────────────────────────────── */
.how-section { padding: 80px 0; background: var(--sage); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { }
.step-num { font-family: var(--ff-display); font-size: 48px; font-weight: 300; color: var(--green); line-height: 1; margin-bottom: 16px; opacity: 0.6; }
.step h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── PROČ ESGV ────────────────────────────────────────── */
.why-section { padding: 96px 0; }
.why-inner { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: center; }
.why-text .section-title { margin-bottom: 20px; }
.why-text > p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.why-list li { font-size: 14px; color: var(--ink-mid); padding-left: 16px; position: relative; }
.why-list li::before { content: '—'; position: absolute; left: 0; color: var(--green); }
.why-card {
  background: var(--forest-deep); border-radius: 16px;
  padding: 40px; text-align: center;
}
.why-card-icon { width: 52px; height: 52px; margin: 0 auto 20px; color: var(--green); }
.why-card-icon svg { width: 100%; height: 100%; }
.why-card-title { font-family: var(--ff-display); font-size: 22px; color: #fff; margin-bottom: 12px; }
.why-card-sub { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── AUTH PAGES ───────────────────────────────────────── */
.auth-page { min-height: calc(100vh - 68px - 80px); display: flex; align-items: center; padding: 60px 0; }
.auth-card {
  background: #fff; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 48px; max-width: 520px; margin: 0 auto; width: 100%;
}
.auth-card--wide { max-width: 760px; }
.auth-header { margin-bottom: 32px; }
.auth-header h1 { font-family: var(--ff-display); font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.auth-header p { font-size: 14px; color: var(--muted); }
.auth-footer { margin-top: 24px; text-align: center; font-size: 14px; color: var(--muted); }
.auth-footer a { color: var(--forest); font-weight: 600; }

/* ── FORMS ────────────────────────────────────────────── */
.form-section-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 28px 0 14px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.form-optional { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-mid); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid #e0e0de; border-radius: 8px;
  font-family: var(--ff-body); font-size: 14px; color: var(--ink);
  background: var(--ivory); outline: none; transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--forest); background: #fff; }
.form-hint { font-size: 12px; color: var(--muted); }
.form-errors { background: #fdecea; border: 1px solid #f44336; border-radius: 8px; padding: 12px 16px; margin-bottom: 24px; }
.form-errors p { font-size: 13px; color: #c62828; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* Výběr kurzu při registraci */
.course-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.course-radio { border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: all 0.18s; }
.course-radio.active { border-color: var(--forest); background: rgba(42,92,38,0.04); }
.course-radio input { display: none; }
.course-radio-inner { display: flex; justify-content: space-between; align-items: center; }
.course-radio-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.course-radio-price { font-family: var(--ff-display); font-size: 18px; color: var(--forest); }

/* Sleva */
.discount-row { display: flex; gap: 12px; align-items: flex-end; }
.discount-input-wrap { flex: 1; }
.discount-msg { font-size: 13px; margin-top: 8px; }
.discount-msg--ok  { color: #2e7d32; }
.discount-msg--err { color: #c62828; }

/* Souhrn */
.reg-summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--sage); border-radius: 10px; margin: 24px 0 20px; }
.reg-summary-label { font-size: 14px; font-weight: 600; color: var(--ink-mid); }
.reg-summary-price { font-family: var(--ff-display); font-size: 24px; color: var(--forest); }

/* Úspěch */
.success-icon, .pending-icon { text-align: center; margin-bottom: 20px; }
.success-icon svg, .pending-icon svg { width: 56px; height: 56px; margin: 0 auto; }
.success-icon svg { stroke: #4CAF50; }
.pending-icon svg { stroke: var(--green); }
.success-summary { background: var(--sage); border-radius: 10px; padding: 20px 24px; margin: 20px 0; }
.ss-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.ss-row:last-child { border-bottom: none; }
.success-note { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 16px 0; }

/* ── RESULT ────────────────────────────────────────────── */
.result-icon { text-align: center; margin-bottom: 20px; }
.result-icon svg { width: 56px; height: 56px; margin: 0 auto; }
.result-icon--pass svg { stroke: #4CAF50; }
.result-icon--fail svg { stroke: #f44336; }
.result-detail { background: var(--sage); border-radius: 10px; padding: 20px 24px; margin: 20px 0; }
.result-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.result-row:last-child { border-bottom: none; }
.text-green { color: #2e7d32; }
.text-red   { color: #c62828; }

/* ── DASHBOARD ────────────────────────────────────────── */
.dash-page { padding: 48px 0 80px; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.dash-greeting { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.dash-course-title { font-family: var(--ff-display); font-size: 32px; font-weight: 400; color: var(--ink); }
.dash-status { padding: 6px 16px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dash-status--active    { background: rgba(42,92,38,0.1); color: var(--forest); }
.dash-status--completed { background: rgba(75,175,71,0.15); color: #2e7d32; }
.dash-status--pending   { background: #fff8e1; color: #f57f17; }

/* Progress */
.progress-section { margin-bottom: 40px; }
.progress-bar-wrap { height: 8px; background: #e0e0de; border-radius: 99px; overflow: hidden; margin-bottom: 12px; }
.progress-bar-fill { height: 100%; background: linear-gradient(to right, var(--forest), var(--green)); border-radius: 99px; transition: width 0.6s ease; }
.progress-meta { display: flex; align-items: center; justify-content: space-between; }
.progress-pct { font-size: 14px; font-weight: 600; color: var(--forest); }
.progress-done { font-size: 14px; font-weight: 600; color: #2e7d32; }

/* Cert banner */
.cert-banner {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest-mid));
  border-radius: 14px; padding: 24px 28px; margin-bottom: 40px;
}
.cert-banner-icon { color: var(--green); }
.cert-banner-icon svg { width: 36px; height: 36px; }
.cert-banner-title { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.cert-banner-num { font-family: var(--ff-display); font-size: 20px; color: #fff; }
.cert-banner-actions { margin-left: auto; display: flex; gap: 10px; }

/* Moduly */
.modules-list { display: flex; flex-direction: column; gap: 12px; }
.module-card { background: #fff; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.module-card--done { border-color: rgba(75,175,71,0.3); }
.module-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; user-select: none; }
.module-header:hover { background: var(--ivory); }
.module-title-wrap { display: flex; align-items: center; gap: 16px; }
.module-num { width: 32px; height: 32px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--forest); flex-shrink: 0; }
.module-card--done .module-num { background: rgba(75,175,71,0.2); }
.module-competence-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
.module-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.module-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.module-toggle svg { width: 20px; height: 20px; transition: transform 0.25s; }
.module-body { border-top: 1px solid var(--border); }

/* Lekce */
.lesson-list { list-style: none; padding: 12px 24px; }
.lesson-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.lesson-item:last-child { border-bottom: none; }
.lesson-check { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); }
.lesson-done .lesson-check { color: var(--green); }
.lesson-check svg { width: 100%; height: 100%; }
.lesson-link { font-size: 14px; color: var(--ink-mid); flex: 1; transition: color 0.15s; }
.lesson-link:hover { color: var(--forest); }
.lesson-done .lesson-link { color: var(--muted); }
.lesson-time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.module-quiz-row { padding: 16px 24px; background: var(--ivory); border-top: 1px solid var(--border); display: flex; align-items: center; gap: 16px; }
.quiz-done-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #2e7d32; }
.quiz-done-badge svg { width: 18px; height: 18px; }
.quiz-locked { font-size: 13px; color: var(--muted); }

/* ── LEKCE ────────────────────────────────────────────── */
.lesson-page { display: grid; grid-template-columns: 320px 1fr; min-height: calc(100vh - 68px); }
.lesson-sidebar { border-right: 1px solid var(--border); background: #fff; position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; }
.sidebar-header { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); }
.sidebar-back { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.sidebar-back:hover { color: var(--forest); }
.sidebar-back svg { width: 16px; height: 16px; }
.sidebar-progress-bar { height: 4px; background: #e0e0de; border-radius: 99px; overflow: hidden; }
.sidebar-progress-fill { height: 100%; background: var(--green); border-radius: 99px; }
.sidebar-modules { padding: 12px 0; }
.sidebar-module { padding: 0 0 4px; }
.sidebar-module-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 12px 20px 6px; }
.sidebar-module--active .sidebar-module-title { color: var(--forest); }
.sidebar-mod-toggle { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; border-radius: 6px; transition: background 0.15s; }
.sidebar-mod-toggle:hover { background: var(--ivory); }
.sidebar-lessons { list-style: none; }
.sidebar-lesson a { display: flex; align-items: center; gap: 10px; padding: 8px 20px; font-size: 13px; color: var(--ink-mid); transition: background 0.15s; }
.sidebar-lesson a:hover { background: var(--ivory); }
.sidebar-lesson.current a { background: rgba(42,92,38,0.08); color: var(--forest); font-weight: 600; }
.sidebar-lesson.done a { color: var(--muted); }
.sl-check { font-size: 12px; width: 16px; text-align: center; flex-shrink: 0; }
.sidebar-quiz a { color: var(--forest); }

.lesson-main { padding: 0; display: flex; justify-content: center; }
.lesson-content-wrap { width: 100%; max-width: 820px; padding: 52px 64px; }
.lesson-meta-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.lesson-module-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.lesson-time-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lesson-time-label svg { width: 14px; height: 14px; }
.lesson-title { font-family: var(--ff-display); font-size: 38px; font-weight: 400; color: var(--ink); margin-bottom: 36px; line-height: 1.2; }
.lesson-body h2 { font-family: var(--ff-display); font-size: 26px; font-weight: 400; color: var(--ink); margin: 36px 0 14px; }
.lesson-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.lesson-body p  { font-size: 15px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 18px; }
.lesson-body ul, .lesson-body ol { font-size: 15px; color: var(--ink-mid); line-height: 1.75; margin: 0 0 18px 24px; }
.lesson-body li { margin-bottom: 6px; }
.lesson-body strong { color: var(--ink); }
.lesson-body blockquote { border-left: 3px solid var(--green); padding: 12px 20px; background: var(--sage); border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; color: var(--ink-mid); }
.lesson-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.lesson-body th { background: var(--forest); color: #fff; padding: 10px 14px; font-size: 13px; text-align: left; }
.lesson-body td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.lesson-body tr:nth-child(even) td { background: var(--ivory); }
.lesson-body .info-box { background: rgba(42,92,38,0.07); border: 1px solid rgba(42,92,38,0.2); border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.lesson-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.lesson-nav-btn { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--forest); padding: 10px 20px; border-radius: 8px; border: 1.5px solid var(--border); transition: all 0.18s; }
.lesson-nav-btn:hover { border-color: var(--forest); background: rgba(42,92,38,0.05); }
.lesson-nav-btn svg { width: 18px; height: 18px; }

/* ── QUIZ ─────────────────────────────────────────────── */
.quiz-page { padding: 48px 0 80px; background: var(--ivory); min-height: calc(100vh - 68px); }
.quiz-card { background: #fff; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; overflow: hidden; }
.quiz-header { padding: 36px 40px 28px; border-bottom: 1px solid var(--border); background: var(--forest-deep); }
.quiz-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-light); margin-bottom: 8px; }
.quiz-title { font-family: var(--ff-display); font-size: 28px; font-weight: 400; color: #fff; margin-bottom: 12px; }
.quiz-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); }
.quiz-meta-sep { opacity: 0.4; }
.question-block { padding: 32px 40px; border-bottom: 1px solid var(--border); }
.question-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.question-text { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 20px; line-height: 1.55; }
.answers-list { display: flex; flex-direction: column; gap: 10px; }
.answer-label { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: all 0.15s; }
.answer-label:hover { border-color: var(--forest); background: rgba(42,92,38,0.04); }
.answer-label input { margin-top: 2px; accent-color: var(--forest); flex-shrink: 0; }
.answer-label input:checked ~ .answer-text { color: var(--forest); font-weight: 600; }
.answer-label:has(input:checked) { border-color: var(--forest); background: rgba(42,92,38,0.06); }
.answer-text { font-size: 14px; color: var(--ink-mid); }
.quiz-footer { padding: 28px 40px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 24px; }
.quiz-progress-wrap { flex: 1; }
.quiz-progress-bar { height: 6px; background: #e0e0de; border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.quiz-progress-fill { height: 100%; background: var(--green); border-radius: 99px; transition: width 0.3s; }
.quiz-progress-label { font-size: 12px; color: var(--muted); }
#quiz-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── CERTIFICATE VIEW ─────────────────────────────────── */
.cert-page { padding: 60px 0; }
.cert-view-card { background: #fff; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); max-width: 560px; margin: 0 auto; overflow: hidden; }
.cert-view-header { background: var(--forest-deep); padding: 36px 36px 28px; }
.cert-view-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.cert-view-num { font-family: var(--ff-display); font-size: 26px; color: #fff; }
.cert-view-info { padding: 28px 36px; }
.cvi-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cvi-row:last-child { border-bottom: none; }
.cvi-row span { color: var(--muted); }
.cert-view-valid { display: flex; align-items: center; gap: 10px; padding: 14px 36px; background: rgba(42,92,38,0.08); font-size: 13px; font-weight: 600; color: #2e7d32; }
.cert-view-valid svg { width: 18px; height: 18px; stroke: #2e7d32; }
.cert-view-actions { padding: 24px 36px; display: flex; gap: 12px; }

/* ── COURSE DETAIL (nový layout) ─────────────────────────── */
.cd-hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.cd-hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(0,0,0,0.15) 0%, transparent 50%);
}
.cd-hero-inner { position: relative; z-index: 1; }
.cd-hero-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 99px; padding: 4px 14px; margin-bottom: 20px;
}
.cd-hero-title { font-family: var(--ff-display); font-size: clamp(32px,5vw,52px); font-weight: 300; color: #fff; margin-bottom: 12px; line-height: 1.15; }
.cd-hero-sub { font-size: 17px; color: rgba(255,255,255,0.65); margin-bottom: 24px; max-width: 600px; }
.cd-hero-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.cd-hero-meta span { white-space: nowrap; }
.cd-hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cd-price { font-family: var(--ff-display); font-size: 36px; color: #fff; }
.cd-price span { font-size: 14px; color: rgba(255,255,255,0.45); }
.btn--lg { padding: 14px 36px; font-size: 15px; }
.cd-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; padding: 60px 0; }
.cd-section { margin-bottom: 40px; }
.cd-section-title { font-family: var(--ff-display); font-size: 26px; font-weight: 400; color: var(--ink); margin-bottom: 20px; }
.cd-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cd-feature { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-mid); }
.cd-feature--no { opacity: 0.38; }
.cd-feature-icon { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-feature:not(.cd-feature--no) .cd-feature-icon { background: rgba(42,92,38,0.1); color: var(--forest); }
.cd-feature--no .cd-feature-icon { background: rgba(0,0,0,0.05); color: var(--muted); }
.cd-preview-box { background: var(--sage); border-radius: 14px; padding: 28px 32px; border: 1px solid rgba(42,92,38,0.12); }
.cd-preview-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); background: rgba(42,92,38,0.1); border-radius: 99px; padding: 3px 12px; margin-bottom: 12px; }
.cd-preview-box h3 { font-family: var(--ff-display); font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.cd-preview-box p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.cd-modules { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.cd-mod { display: flex; align-items: flex-start; gap: 14px; background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 16px 18px; transition: border-color 0.18s, box-shadow 0.18s; }
.cd-mod:hover { border-color: rgba(42,92,38,0.3); box-shadow: 0 2px 12px rgba(42,92,38,0.08); }
.cd-mod-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--sage); color: var(--forest); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-mod-body { flex: 1; min-width: 0; }
.cd-mod-competence { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 3px; }
.cd-mod-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.cd-mod-tagline { font-size: 13px; color: var(--muted); margin-bottom: 6px; line-height: 1.5; }
.cd-mod-meta { font-size: 11px; color: var(--muted); }
.cd-cta-sticky { background: var(--forest-deep); border-radius: 16px; padding: 28px 24px; position: sticky; top: 84px; }
.cd-cta-price { font-family: var(--ff-display); font-size: 32px; color: #fff; margin-bottom: 16px; }
.cd-cta-price span { font-size: 14px; color: rgba(255,255,255,0.4); }
.cd-cta-note { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 12px; text-align: center; }
.feature-unavailable { opacity: 0.4; }
.feature-unavailable svg { stroke: var(--muted) !important; }
@media (max-width: 960px) {
  .cd-layout { grid-template-columns: 1fr; gap: 32px; }
  .cd-right { order: -1; }
  .cd-cta-sticky { position: static; }
}

/* ── PREVIEW PAGE ─────────────────────────────────────── */
.preview-page { padding: 56px 0 80px; }
.preview-wrap { max-width: 760px; }
.preview-badge { display: inline-block; background: rgba(42,92,38,0.1); color: var(--forest); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 14px; border-radius: 99px; margin-bottom: 16px; }
.preview-title { font-family: var(--ff-display); font-size: 38px; font-weight: 400; margin-bottom: 36px; }
.preview-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.preview-cta p { flex: 1; min-width: 200px; font-size: 15px; color: var(--muted); }

/* ── RESPONSIVE ───────────────────────────────────────── */

/* Mobilní sidebar drawer pro lekce */
.lesson-mob-bar {
  display: none;
  align-items: center; justify-content: space-between;
  padding: 12px 20px; background: #fff;
  border-bottom: 1px solid var(--border); position: sticky; top: 72px; z-index: 50;
}
.lesson-mob-back { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.lesson-mob-back svg { width: 16px; height: 16px; }
.lesson-mob-menu {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--forest);
  background: var(--sage); border: none; border-radius: 8px;
  padding: 6px 14px; cursor: pointer;
}
.lesson-mob-menu svg { width: 15px; height: 15px; }

/* Overlay sidebar na mobilu */
.sidebar-overlay {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.45);
}
.sidebar-overlay.open { display: block; }
.lesson-sidebar.mob-open { transform: translateX(0) !important; }

@media (max-width: 900px) {
  .courses-grid { grid-template-columns: 1fr; max-width: 480px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .lesson-page { grid-template-columns: 1fr; }
  .lesson-mob-bar { display: flex; }
  .lesson-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 210;
    width: 300px; transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .lesson-content-wrap { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .dash-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cert-banner { flex-wrap: wrap; }
  .cert-banner-actions { margin-left: 0; }
  .esg-map-banner { flex-direction: column; }
  .module-header { padding: 16px 18px; }
  .lesson-list { padding: 8px 18px; }
  .hero { padding: 72px 0 56px; }
  .courses-section { padding: 64px 0; }
  .cd-hero-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lesson-key-takeaway h3 { padding: 22px 24px 0; }
  .lesson-key-takeaway ul { padding: 0 24px 24px; }
}

@media (max-width: 600px) {
  .auth-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .course-radio-group { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hstat-sep { display: none; }
  .quiz-card .quiz-header, .question-block, .quiz-footer { padding-left: 20px; padding-right: 20px; }
  /* Na mobilu schovat textové nav-linky, tlačítka nechat */
  .site-nav > a:not(.btn-outline-sm):not(.btn-primary-sm) { display: none; }
  .site-nav .btn-outline-sm { padding: 7px 12px; font-size: 12px; }
  .site-nav .btn-primary-sm { padding: 7px 12px; font-size: 12px; }
  .lesson-content-wrap { padding: 24px 16px; }
  .lesson-title { font-size: 28px; }
  .section-title { font-size: 26px; }
  .hero-title { font-size: 36px; }
}

/* ── ESG MAP BANNER (dashboard) ──────────────────────── */
.esg-map-banner {
  display: flex; align-items: flex-start; gap: 20px;
  background: linear-gradient(135deg, #f0f7ef 0%, #e3f0e1 100%);
  border: 1.5px solid rgba(42,92,38,0.2); border-radius: 14px;
  padding: 24px 28px; margin-bottom: 28px;
}
.emb-icon { font-size: 2rem; flex-shrink: 0; }
.emb-title { font-size: 1rem; font-weight: 700; color: #1a2e18; margin-bottom: 4px; }
.emb-sub { font-size: 0.9rem; color: #5a6b58; line-height: 1.5; }

/* ── LESSON CONTENT STYLES ───────────────────────────── */
.lesson-lead { font-size: 1.15rem; color: #3a4e38; line-height: 1.7; margin-bottom: 32px; font-weight: 400; border-left: 3px solid #2A5C26; padding-left: 20px; }
.lesson-content h2 { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; color: #1a2e18; margin: 36px 0 14px; }
.lesson-content h3 { font-size: 1.05rem; font-weight: 700; color: #2A5C26; margin: 24px 0 10px; }
.lesson-content p  { margin-bottom: 16px; line-height: 1.75; color: #3a4e38; }
.lesson-content ul, .lesson-content ol { margin: 0 0 16px 24px; }
.lesson-content li { margin-bottom: 6px; line-height: 1.65; color: #3a4e38; }

/* Callout z praxe */
.callout { border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
.callout--practice { background: linear-gradient(135deg, #f0f7ef, #e8f2e6); border-left: 4px solid #2A5C26; }
.callout-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #2A5C26; margin-bottom: 8px; }
.callout p { margin: 0; font-size: 0.9rem; color: #3a4e38; font-style: italic; line-height: 1.65; }

/* ── KEY TAKEAWAY — vizuálně geniální ────────────────────── */
.lesson-key-takeaway {
  position: relative;
  background: linear-gradient(135deg, #0C1A0A 0%, #162413 55%, #1C3018 100%);
  border-radius: 18px;
  padding: 0;
  margin-top: 56px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(14,24,12,0.22), 0 2px 8px rgba(14,24,12,0.12);
}
/* Zlatá horní linka */
.lesson-key-takeaway::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, #C8991A 20%, #F0C040 50%, #C8991A 80%, transparent 100%);
}
/* Dekorativní záblesk vpravo */
.lesson-key-takeaway::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(75,175,71,0.1) 0%, transparent 65%);
  pointer-events: none;
}
/* Nadpis h3 v widgetu → přeměníme na štítek + ikonku */
.lesson-key-takeaway h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #C8991A;
  padding: 28px 32px 0;
  margin: 0 0 20px;
}
.lesson-key-takeaway h3::before {
  content: '';
  display: inline-block;
  width: 32px; height: 32px; flex-shrink: 0;
  background: linear-gradient(135deg, #C8991A, #F0C040);
  border-radius: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C1A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 2.5-1.3 4.7-3.2 6H8.2A7.02 7.02 0 0 1 5 9a7 7 0 0 1 7-7z'/%3E%3Cpath d='M9 21h6M10 17h4'/%3E%3C/svg%3E");
  background-size: 18px 18px; background-repeat: no-repeat; background-position: center;
  box-shadow: 0 3px 10px rgba(200,153,26,0.45);
}
/* Seznam položek */
.lesson-key-takeaway ul {
  list-style: none;
  margin: 0;
  padding: 0 32px 32px;
  counter-reset: kto-counter;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lesson-key-takeaway li {
  counter-increment: kto-counter;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(220,240,218,0.9);
  line-height: 1.65;
  position: relative;
  margin: 0;
}
.lesson-key-takeaway li::before {
  content: counter(kto-counter);
  display: flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8991A 0%, #E8B830 100%);
  color: #0C1A0A;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 3px 10px rgba(200,153,26,0.5);
}
/* Oddělovač pod posledním prvkem */
.lesson-key-takeaway ul::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,153,26,0.2), transparent);
  margin-top: 8px;
}

/* Piliere ESG */
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 20px 0; }
.pillar { display: flex; gap: 14px; background: #f4f8f3; border-radius: 10px; padding: 16px; }
.pillar-letter { width: 38px; height: 38px; border-radius: 8px; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pillar--e .pillar-letter { background: rgba(42,92,38,0.15); color: #2A5C26; }
.pillar--s .pillar-letter { background: rgba(21,101,192,0.12); color: #1565C0; }
.pillar--g .pillar-letter { background: rgba(106,27,154,0.1); color: #6A1B9A; }
.pillar-content strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; color: #1a2e18; }
.pillar-content p { font-size: 0.83rem; color: #5a6b58; margin: 0; }

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }

/* Info box */
.info-box { background: #f4f8f3; border: 1.5px solid rgba(42,92,38,0.15); border-radius: 10px; padding: 16px 20px; }
.info-box strong { display: block; font-size: 0.9rem; font-weight: 700; color: #1a2e18; margin-bottom: 8px; }
.info-box p, .info-box ul { font-size: 0.88rem; color: #3a4e38; margin: 0; }
.info-box ul { margin-left: 18px; }

/* Timeline */
.timeline { margin: 20px 0; }
.tl-item { display: flex; gap: 16px; margin-bottom: 14px; align-items: flex-start; }
.tl-year { min-width: 80px; font-size: 0.85rem; font-weight: 700; color: #2A5C26; padding-top: 2px; }
.tl-text { font-size: 0.9rem; color: #3a4e38; border-left: 2px solid rgba(42,92,38,0.2); padding-left: 14px; padding-top: 2px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 16px 0; }
.lesson-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.lesson-table th { background: #1a2e18; color: #e8f2e6; padding: 10px 14px; text-align: left; font-weight: 600; font-size: 0.82rem; }
.lesson-table td { padding: 10px 14px; border-bottom: 1px solid rgba(42,92,38,0.1); color: #3a4e38; vertical-align: top; }
.lesson-table tr:last-child td { border-bottom: none; }
.lesson-table tr:nth-child(even) td { background: rgba(42,92,38,0.03); }

/* Quote */
.lesson-quote { border-left: 3px solid var(--green); padding: 14px 20px; margin: 24px 0; background: #f9fbf9; border-radius: 0 8px 8px 0; }
.lesson-quote p { font-style: italic; color: #3a4e38; margin: 0 0 8px; }
.lesson-quote cite { font-size: 0.82rem; color: #7a8b78; }

@media (max-width: 700px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
