/*
 Theme Name: Motors - UK Car Marketplace Child
 Theme URI: https://motors.stylemixthemes.com/
 Author: UK Car Marketplace
 Description: UK Car Marketplace visual child theme. Preserves the existing Motors and MDP Connector behaviour and changes presentation only.
 Version: 1.7.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: motors-child
 Template: motors
*/

/* ======================================================================
   UK CAR MARKETPLACE - VISUAL v1.7.0
   ======================================================================
   SAFETY / SCOPE
   - Built from the original working Motors child theme.
   - Hero image updated to the bright coastal BMW artwork with live HTML text.
   - Header actions are now controlled natively in Motors Theme Options.
   - Hero copy updated: "Find your next car" / "Quality used cars from dealers across the UK".
   - CSS only: no homepage JavaScript and no Motors template overrides.
   - Browse by Make / Browse by Body are presentation-only restyled; links, counts and Show all behaviour remain Motors-owned.
   - Does NOT alter vehicle cards, tabs, remote images, taxonomies or counts.
   - Does NOT alter MDP Connector behaviour.
   - Native Motors settings now own site/header/menu colours and menu typography.
   - Child CSS retains only bespoke UKCM layout/spacing, hero and search presentation.
   - v1.7.0 keeps the approved British-coast hero, adds compact hero trust points, and restyles Browse by Make / Body without replacing Motors logic.
   - Vehicle cards, demo statistics and News remain structurally untouched in this pass.
   ====================================================================== */

:root {
    --ukcm-navy: #0B3D56;
    --ukcm-navy-deep: #062F46;
    --ukcm-teal: #0F8BA8;
    --ukcm-soft-blue: #7CC2E3;
    --ukcm-graphite: #1F2937;
    --ukcm-off-white: #F8FAFC;
    --ukcm-steel: #D6DEE6;
    --ukcm-green: #16A34A;
    --ukcm-white: #FFFFFF;
    --ukcm-shadow: 0 14px 38px rgba(11, 61, 86, .18);
    --ukcm-radius: 12px;
}

/* ----- Foundation: visual only --------------------------------------- */
body {
    color: var(--ukcm-graphite);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ----- Header -------------------------------------------------------- */
/* Top Bar visibility is now controlled natively in Motors Theme Options. */

.header-listing {
    min-height: 108px;
    box-shadow: 0 1px 0 rgba(11, 61, 86, .08);
    position: relative;
    z-index: 120;
}

.header-listing .listing-header-bg {
    background-image: none !important;
    opacity: 1 !important;
}

.header-listing .header-inner-content {
    min-height: 108px;
    display: flex;
    align-items: center;
    width: min(1380px, calc(100% - 64px));
    max-width: 1380px;
}

.header-listing .listing-logo-main {
    margin-top: 0 !important;
    flex: 0 0 auto;
}

.header-listing .listing-logo-main img {
    width: auto !important;
    height: auto !important;
    max-width: 275px;
    max-height: 78px;
}

.header-listing .listing-service-right {
    margin-top: 0 !important;
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 34px;
}

.header-listing ul.listing-menu {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    gap: 34px;
}

.header-listing ul.listing-menu > li {
    margin: 0 !important;
}

.header-listing ul.listing-menu > li > a,
.header-listing .listing-menu > li > a {
    line-height: 108px !important;
    padding: 0 !important;
    border: 0 !important;
}

.header-listing ul.listing-menu > li > a {
    position: relative;
    letter-spacing: .015em;
}

/* Motors Theme Options owns normal/hover menu colours.
   UKCM adds the missing current-page state from the approved mock-up. */
.header-listing ul.listing-menu > li.current-menu-item > a,
.header-listing ul.listing-menu > li.current_page_item > a,
.header-listing ul.listing-menu > li.current-menu-ancestor > a {
    color: var(--ukcm-teal) !important;
}

.header-listing ul.listing-menu > li.current-menu-item > a::after,
.header-listing ul.listing-menu > li > a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 29px;
    height: 2px;
    background: var(--ukcm-teal);
    border-radius: 999px;
}

.header-listing .listing-right-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

/* Add-a-car visibility is controlled natively in Motors Theme Options. */

/* ----- Homepage hero: confirmed Elementor section 2f15849 ----------- */
.home .elementor-element-2f15849 {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.home .elementor-element-2f15849 > .elementor-container,
.home .elementor-element-2f15849 .elementor-column,
.home .elementor-element-2f15849 .elementor-widget-wrap,
.home .elementor-element-2f15849 .elementor-element-292bdd9,
.home .elementor-element-2f15849 .elementor-widget-container,
.home .elementor-element-2f15849 .motors-elementor-arrow-banner {
    width: 100% !important;
    max-width: none !important;
}

.home .elementor-element-2f15849 .motors-elementor-arrow-banner {
    position: relative !important;
    min-height: 470px !important;
    background-image: url("https://portal-dev.motordealerpro.co.uk/wp-content/uploads/2026/09/blue-bmw-road-hero-desktop-3.png") !important;
    background-size: cover !important;
    background-position: 50% center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

.home .elementor-element-2f15849 .motors-elementor-arrow-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, .10) 0%,
        rgba(255, 255, 255, .06) 22%,
        rgba(255, 255, 255, .03) 40%,
        rgba(255, 255, 255, 0) 60%);
}

.home .elementor-element-2f15849 .stm-content-arrow-wrap {
    position: relative !important;
    z-index: 1 !important;
    width: min(1380px, calc(100% - 80px)) !important;
    max-width: 1380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 70px !important;
    padding-bottom: 132px !important;
}

.home .elementor-element-2f15849 .centered-banner-content-listing,
.home .elementor-element-2f15849 .centered-banner-content-listing .inner {
    width: 100% !important;
    max-width: 590px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

.home .elementor-element-2f15849 .centered-banner-content-listing .inner::before {
    content: none !important;
    display: none !important;
}

.home .elementor-element-2f15849 .stm-vivus-arrow {
    display: none !important;
}

.home .elementor-element-2f15849 h1 {
    color: var(--ukcm-navy) !important;
    font-size: clamp(58px, 5vw, 78px) !important;
    line-height: .94 !important;
    letter-spacing: -.035em !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin: 0 0 22px !important;
    max-width: 590px;
}

.home .elementor-element-2f15849 h1 .ukcm-hero-line {
    display: block;
}

.home .elementor-element-2f15849 h1 .ukcm-hero-teal {
    color: var(--ukcm-teal) !important;
}

.home .elementor-element-2f15849 h3 {
    color: var(--ukcm-graphite) !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    margin: 0 !important;
    max-width: 560px;
}

/* Compact proposition points added inside the existing hero content only. */
.home .elementor-element-2f15849 .ukcm-hero-points {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
    color: var(--ukcm-navy);
}

.home .elementor-element-2f15849 .ukcm-hero-point {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.home .elementor-element-2f15849 .ukcm-hero-point svg {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    stroke: currentColor;
}

.home .elementor-element-2f15849 .ukcm-hero-point span {
    display: block;
    font-size: 12px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ----- Homepage search: confirmed sibling section 04d1a8b ----------- */
.home .elementor-element-04d1a8b {
    position: relative !important;
    z-index: 20 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-top: -54px !important;
    margin-bottom: 44px !important;
}

.home .elementor-element-04d1a8b > .elementor-container {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.home .elementor-element-11dd5c4,
.home .elementor-element-11dd5c4 .elementor-widget-container,
.home .elementor-element-11dd5c4 .stm_dynamic_listing_filter {
    width: 100% !important;
    max-width: none !important;
}

.home .elementor-element-11dd5c4 .stm_dynamic_listing_filter {
    margin: 0 !important;
    background: var(--ukcm-navy) !important;
    border: 0 !important;
    border-radius: var(--ukcm-radius) !important;
    overflow: hidden !important;
    box-shadow: var(--ukcm-shadow) !important;
}

.home .elementor-element-11dd5c4 .stm_dynamic_listing_filter_nav {
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    background: var(--ukcm-navy) !important;
    border: 0 !important;
}

.home .elementor-element-11dd5c4 .stm_dynamic_listing_filter_nav li,
.home .elementor-element-11dd5c4 .stm_dynamic_listing_filter_nav li.active {
    background: transparent !important;
    border: 0 !important;
}

.home .elementor-element-11dd5c4 .stm_dynamic_listing_filter_nav li a,
.home .elementor-element-11dd5c4 .stm_dynamic_listing_filter_nav li.active a {
    color: var(--ukcm-white) !important;
    padding: 17px 0 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.home .elementor-element-11dd5c4 .tab-content {
    padding: 18px 24px 24px !important;
    background: var(--ukcm-navy) !important;
    border: 0 !important;
}

/* Search controls. We restyle existing controls only; names, values,
   dependencies, counts and submit behaviour are untouched. */
.home .elementor-element-11dd5c4 .select2-container--default .select2-selection--single,
.home .elementor-element-11dd5c4 input[type="text"],
.home .elementor-element-11dd5c4 select {
    min-height: 52px !important;
    height: 52px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--ukcm-white) !important;
    box-shadow: none !important;
}

.home .elementor-element-11dd5c4 .select2-container--default .select2-selection--single .select2-selection__rendered,
.home .elementor-element-11dd5c4 .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px !important;
    line-height: 52px !important;
}

.home .elementor-element-11dd5c4 button[type="submit"],
.home .elementor-element-11dd5c4 input[type="submit"],
.home .elementor-element-11dd5c4 .stm-filter-listing-directory-button {
    min-height: 52px !important;
    height: 52px !important;
    background: var(--ukcm-green) !important;
    color: var(--ukcm-white) !important;
    border: 0 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.home .elementor-element-11dd5c4 button[type="submit"]:hover,
.home .elementor-element-11dd5c4 input[type="submit"]:hover,
.home .elementor-element-11dd5c4 .stm-filter-listing-directory-button:hover {
    filter: brightness(.96);
}

.home .elementor-element-11dd5c4 .stm-filter-tab-selects {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
}

.home .elementor-element-11dd5c4 .stm-filter-tab-selects .stm-select-col {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 0 !important;
}

.home .elementor-element-11dd5c4 .stm-filter-tab-selects .search-submit {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding-left: 26px !important;
    padding-right: 26px !important;
    flex: 0 0 214px !important;
    white-space: nowrap;
}

.home .elementor-element-11dd5c4 .search-submit i {
    margin-right: 7px;
}

.home .elementor-element-11dd5c4 .search-submit span {
    display: inline-block;
    margin-left: 4px;
    margin-right: 4px;
}


/* ----- Browse by Make / Browse by Body -------------------------------
   Restyles the two existing Motors image-category widgets only.
   Existing taxonomy links, counts, injected images and Show all JS are retained. */
.home .elementor-element-f4ab559 {
    position: relative;
    padding: 12px 0 26px !important;
}

.home .elementor-element-f4ab559 > .elementor-container {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 34px;
}

.home .elementor-element-f4ab559 .elementor-column {
    min-width: 0;
}

.home .elementor-element-f4ab559 .stm_icon_filter_unit {
    margin: 0 !important;
    padding: 0 !important;
}

.home .elementor-element-f4ab559 .stm_icon_filter_unit > .clearfix {
    position: relative;
    min-height: 38px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
}

.home .elementor-element-f4ab559 .stm_icon_filter_title {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home .elementor-element-f4ab559 .stm_icon_filter_title h3 {
    margin: 0 !important;
    color: var(--ukcm-navy) !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    text-transform: none !important;
}

.home .elementor-element-f4ab559 .stm_icon_filter_title h3 .stm-secondary-color {
    color: var(--ukcm-teal) !important;
}

.home .elementor-element-f4ab559 .stm_icon_filter_label {
    position: absolute !important;
    top: 5px !important;
    right: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 18px 2px 0 !important;
    color: var(--ukcm-teal) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer;
}

.home .elementor-element-f4ab559 .stm_icon_filter_label::after {
    content: "→";
    position: absolute;
    right: 0;
    top: -1px;
    font-size: 15px;
    line-height: 1;
}

.home .elementor-element-f4ab559 .stm_listing_icon_filter {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
}

.home .elementor-element-f4ab559 .stm_listing_icon_filter_single {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

/* Keep Motors' own hidden/expanded state authoritative. */
.home .elementor-element-f4ab559 .stm_listing_icon_filter_single.non-visible {
    /* no display override here by design */
}

.home .elementor-element-f4ab559 .stm_listing_icon_filter_single .inner {
    height: 106px;
    margin: 0 !important;
    padding: 12px 8px 10px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ukcm-white);
    border: 1px solid rgba(11, 61, 86, .09);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(11, 61, 86, .045);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.home .elementor-element-f4ab559 .stm_listing_icon_filter_single:hover .inner {
    transform: translateY(-2px);
    border-color: rgba(15, 139, 168, .28);
    box-shadow: 0 8px 20px rgba(11, 61, 86, .09);
}

.home .elementor-element-f4ab559 .stm_listing_icon_filter_single .image {
    width: 62px !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.home .elementor-element-f4ab559 .stm_listing_icon_filter_single .image img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 60px !important;
    max-height: 48px !important;
    object-fit: contain;
}

.home .elementor-element-f4ab559 .stm_listing_icon_filter_single .name {
    min-height: 16px;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ukcm-navy) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal;
}

/* Body-type artwork is naturally wider than make logos. */
.home .elementor-element-0dc6c32 .stm_listing_icon_filter_single .image {
    width: 78px !important;
}

.home .elementor-element-0dc6c32 .stm_listing_icon_filter_single .image img {
    max-width: 76px !important;
    max-height: 44px !important;
}

/* ----- Responsive shell only ---------------------------------------- */
@media (max-width: 1199px) {
    .header-listing,
    .header-listing .header-inner-content {
        min-height: 94px;
    }

    .header-listing .listing-logo-main img {
        max-width: 235px;
    }

    .header-listing ul.listing-menu {
        gap: 22px;
    }

    .header-listing ul.listing-menu > li > a,
    .header-listing .listing-menu > li > a {
        line-height: 94px !important;
    }

    .header-listing ul.listing-menu > li.current-menu-item > a::after,
    .header-listing ul.listing-menu > li > a:hover::after {
        bottom: 23px;
    }

    .home .elementor-element-2f15849 .stm-content-arrow-wrap {
        width: calc(100% - 64px) !important;
    }

    .home .elementor-element-11dd5c4 .stm-filter-tab-selects .search-submit {
        flex-basis: 190px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

@media (max-width: 991px) {
    .header-listing,
    .header-listing .header-inner-content {
        min-height: 82px;
    }

    .header-listing .header-inner-content {
        width: calc(100% - 40px);
    }

    .header-listing .listing-logo-main img {
        max-width: 210px;
        max-height: 62px;
    }

    .home .elementor-element-2f15849 .motors-elementor-arrow-banner {
        min-height: 430px !important;
        background-position: 64% center !important;
    }

    .home .elementor-element-2f15849 .stm-content-arrow-wrap {
        width: calc(100% - 48px) !important;
        padding-top: 58px !important;
        padding-bottom: 118px !important;
    }

    .home .elementor-element-2f15849 h1 {
        font-size: clamp(50px, 7vw, 64px) !important;
        max-width: 500px;
    }

    .home .elementor-element-2f15849 h3 {
        max-width: 470px;
    }

    .home .elementor-element-2f15849 .ukcm-hero-points {
        gap: 18px;
        margin-top: 22px;
    }

    .home .elementor-element-2f15849 .ukcm-hero-point span {
        font-size: 11px;
    }

    .home .elementor-element-f4ab559 > .elementor-container {
        width: calc(100% - 36px) !important;
        gap: 22px;
    }

    .home .elementor-element-f4ab559 .stm_listing_icon_filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .elementor-element-11dd5c4 .stm-filter-tab-selects {
        flex-wrap: wrap !important;
    }

    .home .elementor-element-11dd5c4 .stm-filter-tab-selects .stm-select-col {
        flex: 1 1 calc(50% - 7px) !important;
    }

    .home .elementor-element-11dd5c4 .stm-filter-tab-selects .search-submit {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .header-listing,
    .header-listing .header-inner-content {
        min-height: 72px;
    }

    .header-listing .header-inner-content {
        width: calc(100% - 28px);
    }

    .header-listing .listing-logo-main img {
        max-width: 175px;
        max-height: 52px;
    }

    .home .elementor-element-2f15849 .motors-elementor-arrow-banner {
        min-height: 440px !important;
        background-position: 72% center !important;
    }

    .home .elementor-element-2f15849 .motors-elementor-arrow-banner::before {
        background: linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.62) 34%, rgba(255,255,255,.10) 64%, rgba(255,255,255,0) 100%);
    }

    .home .elementor-element-2f15849 .stm-content-arrow-wrap {
        width: calc(100% - 30px) !important;
        padding-top: 34px !important;
        padding-bottom: 170px !important;
    }

    .home .elementor-element-2f15849 .centered-banner-content-listing,
    .home .elementor-element-2f15849 .centered-banner-content-listing .inner {
        max-width: 100% !important;
    }

    .home .elementor-element-2f15849 h1 {
        font-size: clamp(39px, 12vw, 52px) !important;
        line-height: .92 !important;
        margin-bottom: 14px !important;
        max-width: 360px;
    }

    .home .elementor-element-2f15849 h3 {
        font-size: 15px !important;
        line-height: 1.35 !important;
        max-width: 330px;
    }

    .home .elementor-element-2f15849 .ukcm-hero-points {
        gap: 10px;
        margin-top: 18px;
        width: 100%;
        justify-content: flex-start;
    }

    .home .elementor-element-2f15849 .ukcm-hero-point {
        gap: 5px;
        flex: 0 1 auto;
    }

    .home .elementor-element-2f15849 .ukcm-hero-point svg {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .home .elementor-element-2f15849 .ukcm-hero-point span {
        font-size: 9px;
        white-space: normal;
        max-width: 72px;
    }

    .home .elementor-element-f4ab559 {
        padding-top: 4px !important;
    }

    .home .elementor-element-f4ab559 > .elementor-container {
        width: calc(100% - 24px) !important;
        display: block !important;
    }

    .home .elementor-element-f4ab559 .elementor-column {
        width: 100% !important;
        margin-bottom: 28px;
    }

    .home .elementor-element-f4ab559 .stm_icon_filter_title h3 {
        font-size: 21px !important;
    }

    .home .elementor-element-f4ab559 .stm_icon_filter_label {
        top: 3px !important;
        font-size: 11px !important;
    }

    .home .elementor-element-f4ab559 .stm_listing_icon_filter {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .home .elementor-element-f4ab559 .stm_listing_icon_filter_single .inner {
        height: 92px;
        padding: 10px 5px 8px !important;
        border-radius: 10px;
    }

    .home .elementor-element-f4ab559 .stm_listing_icon_filter_single .image {
        width: 48px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    .home .elementor-element-f4ab559 .stm_listing_icon_filter_single .image img {
        max-width: 47px !important;
        max-height: 39px !important;
    }

    .home .elementor-element-0dc6c32 .stm_listing_icon_filter_single .image {
        width: 58px !important;
    }

    .home .elementor-element-0dc6c32 .stm_listing_icon_filter_single .image img {
        max-width: 57px !important;
        max-height: 36px !important;
    }

    .home .elementor-element-f4ab559 .stm_listing_icon_filter_single .name {
        font-size: 9px !important;
    }

    .home .elementor-element-04d1a8b {
        margin-top: -54px !important;
        margin-bottom: 34px !important;
    }

    .home .elementor-element-04d1a8b > .elementor-container {
        width: calc(100% - 24px) !important;
    }

    .home .elementor-element-11dd5c4 .stm_dynamic_listing_filter_nav {
        padding: 0 16px !important;
    }

    .home .elementor-element-11dd5c4 .tab-content {
        padding: 12px 14px 14px !important;
    }

    .home .elementor-element-11dd5c4 .stm-filter-tab-selects {
        display: block !important;
    }

    .home .elementor-element-11dd5c4 .stm-filter-tab-selects .stm-select-col {
        width: 100% !important;
        margin: 0 0 10px !important;
    }

    .home .elementor-element-11dd5c4 .stm-filter-tab-selects .search-submit {
        width: 100% !important;
        min-height: 52px !important;
        margin-top: 2px !important;
    }
}


/* ======================================================================
   UKCM HERO COPY READABILITY HALO
   Soft white "mist" behind headline/subheading/trust points only.
   ====================================================================== */

.home .elementor-element-2f15849
.centered-banner-content-listing .inner {
    position: relative !important;
    isolation: isolate;
}

/* Soft feathered white area behind the hero copy */
.home .elementor-element-2f15849
.centered-banner-content-listing .inner::before {
    content: "" !important;
    display: block !important;

    position: absolute;
    z-index: 0;

    left: -85px;
    top: -55px;

    width: 760px;
    height: 365px;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 36% 48%,
            rgba(255,255,255,0.94) 0%,
            rgba(255,255,255,0.88) 25%,
            rgba(255,255,255,0.72) 43%,
            rgba(255,255,255,0.48) 58%,
            rgba(255,255,255,0.22) 72%,
            rgba(255,255,255,0.00) 88%
        );

    filter: blur(7px);
}

/* Keep all real hero content above the mist */
.home .elementor-element-2f15849
.centered-banner-content-listing .inner > h1,

.home .elementor-element-2f15849
.centered-banner-content-listing .inner > h3,

.home .elementor-element-2f15849
.centered-banner-content-listing .inner > .ukcm-hero-points {
    position: relative;
    z-index: 1;
}


/* ----------------------------------------------------------------------
   TABLET
   Smaller halo so it does not overwhelm the cropped hero.
   ---------------------------------------------------------------------- */

@media (max-width: 991px) {

    .home .elementor-element-2f15849
    .centered-banner-content-listing .inner::before {
        left: -55px;
        top: -42px;

        width: 650px;
        height: 330px;

        background:
            radial-gradient(
                ellipse at 38% 46%,
                rgba(255,255,255,0.94) 0%,
                rgba(255,255,255,0.84) 30%,
                rgba(255,255,255,0.60) 52%,
                rgba(255,255,255,0.28) 70%,
                rgba(255,255,255,0.00) 88%
            );

        filter: blur(6px);
    }
}


/* ----------------------------------------------------------------------
   MOBILE
   Centre the readability area behind the stacked copy.
   ---------------------------------------------------------------------- */

@media (max-width: 767px) {

    .home .elementor-element-2f15849
    .centered-banner-content-listing .inner::before {
        left: -25px;
        top: -24px;

        width: calc(100% + 50px);
        height: 255px;

        background:
            radial-gradient(
                ellipse at 42% 34%,
                rgba(255,255,255,0.96) 0%,
                rgba(255,255,255,0.86) 34%,
                rgba(255,255,255,0.55) 58%,
                rgba(255,255,255,0.20) 76%,
                rgba(255,255,255,0.00) 92%
            );

        filter: blur(5px);
    }
}