/* Shared presentation for services with a photographic introduction. */
@layer service-editorial {
  body[data-photo-header] #main-content > .svc-deliverables :is(h2, p, .svc-deliver-list span) {
    color: var(--wd-ink, #18281d) !important;
  }
  body[data-photo-header] #main-content > .svc-deliverables :is(.wd-label, .svc-deliver-list span) {
    color: #305d35 !important;
  }
  body[data-photo-header] #main-content > :is(.svc-intro, .svc-capabilities, .svc-deliverables, .svc-process, .svc-project, .svc-depth) {
    padding-block: clamp(36px, 5vw, 76px) !important;
    background: var(--wd-paper, #f6f5ef) !important;
    color: var(--wd-ink, #18281d) !important;
  }
  body[data-photo-header] #main-content .service-detail-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 24px clamp(28px, 5vw, 80px);
    align-items: start;
    padding: 0 !important;
  }
  body[data-photo-header] #main-content .service-outcome h2,
  body[data-photo-header] #main-content .service-practice h2 {
    font-size: clamp(1.65rem, 2.7vw, 2.7rem) !important;
    line-height: 1.12 !important;
    margin: 0 0 12px !important;
  }
  body[data-photo-header] #main-content .service-outcome p + h2 { margin-top: 32px !important; }
  body[data-photo-header] #main-content :is(.service-outcome, .service-practice) p {
    max-width: 62ch;
    line-height: 1.65 !important;
  }
  body[data-photo-header] #main-content .service-practice {
    margin: 0 !important;
    padding: clamp(20px, 3vw, 38px) !important;
    border: 1px solid #cbd7c8 !important;
    border-radius: 10px !important;
    background: #fff !important;
  }
  body[data-photo-header] #main-content .service-example-label {
    display: inline-block;
    margin-bottom: 15px;
    color: #305d35;
  }
  body[data-photo-header] #main-content .service-detail-actions { grid-column: 1 / -1; }
  body[data-photo-header] #main-content > .svc-page-nav { margin-block: 0 !important; }
  body[data-photo-header] #main-content > .svc-page-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  body[data-photo-header] #main-content .svc-page-nav > span { display: none; }
  @media (max-width: 760px) {
    body[data-photo-header] #main-content .service-detail-panel { grid-template-columns: minmax(0, 1fr); }
  }
}

@layer photo-header {
  @media (max-width: 760px) {
    body[data-photo-header] #main-content > .service-photo-intro {
      display: flex !important;
      flex-direction: column;
      justify-content: flex-end;
    }
    body[data-photo-header] #main-content .service-photo-intro .photo-intro__media {
      grid-area: auto !important;
      aspect-ratio: auto !important;
    }
  }
}

@layer service-editorial {
  body:has(#shopify-praktijkvoorbeelden) #main-content > :is(.svc-intro, .svc-capabilities, .svc-deliverables, .svc-project, .svc-process, .svc-depth, #wdPublishedArticles, #vragen) {
    padding-block: clamp(24px, 3vw, 46px) !important;
  }
  body:has(#shopify-praktijkvoorbeelden) .service-practice-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    background: white;
    margin-block: 16px;
  }
  body:has(#shopify-praktijkvoorbeelden) #main-content .service-outcome p + h2 { margin-top: 20px !important; }
  body:has(#shopify-praktijkvoorbeelden) #wdPublishedArticles h2 { margin: 0 0 20px; }
  body:has(#shopify-praktijkvoorbeelden) .svc-cap-grid article[id],
  #shopify-praktijkvoorbeelden { scroll-margin-top: 100px; }
}

.services-premium .svc-project-proof .svc-project-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-premium .svc-project-proof .svc-project-screen img { aspect-ratio: 960 / 596; height: auto; object-fit: contain; }
.services-premium .svc-project-proof picture { display: block; }
@media (max-width: 760px) {
  .services-premium .svc-project-proof .svc-project-images { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .services-premium .svc-project-proof .svc-project-screen img { aspect-ratio: 684 / 1260; }
}

#samenwerking.service-expectations { padding-block: clamp(28px, 4vw, 60px); background: #f4f4ee; color: #18281d; }
.service-expectations-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.service-expectations-heading img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.service-expectations-heading h2 { margin: 0; }
.service-expectations-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.service-expectations-items > div { border-top: 1px solid #a7b5a6; padding-top: 16px; }
.service-expectations-items h3 { margin: 0 0 8px; }
.service-expectations-items p { margin: 0; line-height: 1.65; }
@media (max-width: 760px) {
  .service-expectations-items { grid-template-columns: minmax(0, 1fr); }
  .service-expectations-heading img { width: 48px; height: 48px; }
}

.shopify-project-stories { padding-block: clamp(28px, 4vw, 60px); }
.shopify-project-stories h2 { margin: 0 0 clamp(20px, 3vw, 42px); }
.shopify-project-stories article { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 5vw, 80px); }
.shopify-project-stories article + article { margin-top: clamp(32px, 5vw, 72px); }
.shopify-project-stories article:nth-of-type(even) img { grid-column: 1; grid-row: 1; }
.shopify-project-stories article:nth-of-type(even) > div { grid-column: 2; grid-row: 1; }
.shopify-project-stories img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shopify-project-stories h3 { margin: 0; }
.shopify-project-stories p { line-height: 1.65; max-width: 54ch; }
.service-expectations-items .expectation-icon { display: block; margin-bottom: 12px; color: #305d35; }
@media(max-width: 760px) {
  .shopify-project-stories article { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
}

#diensttarieven .shopify-plan-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, 245px),1fr)); gap:16px; margin:28px 0 0; padding:0; list-style:none; }
.shopify-plan-grid li { min-width:0; padding:clamp(20px,2.6vw,36px); background:white; color:#18281d; border:1px solid #bdccbe; border-top:4px solid #36643d; border-radius:10px; }
.shopify-plan-grid h3, .shopify-plan-grid p { margin:0; }
#diensttarieven .shopify-plan-price { margin:20px 0 4px; color:#183c24; line-height:1.1; }
.shopify-plan-price strong { font-size:clamp(32px,3.3vw,50px); letter-spacing:-.045em; }
.shopify-plan-price small, .shopify-plan-terms { font-size:14px; }
.shopify-plan-example { border-top:1px solid #d1dbd1; padding-top:18px; margin-top:20px; }
.shopify-plan-example p { margin-top:8px; line-height:1.55; }
#diensttarieven .shopify-custom-quote { display:flex; gap:20px 40px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-top:20px; padding:clamp(24px,3vw,44px); border-radius:10px; background:#172f21; }
@layer service-editorial {
  #diensttarieven .shopify-custom-quote h3 { margin:0; color:white !important; font-size:clamp(24px,2.5vw,36px); }
  #diensttarieven .shopify-custom-quote p { margin:10px 0 0; max-width:62ch; color:#e2eae1 !important; line-height:1.6; }
  #diensttarieven .shopify-custom-quote a { display:inline-flex; align-items:center; min-height:44px; padding:8px 18px; background:#f3f6ed; color:#173420 !important; border-radius:6px; font-weight:650; text-decoration:none; }
  #diensttarieven .shopify-custom-quote a:focus-visible { outline:2px solid white; outline-offset:4px; }
}

