/*
 * Safe visual layer for three long-form legacy locality pages.
 * Content, headings, URLs and SEO metadata remain controlled by each Blade view.
 */
.local-legacy-page {
    width: min(calc(100% - 34px), 1120px);
    margin: 34px auto 64px !important;
    padding: clamp(30px, 5vw, 62px) !important;
    border: 1px solid #eadcf6;
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0, rgba(217, 70, 239, .09), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fdfaff 100%);
    box-shadow: 0 24px 70px rgba(76, 29, 149, .12);
    color: #24173a;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.78 !important;
    overflow: hidden;
}

.local-legacy-page > h1 {
    width: auto;
    max-width: none;
    margin: calc(clamp(30px, 5vw, 62px) * -1) calc(clamp(30px, 5vw, 62px) * -1) 34px !important;
    padding: clamp(38px, 6vw, 72px) clamp(24px, 5vw, 62px) !important;
    border-radius: 31px 31px 22px 22px;
    background:
        radial-gradient(circle at 86% 14%, rgba(244, 114, 182, .34), transparent 31%),
        linear-gradient(135deg, #241044 0%, #6d28d9 54%, #c026a5 100%);
    color: #fff !important;
    font-size: clamp(36px, 5vw, 58px) !important;
    font-weight: 950;
    line-height: 1.08 !important;
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    text-shadow: 0 7px 26px rgba(20, 7, 40, .28);
}

.local-legacy-page > p,
.local-legacy-page > ul {
    max-width: 82ch;
}

.local-legacy-page > p {
    margin: 0 0 20px;
    color: #4c405f;
}

.local-legacy-page > h2 {
    margin: 46px 0 16px;
    color: #3b1768;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.local-legacy-page > h3 {
    margin: 30px 0 10px;
    color: #7e22ce;
    font-size: clamp(20px, 2.4vw, 25px);
    line-height: 1.3;
}

.local-legacy-page > ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 30px;
    padding: 22px 24px 22px 48px;
    border: 1px solid #eadcf6;
    border-radius: 20px;
    background: #faf5ff;
    box-shadow: 0 12px 30px rgba(76, 29, 149, .07);
}

.local-legacy-page a {
    color: #7e22ce;
    font-weight: 800;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.local-legacy-page a[href="/taxi-buchen"],
.local-legacy-page a[href*="wa.me/436677626368"] {
    display: inline-flex !important;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin: 6px 9px 6px 0 !important;
    padding: 13px 21px !important;
    border-radius: 14px !important;
    color: #fff !important;
    font-weight: 900 !important;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(126, 34, 206, .18);
}

.local-legacy-page a[href="/taxi-buchen"] {
    background: linear-gradient(135deg, #7e22ce, #db2777) !important;
}

.local-legacy-page a[href*="wa.me/436677626368"] {
    background: #087a3e !important;
}

.local-legacy-mobile-cta {
    display: none;
}

@media (max-width: 680px) {
    .local-legacy-page {
        width: min(calc(100% - 20px), 1120px);
        margin: 12px auto 30px !important;
        padding: 22px 18px 96px !important;
        border-radius: 24px;
        font-size: 16px;
        line-height: 1.72 !important;
    }

    .local-legacy-page > h1 {
        margin: -22px -18px 28px !important;
        padding: 34px 18px 38px !important;
        border-radius: 23px 23px 18px 18px;
        font-size: clamp(30px, 9.1vw, 38px) !important;
        line-height: 1.12 !important;
        letter-spacing: -.025em;
        text-align: left;
        text-wrap: pretty;
    }

    .local-legacy-page > h2 {
        margin-top: 38px;
        font-size: clamp(24px, 7.2vw, 30px);
    }

    .local-legacy-page > ul {
        padding: 19px 18px 19px 40px;
        border-radius: 17px;
    }

    .local-legacy-page a[href="/taxi-buchen"],
    .local-legacy-page a[href*="wa.me/436677626368"] {
        width: 100%;
        margin: 6px 0 !important;
    }

    .local-legacy-mobile-cta {
        position: fixed;
        z-index: 99999;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1.15fr 1fr 1fr;
        gap: 7px;
        padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
        background: rgba(31, 12, 58, .97);
        box-shadow: 0 -10px 30px rgba(31, 12, 58, .25);
        backdrop-filter: blur(12px);
    }

    .local-legacy-mobile-cta a {
        display: grid !important;
        min-width: 0;
        min-height: 48px;
        place-items: center;
        padding: 8px 5px !important;
        border-radius: 12px !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .12) !important;
        font-size: 13px;
        font-weight: 900;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    .local-legacy-mobile-cta .is-booking {
        background: linear-gradient(135deg, #db2777, #7e22ce) !important;
    }

    .local-legacy-mobile-cta .is-whatsapp {
        background: #087a3e !important;
    }
}

@media (max-width: 340px) {
    .local-legacy-page > h1 {
        font-size: 29px !important;
    }

    .local-legacy-mobile-cta a {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .local-legacy-page *,
    .local-legacy-mobile-cta * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
