/*
 Theme Name:   LMPR (GeneratePress Child Theme)
 Theme URI:    https://lamper-design.nl
 Description:  GeneratePress child theme
 Author:       Team Lamper Design
 Author URI:   https://lamper-design.nl
 Template:     generatepress
 Version:      0.1
*/


@font-face {
	font-display: swap;
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400;
	src: url('assets/fonts/manrope-v20-latin-regular.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: "Manrope";
	font-style: normal;
	font-weight: 800;
	src: url('assets/fonts/manrope-v20-latin-800.woff2') format('woff2');
}

/* Globals */

:root {
    --site-width: 1320px;
    --narrow-container: 866px;
    --site-padding-inline: 1rem;
    --border-radius: .75rem;
    --h1-size: clamp(3.25rem, 2.375rem + 3.5vw, 5rem);
    --h2-size: clamp(2.5rem, 2.125rem + 1.5vw, 3.25rem);
    --h3-size: clamp(2rem, 1.75rem + 1vw, 2.5rem);
    --h4-size: clamp(1.375rem, 1.0625rem + 1.25vw, 2rem);
    --h5-size: clamp(1.25rem, 1.1875rem + 0.25vw, 1.375rem);
    --h6-size: clamp(1.125rem, 1.0625rem + 0.25vw, 1.25rem);
    --body-size: 1rem;
    interpolate-size: allow-keywords;
}

@media (width >= 769px) {

    :root {
        --site-padding-inline: 2rem;
        --body-size: 1.125rem;
    }

}

html {
    overflow-x: clip;
}

html.mobile-menu-open.slide-opened {
    overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {

    html {
        scroll-behavior: smooth;
    }

    /* @view-transition {
        navigation: auto;
    } */

}

h1, h2, h3, h4, h5, h6, .h1-style, .h2-style, .h3-style, .h4-style {
    overflow-wrap: anywhere;
    text-wrap: balance;
}


p,
li:not(.comment),
figcaption {
    text-wrap: pretty;
}

a {
    text-underline-offset: .125em;
}

a:not([href]) {
    cursor: pointer;
}

ul, ol {
	margin-left: 1.5em;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--accent);
}

mark {
    display: inline-block;
    border-radius: 100vw;
    line-height: 1.5;
    padding-inline: .5em;
}

.site-padding-inline {
    padding-inline: var(--site-padding-inline);
}

.entry-content p+:is(h2,h3,h4),
.dynamic-entry-content :is(h2,h3,h4) {
    margin-top: .75em;
}

.entry-content > figure:not(.wp-block-gallery) img {
    margin-bottom: 1.5rem;
}

.entry-content ol li::marker {
    font-weight: 600;
}

.entry-content a:not([class*="btn-"]),
.dynamic-entry-content a:not([class*="btn-"]) {
    text-decoration: underline;
}

.entry-content a:not([class*="btn-"]):is(:hover,:focus-visible),
.dynamic-entry-content a:not([class*="btn-"]):is(:hover,:focus-visible) {
    text-decoration: none;
}

.wp-block-gallery {
    margin-block: 1.25rem;
}

.wp-block-embed .is-type-video {
    margin-block: 1.5rem;
}

.wp-block-embed iframe {
    border-radius: var(--border-radius);
}

.entry-content .wp-block-embed {
    margin-block: 1.5em;
}

.gb-container p:last-child:last-of-type {
    margin-bottom: 0;
}

figcaption {
	margin-top: .375rem;
    text-align: center;
}

.scroll-offset,
[id] {
    scroll-margin-top: 2rem;
}

.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-5 {
    -webkit-line-clamp: 5;
}

blockquote p::before {
    content: "\201C";
}

blockquote p::after {
    content: "\201D";
}

/* Details/summary element */

details {
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

details::details-content {
    height: 0;
    transition: 
        height 250ms,
        content-visibility 250ms;
    transition-behavior: allow-discrete;
}

details[open]::details-content {
    height: auto;
    margin-bottom: 1.5rem;
}

details summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    cursor: pointer;
    gap: 1.25rem;
    padding-block: 1.5rem;
    font-size: var(--h6-size);
    font-weight: 800;
}

details summary::-webkit-details-marker { /* safari / ios */
    display: none !important;
}

details summary::after {
    --icon-size: 1em;
    content: ''; 
    width: var(--icon-size);
    height: var(--icon-size);
    background-image: url('assets/images/icon-plus.svg');    
    background-repeat: no-repeat;
    background-size: var(--icon-size);
    background-position: center;
    flex-shrink: 0;
    position: relative;
    top: .125rem;
}

details[open] > summary:after {
    background-image: url('assets/images/icon-minus.svg');   
}

/* Page */

.page-banner + :is(div,section),
.page-header-simple + :is(div,section) {
    margin-top: 0;
}

#contactformulier-block {
    scroll-margin-top: 9rem;
}

/* Single */

.wp-singular .site-header-bg ~ .site header.entry-header {
    margin-top: 1.5rem;
    @media ( width > 1025px ) {
        margin-top: 2.5rem;
    }
}

.single-post .entry-content h2,
.single-vacature .dynamic-entry-content h2 {
    font-size: var(--h4-size);
    line-height: 1.2;
}

.single-post .entry-content h3,
.single-vacature .dynamic-entry-content h3 {
    font-size: var(--h5-size);
}

.single-post .entry-content h4,
.single-vacature .dynamic-entry-content h4 {
    font-size: var(--h6-size);
}

/* Single Post - Nieuws */

.single-post .entry-content {
    width: 100%;
    max-width: var(--narrow-container);
    margin-left: auto;
    margin-right: auto;
}

.single-post .entry-content img {
    display: block;
    border-radius: var(--border-radius);
}

.single-post .entry-content > img {
    margin-bottom: 1.5rem;
}

.wp-block-post-time-to-read {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.wp-block-post-time-to-read:before{
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' role='img' height='1em' width='1em' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23039ED9' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z'%3E%3C/path%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.125em;
    width: 1.25em;
    height: 1.25em;
} 

/* Single bedrijf */

.single-bedrijf .entry-content > *:first-of-type {
    margin-top: 0;
}

/* Single Post - Vacature */

.single-vacature h1 {
    font-size: var(--h2-size);
}

.single-vacature #sollicitatieformulier-block {
    scroll-margin-top: 9rem;
}

/* Facetwp */

.facetwp-facet.facetwp-facet-result_counter {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--bg-accent);
    margin-bottom: 2rem;
}

.facetwp-type-dropdown .facetwp-dropdown {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.facetwp-type-dropdown::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--bg-dark);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.125em' height='1.125em' viewBox='0 0 320 512'%3E%3C!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cpath d='M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z'/%3E%3C/svg%3E") no-repeat 50% 50%/1.125em;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.125em' height='1.125em' viewBox='0 0 320 512'%3E%3C!--! Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cpath d='M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z'/%3E%3C/svg%3E") no-repeat 50% 50%/1.125em;
    width: 1rem;
    height: 1rem;
    rotate: 90deg;
    pointer-events: none;
}

.facetwp-facet-bedrijf .facetwp-dropdown,
.facetwp-facet-locatie .facetwp-dropdown,
.facetwp-facet-dienstverband .facetwp-dropdown {
    background-size: 1em;
    background-repeat: no-repeat;
    background-position: 0.75em 50%;
}

.facetwp-facet-bedrijf .facetwp-dropdown {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Pro 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%230f385e' d='M176 56V96H336V56c0-4.4-3.6-8-8-8H184c-4.4 0-8 3.6-8 8zM128 96V56c0-30.9 25.1-56 56-56H328c30.9 0 56 25.1 56 56V96h64c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64zm232 48H152h-8V432H368V144h-8zM64 144c-8.8 0-16 7.2-16 16V416c0 8.8 7.2 16 16 16H96V144H64zM448 432c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16H416V432h32z'/%3E%3C/svg%3E")
}

.facetwp-facet-locatie .facetwp-dropdown {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%230f385e' d='M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z'/%3E%3C/svg%3E");
}

.facetwp-facet-dienstverband .facetwp-dropdown {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Pro 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%230f385e' d='M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24h80c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8V248c0-13.3-10.7-24-24-24H216c-13.3 0-24 10.7-24 24s10.7 24 24 24h24v64H216zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z'/%3E%3C/svg%3E")
}

/* Gravity Forms */

.gform_wrapper .gform_body .gform_fields :is(input:not([type="submit"],[type="checkbox"],[type="radio"]),textarea,select) {
    padding: 1rem 1.25rem;
    border-radius: .5rem;
}

.gfield_label.gform-field-label .gfield_required .gfield_required.gfield_required_text {
    color: var(--text-light);
    font-style: normal;
}

.gfield.gfield--type-fileupload .ginput_container_fileupload .gform_drop_area {
    background-color: #edeef61c;
    border: none;
}

.gform_button_select_files {
    border-radius: .5rem;
}

.gform_button_select_files:is(:hover,:focus-visible) {
    text-decoration: underline;
}

input[type=submit].gform_button {
    border-radius: .5rem;
    padding: 1rem 3.25rem 1rem 1.25rem;
    background-image: url('https://www.bemapackaging.group/wp-content/uploads/2026/01/arrow-right-regular-full.svg');
    background-position: calc(100% - 1rem) center;
    background-repeat: no-repeat;
    background-size: 1.5rem;
}

input[type=submit].gform_button:is(:hover,:focus-visible) {
    text-decoration: underline;
}

.sollicitatieformulier_wrapper h2 {
    font-size: var(--h4-size);
}


.sollicitatieformulier_wrapper input[type=submit].gform_button {
    margin-left: auto;
}

/* Rank Math */

.rank-math-breadcrumb p {
    margin-bottom: 0;
}

.rank-math-breadcrumb a {
    display: inline-flex;
    font-size: var(--text-xs);
    font-weight: 500;
    line-height: 1.4;
}

.rank-math-breadcrumb a:after {
    content: '';
    width: 1.25rem;
    margin-inline: .25rem;
    background-image: url('assets/images/angle-right.svg');
    background-repeat: no-repeat;
    background-size: .5rem;    
    background-position: center;
}

.rank-math-breadcrumb .separator {
    display: inline-block;
    width: 0;
    opacity: 0;
    visibility: hidden;
}

.rank-math-html-sitemap__title {
    font-size: var(--h3-size);
}

/* Boxzilla */

.boxzilla {
    border-radius: var(--border-radius);
}

.boxzilla .boxzilla-close-icon {
    color: var(--text-base);
    opacity: 1;
    padding: .75rem;
    font-size: 2.75rem;
    font-weight: 400;
}

.boxzilla-btn-close {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
    margin-bottom: .25rem;
    background-color: transparent;
    padding: 0;
}

.boxzilla-btn-close .icon {
    font-size: 1.5em;
}

.boxzilla-btn-close:is(:hover,:focus,:focus-visible) {
    background-color: transparent;
}

.boxzilla-btn-close:is(:hover,:focus,:focus-visible) .text {
    text-decoration: underline;
}

.boxzilla.boxzilla-bottom-right {
    margin: 1rem;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
}

.boxzilla.boxzilla-nieuwsbrief {
    padding: 1rem 1.25rem;
    background-color: var(--bg-light);
}

.boxzilla.boxzilla-nieuwsbrief h2 {
    font-size: var(--h5-size);
    color: var(--text-base);
}

.boxzilla.boxzilla-nieuwsbrief p {
    font-size: 1rem;
    line-height: 1.5;
}

.boxzilla .nieuwsbrief-popup {
    font-size: 1rem;
}

.boxzilla .nieuwsbrief-popup .gfield_label.gform-field-label .gfield_required .gfield_required.gfield_required_text {
    color: var(--text-base);
}

.boxzilla.boxzilla-nieuwsbrief .gform_wrapper .gform_body .gform_fields :is(input:not([type="submit"],[type="checkbox"],[type="radio"]),textarea,select) {
    padding: .675rem .75rem;
}

.boxzilla.boxzilla-nieuwsbrief .gform_wrapper.gravity-theme .gfield_label {
    margin-bottom: 0;
}

.boxzilla.boxzilla-nieuwsbrief input[type=submit].gform_button {
    font-size: 1rem;
    padding: 0 2.75rem 0 0;
    margin-bottom: 0;
    background-size: 1.25em;
    background-color: transparent;
    text-decoration: underline;
}

.boxzilla.boxzilla-nieuwsbrief input[type=submit].gform_button:is(:hover,:focus-visible) {
    text-decoration: none;
}

/* Boxzilla overlay */

.overlay-boxzilla {
    transition: background-color 250ms ease-in-out;
}

.overlay-boxzilla.active {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.65);
    inset: 0;
    z-index: 10000;
}