/*
Theme Name: Herbert Korbee
Theme URI: https://herbertkorbee.nl/
Author: ABDC
Author URI: https://www.abdc.nl/
Template: korbee-hovelynck-bv
Description: Custom made theme for WordPress using Full Site Editing and Gutenberg.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: korbee-hovelynck-bv

*/

/* 


    pagina Contact 


*/

.kh-contact-card h3 {
    font-size: var(--wp--preset--font-size--font-large);
    margin: 0;
}
.kh-contact-card h3 + p {
    font-size: var(--wp--preset--font-size--font-medium);
    margin: 0;
}
.kh-contact-card p a {
    text-decoration: none;
    color: var(--wp--preset--color--tekst);
}
.kh-contact-card p a:hover {
    color: var(--wp--preset--color--kh-groen);
}

/* 


    homepage


*/

body.home main h1.wp-block-post-title {
    margin: 0 !important;
    max-width: 66% !important;
    font-size: calc(18px + 1vw) !important;
    color: var(--wp--preset--color--kh-groen);
}
@media (max-width: 540px) { 
body.home main h1.wp-block-post-title {
    max-width: 100% !important;
    }
}
body.home main .entry-content,
body.home main .entry-content p {
    margin: 0;
    font-size: 3.75rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--wp--preset--color--kh-groen);
    text-wrap: balance;
}
@media (max-width: 1580px) { 
body.home main .entry-content,
body.home main .entry-content p {
        font-size: calc(40px + 1.25vw);
    }
}
@media (max-width: 1024px) { 
body.home main .entry-content,
body.home main .entry-content p {
        max-width: 100%;
        font-size: 40px;
        hyphens: auto;
    }
}
@media (max-width: 640px) { 
body.home main .entry-content,
body.home main .entry-content p {
        max-width: 100%;
        font-size: 40px;
        margin-top: 0;
    }
}


/* geen tweede kolom plaatje */
body.home .wp-block-column:nth-child(2) .replaceable-header-image {
    display: none !important;
}
/* eigen positie voor derde kolom plaatje */
body.home .wp-block-column:nth-child(3) .replaceable-header-image {
    display: inline-block;
    box-sizing: border-box;
    width: 305px !important;
    height: 237.7936px !important;
    margin-top: -104px !important;
    margin-left: 0 !important;
    margin-bottom: 0;
}
@media (max-width: 1740px) { 
    body.home .wp-block-column:nth-child(3) .replaceable-header-image {
        width: 17.6436vw !important;
        height: 12.773vw !important;
        margin-top: -5.977vw !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
    }
}
@media (max-width: 780px) { 
    body.home .wp-block-column:nth-child(3) .replaceable-header-image {
        width: 17.6436vw !important;
        height: 12.773vw !important;
        position: absolute;
        right: auto !important;
        top: 0 !important;
        left: 40%;
        margin-top: -5.977vw !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
    }
}
@media (max-width: 640px) { 
    body.home .wp-block-column:nth-child(3) .replaceable-header-image {
        display: none;
    }
}
/* Grote ellipse precies op dezelfde plek als op contentpagina's  */
body.home .wp-block-column:nth-child(4) .replaceable-header-image {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    position: absolute;
    z-index: 3;
    left: 70%;
    top: -40px;
    width: 670px;
    height: 522px;
    overflow: hidden;
}
@media (max-width: 1580px) { 
    body.home .wp-block-column:nth-child(4) .replaceable-header-image {
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: auto;
        position: absolute;
        left: 70%;
        top: -40px;
        width: 40vw;
        height: 31.1861vw;
    }
}
@media (max-width: 1024px) { 
    body.home .wp-block-column:nth-child(4) .replaceable-header-image {
        left: auto;
        right: -80px;
        top: -20px;
        width: 350px;
        height: 272.8781px;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: auto;
    }
}
@media (max-width: 640px) { 
    body.home .wp-block-column:nth-child(4) .replaceable-header-image {
        left: auto;
        right: -80px;
        top: -40px;
        width: 350px;
        height: 272.8781px;
    }
}
@media (max-width: 480px) { 
    body.home .wp-block-column:nth-child(4) .replaceable-header-image {
        display: none;
    }
}

/* Pagina Referenties */

.referenties-posts-section .referenties-query {
	max-width: 100% !important;
}
.referenties-posts-section .referenties-query ul {
    width: 100%;
    padding: 0;
    margin: 0;
}
.referenties-posts-section .referenties-query li {
	list-style: none;
	padding: 0;
	margin: 0;
}
.referenties-posts-section .referenties-query li a {
    color: var(--wp--preset--color--kh-groen) !important;
}
.referenties-posts-section .referenties-query li a:hover {
    color: var(--wp--preset--color--kh-blauw) !important;
}
.referenties-posts-section .referenties-query li .kh-subcategory-name,
.referenties-posts-section .referenties-query li .taxonomy-label {
    color: var(--wp--preset--color--kh-groen) !important;
}
.page-template-page-referenties .wp-block-button a {
	background: white;
    color: var(--wp--preset--color--kh-blauw) !important;
    border-radius: 0;
    margin-top: 40px;
    margin-bottom: 80px;
}
.page-template-page-referenties .wp-block-button a:hover {
	background: var(--wp--preset--color--kh-blauw);
    color: white !important;
    text-decoration: none;
}
.page-template-page-referenties .wp-block-button a::after {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-left: 1rem;
    vertical-align: baseline;
    /* This will be the color of your icon */
    background-color: var(--wp--preset--color--kh-blauw);
    -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2217%22%20height%3D%2217%22%20viewBox%3D%220%200%2017%2017%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M2.51289%2016.55L0.400391%2014.4375L11.3754%203.45005H5.48789V0.425049H16.5129V11.45H13.4879V5.56255L2.51289%2016.55Z%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2217%22%20height%3D%2217%22%20viewBox%3D%220%200%2017%2017%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M2.51289%2016.55L0.400391%2014.4375L11.3754%203.45005H5.48789V0.425049H16.5129V11.45H13.4879V5.56255L2.51289%2016.55Z%22%2F%3E%3C%2Fsvg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.page-template-page-referenties .wp-block-button a:hover::after {
    background-color: white;
}

/* Pagina Blog */

.posts-page-posts .posts-query ul li h2 a:hover {
    text-decoration: underline;
    color: var(--wp--preset--color--kh-blauw) !important;
}
