/* ============================================================
   NewLP Compare Section — side-by-side option cards
   Fonts & colors inherit from the Elementor global theme styles
   (--e-global-color-*, --e-global-typography-*).
   ============================================================ */

.newlp-compare {
    width: 100%;
    max-width: var(--newlp-max-width, 1280px);
    margin: 0 auto;
    padding: 70px 40px;
    background: white;
}

/* ── Header (centered) ────────────────────────────────────── */

.newlp-compare__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.newlp-compare__eyebrow {
    margin: 0 0 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--e-global-color-secondary);
}

.newlp-compare__title {
    margin: 0 0 12px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--e-global-color-primary);
}

.newlp-compare__description {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--e-global-color-primary);
    opacity: 0.72;
}

/* ── Cards ─────────────────────────────────────────────────── */

.newlp-compare__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.newlp-compare__card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(24, 39, 66, .12);
    border-radius: 16px;
    background: hsl(0 0% 98% / 1);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(24, 39, 66, .06);
}

.newlp-compare__image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    /* Placeholder colour while no image has been chosen yet */
    background: #e9eef5;
}

.newlp-compare__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.newlp-compare__card-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--e-global-color-primary);
}

.newlp-compare__card-description {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--e-global-color-primary);
    opacity: 0.72;
}

.newlp-compare__features {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newlp-compare__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--e-global-color-primary);
}

.newlp-compare__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--e-global-color-secondary);
}

.newlp-compare__feature-icon svg {
    width: 100%;
    height: 100%;
}

.newlp-compare__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 13px 24px;
    border-radius: 8px;
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-accent, #fff);
    font-size: 14.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: filter 0.25s ease;
}

.newlp-compare__cta::after {
    content: "→";
    font-weight: 400;
    transition: transform 0.25s ease;
}

.newlp-compare__cta:hover {
    filter: brightness(1.1);
}

.newlp-compare__cta:hover::after {
    transform: translateX(4px);
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 767px) {
    .newlp-compare {
        padding: 48px 20px;
    }

    .newlp-compare__head {
        margin-bottom: 32px;
    }

    .newlp-compare__grid {
        grid-template-columns: 1fr;
    }
}