.card-img-top { height: 160px; object-fit: cover; }

/* Uitgelichte tools op de homepage. Zonder .has-js-rotator blijft de lijst
   volledig zichtbaar als toegankelijke fallback zonder JavaScript. */
.homepage-tools-promo {
    margin-top: 90px;
    padding: 70px 0 28px;
    background: #f7fbf8;
    border-top: 1px solid #e1eee4;
    border-bottom: 1px solid #e1eee4;
}

.homepage-tools-promo__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.homepage-tools-promo__icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e6f4e9;
    color: var(--rf-red);
    font-size: 26px;
}

.homepage-tools-promo__content { flex: 1 1 auto; min-width: 0; }

.homepage-tools-promo__badge {
    display: inline-block;
    margin-bottom: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #327339;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.homepage-tools-promo h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
}

.homepage-tools-promo p { margin: 0 0 7px; color: #4a5152; }

.homepage-tools-promo__rotator {
    color: var(--rf-red);
    font-size: .95rem;
    font-weight: 600;
}

.homepage-tools-promo__label { color: #4a5152; font-weight: 400; }

.homepage-tools-promo__items {
    display: inline-block;
    position: relative;
    min-width: 18rem;
    min-height: 1.4em;
    vertical-align: bottom;
}

.homepage-tools-promo__item {
    display: none;
    color: inherit;
    text-decoration: none;
}

.homepage-tools-promo__item:hover,
.homepage-tools-promo__item:focus-visible {
    text-decoration: underline;
}

.homepage-tools-promo__item:first-child { display: block; }

.homepage-tools-promo.has-js-rotator .homepage-tools-promo__item {
    display: block;
    position: absolute;
    inset: 0 auto auto 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .35s ease, transform .35s ease;
}

.homepage-tools-promo.has-js-rotator .homepage-tools-promo__item.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.homepage-tools-promo__button { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 767.98px) {
    .homepage-tools-promo { margin-top: 150px; padding-top: 28px; }
    .homepage-tools-promo__inner { align-items: flex-start; flex-wrap: wrap; }
    .homepage-tools-promo__content { flex-basis: calc(100% - 78px); }
    .homepage-tools-promo__button { margin-left: 78px; }
}

@media (max-width: 480px) {
    .homepage-tools-promo { margin-top: 160px; }
}
