/* The middle card determines the height of the montage at every viewport. */
#inhoud .v-templates .v-template-stage {
  display: grid;
  grid-template: auto / 1fr;
  align-items: center;
  height: auto;
  margin: 1.8rem 0 1.5rem;
  padding: .5rem 2%;
  max-width: none;
}
#inhoud .v-templates .v-template-card {
  grid-area: 1 / 1;
  position: relative;
  inset: auto;
  margin: 0;
}
.v-templates .v-template-vcard { justify-self: center; width: 52%; }
.v-templates .v-template-vcard img { width: 100%; }
.v-templates .v-template-review { justify-self: start; width: 36%; transform: rotate(-7deg); }
.v-templates .v-template-review img { width: 100%; }
.v-templates .v-template-product { justify-self: end; width: 37%; transform: rotate(7deg); }
.v-templates .v-template-product .verpakking { width: 50%; margin: .75rem auto; }
.v-templates .v-style-strip { background: #fcfefc; color: #294740; }
.v-templates.v-scene figcaption { position: relative; margin: 1rem 0 0; max-width: none; font-size: .96rem; line-height: 1.5; }
html[data-theme=dark] .v-templates .v-style-strip { background: #173a41; color: #e8f6f4; }
.verpakking { display: block; position: relative; }
.verpakking > img, .v-templates .v-template-product .verpakking img {
  display: block; width: 100%; height: auto; max-width: 100%; margin: 0;
}
.verpakking .label-bocht {
  display: block; position: absolute; top: 51%; right: 1.2%; width: 12%; height: 14%;
  overflow: hidden; transform: skewY(-8deg); opacity: .85; mix-blend-mode: multiply;
}
.verpakking .label-bocht img, .v-templates .v-template-product .label-bocht img {
  display:block; height:100%; width:155%; max-width:none;
}
.doos-codes { position:absolute; top:64%; left:30.7%; width:38.6%; display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:6%; }
.doos-codes img { display:block; width:100%; height:auto; }
#ontwerpen .ontwerp-groep { margin-top: clamp(2.8rem,6vw,4.5rem); }
#ontwerpen .ontwerp-groep > h3 { font-size:clamp(1.55rem,2.8vw,2.2rem); line-height:1.16; margin:0 0 .65rem; }
#ontwerpen .ontwerp-groep > p { margin:0 0 1.5rem; }
.stalen { display:grid; grid-auto-columns:minmax(0,1fr); grid-auto-flow:column; gap:clamp(.8rem,1.6vw,1.5rem); }
.staal { min-width:0; margin:0; }
.staal-beeld { display:flex; justify-content:center; align-items:center; overflow:hidden; border-radius:18px; padding:clamp(12px,1.8vw,25px); box-sizing:border-box; }
.staal-beeld > img { display:block; max-width:100%; object-fit:contain; }
.portret .staal-beeld,.podium .staal-beeld,.dank .staal-beeld,.noir .staal-beeld { height:clamp(255px,23vw,338px); }
.portret .staal-beeld > img,.podium .staal-beeld > img,.dank .staal-beeld > img,.noir .staal-beeld > img {
  height:100%; width:auto; border-radius:8px; filter:drop-shadow(0 5px 8px #10232329);
}
.portret .staal-beeld {background:#e4e5da;} .podium .staal-beeld {background:#eee6ef;}
.dank .staal-beeld {background:#f2e8dc;} .noir .staal-beeld {background:#dce2e5;}
.product .staal-beeld { display:grid; grid-template-columns: .9fr 1.1fr; gap:5%; min-height:clamp(305px,31vw,460px); }
.product .staal-beeld > img { max-height:100%; min-height:0; width:100%; object-fit:contain; }
.oogst-paar .staal-beeld { background:#ede7d0; }
.oogst-paar .verpakking { width:70%; justify-self:center; }
.duin-paar .staal-beeld { background:#e2d5be; }
.duin-paar .verpakking { border-radius:8px; overflow:hidden; width:100%; }
.code .staal-beeld { background:#e4ece8; } .verloop .staal-beeld {background:#e8e7f1;} .hoeken .staal-beeld {background:#f0e6db;}
.code .staal-beeld > img { width:min(100%,205px); border-radius:9px; box-shadow:0 5px 14px #132c3014; }
#ontwerpen .staal h4 { font-size:1.12rem; margin:1rem 0 .4rem; line-height:1.35; }
#ontwerpen .staal p { font-size:1rem; line-height:1.6; margin:0; }
.ontwerp-links { display:flex; flex-wrap:wrap; gap:.7rem 1.6rem; margin-top:1.3rem; font-weight:650; }
@media(max-width:900px) {
  .stalen { grid-auto-flow:row; grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:1.7rem; }
  .stalen:has(.code) {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:650px) {
  .stalen:has(.product), .stalen:has(.code) {grid-template-columns:1fr;}
  .product .staal-beeld {grid-template-columns:1fr; justify-items:center; gap:1.4rem; padding:1.25rem;}
  .product .staal-beeld > img {width:min(100%,290px);}
  .oogst-paar .verpakking {width:78px;}
  .duin-paar .verpakking {width:min(100%,210px);}
  .code .staal-beeld > img {width:180px;}
  .portret .staal-beeld,.podium .staal-beeld,.dank .staal-beeld,.noir .staal-beeld {height:clamp(180px,52vw,265px); padding:8px;}
}
@media(max-width:440px) {
  .v-templates .v-template-stage {margin-top:1.2rem;}
  .v-templates .v-template-product {padding-bottom:7px;}
  #inhoud .v-templates .v-template-product small {display:none;}
  .v-templates .v-template-product .verpakking {margin:.4rem auto;}
}
