/*
 Theme Name:   Wetenschap in de klas
 Theme URI:    https://generatepress.com
 Description:  Wetenschap in de klas
 Author:       Clarq
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* General Settings */
:root {
    /* Blauwe en groene tinten */
    --deep-teal: #02334A;
    --rich-cyan: #0F4F53;
    --muted-green: #465E59;
    --light-mint: #E8F2F1;
    --soft-aqua: #CCE0E1;
    --minty-green: #AFEBDE;
    --ocean-blue: #126E75;

    /* Gele en oranje tinten */
    --golden-yellow: #F9D404;
    --warm-vanilla: #FDF2BA;
    --vibrant-orange: #F29301;

    /* Neutrale en donkere tinten */
    --deep-purple: #161231;
    --off-white: #F9FBFB;
    --pure-white: #fff;
    --hover: #F7F9F9;
}


body.bg-blue .site-header {
    background-color: var(--light-mint);
}

body.bg-blue .site-header .hamburger-menu {
    color: var(--pure-white);
    background-color: var(--deep-teal);
}

body.bg-blue .site-header .hamburger-menu::after {
    content: url("images/open-white.svg");
    padding-left: 10px;
}

@font-face {
    font-family: CrimsonPro-800;
    src: url('assets/fonts/CrimsonPro-ExtraBold.ttf');
}

@font-face {
    font-family: CrimsonPro-700;
    src: url('assets/fonts/CrimsonPro-Bold.ttf');
}

@font-face {
    font-family: CrimsonPro-400;
    src: url('assets/fonts/CrimsonPro-Regular.ttf');
}

@font-face {
    font-family: Inter-700;
    src: url('assets/fonts/Inter_24pt-Bold.ttf');
}

@font-face {
    font-family: Opensans-400;
    src: url('assets/fonts/OpenSans-Regular.ttf');
}

@font-face {
    font-family: Opensans-700;
    src: url('assets/fonts/OpenSans-Bold.ttf');
}

.boxed {
    padding: 50px 20px;
}

section > .boxed {
    max-width: 1520px;
    margin: 0 auto;
}


h1, h2, h3 {
    font-family: CrimsonPro-700, sans-serif;
    color: var(--deep-teal);
    line-height: normal;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 48px;
}

p, li {
    font-family: Opensans-400, sans-serif;
    color: var(--muted-green);
    font-size: 18px;
    line-height: 28px;
}

/* Buttons */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    font-family: Inter-Regular, Arial, sans-serif;
}

.btn-primary {
    background-color: var(--vibrant-orange);
    color: var(--deep-teal);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #FFA214;
    color: var(--deep-teal);
}

.btn-primary::after {
    top: 3px;
    position: relative;
    padding-left: 10px;
    content: url("images/white-arrow.svg");
}

.btn-outline::after {
    top: 3px;
    position: relative;
    padding-left: 10px;
    content: url("images/blue-arrow.svg");
}

.btn-outline {
    text-decoration: none;
    color: var(--deep-teal);
    border: 1px solid var(--ocean-blue);
}

.btn-outline:hover {
    background-color: var(--hover);
}

/* Animations */
/*!* Start: volledig verborgen vanaf onderen *!*/
/*.animation,*/
/*.animation-heading {*/
/*    opacity: 0;*/
/*    -webkit-clip-path: inset(100% 0 0 0);*/
/*    clip-path: inset(100% 0 0 0);*/
/*    will-change: clip-path, opacity;*/
/*}*/

/*!* In beeld: speel reveal keyframe af *!*/
/*.animation.in-view,*/
/*.animation-heading.in-view {*/
/*    animation: revealUp 0.6s ease-out both;*/
/*}*/

/*!* Heading: géén delay *!*/
/*.animation-heading.in-view {*/
/*    animation-delay: 0s;*/
/*}*/

/*!* Andere elementen: altijd 0.5s delay *!*/
/*.animation.in-view {*/
/*    animation-delay: 0.5s;*/
/*}*/

/*!* Keyframes: schuif het masker van onder -> boven *!*/
/*@keyframes revealUp {*/
/*    0% {*/
/*        opacity: 0;*/
/*        -webkit-clip-path: inset(100% 0 0 0);*/
/*        clip-path: inset(100% 0 0 0);*/
/*    }*/
/*    100% {*/
/*        opacity: 1;*/
/*        -webkit-clip-path: inset(0 0 0 0);*/
/*        clip-path: inset(0 0 0 0);*/
/*    }*/
/*}*/

/*!* Reduced motion *!*/
/*@media (prefers-reduced-motion: reduce) {*/
/*    .animation,*/
/*    .animation-heading,*/
/*    .animation.in-view,*/
/*    .animation-heading.in-view {*/
/*        animation: none !important;*/
/*        opacity: 1 !important;*/
/*        -webkit-clip-path: inset(0 0 0 0) !important;*/
/*        clip-path: inset(0 0 0 0) !important;*/
/*    }*/
/*}*/



/* Mega menu */
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1520px;
    margin: 0 auto;
}

.site-header .logo {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    font-size: 18px;
    font-family: Inter-700, sans-serif;
    cursor: pointer;
    align-items: center;
    color: var(--deep-teal);
    justify-content: center;
    display: flex;
    background-color: var(--soft-aqua);
    border-radius: 0 0 8px 8px;
    padding: 35px 35px 25px 35px;
    position: relative;
    top: -21px;
    width: 190px;
    height: 120px;
    max-width: 190px;
    max-height: 120px;
}

.hamburger-menu:hover {
    background-color: var(--light-mint);
    color: var(--deep-teal);
}


.hamburger-menu::after {
    content: url("images/open.svg");
    padding-left: 10px;
}

.search {
    position: relative;
    margin-bottom: 25px;
}

.search.search-header {
    margin-top: 60px;
}

.search .search-field {
    width: 380px;
    padding-left: 64px;
    max-width: 100%;
    border-radius: 6px;
    height: 54px;
    width: 320px;
}

.search .search-submit-btn {
    position: relative;
    background-color: var(--vibrant-orange);
    width: 176px;
    height: 54px;
    border-radius: 6px;
    color: var(--deep-teal);
    font-family: Inter-700, sans-serif;
    font-size: 18px;
    line-height: 24px;
    padding: 0 20px 0 0;
}

.search .search-submit-btn::after {
    position: absolute;
    top: 14px;
    right: 35px;
    content: "";
    display: flex;
    background-image: url("images/white-arrow.svg");
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
}

.search .search-submit {
    position: absolute;
    left: 0;
    padding: 23px;
    background: transparent url("images/search.svg") no-repeat center;
}

.mega-menu-overlay {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 900px;
    background: var(--soft-aqua);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mega-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mega-menu-container {
    padding: 41px 20px;
    width: 100vw;
    max-width: 1520px;
    height: 100vh;
    overflow-y: auto;
    position: relative;
    border-radius: 0;
}

.close-menu {
    position: absolute;
    top: 0;
    right: 27px;
    font-size: 18px;
    font-family: Inter-700, sans-serif;
    cursor: pointer;
    align-items: center;
    color: white;
    justify-content: space-between;
    display: flex;
    background-color: var(--ocean-blue);
    border-radius: 0 0 8px 8px;
    padding: 35px 35px 25px 35px;
    width: 190px;
    height: 120px;
    max-width: 190px;
    max-height: 120px;
}


.close-menu::after {
    content: url("images/close.svg");
    padding-left: 10px;
}

.mega-menu {
    display: flex;
    gap: 80px;
    margin-top: 60px;
}

.mega-menu > div {
    flex: 1;
}

.mega-menu .menu-section .menu-columns .menu-column ul {
    margin: 18px 0 1.5em 0;
}

.mega-menu .menu-section {
    margin-bottom: 20px;
}

.mega-menu span {
    font-family: CrimsonPro-700, sans-serif;
    font-size: 36px;
    padding-bottom: 18px;
    color: var(--deep-teal);
}

.mega-menu ul {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--deep-teal);
}

.mega-menu ul li {
    margin: 10px 0;
}

.mega-menu ul li a {
    text-decoration: none;
    color: var(--deep-teal);
    font-size: 24px;
    font-family: CrimsonPro-800, sans-serif;
    display: flex;
    justify-content: space-between;
}

.mega-menu ul li a::after {
    content: url("images/arrow-link.svg");
    position: relative;
    top: 6px;
}

.mega-menu ul li a:hover {
    color: var(--ocean-blue);
}

.menu-column.social-media {
    padding-top: 100px;
}

.menu-column.social-media p {
    font-size: 18px;
    color: var(--deep-purple);
    margin-bottom: 40px;
}

.menu-column.social-media a {
    display: inline-block;
    margin-right: 35px;
    text-decoration: none;
}

.menu-column.social-media img {
    width: 24px;
    height: auto;
}

/* Copyright bar */
.copyright-bar {
    display: flex;
    justify-content: space-between;
    color: var(--deep-purple);
    padding-top: 12px;
    border-top: 1px solid var(--deep-teal);
}

.copyright-bar,
.copyright-bar a {
    font-size: 16px;
    line-height: 16px;
}

.copyright-bar .made-by a {
    color: var(--ocean-blue);
    text-decoration: none;
}

.copyright-bar .made-by span::before {
    padding-right: 10px;
    content: url("images/made-by.svg");
}

.copyright-bar .made-by a:hover {
    color: var(--soft-aqua);
    text-decoration: none;
}

.site-footer:not(.footer-bar-active) .copyright-bar {
    width: -webkit-fill-available;
    margin: 0 auto;
}

/* Footer */
.site-footer .footer-widgets-container .inside-footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer .footer-widgets-container .inside-footer-widgets > .footer-widget-1 {
    flex: 0 0 35%;
}

.site-footer .footer-widgets-container .inside-footer-widgets > .footer-widget-2 {
    flex: 0 0 30%;
}

.site-footer .footer-widgets-container .inside-footer-widgets > .footer-widget-3,
.site-footer .footer-widgets-container .inside-footer-widgets > .footer-widget-4 {
    flex: 1;
}

.site-footer .footer-widgets-container .inside-footer-widgets h2, .site-footer .footer-widgets-container .inside-footer-widgets h3 {
    color: var(--deep-teal);
    font-family: Opensans-400, Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -0.425px;
}

.footer-widget-1 p, .footer-widget-3 p, .footer-widget-4 p {
    color: var(--deep-purple);
    font-family: Opensans-400, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.footer-widget-2 #menu-footer-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.footer-widget-2 #menu-footer-menu li a {
    color: var(--deep-purple);
    font-family: Opensans-400, sans-serif;
    font-size: 18px;
    font-style: normal;
    line-height: 36px;
    letter-spacing: -0.234px;
    text-decoration: none;
}

.footer-widget-3 p.phone, .footer-widget-3 p.mail, .footer-widget-4 p.route {
    margin-left: 10px;
}

.footer-widget-3 p.phone a, .footer-widget-3 p.mail a, .footer-widget-4 p.route a {
    color: var(--ocean-blue);
    font-family: Opensans-400, Arial, sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-style: normal;
}

.footer-widget-3 p.phone a::before {
    content: url("images/phone-icon.svg");
    position: relative;
    right: 10px;
    top: 7px;
}

.footer-widget-3 p.mail a::before {
    content: url("images/mail-icon.svg");
    position: relative;
    right: 10px;
    top: 7px;
}

.footer-widget-4 p.route a::before {
    content: url("images/route-icon.svg");
    position: relative;
    right: 10px;
    top: 7px;
}

.footer-widget-2 #menu-footer-menu li.current-menu-item a {
    color: var(--ocean-blue);
}

.search .labels > p.thema {
    background-color: var(--ocean-blue);
    color: var(--pure-white);
    font-family: Opensans-400, Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 0;
    padding: 5px 20px;
    max-width: fit-content;
    border-radius: 8px;

}

.search .labels > p.leerjaar {
    background-color: var(--golden-yellow);
    color: var(--deep-teal);
    font-family: Opensans-400, Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 0;
    padding: 5px 20px;
    max-width: fit-content;
    border-radius: 8px;
}

/* search */
.search.search-results .site-content {
    display: block;
}

.search-results .item h2, .search-results .item h2 a {
    color: var(--deep-teal);
    font-family: CrimsonPro-800, sans-serif;
    font-size: 36px;
    line-height: normal;
    letter-spacing: -0.9px;
    text-decoration: none;
    margin-bottom: 16px;
}

.search-results .item p a, .search-results .item p, .search-results .item > a > p {
    color: var(--muted-green);
    font-family: Opensans-400, Arial, sans-serif;
    font-size: 18px;
    line-height: 28px;
    text-decoration: none;
}

.search-results .item .btn {
    max-width: fit-content;
    border: none;
    padding: 0;
}

.search-results .item .btn:hover {
    background: none;
}

.search-results .item {
    padding: 35px 0;
    border-bottom: 1px solid var(--deep-teal);
}

.search-results .items {
    padding: 0 20px;

}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.pagination-list {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-item a,
.pagination-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    text-decoration: none;
    color: var(--muted-green);
    font-size: 14px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.pagination-item.active span {
    background-color: var(--soft-aqua);
    color: var(--muted-green);
}


.single-lesmateriaal > .boxed {
    padding-bottom: 0;
}

.single-lesmateriaal .boxed .post-hero.legacy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px;
}

.single-lesmateriaal .boxed .post-hero.legacy div {
    position: relative;
}

.single-lesmateriaal .boxed .post-hero.legacy div > .post-thumbnail img {
    border-radius: 8px;
}

.single-lesmateriaal .boxed .post-hero.legacy div > .post-thumbnail::before {
    position: absolute;
    bottom: -75px;
    left: -75px;
    content: url("images/icon-ocean-blue.svg");
}

.single-lesmateriaal .container.grid-container, .single-activiteit .container.grid-container {
    width: 100%;
    max-width: 100%;
}

.single-lesmateriaal .site-content, .single-activiteit .site-content {
    display: block;
}

.single-lesmateriaal .site-content .post-hero, .single-activiteit .site-content .post-hero, .single-post .site-content .post-hero {
    max-width: 1520px;
    padding: 20px;
    margin: 0 auto;
}

.single-lesmateriaal .boxed .post-hero .post-extra {
    display: flex;
    flex-direction: row;
}

.single-activiteit .type-activiteit > .boxed, .single-lesmateriaal .type-lesmateriaal > .boxed {
    padding-bottom: 0;
}

.single-lesmateriaal .boxed .post-hero .post-extra > p {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-lesmateriaal .boxed .post-hero .post-extra > p::before {
    display: flex;
    content: "";
    background-image: url("images/agenda.svg");
    width: 17.417px;
    height: 19.25px;
}

.single-lesmateriaal .boxed .post-hero.new h1, .single-activiteit .boxed .post-hero h1, .single-post .site-content .post-hero h1 {
    margin-bottom: 48px;
}

.single-lesmateriaal .boxed .post-hero.new .post-excerpt, .single-post .site-content .post-hero .post-excerpt {
    max-width: 760px;
    padding-top: 100px !important;
}

.single-activiteit .boxed .post-hero .post-excerpt {
    margin-bottom: 40px;
}

.single-lesmateriaal .boxed .post-hero.new .post-excerpt > p, .single-activiteit .boxed .post-hero .post-excerpt > p, .single-post .site-content .post-hero .post-excerpt > p {
    margin-bottom: 0;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image, .single-activiteit .boxed .post-hero .featured-image, .single-post .site-content .post-hero .featured-image {
    position: relative;
    max-width: fit-content;
    margin-bottom: 28px;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image img, .single-activiteit .boxed .post-hero .featured-image img, .single-post .site-content .post-hero .featured-image img {
    width: 800px;
    max-width: 100%;
    border-radius: 8px;
    display: block;
    height: auto;
    z-index: 0;
    position: relative;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image::after, .single-activiteit .boxed .post-hero .featured-image::after, .single-post .site-content .post-hero .featured-image::after {
    content: '';
    width: 350px;
    height: 350px;
    position: absolute;
    background-image: url("images/blue-before.svg");
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -108px;
    right: -110px;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image::before, .single-activiteit .boxed .post-hero .featured-image::before, .single-post .site-content .post-hero .featured-image::before {
    content: "";
    position: absolute;
    border-radius: 8px;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 39.94%, rgba(15, 79, 83, 0.70) 82.23%) no-repeat;
    z-index: 1;
    pointer-events: none;
}

.single-lesmateriaal .boxed .post-hero.new .post-labels, .single-lesmateriaal .boxed .post-hero.new .post-labels .label-group, .single-activiteit .boxed .post-hero .post-labels, .single-activiteit .boxed .post-hero .post-labels .label-group {
    display: flex;
    gap: 16px;
}

.single-lesmateriaal .boxed .post-hero .post-labels {
    margin-bottom: 20px;
}


.single-lesmateriaal .boxed .post-hero.new .post-labels .label-group .label, .single-activiteit .boxed .post-hero .post-labels .label-group .label {
    font-size: 14px;
    line-height: normal;
    font-family: Opensans-400, Arial, sans-serif;
    padding: 4px 15px;
    border-radius: 8px;
}

.single-lesmateriaal .boxed .post-hero.new .post-labels .label-group .label.onderwerp, .single-activiteit .boxed .post-hero .post-labels .label-group .label.thema {
    background: var(--ocean-blue);
    color: var(--pure-white);
}

.single-lesmateriaal .boxed .post-hero.new .post-labels .label-group .label.leerjaar, .single-activiteit .boxed .post-hero .post-labels .label-group .label.leerjaar {
    background: var(--golden-yellow);
    color: var(--deep-teal);
}

.single-activiteit .site-content .post-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.single-boekenreeks .hero .boxed .media img {
    border-radius: 8px;
    width: 100%;
    object-fit: contain;
}

/* vimeo */
.contact-form .form iframe {
    min-width: 800px;
    min-height: 500px;
}


@media (max-width: 1110px) {
    .mega-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .mega-menu ul {
        max-width: 250px;
    }

    .mega-menu-overlay {
        height: 100%;
    }

    .mega-menu-container {
        height: 100% !important;
    }

    .contact-form .form iframe {
        min-width: 400px;
        min-height: 250px;
    }


}

@media (max-width: 880px) {
    .single-lesmateriaal .boxed .post-hero.legacy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mega-menu-container {
        width: 95vw;
        height: 80vh;
    }

    .single-activiteit .site-content .post-hero {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .mega-menu ul {
        max-width: 150px;
    }

    .mega-menu span {
        font-size: 24px;
    }

    .mega-menu ul li a {
        font-size: 16px;
    }

    .hamburger-menu, .close-menu {
        font-size: 16px;
        padding: 20px 20px 10px 20px;
        width: 135px;
        height: 80px;
        max-width: 135px;
        max-height: 80px;
    }

    .hamburger-menu::after, .close-menu::after {
        scale: 0.5;
    }

    .custom-logo {
        max-width: 50%;
    }

    .legacy .boxed .tabs .tab .tab-content .border .tab-rows .tab-row .columns .column .column-image > div::after {
        width: 150px;
        height: 150px;
        bottom: -67px;
        left: -45px;
    }

    .legacy .boxed .tabs .tab .tab-content .border .tab-rows .tab-row .columns .column .column-image {
        padding-bottom: 50px;
    }

    .single-lesmateriaal .boxed .post-hero.new h1, .single-activiteit .boxed .post-hero h1, .single-post .site-content .post-hero h1 {
        font-size: 32px !important;
    }

    .single-lesmateriaal .boxed .post-hero.legacy div > .post-thumbnail::before {
        scale: 0.5;
    }

    .search .search-field {
        max-width: 200px;
    }

    .contact-form .form iframe {
        min-width: 250px;
        min-height: 150px;
    }
}

@media (max-width: 440px) {
    h1, h2 {
        font-size: 32px !important;
    }

    p, ul li, ul li a, a {
        font-family: Opensans-400, sans-serif;
        color: var(--muted-green);
        font-size: 16px;
        line-height: 26px;
    }

    .btn-group {
        margin-bottom: 30px;
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }

    .btn {
        font-size: 14px;
        line-height: 26px;
        padding: 10px 15px;
    }

    .footer-widget-1 p, .footer-widget-3 p, .footer-widget-4 p, .footer-widget-2 #menu-footer-menu li a, .footer-widget-3 p.phone a, .footer-widget-3 p.mail a, .footer-widget-4 p.route a {
        font-size: 16px;
        line-height: normal;
    }

    .mega-menu ul {
        max-width: 100%;
    }

    .mega-menu {
        display: grid;
        grid-template-columns: 1fr;
    }

    .search .search-submit-btn {
        width: 130px;
        font-size: 14px;
    }

    .search .search-submit-btn::after {
        right: 21px;
    }
}

.single-lesmateriaal .boxed .post-hero.legacy div {
    position: relative;
}

.single-lesmateriaal .boxed .post-hero.legacy div > .post-thumbnail img {
    border-radius: 8px;
}

.single-lesmateriaal .boxed .post-hero.legacy div > .post-thumbnail::before {
    position: absolute;
    bottom: -75px;
    left: -75px;
    content: url("images/icon-ocean-blue.svg");
}

.single-lesmateriaal .container.grid-container {
    width: 100%;
    max-width: 100%;
}

.single-lesmateriaal .site-content {
    display: block;
}

.single-lesmateriaal .site-content .post-hero {
    max-width: 1520px;
    padding: 20px 20px 0 20px;
    margin: 0 auto;
}

.single-lesmateriaal .boxed .post-hero.new h1 {
    margin-bottom: 48px;
}

.single-lesmateriaal .boxed .post-hero.new .post-excerpt {
    max-width: 760px;
    padding-top: 100px;
}

.single-lesmateriaal .boxed .post-hero.new .post-excerpt > p {
    margin-bottom: 0;
    font-size: 22px;
    line-height: 28px;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image {
    position: relative;
    max-width: fit-content;
    margin-bottom: 28px;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image img {
    width: 800px;
    max-width: 100%;
    border-radius: 8px;
    display: block;
    height: auto;
    z-index: 0;
    position: relative;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image::after {
    content: '';
    width: 350px;
    height: 350px;
    position: absolute;
    background-image: url("images/blue-before.svg");
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -108px;
    right: -110px;
}

.single-lesmateriaal .boxed .post-hero.new .featured-image::before {
    content: "";
    position: absolute;
    border-radius: 8px;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 39.94%, rgba(15, 79, 83, 0.70) 82.23%) no-repeat;
    z-index: 1;
    pointer-events: none;
}

.single-lesmateriaal .boxed .post-hero.new .post-labels, .single-lesmateriaal .boxed .post-hero.new .post-labels .label-group {
    display: flex;
    gap: 16px;
}

.single-lesmateriaal .boxed .post-hero.new .post-labels .label-group .label {
    font-size: 14px;
    line-height: normal;
    font-family: Opensans-400, Arial, sans-serif;
    padding: 4px 15px;
    border-radius: 8px;
}

.single-lesmateriaal .boxed .post-hero.new .post-labels .label-group .label.onderwerp {
    background: var(--ocean-blue);
    color: var(--pure-white);
}

.single-lesmateriaal .boxed .post-hero.new .post-labels .label-group .label.leerjaar {
    background: var(--golden-yellow);
    color: var(--deep-teal);
}

@media (max-width: 1560px) {
    .single-lesmateriaal .site-content .post-hero, .single-activiteit .site-content .post-hero {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 1110px) {
    .mega-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .mega-menu ul {
        max-width: 250px;
    }

    .mega-menu-overlay {
        height: 100%;
    }

    .mega-menu-container {
        height: 100% !important;
    }
}

@media (max-width: 880px) {
    .single-lesmateriaal .boxed .post-hero.legacy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mega-menu-container {
        width: 95vw;
        height: 80vh;
    }

    .single-lesmateriaal .boxed .post-hero.new .featured-image::after, .single-activiteit .boxed .post-hero .featured-image::after, .single-post .site-content .post-hero .featured-image::after {
        scale: 0.5;
    }
}

@media (max-width: 600px) {
    .mega-menu ul {
        max-width: 150px;
    }

    .mega-menu span {
        font-size: 24px;
    }

    .mega-menu ul li a {
        font-size: 16px;
    }

    .hamburger-menu, .close-menu {
        font-size: 16px;
        padding: 20px 20px 10px 20px;
        width: 135px;
        height: 80px;
        max-width: 135px;
        max-height: 80px;
    }

    .hamburger-menu::after, .close-menu::after {
        scale: 0.5;
    }

    .custom-logo {
        max-width: 50%;
    }

    .legacy .boxed .tabs .tab .tab-content .border .tab-rows .tab-row .columns .column .column-image > div::after {
        width: 150px;
        height: 150px;
        bottom: -67px;
        left: -45px;
    }

    .legacy .boxed .tabs .tab .tab-content .border .tab-rows .tab-row .columns .column .column-image {
        padding-bottom: 50px;
    }
}

@media (max-width: 440px) {
    h1, h2, .single-lesmateriaal .boxed .post-hero.new h1 {
        font-size: 32px !important;
    }

    p, ul li, ul li a, a {
        font-family: Opensans-400, sans-serif;
        color: var(--muted-green);
        font-size: 16px;
        line-height: 26px;
    }

    .btn-group {
        margin-bottom: 30px;
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }

    .btn {
        font-size: 14px;
        line-height: 26px;
        padding: 10px 15px;
    }

    .footer-widget-1 p, .footer-widget-3 p, .footer-widget-4 p, .footer-widget-2 #menu-footer-menu li a, .footer-widget-3 p.phone a, .footer-widget-3 p.mail a, .footer-widget-4 p.route a {
        font-size: 16px;
        line-height: normal;
    }

    .mega-menu ul {
        max-width: 100%;
    }

    .mega-menu {
        display: grid;
        grid-template-columns: 1fr;
    }
}