/*
Vantage Theme, remove max width/layer centering.
Usage: Copy and paste this code into Appearance > Custom CSS or your own Custom CSS module.
*/

body.responsive.layout-full #page-wrapper .metaslider .full-container,
.layout-full #page-wrapper .metaslider .full-container {
  max-width: none;
}
/* =========================================================
   CTG HERO - DESKTOP
   ========================================================= */
@media screen and (min-width: 1400px) {

    #page-wrapper .ctg-hero {
        width: 1400px !important;
        max-width: calc(100vw - 40px) !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 35px 0 0 !important;
        overflow: hidden !important;
    }

    #page-wrapper .ctg-hero .panel-row-style {
        width: 100% !important;
        min-height: 670px !important;
        box-sizing: border-box !important;

        background-size: cover !important;
        background-position: center 42% !important;
        background-repeat: no-repeat !important;
    }
}

/* =========================================================
   CTG MOBIEL - 0 T/M 700 PX
   ========================================================= */

@media screen and (max-width: 700px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    /* ---------- HEADER ---------- */

    #masthead {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Logo verder naar binnen plaatsen */
    #masthead .logo,
    #masthead .site-logo-link {
        position: relative !important;
        left: 56px !important;
        right: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    #masthead .logo img,
    #masthead .site-logo-link img {
        display: block !important;
        width: auto !important;
        max-width: 195px !important;
        height: auto !important;
        margin: 0 !important;
    }

    /* Vantage-menuknop staat al goed */
    #masthead .main-navigation {
        box-sizing: border-box !important;
    }
}
/* =========================================================
   MOBIEL: HERO-TEKST COMPACTER
   ========================================================= */

@media screen and (max-width: 700px) {

    #page-wrapper .ctg-hero h1 {
        max-width: 230px !important;
        margin-bottom: 12px !important;
        font-size: 20px !important;
        line-height: 1.08 !important;
    }

    #page-wrapper .ctg-hero p {
        max-width: 235px !important;
        margin-bottom: 14px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    #page-wrapper .ctg-hero a {
        min-width: 118px !important;
        height: 46px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }
}
@media screen and (max-width: 700px) {
    #page-wrapper .ctg-hero .textwidget {
        position: relative !important;
        top: 30px !important;
    }
}
/* Mobiel: donker verloop alleen over het fotogedeelte */
@media screen and (max-width: 700px) {

    /* Bestaande hoge donkere achtergrond verwijderen */
    #page-wrapper .ctg-hero-widget {
        position: relative !important;
        background-color: transparent !important;
    }

    /* Donkere laag uitsluitend over de foto */
    #page-wrapper .ctg-hero-widget::before {
        content: "" !important;
        position: absolute !important;

        top: 80px !important;
        left: 5px !important;
        width: 68% !important;
        height: 260px !important;

        background: linear-gradient(
            90deg,
            rgba(28, 40, 49, 0.82) 0%,
            rgba(28, 40, 49, 0.62) 65%,
            rgba(28, 40, 49, 0) 100%
        ) !important;

        z-index: 1 !important;
        pointer-events: none !important;
    }

    /* Tekst en knoppen boven de laag houden */
    #page-wrapper .ctg-hero-widget > * {
        position: relative !important;
        z-index: 2 !important;
    }
}