/*
 Theme Name:   LMPR
 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
*/

/* Local fonts */
/* Apula - 300 */
@font-face {
    font-display: swap; 
    font-family: 'Apalu';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/apalu.woff2') format('woff2'); 
}

/* Globals */

:root {
    --sitewidth: 1240px;
    --border-radius: .675rem;
    --max-text-width: 85ch;
    --fontsize-h1: clamp(2rem, 1.1667rem + 3.7037vw, 4.5rem);
    --fontsize-h2: clamp(1.75rem, 1.5833rem + 0.7407vw, 2.25rem);
    --fontsize-h3: clamp(1.5rem, 1.3977rem + 0.4545vw, 1.75rem);
    --fontsize-h4: clamp(1.25rem, 1.1477rem + 0.4545vw, 1.5rem);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

h1, h2, h3 {
    word-wrap: anywhere;
}

:is(h1,h2,h3,h4) a {
    text-decoration: none;
}

:is(h1,h2,h3,h4) a:hover {
    text-decoration: underline;
}

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

a:is(:hover,:focus-visible) {
    text-decoration: none;
}

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

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

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

.sitewidth-container {
	max-width: var(--sitewidth);
	margin-left: auto;
	margin-right: auto;
}

.container-padding {
    padding-inline: 1.5rem;
}

@media (min-width: 769px) {

    .container-padding {
        padding-inline: 2.5rem;
    }

}

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

.entry-content > figure img {
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.entry-content p > a,
.entry-content p > em > a,
.entry-content li > a,
.site-footer a {
	font-weight: 500;
	text-decoration: underline;
}

.entry-content p > a:hover,
.entry-content p > em > a:hover,
.entry-content li > a:hover,
.site-footer a:hover {
	text-decoration: none;
}

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

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

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

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

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

.scroll-offset {
    scroll-margin-top: 2rem;
}

.assortiment-grid .product {
    border-radius: 0.25rem;
    border: 1px solid rgba(240, 240, 240, 0.25);
    display:grid;
    grid-gap:1rem;
    padding:1rem;
    text-decoration: none;
}

.assortiment-grid .product p {
    margin-bottom:0;
}

.assortiment-grid .product:is(:hover,:focus) {
    box-shadow: 1px 1px 10px 2px rgba(242, 212, 191, 0.29);
    transition: all 0.25s ease 0s;
}


@media screen and (max-width:768px) {
    .site-header .header-image {
        width: 150px;
        padding: 1rem;
    }
}