/* =========================================================================
   Paid-traffic Landing Page template (landing-lp.php)
   Mobile-first, chrome-less, single-purpose. Everything scoped to .lp-paid.
   Goal: quote form's first field visible on a ~380px screen, no exits.
   ========================================================================= */

body.lp-paid {
    margin: 0;
    background: #00162e;               /* brand navy, matches the hero the form lives on */
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Belt-and-suspenders: if any theme chrome ever sneaks in, keep it hidden here. */
body.lp-paid #main-menu,
body.lp-paid #footer,
body.lp-paid .navbar,
body.lp-paid header#header,
body.lp-paid .breadcrumbs { display: none !important; }

.lp-paid .lp-wrap {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 16px 24px;
    box-sizing: border-box;
    position: relative;   /* sit above the desktop background layer */
    z-index: 1;
}

/* Ghosted desktop background photo (Featured Image). Hidden on mobile so the
   image is never downloaded there — keeps paid-mobile LCP fast. */
.lp-paid .lp-bg { display: none; }
@media (min-width: 768px) {
    .lp-paid .lp-bg {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    /* Navy wash so the photo reads as a soft backdrop, form stays legible. */
    .lp-paid .lp-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 22, 46, 0.86) 0%, rgba(0, 22, 46, 0.92) 100%);
    }
    /* Give the form column a subtle lift off the photo on desktop. */
    .lp-paid .lp-wrap {
        margin-top: 8px;
        margin-bottom: 32px;
    }
}

/* ---- Header: logo only, no nav ---------------------------------------- */
.lp-paid .lp-header {
    text-align: center;
    padding: 14px 0 6px;
}
.lp-paid .lp-logo {
    height: 38px;
    width: auto;
    display: inline-block;
}

/* ---- Small instructional line (NOT a big tappable hero) --------------- */
.lp-paid .lp-instruction {
    margin: 4px 0 12px;
    text-align: center;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    color: #fff;
}

/* ---- Optional per-page headline (message-match campaign ads) ---------- */
.lp-paid .lp-h1 {
    margin: 4px 0 4px;
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}
.lp-paid .lp-subhead {
    margin: 0 0 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

/* ---- Form: reuse register-form block, force single column, tighten ---- */
.lp-paid .lp-form .module-register-form { padding: 0 !important; }

/* Kill the block's left image column; make the form column full width. */
.lp-paid .module-register-form .mainContentWapper > [class*="col-"]:first-child {
    display: none !important;
}
.lp-paid .module-register-form .mainContentWapper > [class*="col-"]:last-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
.lp-paid .module-register-form .register-form-inner {
    padding: 8px 0 0 !important;       /* pull the first field up near the top */
}
.lp-paid .module-register-form .container-xxxl { padding-left: 0; padding-right: 0; }

/* Comfortable field sizing / tap targets on mobile. */
.lp-paid .module-register-form .register-form-inner .section .form-floating .form-control {
    height: 52px;
    min-height: 52px;
    font-size: 16px;                   /* 16px avoids iOS zoom-on-focus */
}
.lp-paid .module-register-form .register-form-inner .btn.submit {
    width: 100%;
    padding: 14px;
    font-size: 18px;
}

/* ---- Trust row: "As Seen In" press badges (white logos on navy) -------- */
.lp-paid .lp-trust {
    margin-top: 22px;
    text-align: center;
}
.lp-paid .lp-trust-label {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.lp-paid .lp-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 26px;
}
.lp-paid .lp-badges img {
    height: 42px;
    width: auto;
    max-width: 44%;
    object-fit: contain;
    opacity: 0.92;
}
@media (min-width: 768px) {
    .lp-paid .lp-badges img { height: 48px; }
}

/* ---- Featured video (responsive 16:9) --------------------------------- */
.lp-paid .lp-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 22px auto 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
.lp-paid .lp-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Optional editor content (kept on a light panel) ------------------ */
.lp-paid .lp-editor-content {
    background: #fff;
    color: #00162e;
    margin: 20px -16px 0;
    padding: 22px 16px;
    border-radius: 10px;
}
.lp-paid .lp-editor-content img { max-width: 100%; height: auto; }
.lp-paid .lp-editor-content h2,
.lp-paid .lp-editor-content h3,
.lp-paid .lp-editor-content p { color: #00162e; }

/* Logo link (opens home in a new tab) */
.lp-paid .lp-logo-link { display: inline-block; line-height: 0; }

/* ---- Minimal footer --------------------------------------------------- */
.lp-paid .lp-footer {
    text-align: center;
    padding: 18px 0 4px;
}
.lp-paid .lp-copy {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.lp-paid .lp-copy a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }

/* ---- Desktop: keep it a centered single column (secondary priority) --- */
@media (min-width: 768px) {
    .lp-paid .lp-instruction { font-size: 20px; }
    .lp-paid .lp-h1 { font-size: 28px; }
    .lp-paid .lp-subhead { font-size: 18px; }
    .lp-paid .lp-logo { height: 44px; }
}
