/*
 * Landing page "Hero Content" panel (CMS rich hero beside the booking form).
 * Loaded by cms/view_landing_page.phtml and by the Hero Content editor in
 * cms/add_landing_page.phtml, so the editor previews exactly what the page shows.
 * Authoring shortcuts: a bold word inside the H1 turns yellow, a plain bullet
 * list becomes ticked points, <span class="hero-live-badge"> is the "live" pill.
 */

/* Text only, straight on the hero banner image; shadows keep it readable over the photo. */
.cms-hero-rich {
    position: relative;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

body .cms-hero-rich h1 {
    max-width: none;
    margin: 16px 0 18px;
    padding: 0 0 18px;
    color: #fff;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(3.2rem, 5.2vw, 4.9rem);
    font-weight: 400;
    line-height: .92;
    letter-spacing: .6px;
    text-shadow: 0 3px 6px rgba(0, 12, 40, .45), 0 8px 30px rgba(0, 12, 40, .55);
}

/* A long headline, e.g. "Outstation Cabs from Bhubaneswar": <h1 class="cms-hero-compact"> in the hero content. */
body .cms-hero-rich h1.cms-hero-compact {
    font-size: clamp(2.6rem, 3.6vw, 3.5rem);
}

/* Short yellow rule under the headline. */
body .cms-hero-rich h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f5b301, #ffd25e);
}

body .cms-hero-rich h1 {
    position: relative;
}

/* No gap above whatever comes first (the H1 when there's no badge). */
body .cms-hero-rich> :first-child {
    margin-top: 0;
}

body .cms-hero-rich h1 b,
body .cms-hero-rich h1 strong {
    color: #ffc83d;
    font-weight: 400;
}

.cms-hero-rich p {
    max-width: 560px;
    margin: 0 0 22px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 12, 40, .7), 0 4px 18px rgba(0, 12, 40, .55);
}

.cms-hero-rich p:last-child {
    margin-bottom: 0;
}

.cms-hero-rich a {
    color: #ffd25e;
}

/* A plain bullet list becomes two columns of ticked points. */
.cms-hero-rich ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    max-width: 560px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cms-hero-rich li {
    position: relative;
    margin: 0;
    padding: 0 0 0 32px;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 12, 40, .7), 0 4px 16px rgba(0, 12, 40, .5);
}

.cms-hero-rich li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd25e, #f5b301);
    box-shadow: 0 3px 10px rgba(245, 179, 1, .35);
}

.cms-hero-rich li::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #0b1d3a;
    border-left: 2px solid #0b1d3a;
    transform: rotate(-45deg);
}

/* "Live" pill: <span class="hero-live-badge">…</span> */
.cms-hero-rich .hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #eef3fb;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
}

.cms-hero-rich .hero-live-badge::before {
    content: '';
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: cms-hero-pulse 2s ease-out infinite;
}

@keyframes cms-hero-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    }

    100% {
        box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cms-hero-rich .hero-live-badge::before {
        animation: none;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, .2);
    }
}

@media (max-width: 575.98px) {
    body .cms-hero-rich h1 {
        font-size: 3.1rem;
    }

    body .cms-hero-rich h1.cms-hero-compact {
        font-size: 2.5rem;
    }

    .cms-hero-rich ul {
        grid-template-columns: 1fr;
    }
}

.lp-content-desc a:hover {
    color: initial;
    text-decoration: underline;
}
