/* Homepage team: selected five-card editorial layout.
 * The source cards and their language-aware Elementor content stay intact;
 * this stylesheet only reshapes the existing grid. */
.home .elementor-element-9b8f388 {
    padding-top: 16px !important;
}

.home .elementor-element-9b8f388 > .e-con-inner {
    gap: 32px !important;
    padding-top: 32px !important;
}

.home .elementor-element-9b8f388 .elementor-element-dbde3f3 > .e-con-inner {
    align-items: center !important;
}

.home .elementor-element-9b8f388 .houzez_section_title {
    color: #10223a !important;
    font-family: var(--artbin-shared-display-font, "Wix Madefor Display", "Manrope", "Inter", Arial, sans-serif) !important;
    font-size: clamp(2.45rem, 4vw, 4.25rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.02 !important;
    max-width: 760px !important;
}

.home .elementor-element-9b8f388 .houzez_section_title_wrap .houzez_section_subtitle,
.home .elementor-element-9b8f388 .houzez_section_title_wrap p {
    color: #737985 !important;
    font-family: "Wix Madefor Display", Manrope, Inter, Montserrat, Arial, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-top: 18px !important;
    max-width: 720px !important;
}

/* Preserve the current link but give it the selected restrained outline CTA. */
.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button {
    align-items: center !important;
    background: transparent !important;
    border: 1px solid #c9932b !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #b77d17 !important;
    display: inline-flex !important;
    font-family: "Wix Madefor Display", Manrope, Inter, Montserrat, Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    gap: 18px !important;
    justify-content: center !important;
    min-height: 58px !important;
    padding: 13px 20px 13px 26px !important;
    text-transform: none !important;
}

.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button::after {
    color: #b77d17 !important;
    content: "→";
    font-family: Arial, sans-serif !important;
    font-size: 1.55rem !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}

.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:hover,
.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:focus-visible {
    background: #c9932b !important;
    color: #ffffff !important;
    transform: none !important;
}

.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:hover::after,
.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:focus-visible::after {
    color: #ffffff !important;
}

/* Five equal editorial portraits, replacing the former 1 + 2 x 2 mosaic. */
.home .elementor-element-9b8f388 .elementor-element-b0d2c2d,
.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100% !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner {
    align-items: stretch !important;
    gap: clamp(10px, 1.05vw, 18px) !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner > .e-con {
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: auto !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box,
.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-wrapper {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    height: 100% !important;
    min-height: 0 !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box {
    background: #10223a !important;
    min-height: clamp(420px, 34vw, 570px) !important;
    overflow: hidden !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-img {
    height: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-img img {
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    transition: transform 300ms ease !important;
    width: 100% !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-content {
    background: linear-gradient(135deg, #122944 0%, #08192d 100%) !important;
    box-sizing: border-box !important;
    min-height: 142px !important;
    padding: 26px 24px 22px !important;
    position: relative !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-content::before {
    background: #d3a13d !important;
    content: "";
    display: block !important;
    height: 1px !important;
    margin: 0 0 15px !important;
    width: 31px !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-title {
    color: #ffffff !important;
    font-family: var(--artbin-shared-display-font, "Wix Madefor Display", "Manrope", "Inter", Arial, sans-serif) !important;
    font-size: clamp(1.22rem, 1.45vw, 1.65rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-description {
    color: #d8ae5b !important;
    font-family: "Wix Madefor Display", Manrope, Inter, Montserrat, Arial, sans-serif !important;
    font-size: clamp(0.85rem, 1.02vw, 1rem) !important;
    font-weight: 400 !important;
    line-height: 1.28 !important;
    margin: 0 !important;
}

.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box:hover .elementor-image-box-img img {
    box-shadow: none !important;
    transform: scale(1.035) !important;
}

@media (max-width: 1024px) {
    .home .elementor-element-9b8f388 .elementor-element-b0d2c2d,
    .home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box {
        min-height: 460px !important;
    }
}

@media (max-width: 767px) {
    .home .elementor-element-9b8f388 {
        padding-top: 8px !important;
    }

    .home .elementor-element-9b8f388 > .e-con-inner {
        gap: 24px !important;
        padding-top: 24px !important;
    }

    .home .elementor-element-9b8f388 .elementor-element-dbde3f3 > .e-con-inner {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .home .elementor-element-9b8f388 .houzez_section_title {
        font-size: clamp(2.25rem, 11vw, 3.1rem) !important;
        max-width: 100% !important;
    }

    .home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button {
        min-height: 52px !important;
    }

    .home .elementor-element-9b8f388 .elementor-element-b0d2c2d,
    .home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box {
        min-height: 390px !important;
    }

    .home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-content {
        min-height: 128px !important;
        padding: 20px 18px !important;
    }
}

/* `style.css` contains an earlier mosaic using !important declarations.  The
 * :root prefix is intentional: it makes this approved replacement win without
 * rewriting Elementor's language-specific content or the legacy CSS file. */
:root body.home .elementor-element-9b8f388 {
    padding-top: 16px !important;
}

:root body.home .elementor-element-9b8f388 > .e-con-inner {
    gap: 32px !important;
    padding-top: 32px !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button {
    align-items: center !important;
    background: transparent !important;
    border: 1px solid #c9932b !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #b77d17 !important;
    display: inline-flex !important;
    font-family: "Wix Madefor Display", Manrope, Inter, Montserrat, Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    gap: 18px !important;
    justify-content: center !important;
    min-height: 58px !important;
    padding: 13px 20px 13px 26px !important;
    text-transform: none !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button::after {
    color: #b77d17 !important;
    content: "→" !important;
    font-family: Arial, sans-serif !important;
    font-size: 1.55rem !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:hover,
:root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:focus-visible {
    background: #c9932b !important;
    color: #ffffff !important;
    transform: none !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:hover::after,
:root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button:focus-visible::after {
    color: #ffffff !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d {
    display: block !important;
    min-height: 0 !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner {
    align-items: stretch !important;
    display: grid !important;
    gap: clamp(10px, 1.05vw, 18px) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    width: 100% !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner > .e-con,
:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner > .elementor-element-4a079ee {
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: auto !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box,
:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-container,
:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-wrapper {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    height: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    position: static !important;
    width: 100% !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box {
    background: #10223a !important;
    min-height: clamp(420px, 34vw, 570px) !important;
    overflow: hidden !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-img {
    height: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-img img {
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    width: 100% !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-content {
    background: linear-gradient(135deg, #122944 0%, #08192d 100%) !important;
    bottom: auto !important;
    box-sizing: border-box !important;
    left: auto !important;
    min-height: 142px !important;
    padding: 26px 24px 22px !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-content::before {
    background: #d3a13d !important;
    height: 1px !important;
    margin: 0 0 15px !important;
    width: 31px !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-title,
:root body.home .elementor-element-9b8f388 .elementor-element-4a079ee .elementor-image-box-title {
    color: #ffffff !important;
    font-family: var(--artbin-shared-display-font, "Wix Madefor Display", "Manrope", "Inter", Arial, sans-serif) !important;
    font-size: clamp(1.22rem, 1.45vw, 1.65rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
}

:root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-description {
    color: #d8ae5b !important;
    font-family: "Wix Madefor Display", Manrope, Inter, Montserrat, Arial, sans-serif !important;
    font-size: clamp(0.85rem, 1.02vw, 1rem) !important;
    font-weight: 400 !important;
    line-height: 1.28 !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box {
        min-height: 460px !important;
    }
}

@media (max-width: 767px) {
    :root body.home .elementor-element-9b8f388 {
        padding-top: 8px !important;
    }

    :root body.home .elementor-element-9b8f388 > .e-con-inner {
        gap: 24px !important;
        padding-top: 24px !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-widget-image-box {
        min-height: 340px !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-content {
        min-height: 118px !important;
        padding: 18px 16px !important;
    }

    /* Artur stays the lead contact; all remaining members follow in two
       balanced columns without inheriting the old desktop mosaic. */
    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner > .e-con:first-child,
    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner > .elementor-element-4a079ee:first-child {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner > .e-con:first-child .elementor-widget-image-box,
    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d > .e-con-inner > .elementor-element-4a079ee:first-child .elementor-widget-image-box {
        min-height: 480px !important;
    }

    :root body.home .elementor-element-9b8f388 .houzez_section_title {
        font-family: var(--artbin-shared-display-font, "Wix Madefor Display", "Manrope", "Inter", Arial, sans-serif) !important;
        font-weight: 800 !important;
        letter-spacing: 0 !important;
        line-height: 1.04 !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-title,
    :root body.home .elementor-element-9b8f388 .elementor-element-4a079ee .elementor-image-box-title {
        font-family: var(--artbin-shared-display-font, "Wix Madefor Display", "Manrope", "Inter", Arial, sans-serif) !important;
        font-size: clamp(0.95rem, 4vw, 1.12rem) !important;
        font-weight: 800 !important;
        line-height: 1.16 !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-b0d2c2d .elementor-image-box-description {
        font-family: var(--artbin-shared-display-font, "Wix Madefor Display", "Manrope", "Inter", Arial, sans-serif) !important;
        font-size: clamp(0.76rem, 3.1vw, 0.88rem) !important;
        line-height: 1.25 !important;
    }

    /* Mobile team CTA: centred gold pill in the same family as the homepage
       property-count badge, with enough air above it after the cards. */
    :root body.home .elementor-element-9b8f388 .elementor-element-771fea1,
    :root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button-wrapper {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 12px !important;
        text-align: center !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 380px !important;
        min-height: 64px !important;
        margin: 0 auto !important;
        padding: 14px 26px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: linear-gradient(105deg, #ffce4c 0%, #f4ad0b 100%) !important;
        color: #10223a !important;
        box-shadow: 0 10px 22px rgba(244, 181, 27, .20) !important;
        font-family: var(--artbin-shared-display-font, "Wix Madefor Display", "Manrope", "Inter", Arial, sans-serif) !important;
        font-size: .9rem !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
    }

    :root body.home .elementor-element-9b8f388 .elementor-element-771fea1 .elementor-button::after {
        color: #10223a !important;
    }
}
