:root {
  --agnx-ink: #0a1108;
  --agnx-green: #36492e;
  --agnx-green-2: #4a633f;
  --agnx-gold: #dfe8d9;
  --agnx-cream: #faf7f0;
  --agnx-paper: #ffffff;
  --agnx-line: rgba(54, 73, 46, .20);
}

.agnx-page,
.agnx-page * { box-sizing: border-box; }
.agnx-skip-link {
  position: fixed;
  z-index: 100000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border: 3px solid #fff;
  border-radius: 3px;
  background: var(--agnx-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}
.agnx-skip-link:focus { transform: translateY(0); }
.agnx-page {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--agnx-ink);
  background: var(--agnx-paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
.agnx-page img { display: block; max-width: 100%; }
.agnx-page a,
.agnx-page button { min-width: 44px; min-height: 44px; }
.agnx-page :focus-visible,
.agnx-skip-link:focus-visible {
  outline: 3px solid #ffd868 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 3px var(--agnx-ink) !important;
}
.agnx-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.agnx-page h1,
.agnx-page h2,
.agnx-page h3 { margin: 0; color: inherit; font-family: inherit; font-weight: 750; letter-spacing: -.035em; }
.agnx-page h1 { max-width: 930px; font-size: clamp(42px, 6.1vw, 82px); line-height: 1.02; }
.agnx-page h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.agnx-page p { margin: 0; }
.agnx-eyebrow,
.agnx-kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.agnx-eyebrow { margin-bottom: 22px !important; color: #dfe8d9; }
.agnx-eyebrow.agnx-dark { color: var(--agnx-green-2); }
.agnx-kicker { color: var(--agnx-green-2); }

.agnx-hero { position: relative; isolation: isolate; min-height: 610px; display: flex; align-items: flex-end; overflow: hidden; background: var(--agnx-ink); color: #fff; }
/* Elementor loads after this stylesheet and otherwise resets image height to auto. */
.agnx-page .agnx-hero > img { position: absolute !important; z-index: 0; inset: 0 !important; width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; padding: 0; object-fit: cover !important; }
.agnx-type-home .agnx-hero { background-image: var(--agnx-home-hero-image); background-position: center center; background-repeat: no-repeat; background-size: cover; }
.agnx-type-home .agnx-hero > img { opacity: 0; }
.agnx-type-stationary .agnx-hero { background: #edf1e9; color: var(--agnx-ink); }
.agnx-type-stationary .agnx-hero > img { object-fit: contain !important; object-position: 78% center; padding: 42px 3vw 42px 42% !important; background: #edf1e9; }
.agnx-type-stationary .agnx-hero-shade { background: linear-gradient(90deg, rgba(237,241,233,.99) 0%, rgba(237,241,233,.96) 42%, rgba(237,241,233,.36) 66%, rgba(237,241,233,.06) 100%); }
.agnx-type-stationary .agnx-eyebrow { color: var(--agnx-green-2); }
.agnx-type-stationary .agnx-lead { color: rgba(16,34,25,.88); }
.agnx-type-stationary .agnx-btn-ghost { border-color: rgba(16,34,25,.42); background: rgba(255,255,255,.54); color: var(--agnx-ink) !important; }
.agnx-type-stationary .agnx-ai-badge { border-color: rgba(16,34,25,.22); background: rgba(255,255,255,.86); color: var(--agnx-ink); }
.agnx-type-stationary .agnx-hero-panel { border-color: rgba(54,73,46,.18); background: rgba(255,255,255,.92); box-shadow: 0 24px 70px rgba(31,47,27,.16); }
.agnx-type-stationary .agnx-brand-words span { color: rgba(16,34,25,.72); }
.agnx-type-service .agnx-hero > img { filter: brightness(1.28) contrast(1.03); }
.agnx-type-service .agnx-hero-shade { background: linear-gradient(90deg, rgba(10,17,8,.94) 0%, rgba(10,17,8,.74) 48%, rgba(10,17,8,.18) 72%, rgba(10,17,8,.03) 100%), linear-gradient(0deg, rgba(10,17,8,.30), transparent 50%); }
.agnx-type-wetmills .agnx-hero { background: #edf1e9; color: var(--agnx-ink); }
.agnx-page.agnx-type-wetmills .agnx-hero > img { object-fit: contain !important; object-position: 82% center; padding: 44px 3vw 44px 39% !important; filter: contrast(1.08) saturate(1.04); }
.agnx-type-wetmills .agnx-hero-shade { background: linear-gradient(90deg, rgba(237,241,233,.99) 0%, rgba(237,241,233,.97) 43%, rgba(237,241,233,.40) 68%, rgba(237,241,233,.10) 100%); }
.agnx-type-wetmills .agnx-hero-panel { width: min(900px,100%); border-color: rgba(54,73,46,.18); background: rgba(255,255,255,.94); box-shadow: 0 24px 70px rgba(31,47,27,.16); }
.agnx-type-wetmills .agnx-hero-panel h1 { max-width: 790px; font-size: clamp(40px,5vw,68px); }
.agnx-type-wetmills .agnx-eyebrow { color: var(--agnx-green-2); }
.agnx-type-wetmills .agnx-lead { color: rgba(16,34,25,.88); }
.agnx-type-wetmills .agnx-btn-ghost { border-color: rgba(16,34,25,.42); background: rgba(255,255,255,.54); color: var(--agnx-ink) !important; }
.agnx-type-wetmills .agnx-ai-badge { border-color: rgba(16,34,25,.22); background: rgba(255,255,255,.90); color: var(--agnx-ink); }
.agnx-type-wetmills .agnx-brand-words span { color: rgba(16,34,25,.72); }
.agnx-hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(10,17,8,.90) 0%, rgba(10,17,8,.58) 48%, rgba(10,17,8,.08) 100%), linear-gradient(0deg, rgba(10,17,8,.40), transparent 55%); }
.agnx-hero-copy { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 84px; }
.agnx-hero-panel { width: min(980px,100%); padding: 34px 40px 42px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; background: rgba(7,15,8,.84); box-shadow: 0 28px 80px rgba(0,0,0,.26); backdrop-filter: blur(10px); }
.agnx-brand-lockup { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.agnx-brand-logo { width: 66px; height: 66px; display: grid; flex: 0 0 66px; place-items: center; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.agnx-brand-logo img { width: 60px; height: 60px; object-fit: contain; }
.agnx-brand-words { display: flex; flex-direction: column; gap: 3px; }
.agnx-brand-words strong { font-size: clamp(22px,2.2vw,30px); line-height: 1; letter-spacing: .025em; }
.agnx-brand-words span { color: rgba(255,255,255,.76); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.agnx-brand-words sup,
.agnx-partner-owner sup,
.agnx-cta-brand sup,
.agnx-footer-brand sup { font-size: .48em; vertical-align: super; line-height: 0; }
.agnx-lead { max-width: 800px; margin-top: 26px !important; color: rgba(255,255,255,.9); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.agnx-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.agnx-btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 25px; border: 1px solid var(--agnx-gold); border-radius: 3px; background: var(--agnx-gold); color: #132019 !important; font-size: 15px; font-weight: 800; text-decoration: none !important; transition: transform .2s ease, background .2s ease; }
.agnx-btn:hover { transform: translateY(-2px); border-color: #f1f5ee; background: #f1f5ee; }
.agnx-btn-ghost { border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.08); color: #fff !important; backdrop-filter: blur(8px); }
.agnx-ai-badge { position: absolute; z-index: 3; right: 18px; bottom: 15px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 3px; background: rgba(10,17,8,.62); color: rgba(255,255,255,.92); font-size: 11px; font-weight: 650; line-height: 1.25; backdrop-filter: blur(8px); }

.agnx-partners { border-bottom: 1px solid var(--agnx-line); background: #fff; }
.agnx-partners .agnx-wrap { min-height: 92px; display: flex; align-items: center; gap: 28px; }
.agnx-partners span { margin-right: auto; color: #627067; font-size: 14px; font-weight: 650; }
.agnx-partners strong { font-size: clamp(19px, 2.4vw, 29px); letter-spacing: .02em; }
.agnx-partner-owner { color: var(--agnx-green); white-space: nowrap; }
.agnx-partners i { width: 1px; height: 32px; background: var(--agnx-line); }

.agnx-intro { padding: 110px 0 82px; }
.agnx-intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.agnx-intro-copy { font-size: clamp(20px, 2.3vw, 28px); line-height: 1.55; }
.agnx-section { padding: 95px 0; }
.agnx-section-soft { background: var(--agnx-cream); }
.agnx-section-grid { display: grid; grid-template-columns: minmax(250px,.82fr) minmax(0,1.18fr); gap: 90px; align-items: start; }
.agnx-section-grid .agnx-kicker { margin-bottom: 18px; }
.agnx-section-grid > div:last-child > p { color: #435149; font-size: 20px; }
.agnx-checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.agnx-checks li { position: relative; padding-left: 28px; font-weight: 650; }
.agnx-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--agnx-green-2); font-weight: 900; }

.agnx-gallery-section { padding-top: 24px; background: var(--agnx-cream); }
.agnx-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.agnx-gallery figure { position: relative; aspect-ratio: 16 / 9; min-height: 0; margin: 0; overflow: hidden; border: 1px solid rgba(54,73,46,.12); border-radius: 6px; background: linear-gradient(145deg,#f7faf5,#e7eee2); box-shadow: 0 16px 38px rgba(34,52,29,.08); transition: box-shadow .25s ease; }
.agnx-gallery figure::before { content: "AGRO‑NEX®"; position: absolute; z-index: 0; left: 50%; top: 50%; transform: translate(-50%,-50%); color: rgba(54,73,46,.14); font-size: clamp(20px,3vw,36px); font-weight: 850; letter-spacing: .06em; white-space: nowrap; }
.agnx-gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.agnx-page .agnx-gallery figure > img { position: absolute !important; z-index: 1; inset: 0 !important; width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; padding: 0 !important; object-fit: cover !important; background: transparent; }
.agnx-type-stationary .agnx-gallery figure { background: #f3f5f0; }
.agnx-page.agnx-type-stationary .agnx-gallery figure > img { object-fit: contain !important; padding: 24px !important; }
.agnx-gallery figure:hover { box-shadow: 0 20px 46px rgba(34,52,29,.14); }
.agnx-gallery figcaption { position: absolute; z-index: 2; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 2px; background: rgba(10,17,8,.68); color: rgba(255,255,255,.96); font-size: 11px; font-weight: 650; line-height: 1.25; backdrop-filter: blur(6px); }

.agnx-video-section { background: var(--agnx-ink); color: #fff; }
.agnx-video-section h2 { margin-bottom: 38px; }
.agnx-videos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.agnx-video-card { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: rgba(255,255,255,.045); }
.agnx-video { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: radial-gradient(circle at 80% 20%, rgba(223,232,217,.20), transparent 34%), linear-gradient(135deg,#4a633f,#0a1108 72%); }
.agnx-video::after { content: "ROmiLL  ·  BUDISSA BAG"; position: absolute; right: 18px; bottom: 14px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.agnx-video button { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.agnx-video button span { width: 76px; height: 76px; display: grid; place-items: center; padding-left: 5px; border-radius: 50%; background: var(--agnx-gold); color: var(--agnx-ink); font-size: 27px; box-shadow: 0 16px 38px rgba(0,0,0,.3); transition: transform .2s ease; }
.agnx-video button:hover span { transform: scale(1.06); }
.agnx-video iframe { width: 100%; height: 100%; border: 0; }
.agnx-video-copy { padding: 22px 24px 25px; }
.agnx-video-copy h3 { font-size: 24px; line-height: 1.2; }
.agnx-video-copy p { margin-top: 10px !important; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.55; }
.agnx-video-note { margin-top: 18px !important; color: rgba(255,255,255,.68); font-size: 13px; }

.agnx-specs-section { border-top: 1px solid var(--agnx-line); background: #f4f6f1; }
.agnx-spec-block + .agnx-spec-block { margin-top: 64px; }
.agnx-spec-block h2 { max-width: 900px; margin-bottom: 28px; }
.agnx-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--agnx-line); background: #fff; }
.agnx-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; color: var(--agnx-ink); font-variant-numeric: tabular-nums; }
.agnx-table-wrap th,
.agnx-table-wrap td { padding: 17px 20px; border-bottom: 1px solid var(--agnx-line); text-align: left; vertical-align: top; }
.agnx-table-wrap thead th { background: var(--agnx-green); color: #fff; font-size: 14px; letter-spacing: .035em; }
.agnx-page .agnx-table-wrap tbody th { background: #172419 !important; color: #fff !important; font-weight: 850; }
.agnx-table-wrap tbody tr:last-child th,
.agnx-table-wrap tbody tr:last-child td { border-bottom: 0; }
.agnx-table-wrap tbody tr:nth-child(even) { background: var(--agnx-cream); }
.agnx-spec-source { margin-top: 16px !important; color: #4d5b52; font-size: 14px; }
.agnx-spec-source a,
.agnx-source-line a { color: var(--agnx-green) !important; font-weight: 800; text-underline-offset: 4px; }

.agnx-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--agnx-line); border-left: 1px solid var(--agnx-line); }
.agnx-contact-grid > * { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border-right: 1px solid var(--agnx-line); border-bottom: 1px solid var(--agnx-line); background: #fff; color: var(--agnx-ink) !important; text-decoration: none !important; }
.agnx-contact-grid span { color: #69756d; font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.agnx-contact-grid strong { font-size: clamp(22px,3vw,37px); line-height: 1.18; letter-spacing: -.025em; }
.agnx-contact-grid a:hover { background: var(--agnx-cream); }

.agnx-cta { padding: 86px 0; background: var(--agnx-gold); color: var(--agnx-ink); }
.agnx-cta .agnx-eyebrow { color: var(--agnx-green); }
.agnx-cta-brand { margin-bottom: 11px !important; color: var(--agnx-green); font-size: 24px; font-weight: 900; letter-spacing: .035em; }
.agnx-cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.agnx-cta-grid p:last-child { max-width: 650px; margin-top: 18px !important; font-size: 19px; }
.agnx-cta-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.agnx-cta-links a { color: var(--agnx-ink) !important; font-size: clamp(21px,2.5vw,34px); font-weight: 800; text-decoration: none !important; border-bottom: 1px solid rgba(16,34,25,.38); }

.agnx-article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.agnx-article-grid article { border: 1px solid var(--agnx-line); background: #fff; }
.agnx-article-grid a { height: 100%; display: flex; flex-direction: column; color: var(--agnx-ink) !important; text-decoration: none !important; }
.agnx-article-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.agnx-article-grid article div { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.agnx-article-grid h2 { font-size: 27px; }
.agnx-article-author { display: block; margin-bottom: 13px; color: var(--agnx-green-2); font-size: 12px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.agnx-article-grid p { margin-top: 16px !important; color: #56635b; }
.agnx-article-grid span { margin-top: auto; padding-top: 24px; color: var(--agnx-green-2); font-weight: 800; }
.agnx-thumb-ai { position: relative; display: block; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; padding: 0 !important; background: linear-gradient(145deg,#f7faf5,#e7eee2); }
.agnx-thumb-ai::before { content: "AGRO‑NEX®"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: rgba(54,73,46,.13); font-size: 28px; font-weight: 850; letter-spacing: .05em; white-space: nowrap; }
.agnx-page .agnx-thumb-ai img { position: absolute !important; z-index: 1; inset: 0 !important; width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; object-fit: cover !important; }
.agnx-thumb-ai small { position: absolute; z-index: 2; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 2px; background: rgba(10,17,8,.62); color: rgba(255,255,255,.92); font-size: 11px; font-weight: 650; line-height: 1.25; backdrop-filter: blur(6px); }
.agnx-post-ai-note { display: inline-block; margin: 0 0 22px !important; padding: 7px 10px; border: 1px solid var(--agnx-line); border-radius: 2px; background: var(--agnx-cream); color: #536159; font-size: 12px; font-weight: 700; }
.agnx-post-byline { margin: 0 0 12px !important; color: var(--agnx-green); font-size: 15px; font-weight: 850; }
.agnx-source-line { margin-top: 34px !important; padding-top: 18px; border-top: 1px solid var(--agnx-line); font-size: 14px; }
.agnx-page-footer { padding: 25px 0; border-top: 1px solid var(--agnx-line); background: #fff; }
.agnx-page-footer .agnx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.agnx-footer-brand { display: grid; grid-template-columns: 54px auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; }
.agnx-footer-brand img { width: 54px; height: 54px; grid-row: 1 / 3; object-fit: contain; }
.agnx-footer-brand strong { color: var(--agnx-green); font-size: 20px; line-height: 1.05; letter-spacing: .035em; }
.agnx-footer-brand > span { color: #68746c; font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.agnx-page-footer a { display: inline-flex; align-items: center; color: var(--agnx-green) !important; font-weight: 750; text-underline-offset: 4px; }
.agnx-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.agnx-social-links { display: flex; align-items: center; gap: 9px; }
.agnx-social-links a { width: 44px; height: 44px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--agnx-line); border-radius: 50%; background: #fff; color: var(--agnx-green) !important; text-decoration: none !important; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.agnx-social-links a:hover { transform: translateY(-2px); border-color: var(--agnx-green); background: var(--agnx-green); color: #fff !important; }
.agnx-social-links svg { width: 22px; height: 22px; overflow: visible; fill: currentColor; stroke: none; }
.agnx-social-links a:first-child svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.agnx-social-links a:first-child .agnx-social-fill { fill: currentColor; stroke: none; }
.agnx-post-socials { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--agnx-line); }

.agnx-post-brand { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 15px 18px; border: 1px solid var(--agnx-line); border-radius: 4px; background: #f4f7f1; }
.agnx-post-brand img { width: 60px; height: 60px; object-fit: contain; }
.agnx-post-brand span { display: flex; flex-direction: column; }
.agnx-post-brand strong { color: var(--agnx-green); font-size: 21px; line-height: 1.1; letter-spacing: .025em; }
.agnx-post-brand small { margin-top: 4px; color: #657269; font-size: 12px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
body.single-post .post_content h2 { margin: 44px 0 16px; color: var(--agnx-ink); font-size: clamp(27px,3.2vw,40px); line-height: 1.15; }
body.single-post .post_content p,
body.single-post .post_content li { font-size: 18px; line-height: 1.76; }
body.single-post .post_content ul { margin: 18px 0 26px; }
body.single-post .post_featured:not(.post_featured_bg) { overflow: hidden; border-radius: 5px; background: linear-gradient(145deg,#f7faf5,#e7eee2); }

/* Keep the original logo prominent without crowding the navigation. */
body .sc_layouts_logo_default .logo_image,
body .search_header_wrap .logo_image { width: auto !important; max-width: none !important; max-height: 72px !important; }

/* Bring the remaining Agricola header CTA into the AGRO-NEX brand system. */
body .sc_button.color_style_link2 {
  border-color: var(--agnx-green) !important;
  background-color: var(--agnx-green) !important;
  color: #fff !important;
}
body .sc_button.color_style_link2:hover,
body .sc_button.color_style_link2:focus-visible {
  border-color: var(--agnx-ink) !important;
  background-color: var(--agnx-ink) !important;
  color: #fff !important;
}

/* The header template contains the same telephone number twice. Keep the clear CTA button only. */
body .sc_layouts_iconed_text_link[href="tel:+436645122816"] {
  display: none !important;
}
.agnx-accessibility-content { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 84px 0 100px; color: var(--agnx-ink); font-size: 18px; line-height: 1.75; }
.agnx-accessibility-content h1 { margin: 0 0 36px; font-size: clamp(40px,6vw,66px); line-height: 1.06; }
.agnx-accessibility-content h2 { margin: 48px 0 18px; font-size: clamp(27px,4vw,40px); line-height: 1.15; }
.agnx-accessibility-content li + li { margin-top: 10px; }
.agnx-accessibility-content a { color: var(--agnx-green); font-weight: 750; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .agnx-wrap { width: min(100% - 34px, 720px); }
  .agnx-hero { min-height: 590px; }
  .agnx-hero-panel { padding: 30px 32px 36px; }
  .agnx-intro-grid,
  .agnx-section-grid,
  .agnx-cta-grid { grid-template-columns: 1fr; gap: 34px; }
  .agnx-checks { grid-template-columns: 1fr; }
  .agnx-videos,
  .agnx-article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .agnx-page { font-size: 16px; }
  .agnx-wrap { width: calc(100% - 28px); }
  .agnx-hero { min-height: 650px; }
  .agnx-hero-copy { padding-top: 64px; padding-bottom: 64px; }
  .agnx-hero-panel { padding: 24px 22px 28px; }
  .agnx-brand-logo { width: 58px; height: 58px; flex-basis: 58px; }
  .agnx-brand-logo img { width: 52px; height: 52px; }
  .agnx-brand-words span { font-size: 10px; letter-spacing: .075em; }
  .agnx-hero-actions { align-items: stretch; flex-direction: column; }
  .agnx-btn { width: 100%; }
  .agnx-ai-badge { right: 14px; bottom: 12px; max-width: calc(100% - 28px); }
  .agnx-page.agnx-type-wetmills .agnx-hero > img { object-position: center bottom; padding: 280px 0 18px !important; opacity: .36; }
  .agnx-type-wetmills .agnx-hero-panel { background: rgba(255,255,255,.97); }
  .agnx-partners .agnx-wrap { min-height: 118px; flex-wrap: wrap; gap: 15px 21px; padding: 22px 0; }
  .agnx-partners span { width: 100%; }
  .agnx-partner-owner { width: 100%; }
  .agnx-intro,
  .agnx-section { padding: 70px 0; }
  .agnx-gallery { grid-template-columns: 1fr; }
  .agnx-gallery figure,
  .agnx-gallery figure:nth-child(n) { grid-column: auto; aspect-ratio: 16 / 9; }
  .agnx-contact-grid { grid-template-columns: 1fr; }
  .agnx-contact-grid > * { min-height: 145px; padding: 24px; }
  .agnx-cta { padding: 68px 0; }
  .agnx-page-footer .agnx-wrap { align-items: flex-start; flex-direction: column; }
  .agnx-footer-actions { width: 100%; align-items: flex-start; flex-direction: column; gap: 15px; }
  body .sc_layouts_logo_default .logo_image,
  body .search_header_wrap .logo_image { max-height: 60px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto !important; }
  .agnx-page *,
  .agnx-page *::before,
  .agnx-page *::after,
  .agnx-skip-link {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .agnx-btn:hover,
  .agnx-video button:hover span { transform: none; }
}

@media (prefers-contrast: more) {
  .agnx-page { --agnx-line: rgba(54,73,46,.58); }
  .agnx-btn,
  .agnx-contact-grid > *,
  .agnx-video-card { border-width: 2px; }
}

@media (forced-colors: active) {
  .agnx-hero-shade { background: CanvasText; opacity: .72; }
  .agnx-ai-badge,
  .agnx-video,
  .agnx-video-card { border: 1px solid ButtonText; }
  .agnx-btn,
  .agnx-video button span { forced-color-adjust: auto; }
}

/* Final layout: remove theme spacing only when the AGRO-NEX page shell is present. */
body:has(.agnx-page) .page_content_wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
