/* Approved promo design, enabled only by the four JH frontend configs. */
.lnd-s__plan-list.jh-promo-card {
    --jh-promo-accent: #b3c735;
    grid-template-columns: minmax(0, 1fr);
    margin: 24px 0 20px;
    top: 0;
}

.jh-promo-card.lnd-s__plan-list li {
    width: 100%;
}

.jh-promo-card.lnd-s__plan-list .jh-promo-card__link {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) 152px max-content;
    align-items: center;
    gap: 24px;
    padding: 17px 24px;
    text-align: start;
    background: #fff;
}

.jh-promo-card.lnd-s__plan-list .plan-info {
    margin: 0;
}

.jh-promo-card.lnd-s__plan-list h2 {
    font-size: 30px;
    line-height: 36px;
    white-space: nowrap;
    text-align: center;
    text-transform: none;
}

.jh-promo-card__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 0 16px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.jh-promo-card__spec-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jh-promo-card__spec-group:first-child {
    width: 100%;
    max-width: 152px;
    justify-self: end;
}

.jh-promo-card__spec-group strong {
    display: inline-block;
    white-space: nowrap;
}

.jh-promo-card.lnd-s__plan-list .jh-promo-card__price {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 152px;
    min-height: 54px;
    direction: ltr;
    unicode-bidi: isolate;
}

.jh-promo-card__price::before {
    content: "";
    position: absolute;
    inset: -6px -10px;
    background: var(--jh-promo-accent);
    -webkit-mask: url(../img/svg/hand-drawn-outline.svg) no-repeat center / 100% 100%;
    mask: url(../img/svg/hand-drawn-outline.svg) no-repeat center / 100% 100%;
}

.jh-promo-card.lnd-s__plan-list .plan-price {
    position: relative;
    margin: 0;
    color: var(--color-black);
    font-size: 28px;
    line-height: 32px;
    white-space: nowrap;
}

.jh-promo-card__button {
    justify-self: center;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--color-purple-600);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.jh-promo-card.lnd-s__plan-list a:hover::before {
    border: 4px solid var(--jh-promo-accent);
}

.jh-promo-card__link:focus-visible {
    outline: 3px solid var(--color-purple-600);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .jh-promo-card.lnd-s__plan-list .jh-promo-card__link {
        gap: 16px;
        padding: 17px 20px;
    }

    .jh-promo-card.lnd-s__plan-list h2 {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 799px) {
    .jh-promo-card.lnd-s__plan-list .jh-promo-card__link {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
        padding: 17px 16px;
        text-align: center;
    }

    .jh-promo-card__heading,
    .jh-promo-card__specs {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        grid-column: 1 / -1;
    }

    .jh-promo-card__specs {
        width: 100%;
        max-width: 400px;
        justify-self: center;
        text-align: start;
    }

    .jh-promo-card__price {
        justify-self: center;
    }

    .jh-promo-card__spec-group:first-child {
        max-width: none;
        justify-self: stretch;
    }
}
