/* Preserve the recovered Divi section order and two-column layouts with responsive, scoped styles. */
.tt-history-shell.et_pb_section{padding:0!important;background:#fff!important}
.tt-history-shell>.et_pb_row{width:100%!important;max-width:none!important;padding:0!important}
.tt-history-shell>.et_pb_row>.et_pb_column{width:100%!important;margin:0!important}
.tt-history-shell .et_pb_code{margin:0!important}
.tt-history{color:#333;font-size:16px;line-height:1.75}
.tt-history>.et_pb_section{padding:76px 0!important;background:#fff}
.tt-history>.et_pb_section:nth-of-type(2n+3){background:#fafafa}
.tt-history .et_pb_row{display:flex;flex-wrap:wrap;align-items:center;gap:56px;width:calc(100% - 64px)!important;max-width:1240px!important;padding:0!important;margin:0 auto!important}
.tt-history .et_pb_row+.et_pb_row{margin-top:36px!important}
.tt-history .et_pb_column{float:none!important;margin:0!important;min-width:0}
.tt-history .et_pb_column_4_4{width:100%!important}
.tt-history .et_pb_column_1_2{width:calc(50% - 28px)!important}
.tt-history .et_pb_column_1_3{width:calc(33.333% - 38px)!important}
.tt-history .et_pb_column_2_3{width:calc(66.666% - 19px)!important}
.tt-history .et_pb_column_1_4{width:calc(25% - 42px)!important}
.tt-history .et_pb_module{margin-bottom:24px!important}
.tt-history .et_pb_module:last-child{margin-bottom:0!important}
.tt-history p,.tt-history li,.tt-history .et_pb_text{font-size:16px!important;line-height:1.75!important}
.tt-history p+p{margin-top:14px}
.tt-history h1{font-size:clamp(34px,3.8vw,56px)!important;line-height:1.12!important;letter-spacing:-.025em;color:inherit;padding-bottom:24px}
.tt-history h2{font-size:clamp(27px,2.6vw,38px)!important;line-height:1.2!important;letter-spacing:-.02em;color:#151515;padding-bottom:18px}
.tt-history h3{font-size:24px!important;line-height:1.3!important;padding:18px 0 10px}
.tt-history h4,.tt-history .et_pb_module_header{font-size:19px!important;line-height:1.4!important;padding-bottom:8px}
.tt-history .et_pb_text_align_center{text-align:left!important}
.tt-history ul,.tt-history ol{padding-left:22px!important;padding-bottom:20px}
.tt-history li+li{margin-top:7px}
.tt-history .et_pb_text a:not(.et_pb_button){text-decoration:underline;text-underline-offset:3px}
.tt-history .tt-header-imgafter{position:relative;background-color:#211332!important;background-size:cover!important;background-position:center!important;padding:100px 100px!important;color:#fff;isolation:isolate}
.tt-history .tt-header-imgafter:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,9,31,.88),rgba(18,9,31,.45));z-index:-1}
.tt-history .tt-header-imgafter:after{display:none!important}
.tt-history .tt-header-imgafter .et_pb_row{width:100%!important;max-width:1240px!important}
.tt-history .tt-header-imgafter .et_pb_column_1_2{width:min(100%,720px)!important}
.tt-history .tt-header-imgafter .et_pb_column:empty{display:none}
.tt-history .tt-header-imgafter :is(h1,h2,p,a){color:#fff}
.tt-history .tt-header-imgafter h2{font-size:24px!important}
.tt-history .tt-prefooter{padding:0!important;background:#151515!important}
.tt-history .tt-prefooter .et_pb_row{width:calc(100% - 64px)!important}
.tt-history .tt-prefooter .et_pb_module{margin:0!important}
.tt-history .tt-prefooter .tt-uspbar{display:flex;justify-content:space-between;gap:24px;padding:24px 0;flex-wrap:wrap}
.tt-history .tt-prefooter p{padding:0!important;margin:0!important;color:white;font-size:16px!important}
.tt-history .tt-usp img{width:13px!important;height:13px!important;display:inline}
.tt-history .tt-usp:not(.no-checkmark) p:before{content:'✓';color:#d72a88;margin-right:8px}
.tt-history .et_pb_image{width:100%;overflow:hidden;border-radius:4px}
.tt-history .et_pb_image_wrap{display:block;width:100%}
.tt-history .et_pb_image img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.tt-history .et_pb_button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;background:#009e1b!important;color:#fff!important;border:0!important;border-radius:4px;padding:14px 24px!important;font-size:16px!important;line-height:1.4!important}
.tt-history .et_pb_button:after{display:none!important}
.tt-history .et_pb_button:hover{background:#007e16!important}
.tt-history .et_pb_button_alignment_right{text-align:right}
.tt-history .et_pb_blurb_content{max-width:none;display:flex;align-items:flex-start;gap:12px}
.tt-history .et_pb_main_blurb_image{margin:3px 0 0!important;width:22px;min-width:22px}
.tt-history .et_pb_main_blurb_image img{width:22px;height:22px;object-fit:contain}
.tt-history .et_pb_blurb_container{padding:0!important}
.tt-history .tt-beeldmerk-after{background:#f3f0f5!important;padding:88px 0!important}
.tt-history .tt-beeldmerk-after:before,.tt-history .tt-beeldmerk-after:after{display:none!important}
.tt-history .et_pb_top_inside_divider{display:none}
.tt-history .tt-diensten{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.tt-history .tt-dienst{display:block;float:none;width:auto;margin:0;overflow:hidden;background:#fff;border-radius:5px;box-shadow:0 4px 22px #0000000d}
.tt-history .tt-dienst-imgcontainer{height:245px;overflow:hidden}
.tt-history .tt-dienst img{width:100%;height:100%;object-fit:cover}
.tt-history .tt-dienst-content,.tt-history .tt-dienst-titel{padding:18px 22px}
.tt-history .tt-dienst h3,.tt-history .tt-dienst h4{padding:0;font-size:21px!important}
.tt-history-gallery{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:20px;cursor:grab;overscroll-behavior-x:contain}
.tt-history-gallery a{display:block;flex:0 0 calc((100% - 48px)/3);scroll-snap-align:start}
.tt-history-gallery img{width:100%;height:350px;object-fit:cover;border-radius:4px;display:block}
.tt-history-gallery:active{cursor:grabbing}
.tt-history-gallery-controls{display:flex;gap:12px;margin-top:16px}
.tt-history-gallery-controls button{border:1px solid #ccc;border-radius:50%;width:44px;height:44px;background:#fff;font-size:24px;cursor:pointer;color:#171717}
.tt-history :is(.tt-reviews,.tt-blog){max-width:100%}
.tt-history-restored .et_pb_post_content p,.tt-history-restored .et_pb_post_content li{font-size:16px!important;line-height:1.75}
.tt-history-restored .et_pb_post_content figure{margin:24px 0}
.tt-history-restored .et_pb_post_content img{height:auto;max-width:100%}
.tt-history-restored .et_pb_post_content figcaption{font-size:14px;line-height:1.5;color:#666;margin-top:8px}
.tt-history-image-note{max-width:825px;margin:0 auto 28px;padding:16px 20px;background:#f4f1f5;border-left:3px solid #ad0c68;font-size:16px;line-height:1.6}
.tt-history-restored.single-project .tt-project-single-row h2{margin-top:28px}
.tt-history .tt-history-booking{background:#fff;padding:70px 0!important}
.tt-history-booking>.et_pb_row{display:block}
@media(max-width:980px){
 .tt-history>.et_pb_section{padding:56px 0!important}
 .tt-history .tt-header-imgafter{padding:70px 40px!important}
 .tt-history .et_pb_row{gap:30px}
 .tt-history .et_pb_column_1_2{width:calc(50% - 15px)!important}
 .tt-history .et_pb_column_1_3,.tt-history .et_pb_column_2_3,.tt-history .et_pb_column_1_4{width:100%!important}
 .tt-history .tt-diensten{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tt-history .tt-uspbar{justify-content:center!important}
 .tt-history-gallery a{flex-basis:calc((100% - 24px)/2)}
}
@media(max-width:767px){
 .tt-history>.et_pb_section{padding:44px 0!important}
 .tt-history .tt-header-imgafter{padding:56px 24px!important}
 .tt-history .et_pb_row{width:calc(100% - 48px)!important;gap:28px}
 .tt-history .et_pb_column_1_2{width:100%!important}
 .tt-history .tt-prefooter{padding:0!important}
 .tt-history .tt-prefooter .et_pb_row{width:calc(100% - 48px)!important}
 .tt-history .tt-prefooter .tt-uspbar{gap:12px;padding:20px 0;justify-content:flex-start!important}
 .tt-history .tt-usp{width:100%;text-align:left}
 .tt-history .tt-diensten{grid-template-columns:1fr}
 .tt-history .tt-dienst-imgcontainer{height:240px}
 .tt-history .et_pb_button_alignment_right{text-align:left}
 .tt-history .et_pb_image img{max-height:430px}
 .tt-history-gallery a{flex-basis:86%}
 .tt-history-gallery img{height:300px}
 .tt-history .tt-beeldmerk-after{padding:48px 0!important}
 .tt-history-restored .tt-history-image-note{margin:0 0 24px}
}
/* The legacy theme fixes first Divi sections to a hero height; this outer section contains an entire page. */
body.tt-history-restored .tt-history-shell.et_pb_section{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;align-items:initial!important;justify-content:initial!important}
.tt-history-shell>.et_pb_code{width:100%!important;max-width:none!important;padding:0!important}
.tt-history>.et_pb_section{height:auto!important;min-height:0!important;max-height:none!important;display:block!important}
.tt-history .tt-prefooter .tt-uspbar{height:52px!important;padding:0!important;gap:0!important;overflow:hidden!important}
.tt-history .tt-prefooter .tt-usp{height:52px!important}
.tt-history .tt-prefooter .tt-usp p:before{content:none!important}
@media(max-width:550px){.tt-history .tt-prefooter .tt-uspbar{display:grid!important;justify-content:center!important}}

.tt-history-gallery-controls[hidden]{display:none}
