/* ==========================================================================
   Martijn Terneusen – componenten voor Elementor
   Gebruik: selecteer een container of widget in Elementor →
   Geavanceerd → CSS-klassen → vul één of meer mt-* klassen in.
   ========================================================================== */

/* ---------- Secties / containers ---------- */
body .mt-section{padding-top:96px!important;padding-bottom:96px!important}
body .mt-dark{background-color:var(--mt-black)!important;color:#fff}
body .mt-soft{background-color:var(--mt-soft)!important}
body .mt-red-bg{background-color:var(--mt-red)!important;color:#fff}
body .mt-dark .elementor-heading-title,
body .mt-red-bg .elementor-heading-title,
body .mt-dark .elementor-widget-text-editor,
body .mt-red-bg .elementor-widget-text-editor{color:#fff}

/* Rode diagonaal (rechts) en variant links */
body .mt-slash,body .mt-slash-left{position:relative;overflow:hidden}
body .mt-slash::before,body .mt-slash-left::before{content:"";position:absolute;z-index:0;background:var(--mt-red);transform:skewX(-18deg);pointer-events:none}
body .mt-slash::before{right:-8%;top:-20%;width:40%;height:140%}
body .mt-slash-left::before{left:-6%;bottom:-30%;width:28%;height:160%}
body .mt-slash>*,body .mt-slash-left>*{position:relative;z-index:1}

/* Kaart */
body .mt-card{background:#fff!important;border:1px solid var(--mt-line);padding:26px 24px!important}

/* ---------- Typografie ---------- */
body .mt-display .elementor-heading-title,
body .mt-section-title .elementor-heading-title,
body .mt-num .elementor-heading-title,
body .mt-stat-num .elementor-heading-title,
body .mt-logo-h .elementor-heading-title{font-family:var(--mt-font-display);font-weight:900;font-style:italic;text-transform:uppercase;line-height:.95;letter-spacing:0}
body .mt-display .elementor-heading-title{font-size:54px}
body .mt-xl .elementor-heading-title{font-size:92px}
body .mt-h3 .elementor-heading-title{font-size:34px}
body .mt-h4 .elementor-heading-title{font-size:26px}
body .elementor-heading-title .mt-red,body .mt-red-text,body .mt-red-text .elementor-heading-title{color:var(--mt-red)!important}

/* Sectietitel met rood blokje + lijn */
body .mt-section-title .elementor-heading-title{display:flex;align-items:center;gap:16px;font-size:56px;color:var(--mt-ink)}
body .mt-section-title .elementor-heading-title::before{content:"";flex:none;width:16px;height:24px;background:var(--mt-red);transform:skewX(-18deg)}
body .mt-section-title .elementor-heading-title::after{content:"";flex:1;height:2px;background:currentColor;opacity:.8}

/* Rode schuine tag */
body .mt-tag .elementor-heading-title{display:inline-block;font-family:var(--mt-font-display);font-style:normal;font-weight:700;font-size:14px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:#fff;background:var(--mt-red);padding:6px 14px;transform:skewX(-12deg)}

/* Zwart labeltje */
body .mt-pill .elementor-heading-title{display:inline-block;font-family:var(--mt-font-display);font-style:normal;font-weight:800;font-size:13px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:var(--mt-black);padding:4px 10px}

/* Kleine meta-regel en rode rol */
body .mt-meta .elementor-heading-title{font-family:var(--mt-font-display);font-style:normal;font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--mt-muted);line-height:1.3}
body .mt-role .elementor-heading-title{font-family:var(--mt-font);font-style:normal;font-weight:600;font-size:17px;text-transform:none;color:var(--mt-red);line-height:1.4}
body .mt-label .elementor-heading-title{font-family:var(--mt-font-display);font-style:normal;font-weight:800;font-size:15px;text-transform:uppercase;letter-spacing:.04em;color:var(--mt-ink);line-height:1.2}

/* Tekst */
body .mt-lead{font-size:19px;color:var(--mt-muted);max-width:720px}
body .mt-dark .mt-lead{color:rgba(255,255,255,.85)}
body .mt-small{font-size:14px;color:var(--mt-muted)}
body .mt-note{font-size:14px;color:var(--mt-muted);border-left:3px solid var(--mt-red);padding-left:10px}
body .mt-list ul{list-style:none;margin:0;padding:0}
body .mt-list li{position:relative;padding-left:18px;margin-bottom:5px}
body .mt-list li::before{content:"";position:absolute;left:0;top:.75em;width:10px;height:2px;background:var(--mt-red)}
body .mt-dl dt{font-family:var(--mt-font-display);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:13px;color:var(--mt-red);margin-top:10px}
body .mt-dl dd{margin:0;font-size:15px}

/* Grote rode nummers (conceptkaarten) */
body .mt-num .elementor-heading-title{font-size:54px;color:var(--mt-red);line-height:.8}

/* Resultaat-blok */
body .mt-result .elementor-heading-title{display:inline-flex;align-items:baseline;gap:10px;background:var(--mt-black);color:#fff;padding:10px 16px;font-family:var(--mt-font);font-style:normal;font-weight:500;font-size:16px;text-transform:none;line-height:1.2}
body .mt-result .elementor-heading-title strong{font-family:var(--mt-font-display);font-style:italic;font-weight:900;font-size:34px;color:var(--mt-red);text-transform:uppercase}

/* ---------- Stats-balk ---------- */
body .mt-stat{border-left:1px solid rgba(255,255,255,.3);padding-left:24px!important}
body .mt-stat:first-child{border-left:0;padding-left:0!important}
body .mt-stat-num .elementor-heading-title{font-size:44px;color:#fff}
body .mt-stat-label .elementor-heading-title{font-family:var(--mt-font-display);font-style:normal;font-weight:600;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#fff;line-height:1.2}

/* ---------- Knoppen ---------- */
body .mt-btn .elementor-button,
body .mt-btn-ghost .elementor-button{display:inline-flex;align-items:center;font-family:var(--mt-font-display);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:15px;line-height:1.2;padding:12px 22px;border-radius:0;transform:skewX(-10deg);transition:background-color .2s,color .2s}
body .mt-btn .elementor-button-content-wrapper,
body .mt-btn-ghost .elementor-button-content-wrapper{transform:skewX(10deg)}
body .mt-btn .elementor-button{background-color:var(--mt-red);color:#fff;border:2px solid var(--mt-red)}
body .mt-btn .elementor-button:hover{background-color:var(--mt-red-hover);border-color:var(--mt-red-hover);color:#fff}
body .mt-btn-ghost .elementor-button{background-color:transparent;color:inherit;border:2px solid currentColor}
body .mt-dark .mt-btn-ghost .elementor-button{color:#fff}
body .mt-btn-ghost .elementor-button:hover{background-color:#fff;color:var(--mt-black);border-color:#fff}
body .mt-soft .mt-btn-ghost .elementor-button:hover,body .mt-card .mt-btn-ghost .elementor-button:hover{background-color:var(--mt-black);color:#fff;border-color:var(--mt-black)}

/* ---------- Media ---------- */
/* Verticale video (9:16) in telefoonframe. Werkt op Video- en Afbeelding-widgets. */
body .mt-phone{aspect-ratio:9/16;background:#1f1f1f;border:6px solid var(--mt-black);border-radius:22px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.35);max-width:380px;width:100%}
body .mt-phone>.elementor-widget-container{height:100%}
body .mt-phone .elementor-wrapper,
body .mt-phone .elementor-custom-embed-image-overlay{height:100%!important;aspect-ratio:auto!important;padding-bottom:0!important}
body .mt-phone video,body .mt-phone iframe,body .mt-phone img{width:100%!important;height:100%!important;object-fit:cover;display:block;border-radius:0}
body .mt-phone.mt-sm{max-width:260px}
/* Lege videowidget: laat een nette placeholder zien */
body .mt-phone:empty::after,
body .mt-phone>.elementor-widget-container:empty::after{content:"▶  video volgt";display:flex;height:100%;align-items:center;justify-content:center;color:#888;font-family:var(--mt-font-display);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:14px}

/* Liggende video (16:9) */
body .mt-wide{background:#1f1f1f;border-radius:14px;overflow:hidden}
body .mt-wide video,body .mt-wide iframe{display:block;width:100%}

/* ---------- Mobiel: swipe-rijen ---------- */
@media (max-width:767px){
	body .mt-section{padding-top:56px!important;padding-bottom:56px!important}
	body .mt-display .elementor-heading-title{font-size:40px}
	body .mt-xl .elementor-heading-title{font-size:54px}
	body .mt-section-title .elementor-heading-title{font-size:36px;gap:12px}
	body .mt-section-title .elementor-heading-title::before{width:12px;height:18px}
	body .mt-h3 .elementor-heading-title{font-size:28px}
	body .mt-stat-num .elementor-heading-title{font-size:32px}
	body .mt-lead{font-size:16px}
	body .mt-slash::before{right:-40%;width:70%;top:auto;bottom:-10%;height:50%}
	body .mt-slash-left::before{left:-25%;width:40%}
	body .mt-stat{padding-left:0!important;border-left:0}
	body .mt-hide-mobile{display:none!important}

	/* Horizontaal swipen door kaarten/video's */
	body .mt-swipe,
	body .mt-swipe>.e-con-inner{flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:6px!important}
	body .mt-swipe::-webkit-scrollbar{display:none}
	body .mt-swipe>.elementor-element,
	body .mt-swipe>.e-con-inner>.elementor-element{flex:0 0 58%!important;max-width:58%!important;scroll-snap-align:start}
	body .mt-swipe.mt-swipe-wide>.elementor-element,
	body .mt-swipe.mt-swipe-wide>.e-con-inner>.elementor-element{flex:0 0 84%!important;max-width:84%!important}
	body .mt-phone{max-width:none}
	body .mt-phone.mt-sm{max-width:250px;margin-left:auto;margin-right:auto}
}
@media (min-width:768px) and (max-width:1366px){
	body .mt-xl .elementor-heading-title{font-size:76px}
	body .mt-section-title .elementor-heading-title{font-size:48px}
}

/* ---------- Navigatie op canvas-pagina's ---------- */
body .mt-links p{margin:0}
body .mt-links a{color:#fff;text-decoration:none;font-family:var(--mt-font-display);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:15px}
body .mt-links a:hover{color:var(--mt-red)}
body .mt-logo-h .elementor-heading-title{color:#fff}
body .mt-navbar{position:sticky;top:0;z-index:50}
body .mt-center,body .mt-center p{text-align:center;margin-left:auto;margin-right:auto}
body .mt-footbar .elementor-widget-text-editor{color:#9a9a9a}
body .mt-footbar p{margin:0}
@media (max-width:767px){
	body .mt-navbar .mt-btn .elementor-button{font-size:13px;padding:9px 14px}
	body .mt-footbar,body .mt-footbar p{text-align:center}
}
body .mt-logo-h .elementor-heading-title{white-space:nowrap}
/* Swipe-rijen op desktop: kolommen even breed */
@media (min-width:768px){
	body .mt-swipe>.elementor-element,
	body .mt-swipe>.e-con-inner>.elementor-element{flex:1 1 0!important;min-width:0}
}
body .mt-wide{aspect-ratio:16/9;width:100%}
body .mt-wide>.elementor-widget-container{height:100%}
body .mt-wide>.elementor-widget-container:empty::after,body .mt-wide:empty::after{content:"▶  video volgt (16:9)";display:flex;height:100%;align-items:center;justify-content:center;color:#888;font-family:var(--mt-font-display);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:14px}
/* Projectvideo's compacter */
body .mt-proj .mt-phone{max-width:230px}
@media (max-width:767px){
	body .mt-proj .mt-phone{max-width:none}
	body .mt-phone.mt-sm-mobile{max-width:250px;margin-left:auto;margin-right:auto}
}
@media (max-width:767px){body .mt-display.mt-h4 .elementor-heading-title{font-size:26px}}
