/**
 * Ikodak — S05 storytelling.
 */

.dcip-story {
    background: var(--dcip-sand);
}

.dcip-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.dcip-story__media {
    position: relative;
    padding-bottom: 12%;
    padding-right: 14%;
}

.dcip-story__img {
    margin: 0;
    overflow: hidden;
    border-radius: var(--dcip-radius-lg);
    background: var(--dcip-sand-2);
}

.dcip-story__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dcip-story__img--main {
    aspect-ratio: 4 / 5;
}

.dcip-story__img--small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 3 / 2;
    border: 6px solid var(--dcip-sand);
    box-shadow: var(--dcip-shadow);
}

/*
 * Beeld opent met een clip-path van onder naar boven. De clip zit op de
 * <img>, niet op de figure: Chrome rekent de eigen clip-path van het
 * geobserveerde element mee, waardoor een volledig weggeknipte figure nooit
 * "in beeld" komt en .is-animated nooit krijgt.
 */
.dcip-js .dcip-story__img[data-dc-reveal],
.dcip-js .dcip-story__img[data-dc-reveal]:not(.is-animated) {
    transform: none;
    opacity: 1;
}

.dcip-js .dcip-story__img[data-dc-reveal] img {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s var(--dcip-ease);
    transition-delay: var(--dcip-delay, 0ms);
}

.dcip-js .dcip-story__img[data-dc-reveal].is-animated img {
    clip-path: inset(0 0 0 0);
}

.dcip-story__badge {
    position: absolute;
    left: -8px;
    bottom: 18%;
    display: grid;
    gap: 2px;
    padding: 16px 20px;
    border-radius: 20px;
    background: var(--dcip-ink);
    color: #ffffff;
    box-shadow: var(--dcip-shadow);
}

.dcip-story__badge strong {
    font-family: var(--dcip-font-head);
    font-size: 2.25rem;
    line-height: 1;
    color: var(--dc-primary);
}

.dcip-story__badge span {
    font-size: 0.875rem;
}

.dcip-story__text {
    display: grid;
    gap: clamp(24px, 3vw, 40px);
}

.dcip-story__head {
    display: grid;
    gap: 16px;
    align-content: start;
}

.dcip-story__body {
    display: grid;
    gap: 18px;
    align-content: start;
    font-size: 1.0625rem;
}

.dcip-story__expect {
    padding: 22px 24px;
    border-radius: var(--dcip-radius);
    background: #ffffff;
}

.dcip-story__expect-title {
    margin-bottom: 12px !important;
    font-family: var(--dcip-font-head);
    font-weight: 600;
    color: var(--dcip-ink);
}

.dcip-story__expect ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dcip-story__expect li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: var(--dcip-sand);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dcip-ink);
}

.dcip-story__expect .dcip-icon {
    width: 16px;
    height: 16px;
    color: var(--dcip-primary-deep);
    stroke-width: 2.6;
}

@media (min-width: 900px) {
    .dcip-story__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }
}

@media (min-width: 1200px) {
    .dcip-story__text {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: 48px;
    }
}
