/* ==========================================================================
   DHB Tekstsectie met fotowaaier

   GEGENEREERD door werkmap/ontwerpen/naar-plugin/bouw_widgets.py uit
   werkmap/ontwerpen/tekstsectie-fotowaaier/ontwerp.html (DHB_Tekstsectie_Split_Fotowaaier.html).
   Niet met de hand wijzigen.

   Opbouw (omhulling en terugdraaien, zoals de sectiewidgets):
     1. de letters, als "DHB ..." zodat een eigen lettertype van het thema er niet tussen komt;
     2. de variabelen van het ontwerp, licht op de omhulling (een kleurveld gaat erover heen);
     3. wat het ontwerp op <body> zet, plus de beginwaarden van alles wat erft;
     4. thema en kit terugdraaien voor kale elementen, en voor svg en ::placeholder;
     5. elke regel van het ontwerp met vier keer .dhbf ervoor: overal evenveel
        extra gewicht, dus hun onderlinge volgorde blijft gelijk.
   Klassen heten dhbf-tv... in plaats van tv...: zo botsen ze niet met
   andere stylesheets van de plugin (.dhb-kaart, .dhb-label en .dhb-knop bestaan al).
   ========================================================================== */

/* 1. letters */
@font-face{font-family:"DHB Elms";src:url("../fonts/elms-sans-latin.woff2") format("woff2");font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:"DHB Satoshi";src:url("../fonts/satoshi-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"DHB Satoshi";src:url("../fonts/satoshi-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* 2. variabelen */
.dhbf{--bg:#F4F1EE;--ink:#161616;--muted:#6B6360;--o:#FF4500;--deep:#D63A00;--slot:#E9E4DF;--ease:cubic-bezier(.2,.7,.2,1); --head:'DHB Elms','Satoshi',system-ui,sans-serif;--font:'DHB Satoshi',system-ui,-apple-system,'Segoe UI',sans-serif;}

/* 3. de omhulling: wat in het ontwerp op <body> staat */
.dhbf.dhbf.dhbf{font-size:16px;line-height:normal;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-align:left;text-indent:0;text-shadow:none;white-space:normal;font-variant:normal;overflow-wrap:normal;word-break:normal;hyphens:manual;color:var(--ink);font:500 16px/1.65 var(--font);-webkit-font-smoothing:antialiased}

/* 4. thema en kit terugdraaien */
.dhbf.dhbf.dhbf :is(div,section,article,aside,header,footer,nav,figure,figcaption,h1,h2,h3,h4,h5,h6,p,a,span,strong,b,em,i,small,ul,ol,li,hr,img,br,button,input,label,form,video,pre){all:revert}
.dhbf.dhbf.dhbf svg{background:none;width:auto;height:auto;max-width:none;max-height:none;fill:revert;stroke:revert;stroke-width:revert;vertical-align:baseline;border:0;box-shadow:none;transform:none}
.dhbf.dhbf.dhbf ::placeholder{all:revert}

/* 5. het ontwerp */
.dhbf.dhbf.dhbf.dhbf *,.dhbf.dhbf.dhbf.dhbf *::before,.dhbf.dhbf.dhbf.dhbf *::after{box-sizing:border-box;}
.dhbf.dhbf.dhbf.dhbf img{display:block;max-width:none;}
.dhbf.dhbf.dhbf.dhbf a{color:inherit;text-decoration:none;}
.dhbf.dhbf.dhbf.dhbf h2,.dhbf.dhbf.dhbf.dhbf p{margin:0;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv{position:relative;isolation:isolate;overflow:hidden;overflow:clip;background:var(--bg);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv h2{font-family:var(--head);font-weight:800;line-height:1.02;letter-spacing:-.04em;color:var(--ink);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv h2 .ln{display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv h2 .ln>span{display:block;transform:translateY(105%);transition:transform 1.1s var(--ease);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv h2 .ln:nth-child(2)>span{transition-delay:.12s}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv h2 .ln:nth-child(3)>span{transition-delay:.24s}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv.in h2 .ln>span{transform:none;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv h2 em{font-style:normal;background:linear-gradient(100deg,#E83E00,var(--o) 60%,#FF7A3D);-webkit-background-clip:text;background-clip:text;color:transparent;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv h2 .dot{color:var(--o);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-body{color:var(--muted);font-size:16.5px;line-height:1.7;max-width:46ch;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-rv{opacity:0;transform:translateY(22px);transition:opacity .9s var(--ease),transform .9s var(--ease);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv.in .dhbf-tv-rv{opacity:1;transform:none;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv.in .dhbf-tv-rv.d1{transition-delay:.25s}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv.in .dhbf-tv-rv.d2{transition-delay:.38s}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv.in .dhbf-tv-rv.d3{transition-delay:.5s}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-btn{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;gap:14px;padding:8px 8px 8px 26px;border-radius:999px;background:linear-gradient(180deg,#FF6128,var(--o));color:#fff;font-family:var(--head);font-size:17px;font-weight:800;white-space:nowrap;box-shadow:0 20px 44px -18px #ff4500b3,inset 0 1px 0 #ffffff40;transition:transform .3s var(--ease);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-btn .c{width:46px;height:46px;border-radius:50%;flex:none;display:grid;place-items:center;background:#fff;color:var(--o);transition:transform .45s cubic-bezier(.34,1.56,.64,1);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-btn .c svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-btn::before{content:"";position:absolute;z-index:-1;right:8px;top:50%;width:46px;height:46px;border-radius:50%;background:#1f1d1c;transform:translateY(-50%) scale(0);transition:transform .6s var(--ease);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-btn:hover::before{transform:translateY(-50%) scale(18);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-btn:hover{transform:translateY(-2px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-btn:hover .c{transform:translateX(3px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-proof{display:flex;flex-wrap:wrap;gap:10px 26px;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-proof span{display:inline-flex;align-items:center;gap:9px;font-size:15px;color:#3a3532;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-proof svg{width:16px;height:16px;fill:none;stroke:var(--o);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-ph{position:relative;overflow:hidden;border-radius:22px;background:var(--slot);box-shadow:0 34px 64px -44px #16161699;transition:transform .7s var(--ease),box-shadow .5s;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.1);transition:transform 1.8s var(--ease);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv.in .dhbf-tv-ph img{transform:scale(1);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-ph:hover img{transform:scale(1.05)!important;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-vf{position:absolute;inset:11px;pointer-events:none;z-index:2;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-vf i{position:absolute;width:18px;height:18px;border:0 solid var(--o);opacity:0;transition:opacity .35s,transform .55s var(--ease);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-vf i:nth-child(1){top:0;left:0;border-top-width:2px;border-left-width:2px;border-top-left-radius:11px;transform:translate(-7px,-7px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-vf i:nth-child(2){top:0;right:0;border-top-width:2px;border-right-width:2px;border-top-right-radius:11px;transform:translate(7px,-7px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-vf i:nth-child(3){bottom:0;left:0;border-bottom-width:2px;border-left-width:2px;border-bottom-left-radius:11px;transform:translate(-7px,7px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-vf i:nth-child(4){bottom:0;right:0;border-bottom-width:2px;border-right-width:2px;border-bottom-right-radius:11px;transform:translate(7px,7px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv-ph:hover .dhbf-tv-vf i{opacity:1;transform:none;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1{padding:clamp(64px,7vw,110px) clamp(20px,4vw,56px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1::before{content:"";position:absolute;z-index:-1;left:-10%;bottom:-30%;width:55%;height:80%;background:radial-gradient(closest-side,#ff450016,transparent);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-in{max-width:1220px;margin:0 auto;display:grid;grid-template-columns:1.02fr 1fr;gap:clamp(40px,5vw,80px);align-items:center;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1 h2{font-size:clamp(40px,4.5vw,74px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1 .dhbf-tv-body{margin-top:24px;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-foot{margin-top:32px;display:flex;flex-direction:column;align-items:flex-start;gap:22px;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1 .dhbf-tv-proof{flex-direction:column;gap:9px;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel{position:relative;height:clamp(440px,42vw,560px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel .dhbf-tv-ph{position:absolute;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-a{width:47%;aspect-ratio:3/4;left:2%;top:4%;transform:rotate(-6deg);z-index:1;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-b{width:46%;aspect-ratio:3/4;right:3%;top:0;transform:rotate(5deg);z-index:2;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-c{width:58%;aspect-ratio:4/3;left:20%;bottom:0;transform:rotate(-2deg);z-index:3;box-shadow:0 40px 70px -40px #161616b3;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel:hover .dhbf-tv1-a{transform:rotate(-9deg) translate(-16px,-6px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel:hover .dhbf-tv1-b{transform:rotate(8deg) translate(16px,-8px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel:hover .dhbf-tv1-c{transform:rotate(0deg) translateY(10px);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel .dhbf-tv-ph:hover{z-index:5;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip{position:absolute;z-index:6;display:inline-flex;align-items:center;gap:10px;padding:9px 16px 9px 10px;border-radius:999px;background:#ffffffe6;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 18px 40px -22px #16161680,0 0 0 1px #16161608;font-size:14px;color:#3a3532;white-space:nowrap;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip b{font-family:var(--head);font-weight:800;color:var(--ink);}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.score{left:-4%;top:46%;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.score .st{display:inline-flex;gap:1px;padding-left:4px;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.score svg{width:14px;height:14px;fill:#FFB400;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.casey{right:-2%;bottom:14%;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.casey img{width:34px;height:34px;border-radius:50%;object-fit:cover;}
.dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.casey i{width:8px;height:8px;border-radius:50%;background:#1FB86B;box-shadow:0 0 0 3px #1fb86b33;}
@media (max-width:1000px){
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv1-in{grid-template-columns:1fr;}
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel{max-width:560px;width:100%;margin:10px auto 0;}
}
@media (max-width:640px){
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv1-stapel{height:380px;}
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.score{left:0;top:auto;bottom:-6px;}
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv1-chip.casey{display:none;}
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv1-foot .dhbf-tv-btn{width:100%;justify-content:space-between;}
}
@media (prefers-reduced-motion:reduce){
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv *,.dhbf.dhbf.dhbf.dhbf .dhbf-tv *::before,.dhbf.dhbf.dhbf.dhbf .dhbf-tv *::after{animation:none!important;transition:none!important;}
  .dhbf.dhbf.dhbf.dhbf .dhbf-tv h2 .ln>span,.dhbf.dhbf.dhbf.dhbf .dhbf-tv-rv{transform:none!important;opacity:1!important;}
}

/* ---------- alleen in de plugin ---------- */
/* Zonder script blijft alles zichtbaar: de kop en de tekst wachten pas op het in beeld komen
   als het script de omhulling dhbf-js heeft gegeven. */
.dhbf.dhbf.dhbf.dhbf:not(.dhbf-js) .dhbf-tv h2 .ln>span{transform:none}
.dhbf.dhbf.dhbf.dhbf:not(.dhbf-js) .dhbf-tv-rv{opacity:1;transform:none}
.dhbf.dhbf.dhbf.dhbf:not(.dhbf-js) .dhbf-tv-ph img{transform:scale(1)}
