/* TEXTOS */
body.home {
    font-family: "BasierSquare" !important;
    color: #333;
    line-height: 1.5;
}

body.home .vc_row {
    margin-bottom: 50px;
}

body.home .vc_row h2,
body.home .vc_row h3,
body.home .vc_row h4,
body.home .vc_row h5,
body.home .vc_row h6 {
    color: #222;
    margin-bottom: 15px;
	line-height: 100%;
    font-family: "BasierSquare" !important;	
	letter-spacing: -0.015rem;
	text-align: inherit !important;
	font-style: normal;
	text-transform: capitalize;
}
body.home .vc_row h2 a,
body.home .vc_row h3 a,
body.home .vc_row h4 a,
body.home .vc_row h5 a,
body.home .vc_row h6 a{
    text-decoration: none;
	color: #000;
		font-style: normal;
}

body.home .vc_row h2 {
    font-size: 80px;
    font-size: 60px;
	line-height: normal;
}
body.home .vc_row h2 a{
    font-size: 60px;
	letter-spacing: -5%;	
	letter-spacing: -0.015rem;
}
body.home .vc_row h3 {
    font-size: 25px;
}
body.home .vc_row h4 {
    font-size: 22px;
}
body.home .vc_row h5 {
    font-size: 18px;
}
body.home .vc_row h6 {
    font-size: 16px;
}


body.home .vc_row p,
body.home .vc_row .wpb_text_column p,
body.home .vc_row .wpb_wrapper p {
    font-size: 16px;
    line-height: 100%;
    color: #444;
    margin-bottom: 20px;
    font-family: "BasierSquare" !important;
	font-style: normal;
}
body.home  div.block_contactus.full_screen_section p, 
body.home  div.block_contactus p{
    color: white;
    font-size: 1.75rem;
}
body.home div.block_contactus .divcontainer a.qbutton {
    display: inline-block;
    cursor: pointer;
    padding: 7px 20px;
    font-size: 21px;
    font-weight: 400;
}
body.home div.block_contactus .divcontainer a.qbutton:hover{
	border-color: #fff;
}

/* títulos */
body.home .ozm_blocks.container_blockpostproduct .block_title,
body.home .ozm_blocks.container_blockpost .block_title {
    font-size: 25px;
    font-weight: 400;
    color: #222;
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: lowercase;
    letter-spacing: normal;
    font-family: "BasierSquare" !important;
	font-style: normal;
}
body.home .ozm_blocks.container_blockpostproduct .block_title::first-letter,
body.home .ozm_blocks.container_blockpost .block_title::first-letter {
    text-transform: uppercase;
}
body.home .ozm_blocks.container_blockpostproject .block_title {
    font-size: 25px;
    font-weight: 400;
    color: #222;
    margin-top: 10px;
    margin-bottom: 5px;
    letter-spacing: normal;
    font-family: "BasierSquare" !important;
	font-style: normal;
}
body.home .ozm_blocks.container_blockpostproduct .divtags span,
body.home .ozm_blocks.container_blockpost .divtags span {
    font-size: 16px;
    color: #888;
    display: inline-block;
    margin-right: 5px;
    font-family: "BasierSquare" !important;
	font-style: normal;
}

body.home .carousel.slide .slider_content_outer,
body.home #qode-homeslider .slider_content_outer{
	width: 90%;
	padding: 0px;
}
/* Textos dentro de slider ou qode slider */
body.home .carousel.slide .slider_content h2.q_slide_title,
body.home #qode-homeslider .slider_content h2.q_slide_title {
    font-size: 82px;
    line-height: 100%;
    font-weight: 700;
    color: #ea4f2f;
    font-family: "BasierSquare" !important;
	font-style: normal;
}
body.home .carousel.slide .slider_content h3.q_slide_subtitle,
body.home #qode-homeslider .slider_content h3.q_slide_subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    font-family: "BasierSquare" !important;
	font-style: normal;
}

/* Botóns */
body.home .qbutton,
body.home .carousel-inner .slider_content .slide_buttons_holder a,
body.home .carousel-inner .item.light .slider_content .slide_buttons_holder a,
body.home .wpb_wrapper .qbutton,
body.home .qode-ii-info-holder .qbutton {
    font-size: 20px !important;
    font-weight: 400 !important;    
	letter-spacing: 0px;
    color: rgb(255, 255, 255) !important;
    text-transform: none;
    border-radius: 10px; 
    padding: 5px 14px !important; 
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-family: "BasierSquare" !important;
	font-style: normal;
}

body.home .qbutton:hover,
body.home .carousel-inner .slider_content .slide_buttons_holder a:hover,
body.home .carousel-inner .item.light .slider_content .slide_buttons_holder a:hover,
body.home .wpb_wrapper .qbutton:hover,
body.home .qode-ii-info-holder .qbutton:hover {
    background-color: #a2a2a2;
    border-color: #a2a2a2;
    color: #fff;
}

body.home .qode-ii-title,
body.home h3.qode-ii-title {
    font-size: 60px;	
	letter-spacing: -5%;	
	letter-spacing: -0.015rem;
    margin-bottom: 10px;
	color: white !important;
    text-align: left;
    font-family: "BasierSquare" !important;
	font-style: normal;
}


/** BLOQUES **/
body.home .ozm_blocks.container_blockpostproject,
body.home .ozm_blocks.container_blockpostproduct,
body.home .ozm_blocks.container_blockpost { 
    box-sizing: border-box; 
    width: 100%; 
    padding: 0px; 
}
body.home .ozm_blocks.container_blockpostproduct{
	margin-bottom: 3%;
	/*min-height: 55vh;*/
}

body.home .ozm_blocks.container_blockpostproject .project-img,
body.home .ozm_blocks.container_blockpostproduct .project-img{
	/*min-height: 55vh;*/
	height: clamp(200px, 50dvh, 600px);
}

body.home .blockpostproject.latest_post_holder,
body.home .blockpostproduct.latest_post_holder,
body.home .blockpost.latest_post_holder { 
    position: relative; 
    overflow: visible; 
}
body.home .shortcode_blockpostprojects,
body.home .shortcode_blockpostproducts,
body.home .shortcode_blockposts { 
    display: flex; 
    gap: 12px; 
    overflow-x: auto; 
    overflow-y: hidden; 
    -webkit-overflow-scrolling: touch; 
    scroll-snap-type: x mandatory; 
    padding: 16px 6px; 
    margin: 0; 
    list-style: none; 
    align-items: stretch; 
    scrollbar-width: none; 
    width: 100%; 
}
/*
body.home .shortcode_blockpostproducts{ 
	min-height: 55vh;
}
body.home .shortcode_blockposts { 
	min-height: 60vh;
}*/
body.home  .shortcode_blockpostprojects,
body.home .shortcode_blockpostproducts,
body.home .shortcode_blockposts {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overflow-x: auto;
	scroll-behavior: smooth;
	user-select: none;
    cursor: grab;
}
.shortcode_blockpostprojects:active,
.shortcode_blockpostproducts:active,
.shortcode_blockposts:active {
  cursor: grabbing;
}
body.home .shortcode_blockpostprojects::-webkit-scrollbar,
body.home .shortcode_blockpostproducts::-webkit-scrollbar,
body.home .shortcode_blockposts::-webkit-scrollbar { 
    display: none; 
}
body.home .shortcode_blockpostprojects > li.element-item,
body.home .shortcode_blockpostproducts > li.element-item,
body.home .shortcode_blockposts > li.element-item { 
    /*flex: 0 0 100%; 
    max-width: 100%; */
    scroll-snap-align: center; 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    list-style: none; 
}
body.home .shortcode_blockpostprojects .project-img,
body.home .shortcode_blockpostproducts .project-img,
body.home .shortcode_blockposts .project-img { 
    width: 100%; 
    padding-top: 5%; 
    background-position: center; 
    background-size: cover; 
    display: block; 
}
body.home .title_products h3,
body.home .title_products h3 a{
	text-transform: uppercase;
}
body.home .shortcode_blockpostprojects .block_title,
body.home .shortcode_blockpostproducts .block_title,
body.home .shortcode_blockposts .block_title { 
    margin: 10px 0 6px; 
    font-size: 14px; 
    line-height: 100%; 
	letter-spacing: -0.015rem ;
}
body.home .shortcode_blockpostprojects .divtags,
body.home .shortcode_blockpostproducts .divtags,
body.home .shortcode_blockposts .divtags { 
    display: flex; 
    gap: 6px; 
    flex-wrap: wrap; 
}
body.home .shortcode_blockpostprojects .divtags .taglabel,
body.home .shortcode_blockpostproducts .divtags .taglabel,
body.home .shortcode_blockposts .divtags .taglabel { 
    font-size: 12px; 
    padding: 4px 8px 4px 0px; 
    /*background: rgba(0,0,0,0.05); */
}


/* Contedor do slider */
body.home .shortcode_blockpostprojects,
body.home .shortcode_blockpostproducts,
body.home .shortcode_blockposts {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 16px 6px;
    margin: 0;
    list-style: none;
    align-items: stretch;
    width: 100%;
    scroll-behavior: smooth; /* para que o scroll automático sexa suave */
}
/* Items do slider */
body.home .shortcode_blockpostprojects > li.element-item,
body.home .shortcode_blockpostproducts > li.element-item,
body.home .shortcode_blockposts > li.element-item {
    flex: 0 0 25%; 
    max-width: 25%;
    scroll-snap-align: start;
    box-sizing: border-box;
}
/* Imaxes dentro dos items */
body.home .shortcode_blockpostprojects .project-img,
body.home .shortcode_blockpostproducts .project-img,
body.home .shortcode_blockposts .project-img {
    width: 100%;
    height: auto;
    background-position: center;
    background-size: cover;
    display: block;
}
/* Mantemos gap visual entre imaxes */
body.home .shortcode_blockpostprojects > li.element-item:not(:last-child),
body.home .shortcode_blockpostproducts > li.element-item:not(:last-child),
body.home .shortcode_blockposts > li.element-item:not(:last-child) {
    margin-right: 12px;
}



.twoimagesbkg_home,
.twoimagesbkg_home .full_section_inner{
  	/*min-height: 85vh;*/
	height: clamp(200px, 75dvh, 650px);
  	display: flex;
	width: 100%;
	margin: 0px !important;
}
.twoimagesbkg_home .wpb_column{
    -webkit-flex: 1;
    -ms-flex: 1; 
    flex: 1; 
    transition: transform .5s ease;
    padding: 0px !important;
}
.twoimagesbkg_home .wpb_column,
.twoimagesbkg_home .vc_column-inner{
	height: 100%;
	padding: 0px;
  	margin: 0px;
	background-position: center;
	background-size: cover;	
}
.twoimagesbkg_home .image_title_w{
	padding: 3rem;
}
.twoimages_home .qode-interactive-image .qode-ii-info-holder .qode-ii-info-holder-inner{
	transition: none;
	opacity: 1;
	height: 100%;
}
.twoimages_home .qode-interactive-image.active .qode-ii-info-holder .qode-ii-info-holder-inner, 
.twoimages_home .qode-interactive-image:hover .qode-ii-info-holder .qode-ii-info-holder-inner{
	top: 0px;
}
.twoimages_home .qode-interactive-image .qode-ii-info-holder {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 5;
}
.twoimages_home  .qode-interactive-image .qode-ii-info-holder{
	padding: 20px;
}
.twoimages_home  .qode-interactive-image h3,
.twoimages_home  .qode-interactive-image a{
	color: white;
}
.twoimages_home  .qode-interactive-image a{
	color: white;
	background: transparent;
  	border: 1px solid white;
  	border-radius: 7px;
 	padding: 7px 10px 5px 10px !important;
  	/*line-height: 2rem;*/
  	height: auto !important;
	bottom: 0;
  position: absolute;
}
.twoimages_home .qode-interactive-image a:hover {
    color: #EA4F2F;
    background: transparent;
    border: 1px solid  #EA4F2F;
    text-decoration: none;
}
.twoimagesbkg_home .wpb_column:hover {
    width: 65%;
    flex: none;
    transition: transform .5s ease;
	cursor: pointer;
	-webkit-transition: width 1s;
  	transition: width 1s;
}
.twoimagesbkg_home .wpb_column:hover .vc_column-inner{
	background-size: cover;
}

.twoimagesbkg_home .wpb_column:hover + .wpb_column {
    width: 35%;
    flex: none;
    transition: transform .5s ease;
	-webkit-transition: width 1s;
  	transition: width 1s;
}
.twoimagesbkg_home .wpb_column:hover + .wpb_column .vc_column-inner{	
	background-size: cover;
}
.twoimagesbkg_home  h2,
.twoimagesbkg_home a{
	color: white !important;
	text-decoration: none;
}


body.home  .twoimagesbkg_home {
    margin-top: 3% !important;
}

body.home .shortcode_blockpostprojects .product_list_thumb_link,
body.home .shortcode_blockpostproducts .product_list_thumb_link,
body.home .shortcode_blockposts .product_list_thumb_link { 
    display: block; 
    color: inherit; 
    text-decoration: none; 
    cursor: pointer; 
}

body.home .shortcode_blockpostprojects .product_list_thumb_link:focus,
body.home .shortcode_blockpostproducts .product_list_thumb_link:focus,
body.home .shortcode_blockposts .product_list_thumb_link:focus { 
    outline: 3px solid rgba(21,156,228,0.35); 
    outline-offset: 4px; 
}
.ae-homeprojectgallery .title_name,
.ae-homeprojectgallery span.location {
    display: none;
}

/*** SLIDER ***/
body.home header + .content {
  max-width: 1440px;
  max-width: 1920px;
  margin: auto;
}
body.homeslider,
body.home .homeslider > div{
	width: 100%;	
	max-width: 100% !important;
}
body.home .homeslider{
    padding: 0px !important;
	margin: 0px;
}
body.home .homeslider .vc_column-inner{
	padding: 0px !important;
}
body.home .carousel.slide,
body.home .carousel.slide .item,
body.home #qode-homeslider,
body.home #qode-homeslider .item {    
    /*max-height: 90vh;*/
	/*max-height: clamp(300px, 70dvh, 750px);*
	height: clamp(576px, 533.66px + 10.86vw, 690px);
    height: auto;	*/
	width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
}
body.home .carousel.slide .slider_content .text h2,
body.home .carousel.slide .slider_content .text h3,
body.home .carousel.slide .slider_content .text h4,
body.home .carousel.slide .slider_content .text h5,
body.home .carousel.slide .slider_content .text h6,
body.home #qode-homeslider .slider_content .text h2,
body.home #qode-homeslider .slider_content .text h3,
body.home #qode-homeslider .slider_content .text h4,
body.home #qode-homeslider .slider_content .text h5,
body.home #qode-homeslider .slider_content .text h6 {
    font-family: "BasierSquare" !important;
    margin: 0 0 0.5em 0;
    line-height: normal;
    color: #ea4f2f;
}

body.home .carousel.slide .slider_content .text h3,
body.home .carousel.slide .slider_content .text h3 span {
    font-size: 20px !important; 
    font-weight: 400;
    color: white;
}

body.home #qode-homeslider .slider_content .text h2,
body.home #qode-homeslider .slider_content .text h2 span,
body.home .carousel.slide .slider_content .text h2,
body.home .carousel.slide .slider_content .text h2 span{
    font-size: 96px !important; 
    text-transform: capitalize;
}
/*body.home #qode-homeslider .slider_content .text h3,
body.home #qode-homeslider .slider_content .text h3 span {
    font-size: 1.35vw !important; 
    font-weight: 400;
    color: #333;
}
*/
body.home .carousel.slide .slider_content .text span,
body.home #qode-homeslider .slider_content .text span {
    display: inline-block;
}


@media only screen and (max-width: 1440px) {
	body.home .vc_row h2 {
		font-size: 60px;
		letter-spacing: -0.15rem;
	}
		
}
@media only screen and (max-width: 1439px) {

		body.home .carousel.slide .slider_content .text h2,
	body.home .carousel.slide .slider_content .text h2 span
    body.home #qode-homeslider .slider_content .text h2,
	body.home #qode-homeslider .slider_content .text h2 span {
        font-size: 53.5px !important; 
        font-size: 68px !important; 
    }
	body.home .carousel.slide .slider_content .text h3,
	body.home .carousel.slide .slider_content .text h3 span
    body.home #qode-homeslider .slider_content .text h3,
	body.home #qode-homeslider .slider_content .text h3 span,
	body.home .qbutton, 
	body.home .carousel-inner .slider_content .slide_buttons_holder a, 
	body.home .carousel-inner .item.light .slider_content .slide_buttons_holder a, 
	body.home .wpb_wrapper .qbutton, body.home .qode-ii-info-holder .qbutton{
        font-size: 17.5px !important; 
        font-size: 22.5px !important; 
    }
	.page_banner, .product_banner, body.home #qode-homeslider, body.home #qode-homeslider .carousel-inner, body.home #qode-homeslider .carousel-inner > div, body.home .carousel, body.home .carousel .carousel-inner, body.home .carousel .carousel-inner > div{
		min-height: 690px;
	}
	
}
@media only screen and (max-width: 1460px) {

	body.home .carousel.slide,
	body.home #qode-homeslider,
	body.home .twoimagesbkg_home{
		width: 100vw !important;
		margin-left: calc(-50vw + 50%) !important;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 1024px) {
	body.home .carousel-inner .item .image{
		background-position: center ;
	}
	body.home .ozm_blocks.container_blockpostproduct .project-img{
		/*min-height: 55vh;*/
		height: clamp(200px, 45dvh, 600px);
	}
	body.home .ozm_blocks.container_blockpostproject .project-img{
		/*min-height: 55vh;*/
		height: clamp(300px, 75dvh, 600px);
	}
	body.home .ozm_blocks.container_blockpostproduct,
	body.home .ozm_blocks.container_blockpost,
	body.home .ozm_blocks.container_blockpostproject{ 
		margin-bottom: 1%;
	}
	body.home .shortcode_blockpostprojects,
	body.home .shortcode_blockpostproducts, 
	body.home .shortcode_blockposts{
		padding: 0px;
	}
	.twoimagesbkg_home .image_title_w {
		padding: 2rem 1.5rem;
	}
	body.home .vc_row h2 a,
	body.home .vc_row h2,
	body.home .qode-ii-title, body.home h3.qode-ii-title{		
		letter-spacing: -0.015rem;
		font-size: 43px;
	}
}


@media (min-width: 992px) {
    body.home .shortcode_blockpostprojects,
    body.home .shortcode_blockpostproducts,
    body.home .shortcode_blockposts { 
        display: grid; 
        grid-template-columns: repeat(4, 1fr); 
        gap: 0.55%; 
        overflow: visible; 
        padding: 0; 
        align-items: start; 
        width: 100%; 
    }

    body.home .shortcode_blockpostprojects .arrows,
    body.home .shortcode_blockpostproducts .arrows,
    body.home .shortcode_blockposts .arrows { 
        display: none !important; 
    }

    body.home .shortcode_blockpostprojects > li.element-item,
    body.home .shortcode_blockpostproducts > li.element-item,
    body.home .shortcode_blockposts > li.element-item { 
        width: 100%; 
        flex: none; 
        max-width: none; 
    }
    body.home .shortcode_blockpostprojects .project-img,
    body.home .shortcode_blockpostproducts .project-img,
    body.home .shortcode_blockposts .project-img { 
        padding-top: 5%; 
        background-position: center; 
        background-size: cover; 
    }

    body.home .shortcode_blockpostprojects .block_title,
    body.home .shortcode_blockpostproducts .block_title,
    body.home .shortcode_blockposts .block_title { 
        font-size: 15px; 
    }
}


@media only screen and (max-width: 767px) {
	
	body.home .shortcode_blockpostprojects > li.element-item,
	body.home .shortcode_blockpostproducts > li.element-item,
	body.home .shortcode_blockposts > li.element-item {
		flex: 0 0 100%; 
		max-width: 100%;
		scroll-snap-align: start;
		box-sizing: border-box;
		margin-right: 0px;
	}

    body.home .vc_row h2 { font-size: 28px; }
    body.home .vc_row h3 { font-size: 24px; }
    body.home .vc_row h4 { font-size: 20px; }
    body.home .vc_row h5 { font-size: 16px; }
    body.home .vc_row h6 { font-size: 14px; }
	
	body.home .carousel.slide .slider_content .text h2,
	body.home .carousel.slide .slider_content .text h2 span
    body.home #qode-homeslider .slider_content .text h2,
	body.home #qode-homeslider .slider_content .text h2 span {
        font-size: 53.5px !important; 
    }
	body.home .carousel.slide .slider_content .text h3,
	body.home .carousel.slide .slider_content .text h3 span
    body.home #qode-homeslider .slider_content .text h3,
	body.home #qode-homeslider .slider_content .text h3 span,
	body.home .qbutton, 
	body.home .carousel-inner .slider_content .slide_buttons_holder a, 
	body.home .carousel-inner .item.light .slider_content .slide_buttons_holder a, 
	body.home .wpb_wrapper .qbutton, body.home .qode-ii-info-holder .qbutton{
        font-size: 17.5px !important; 
        line-height: normal; 
        color: white; 
		height: 100%;
        padding: 10px 13px !important;
    }
		.page_banner, .product_banner, body.home #qode-homeslider, body.home #qode-homeslider .carousel-inner, body.home #qode-homeslider .carousel-inner > div, body.home .carousel, body.home .carousel .carousel-inner, body.home .carousel .carousel-inner > div{
		min-height: 576px;
	}

	.twoimages_home .vc_col-sm-6:first-child,
	.twoimages_home .vc_col-sm-6:last-child{
		padding:0px !important;
	}
.carousel-container::after, 
    .ae-homeproductgallery ul::after, 
    .ae-homeprojectgallery ul::after {
        content: 'flickity';
        display: none;
    }
    
}

/*GALERIAS PRODUTOS E PROXECTOS*/
.ae-homeprojectgallery__slide .block_title,
.ae-homeproductgallery__slide .block_title {
	text-align: left;
	margin-top: 0.5rem;
	font-size: 20px;
	color: #333;
	line-height:normal;
	flex: none;
	padding: 1% 3% 1% 1%;
	font-style: normal;
}
.ae-homeproductgallery .homecarousel-arrow, 
.ae-homeproductgallery .carousel-arrow,
.ae-homeprojectgallery .homecarousel-arrow, 
.ae-homeprojectgallery .carousel-arrow {
	position: absolute;
	top: 55%;
	transform: translateY(-50%);
	z-index: 10;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	border: none;
	background: rgba(234,79,47,0.8);
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: transform 0.3s ease, background 0.3s ease;
	padding: 0px;
}
.ae-homeproductgallery .homecarousel-arrow:hover,
.ae-homeproductgallery .carousel-arrow:hover,
.ae-homeprojectgallery .homecarousel-arrow:hover,
.ae-homeprojectgallery .carousel-arrow:hover {
	transform: translateY(-50%) scale(1.4);
}

.ae-homeproductgallery .carousel-container,
.ae-homeprojectgallery .carousel-container {
    transition: transform 0.4s ease;
}
/*
.ae-homeproductgallery__slide,
.ae-homeprojectgallery__slide {
    flex: 0 0 25%;
    width: 25%;
    flex: 0 0 calc(25% - 6px);
    width: calc(25% - 6px);
    position: relative;
    aspect-ratio: 1 / 1;         
    overflow: visible;
    padding: 3px;
}*/
.ae-homeproductgallery__slide,
.ae-homeprojectgallery__slide {
    flex: 0 0 25%;
    width: 25%;
    flex: 0 0 calc(25% - 6px);
    width: calc(25% - 6px);
    position: relative;    /* cuadrados */
    overflow: visible;
    padding: 3px;
}
.ae-homeproductgallery__slide{
    aspect-ratio: 1 / 1.15;         /* cuadrados */
}
.ae-homeprojectgallery__slide {
    aspect-ratio: 2 / 3;         /* alargados */
}
.ae-homeproductgallery__slide:last-child,
.ae-homeprojectgallery__slide:last-child {
    margin-right: 0; /* sin gap final fila */
}
.ae-homeproductgallery__slide .project-img,
.ae-homeprojectgallery__slide .project-img {
    width: 100%;
    height: 85%;
    background-size: cover;
    background-position: center;
}
.ae-homeproductgallery .flickity-viewport,
.ae-homeprojectgallery .flickity-viewport {
	width: 100%;
    min-height: 250px;   
	display: flex;
}
.ae-homeproductgallery .flickity-slider,
.ae-homeprojectgallery .flickity-slider {
	width: 100%;
    min-height: 250px;   
	display: flex;
}

.homecarousel-arrow--prev,
.carousel-arrow--prev {
	left: 0px;
	margin-left: 7px;
}
.homecarousel-arrow--next,
.carousel-arrow--next {
    right: 0px;
	margin-right: 4px;
}
.homecarousel-arrow--prev::before,
.carousel-arrow--prev::before {
    transform: translate(-50%, -50%) rotate(-135deg);
	left: 10px;
}
.homecarousel-arrow--next::before,
.carousel-arrow--next::before {
    transform: translate(-50%, -50%) rotate(45deg);
    right: 0px;
}


@media (min-width: 768px) {
	.ae-homeproductgallery,
	.ae-homeprojectgallery {
		display: block;
		overflow: hidden;
	}
    .ae-homeproductgallery__slide, 
    .ae-homeprojectgallery__slide {
        width: calc(25% - 15px);
        padding: 0 10px; /* Espazado opcional entre as 4 */
        transform: none !important;
        position: relative !important;
        left: 0 !important;
    	float: left;
    }
	.ae-homeproductgallery__slide:first-child,
	.ae-homeprojectgallery__slide:first-child{
		padding-left:0px !important;
	}	
	.ae-homeproductgallery__slide:last-child,
	.ae-homeprojectgallery__slide:last-child{
		padding-right:0px !important;
	}

    .flickity-slider {
        transform: none !important;
        display: flex !important;
    }
    
    .home .homecarousel-arrow {
        display: none !important;
    }
	
}

@media (max-width: 767px) {
	.ae-homeproductgallery,
	.ae-homeprojectgallery {
		display: block;
		overflow: hidden;
	}
    .ae-homeproductgallery__slide, 
    .ae-homeprojectgallery__slide {
        width: 100%;
        padding: 0px; 
    }
	
}

@media only screen and (max-width: 600px) {
	body.home .ozm_blocks.container_blockpostproduct .project-img,
	body.home .ozm_blocks.container_blockpostproject .project-img{
		height: 580px;
		max-height: 580px;	
	}
	body.home .content > .content_inner{
		display: contents !important;
		overflow: hidden;
	  }
	body.home .carousel-inner .item .image{
		background-position: right ;
	}

}

