/*
Theme Name: Pageking Flex (child)
Template: pk-theme
Author: Pageking
Author URI: https://www.pageking.nl/
Description: Pageking is een thema voor WordPress dat is ontworpen voor Pageking websites.
Requires at least: 5.9
Tested up to: 6.7.2
Requires PHP: 8.3
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --text-main: hsla(238, 43%, 12%, 1);

    --blue-500: hsla(204, 92%, 38%, 1);
    --blue-400: hsla(205, 90%, 60%, 1);
    --blue-400-opaque: hsla(205, 90%, 60%, .6);
    --blue-300: hsla(198, 76%, 53%, 1);
    --blue-200: hsla(196, 56%, 73%, 1);
    --blue-150: hsla(207, 90%, 96%, 1);
    --blue-100: hsla(206, 88%, 97%, 1);

    --mint-400: hsla(176, 26%, 66%, 1);

    --pink-100: hsla(0, 27%, 92%, 1);

    --white: hsla(0, 100%, 100%, 1);

    --heading-xl: clamp(40px, 5.71vw, 80px);
    --heading-1: clamp(36px, 3.57vw, 50px);
    --heading-2: clamp(30px, 3.20vw, 45px);
    --heading-3: clamp(24px, 2.5vw, 35px);
    --heading-4: clamp(18px, 1.71vw, 24px);
    --heading-5: clamp(16px, 1.42vw, 20px);
    --heading-6: 12px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html body h1{
    font-size: var(--heading-1);
}
html body h2{
    font-size: var(--heading-2);
}
html body h3{
    font-size: var(--heading-3);
}
html body h4{
    font-size: var(--heading-4);
}
html body h5{
    font-size: var(--heading-5);
}
html body h6{
    font-size: var(--heading-6);
}

/* ALS ER MAAR 1 ALINEA IS, GEEN MARGIN GEVEN */
p:only-child,
p:last-child {
    margin: 0;
}

html .pk-button {
    padding: .75rem 2rem;
    border-radius: 4rem;
    text-decoration: none;
    color: var(--text-400);
    letter-spacing: -0.02em;
    line-height: 1;

    transition: color 300ms ease-in-out, background-color 300ms ease-in-out, border-color 300ms ease-in-out;
}

.heading-wrapper .bold{
    font-weight: 800;
}
.heading-wrapper .blue{
    color: var(--blue-400);
}

.pk-button.main{
    background-color: var(--blue-400);
    border: 1px solid var(--blue-400);
    color: var(--white);
}

.pk-button.main .pk-button-text {
    color: var(--white);
}

.pk-button.main:hover {
    background-color: var(--blue-500);
    border-color: var(--blue-500);
}

.pk-button.secondary {
    border: 1px solid var(--blue-400);
}

.otgs-development-site-front-end {
    display: none !important;
}

[data-text-wrapper] {
    position: relative;
}

[data-text-double] {
    position: absolute;
    white-space: nowrap;
    left: 0;
}

/* swiper global styling */
.pk-page .swiper-horizontal>.swiper-scrollbar,
.pk-page .swiper-scrollbar.swiper-scrollbar-horizontal {
    position: relative;
    inset: unset;
    padding: 0;
    margin: 0;
    border-radius: 0;
    margin-top: 40px;
    width: 100%;
    height: 2px;
    background: #ECF6FE;
}

.pk-page .swiper-scrollbar .swiper-scrollbar-drag {
    background: #0071BC;
    inset: 0;
    border-radius: 0;
}

.pk-page .swiper_nav {
    position: relative;
    display: flex;
    align-items: center;
}

.pk-page .swiper-button-prev:after,
.pk-page .swiper-button-next:after {
    display: none;
}

.pk-page .swiper-button-prev,
.pk-page .swiper-button-next {
    position: relative;
    inset: 0;
    margin: 0;
    width: 50px;
    height: 50px;
    transition: opacity 180ms ease-in-out;
}


/* GLOBAL ARCHIVE STYLING */
article a {
    text-decoration: none;
}

article h4.pk-heading {
    line-height: 1.2;
    letter-spacing: -0.46px;
}

.pk-page .taxonomy_tag {
    width: fit-content;
    border-radius: 100px;
    border: 0.5px solid #FFF;
    padding: 8px 30px;
    font-size: 12px;
    color: #fff;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

/* news layout styling */
.news_article .news_image {
    min-height: 350px;
    background-size: cover;
    background-position: center;
    padding: 20px;
    position: relative;
}

.news_article .news_image .link_svg {
    position: absolute;
    bottom: 12px;
    right: 12px;
    transition: transform 180ms ease-in-out;
}

.news_article .news_link:hover .news_image .link_svg {
    transform: rotate(45deg);
}

.news_article .news_content .news_title {
    padding: 16px 0;
    max-width: 380px;
    width: fit-content;
}


/* solution layout styling */
.solution_article .solution_content_wrapper {
    position: relative;
}

.solution_article .solution_link:hover .solution_image {
    opacity: 1;
}

.solution_article .solution_image {
    opacity: 0;
    transition: opacity 180ms ease-in-out;
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.solution_article .solution_content {
    position: relative;
    z-index: 1;
    min-height: 530px;
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0.5px solid #FFF;
    padding: 30px 40px 40px 30px;
}

.solution_article .solution_content .solution_title {
    color: #fff;
    max-width: 330px;
    width: fit-content;
}

/* team member layout styling */
.team_article .team_image_wrapper {
    position: relative;
}

.team_article .team_image {
    height: 510px;
    width: 100%;
    object-fit: cover;
    border: 0.5px solid #0871B8;
}

.team_article .team_image_wrapper svg {
    position: absolute;
    right: 20px;
    bottom: 20px;
    transition: transform 180ms ease-in-out;
}

.team_article .team_link:hover .team_image_wrapper svg {
    transform: rotate(45deg);
}

.team_article .team_content_wrapper {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.team_article .team_content_wrapper .team_content {
    max-width: 265px;
    width: fit-content;
}

.team_article .team_content_wrapper .team_content .team_role {
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.32px;
}

.team_article .team_content_wrapper .team_contact {
    display: flex;
    gap: 4px;
    align-items: center;
    height: fit-content;
    color: #0871B8;
}

.team_article .team_content_wrapper .team_contact .team_email a,
.team_article .team_content_wrapper .team_contact .team_linkedin a {
    color: #0871B8;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    transition: color 180ms ease-in-out;
}

.team_article .team_content_wrapper .team_contact .team_email a:hover,
.team_article .team_content_wrapper .team_contact .team_linkedin a:hover {
    color: #11122B;
}

/* testimonial layout styling */
.testimonial_article {
    border: 0.5px solid #0071BC;
    background: #FFF;
    padding: 40px 40px 16px 40px;
    height: 100%;
}

.testimonial_article .testimonial_image {
    width: 97px;
    height: 97px;
    overflow: clip;
    border-radius: 97px;
}

.testimonial_article .testimonial_image .pk-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial_article .testimonial_content_wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial_article .testimonial_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-top: 40px;
}

.testimonial_article .testimonial_content .testimonial_text {
    margin-bottom: 60px;
    max-width: 425px;
    width: fit-content;
}

.testimonial_article .testimonial_content .testimonial_text p {
    font-size: 23px;
    font-weight: 500;
    line-height: 33px;
    letter-spacing: -0.46px;
}

.testimonial_article .testimonial_content .testimonial_author {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.testimonial_article .testimonial_content .testimonial_author .testimonial_name {
    color: #0071BC;
    line-height: 25px;
}

.testimonial_article .testimonial_content .testimonial_author .testimonial_company {
    font-size: 12px;
    line-height: 30px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

@media screen and (max-width: 992px) {
    .team_article .team_image {
        height: 400px;
    }
}

@media screen and (max-width: 767px) {
    .solution_article .solution_content {
        padding: 20px;
    }

    .team_article .team_image {
        height: 300px;
    }

    .testimonial_article {
        padding: 20px 20px 16px 20px;
    }
}