/* =========================================================
   SPACE ANÚNCIO — HOME
   DOBRA 5 — BANNERS DE MODA
   ========================================================= */

.space-home-fashion {
    width: 100%;
    padding: 0 32px 34px;
    background: #ffffff;
    box-sizing: border-box;
}

.space-home-fashion > .e-con-inner {
    width: 100%;
    max-width: 1280px;
    height: 390px;
    min-height: 390px;
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;

    gap: 16px;
    box-sizing: border-box;
}

.space-fashion-main {
    flex: 0 0 844px;
    width: 844px;
    max-width: 844px;
    height: 390px;
    min-height: 390px;

    position: relative;
    overflow: hidden;

    box-sizing: border-box;
    border-radius: 12px;

    isolation: isolate;
}

.space-fashion-main img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    border: 0;
}

.space-fashion-main .elementor-widget-image,
.space-fashion-main .elementor-widget-image .elementor-widget-container {
    width: 100%;
    height: 100%;
}

.space-fashion-main > .e-con-inner,
.space-fashion-main > .elementor-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.space-fashion-main > .e-con-inner > .space-fashion-content,
.space-fashion-main > .space-fashion-content {
    position: relative;
    z-index: 3;
}

.space-fashion-main > .e-con-inner > .space-fashion-art,
.space-fashion-main > .space-fashion-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.space-fashion-main > .e-con-inner > .space-fashion-art .elementor-widget-image,
.space-fashion-main > .e-con-inner > .space-fashion-art .elementor-widget-container,
.space-fashion-main > .space-fashion-art .elementor-widget-image,
.space-fashion-main > .space-fashion-art .elementor-widget-container {
    width: 100%;
    height: 100%;
}

.space-fashion-main .elementor-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-fashion-main .elementor-widget-heading,
.space-fashion-main .elementor-widget-text-editor,
.space-fashion-main .elementor-widget-button {
    position: relative;
    z-index: 2;
}

.space-fashion-side {
    flex: 0 0 420px;
    width: 420px;
    max-width: 420px;
    height: 390px;
    min-height: 390px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 16px;

    box-sizing: border-box;
}

.space-fashion-small-top {
    flex: 0 0 187px;
    width: 420px;
    max-width: 420px;
    height: 187px;
    min-height: 187px;

    position: relative;
    overflow: hidden;

    box-sizing: border-box;
    border-radius: 12px;

    isolation: isolate;
}

.space-fashion-small-top img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    border: 0;
}

.space-fashion-small-top .elementor-widget-image,
.space-fashion-small-top .elementor-widget-image .elementor-widget-container {
    width: 100%;
    height: 100%;
}

.space-fashion-small-top .elementor-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-fashion-small-bottom {
    flex: 0 0 187px;
    width: 420px;
    max-width: 420px;
    height: 187px;
    min-height: 187px;

    position: relative;
    overflow: hidden;

    box-sizing: border-box;
    border-radius: 12px;

    isolation: isolate;
}

.space-fashion-small-bottom img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    border: 0;
}

.space-fashion-small-bottom .elementor-widget-image,
.space-fashion-small-bottom .elementor-widget-image .elementor-widget-container {
    width: 100%;
    height: 100%;
}

.space-fashion-small-bottom .elementor-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-fashion-main,
.space-fashion-small-top,
.space-fashion-small-bottom {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.space-fashion-main:hover,
.space-fashion-small-top:hover,
.space-fashion-small-bottom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 30, 45, 0.10);
}

@media (max-width: 1200px) {

    .space-home-fashion {
        padding-left: 24px;
        padding-right: 24px;
    }

    .space-home-fashion > .e-con-inner {
        height: 360px;
        min-height: 360px;
    }

    .space-fashion-main {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        height: 360px;
        min-height: 360px;
    }

    .space-fashion-side {
        flex: 0 0 36%;
        width: 36%;
        max-width: 36%;
        height: 360px;
        min-height: 360px;
    }

    .space-fashion-small-top,
    .space-fashion-small-bottom {
        width: 100%;
        max-width: none;
        height: 172px;
        min-height: 172px;
        flex-basis: 172px;
    }
}

@media (max-width: 1024px) {

    .space-home-fashion {
        padding-left: 20px;
        padding-right: 20px;
    }

    .space-home-fashion > .e-con-inner {
        height: 320px;
        min-height: 320px;
        gap: 12px;
    }

    .space-fashion-main {
        height: 320px;
        min-height: 320px;
    }

    .space-fashion-side {
        height: 320px;
        min-height: 320px;
        gap: 12px;
    }

    .space-fashion-small-top,
    .space-fashion-small-bottom {
        height: 154px;
        min-height: 154px;
        flex-basis: 154px;
    }
}

@media (max-width: 767px) {

    .space-home-fashion {
        padding: 0 16px 24px;
    }

    .space-home-fashion > .e-con-inner {
        height: auto;
        min-height: 0;

        display: flex;
        flex-direction: column;

        gap: 12px;
    }

    .space-fashion-main {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: 230px;
        min-height: 230px;
    }

    .space-fashion-side {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;

        gap: 12px;
    }

    .space-fashion-small-top,
    .space-fashion-small-bottom {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: 150px;
        min-height: 150px;
    }
}

@media (max-width: 480px) {

    .space-home-fashion {
        padding-left: 12px;
        padding-right: 12px;
    }

    .space-fashion-main {
        height: 205px;
        min-height: 205px;
    }

    .space-fashion-small-top,
    .space-fashion-small-bottom {
        height: 132px;
        min-height: 132px;
    }
}
