/* ══════════════════════════════════════
   style2026.css – MediaNauka.pl
   ══════════════════════════════════════ */

@font-face {
  font-family: 'Crimson Pro';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/crimson-pro-v28-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: url('/fonts/crimson-pro-v28-latin_latin-ext-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/crimson-pro-v28-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('/fonts/crimson-pro-v28-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/crimson-pro-v28-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/crimson-pro-v28-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/crimson-pro-v28-latin_latin-ext-700.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #4a7c59;
  --green-light: #6a9b6e;
  --bar: #6a9b6e;
  --red: #8b3a3a;
  --bg: #f4f0e8;
  --card: #fff;
  --card-inner: #faf8f4;
  --border: #e0d8c8;
  --border-light: #eee8dc;
  --border-faint: #f0ebe0;
  --border-hair: #f5f0e8;
  --border-ghost: #f7f3ec;
  --text: #4a4540;
  --text-light: #5c5449;
  --text-muted: #8a8070;
  --text-faint: #9e9583;
  --text-ghost: #b0a898;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
.nav {
  background: var(--card);
  border-bottom: 2px solid var(--red);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.nav-left { display: flex; align-items: center; gap: 16px; }
.nav-logo {
  background: var(--red);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.nav-logo a { color: #fff; text-decoration: none; }
.nav-link {
  font-size: 17px;
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.15s;
}
.nav-link:hover { background: var(--bg); color: var(--green); text-decoration: none; }
.nav-link-btn { cursor: pointer; }
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  list-style: none;
  padding: 6px 0;
  min-width: 180px;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  color: var(--text-light);
  transition: background 0.15s;
}
.nav-dropdown-menu li a:hover {
  background: var(--bg);
  color: var(--green);
  text-decoration: none;
}
.nav-search {
  display: flex;
  border: 1px solid #ddd7cb;
  border-radius: 8px;
  overflow: hidden;
}
.nav-search input {
  border: none;
  padding: 7px 12px;
  font-size: 16px;
  font-family: 'Crimson Pro', serif;
  outline: none;
  width: 180px;
  color: var(--text);
}
.nav-search button {
  border: none;
  background: var(--red);
  color: #fff;
  padding: 7px 14px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: rgba(255,255,255,0.6);
  border-bottom: 1px solid #e8e2d6;
  padding: 8px 24px;
}
.breadcrumb-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 16px;
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--green); }
.breadcrumb-inner .sep { font-size: 14px; color: #ccc; }
.breadcrumb-inner .current { color: var(--text-light); }

/* ── Main container ── */
.container {
  margin: 0 auto;
  padding: 28px 24px 16px;
}

/* ── Card ── */
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  margin-bottom: 16px;
}
.card-compact { padding: 18px 26px; }
.card p + p { margin-top: 1em; }
.card h1 { margin-bottom: 0.3em; }

/* ── Section headings ── */
.section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px 0;
  scroll-margin-top: 80px;
  line-height: 1.4;
}

/* ── Hero ── */
.hero {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  margin-bottom: 16px;
}
.hero-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2c3a2e 0%, #3a4d3c 100%);
  padding: 32px 24px 28px;
}
.hero-text .label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.hero-text h1 {
  font-size: 47px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.hero-text .latin {
  font-size: 21px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-top: 2px;
}

/* ── Opis with image panel ── */
.opis-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
.opis-img-panel {
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--card-inner);
  max-width: 340px;
}
.opis-img-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 340px;
}
.opis-img-panel .img-caption {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--border-light);
}
.opis-img-panel .hero-photos-btn {
  display: block;
  width: 100%;
  padding: 7px 14px;
  background: rgba(74,124,89,0.08);
  border: none;
  border-top: 1px solid var(--border-light);
  color: var(--green);
  font-size: 15px;
  cursor: pointer;
  font-family: 'Crimson Pro', serif;
  transition: background 0.2s;
  text-align: center;
}
.opis-img-panel .hero-photos-btn:hover {
  background: rgba(74,124,89,0.15);
}

/* ── Meta strip ── */
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-faint);
}
.meta-item {
  flex: 1;
  min-width: 100px;
  padding: 12px 14px;
  border-right: 1px solid var(--border-faint);
  text-align: center;
}
.meta-item:last-child { border-right: none; }
.meta-item dt {
  font-size: 13px;
  color: var(--text-ghost);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  font-weight: 400;
}
.meta-item dd { font-size: 17px; color: var(--green); font-weight: 600; margin: 0; }
.meta-item .sub { font-size: 14px; font-style: italic; color: var(--text-faint); }

/* ── Tags ── */
.tags-row {
  padding: 10px 24px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--border-faint);
}
.tags-row .tag-label {
  font-size: 14px;
  color: var(--text-ghost);
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag {
  padding: 2px 9px;
  border-radius: 5px;
  background: var(--card-inner);
  border: 1px solid var(--border-light);
  font-size: 15px;
  color: var(--text-light);
}
.tag-highlight {
  background: rgba(74,124,89,0.1);
  border-color: rgba(74,124,89,0.2);
  color: var(--green);
  font-weight: 600;
}

/* ── Systematyka ── */
.sys-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.sys-item { display: flex; gap: 6px; align-items: baseline; min-width: 200px; }
.sys-item .sk { font-size: 14px; color: var(--text-ghost); font-weight: 400; }
.sys-item .sv { font-size: 16px; }
.sys-item a.sv { color: var(--green); }
.sys-item .sl { font-size: 14px; font-style: italic; color: var(--text-ghost); }

/* ── TOC ── */
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px 20px;
}
.toc-item {
  font-size: 17px;
  color: var(--green);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-hair);
  transition: padding-left 0.1s;
}
.toc-item:hover { padding-left: 6px; text-decoration: none; }
.toc-num {
  font-size: 14px;
  color: var(--text-ghost);
}

/* ── Collapsible ── */
.collapsible-wrap {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.collapsible-wrap.collapsed .fade-out {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--card));
  pointer-events: none;
}
.collapsible-wrap.expanded .fade-out { display: none; }
.toggle-btn {
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: 6px;
  border: 1px solid #ddd7cb;
  background: transparent;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Crimson Pro', serif;
}
.toggle-btn:hover { background: rgba(0,0,0,0.03); }

/* ── Morfologia grid ── */
.morfo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.morfo-item {
  padding: 12px 16px;
  background: var(--card-inner);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.morfo-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: normal;
}
.morfo-item p { font-size: 17px; color: var(--text-light); line-height: 1.5; }

/* ── Callout ── */
.callout { border-left: 3px solid; }
.callout-yellow { border-left-color: #e8b830; }
.callout-blue { border-left-color: #6a9bce; }
.callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.callout-header .icon { font-size: 23px; }

/* ── Names grid ── */
.names-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.name-card {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--card-inner);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.name-card .lang { font-size: 14px; color: var(--text-ghost); font-weight: 500; }
.name-card .val { font-size: 18px; color: var(--text); font-weight: 500; }


/* --- MOJE ---- */

.ukryj{display:none;}.pokaz{display:block}
.fltrt{float:right;}.fltlft{float:left;}
.centruj{text-align:center;}
.clearfloat{clear:both;}.clearleft{clear:left;}
.efekt3:hover{transform:scale(1.05);}
.efekt1{transition-duration: 1s;}
.przerywana{border-style:dashed;border-width:1px;}.solid {border-style:solid;border-width:1px;}
.tlo-gray{background-color:#eee;}.tlo-blue{background-color:#5e697d;}.tlo-ciel{background-color:#ebe2c2;}.tlo-white{background-color:#fff;}.tlo-light-gray{background-color:#efefef;}.tlo-red{background-color:#A02B2E;}.tlo-green{background-color:#67A706;}
.mt5{margin-top:5px;}.mt10{margin-top:10px;}.mr10{margin-right:10px;}.ml10{margin-left:10px;}.mr20{margin-right:20px;}.ml5{margin-left:5px;}.m10{margin:10px;}.m20{margin:20px;}.m30{margin:30px;}
.fs60{font-size:60%;}.fs80{font-size:80%;}.fs120{font-size:120%;}
.w100{max-width:100px;}.w150 {max-width:150px;}.w200 {max-width:200px;}.w250 {max-width:250px;}
.w300{max-width:300px;}.w350 {max-width:350px;}.w400 {max-width:400px;}.w450 {max-width:450px;}
.w500{max-width:500px;}.w550 {max-width:550px;}.w600 {max-width:600px;}
.szer60{width:80px;}.szer80{width:80px;}.szer100{width:100px;}.szer140{width:140px;}.szer190{width:190px;}.szer200{width:200px;}.szer250{width:250px;}.szer300{width:300px;}.szer350{width:350px;}
.h90{height:90px;}.h150{height:150px;}.h180{height:180px;}.h200{height:200px;}.h250{height:250px;}.h300{height:300px;}.h350{height:350px;}.h400{height:400px;}.h450{height:400px;}.h133 {height: 133px;}.h500{height:500px;}.h550{height:500px;}.h600{height:600px;}.h650{height:600px;}
.wp50{width:50%;}.wp40 {width:40%;}.wp25{width:25%;}.wp100{width:100%;}
.pad5{padding:5px;}.pad10{padding:10px;}
.pos5{position:relative;top:5px;}.pos7 {position:relative;top:7px;}.pos10 {position:relative;top:10px;}
.font-gray{color:#666;}.font-green{color:#090;}.font-light-gray{color:#999;}.font-red{color:#d00;}
.font-blue{color:#00d;}.font-white{color:#fff;}
.definition{border: 1px solid;border-color:#BBC;text-align:center;padding:10px;margin:10px;background-color:#DEF;}
.rozwiazanie{border:1px solid;background-color:#fdfada;border-color:#f0f0b0;text-align:center;font-weight:normal;padding:10px;margin:10px;}
.kod {border:solid;border-color:#686868;border-left-color:#99cc99;border-width:0px;border-left-width:5px;padding:10px;margin: 10px;overflow:auto;}
.kursor{cursor:pointer;}
span.error:hover{color:#d00}
.komponenty{margin-left:20px;line-height:35px;}
.skaluj{max-width:100%;}

/* ── Biologia ── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.bio-row {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-hair);
  align-items: baseline;
}
.bio-row dt { font-size: 15px; color: var(--text-muted); min-width: 100px; flex-shrink: 0; font-weight: 400; }
.bio-row dd { font-size: 16px; color: var(--text); margin: 0; }

/* ── Timeline Calendar ── */
.cal-wrap {
  background: var(--card-inner);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border-light);
}
.cal-header {
  display: flex;
  align-items: flex-end;
  margin-bottom: 6px;
}
.cal-header .cal-desc-space { width: 260px; flex-shrink: 0; }
.cal-month {
  flex: 1;
  text-align: center;
  font-size: 15px;
  padding-bottom: 6px;
  font-weight: 300;
  color: var(--text-faint);
}
.cal-month-current {
  font-weight: 700;
  color: var(--red);
  border-bottom: 2px solid var(--red);
}
.cal-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4cbb8 20%, #d4cbb8 80%, transparent);
  margin-bottom: 8px;
}
.cal-row {
  display: flex;
  align-items: center;
  padding: 5px 0;
  border-radius: 8px;
  transition: background 0.15s;
}
.cal-row:hover { background: rgba(255,255,255,0.6); }
.cal-row-desc {
  width: 260px;
  padding-right: 16px;
  flex-shrink: 0;
  font-size: 17px;
  color: var(--text);
  line-height: 1.3;
}
.cal-bars { flex: 1; display: flex; gap: 2px; }
.cal-cell {
  flex: 1;
  height: 22px;
  border-radius: 4px;
  background: rgba(0,0,0,0.03);
  position: relative;
}
.cal-cell-active { border-radius: 0; }
.cal-cell-first { border-radius: 11px 0 0 11px; }
.cal-cell-last { border-radius: 0 11px 11px 0; }
.cal-cell-single { border-radius: 11px; }
.cal-current-dot {
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--card-inner);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cal-legend {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 16px;
  align-items: center;
}
.cal-legend-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #d4cbb8;
}
.cal-legend span { font-size: 14px; color: var(--text-muted); }
.cal-row.hidden { display: none; }

.filter-btn {
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #ddd7cb;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  background: rgba(0,0,0,0.02);
  color: #6b5f50;
  transition: all 0.2s;
}
.filter-btn.active {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  border-color: var(--green);
}

/* ── Uprawa ── */
.uprawa-table {
  background: var(--card-inner);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.uprawa-row {
  display: flex;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  align-items: baseline;
  transition: background 0.1s;
}
.uprawa-row:last-child { border-bottom: none; }
.uprawa-row:hover { background: rgba(255,255,255,0.7); }
.uprawa-row dt {
  font-size: 16px;
  color: var(--green);
  font-weight: 600;
  min-width: 150px;
  flex-shrink: 0;
}
.uprawa-row dd { font-size: 17px; color: var(--text); line-height: 1.5; margin: 0; }

/* ── Species tags ── */
.sp-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(74,124,89,0.08);
  border: 1px solid rgba(74,124,89,0.15);
  transition: all 0.15s;
}
.sp-tag:hover { background: rgba(74,124,89,0.15); text-decoration: none; }
.sp-tag .sp-pl { font-size: 17px; color: var(--green); font-weight: 500; }
.sp-tag .sp-lat { font-size: 15px; font-style: italic; color: var(--text-faint); }
.sp-tag .sp-badge {
  font-size: 11px; color: var(--green); font-weight: 700;
  background: rgba(74,124,89,0.12);
  border-radius: 3px;
  padding: 1px 4px;
}

/* ── Atlas / Recipe grids ── */
.atlas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.recipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.atlas-item, .recipe-item {
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--card-inner);
  border: 1px solid var(--border-light);
  transition: all 0.15s;
}
.atlas-item:hover, .recipe-item:hover {
  background: var(--card);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-decoration: none;
}
.recipe-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.atlas-item h3 { font-size: 17px; color: var(--green); font-weight: 600; margin-bottom: 3px; }
.atlas-item p { font-size: 15px; color: var(--text-muted); line-height: 1.4; }
.recipe-item {
  padding: 20px 12px;
  text-align: center;
  display: block;
}
.recipe-item .ri-icon { font-size: 44px; margin-bottom: 10px; }
.recipe-item .ri-name { font-size: 16px; color: var(--green); font-weight: 500; line-height: 1.3; }

/* ── Bibliography ── */
.bib-num {
  font-size: 13px;
  color: var(--text-ghost);
  font-weight: 600;
  background: var(--card-inner);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
  margin-top: 1px;
}
.bib-row {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border-ghost);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.4;
}
.bib-row:last-child { border-bottom: none; }

/* ── Page layout (main + aside) ── */
.page-layout {
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 0;
  align-items: start;
}
.page-layout > main {
  min-width: 0;
}
aside {
  width: 400px;
  padding: 28px 24px 16px 0;
  position: sticky;
  top: 52px;
  max-height: calc(100vh - 52px);
  overflow-y: auto;
}
aside .centruj {
  text-align: center;
  margin-top: 20px;
}
aside .centruj img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
aside .fs80 {
  font-size: 80%;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Footer ── */
.site-footer {
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-links { font-size: 16px; color: var(--text-muted); }
.footer-links a, .footer-links span { margin: 0 5px; }
.footer-links a { color: var(--green); }
.footer-copy { font-size: 16px; color: var(--text-muted); white-space: nowrap; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; cursor: pointer;
  transition: transform 0.15s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: none;
}
.social-btn:hover { transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  aside {
    width: 100%;
    position: static;
    max-height: none;
    padding: 20px 24px 16px;
  }
}
@media (max-width: 900px) {
  .container { padding: 24px 20px 16px; }
}
@media (max-width: 700px) {
  .opis-layout { grid-template-columns: 1fr; }
  .opis-img-panel { max-width: 100%; }
  .opis-img-panel img { max-width: 100%; }
  .two-col { grid-template-columns: 1fr; }
  .morfo-grid { grid-template-columns: 1fr; }
  .atlas-grid { grid-template-columns: 1fr; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-grid { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr 1fr; }
  .meta-strip { flex-wrap: wrap; }
  .meta-item { min-width: 33%; }
  .cal-row-desc { width: 180px; font-size: 16px; }
  .cal-header .cal-desc-space { width: 180px; }
  .nav-link { display: none; }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 35px; }
  .meta-item { min-width: 50%; border-bottom: 1px solid var(--border-faint); }
  .cal-row-desc { width: 140px; font-size: 15px; }
  .cal-header .cal-desc-space { width: 140px; }
  .cal-month { font-size: 13px; }
  .toc-grid { grid-template-columns: 1fr; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .uprawa-row { flex-direction: column; gap: 4px; }
  .uprawa-row dt { min-width: auto; }
  .nav-search input { width: 120px; }
  .sys-grid { gap: 4px 16px; }
  .sys-item { min-width: 100%; }
}
