/* Custom css needed because huisstijlV3 lacks image logo sizing */
.footer-partners p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.footer-partners img {
    height: 3em;
    width: auto;
    background-color: #fff;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.321rem;
    margin: 0 !important;
}

/* Custom css needed for the subnavbar active state */
.c-subnavbar-application .c-subnavbar-application__wrapper .subnavbar-item.active .subnavbar-link {
    font-weight: 500;
    color: #1769a4;
    border-bottom: 2px solid #1769a4;
    padding-bottom: 8px;
}

/* Custom css needed for the carousel */
/* Make the huisstijl carousel container panoramic with open-space background */
.o-carousel__container {
    aspect-ratio: 3 / 1; /* Adjust panoramic ratio as needed */
    background-color: #FFFFFF; /* Huisstijl grey-100, or use #041847 (indigo-900) */
    overflow: hidden;
    border-radius: 0.5rem;
}

/* Toggle slides */
.c-in-de-kijker-block.-only-image {
    display: none;
    height: 100%;
}

.c-in-de-kijker-block.-only-image.-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Override the cover/max-height from -only-image so full image fits inside */
.c-in-de-kijker-block.-only-image .c-image-container__image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Match original 25% / 75% (large-3 / large-9) sidebar ratio on desktop */
@media (min-width: 42.5em) {
    .o-2-col.-sidearea-left {
        grid-template-columns: 1fr 3fr;
    }
}

/* Show dragging functionality in admin carousel page */
.carousel-item-edit {
    cursor: move;
}


.c-card {
    display: flex;
    flex-direction: column;
}

/* Align text in cards to the bottom */
.c-card > a.action-go-after:last-child,
.c-card > p:last-child {
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-start;
}