/* Agrofert article. Shared site navigation remains in style.css. */
body.agrofert-article {
  --agro-background: #10161c;
  --agro-panel: #171f26;
  --agro-text: #e1e6e9;
  --agro-muted: #a8b6c0;
  --agro-cyan: #87dedc;
  --agro-brass: #d0ad76;
  --agro-line: #33424c;
  background: var(--agro-background);
  color: var(--agro-text);
  font-family: var(--sans);
}

.agrofert-article #main {
  background: radial-gradient(ellipse 900px 560px at 50% 0, #22414938, transparent 80%), var(--agro-background);
}

.agrofert-article .agro-layout {
  max-width: 1000px;
  margin-inline: auto;
  padding: 38px 18px 72px;
}

.agrofert-article .agro-text {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.agrofert-article .agro-layout :is(h1, h2) {
  color: #f0f4f5;
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -.025em;
}

.agrofert-article .agro-layout p {
  font-size: 18px;
  line-height: 1.82;
  overflow-wrap: break-word;
}

.agrofert-article .agro-layout strong {
  color: #f4f6f7;
  font-weight: 700;
}

.agrofert-article .agro-layout a {
  color: var(--agro-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.agrofert-article .agro-layout a:hover {
  color: #b2f4ee;
}

.agrofert-article .agro-layout :focus-visible {
  outline: 2px solid var(--agro-cyan);
  outline-offset: 5px;
  border-radius: 2px;
}

.agrofert-article .agro-layout :is(h2, li[id], figure[id]) {
  scroll-margin-top: 110px;
}

.agrofert-article .agro-back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.agrofert-article .agro-layout .agro-eyebrow {
  margin-top: 28px;
  color: var(--agro-cyan);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.agrofert-article .agro-hero h1 {
  margin-block: 18px 25px;
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1.08;
  text-wrap: balance;
}

.agrofert-article .agro-layout .agro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 19px;
  margin-bottom: 30px;
  padding-block: 14px;
  border-block: 1px solid var(--agro-line);
  color: var(--agro-muted);
  font-size: 13px;
  line-height: 1.65;
}

.agrofert-article .agro-meta span:first-child {
  color: var(--agro-brass);
}

.agrofert-article .agro-layout .agro-lead {
  color: #e6ecee;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 500;
}

.agrofert-article .agro-ref {
  display: inline;
  font-size: .7em;
  line-height: 0;
  vertical-align: super;
  white-space: nowrap;
}

.agrofert-article .agro-ref a {
  display: inline;
  padding: 4px 3px;
  color: var(--agro-cyan);
  font-weight: 700;
  text-decoration: none;
}

.agrofert-article .agro-ref a:hover {
  text-decoration: underline;
}

.agrofert-article .agro-figure {
  width: 100%;
  max-width: 860px;
  margin: 36px auto 52px;
}

.agrofert-article .agro-figure-hero {
  margin-top: 34px;
}

.agrofert-article .agro-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #526269;
  border-radius: 6px;
  background: #171e23;
  box-shadow: 0 14px 38px #0003;
  text-decoration: none;
}

.agrofert-article .agro-image-link::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 96px;
  height: 2px;
  background: var(--agro-cyan);
  content: "";
}

.agrofert-article .agro-image-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--agro-brass);
  content: "";
}

.agrofert-article .agro-image-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.agrofert-article .agro-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border: 1px solid #b5cecc66;
  border-radius: 3px;
  background: #0a1116e8;
  color: #e5f5f2;
  font-size: 12px;
  line-height: 1.4;
}

.agrofert-article .agro-figure figcaption {
  max-width: 720px;
  margin: 12px auto 0;
  padding-inline: 2px;
  color: var(--agro-muted);
  font: 13px/1.6 var(--sans);
}

.agrofert-article .agro-image-label {
  color: var(--agro-brass);
  font-weight: 700;
}

.agrofert-article .agro-image-label::after {
  content: " ·";
}

.agrofert-article .agro-toc {
  max-width: 720px;
  margin: 30px auto 54px;
  padding: 22px 25px 24px;
  border: 1px solid var(--agro-line);
  border-top: 2px solid #6aa8a8;
  border-radius: 4px;
  background: var(--agro-panel);
}

.agrofert-article .agro-layout .agro-toc-label {
  margin-bottom: 12px;
  color: var(--agro-brass);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.agrofert-article .agro-toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 28px;
  margin: 0;
  padding-left: 21px;
}

.agrofert-article .agro-toc li {
  padding-left: 2px;
  color: var(--agro-brass);
  font-size: 14px;
  line-height: 1.5;
}

.agrofert-article .agro-toc a {
  display: block;
  padding-block: 9px;
  color: #dce8e9;
  text-decoration: none;
}

.agrofert-article .agro-toc a:hover {
  text-decoration: underline;
}

.agrofert-article .agro-section {
  margin: 0 0 40px;
}

.agrofert-article .agro-chapter-heading {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 25px;
  padding-top: 24px;
  border-top: 1px solid var(--agro-line);
}

.agrofert-article .agro-chapter-heading::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--agro-cyan);
  content: "";
}

.agrofert-article .agro-chapter-number {
  padding-top: 6px;
  color: var(--agro-brass);
  font: 700 14px/1.5 var(--sans);
  letter-spacing: .04em;
}

.agrofert-article .agro-section h2 {
  margin: 0;
  font-size: clamp(25px, 3.5vw, 33px);
  line-height: 1.23;
  text-wrap: balance;
}

.agrofert-article .agro-section .agro-text + .agro-text {
  margin-top: 22px;
}

.agrofert-article .agro-section .agro-figure {
  margin-block: 30px;
}

.agrofert-article .agro-layout .agro-final-line {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 3px solid var(--agro-brass);
  background: #d0ad760b;
  font-size: 23px;
  line-height: 1.55;
}

.agrofert-article .agro-sources {
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--agro-line);
}

.agrofert-article .agro-sources .agro-eyebrow {
  margin-top: 0;
}

.agrofert-article .agro-sources h2 {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.3;
}

.agrofert-article .agro-sources ol {
  margin: 22px 0 0;
  padding-left: 23px;
}

.agrofert-article .agro-sources li {
  margin-bottom: 14px;
  padding-left: 5px;
  color: var(--agro-muted);
  font-size: 14px;
  line-height: 1.7;
}

.agrofert-article .agro-sources li:target {
  border-radius: 3px;
  background: #87dedc12;
  outline: 7px solid #87dedc12;
}

.agrofert-article .agro-sources a {
  overflow-wrap: anywhere;
}

.agrofert-article .agro-end {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--agro-line);
}

.agrofert-article .agro-button {
  display: inline-flex;
  min-height: 46px;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid #657c81;
  border-radius: 3px;
  color: var(--agro-cyan);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
  text-decoration: none;
}

.agrofert-article .agro-button-primary {
  border-color: var(--agro-cyan);
  background: #87dedc12;
}

.agrofert-article .agro-button:hover {
  border-color: var(--agro-brass);
  background: #d0ad7610;
}

@media (max-width: 620px) {
  .agrofert-article .agro-layout {
    padding-top: 20px;
    padding-bottom: 46px;
  }

  .agrofert-article .agro-layout p {
    font-size: 17px;
    line-height: 1.78;
  }

  .agrofert-article .agro-hero h1 {
    margin-block: 16px 22px;
    font-size: clamp(32px, 8.2vw, 43px);
    line-height: 1.12;
  }

  .agrofert-article .agro-layout .agro-lead {
    font-size: 18px;
    line-height: 1.75;
  }

  .agrofert-article .agro-layout .agro-meta {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .agrofert-article .agro-layout .agro-eyebrow {
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .agrofert-article .agro-figure {
    margin-block: 28px 38px;
  }

  .agrofert-article .agro-figure figcaption {
    font-size: 12px;
  }

  .agrofert-article .agro-zoom {
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .agrofert-article .agro-toc {
    margin-bottom: 36px;
    padding: 17px 20px;
  }

  .agrofert-article .agro-toc ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .agrofert-article .agro-toc a {
    padding-block: 10px;
  }

  .agrofert-article .agro-layout .agro-toc-label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .agrofert-article .agro-chapter-heading {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 20px;
    padding-top: 21px;
  }

  .agrofert-article .agro-chapter-number {
    padding-top: 4px;
    font-size: 12px;
  }

  .agrofert-article .agro-section h2 {
    font-size: 25px;
    line-height: 1.27;
  }

  .agrofert-article .agro-layout .agro-final-line {
    padding: 18px 19px;
    font-size: 21px;
    line-height: 1.55;
  }

  .agrofert-article .agro-end {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  body.agrofert-article,
  .agrofert-article #main {
    background: #fff !important;
    color: #171717 !important;
  }

  .agrofert-article :is(.site-header, .site-footer, .agro-toc, .agro-back, .agro-end, .agro-zoom) {
    display: none !important;
  }

  .agrofert-article .agro-layout {
    max-width: none;
    padding: 0;
  }

  .agrofert-article .agro-layout :is(h1, h2, p, a, strong, figcaption, .agro-chapter-number, .agro-image-label) {
    color: #171717 !important;
  }

  .agrofert-article .agro-layout p {
    font-size: 11pt;
    line-height: 1.6;
  }

  .agrofert-article .agro-figure {
    max-width: 135mm;
    break-inside: avoid;
  }

  .agrofert-article .agro-chapter-heading {
    break-after: avoid;
  }

  .agrofert-article .agro-image-link {
    box-shadow: none;
  }
}

/* lzolam-agrofert-cyber-20261106 */
/* Kybernetická úprava článku; stávající text, odkazy a ilustrace zůstávají v HTML. */
@media screen {
  body.agrofert-article {
    --agro-cyber: #80f4e6;
    --agro-cyber-line: #76eadd66;
    --agro-cyber-deep: #071c26;
    --agro-background: #071a23;
    --agro-panel: #0a2730;
  }
  body.agrofert-article #main {
    background:
      radial-gradient(ellipse 850px 640px at 82% 0, #15545a82, transparent 72%),
      linear-gradient(#57e9d907 1px, transparent 1px),
      linear-gradient(90deg, #57e9d907 1px, transparent 1px),
      #071a23;
    background-size: auto, 48px 48px, 48px 48px, auto;
  }
  .agrofert-article .agro-hero > .agro-text:first-child {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(20px, 3.2vw, 34px);
    border: 1px solid #69dacd75;
    border-radius: 10px;
    background:
      linear-gradient(90deg, #75ead808 1px, transparent 1px),
      linear-gradient(#75ead808 1px, transparent 1px),
      radial-gradient(ellipse at 95% 0%, #15525a7a, transparent 54%),
      linear-gradient(135deg, #0b3039ed, #071b25f5 78%);
    background-size: 34px 34px, 34px 34px, auto, auto;
    box-shadow: inset 0 1px #bcfff31a, 0 0 24px #2dd8ca18, 0 12px 40px #0003;
  }
  .agrofert-article .agro-hero > .agro-text:first-child > * {
    position: relative;
    z-index: 1;
  }
  /* Vlastní vrstvy jsou za textem a nemohou zachytit klepnutí na odkazy. */
  .agrofert-article .agro-hero > .agro-text:first-child::before,
  .agrofert-article .agro-hero > .agro-text:first-child::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 18px;
    width: 88px;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
  }
  .agrofert-article .agro-hero > .agro-text:first-child::before {
    border: 1px solid #87ffea40;
    background: radial-gradient(circle, transparent 30%, #75eddd35 31% 32%, transparent 33% 58%, #75eddd25 59% 60%, transparent 61%), conic-gradient(from 20deg, #79fae82a, transparent 45deg);
    box-shadow: inset 0 0 15px #5ef9e919, 0 0 16px #67f8e516;
  }
  .agrofert-article .agro-hero > .agro-text:first-child::after {
    background: radial-gradient(circle at 50% 1%, #e4fffa 0 2px, #7efce9 2.5px, transparent 5px), radial-gradient(circle at 7% 70%, #8cfff0 0 1px, transparent 3px);
    filter: drop-shadow(0 0 4px #7cfff0);
  }
  .agrofert-article .agro-back { color: #a4f6ed; }
  .agrofert-article .agro-back span { color: #89f7e9; }
  .agrofert-article .agro-layout .agro-eyebrow {
    color: #9af5e7;
    text-shadow: 0 0 12px #6df3e428;
  }
  .agrofert-article .agro-hero h1 {
    color: #edfffc;
    text-shadow: 0 0 22px #78fbea20;
  }
  .agrofert-article .agro-layout .agro-meta {
    margin-bottom: 0;
    border-color: #69dbce4a;
  }
  .agrofert-article .agro-meta span:first-child { color: #dfc38d; }

  .agrofert-article .agro-image-link {
    border-color: #71e7da8c;
    border-radius: 9px;
    box-shadow: 0 0 0 3px #4ccfc01a, 0 0 24px #50e9d936, 0 16px 36px #0006;
    transition: border-color .2s, box-shadow .2s;
  }
  .agrofert-article .agro-image-link::before {
    width: 28%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #aaffef, #63ead6, transparent);
    box-shadow: 0 0 11px #7ffff0;
    pointer-events: none;
  }
  .agrofert-article .agro-image-link::after {
    width: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dfbf83, transparent);
    pointer-events: none;
  }
  .agrofert-article .agro-image-link:hover,
  .agrofert-article .agro-image-link:focus-visible {
    border-color: #b4fff4;
    box-shadow: 0 0 0 3px #64efdf32, 0 0 28px #60f6e85c, 0 16px 36px #0006;
  }

  .agrofert-article .agro-toc {
    position: relative;
    overflow: hidden;
    border: 1px solid #66dccc75;
    border-top: 2px solid #83f9e7;
    border-radius: 8px;
    background: radial-gradient(ellipse at 100% 0, #17606a44, transparent 58%), #092832;
    box-shadow: inset 0 0 25px #2bedda0d, 0 0 22px #39dccb20;
  }
  .agrofert-article .agro-layout .agro-toc-label { color: #a0fced; }
  .agrofert-article .agro-toc li { color: #8af8e6; }
  .agrofert-article .agro-toc a { color: #e4f9f6; }
  .agrofert-article .agro-toc a:hover { color: #a2fff0; }
  .agrofert-article .agro-chapter-heading { border-color: #59d7c96b; }
  .agrofert-article .agro-chapter-heading::before {
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, #b3fff3, #5ce8d6, transparent);
    box-shadow: 0 0 10px #70fbe2a8;
  }
  .agrofert-article .agro-chapter-number {
    color: #9cfced;
    text-shadow: 0 0 10px #5df4d983;
    font-family: ui-monospace, monospace;
    letter-spacing: .08em;
  }
  .agrofert-article .agro-section h2 { color: #eafffb; }
  .agrofert-article .agro-ref a {
    color: #9effee;
    text-shadow: 0 0 8px #75ffeb45;
  }
  .agrofert-article .agro-layout .agro-final-line {
    border-left-color: #73f1df;
    background: linear-gradient(90deg, #1b6e6d54, #0b303b6b);
    box-shadow: inset 0 0 0 1px #6fe8d31f;
  }
  .agrofert-article .agro-sources {
    padding: 24px;
    border: 1px solid #54cebf5c;
    border-radius: 8px;
    background: #082731e6;
    box-shadow: 0 0 22px #39dccb16;
  }
  .agrofert-article .agro-sources li::marker { color: #89f5e4; }
  .agrofert-article .agro-button {
    border-color: #65dccc8f;
    border-radius: 5px;
    box-shadow: inset 0 0 16px #4ff1d90d;
  }
  .agrofert-article .agro-button-primary { background: #12525a80; }
  .agrofert-article .agro-button:hover { border-color: #a5fff2; background: #16636b80; }
  @media (max-width: 620px) {
    .agrofert-article .agro-hero > .agro-text:first-child { padding: 20px; }
    .agrofert-article .agro-hero > .agro-text:first-child::before,
    .agrofert-article .agro-hero > .agro-text:first-child::after { width: 60px; right: 14px; top: 12px; }
    .agrofert-article .agro-layout .agro-eyebrow { max-width: 100%; }
    .agrofert-article .agro-sources { padding: 18px; }
  }
  @media (prefers-reduced-motion: no-preference) {
    .agrofert-article .agro-hero > .agro-text:first-child::after { animation: agro-orbit 11s linear infinite; }
    .agrofert-article .agro-image-link::before { animation: agro-edge 7s ease-in-out infinite alternate; }
    @keyframes agro-orbit { to { transform: rotate(360deg); } }
    @keyframes agro-edge { from { transform: translateX(0); opacity: .55; } to { transform: translateX(255%); opacity: 1; } }
  }
  @media (prefers-reduced-motion: reduce) {
    .agrofert-article .agro-hero > .agro-text:first-child::after,
    .agrofert-article .agro-image-link::before { animation: none; }
    .agrofert-article .agro-image-link { transition: none; }
  }
}
