/**
 * Public plan grid (Elementor widget / [rp_pricing]).
 *
 * The cards reuse Listivo's .listivo-panel-package-v2 styles; only the wrapper
 * needs layout, since the panel grid it normally sits in is not present here.
 */

.rp-pricing__head {
    margin-bottom: 32px;
}

.rp-pricing__heading {
    margin: 0 0 8px;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
}

.rp-pricing__description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: .75;
}

/* Overrides the panel's own grid rules, which assume the panel container. */
.rp-pricing .rp-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.rp-pricing__empty {
    padding: 24px;
    border: 1px dashed #d5e3ee;
    border-radius: 8px;
    color: #5b6b76;
    text-align: center;
}

@media (max-width: 1024px) {
    .rp-pricing .rp-pricing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-pricing .rp-pricing__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
