/*
 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
*/

/* 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);
}

blockquote {
    padding: 1rem 0;
    border: none;
    margin: 0;
}

blockquote p::before {
    content: '\201C';
}

blockquote p::after {
    content: '\201D';
}

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;
}

.list-nostyle {
	list-style-type: '';
	margin: 0;
}

.list-footer li {
    margin-bottom: .5rem;
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
}

.list-custom-marker {
	list-style-type: '';
	margin: 0;
}

.list-custom-marker li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.list-custom-marker li:last-child {
    border-bottom: none;
}

.list-custom-marker li::before {
    content: '';
    flex-shrink: 0;
    display: block;
    background-color: var(--cta);
    mask: 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 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 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z'/%3E%3C/svg%3E") no-repeat 50% 50% / 1.5rem;
    -webkit-mask: 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 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 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z'/%3E%3C/svg%3E") no-repeat 50% 50% / 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: .125rem;
}

.scroll-offset {
    scroll-margin-top: 2rem;
}