/*
  coolplants v2 beeldtaal:
  - redactionele plantbeelden: alleen rechterbovenhoek afgerond
  - functionele UI-kaarten: alle hoeken subtiel afgerond
  - beide stijlen niet mengen binnen één componentgroep
*/


:root {
    --cp-radius-image-mobile: 22px;
    --cp-radius-image: 32px;
    --cp-radius-card: 16px;
}

.cp-editorial-image {
    overflow: hidden;
    border-radius: 0 var(--cp-radius-image-mobile) 0 0;
}

.cp-editorial-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-ui-card {
    border-radius: var(--cp-radius-card);
}

@media (min-width: 721px) {
    .cp-editorial-image {
        border-radius: 0 var(--cp-radius-image) 0 0;
    }
}


/* =========================================================
   POPULAR PLANTS PAGE
   mobile first
========================================================= */

.popular-page-intro {
    padding: 64px 0 48px;
    margin-top: 240px;
    background: #f7f5ef;
    border-bottom: 1px solid #e4e1d8;
}

.popular-page-intro__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #617644;
}

.popular-page-intro__title {
    margin: 0;
    max-width: 760px;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #20241d;
}

.popular-page-intro__text {
    margin: 16px 0 0;
    max-width: 660px;
    font-size: 16px;
    line-height: 1.55;
    color: #62675d;
}

.popular-plant-grid {
    margin-top: 0;
    padding-top: 18px;
    padding-bottom: 56px;
}

.popular-plant-grid > li {
    display: flex;
    padding-left: 6px;
    padding-right: 6px;
}

.popular-plant-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.popular-plant-card__media {
    overflow: hidden;
    border-radius: 0 28px 0 0;
    background: #edf0e8;
}

.popular-plant-card__body {
    padding: 15px 2px 22px;
}

.popular-plant-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.popular-plant-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}


.popular-plant-card__meta {
    margin: 0 0 7px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #78836c;
}

.popular-plant-card__title {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.popular-plant-card__title a {
    color: #20241d;
    text-decoration: none;
}

.popular-plant-card__title a:hover {
    color: #607846;
}

@media (hover: hover) {
    .popular-plant-card:hover {
        transform: translateY(-3px);
        border-color: #cfd6c5;
        box-shadow: 0 14px 36px rgba(25, 34, 20, 0.09);
    }

    .popular-plant-card:hover .popular-plant-card__media img {
        transform: scale(1.025);
    }
}

@media (min-width: 721px) {
    .popular-page-intro {
        margin-top: 110px;
        padding: 72px 0 52px;
    }

    .popular-page-intro__title {
        font-size: 48px;
    }

    .popular-page-intro__text {
        font-size: 18px;
    }

    .popular-plant-grid {
        padding-top: 24px;
        padding-bottom: 72px;
    }

    .popular-plant-grid > li {
        padding-left: 10px;
        padding-right: 10px;
    }

    .popular-plant-card {
        margin-top: 20px;
        border-radius: 18px;
    }

    .popular-plant-card__body {
        padding: 18px 18px 22px;
    }

    .popular-plant-card__title {
        font-size: 20px;
    }
}

@media (min-width: 1101px) {
    .popular-page-intro {
        padding: 76px 0 52px;
    }

    .popular-page-intro__title {
        font-size: 56px;
    }

    .popular-plant-grid {
        padding-top: 30px;
        padding-bottom: 88px;
    }
}