/* Shared site CSS owns the hero, sections, type, contact, flow and FAQ. */
.page-farm-clearing :where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--brand-action);outline-offset:4px}
.farm-preview-note{padding:9px 24px;background:var(--brand-navy);color:#fff;text-align:center;font-size:.875rem}
.farm-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;width:min(var(--max),calc(100% - 48px));margin-inline:auto;padding-top:24px;font-size:.875rem;line-height:1.8}
.farm-breadcrumb a{text-decoration:underline}
.farm-situations,.farm-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:32px}
.farm-situations article{border-top:3px solid var(--brand-blue);padding-top:24px}
.farm-label{display:inline-block;background:var(--brand-soft);font-size:.875rem;font-weight:800;padding:5px 12px;margin-bottom:12px}
.farm-situations h3,.farm-photo-grid h3{margin:8px 0 14px}
.farm-situations p,.farm-photo-grid p{margin-bottom:0}
/* The photo cards share the store-closing page's grid, image ratio and padding. */
.farm-items .sc-item-copy h3{margin-top:0}
.farm-icon{display:block;flex:none;width:44px;height:44px;color:var(--brand-action)}
#farm-flow .flow-list li::before{display:none}
#farm-flow .farm-icon{margin-bottom:24px}
.farm-partner{background:var(--brand-navy);color:#fff;padding:28px 32px;margin-top:28px;border-radius:8px}
.farm-partner h3,.farm-partner .eyebrow{color:#fff}
.farm-partner h3{margin:0 0 14px}.farm-partner p:last-child{margin-bottom:0}
.farm-photo-grid article{border:1px solid rgba(55,67,96,.18);border-radius:8px;overflow:hidden;background:#fff}
.farm-photo-visual{aspect-ratio:4/3;background:var(--brand-soft)}
.farm-photo-visual img{display:block;width:100%;height:100%;object-fit:cover}
.farm-photo-copy{padding:28px}
.farm-photo-grid h3{margin-top:0}
.farm-estimate-note{border-left:4px solid var(--brand-blue);background:var(--brand-soft);padding:24px 28px;margin-top:28px}
.farm-estimate-note h3{margin:0 0 12px}.farm-estimate-note p{margin-bottom:0}
.farm-note{font-size:.875rem;line-height:1.8;margin:24px 0 0}
.farm-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.farm-scope article{background:#fff;border-radius:8px;padding:28px 32px}
.farm-scope h3{margin:0 0 16px}.farm-scope p:last-child{margin-bottom:0}
.page-farm-clearing dialog{max-width:min(480px,calc(100% - 40px));padding:32px;border:1px solid var(--brand-blue);border-radius:8px;color:var(--brand-navy)}
.page-farm-clearing dialog::backdrop{background:rgba(55,67,96,.55)}
.page-farm-clearing dialog h2{font-size:1.2rem}.page-farm-clearing dialog p{line-height:1.8}
@media(max-width:920px){.farm-situations,.farm-photo-grid,.farm-scope{grid-template-columns:1fr;gap:20px}}
@media(max-width:640px){.farm-partner,.farm-photo-copy,.farm-scope article{padding:24px}.farm-estimate-note{padding:22px}}

/* Farm-specific products replace the generic home-appliance collage in this FV. */
.page-farm-clearing .farm-hero-products {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.page-farm-clearing .farm-hero-products__cluster {
  position: absolute;
  inset: 0;
}

.page-farm-clearing .farm-hero-products__item {
  position: absolute;
  display: block;
  height: auto;
  filter: url(#hero-item-white-knockout);
}

@media (min-width: 921px) {
  .page-farm-clearing .farm-hero-products__item--tiller {
    z-index: 2;
    top: 43%;
    right: 19%;
    width: min(30vw, 430px);
    transform: translateX(calc(-30px / var(--scene-pc-art-zoom, 1)));
  }

  .page-farm-clearing .farm-hero-products__item--brush-cutter {
    z-index: 1;
    top: 22%;
    right: 20%;
    width: min(42vw, 600px);
    transform: translateX(calc(-60px / var(--scene-pc-art-zoom, 1)));
  }
}

@media (max-width: 920px) {
  .page-farm-clearing .farm-hero-products {
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 54.9%);
  }

  .page-farm-clearing .farm-hero-products__cluster {
    inset: auto 0 54% auto;
    width: min(50vw, 370px, 50svh);
    aspect-ratio: 545 / 408;
  }

  .page-farm-clearing .farm-hero-products__item--tiller {
    z-index: 2;
    top: 20%;
    right: 9%;
    width: 88%;
    transform: translate(15px, -40px);
  }

  .page-farm-clearing .farm-hero-products__item--brush-cutter {
    display: none;
  }
}

@media (max-width: 360px) {
  .page-farm-clearing .farm-hero-products__cluster {
    width: min(46.7vw, 50svh);
  }

}

@media (max-width: 360px) and (max-height: 600px) {
  .page-farm-clearing .farm-hero-products { clip-path: none; }
}
