/* Megan Crean - Hero Portrait */

.front .slider-wrapper {
    position: relative;
    isolation: isolate;
}

.front .slider-wrapper::after {
    content: "";
    position: absolute;
    top: auto;
    left: auto;
    right: 10%;
    bottom: 0;

    width: 30%;
    height: 68%;

    background-color: transparent !important;
    background-image: url("https://files.leadconnectorhq.com/file/6afe1cb2898cec9ac745ed29/megan-welcoming.webp") !important;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;

    pointer-events: none;
    z-index: 5;
}

/* Move the hero search inward without reducing its width */
@media (min-width: 1024px) {
    .front #topwidget1 {
        transform: translateX(80px);
    }
}

/* Raise hero search slightly on large desktop screens */
@media (min-width: 1440px) {
    .front #topwidget1 {
        transform: translate(80px, -40px);
    }
}

/* Hide Megan's hero portrait on tablet and mobile */
@media (max-width: 1023px) {
    .front .slider-wrapper::after {
        display: none !important;
    }
}

/* Consistent darkening of slideshow photographs */
.front #slider .rslides img {
    filter: brightness(65%) !important;
    -webkit-filter: brightness(65%) !important;
}

/* Add breathing room to desktop navigation 
@media (min-width: 1025px) {
    .front #topwidget #menuWidgetContainer {
        margin-right: 60px !important;
    }
}
*/

/* Hide brokerage office phone in header only */
header .mainuser dt.phone_office,
header .mainuser dd.phone_office {
    display: none !important;
}

/* Hide license number in regular and sticky headers */
header .mainuser .top_license {
    display: none !important;
}

/* Megan's name */
header .mainuser .agent_name {
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

/* Megan's title */
header .mainuser .agent_title {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Megan's mobile number */
header .mainuser .phone_cell {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Vertically center Megan's header information */
.front header .mainuser {
    align-self: center !important;
}

/* Megan Crean - Homepage Biography Spacing */
.front #AboutMeforAgent-0-553427 .success p {
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
}

.front #AboutMeforAgent-0-553427 .success p:last-child {
    margin-bottom: 0 !important;
}

/* Darken the homepage biography background */
.front #contentwidgetbottom [id*="AboutMeforAgent"]::before {
    background: rgba(0, 0, 0, 0.55) !important;
}

/* Dream Home Lander */

/* Hide InCom Dream Home logo */
html.step-1 a.logo img[src*="dh-logo.png"] {
    display: none !important;
}

/* Dream Home — Remove original logo container */
body.dh .wrapper-logo {
    display: none !important;
}

/* Darken uploaded background photograph */
body.dh .main_content.customBG {
    background-color: rgba(15, 25, 35, 0.65) !important;
    background-blend-mode: multiply !important;
}

/* Home Valuation Landing Page — Background Overlay */
body.hv .main_content {
    background-color: rgba(15, 25, 35, 0.65) !important;
    background-blend-mode: multiply !important;
}

/* Home Valuation — Remove original logo container */
body.hv .wrapper-logo {
    display: none !important;
}

/* Neighborhood Buzzer Landing Page */

/* Remove InCom logo and decorative logo container */
body.nb .wrapper-logo {
    display: none !important;
}

/* Apply 65% dark overlay to uploaded photograph */
body.nb .main_content.customBG {
    background-color: rgba(15, 25, 35, 0.65) !important;
    background-blend-mode: multiply !important;
}

/* Price Drop Landing Page — 65% Overlay */
body.precon .landing-form-wrapper {
    background-color: rgba(15, 25, 35, 0.65) !important;
    background-blend-mode: multiply !important;
}

/* Daily Email Alerts — 65% Background Overlay */
body.dailyemail.landing .landing-form-wrapper {
    background-color: rgba(15, 25, 35, 0.65) !important;
    background-blend-mode: multiply !important;
}

/* Remove InCom's cartoon house illustration */
body.dailyemail.landing .step1_house {
    display: none !important;
}

/* Foreclosure Alerts — 65% Background Overlay */
body.power_of_sale .customimageUser {
    background-color: rgba(15, 25, 35, 0.65) !important;
    background-blend-mode: multiply !important;
}

/* Remove InCom's house-pin logo */
body.power_of_sale .wrapper-logo {
    display: none !important;
}

/* Foreclosure Alerts — Restore vertical positioning */
html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper {
    position: relative;
    padding-top: 34vh;
}

/* Foreclosure Alerts — Headline weight */
html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) h1 {
    font-weight: 700 !important;
}

/* Foreclosure Alerts — Description weight */
html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .description p {
    font-weight: 400 !important;
}

/* ==========================================
   Megan Crean — Shared Landing Page Branding
   ========================================== */

/* Branding containers */
html.step-1 body.dh .wrapper,
html.step-1 body.hv .wrapper,
html.step-1 body.nb .wrapper,
html.step-1 body.precon .landing-form-wrapper,
html.step-1 body.dailyemail.landing .landing-form-wrapper,
html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper {
    position: relative;
}

/* Megan's name and contact information */
html.step-1 body.dh .wrapper::before,
html.step-1 body.hv .wrapper::before,
html.step-1 body.nb .wrapper::before,
html.step-1 body.precon .landing-form-wrapper::before,
html.step-1 body.dailyemail.landing .landing-form-wrapper::before,
html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper::before {
    content: "Megan Crean\A REALTOR®\A ☎ 919-880-3780";

    position: absolute;
    top: 16px;
    left: calc(50% - 175px);
    transform: none;
    margin: 0;

    width: 350px;
    max-width: calc(100% - 30px);
    min-height: 100px;
    box-sizing: border-box;

    padding: 14px 15px 14px 115px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    white-space: pre-line;
    text-align: left;

    background: transparent;
    border-radius: 8px;
}

/* Megan's circular portrait */
html.step-1 body.dh .wrapper::after,
html.step-1 body.hv .wrapper::after,
html.step-1 body.nb .wrapper::after,
html.step-1 body.precon .landing-form-wrapper::after,
html.step-1 body.dailyemail.landing .landing-form-wrapper::after,
html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper::after {
    content: "";
    position: absolute;
    z-index: 11;

    top: 20px;
    left: calc(50% - 165px);

    width: 90px;
    height: 90px;

    background-image: url("/files/agent_profile_pics/1793299129.jpg");
    background-size: 125%;
    background-position: center 35%;
    background-repeat: no-repeat;

    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);

    pointer-events: none;
}

/* Branding visibility on alternate landing templates */
html.step-1 body.precon .landing-form-wrapper::before,
html.step-1 body.dailyemail.landing .landing-form-wrapper::before,
html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper::before {
    z-index: 10;
    pointer-events: none;
}

/* ==========================================
   Shared Landing Page Branding — Mobile
   ========================================== */

@media (max-width: 600px) {

    /* Contact information */
    html.step-1 body.dh .wrapper::before,
    html.step-1 body.hv .wrapper::before,
    html.step-1 body.nb .wrapper::before,
    html.step-1 body.precon .landing-form-wrapper::before,
    html.step-1 body.dailyemail.landing .landing-form-wrapper::before,
    html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper::before {
        width: 320px;
        min-height: 90px;
        padding: 15px 10px 12px 115px;
        font-size: 13px;
    }

    /* Circular portrait */
    html.step-1 body.dh .wrapper::after,
    html.step-1 body.hv .wrapper::after,
    html.step-1 body.nb .wrapper::after,
    html.step-1 body.precon .landing-form-wrapper::after,
    html.step-1 body.dailyemail.landing .landing-form-wrapper::after,
    html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper::after {
        width: 76px;
        height: 76px;
        top: 25px;
        left: calc(50% - 150px);
    }

    /* Home Valuation — Prevent branding overlap */
    html.step-1 body.hv .wrapper-inner {
        padding-top: 125px !important;
    }

    /* Daily Email Alerts — Prevent branding overlap */
    html.step-1 body.dailyemail.landing .step1_form {
        padding-top: 125px !important;
    }

    /* Foreclosure Alerts — Mobile layout */
    html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper {
        padding-top: max(34vh, 150px);
        height: auto;
        min-height: 100vh;
    }

    /* Foreclosure Alerts — Mobile contact position */
    html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper::before {
        top: max(calc(34vh - 120px), 30px);
        left: calc(50% - 150px);
        width: 300px;
    }

    /* Foreclosure Alerts — Mobile portrait position */
    html.step-1 body.power_of_sale .wrapper-form-area:not(.bottom-form) .precon-form-wrapper::after {
        top: max(calc(34vh - 115px), 35px);
        left: calc(50% - 140px);
    }
}

/* ==============================================
   Megan Crean — Embedded Lead Forms
   Dream Home Finder & Free Home Valuation
   ============================================== */

/* Background photograph and dark overlay */
form.free-home-evaluation.step_1.dream_home,
form.free-home-evaluation.step_1.free_home {
    background-image:
        linear-gradient(
            rgba(15, 25, 35, 0.65),
            rgba(15, 25, 35, 0.65)
        ),
        url("/files/landing_pages/5944/Landers%20Image%202.jpg") !important;

    background-size: cover, cover !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
}

/* White headings and descriptive text */
form.free-home-evaluation.step_1.dream_home h1,
form.free-home-evaluation.step_1.dream_home p,
form.free-home-evaluation.step_1.free_home h1,
form.free-home-evaluation.step_1.free_home p {
    color: #ffffff !important;
}

/* Footer Navigation — Vertical Column Flow */

@media (min-width: 1025px) {
    .footerarea #menuWidget-0-553435 ul.mainmenu {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(8, auto) !important;
        grid-auto-flow: column !important;
    }

    .footerarea #menuWidget-0-553435 ul.mainmenu > li {
        width: 100% !important;
        float: none !important;
    }
}