/* Shared module detail layout. */
/* Consistent section rhythm across all five module pages. */
.module-detail main > section:nth-child(odd) { background: #F8F7F1; }
.module-detail main > section:nth-child(even) { background: #EDF2E9; }
.module-detail main > section + section { border-top: 1px solid #DDE5DA; }
/* Navigation continues the preceding section's surface. */
.module-detail main > section.tight:nth-child(even) { background: #F8F7F1; border-top: 0; }
.module-detail main > section.tight:nth-child(odd) { background: #EDF2E9; border-top: 0; }
.module-detail main section { padding-block: 52px; }
.module-detail main .mhero { padding-block: 28px 44px; }
.module-detail main .crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #67736C;
}
.module-detail main .pager small { color: #636E68; }
.module-detail .module-back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #123D2B;
}
.module-detail .module-back-icon:hover,
.module-detail .module-back-icon:focus-visible {
  background: #DDE9D8;
}
.module-detail main .mhero .split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.module-detail main .mhero .copy { gap: 16px; }
.module-detail main .mhero h1 { font-size: clamp(36px, 4vw, 56px) !important; line-height: 1.08; }
.module-detail main .mhero .lede { font-size: 18px; line-height: 1.7; max-width: 44ch; }
.module-detail main .frame { max-width: 380px; margin-inline: auto; border-radius: 18px; }
.module-detail main .frame.cy { outline: none; border: 1px solid #DDE5DA; box-shadow: 0 10px 28px rgba(18,61,43,.08); }
.module-detail main .frame img { width: 100%; height: auto; }
.module-detail main .giant { gap: 48px; }
.module-detail main .big { font-size: clamp(48px, 6vw, 76px); letter-spacing: -.04em; }
.land-delineation main .big { font-size: clamp(58px, 7.5vw, 96px); }
.pest-disease main .mhero .frame { max-width: 520px; width: 100%; }
@media (min-width: 881px) {
  .pest-disease main .mhero .split { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.module-detail main .giant .t { font-size: 25px; line-height: 1.25; max-width: 24ch; margin-top: 12px; }
.module-detail main .giant .d { font-size: 15px; line-height: 1.75; }
.module-detail main .chk { font-size: 15px; }
.module-detail main .head { margin-bottom: 24px; gap: 10px; max-width: 760px; }
.module-detail main h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.18; }
.module-detail main .compare { max-width: 820px; margin-inline: auto; gap: 24px; }
.module-detail main .shot { border-radius: 16px; box-shadow: 0 6px 22px rgba(18,61,43,.06); }
.module-detail main .shot img { width: 100%; height: auto; }
.module-detail main .seg { gap: 18px; }
.module-detail main .seg .s { padding: 22px; border-radius: 16px; background: #FFFFFF; }
.module-detail main .seg h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; color: #123D2B; }
.module-detail main .seg p { font-size: 14px; line-height: 1.7; color: #53645A; }
.module-detail main section.tight { padding-block: 20px 40px; }
@media (max-width: 880px) {
  .module-detail main .mhero .split { grid-template-columns: 1fr; gap: 28px; }
  .module-detail main .frame { width: 100%; max-width: 360px; }
  .module-detail main .giant { gap: 28px; }
}
@media (max-width: 620px) {
  .module-detail main section { padding-block: 36px; }
  .module-detail main .mhero { padding-block: 24px 36px; }
  .module-detail main .mhero .lede { font-size: 16px; }
  .module-detail main .compare { gap: 16px; }
}

.module-detail main .split:not(.w) { gap: 36px; }
.module-detail main .split .shot { max-width: 420px; margin-inline: auto; }
.module-detail main .shot img { max-height: 420px; object-fit: contain; }
.module-detail main .frame:has(svg) { max-width: 460px; }
.module-detail main .caption { max-width: 420px; margin: 12px auto 0; line-height: 1.6; color: #636F68; }
.module-detail main .pager > a:only-child { margin-left: auto; }

.harvest-date main .mhero .frame { width: 100%; max-width: 520px; }
.harvest-date main .split .shot {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.harvest-date main .shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  margin-inline: auto;
}
@media (min-width: 881px) {
  .harvest-date main .mhero .split { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Land delineation use cases: inset accent and a soft tinted surface. */
.land-delineation main .seg .s,
.crop-area main .seg .s,
.harvest-date main .seg .s,
.yield-module main .seg .s {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid #D8E4D3;
  background: linear-gradient(135deg, #EDF4E7, #FAFCF8);
  box-shadow: 0 4px 14px rgba(18, 61, 43, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .land-delineation main .seg .s:hover,
  .crop-area main .seg .s:hover,
  .harvest-date main .seg .s:hover,
  .yield-module main .seg .s:hover {
    transform: translateY(-3px);
    border-color: #92AF87;
    box-shadow: 0 10px 24px rgba(18, 61, 43, 0.09);
  }
}

@media (prefers-reduced-motion: reduce) {
  .land-delineation main .seg .s,
  .crop-area main .seg .s,
  .harvest-date main .seg .s,
  .yield-module main .seg .s {
    transition: none;
    transform: none;
  }
}
@media (max-width: 880px) {
  .module-detail main .split:not(.w) { gap: 24px; }
}

.yield-module main .mhero .frame { width: 100%; max-width: 510px; }
.yield-module main .split .shot { width: 100%; max-width: 480px; }
.yield-module main .shot img { max-height: 480px; }
.yield-module main .caption { max-width: 480px; }
@media (min-width: 881px) {
  .yield-module main .mhero .split { grid-template-columns: 1fr 1fr; gap: 36px; }
}
