/* JOR Garden — V11 desktop finishing pass.
 * Basis: V10 stabilized. No reset, no new component language, no form changes.
 * Desktop overrides are limited to >=1024px; shared text/links are in page templates.
 * WPConvert element IDs, SEO and route markup remain in their original templates.
 */

/* Editorial changes shared by all viewports (V11 content decisions, not V12 layout work).
 * Keep dormant source links and their editor IDs instead of deleting them. */
body[data-garden-page='/tuinstijlen'] .jg-pcard-meta,
body[data-garden-page='/tuinstijlen'] .jg-import-197 > .jg-import-198,
body[data-garden-page^='/tuinstijlen/'] [data-screen-label='Van inspiratie naar eigen ontwerp'] .jg-import-277 > a:first-child,
body[data-garden-page='/ontwerpstudio'] [data-screen-label='Joris'] a[data-wpc-id='wpc_d0213029c6'],
body[data-garden-page='/over-ons'] .ov-studio-actions a[data-wpc-id='wpc_fd04dda9f0'] {
  display:none !important;
}
/* A visible single editorial link should still be reachable with a keyboard. */
body[data-garden-page='/tuinstijlen'] .jg-import-199:focus-visible,
body[data-garden-page^='/tuinstijlen/'] .jg-next-link:focus-visible,
body[data-garden-page^='/tuinstijlen/'] [data-screen-label='Van inspiratie naar eigen ontwerp'] .jg-import-277 a:focus-visible,
body[data-garden-page='/over-ons'] .ov-studio-actions a:focus-visible {
  outline:3px solid var(--clay,#ae896b);
  outline-offset:4px;
}

@media (min-width:1024px) {
  /* G-001: one physical hero height for all interior pages, independently of
     V10's standard/studio/band/compact/project variant flags. The reference
     is the accepted Tuinstijlen desktop hero. */
  body[data-garden-page]:not([data-garden-page='/']) {
    --jg-v11-interior-hero-height:clamp(610px,66svh,695px);
  }
  body[data-garden-page]:not([data-garden-page='/']) .jg-shero[data-jg-hero] .jg-shero-media,
  body[data-garden-page='/ontwerpstudio'] .jg-shero[data-jg-hero='studio'] .jg-shero-media,
  body[data-garden-page='/tuinvisiegesprek'] .jg-shero[data-jg-hero='compact'] .jg-shero-media,
  body[data-garden-page='/over-ons'] .ov-hero[data-jg-hero] .ov-hero-media {
    height:var(--jg-v11-interior-hero-height)!important;
    min-height:var(--jg-v11-interior-hero-height)!important;
    max-height:var(--jg-v11-interior-hero-height)!important;
    box-sizing:border-box;
    position:relative;
    overflow:hidden;
  }
  body[data-garden-page^='/tuinstijlen/'] .jg-phero[data-jg-hero='project'] {
    height:var(--jg-v11-interior-hero-height)!important;
    min-height:var(--jg-v11-interior-hero-height)!important;
    max-height:var(--jg-v11-interior-hero-height)!important;
    box-sizing:border-box;
  }
  body[data-garden-page='/contact'] .ct-intro[data-jg-hero='contact'] .ct-intro-grid.jg-wrap {
    height:var(--jg-v11-interior-hero-height)!important;
    min-height:var(--jg-v11-interior-hero-height)!important;
    max-height:var(--jg-v11-interior-hero-height)!important;
    box-sizing:border-box;
  }
  /* Studio/vision variants previously defined oversized inner padding as if
     the image always had 72svh; keep its content within the shared height. */
  body[data-garden-page='/ontwerpstudio'] .jg-shero .jg-shero-inner,
  body[data-garden-page='/tuinvisiegesprek'] .jg-shero .jg-shero-inner {
    padding-top:clamp(118px,15svh,154px)!important;
    padding-bottom:clamp(42px,7svh,68px)!important;
  }
  /* Hero images fill the unified media without stretching their aspect ratio. */
  body[data-garden-page]:not([data-garden-page='/']) [data-jg-hero] img {
    object-fit:cover;
  }
  /* H-003: preserve larger photographic homepage hero, but reveal next section sooner. */
  body[data-garden-page='/'] .jg-hero section,
  body.home .jg-hero section,
  body.front-page .jg-hero section {
    height:clamp(700px,78svh,790px)!important;
    min-height:clamp(700px,78svh,790px)!important;
    max-height:clamp(700px,78svh,790px)!important;
    box-sizing:border-box;
  }

  /* G-002: keep breadcrumb strip and separation line from V10. Use a little
     more breathing room only when the next section starts immediately with a grid. */
  body[data-garden-page='/tuinstijlen'] [data-screen-label='Stijlenoverzicht'] {
    padding-top:32px!important;
  }
  body[data-garden-page^='/tuinstijlen/'] .jg-facts-sec {
    padding-top:clamp(20px,2.2vw,32px)!important;
  }

  /* H-001: cancel duplicate bottom/top section buffers; leave review intact. */
  body[data-garden-page='/'] .jg-studio,
  body.home .jg-studio,
  body.front-page .jg-studio {padding-bottom:72px!important;}
  body[data-garden-page='/'] .jg-reviews-sec,
  body.home .jg-reviews-sec,
  body.front-page .jg-reviews-sec {padding-top:54px!important;}

  /* T-003: elegant capstone aligned to the garden-style grid, not a full
     extra page section. Existing two link editor IDs are preserved. */
  body[data-garden-page='/tuinstijlen'] .jg-import-194 {
    display:grid!important;
    grid-template-columns:minmax(0,3fr) minmax(225px,1fr);
    grid-template-areas:'title action' 'copy action';
    align-items:center;
    column-gap:clamp(32px,6vw,110px);
    row-gap:14px;
    margin-top:60px!important;
    padding-top:32px!important;
    padding-bottom:8px!important;
  }
  body[data-garden-page='/tuinstijlen'] .jg-import-194 > h2 {grid-area:title;}
  body[data-garden-page='/tuinstijlen'] .jg-import-194 > p {grid-area:copy;max-width:67ch;}
  body[data-garden-page='/tuinstijlen'] .jg-import-194 > .jg-import-197 {
    grid-area:action;justify-self:end;
    text-align:right;max-width:100%;
  }
  body[data-garden-page='/tuinstijlen'] .jg-pcard-cap {padding-top:15px!important;}
  body[data-garden-page='/tuinstijlen'] .jg-pcard-text {line-height:1.55;}

  /* S-001/S-003: both the original editor sections now live side-by-side as
     a single chapter immediately after the hero/facts; no IDs deleted. */
  body[data-garden-page^='/tuinstijlen/'] .jg-v11-character-group > .jg-chapter:first-child {
    padding-top:70px!important;
    padding-bottom:18px!important;
  }
  body[data-garden-page^='/tuinstijlen/'] .jg-v11-character-group > .jg-chapter:last-child {
    padding-top:14px!important;
    padding-bottom:66px!important;
  }
  body[data-garden-page^='/tuinstijlen/'] .jg-v11-character-group > .jg-chapter:last-child .jg-chapter-body h2 {
    font-size:clamp(24px,2.1vw,33px)!important;
    line-height:1.25!important;
  }
  body[data-garden-page^='/tuinstijlen/'] .jg-v11-character-group > .jg-chapter:last-child .jg-chapter-body p {
    max-width:65ch;
  }
  body[data-garden-page^='/tuinstijlen/'] [data-screen-label='De beleving'].jg-chapter {
    padding-top:65px!important;
    padding-bottom:65px!important;
  }
  body[data-garden-page^='/tuinstijlen/'] [data-screen-label='Van inspiratie naar eigen ontwerp'].jg-chapter {
    padding-top:66px!important;
    padding-bottom:62px!important;
  }
  /* S-006: destination card instead of second full-bleed hero. */
  body[data-garden-page^='/tuinstijlen/'] .jg-next {padding-top:30px!important;}
  body[data-garden-page^='/tuinstijlen/'] .jg-next-link {
    height:235px!important;
    min-height:235px!important;
    max-height:235px!important;
    overflow:hidden;
    display:block;
    position:relative;
  }
  body[data-garden-page^='/tuinstijlen/'] .jg-next-name {
    font-size:clamp(27px,2.8vw,41px)!important;
    line-height:1.15!important;
    margin-top:7px!important;
  }
  body[data-garden-page^='/tuinstijlen/'] .jg-next-text {
    padding:0 clamp(24px,4vw,52px) 28px!important;
  }

  /* OS-003/006–009: keep every existing process, package and personal block,
     remove only excessive section padding and strengthen information hierarchy. */
  body[data-garden-page='/ontwerpstudio'] [data-screen-label='Proces'] {
    padding-bottom:clamp(62px,6vw,92px)!important;
  }
  body[data-garden-page='/ontwerpstudio'] [data-screen-label='Proces'] [data-screen-label='Na het ontwerp'] {
    margin-top:24px!important;
    padding-top:20px!important;
  }
  body[data-garden-page='/ontwerpstudio'] [data-screen-label='Schetsen en materialen'],
  body[data-garden-page='/ontwerpstudio'] [data-screen-label='Van schets naar eindresultaat'] {
    padding-top:clamp(70px,7vw,98px)!important;
    padding-bottom:clamp(70px,7vw,98px)!important;
  }
  body[data-garden-page='/ontwerpstudio'] [data-screen-label='Ontwerppakketten'] {
    padding-top:clamp(74px,7vw,100px)!important;
    padding-bottom:clamp(66px,6vw,92px)!important;
  }
  body[data-garden-page='/ontwerpstudio'] .jg-pak-grid {
    gap:20px!important;
    margin-top:40px!important;
  }
  body[data-garden-page='/ontwerpstudio'] .jg-pak-grootte {
    font-weight:600;
    line-height:1.4;
  }
  body[data-garden-page='/ontwerpstudio'] .jg-pak-slot {
    font-weight:600;
    border-top:1px solid rgba(50,46,40,.16);
    padding-top:14px;
  }
  body[data-garden-page='/ontwerpstudio'] .jg-pak-list li {line-height:1.48;}
  body[data-garden-page='/ontwerpstudio'] .jg-pak-cta {
    margin-top:35px!important;
    padding-top:28px!important;
    padding-bottom:18px!important;
  }
  body[data-garden-page='/ontwerpstudio'] [data-screen-label='Joris'] {
    padding-top:clamp(66px,6vw,90px)!important;
    padding-bottom:clamp(78px,7vw,100px)!important;
  }

  /* DI-002–004: the comparison > process line > inspiration transition. */
  body[data-garden-page='/diensten'] [data-screen-label='Intro'] {padding-bottom:72px!important;}
  body[data-garden-page='/diensten'] [data-screen-label='Dienstkaarten'] {padding-top:75px!important;padding-bottom:82px!important;}
  body[data-garden-page='/diensten'] [data-screen-label='Eén partij'] {
    padding-top:78px!important;
    padding-bottom:62px!important;
  }
  body[data-garden-page='/diensten'] .jg-flowline {
    margin-top:30px!important;
    padding-top:26px!important;
  }
  body[data-garden-page='/diensten'] [data-screen-label='Stijlen'] {
    padding-top:68px!important;
    padding-bottom:82px!important;
  }

  /* DS, TO, TA, TH: retain editorial two-column content and large photography;
     shorten empty buffers without imposing equal document lengths. */
  body[data-garden-page^='/diensten/'] .jg-intro {padding-top:72px!important;padding-bottom:75px!important;}
  body[data-garden-page^='/diensten/'] .jg-why {
    padding-top:clamp(70px,7vw,100px)!important;
    padding-bottom:clamp(70px,7vw,100px)!important;
  }
  body[data-garden-page^='/diensten/'] .jg-why-grid {
    column-gap:clamp(45px,6vw,84px)!important;
  }
  body[data-garden-page^='/diensten/'] [data-screen-label='Werkwijze'] {
    padding-top:clamp(74px,7vw,104px)!important;
    padding-bottom:clamp(74px,7vw,104px)!important;
  }
  body[data-garden-page^='/diensten/'] .jg-timeline-grid {
    gap:clamp(42px,5vw,70px)!important;
  }
  body[data-garden-page^='/diensten/'] .jg-mid {
    padding-top:clamp(68px,6vw,94px)!important;
    padding-bottom:clamp(68px,6vw,94px)!important;
  }
  body[data-garden-page='/diensten/tuinontwerp'] [data-screen-label='Na het ontwerp'],
  body[data-garden-page='/diensten/tuinontwerp'] .jg-timeline-grid [data-screen-label='Na het ontwerp'] {
    margin-top:25px!important;
    padding-top:18px!important;
  }
  body[data-garden-page='/diensten/tuinaanleg'] [data-screen-label='Tuinstijl'] {
    padding-top:58px!important;
  }
  body[data-garden-page^='/diensten/'] [data-screen-label='Veelgestelde vragen'] {
    padding-top:clamp(67px,6vw,92px)!important;
    padding-bottom:clamp(67px,6vw,92px)!important;
  }

  /* OO-002/006/008: compress intro/experience, leave Joris and collaboration
     breathing room and preserve locally specific contact CTA. */
  body[data-garden-page='/over-ons'] .ov-intro {
    padding-top:clamp(70px,7vw,98px)!important;
    padding-bottom:clamp(70px,7vw,98px)!important;
  }
  body[data-garden-page='/over-ons'] .ov-exp {
    padding-top:clamp(62px,6vw,86px)!important;
    padding-bottom:clamp(62px,6vw,86px)!important;
  }
  body[data-garden-page='/over-ons'] .ov-exp-points li {padding:15px 0!important;}
  body[data-garden-page='/over-ons'] .ov-studio-actions {justify-content:flex-start;}

  /* TV-003: preserve three existing facts, eliminate unused fourth grid cell. */
  body[data-garden-page='/tuinvisiegesprek'] .tv-expect {padding-top:62px!important;padding-bottom:36px!important;}
  body[data-garden-page='/tuinvisiegesprek'] .tv-expect-lead {margin-bottom:24px!important;}
  body[data-garden-page='/tuinvisiegesprek'] .tv-expect-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    column-gap:26px!important;
  }
}
