/**
 * USMEF whitelabel landing page (d_landingpage_usmef).
 * Loaded after dash.css and wl_general.css.
 */

.d-landingpage-usmef .content_container_whitelabel .wl_row1.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 8px;
    padding-bottom: 4px;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 12px;
}

.d-landingpage-usmef .content_container_whitelabel > .row:first-child {
    margin-bottom: 0;
}

.d-landingpage-usmef .content_container_whitelabel > .row:first-child .btn {
    margin-top: 8px !important;
    margin-bottom: 4px !important;
}

.d-landingpage-usmef.is-guest .content_container_whitelabel .wl_row1.row {
    padding-top: 0;
}

.d-landingpage-usmef .content_container_whitelabel .wl_row2 {
    overflow: hidden;
}

/* Hero block — avoids stacked .wl_h2 margins from wl_general/dash */
.d-landingpage-usmef .usmef-hero {
    max-width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 16px 8px;
    text-align: center;
}

.d-landingpage-usmef .usmef-hero__title {
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 16px;
    white-space: nowrap;
}

.d-landingpage-usmef .usmef-hero__body {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #6c757d;
    font-size: 20px;
    line-height: 1.5;
}

.d-landingpage-usmef .usmef-hero__body p {
    margin: 0;
}

.d-landingpage-usmef .usmef-hero__sub {
    margin-top: 10px !important;
}

.d-landingpage-usmef .usmef-hero__cta {
    margin-top: 20px;
}

.d-landingpage-usmef .usmef-hero__cta .profile_registernow_sm {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: 48px;
    padding-top: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.d-landingpage-usmef .usmef-hero__note {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.4;
    color: #98a2b3;
}

/* wl_general.css sets .wl_h2 { line-height: 14px } — breaks wrapped copy on ES bottom CTA */
.d-landingpage-usmef .content_container_whitelabel .wl_h2 {
    line-height: 1.5 !important;
    font-size: 20px;
    color: #6c757d;
}

.d-landingpage-usmef .wl_row8 .wl_h1 {
    line-height: 1.25 !important;
    margin-bottom: 16px;
}

.d-landingpage-usmef .wl_row8 .wl_h2 {
    margin-top: 0 !important;
    margin-bottom: 20px;
}

.d-landingpage-usmef .wl_row8 .rd_holder .profile_registernow_sm,
.d-landingpage-usmef .wl_row8 .rd_holder .profile_signinnow_sm {
    margin-top: 0 !important;
}

.d-landingpage-usmef.is-guest .content_container_whitelabel .wl_row2 {
    padding-top: 0;
    height: 520px;
}

@media (max-width: 1200px) {
    .d-landingpage-usmef .usmef-hero__title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .d-landingpage-usmef .usmef-hero__title {
        white-space: normal;
    }
}

@media (max-width: 802px) {
    .d-landingpage-usmef .usmef-hero__title {
        font-size: 30px;
    }

    .d-landingpage-usmef .usmef-hero__body {
        font-size: 18px;
    }

    .d-landingpage-usmef .usmef-hero__cta {
        margin-top: 20px;
    }

    .d-landingpage-usmef #col1_wl_bh {
        padding-top: 0;
    }

    .d-landingpage-usmef.is-guest #searchRow2 {
        display: none !important;
    }

    .d-landingpage-usmef.is-guest .content_container_whitelabel .wl_row1.row {
        padding-top: 10px;
        max-height: none !important;
    }

    .d-landingpage-usmef.is-guest .content_container_whitelabel .wl_row2 {
        height: auto;
        min-height: 300px;
        margin-bottom: 50px;
    }
}
