/*
Theme Name: Stempraktijk Utrecht
Author: Yvette Jolie
Author URI: https://yvettejolie.nl/
Description: This theme was custom made for Stempraktijk Utrecht.
Version: 1.0
Text Domain: aniquetoebak
License: This theme may only be used on the Stempraktijk Utrecht website!
*/



/*** IMPORT FONTS ***/
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 100%;
  font-style: italic;
  font-display: swap;
}

/*** GLOBAL STYLES ***/
html {
    font-optical-sizing: auto;
}
body {
    background: #fcf3ec;
    font-family: "Fraunces", "Times New Roman", Times, serif;
    color: #2f130b;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

*:disabled {
    pointer-events: none;
    cursor: not-allowed !important;
    opacity: 0.25;
}

a, a::before {
    color: inherit;
    transition: all 250ms ease;
}
a:hover {
    text-decoration: none;
}

form, input, button, select {
    font-family: inherit;
    font-size: inherit;
}

.visually-hidden {
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* TABLES */
table {
    width: 100%;
    border-spacing: 0;
    margin: 2rem auto;
}
tr, td {
    padding: 1rem;
}
tr:nth-child(even) {
    background: #fcf3ec;
}
tr:nth-child(odd) {
    background: #f6e1d4;
}

code {
    font-family: inherit;
    color: #d06c5f;
    font-weight: 600;
    font-variation-settings:
        "SOFT" 100,
        "WONK" 0;
}



/* FORM ELEMENTS */
input, textarea, select {
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 0.15rem solid #2f130b;
    border-radius: 0.3rem;
    outline: 0rem solid transparent;
    transition: all 250ms ease;
    max-width: 100%;
}
input:focus, input:active, textarea:focus, textarea:active, select:focus, select:active, input[type="checkbox"]:focus {
    outline: 0.3rem solid #e08e82;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 72' preserveAspectRatio='none'%3E%3Cg style='isolation:isolate'%3E%3Cpath d='M238.884 12.336c-1.733-4.721-5.789-7.819-9.805-9.567-7.816-3.402-16.098-2.874-24.07-2.481-41.242 2.03-83.002 1.689-124.234 3.247-20.669.781-41.569 1.938-62.247 2.294-4.625.08-9.812.283-13.269 3.541-2.37 2.235-3.425 5.486-4.064 8.629C-.229 25.006-.073 32.182.132 39.323c.15 5.199.233 10.8 2.486 15.403 4.79 9.783 18.106 13.372 28.948 13.886 61.446 2.908 124.407 5.938 185.701-.112 7.326-.723 15.517-1.998 19.54-8.447 2.709-4.343 2.894-10.106 2.981-15.571q.181-11.327.211-22.72c.008-3.159-.016-6.433-1.115-9.426' style='mix-blend-mode:multiply' fill='%23e08e82'/%3E%3C/g%3E%3C/svg%3E");
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    cursor: pointer;
    width: 1.4rem;
    height: 1.4rem;
    border: 0.15rem solid #2f130b;
    border-radius: 0.3rem;
    background-color: #fff;
    transition: all 250ms ease;
}
input[type="checkbox"]:checked {
    background-color: #2f130b;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.629 15.314l-4.95-4.95 1.414-1.414 3.536 3.536 7.778-7.778 1.414 1.414z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem;
}


.wpcf7-form-control-wrap {
    display: block;
}
.wpcf7-list-item {
    margin-left: 0 !important;
}
.wpcf7-list-item label {
    display: flex;
}
.wpcf7-list-item-label {
    display: inline-block;
    padding-left: 1rem;
}


/* BUTTONS */

/* BUTTONS */

/* Base button */
.button,
.testimonial-slider-controls button {
    display: inline-block;
    contain: layout paint;
    position: relative;
    z-index: 1;
    padding: 1rem 2rem;
    width: max-content;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    transition: transform 250ms ease;
    border: none;
    background: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* Background container (JS-enhanced buttons only) */
.button .button-bg,
.testimonial-slider-controls button .button-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* SVG image */
.button .button-bg img,
.testimonial-slider-controls button .button-bg img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Label wrapper */
.button .button-label {
    position: relative;
    z-index: 1;
}

/* Hover transform */
.button:hover,
.button:focus,
.testimonial-slider-controls button:hover,
.testimonial-slider-controls button:active {
    transform: rotate(-1deg) scale(1.1);
}

/* CF7 submit button */
input[type="submit"].button {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 1rem 2rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    border: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    transition: transform 250ms ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 74' preserveAspectRatio='none'%3E%3Crect width='240' height='74' fill='transparent'/%3E%3Cg style='isolation:isolate'%3E%3Cpath d='M238.884 12.336c-1.733-4.721-5.789-7.819-9.805-9.567-7.816-3.402-16.098-2.874-24.07-2.481-41.242 2.03-83.002 1.689-124.234 3.247-20.669.781-41.569 1.938-62.247 2.294-4.625.08-9.812.283-13.269 3.541-2.37 2.235-3.425 5.486-4.064 8.629C-.229 25.006-.073 32.182.132 39.323c.15 5.199.233 10.8 2.486 15.403 4.79 9.783 18.106 13.372 28.948 13.886 61.446 2.908 124.407 5.938 185.701-.112 7.326-.723 15.517-1.998 19.54-8.447 2.709-4.343 2.894-10.106 2.981-15.571q.181-11.327.211-22.72c.008-3.159-.016-6.433-1.115-9.426' fill='%23e08e82' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3C/svg%3E");
}

/* Hover */
input[type="submit"].button:hover,
input[type="submit"].button:focus {
    transform: rotate(-1deg) scale(1.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 74' preserveAspectRatio='none'%3E%3Crect width='240' height='74' fill='transparent'/%3E%3Cg style='isolation:isolate'%3E%3Cpath d='M238.884 12.336c-1.733-4.721-5.789-7.819-9.805-9.567-7.816-3.402-16.098-2.874-24.07-2.481-41.242 2.03-83.002 1.689-124.234 3.247-20.669.781-41.569 1.938-62.247 2.294-4.625.08-9.812.283-13.269 3.541-2.37 2.235-3.425 5.486-4.064 8.629C-.229 25.006-.073 32.182.132 39.323c.15 5.199.233 10.8 2.486 15.403 4.79 9.783 18.106 13.372 28.948 13.886 61.446 2.908 124.407 5.938 185.701-.112 7.326-.723 15.517-1.998 19.54-8.447 2.709-4.343 2.894-10.106 2.981-15.571q.181-11.327.211-22.72c.008-3.159-.016-6.433-1.115-9.426' fill='%23d06c5f' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3C/svg%3E");
}

/* Dark variant */
input[type="submit"].button.dark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 74' preserveAspectRatio='none'%3E%3Crect width='240' height='74' fill='transparent'/%3E%3Cg style='isolation:isolate'%3E%3Cpath d='M238.884 12.336c-1.733-4.721-5.789-7.819-9.805-9.567-7.816-3.402-16.098-2.874-24.07-2.481-41.242 2.03-83.002 1.689-124.234 3.247-20.669.781-41.569 1.938-62.247 2.294-4.625.08-9.812.283-13.269 3.541-2.37 2.235-3.425 5.486-4.064 8.629C-.229 25.006-.073 32.182.132 39.323c.15 5.199.233 10.8 2.486 15.403 4.79 9.783 18.106 13.372 28.948 13.886 61.446 2.908 124.407 5.938 185.701-.112 7.326-.723 15.517-1.998 19.54-8.447 2.709-4.343 2.894-10.106 2.981-15.571q.181-11.327.211-22.72c.008-3.159-.016-6.433-1.115-9.426' fill='%232f130b' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3C/svg%3E");
}

input[type="submit"].button.dark:hover,
input[type="submit"].button.dark:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 74' preserveAspectRatio='none'%3E%3Crect width='240' height='74' fill='transparent'/%3E%3Cg style='isolation:isolate'%3E%3Cpath d='M238.884 12.336c-1.733-4.721-5.789-7.819-9.805-9.567-7.816-3.402-16.098-2.874-24.07-2.481-41.242 2.03-83.002 1.689-124.234 3.247-20.669.781-41.569 1.938-62.247 2.294-4.625.08-9.812.283-13.269 3.541-2.37 2.235-3.425 5.486-4.064 8.629C-.229 25.006-.073 32.182.132 39.323c.15 5.199.233 10.8 2.486 15.403 4.79 9.783 18.106 13.372 28.948 13.886 61.446 2.908 124.407 5.938 185.701-.112 7.326-.723 15.517-1.998 19.54-8.447 2.709-4.343 2.894-10.106 2.981-15.571q.181-11.327.211-22.72c.008-3.159-.016-6.433-1.115-9.426' fill='%234A180C' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3C/svg%3E");
}




/*** WORDPRESS SPECIFIC ***/

/* Captions */
.wp-caption {
  max-width: 100%;
  text-align: center;
  margin: 1rem auto;
  padding: 1rem;
  background: #f6e1d4;
  border-radius: 1rem;
}

.wp-caption img {
  display: block;
  margin: 0 auto;
  border-radius: 0.35rem;
}

.wp-caption-text {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Basic alignment */
.alignleft {
  float: left;
  margin: 0 2rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 2rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignnone {
  margin: 1rem 0;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}



/*** MAIN LAYOUT ***/

/* HEADER */
.homepage .page-header {
    position: relative;
    height: 56.25rem;
}
.header-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
}
.page-header {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
}
.page-header .logo {
    position: relative;
    z-index: 10;
    top: -24px;
    left: -0.8rem;
    display: block;
    width: 372px;
    height: 216px;
}
.page-header nav {
    position: relative;
    z-index: 999999 !important;
    margin: 3rem 3rem 0 0;
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.nav-close-li {
    display: none;
}
.header-menu {
    position: relative;
    display: initial;
    list-style: none;
    width: 100%;
    margin: auto 0 auto 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    flex-direction: row;
    justify-content: flex-end;
    z-index: 999999 !important;
}
.header-menu a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-size: 1.5rem;
    padding-top: 0.15rem;
    border-bottom: 0.15rem solid transparent;
}
.header-menu a:hover {
    border-bottom: 0.15rem solid #2f130b;
}
.nav-toggle {
    display: none;
}
.menu-item-contact a::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 7.375rem;
    height: 3.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 118.743 56.65'%3E%3Cpath d='M64.1 6.934c-16.362 3.682-33.276 7.013-47.915 15.483-4.173 2.485-8.205 5.59-11.071 9.519-3.739 5.559-1.474 13.751 4.62 16.5 22.021 9.376 57.471 2.175 79.031-6.937 8.406-3.742 16.762-8.242 22.593-15.279 7.103-8.54 3.943-19.08-7.383-20.807-23.597-5.429-48.138-1.822-71.67 2.415a.5.5 0 0 1-.607-.396.5.5 0 0 1 .378-.577C44.736 3.89 57.563 1.416 70.567.428c12.978-.91 26.298-.579 38.859 3.069 10.828 4.443 11.884 16.523 4.9 25.012-6.173 7.729-15.113 12.633-23.984 16.598-22.072 9.368-53.03 15.337-76.462 8.765-3.124-.996-6.363-2.11-8.864-4.31C1.191 46.27-.676 40.918.223 35.961c1.107-6.776 7.162-11.127 12.476-14.714 4.14-2.526 8.701-4.669 13.262-6.318 12.271-4.531 25.178-6.795 37.97-8.98.631-.096.823.861.169.986Z' fill='%23e08e82'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transition: all 250ms ease;
}
.menu-item-contact a:hover {
    border-color: #e08e82;
}
.menu-item-contact a:hover::after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
}
.main-content-top {
    position: absolute;
    z-index: 35;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 3840px;
    height: 156px;
    background:url('images/design/main-content-top.svg');
    background-size: cover;
    background-position: top center;
}

/* MAIN */
main {
    box-sizing: border-box;
    width: 100%;
}
main:not(.homepage main) {
    padding-bottom: 6rem;
}
.content-wrapper {
    box-sizing: border-box;
    padding: 0 2rem 2rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    transform: none !important;
}
.content-wrapper h2 {
    font-size: 4rem;
    font-weight: 900;
    padding: 0 2rem;
    margin-top: 0;
}
    .homepage .content-wrapper {
        padding: 4rem 2rem 0;
    }
    .homepage .content-wrapper h2 {
        margin-top: -4rem;
    }
.content-wrapper h3:not(.homepage .content-wrapper h3) {
    font-size: 3rem;
    font-weight: 900;
    padding: 2rem 2rem 0;
    margin-left: -8rem;
    margin-bottom: 0;
    display: inline-block;
}
.content-wrapper .content {
    padding: 0 8rem;
    font-size: 1.5rem;
    max-width: 54ch;
}
.content-wrapper .content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.content-wrapper .content h2 {
    margin-left: -8rem;
}
.content a {
    color: #566175;
}
.content-wrapper .content h3 {
    display: inline;
}
.content-wrapper .content .arrow {
    display: inline;
    vertical-align: top;
    margin: 1rem;
}

/* FOOTER */
footer {
    position: relative;
    width: 100%;
    background: #566175;
    color: #ffffff;
    box-sizing: border-box;
    margin-top: 4rem;
}
footer::before {
    content: "";
    position: absolute;
    top: -7rem;
    left: 0;
    display: block;
    width: 100%;
    height: 7rem;
    background:url('images/design/footer-top.svg');
    background-size: cover;
    background-position: top center;
}
.footer {
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    gap: clamp(1.5rem, calc(11.82vw - 1.45rem), 8rem);
    padding: 4rem;
    line-height: 1.5;
    width: 100%;
    max-width: 1280px;
}
.footer-child {
    flex: 1;
}
.footer-left a, .footer-center a {
    text-decoration: none;
    font-weight: bold;
}
    .footer-left a:hover, .footer-center a:hover {
        text-decoration: underline;
    }
.footer-left .logo {
    margin: -0.9rem 0 0.4rem 0;
}
.footer-child h2 {
    margin-top: 1.5rem;
}
.footer-left {
    display: flex;
    flex-direction: column;
}
.copyright {
    margin: auto 0 0;
}
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-menu a {
    display: block;
    position: relative;
    text-decoration: none;
    padding: 0.25rem 1rem 0.25rem 0;
}
.footer-menu a::before {
    position: absolute;
    content: "\00BB";
    left: -1rem;
    opacity: 0;
}
    .footer-menu a:hover {
        padding: 0.25rem 0 0.25rem 1rem;
    }
    .footer-menu a:hover::before {
        opacity: 1;
        left: 0;
    }
.footer-menu .sub-menu {
    list-style: none;
    margin: 0 0 0 1rem;
    padding: 0 0 0 1rem;
    border-left: 1px solid #ffffff;
}



/*** SUB-SECTIONS ***/

/* HOMEPAGE HERO */
.homepage-hero {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 56.25rem;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 1920px;
    margin: 0 auto;
    right: 0;
    bottom: 0;
}
.homepage-hero-cutout {
    z-index: 30 !important;
}
.homepage-hero h1 {
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    margin: 0 auto;
    padding: 15rem 20rem 0 4rem;
    font-size: 3rem;
    width: 100%;
    max-width: 1280px;
}

/* SERVICES */
.services {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    padding: 0 2rem 0 6rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6rem;
    margin: 64px auto 0 auto;
}
body:not(.homepage) .services {
    margin-top: 0;
}

.service:nth-of-type(4n + 1) {
    background-image: url("images/services/service-block-1.svg");
}
.service:nth-of-type(4n + 2) {
    background-image: url("images/services/service-block-2.svg");
}
.service:nth-of-type(4n + 3) {
    background-image: url("images/services/service-block-3.svg");
}
.service:nth-of-type(4n + 4) {
    background-image: url("images/services/service-block-4.svg");
}

.service, .services aside {
    box-sizing: border-box;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    width: calc(50% - 3rem);
    font-size: 1.25rem;
    padding: 4rem;
}
.service header h2, .services aside header h2 {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 0 2rem 0;
}
.services aside {
    text-align: center;
    padding: 6rem;
}
.service *, aside * {
    z-index: 1;
}
.service-symbol {
    position: absolute;
    top: -2rem;
    left: -2rem;
}

.service-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    margin: 1rem 0 0 0;
}
.service-actions .button, .services aside .button {
    padding: 1.5rem 3rem;
}

aside .service-symbol {
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
aside .button {
    margin: 1rem auto 0;
    font-size: 1.5rem;
}



/* DEEPER WRAPPER */
.deeper-wrapper {
    box-sizing: border-box;
    position: relative;
    background: #f6e1d4;
    margin: 10rem auto -64px auto;
    padding: 4rem 4rem 12rem;
}
.deeper-wrapper::before {
    content: "";
    position: absolute;
    top: -58px;
    left: 0;
    display: block;
    width: 100%;
    height: 58px;
    background:url('images/design/testimonials-top.svg');
    background-size: cover;
    background-position: top center;
}



/* TESTIMONIALS */
.testimonials {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
.testimonials h2 {
    color: #e08e82;
    font-size: 4rem;
    text-align: center;
    margin-top: 0;
}
.testimonial {
    position: relative;
    margin-left: 1rem;
    margin-right: 1rem;
}
.testimonial-after {
    position: relative;
    margin: -2rem 0 0 30%;
}
.testimonial-content {
    background:url('images/design/speech-bubble.svg');
    background-repeat: no-repeat;
    padding: 2rem 4rem;
    font-style: italic;
    font-size: 1.25rem;
}
.testimonial hgroup {
    display: inline-flex;
    flex-direction: column;
    align-content: flex-start;
    margin: 0 1rem;
}
.testimonial hgroup * {
    display: inline-block;
    margin: 0 auto;
    font-size: 1.25rem;
}
.testimonial h3 {
    font-size: 2rem;
}

.testimonial:nth-of-type(odd) .testimonial-after::before {
    content: "";
    width: 90px;
    height: 90px;
    display: inline-block;
    background:url('images/design/speech-bubble-tail.svg');
    background-repeat: no-repeat;
    margin-bottom: -1rem
}
.testimonial:nth-of-type(even) .testimonial-after::after {
    content: "";
    width: 90px;
    height: 90px;
    display: inline-block;
    background:url('images/design/speech-bubble-tail.svg');
    background-repeat: no-repeat;
    transform:scaleX(-1);
    margin-bottom: -1rem;
}

.testimonial-slider-controls {
    display: flex;
    gap: 2rem;
    width: max-content;
    margin: 2rem auto 0;
}
.testimonial-slider-controls button {
    display: flex;
    justify-content: center;
    align-items: end;
    background: #e08e82;
    border: none;
    border-radius: 3rem;
    width: 3rem;
    height: 4rem;
    font-size: 2rem;
}
    .testimonial-slider-controls button:hover {
        background: #d06c5f;
    }

.testimonials-page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
}
.testimonials-page .testimonial {
    width: calc(50% - 4rem);
}



/* SERVICE SINGLE PAGE */
.content-wrapper.single-service {
    position: relative;
}
.content-wrapper.single-service h2 {
    position: relative;
    z-index: 20;
    padding: 2rem 2rem 0;
}

.deeper-wrapper.single-service :not(form) > h3 {
    margin-left: 0 !important;
}
.deeper-wrapper.single-service {
    margin-bottom: -10rem;
}



/*** MEDIA QUERIES ***/

@media only screen and (max-width: 1200px) {
    .content-wrapper .content {
        padding: 0 4rem;
    }
    .content-wrapper h3:not(.homepage .content-wrapper h3) {
        margin-left: -4rem;
    }
    .services {
        padding: 0 2rem 0 4rem;
        gap: 4rem;
    }
    .service-symbol {
        transform: scale(0.75);
        top: -3rem;
        left: -3rem;
    }
    .service, .services aside {
        width: calc(50% - 2rem);
        font-size: 1.25rem;
        padding: 2rem;
    }
}



@media only screen and (max-width: 1000px) {

    /* HEADER */
    .header-menu {
        gap: 1.5rem;
    }

}
@media only screen and (min-width: 900px) and (max-width: 1000px) {
    /* SERVICES */
    .more-info {
        text-indent: -999px;
        overflow: hidden;
        width: 4rem;
        height: 4rem;
        background:url('images/design/meer-info.svg') no-repeat;
        background-position: center center;
        display: block;
    }
}



@media only screen and (max-width: 960px) {

    /* HEADER */
    .header-menu {
        display: none;
        z-index: 100;
        position: fixed;
        left: 1rem;
        top: 1rem;
        width: calc(100vw - 2rem);
        background: rgba(252, 243, 236, 0.9);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 2rem;
        text-align: center;
        box-shadow: 0 0 1rem 1rem rgba(0,0,0,.1);
    }
    .header-menu a {
        padding: 2rem;
    }
    .nav-close-li {
        display: block;
        cursor: pointer;
    }
    .nav-close {
        position: relative;
        width: calc(100% - 4rem);
        text-align: right;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: end;
    }
        .nav-close span {
            font-size: 2rem !important;
            font-weight: bold;
            margin: 2px 0.5rem -2px 0;
        }
    .nav-toggle {
        position: relative;
        top: 0.25rem;
        display: inline-block;
        margin: auto 0 auto auto;
        width: min-content;
        border: none;
        background: none;
        color: inherit;
        font-size: 1.5rem;
        cursor: pointer;
    }

}



@media only screen and (max-width: 900px) {
    /* WORDPRESS SPECIFIC */
    .alignleft {
        float: initial;
        margin: 0 auto 1rem auto;
    }
    .alignright {
        float: initial;
        margin: 0 auto 1rem auto;
    }
    .aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .alignnone {
        margin: 1rem auto;
    }

    /* HERO */
    .homepage-hero h1 {
        padding: 0 4rem;
        margin: auto auto 8rem auto;
        color: #ffffff;
        text-shadow: 0rem 0rem 1rem rgba(0, 0, 0, 0.75);
        z-index: 30 !important;
    }
    .hero-image {
        object-position: calc(50% - 4rem) center;
    }

    /* INTRO */
    .content-wrapper .content {
        padding: 0 2rem;
    }
    .content-wrapper h3:not(.homepage .content-wrapper h3) {
        margin-left: -2rem;
    }

    /* SERVICES */
    .service, .services aside  {
        width: 100%;
    }

    /* TESTIMONIALS */
    .testimonials-page .testimonial {
        width: 100%;
    }

    /* FOOTER */
    .footer {
        flex-wrap: wrap;
        gap: 2rem;
        padding-bottom: 8rem;
    }
    .footer-left, .footer-center {
        flex: unset;
        width: calc(50% - 2rem);
    }
    .footer-right {
        flex: unset;
        width: 100%;
    }
}



@media only screen and (max-width: 700px) {

    /* HEADER */
    .homepage .page-header {
        height: calc((100vw / 2) * 2);
    }
    .page-header .logo {
        
    }

    /* HERO */
    .homepage-hero {
        height: calc((100vw / 2) * 2);
    }
    .homepage-hero h1 {
        font-size: 2rem;
        padding: 0 2rem;
    }

    /* CONTENT */
    .content-wrapper h2 {
        font-size: 3rem;
        padding: 0 !important;
        overflow-wrap: break-word;
    }
    .content-wrapper h3:not(.homepage .content-wrapper h3) {
        font-size: 2rem;
        padding: 0;
        margin-left: 0;
    }
    .content-wrapper .content {
        font-size: 1.25rem;
        padding: 0;
    }
    .content-wrapper .content .arrow {
        transform-origin: center top;
        transform: scale(0.75);
    }

    /* SERVICES */
    .services {
        padding: 0 2rem 0 3rem;
        gap: 3rem;
    }
    .service, .services aside, .service-actions, aside .button {
        font-size: 1rem;
    }
    .service header h2, .services aside header h2 {
        font-size: 2rem;
    }
    .service p, .services aside p {
        line-height: 1.4rem;
    }
    .service-symbol {
        transform: scale(0.5);
        top: -3rem;
        left: -2rem;
    }

    /* TESTIMONIALS */
    .deeper-wrapper {
        margin-top: 6rem;
    }
    .testimonials h2 {
        font-size: 3rem;
    }
    .testimonial-content p {
        line-height: 1.4rem;
    }
    .testimonial hgroup * {
        font-size: 1rem;
    }
    .testimonial h3 {
        font-size: 1.5rem;
    }

    /* FOOTER */
    .footer {
        padding: 4rem 2rem 8rem;
    }
    .footer-child {
        width: 100%;
    }
}



@media only screen and (max-width: 540px) {
    .nav-toggle {
        top: 3.25rem;
    }
    .page-header nav {
        left: -2rem;
        margin: 0;
    }
    .header-menu a {
        padding: 2rem 1rem;
    }
    .nav-close {
        width: calc(100% - 2rem);
    }
    .nav-toggle span {
        display: none;
    }
    .hero-image {
        object-position: calc(50% - 2rem) center;
    }
    .homepage-hero h1 {
        margin-bottom: 6rem;
    }
    .content-wrapper .content .arrow {
        display: block;
        margin: 1rem auto 0 auto;
    }
    .content-wrapper .content {
        font-size: 1rem;
    }
    .services {
        margin-top: 1rem;
    }
    .deeper-wrapper {
        padding: 4rem 2rem 6rem;
    }
}



@media only screen and (max-width: 425px) {
    body {
        transform: scale(calc(100vw / 425));
        transform-origin: top left;
        width: 425px; /* keep original width so scaling is consistent */
    }
    .header-menu {
        width: calc(100% - 2rem);
    }
    .homepage-hero {
        height: calc((100vw / 2) * 2.1);
    }
    .homepage-hero h1 {
        font-size: 1.25rem;
        margin: auto 0 6rem 0;
    }
}