.verhalen_article {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: max(2rem, calc(3 * var(--su)));
    min-height: max(30rem, calc(34 * var(--su)));
    height: 100%;

    padding: max(1.5rem, calc(2.5 * var(--su)));
    border-radius: var(--border-radius);
    overflow: clip;
    isolation: isolate;
    background: var(--avoord-purple);
}

.verhalen_article[hidden] {
    display: none;
}

.verhalen_article--quote {
    transition: background-color var(--duration-slowest) var(--style-neutral);
}

.verhalen_article--purple:has(.verhalen-cover):hover {
    background: hsla(308, 61%, 22%, 1);
}

.verhalen_article--green:has(.verhalen-cover):hover {
    background: hsla(160, 63%, 22%, 1);
}

.verhalen_article--green {
    background: var(--avoord-green);
}

.verhalen-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    line-height: 0;
}

.verhalen-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: scale var(--duration-slowest) var(--style-neutral);
}

.verhalen_article:has(.verhalen-cover):hover .verhalen-bg img {
    scale: 1.05;
}

.verhalen_article--image::after,
.verhalen_article--video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%);
    pointer-events: none;
}

.verhalen_article .verhalen-top,
.verhalen_article .verhalen-bottom {
    position: relative;
    z-index: 2;
}

.verhalen_article .verhalen-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: max(0.75rem, calc(1 * var(--su)));
}

.verhalen_article .verhalen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: max(0.5rem, calc(0.5 * var(--su)));
}

.verhalen_article .verhalen-tag {
    display: inline-flex;
    align-items: center;
    gap: max(0.375rem, calc(0.5 * var(--su)));
    border-radius: 999px;
    padding: max(0.75rem, calc(0.75 * var(--su))) max(1rem, calc(1.5 * var(--su)));
    font-size: var(--desktop-body-sm);
    line-height: 1;
    color: var(--avoord-white);
    letter-spacing: -0.32px;
}

.verhalen_article .verhalen-tag svg {
    flex: none;
}

.verhalen_article--image .verhalen-tag {
    background: var(--avoord-purple);
}

.site-2 .verhalen_article--image .verhalen-tag {
    background: hsla(309, 32%, 42%, 1);
}

.verhalen_article--quote .verhalen-tag {
    background: hsla(0, 0%, 100%, 0.1);
}

.verhalen-arrow {
    flex: none;
    margin-left: auto;
    width: max(2.5rem, calc(2.5 * var(--su)));
    height: max(2.5rem, calc(2.5 * var(--su)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--avoord-neon-purple);
}

.verhalen_article--green .verhalen-arrow {
    background: var(--avoord-neon);
}

.verhalen-arrow .material-symbols-outlined {
    color: var(--avoord-purple);
    font-size: max(1.25rem, calc(1.25 * var(--su)));
    transition: transform var(--duration-slow) var(--style-smooth);
}

.verhalen_article--green .verhalen-arrow .material-symbols-outlined {
    color: var(--avoord-dark-green);
}

.verhalen_article:hover .verhalen-arrow .material-symbols-outlined {
    transform: rotate(-45deg);
}

.verhalen-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    text-decoration: none;
}

.verhalen_article .verhalen-sub {
    display: flex;
    align-items: center;
    gap: max(0.5rem, calc(0.5 * var(--su)));
    text-transform: uppercase;
    font-size: var(--desktop-body-xs);
    font-weight: 500;
    color: var(--avoord-white);
    margin-bottom: max(0.5rem, calc(0.5 * var(--su)));
}

.verhalen_article .verhalen-sub svg {
    flex: none;
}

.verhalen_article .verhalen-title {
    font-family: var(--pk-heading-font-family);
    color: var(--avoord-white);
    font-size: var(--scaling-h3);
    line-height: 1.2;
    margin: 0;
}

.verhalen_article--video.verhalen_article .verhalen-title {
    margin-bottom: max(1rem, calc(1.5 * var(--su)));
}

.verhalen_article .verhalen-quote {
    font-family: var(--pk-heading-font-family);
    color: var(--avoord-white);
    font-size: var(--scaling-h3);
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.verhalen_article .verhalen-video-btn {
    display: inline-flex;
    align-items: center;
    gap: max(0.75rem, calc(1 * var(--su)));
    padding: max(0.5rem, calc(0.5 * var(--su))) max(0.5rem, calc(0.5 * var(--su))) max(0.5rem, calc(0.5 * var(--su))) max(1.25rem, calc(1.5 * var(--su)));
    border: none;
    border-radius: 999px;
    background: var(--avoord-white);
    color: var(--avoord-dark-blue);
    font-size: var(--desktop-body-md);
    line-height: 1;
    cursor: pointer;
}

.verhalen_article .verhalen-video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max(2.25rem, calc(2.25 * var(--su)));
    height: max(2.25rem, calc(2.25 * var(--su)));
    border-radius: 50%;
    background: var(--avoord-orange);

    transition: background var(--duration-slow) var(--style-smooth);
}

.verhalen-video-btn:hover .verhalen-video-icon {
    background: var(--avoord-purple);
}

.verhalen_article .verhalen-video-icon .material-symbols-outlined {
    color: var(--avoord-white);
    font-size: max(1.25rem, calc(1.25 * var(--su)));
    font-variation-settings: 'FILL' 1;
}

.verhalen_article .verhalen-dialog {
    width: min(90vw, max(50rem, calc(60 * var(--su))));
    max-width: 90vw;
    padding: 0;
    border: none;
    border-radius: var(--border-radius);
    background: transparent;
    overflow: visible;
}

.verhalen-dialog::backdrop {
    background: hsla(216, 89%, 10%, 0.75);
}

.verhalen-dialog-inner {
    position: relative;
}

.verhalen-dialog-close {
    position: absolute;
    top: max(-3rem, calc(-3.5 * var(--su)));
    right: 0;
    width: max(2.5rem, calc(2.75 * var(--su)));
    height: max(2.5rem, calc(2.75 * var(--su)));
    border: none;
    border-radius: 50%;
    background: var(--avoord-white);
    color: var(--avoord-dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.verhalen-dialog-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius);
    overflow: clip;
    background: #000;
}

.verhalen-dialog-media iframe,
.verhalen-dialog-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media screen and (max-width: 767px) {
    .verhalen_article {
        min-height: max(20rem, calc(26 * var(--su)));
    }
}