/* Section layout */
.doelen-services {
    padding: 18px 0 40px;
}

.doelen-services__container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 22px;
}

.doelen-services__heading {
    text-align: center;
    margin: 8px 0 22px;
    font-size: 34px;
    line-height: 1.1;
    color: #0b1b3a;
}

/* Grid */
.doelen-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Card */
.doelen-servicecard {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(11, 27, 58, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.doelen-servicecard__inner {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    min-height: 540px; /* zorgt dat buttons gelijk uitlijnen (tunen indien nodig) */
    height: 100%;
}

/* Header */
.doelen-servicecard__header {
    margin-bottom: 14px;
}

.doelen-servicecard__brandimg {
    display: block;
    height: 38px;
    width: auto;
    margin-bottom: 6px;
}

.doelen-servicecard__name {
    font-size: 20px;
    font-weight: 500;
    color: #0b1b3a;
}

/* Image with diagonal cut */
.doelen-servicecard__media {
    position: relative;
    margin: 10px 0 16px;
    background: #eef2f6;
    overflow: hidden;
    border-radius: 0;

    /* diagonaal */
    -webkit-clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}

.doelen-servicecard__media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Body + button pinned to bottom */
.doelen-servicecard__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doelen-servicecard__text {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(11, 27, 58, 0.55);
}

.doelen-servicecard__actions {
    margin-top: auto; /* button naar onder */
    padding-top: 10px;
}

.doelen-servicecard__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: #0b1b3a;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.doelen-servicecard__btn br {
    display: none;
}

.doelen-servicecard__btn:hover {
    color: white;
    background: #143475;
}

/* Responsive */
@media (max-width: 980px) {
    .doelen-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .doelen-servicecard__inner {
        min-height: 0; /* mobiel hoeft niet geforceerd */
    }
}

@media (max-width: 620px) {
    .doelen-services__grid {
        grid-template-columns: 1fr;
    }
}
