/* Agro Academy only. The site's shared header and unrelated pages retain their styles. */
.mec-agro-page #main { background: #f7f8f3; padding-bottom: 0; }
.mec-agro { --agro-green: #214b3c; --agro-ink: #243c31; --agro-muted: #56695d; --agro-line: #dce5d9; color: var(--agro-ink); font-size: 17px; line-height: 1.7; }
.mec-agro, .mec-agro * { box-sizing: border-box; }
.mec-agro-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.mec-agro h1, .mec-agro h2, .mec-agro h3 { font-family: inherit; color: var(--agro-ink); letter-spacing: -.035em; line-height: 1.15; font-weight: 700; overflow-wrap: break-word; }
.mec-agro h1 { max-width: 21ch; font-size: clamp(34px, 4.8vw, 64px); margin: 18px 0 24px; }
.mec-agro h2 { font-size: clamp(27px, 3vw, 38px); margin: 0 0 22px; }
.mec-agro h3 { font-size: 23px; margin: 14px 0; }
.mec-agro p { margin: 0 0 20px; }
.mec-agro a { color: var(--agro-green); }
.mec-agro a:focus-visible, .mec-agro button:focus-visible, .mec-agro input:focus-visible, .mec-agro select:focus-visible { outline: 3px solid #b57a26; outline-offset: 4px; }
.mec-agro-kicker { display: block; color: #52714c; font-size: 12px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .13em; }
.mec-agro-hero { padding: 64px 0 60px; background: #e9efe3; border-bottom: 1px solid #d1dec9; position: relative; overflow: hidden; }
.mec-agro-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border: 1px solid #c6d5bb; border-radius: 50%; box-shadow: 0 0 0 44px #e0e9d7, 0 0 0 45px #c6d5bb, 0 0 0 88px #e0e9d7, 0 0 0 89px #c6d5bb; opacity: .55; pointer-events: none; }
.mec-agro-hero .mec-agro-shell { position: relative; z-index: 1; }
.mec-agro-hero > * { position: relative; z-index: 1; }
.mec-agro > .mec-agro-shell > .mec-agro-hero { padding: 52px 48px; border-radius: 14px; margin-top: 32px; }
/* Keep the hub introduction plain below its supplied banner (#326). */
.page-id-6239 .mec-agro > .mec-agro-shell > .mec-agro-hero { padding: 32px 0; background: transparent; border: 0; border-radius: 0; }
.page-id-6239 .mec-agro-hero::after { display: none; }
.mec-agro-lead { max-width: 760px; font-size: 19px; color: #405c49; line-height: 1.7; }
.mec-agro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.mec-agro-actions a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 23px; background: var(--agro-green); border: 1px solid var(--agro-green); border-radius: 6px; color: #fff; font-size: 15px; line-height: 1.5; font-weight: 700; text-decoration: none; }
.mec-agro-actions a + a { color: var(--agro-green); background: #f5f8f1; }
.mec-agro-actions a:hover { background: #153c2d; color: #fff; }
.mec-agro-section { padding: 48px 0; border-bottom: 1px solid var(--agro-line); }
.mec-agro-section > p { max-width: 850px; }
.mec-agro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.mec-agro-card { display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--agro-line); border-radius: 10px; background: #fff; text-decoration: none; transition: border-color .15s, background .15s; }
.mec-agro-card:hover { border-color: #6f8b66; background: #f0f5eb; text-decoration: none; }
.mec-agro-card h3 { font-size: 22px; line-height: 1.3; }
.mec-agro-card p { font-size: 15px; line-height: 1.65; color: var(--agro-muted); }
.mec-agro-number, .mec-agro-card-number { display: block; color: #6c825e; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.mec-agro-card-more { display: block; margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; }
.mec-agro-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 54px; align-items: start; }
.mec-agro-layout > div, .mec-agro-layout > section, .mec-agro-layout > aside { min-width: 0; }
.mec-agro-bullets { list-style: none; padding: 0; margin: 24px 0; }
.mec-agro-bullets li { position: relative; margin: 0; padding: 17px 0 17px 30px; border-bottom: 1px solid var(--agro-line); }
.mec-agro-bullets li::before { content: "↗"; color: #557742; position: absolute; left: 0; top: 17px; font-weight: 700; }
.mec-agro-interest { margin: 44px 0 64px; padding: 32px; border: 1px solid var(--agro-line); border-radius: 12px; background: #fff; scroll-margin-top: 28px; }
.mec-agro-interest h2 { font-size: 29px; }
.mec-agro-interest > p { color: var(--agro-muted); font-size: 15px; }
.mec-agro-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mec-agro-form-fields > p { margin: 0; min-width: 0; }
.mec-agro-form-fields .mec-agro-form-wide, .mec-agro-form-fields .full-width { grid-column: 1 / -1; }
.mec-agro-form-fields > p:nth-child(5) { grid-column: 1 / -1; }
.mec-agro-interest label { display: block; margin: 0; color: var(--agro-ink); font-size: 14px; font-weight: 600; line-height: 1.6; }
.mec-agro-interest .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.mec-agro-interest input[type="text"], .mec-agro-interest input[type="email"], .mec-agro-interest input[type="tel"], .mec-agro-interest select { display: block; min-width: 0; width: 100%; height: auto; min-height: 48px; padding: 11px 12px; background: #f9faf7; color: var(--agro-ink); border: 1px solid #cbd8c8; border-radius: 5px; font-size: 16px; font-family: inherit; line-height: 1.5; }
.mec-agro-interest .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; }
.mec-agro-interest .wpcf7-list-item { margin-left: 0; }
.mec-agro-interest input[type="checkbox"] { flex: 0 0 auto; margin-top: 5px; width: 18px; height: 18px; accent-color: var(--agro-green); }
.mec-agro-interest input[type="submit"] { width: 100%; min-height: 48px; padding: 12px 18px; background: var(--agro-green); color: #fff; border: 0; border-radius: 5px; font-size: 15px; font-weight: 700; white-space: normal; }
.mec-agro-interest .wpcf7-not-valid-tip { font-size: 13px; margin-top: 5px; }
.mec-agro-related { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0 48px; }
.mec-agro-related a { padding: 8px 13px; background: #eaf0e4; border: 1px solid #d2ddc8; border-radius: 5px; font-size: 14px; text-decoration: none; }
.mec-agro-layout .mec-agro-related { display: block; margin: 48px 0 0; padding: 28px; border: 0; border-radius: 10px; background: #eaf0e4; }
.mec-agro-layout .mec-agro-related h2 { font-size: 25px; }
.mec-agro-poster { width: 100%; max-width: 460px; margin: 0 auto 28px; }
.mec-agro-poster a { display: block; padding: 0; border: 0; background: transparent; }
.mec-agro-poster img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 6px; }
.mec-agro-related ul { list-style: none; margin: 0; padding: 0; }
.mec-agro-related li + li { margin-top: 10px; }
.mec-agro-related li a { display: block; line-height: 1.5; background: #f6f8f2; }
@media (max-width: 1000px) {
    .mec-agro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mec-agro-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .mec-agro-hero::after { opacity: .3; right: -320px; }
}
@media (max-width: 600px) {
    .mec-agro-shell { width: calc(100% - 36px); }
    .mec-agro-hero { padding: 36px 0 38px; }
    .mec-agro > .mec-agro-shell > .mec-agro-hero { padding: 30px 22px; margin-top: 20px; }
    .mec-agro h1 { font-size: 35px; max-width: 100%; }
    .mec-agro-lead { font-size: 17px; }
    .mec-agro-section { padding: 32px 0; }
    .mec-agro-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .mec-agro-card { padding: 23px; }
    .mec-agro-actions { align-items: stretch; flex-direction: column; }
    .mec-agro-actions a { justify-content: center; }
    .mec-agro-interest { padding: 22px 18px; margin: 30px 0 42px; }
    .mec-agro-form-fields { grid-template-columns: minmax(0, 1fr); }
    .mec-agro-interest h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .mec-agro-card { transition: none; } }
