/* Phase 4D: final route-specific polish tied to approved desktop landmarks. */

@media (min-width: 821px) {
  /* About: restore reference hero depth, the two-card mission/vision row, and section rhythm. */
  body:has(.p2b-about-hero) .p2b-about-hero > .layout-wide {
    min-height: 491px;
  }

  body:has(.p2b-about-hero) main > .p2b-section:not(.p2b-soft) {
    padding-block: 44px;
  }

  body:has(.p2b-about-hero) .p2b-mv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(.p2b-about-hero) main > .p2b-section.p2b-soft {
    padding-block: 29px;
  }

  body:has(.p2b-about-hero) .p2b-final-cta > .layout-wide {
    min-height: 308px;
  }

  /* Companies: restore the approved closing CTA composition without changing the shared shell. */
  body:has(.p2b-companies-hero) .p2b-final-cta > .layout-wide {
    min-height: 309px;
  }

  /* Mera Bazaar: match the approved desktop landmark sequence; M07 mobile remains untouched. */
  .p2c-orange .p2c-hero > .layout-wide {
    min-height: 592px;
  }

  .p2c-orange .p2c-hero-grid {
    min-height: 527px;
  }

  .p2c-orange .p2c-platform {
    height: 482px;
  }

  .p2c-orange .p2c-hero + .p2c-section {
    padding-block: 27px;
  }

  .p2c-orange picture.p2c-about {
    display: block;
    height: 322px;
    overflow: hidden;
    border-radius: 12px;
  }

  .p2c-orange picture.p2c-about img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .p2c-orange #services {
    padding-block: 118px;
  }

  .p2c-orange .p2c-strengths > .layout-wide {
    padding-block: 54px;
  }

  .p2c-orange .p2c-strengths + .p2c-section {
    padding-block: 92.5px;
  }

  /* Thank You: restore the reference hero and first content-section depth. */
  body:has(.e-thanks) .e-thanks > .layout-wide {
    min-height: 492px;
  }

  body:has(.e-thanks) .e-thanks + .e-section {
    padding-block: 75.5px;
  }
}
