/* AGRO 1.2.0: one scoped design system; Blocksy owns native containers and typography. */
body.agro-ui {
  --agro-accent: var(--theme-palette-color-1, #276b46);
  --agro-accent-hover: var(--theme-palette-color-2, #1e5138);
  --agro-ink: var(--theme-palette-color-4, #183728);
  --agro-text: var(--theme-palette-color-3, #33483d);
  --agro-muted: #647b6d;
  --agro-surface: #ffffff;
  --agro-soft: var(--theme-palette-color-6, #f2f7f3);
  --agro-line: #dce7df;
  --agro-radius: 18px;
  --agro-small-radius: 10px;
  --agro-shadow: 0 8px 32px rgba(21, 51, 35, .035);
}
body.agro-ui #header { border-bottom: 1px solid #e6eee8; box-shadow: 0 4px 20px rgba(21,51,35,.025); }
body.agro-ui #header .site-title { font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
body.agro-ui #header .site-title a { color: var(--agro-ink); }
body.agro-ui #header [data-id="menu"] .ct-menu-link { font-size: 14px; font-weight: 650; text-transform: none; }
body.agro-ui #header [data-id="menu"] .sub-menu { border: 0; border-radius: 12px; background: #173c2a; padding: 6px; box-shadow: 0 16px 40px rgba(17,48,31,.14); }
body.agro-ui #header [data-id="menu"] .sub-menu .ct-menu-link { color: #f3f8f4; padding: 11px 14px; border-radius: 7px; }
body.agro-ui #header [data-id="menu"] .sub-menu .ct-menu-link:hover { background: #2b6546; color: #fff; }
body.agro-ui #header [data-id="menu"] .sub-menu li { border: 0; }
/* No repeated theme page heading on the shortcode homepage. */
body.agro-front .hero-section, body.agro-front .entry-header { display: none; }
.pc-v22 {
  width: 100%; max-width: var(--theme-normal-container-max-width,1290px);
  margin-inline: auto; min-width: 0; color: var(--agro-text); font-family: inherit;
}
.pc-v22, .pc-v22 *, .agro-sidebar, .agro-sidebar * { box-sizing: border-box; }
.pc-v22 :is(h1,h2,h3,h4,p) { margin: 0; }
.pc-v22 :is(h1,h2,h3,h4) { color: var(--agro-ink); font-family: inherit; }
.pc-v22 a { color: inherit; text-decoration: none; }
.pc-v22 a:hover { color: var(--agro-accent); }
.pc-v22 a:focus-visible, .agro-sidebar a:focus-visible { outline: 3px solid var(--agro-accent); outline-offset: 5px; border-radius: 4px; }
.pc-v22 img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-v22__intro { max-width: 820px; padding: 14px 0 42px; }
.pc-v22 .pc-v22__eyebrow { display: block; color: var(--agro-accent); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; }
.pc-v22 .pc-v22__title { margin: 12px 0 14px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 750; line-height: 1.14; letter-spacing: -.04em; }
.pc-v22 .pc-v22__subtitle { color: var(--agro-muted); font-size: 16px; line-height: 1.65; max-width: 680px; }
.pc-v22__section-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 26px; padding: 0; border: 0; }
.pc-v22__section-title h2 { font-size: clamp(24px,2.3vw,30px); line-height: 1.25; letter-spacing: -.025em; font-weight: 750; }
.pc-v22__section-title > a { font-size: 12px; font-weight: 650; color: var(--agro-accent); display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; background: var(--agro-soft); border-radius: 50px; white-space: nowrap; }
.pc-v22__latest-section { margin-bottom: 64px; }
.pc-v22__latest-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 34px; align-items: start; }
.pc-v22__latest-grid--solo { grid-template-columns: minmax(0,1fr); }
.pc-v22__latest-lead { min-width: 0; background: transparent; border: 0; }
.pc-v22__lead-photo { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--agro-radius); }
.pc-v22__lead-body { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding-top: 20px; }
.pc-v22__lead-body h3 { font-size: clamp(22px,2vw,28px); line-height: 1.26; font-weight: 740; letter-spacing: -.025em; }
.pc-v22 .pc-v22__excerpt { color: var(--agro-muted); font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-v22__more { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: var(--agro-accent) !important; font-size: 12px; font-weight: 700; }
.pc-v22__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.pc-v22__latest-four { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-content: start; padding-top: 4px; }
.pc-v22__tile { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); align-items: center; gap: 20px; min-width: 0; border: 0; }
.pc-v22__tile-image { display: block; aspect-ratio: 16/11; overflow: hidden; border-radius: 12px; }
.pc-v22__tile-copy { min-width: 0; }
.pc-v22__tile-copy h3 { font-size: clamp(17px,1.5vw,21px); line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
.pc-v22__tile:not(:has(.pc-v22__tile-image)) { grid-template-columns: minmax(0,1fr); }
.pc-v22__topics { margin-bottom: 54px; }
.pc-v22__rich-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; margin-bottom: 30px; align-items: start; }
.pc-v22__rich-module { min-width: 0; background: var(--agro-surface); border: 0; border-radius: var(--agro-radius); padding: 23px; box-shadow: var(--agro-shadow); }
.pc-v22__module-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; border: 0; padding: 0; }
.pc-v22__module-head h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.pc-v22__module-head > a { font-size: 11px; font-weight: 650; white-space: nowrap; color: var(--agro-accent); }
.pc-v22__module-lead { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 18px; align-items: start; }
.pc-v22__module-lead.pc-v22__no-image { grid-template-columns: minmax(0,1fr); }
.pc-v22__module-photo { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; }
.pc-v22__module-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.pc-v22__module-copy h4 { font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: -.015em; }
.pc-v22__module-list { display: grid; gap: 15px; margin-top: 22px; border: 0; }
.pc-v22__module-row { display: flex; align-items: center; gap: 13px; border: 0; min-width: 0; padding: 0; }
.pc-v22__module-thumb { display: block; flex: 0 0 64px; width: 64px; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; }
.pc-v22__module-row h4 { font-size: 13px; font-weight: 650; line-height: 1.5; }
.pc-v22__wide-module { padding: 25px; background: var(--agro-soft); border: 0; border-radius: var(--agro-radius); margin-bottom: 35px; display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); column-gap: 35px; }
.pc-v22__wide-module > .pc-v22__module-head { grid-column: 1/-1; }
.pc-v22__wide-module .pc-v22__module-photo { aspect-ratio: 16/10; }
.pc-v22__wide-module .pc-v22__module-copy h4 { font-size: 21px; }
.pc-v22__wide-module .pc-v22__module-list { margin-top: 0; align-content: start; }
.pc-v22__single-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; align-items: start; }
.pc-v22__single-module { min-width: 0; border: 0; padding: 0; background: transparent; }
.pc-v22__single-module .pc-v22__module-head { margin-bottom: 17px; }
.pc-v22__single-module .pc-v22__module-head h3 { font-size: 16px; }
.pc-v22__single-module .pc-v22__module-head > a { font-size: 10px; }
.pc-v22__single-photo { display: block; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; }
.pc-v22__single-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 16px; }
.pc-v22__single-copy h4 { font-size: 18px; line-height: 1.4; letter-spacing: -.015em; }
.pc-v22__module--empty { min-height: 88px; background: transparent; box-shadow: none; }
.pc-v22__module--empty .pc-v22__module-head { margin: 0; }
.pc-v22 .pc-v22__tools {
  display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.8fr); align-items: center; gap: clamp(25px,4vw,65px);
  padding: clamp(28px,4vw,48px); border: 0; border-radius: 22px; margin: 0 0 30px;
  background: #183d2b;
  background: radial-gradient(ellipse at 95% 5%,rgba(129,180,116,.23),transparent 50%),linear-gradient(120deg,#122f24 0%,#1c4a33 58%,#2c6545 100%);
  color: #ecf5ed; isolation: isolate;
}
.pc-v22__tools .pc-v22__eyebrow { color: #b6d4bb; }
.pc-v22__tools-copy { min-width: 0; }
.pc-v22__tools-copy h2 { color: #fff; font-size: clamp(25px,2.6vw,34px); line-height: 1.2; font-weight: 730; letter-spacing: -.03em; margin: 14px 0 18px; }
.pc-v22__tools-copy p { color: #d4e4d7; font-size: 15px; line-height: 1.7; max-width: 610px; }
.pc-v22 .pc-v22__tool-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 19px; margin-top: 25px; min-height: 46px; border-radius: 10px; font-size: 13px; font-weight: 700; background: #fff; color: #173d2b; }
.pc-v22 .pc-v22__tool-button:hover { background: #e9f2e9; color: #173d2b; }
.pc-v22__tools-preview { min-width: 0; padding: 19px; border-radius: 16px; background: #f4f8f4; color: #315341; box-shadow: 0 20px 45px rgba(4,28,16,.14); transform: rotate(1deg); }
.pc-v22__tools-preview-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; margin-bottom: 18px; padding: 3px 1px 4px; }
.pc-v22__tools-preview-top i { width: 7px; height: 7px; background: #559473; border-radius: 100%; }
.pc-v22__tools-preview-top b { margin-left: auto; }
.pc-v22__tools-preview-field { padding: 14px; background: #fff; border-radius: 9px; border: 1px solid #dce9df; }
.pc-v22__tools-preview-field span, .pc-v22__tools-preview-result span { display: block; color: #748977; font-size: 10px; font-weight: 650; }
.pc-v22__tools-preview-field strong { display: block; margin-top: 7px; font-size: 13px; }
.pc-v22__tools-preview-duo { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-top: 11px; }
.pc-v22__tools-preview-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; margin-top: 12px; border-radius: 9px; background: #e4efe5; }
/* Native archive cards: image first, uncluttered titles, no giant boxed columns. */
body.agro-archive .hero-section { padding-block: clamp(28px,4vw,52px); }
body.agro-archive .hero-section .page-title { font-size: clamp(28px,3vw,38px); letter-spacing: -.03em; line-height: 1.2; }
body.agro-archive .entries { --grid-columns: repeat(3,minmax(0,1fr)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; align-items: start; }
body.agro-archive .entries .entry-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 0 0 24px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--agro-shadow); overflow: hidden; }
body.agro-archive .entry-card > * { margin: 0; }
body.agro-archive .entry-card > :not(.ct-media-container) { margin-inline: 23px; }
body.agro-archive .entry-card .ct-media-container { order: -1; width: 100%; aspect-ratio: 16/10; border-radius: 16px 16px 0 0; overflow: hidden; }
body.agro-archive .entry-card .ct-media-container img { width: 100%; height: 100%; object-fit: cover; }
body.agro-archive .entry-card .entry-title { font-size: clamp(19px,1.7vw,23px); line-height: 1.35; font-weight: 720; letter-spacing: -.02em; }
body.agro-archive .entry-card .entry-excerpt { color: var(--agro-muted); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.agro-archive .entry-card .entry-meta { font-size: 11px; line-height: 1.5; color: var(--agro-muted); }
body.agro-archive-count-1 .entries, body.agro-archive-count-2 .entries { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.agro-archive-count-1 .entries { grid-template-columns: minmax(0,1fr); max-width: 1000px; }
body.agro-archive-count-1 .entries .entry-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); column-gap: 30px; row-gap: 14px; padding: 0 26px 26px 0; align-content: start; }
body.agro-archive-count-1 .entries .entry-card > :not(.ct-media-container) { grid-column: 2; margin-inline: 0; }
body.agro-archive-count-1 .entries .entry-card > :not(.ct-media-container):first-child { margin-top: 26px; }
body.agro-archive-count-1 .entries .entry-card .ct-media-container { grid-column: 1; grid-row: 1/8; height: 100%; min-height: 280px; aspect-ratio: auto; border-radius: 16px 0 0 16px; }
/* Article readability and the native Blocksy right sidebar. */
body.agro-single .ct-container[data-sidebar] { column-gap: clamp(30px,4vw,58px); }
body.agro-single :is(.site-main article, .entry-content, .ct-sidebar) { min-width: 0; }
body.agro-single .entry-content { font-size: 17px; line-height: 1.8; }
body.agro-single .entry-content > p { margin-bottom: 1.25em; }
body.agro-single .entry-content :is(h2,h3) { scroll-margin-top: 110px; letter-spacing: -.025em; }
body.agro-single .entry-content h2 { font-size: clamp(25px,2.1vw,32px); line-height: 1.28; margin-top: 1.6em; margin-bottom: .7em; }
body.agro-single .entry-header .page-title { font-size: clamp(29px,2.7vw,40px); line-height: 1.2; letter-spacing: -.035em; }
.agro-sidebar { display: grid; gap: 24px; color: var(--agro-text); }
.agro-sidebar__section { border: 0; background: #fff; border-radius: 17px; padding: 24px; box-shadow: var(--agro-shadow); }
.agro-sidebar h2 { margin: 0 0 18px; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.agro-sidebar__eyebrow { margin: 0 0 10px; color: var(--agro-accent); font-size: 10px; letter-spacing: .13em; font-weight: 750; }
.agro-sidebar__reading { list-style: none; counter-reset: agro-read; display: grid; gap: 18px; margin: 0; padding: 0; }
.agro-sidebar__reading li { counter-increment: agro-read; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 9px; margin: 0; }
.agro-sidebar__reading li::before { content: counter(agro-read,decimal-leading-zero); color: #82a18a; font-size: 12px; font-weight: 650; padding-top: 3px; }
.agro-sidebar__reading a { color: var(--agro-ink); font-size: 14px; line-height: 1.55; font-weight: 650; text-decoration: none; }
.agro-sidebar__topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.agro-sidebar__topics li { margin: 0; }
.agro-sidebar__topics a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 42px; color: var(--agro-text); font-size: 13px; text-decoration: none; }
.agro-sidebar a:hover { color: var(--agro-accent); }
.agro-sidebar__topics span { color: #83a08a; }
.agro-sidebar__tools { border: 0; border-radius: 17px; padding: 25px; background: linear-gradient(135deg,#173c2b,#2c6041); color: #e9f2eb; }
.agro-sidebar__tools h2 { color: #fff; font-size: 21px; }
.agro-sidebar__tools p { color: #c5d9ca; font-size: 13px; line-height: 1.65; margin: 0 0 20px; }
.agro-sidebar__tools a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; background: #fff; color: #1c4830; padding: 9px 14px; border-radius: 9px; font-size: 12px; font-weight: 700; text-decoration: none; }
/* Existing table-of-contents plugins retain their anchors and toggle behavior. */
body.agro-single :is(#ez-toc-container,.ez-toc-container,.lwptoc_i,.rank-math-toc-block) { width: 100% !important; max-width: 100%; box-sizing: border-box; border: 0 !important; border-radius: 17px; background: var(--agro-soft) !important; padding: 24px 27px !important; margin-block: 30px; box-shadow: none !important; }
body.agro-single :is(.ez-toc-title,.lwptoc_title,.rank-math-toc-block h2) { color: var(--agro-ink); font-size: 17px !important; font-weight: 700 !important; }
body.agro-single :is(.ez-toc-list,.lwptoc_items) { margin-top: 15px !important; font-size: 14px !important; line-height: 1.75 !important; }
body.agro-single .ez-toc-list li { margin-block: 6px; }
body.agro-single :is(.ez-toc-list a,.lwptoc_items a) { color: var(--agro-accent); text-decoration: none; }
body.agro-single :is(.ez-toc-list a,.lwptoc_items a):hover { text-decoration: underline; text-underline-offset: 3px; }
body.agro-single .ez-toc-btn { min-width: 40px; min-height: 36px; border: 0 !important; background: #fff !important; box-shadow: none !important; border-radius: 8px; }
body.agro-single .wp-block-table { margin-block: 30px; max-width: 100%; overflow-x: auto; border-radius: 13px; background: #fff; border: 1px solid var(--agro-line); }
body.agro-single .wp-block-table table { margin: 0; border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.6; }
body.agro-single .wp-block-table :is(th,td) { padding: 15px 18px; border: 0; border-bottom: 1px solid #e7eee9; text-align: left; vertical-align: top; }
body.agro-single .wp-block-table th { background: var(--agro-soft); font-weight: 700; color: var(--agro-ink); }
body.agro-single .wp-block-table tr:last-child td { border-bottom: 0; }
body.agro-single .wp-block-table tbody tr:nth-child(even) td { background: #f9fbf9; }
body.agro-single blockquote { border: 0; border-radius: 16px; background: var(--agro-soft); padding: 24px; }
/* Full-width footer background, centered theme-width interior and actual server text. */
body.agro-ui #footer { background: #173a2c !important; color: #c5d9cb; border-top: 0 !important; }
body.agro-ui #footer [data-row] { background: transparent !important; border: 0 !important; }
body.agro-ui #footer [data-row] .ct-container { padding-block: 23px !important; }
body.agro-ui #footer [data-column] { justify-content: center; }
body.agro-ui #footer [data-id="menu"] { width: 100%; padding-bottom: 0 !important; margin-bottom: 10px !important; border: 0 !important; }
body.agro-ui #footer .ct-footer-menu { display: flex; flex-wrap: wrap; justify-content: center !important; align-items: center; gap: 8px 23px !important; margin: 0; padding: 0; }
body.agro-ui #footer .ct-footer-menu li { margin: 0; }
body.agro-ui #footer .ct-footer-menu a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0; color: #e5efe8 !important; }
body.agro-ui #footer .ct-footer-menu a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 5px; }
body.agro-ui #footer .ct-footer-copyright { width: 100%; text-align: center !important; font-size: 12px !important; line-height: 1.7; color: #a9c2b1 !important; }
body.agro-ui #footer .ct-footer-copyright p { margin: 0; }
body.agro-ui #footer a:focus-visible { outline: 2px solid #c1e3ca; outline-offset: 4px; border-radius: 4px; }
/* All sidebar widgets are static by default. Never stick the entire sidebar. */
@media(max-width:1100px) {
 .pc-v22__latest-grid { gap: 26px; }
 .pc-v22__tile { gap: 15px; }
 .pc-v22__rich-module { padding: 20px; }
 .pc-v22__module-lead { grid-template-columns: minmax(0,1fr); }
 .pc-v22__module-photo { aspect-ratio: 16/9; }
 .pc-v22__wide-module > .pc-v22__module-lead { grid-template-columns: minmax(0,.9fr) minmax(0,1fr); }
 .pc-v22__single-module .pc-v22__module-head { align-items: flex-start; flex-direction: column; gap: 6px; }
 body.agro-archive .entries { grid-template-columns: repeat(2,minmax(0,1fr)); }
 body.agro-archive-count-1 .entries { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:999px) {
 .agro-sidebar { grid-template-columns: minmax(0,1fr); margin-top: 26px; }
 .agro-sidebar__tools { grid-column: 1/-1; }
 body.agro-single .ct-sidebar { width: 100%; margin-top: 24px; }
 body.agro-single .entry-content { font-size: 16px; line-height: 1.75; }
}
@media(max-width:840px) {
 .pc-v22__latest-grid { grid-template-columns: minmax(0,1fr); }
 .pc-v22__latest-four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; }
 .pc-v22__tile { display: block; }
 .pc-v22__tile-copy { padding-top: 13px; }
 .pc-v22__tile-image { aspect-ratio: 16/10; }
 .pc-v22__wide-module { grid-template-columns: minmax(0,1fr); }
 .pc-v22__wide-module .pc-v22__module-list { margin-top: 24px; }
 .pc-v22 .pc-v22__tools { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .pc-v22__tools-preview { max-width: 430px; width: 100%; justify-self: center; transform: none; }
 .pc-v22__single-row { gap: 20px; }
 .pc-v22__single-copy h4 { font-size: 16px; }
 body.agro-archive-count-1 .entries .entry-card { column-gap: 22px; }
}
@media(max-width:639px) {
 .pc-v22__intro { padding: 8px 0 30px; }
 .pc-v22__title { font-size: 32px; }
 .pc-v22__subtitle { font-size: 15px; }
 .pc-v22__section-title { gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 21px; }
 .pc-v22__section-title > a { padding: 5px 10px; font-size: 11px; }
 .pc-v22__latest-section { margin-bottom: 44px; }
 .pc-v22__latest-grid { gap: 25px; }
 .pc-v22__rich-pair { grid-template-columns: minmax(0,1fr); gap: 21px; }
 .pc-v22__rich-module { padding: 20px; }
 .pc-v22__module-lead { grid-template-columns: minmax(0,1fr); }
 .pc-v22__wide-module { padding: 21px; }
 .pc-v22__wide-module > .pc-v22__module-lead { grid-template-columns: minmax(0,1fr); }
 .pc-v22__wide-module .pc-v22__module-copy h4 { font-size: 20px; }
 .pc-v22__single-row { grid-template-columns: minmax(0,1fr); gap: 29px; }
 .pc-v22__single-module .pc-v22__module-head { flex-direction: row; align-items: baseline; gap: 10px; }
 .pc-v22__single-copy h4 { font-size: 19px; }
 .pc-v22__topics { margin-bottom: 38px; }
 .pc-v22 .pc-v22__tools { padding: 25px 21px; border-radius: 18px; }
 .pc-v22__tools-copy h2 { font-size: 28px; }
 .pc-v22__tools-copy p { font-size: 14px; }
 .pc-v22__tools-preview { padding: 15px; }
 body.agro-archive .entries { grid-template-columns: minmax(0,1fr); gap: 25px; }
 body.agro-archive-count-1 .entries .entry-card { display: flex; padding: 0 0 24px; }
 body.agro-archive-count-1 .entries .entry-card > :not(.ct-media-container) { margin-inline: 22px; }
 body.agro-archive-count-1 .entries .entry-card > :not(.ct-media-container):first-child { margin-top: 0; }
 body.agro-archive-count-1 .entries .entry-card .ct-media-container { height: auto; min-height: 0; aspect-ratio: 16/10; border-radius: 16px 16px 0 0; }
 .agro-sidebar { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .agro-sidebar__tools { grid-column: auto; }
 body.agro-single :is(#ez-toc-container,.ez-toc-container,.lwptoc_i,.rank-math-toc-block) { padding: 20px !important; margin-block: 24px; }
 body.agro-single .wp-block-table :is(th,td) { padding: 12px 13px; min-width: 130px; }
 body.agro-ui #footer .ct-footer-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px !important; width: min(100%,440px); margin-inline: auto; }
 body.agro-ui #footer .ct-footer-menu li { text-align: center; }
 body.agro-ui #footer .ct-footer-menu li:last-child:nth-child(odd) { grid-column: 1/-1; }
 body.agro-ui #footer .ct-footer-menu a { font-size: 12px !important; line-height: 1.5; }
 body.agro-ui #footer .ct-footer-copyright { font-size: 11px !important; }
}
@media(max-width:419px) {
 .pc-v22__latest-four { grid-template-columns: minmax(0,1fr); gap: 19px; }
 .pc-v22__tile { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1fr); gap: 15px; }
 .pc-v22__tile-copy { padding: 0; }
 .pc-v22__tile-copy h3 { font-size: 16px; }
 .pc-v22__module-head { flex-wrap: wrap; gap: 7px; }
}
@media(prefers-reduced-motion:reduce) { .pc-v22 *, .agro-sidebar * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Footer builder variants: both an ul and a nav wrapping an ul are supported. */
body.agro-ui #footer nav.ct-footer-menu { display: block; width: 100%; }
body.agro-ui #footer :is(.ct-footer-menu > ul, [data-id="menu"] > ul.menu) { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 23px; list-style: none; padding: 0; margin: 0 auto; }
@media(max-width:639px) {
 body.agro-ui #footer :is(.ct-footer-menu > ul, [data-id="menu"] > ul.menu) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; width: min(100%,440px); }
 body.agro-ui #footer :is(.ct-footer-menu > ul, [data-id="menu"] > ul.menu) > li:last-child:nth-child(odd) { grid-column: 1/-1; }
}

body.agro-ui .pc-blocksy-hook { max-width: var(--theme-normal-container-max-width,1290px); margin-inline: auto; padding: 15px 22px; font-size: 14px; line-height: 1.6; }
body.agro-ui #footer .pc-blocksy-hook { text-align: center; color: #dcebe0; }

/* 1.2.0: match native Blocksy markup, not only the older .ct-footer-menu name. */
body.agro-ui #footer { --theme-link-initial-color:#e5efe8; --theme-link-hover-color:#ffffff; }
body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) {
 --theme-link-initial-color:#e5efe8; --theme-link-hover-color:#ffffff;
 --theme-text-color:#e5efe8; --color:#e5efe8; --linkInitialColor:#e5efe8; --linkHoverColor:#ffffff;
 width:100%;
}
body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) a {
 display:inline-flex; align-items:center; justify-content:center; min-height:44px;
 color:#e5efe8 !important; font-size:13px !important; font-weight:600 !important;
 text-transform:none !important; letter-spacing:0; line-height:1.5;
 text-decoration:none;
}
body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) a span { color:inherit !important; }
body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) a:is(:hover,:focus-visible) { color:#ffffff !important; text-decoration:underline; text-underline-offset:5px; }
body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) > ul {
 display:flex; flex-wrap:wrap; gap:6px 24px; align-items:center; justify-content:center;
 list-style:none; margin:0; padding:0;
}
body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) li { margin:0; padding:0; text-align:center; }
/* Keep theme's drawer focus management, inert state, animation and Escape behavior. */
body.agro-ui #offcanvas { background:rgba(10,28,19,.52) !important; --theme-link-initial-color:#183728; --theme-link-hover-color:#276b46; }
body.agro-ui #offcanvas .ct-panel-inner {
 background:#f8fbf8 !important; background-image:none !important;
 color:#183728; opacity:1; box-shadow:-12px 0 48px rgba(7,28,17,.2);
 --theme-text-color:#183728; --theme-link-initial-color:#183728; --theme-link-hover-color:#276b46;
 --linkInitialColor:#183728; --linkHoverColor:#276b46; --linkActiveColor:#276b46;
 max-width:100%;
}
body.agro-ui #offcanvas[data-behaviour*="side"] { --side-panel-width:min(420px,calc(100vw - 24px)); }
body.agro-ui #offcanvas .ct-panel-actions { padding:20px 24px; background:#f8fbf8; border-bottom:1px solid #dce7df; }
body.agro-ui #offcanvas .ct-panel-content { padding:22px 24px 34px; }
body.agro-ui #offcanvas :is(.ct-menu-link,.menu-item > a,[data-id="mobile-menu"] a,[data-id="language-switcher"] a) {
 color:#183728 !important; font-size:20px; font-weight:650; line-height:1.5;
 letter-spacing:-.015em; text-decoration:none; text-transform:none;
 min-height:48px;
}
body.agro-ui #offcanvas a span { color:inherit !important; }
body.agro-ui #offcanvas .sub-menu a { font-size:16px; font-weight:550; }
body.agro-ui #offcanvas :is(.current-menu-item > a,.current-lang > a,a:hover) { color:#276b46 !important; }
body.agro-ui #offcanvas :is(.ct-toggle-close,.ct-toggle-dropdown-mobile,.ct-toggle-dropdown-desktop,.child-indicator) { color:#183728 !important; --theme-icon-color:#183728; --icon-color:#183728; }
body.agro-ui #offcanvas :is(.ct-toggle-close,.child-indicator) svg { fill:currentColor; }
body.agro-ui #offcanvas .ct-toggle-close { min-width:44px; min-height:44px; background:#e8f0e9; border-radius:10px; }
body.agro-ui #offcanvas :is(a,button):focus-visible { outline:3px solid #276b46; outline-offset:3px; border-radius:5px; }
/* Native sidebar and all parents stay in flow; no overlay of legacy widgets. */
body.agro-single #sidebar :is(.widget_pc_agro_sidebar,.agro-sidebar,.agro-sidebar__secondary) { position:static; transform:none; }
body.agro-single #sidebar .widget_pc_agro_sidebar { height:auto; margin:0; }
body.agro-single #sidebar .agro-sidebar { display:flex; flex-direction:column; gap:24px; }
.agro-sidebar__secondary { display:grid; gap:24px; min-width:0; }
body.agro-single .ct-featured-image { margin-block:24px 32px; margin-inline:0; border-radius:var(--agro-radius,18px); overflow:hidden; }
body.agro-single .ct-featured-image img { width:100%; height:auto; }
@media(max-width:639px) {
 body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) > ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 14px; width:min(100%,440px); margin-inline:auto; }
 body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) > ul > li:last-child:nth-child(odd) { grid-column:1/-1; }
 body.agro-ui #footer :is(#footer-menu,nav[data-id="menu"],.ct-footer-menu) a { font-size:12px !important; }
 .agro-sidebar__secondary { gap:20px; }
}
/* Automatic title badge and explicit in-content shortcode intentionally differ. */
body.agro-ui .agro-apm-badge-wrap { margin-block:12px 16px; }
body.agro-ui .agro-apm-badge {
 display:inline-flex; align-items:center; max-width:100%; padding:7px 12px;
 border-radius:var(--agro-small-radius,10px); background:var(--agro-accent,#276b46);
 color:var(--agro-badge-on-accent,#fff); font-size:11px; font-weight:750; line-height:1.5;
 letter-spacing:.04em; text-transform:uppercase; overflow-wrap:anywhere;
}
body.agro-ui .article-badges { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 16px; }
body.agro-ui .article-badges .article-badge {
 display:inline-flex; align-items:center; max-width:100%; padding:6px 12px;
 border:1px solid #dce7df; border-radius:var(--agro-small-radius,10px);
 background:#f0f4f1; color:#435b4b; font-size:11px; font-weight:650; line-height:1.5;
 letter-spacing:.02em; text-transform:uppercase; white-space:normal; overflow-wrap:anywhere;
}

/* 1.3.0: genuine empty taxonomy state. No fake entries, no global query changes. */
.agro-empty-shell { padding-block:clamp(36px,6vw,80px); }
/* 1.5.1: the native .ct-container, not a second 1000px max-width, controls archive width. */
.agro-empty-shell.ct-container { min-width:0; }
.agro-empty { box-sizing:border-box; width:100%; max-width:100%; min-width:0; margin-inline:auto; color:var(--agro-text); }
.agro-empty__header { margin:0 0 28px; }
.agro-empty__header h1 { font-size:clamp(30px,4vw,44px); letter-spacing:-.035em; line-height:1.15; margin:12px 0 0; color:var(--agro-ink); }
.agro-empty__description { margin:0 0 24px; max-width:75ch; }
.agro-empty__message { display:flex; gap:22px; align-items:flex-start; background:#fff; border-radius:var(--agro-radius,18px); padding:clamp(24px,3vw,36px); box-shadow:var(--agro-shadow); }
.agro-empty__message h2 { font-size:clamp(22px,2.2vw,28px); line-height:1.3; margin:0 0 10px; }
.agro-empty__message p { max-width:65ch; margin:0; }
/* Draw the plus geometrically: font baselines cannot skew its optical center. */
.agro-empty__icon { position:relative; display:block; width:46px; height:46px; flex:0 0 46px; background:var(--agro-soft); color:var(--agro-accent); border-radius:14px; }
.agro-empty__icon::before,.agro-empty__icon::after { content:""; position:absolute; left:50%; top:50%; background:currentColor; border-radius:2px; transform:translate(-50%,-50%); }
.agro-empty__icon::before { width:16px; height:2px; }
.agro-empty__icon::after { width:2px; height:16px; }
.agro-empty__actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 26px; margin:26px 0 44px; }
.agro-empty__actions a { display:inline-flex; align-items:center; gap:14px; font-size:14px; font-weight:650; text-decoration:none; }
.agro-empty__actions .agro-empty__primary { min-height:46px; padding:12px 20px; background:var(--agro-accent); color:white; border-radius:var(--agro-small-radius,10px); }
.agro-empty__topics h2 { margin:0 0 18px; font-size:22px; }
.agro-empty__topics ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.agro-empty__topics li { margin:0; }
.agro-empty__topics a { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:17px 20px; background:var(--agro-soft); color:var(--agro-ink); border-radius:11px; text-decoration:none; }
.agro-empty a:focus-visible { outline:3px solid var(--agro-accent); outline-offset:4px; }
/* Featured image caption is hidden ONLY in the main native featured image.
   Caption/ALT metadata and captions of ordinary article figures are untouched. */
body.agro-single .ct-featured-image { margin-block:0 22px; }
body.agro-single .ct-featured-image :is(figcaption,.ct-image-caption,.wp-caption-text) { display:none !important; }
body.agro-single .ct-featured-image + :is(.entry-header,.hero-section) { margin-top:0 !important; padding-top:0; }
body.agro-single .ct-featured-image + .hero-section .entry-header { margin-top:0; }
/* Stretch the containing rail, not the visible cards. CSS sticky ends at the article. */
@media(min-width:1000px) {
 body.agro-single #sidebar { align-self:stretch; }
 body.agro-single #sidebar.agro-sticky-rail { display:flex; flex-direction:column; position:static; }
 body.agro-single #sidebar.agro-sticky-rail > .ct-sidebar-inner { flex:1 1 auto; display:flex; flex-direction:column; position:static; transform:none; }
 body.agro-single #sidebar.agro-sticky-rail .widget_pc_agro_sidebar { flex:1 1 auto; display:flex; flex-direction:column; height:auto; min-height:0; }
 body.agro-single #sidebar.agro-sticky-rail .agro-sidebar { flex:1 1 auto; min-height:0; align-self:stretch; }
 body.agro-single #sidebar.agro-sticky-rail .agro-sidebar > .agro-sidebar__section { flex:0 0 auto; }
 body.agro-single #sidebar.agro-sticky-rail .agro-sidebar__secondary[data-sticky-ready="true"] { position:sticky; top:var(--agro-sticky-top,16px); flex:0 0 auto; align-self:stretch; z-index:1; }
}
@media(max-width:639px) {
 .agro-empty__message { gap:14px; padding:22px; }
 .agro-empty__icon { width:34px; height:34px; flex-basis:34px; }
 .agro-empty__topics ul { grid-template-columns:minmax(0,1fr); }
 body.agro-single .ct-featured-image { margin-bottom:18px; }
}

/* AGRO 1.4 diagnostic pass: exact native Blocksy sibling markup seen on post 4031.
   The previous margin tweak was ineffective because Blocksy gives hero its own padding. */
body.agro-single article > .ct-featured-image {
  margin-block: 0 14px !important;
  padding-block: 0 !important;
}
body.agro-single article > .ct-featured-image + .hero-section {
  margin-block: 0 16px !important;
  padding-block: 0 !important;
  min-height: 0 !important;
}
body.agro-single article > .ct-featured-image + .hero-section .entry-header {
  padding-block: 0 !important;
  margin-block: 0 !important;
}
body.agro-single article > .ct-featured-image + .hero-section .page-title {
  margin-block-start: 0 !important;
  line-height: 1.19;
}
body.agro-single article > .ct-featured-image + .hero-section .entry-meta {
  gap: 6px 10px;
}
body.agro-single article > .ct-featured-image + .hero-section .agro-apm-badge-wrap {
  align-self: center;
}

/* Existing Gutenberg tools hub: improve the hierarchy without changing page content. */
/* Gutenberg's classic/freeform content may sit in a full-bleed parent.
   Cap the whole tools hub at the effective Blocksy site container; do not
   invent a separate 1160px portal width. The CT container remains native. */
body.agro-ui.agro-tools-hub-page #main .entry-content {
 width: 100%;
 max-width: var(--theme-normal-container-max-width, 1290px) !important;
 min-width: 0;
 margin-inline: auto !important;
 box-sizing: border-box;
}
body.agro-ui.agro-tools-hub-page #main .entry-content > :is(.alignfull, .alignwide, .wp-block-freeform) {
 max-width: 100%;
 min-width: 0;
 margin-inline: auto;
 box-sizing: border-box;
}
body.agro-tools-hub-page .entry-content > :is(h2,.wp-block-heading) {
  margin-block: 42px 14px;
  font-size:clamp(22px,2.2vw,29px);
  line-height:1.2;
  letter-spacing:-.025em;
}
body.agro-tools-hub-page .entry-content > :is(h2,.wp-block-heading) + p {
  border:1px solid #dfe9e2;
  border-radius:16px;
  padding:clamp(20px,2.7vw,28px);
  background:linear-gradient(130deg,#fff 0%,#f7faf7 100%);
  line-height:1.7;
  box-shadow:0 8px 22px rgba(16,58,34,.035);
}
body.agro-tools-hub-page .entry-content > ul {
  list-style:none;
  margin:0 0 40px;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
body.agro-tools-hub-page .entry-content > ul > li {
  margin:0;
  padding:14px 17px;
  border:1px solid #dfe9e2;
  border-radius:12px;
  background:#fff;
}
body.agro-tools-hub-page .entry-content :is(a,a:visited) { color:var(--agro-accent,#276b46); }
body.agro-tools-hub-page .entry-content a:is(:focus-visible,:hover) { text-decoration:underline; }

/* Calculator pages: the tool itself and the editorial explanation share a sane
   column; the navigation at the end is a set of calm links, not a raw bullet dump. */
/* Calculator explanations and related links use the same editor-block
   limits as the shortcode, not independent 1080px geometry. */
body.agro-calculator-page .entry-content > :is(h2,h3,.wp-block-heading),
body.agro-calculator-page .entry-content > :is(p,ul,.wp-block-list) {
  width: var(--theme-block-width, var(--theme-container-width, 100%));
  max-width: min(var(--theme-block-max-width, var(--theme-normal-container-max-width, 1290px)), var(--theme-normal-container-max-width, 1290px));
  margin-inline:auto;
}
body.agro-calculator-page .entry-content > :is(ul,.wp-block-list) {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding-inline:0;
}
body.agro-calculator-page .entry-content > :is(ul,.wp-block-list) > li {
  min-width:0;
  margin:0;
  padding:15px 18px;
  border-radius:13px;
  background:#fff;
  border:1px solid #dce7df;
}
body.agro-calculator-page .entry-content > :is(ul,.wp-block-list) > li a { font-weight:620; text-decoration:none; }
body.agro-calculator-page .entry-content > :is(ul,.wp-block-list) > li a:hover { text-decoration:underline; }
body.agro-calculator-page .entry-content > p:has(> a[href*="/narzedzia/"]) > a {
  display:inline-flex;
  align-items:center;
  border:1px solid #cee0d1;
  border-radius:12px;
  padding:12px 18px;
  text-decoration:none;
  font-size:15px;
  font-weight:680;
  background:#f1f7f2;
}
@media(max-width:800px) {
  body.agro-calculator-page .entry-content > :is(ul,.wp-block-list) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.agro-tools-hub-page .entry-content > ul { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
  body.agro-ui.agro-tools-hub-page #main > .entry-content {
    width: var(--theme-container-width, calc(100% - 32px));
  }
  body.agro-single article > .ct-featured-image { margin-block-end:11px !important; }
  body.agro-single article > .ct-featured-image + .hero-section { margin-bottom:12px !important; }
  body.agro-calculator-page .entry-content > :is(ul,.wp-block-list) { grid-template-columns:minmax(0,1fr); }
  body.agro-tools-hub-page .entry-content > :is(h2,.wp-block-heading) + p { padding:20px; }
}
