/*
 * Avada / Fusion UI-overrides.
 *
 * Globaal ingeladen via inc/enqueue.php (na style.css). Bevat alleen
 * theme-overrides — feature-CSS hoort in eigen files, conditioneel
 * ingeladen vanuit een module.
 *
 * Onderwerp-blokken:
 *   1. Hero sectie (.herosection)
 *   2. Image clip-path utility (.imagechange)
 */


/* ============================================================
   1. Hero sectie — edge-to-edge ondanks Avada's
   .nonhundred-percent-fullwidth container instelling.
   100vw-breakout met negatieve margin trekt 'm uit de Site Width.
   ============================================================ */
.herosection {
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;

    height: 600px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.herosection > .fusion-row,
.herosection .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.herosection::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(26, 26, 140, 0.85);
    clip-path: polygon(0 0, 45% 0, 60% 50%, 45% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 45% 0, 60% 50%, 45% 100%, 0 100%);
    z-index: 1;
}

.herosection > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .herosection {
        height: 480px;
    }
    .herosection::before {
        clip-path: none !important;
        -webkit-clip-path: none !important;
    }
}


/* ============================================================
   2. Image utility — afgeschuinde hoeken (linksboven + rechtsonder).
   Voeg .imagechange toe via Avada Builder → Element → CSS Classes.
   ============================================================ */
.fusion-checklist .fusion-li-icon.far,
.fusion-checklist .fusion-li-icon.fas,
.fusion-checklist .fusion-li-icon.fab {
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-weight: 400;
	display: inline-block;
	line-height: 1;
	width: auto;
	height: auto;
}

.fusion-checklist .fusion-li-icon.fas {
	font-weight: 900;
}

.fusion-checklist .fusion-li-icon.fab {
	font-family: "Font Awesome 5 Brands";
	font-weight: 400;
}

.imagechange img {
    clip-path: polygon(
        90px 0,
        100% 0,
        100% calc(100% - 90px),
        calc(100% - 90px) 100%,
        0 100%,
        0 90px
    );
}
