/* ==========================================
   PRINTMARKT - ACTUALITEITEN
   ========================================== */

.pm-news.section {
    background: var(--pm-secondary);
    padding: var(--pm-section-spacing) 0 !important;
}


/* ==========================================
   NEWS - ALGEMENE LAYOUT
   ========================================== */

.pm-news > .section-content {
    width: 100%;
    max-width: var(--pm-container) !important;
    margin: 0 auto;
    padding: 0 var(--pm-gutter);
    box-sizing: border-box;
}

.pm-news .pm-news-intro.row,
.pm-news .pm-news-row.row,
.pm-news .pm-news-bottom.row {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.pm-news-intro > .col,
.pm-news-row > .col,
.pm-news-bottom > .col {
    padding: 0 !important;
    min-width: 0;
}


/* ==========================================
   NEWS - INTRODUCTIE
   ========================================== */

.pm-news .pm-news-intro.row {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: clamp(32px, 5vw, 80px);
    align-items: end;

    margin-bottom: 56px !important;
}

.pm-news-intro > .col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
}

.pm-news-intro > .col:first-child {
    grid-column: 1 / -1;
}

.pm-news-intro::before,
.pm-news-intro::after {
    display: none !important;
}

.pm-news-intro .pm-eyebrow {
    margin-bottom: 18px;
}

.pm-news-intro .pm-eyebrow p {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    margin: 0;
}


/* ==========================================
   NEWS - HOOFDTITEL
   ========================================== */

.pm-news-heading h2,
h2.pm-news-heading {

    font-family: var(--pm-font-heading);
    font-size: clamp(36px, 4vw, 58px) !important;
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -0.035em;

    color: var(--pm-primary);
    margin: 0;

}

.pm-news-heading h2 span,
h2.pm-news-heading span {
    color: var(--pm-accent);
}

.pm-news-intro .pm-intro p {
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.65;
    font-weight: 400;
    color: var(--pm-primary);
    margin: 0;
}


/* ==========================================
   NEWS - BLOG POSTS GRID
   ========================================== */

.pm-news .pm-news-posts.row,
.pm-news .pm-news-posts .row {

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: clamp(24px, 3vw, 40px);

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

}

.pm-news-posts.row::before,
.pm-news-posts.row::after,
.pm-news-posts .row::before,
.pm-news-posts .row::after {
    display: none !important;
}

.pm-news-posts .post-item {

    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;

    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;

}

.pm-news-posts .post-item > .col-inner {
    height: 100%;
    padding: 0 !important;
}

.pm-news-posts .box-blog-post {
    height: 100%;
    background: transparent;
    box-shadow: none !important;
}


/* ==========================================
   NEWS - AFBEELDINGEN
   ========================================== */

.pm-news-posts .box-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 22px;
}

.pm-news-posts .box-image .image-cover {
    padding-top: 75% !important;
}

.pm-news-posts .box-image img {
    transition: transform 650ms ease;
    object-fit: cover;
}


/* ==========================================
   NEWS - TEKST
   ========================================== */

.pm-news-posts .box-text {
    padding: 0 !important;
    text-align: left;
}

.pm-news-posts .blog-post-inner {
    display: flex;
    flex-direction: column;
}


/* ==========================================
   NEWS - DATUM
   ========================================== */

.pm-news-posts .post-meta {

    font-family: var(--pm-font-body);
    font-size: 11px;
    font-weight: 700;

    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--pm-accent);
    opacity: 1;

    order: -1;
    margin-bottom: 12px;

}


/* ==========================================
   NEWS - TITEL
   ========================================== */

.pm-news-posts .post-title {

    font-family: var(--pm-font-heading);
    font-size: clamp(23px, 2.1vw, 30px) !important;

    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.035em;

    color: var(--pm-primary);
    margin: 0 0 14px;

}

.pm-news-posts .is-divider {
    display: none;
}


/* ==========================================
   NEWS - SAMENVATTING
   ========================================== */

.pm-news-posts .from_the_blog_excerpt {

    font-family: var(--pm-font-body);
    font-size: 16px;
    font-weight: 400;

    line-height: 1.7;
    color: var(--pm-text);

    margin: 0 0 24px;

}


/* ==========================================
   NEWS - LEES VERDER
   ========================================== */

.pm-news-posts .blog-post-inner .button {

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    background: transparent !important;

    border: 0 !important;
    border-top: 1px solid var(--pm-border) !important;
    border-radius: 0;

    padding: 18px 0 0 !important;
    margin: 0 !important;

    font-family: var(--pm-font-body);
    font-size: 15px;
    font-weight: 600;

    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;

    text-align: left;
    color: var(--pm-primary);

    box-shadow: none !important;

}

.pm-news-posts .blog-post-inner .button::before {
    display: none !important;
}

.pm-news-posts .blog-post-inner .button::after {

    content: "" !important;
    display: inline-block;
    position: static;

    width: 22px;
    height: 22px;

    flex-shrink: 0;
    margin-left: 12px;

    background-color: var(--pm-accent);

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;

    opacity: 1;
    transition: transform var(--pm-transition);

}


/* ==========================================
   NEWS - HOVER
   ========================================== */

@media (hover: hover) and (pointer: fine) {

    .pm-news-posts .post-item:hover .box-image img {
        transform: scale(1.035);
    }

    .pm-news-posts .post-item:hover .post-title {
        color: var(--pm-accent);
    }

    .pm-news-posts .post-item:hover .button::after {
        transform: translate(3px, -3px);
    }

}


/* ==========================================
   NEWS - ONDERSTE BUTTON
   ========================================== */

.pm-news .pm-news-bottom.row {
    margin-top: 48px !important;
}

.pm-news-bottom > .col > .col-inner {
    text-align: center;
}


/* ==========================================
   NEWS - TABLET
   ========================================== */

@media (min-width: 550px) and (max-width: 849px) {

    .pm-news .pm-news-posts.row,
    .pm-news .pm-news-posts .row {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* ==========================================
   NEWS - MOBIEL
   ========================================== */

@media (max-width: 849px) {

    .pm-news.section {
        padding: 48px 0 !important;
    }

    .pm-news > .section-content {
        padding: 0 24px;
    }

    .pm-news .pm-news-intro.row {

        grid-template-columns: minmax(0, 1fr);
        row-gap: 16px;

        margin-bottom: 32px !important;

    }

    .pm-news-intro .pm-eyebrow {
        margin-bottom: 0;
    }

    .pm-news-posts .post-title {
        font-size: 26px !important;
    }

    .pm-news-posts .box-image {
        margin-bottom: 18px;
    }

    .pm-news .pm-news-bottom.row {
        margin-top: 36px !important;
    }

}

@media (max-width: 549px) {

    .pm-news .pm-news-posts.row,
    .pm-news .pm-news-posts .row {

        grid-template-columns: minmax(0, 1fr);
        gap: 40px;

    }

}


/* ==========================================
   NEWS - REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .pm-news-posts .box-image img,
    .pm-news-posts .button::after {
        transition: none;
        transform: none !important;
    }

}

/* ==========================================
   NEWS - GELIJKE KAARTHOOGTES
   ========================================== */

.pm-news-posts .post-item > .col-inner,
.pm-news-posts .box-blog-post,
.pm-news-posts .box-text,
.pm-news-posts .box-text-inner,
.pm-news-posts .blog-post-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pm-news-posts .box-image {
    flex-shrink: 0;
}

.pm-news-posts .from_the_blog_excerpt {
    flex-grow: 1;
}

.pm-news-posts .blog-post-inner .button {
    margin-top: auto !important;
}