@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
.page_home, .page_home_gallery {
    background-color: #fff;
    display: block;
    clear: both;
    margin-bottom: 60px;
    padding: 15px;
    width: 100%;
}
.page_home .title_blog, .page_home_gallery .title_blog {
    margin-top: 15px;
}
.title_blog, .title_blog a {
    color: #414141;
    font-size: 16px;
    margin-bottom: 28px;
    margin-top: 0;
    text-transform: uppercase;
}
div#block_myaccount_infos li {
    width: 100%;
    padding: 0;
}
div#block_myaccount_infos li span.ss_icon_group {
    display: none;
}
.page_home ul, .page_home_gallery ul {
    float: left;
    margin-bottom: 0;
    position: relative;
    width: 100%;
}
.page_home.ets_block_default ul {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
.block_content li {
    padding: 0 15px;
}
.ets_block_default .block_content li {
    margin-bottom: 30px;
}
.ets_item_img {
    float: left;
    overflow: hidden;
    position: relative;
    background-color: #eee;
    width: 100%;
}
.page_home img, .ets-blog img {
    max-width: 100%;
}
.ets_item_img img {
    transition: all 0.7s ease 0s;
    -webkit-transition: all 0.7s ease 0s;
    max-width: 100%;
    width: 100%;
}
.ets_title_block {
    color: #414141;
    float: left;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 0;
    margin-top: 9px;
    padding: 5px 0 9px;
    text-transform: uppercase;
    width: 100%;
    outline: none !important;
    text-decoration: none !important;
}
.ets-blog-sidear-post-meta {
    color: #b1b1b1;
    display: none;
    float: left;
    font-size: 13px;
    width: 100%;
}
.ets-blog-categories {
    float: right;
    margin-right: 15px;
}
.be-categories {
    font-size: var(--font-size-sm);
    color: var(--weu-color-grey-dark);
}
.be-categories > a, .ets-blog-tags a {
    color: var(--weu-color-grey-dark);
}
.post-date {
    float: none!important;
    width: auto;
    margin: 0!important;
    display: flex;
    align-items: center;
}
.ets-blog-latest-toolbar {
    color: var(--weu-color-grey-dark);
    font-size: var(--weu-spacing-sm);
    margin-bottom: 7px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--weu-spacing-xs);
}
.ets-blog-latest-toolbar-views:before {
    content: "\f06e";
    font-family: FontAwesome;
    padding-right: 3px;
}
.blog_description {
    clear: left;
    font-size: 14px;
    line-height: 24px;
    color: #414141;
}
.blog_description p:last-child {
    margin-bottom: 0;
}
.read_more {
    font-size: 14px;
    text-decoration: none!important;
    margin-top: 10px;
    display: inline-block;
    padding-bottom: 1px;
    font-style: normal;
    color: #999;
    border-bottom: 1px dotted;
}
.page_home_gallery.ets_block_default ul {
    margin-left: -5px;
    width: calc(100% + 10px);
    width: -webkit-calc(100% + 10px);
    width: -moz-calc(100% + 10px);
    width: -o-calc(100% + 10px);
    width: -ms-calc(100% + 10px);
}
.ets_block_gallery ul > li {
    padding: 0 15px 30px;
    width: 16.6667%;
}
.page_home_gallery.ets_block_default li {
    padding-left: 5px;
    padding-bottom: 10px;
    padding-right: 5px;
    margin-bottom: 0;
}
.gallery_item {
    backface-visibility: hidden;
    float: left;
    perspective: 500px;
    -webkit-perspective: 500px;
    -ms-perspective: 500px;
    -o-perspective: 500px;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.gallery_item > img {
    backface-visibility: hidden;
    float: left;
    max-width: 100%;
    min-height: 50px;
    perspective: 500px;
    -webkit-perspective: 500px;
    -ms-perspective: 500px;
    -o-perspective: 500px;
    transform: scale3d(1, 1, 1);
    -webkit-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    transition: all 0.35s ease 0s;
    -webkit-transition: all 0.35s ease 0s;
    -moz-transition: all 0.35s ease 0s;
    -ms-transition: all 0.35s ease 0s;
    -o-transition: all 0.35s ease 0s;
}
.page_home_gallery .ets_title_block {
    display: none;
}
.clear {
    clear: both;
}
.ets_block_slider .owl-item > li {
    float: left;
    overflow: hidden;
    width: 100%;
}
#content-wrapper .ets_block_slider .owl-item > li {
    padding-bottom: 15px;
}
.ets_block_slider .owl-controls, .ets_blog_related_posts_type_carousel .owl-controls, .ets_related_products_type_carousel .owl-controls {
    bottom: 50%;
    margin-bottom: 25px;
    min-height: 20px;
    min-width: 20px;
    position: absolute;
    right: 15px;
    width: 100%;
}
.ets_block_slider .owl-controls .owl-nav, .ets_blog_related_posts_type_carousel .owl-controls .owl-nav, .ets_related_products_type_carousel .owl-controls .owl-nav {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.ets_block_slider .owl-nav > div, .ets_blog_related_posts_type_carousel .owl-nav > div, .ets_related_products_type_carousel .owl-nav > div {
    width: 40px;
    height: 40px;
    background: #fff!important;
    border-radius: 50%!important;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    border: 1px solid #eee;
        display: flex;
    align-items: center;
    justify-content: center;
}
.ets_block_slider .owl-prev::before, .ets_blog_related_posts_type_carousel .owl-prev::before, .ets_related_products_type_carousel .owl-prev::before {
    content: "";
    background-image: url('../../../../assets/fonts/heroicons/chevron-left.svg');
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
.ets_block_slider .owl-next::before, .ets_blog_related_posts_type_carousel .owl-next::before, .ets_related_products_type_carousel .owl-next::before {
    content: "";
    background-image: url('../../../../assets/fonts/heroicons/chevron-right.svg');
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
.ets_block_slider .owl-nav > div:hover, .ets_blog_related_posts_type_carousel .owl-nav > div:hover, .ets_related_products_type_carousel .owl-nav > div:hover {
    background-color: #f1f1f1!important;
    color: #666!important;
}
.blog_view_all_button {
    text-align: center;
    padding: 15px 0;
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 0;
    color: #fff;
}
.page_home .blog_view_all_button {
    text-align: left;
}
.page_home_gallery .blog_view_all_button {
    text-align: left;
    padding-left: 0;
}
.blog_view_all, .view_all_link {
    min-width: 150px;
    text-align: center;
    border: none;
    outline: none!important;
    font-size: 14px;
    width: auto!important;
    color: #fff!important;
    text-transform: uppercase;
    font-weight: 500;
    padding: 6px 15px!important;
    border-radius: 3px;
    display: inline-block!important;
}
#ets_blog_page .wrapper__content.wrapper__content-full-width {
    display: flex;
    gap: var(--weu-spacing-lg);
    flex-wrap: wrap;
    flex-grow: 1;
    width: 100%;
}
.ets_blog_sidebar  {
    display: flex;
    flex-direction: column;
    gap: var(--weu-spacing-md);
}
#ets_blog_page #left-column {
    max-width: 350px;
    flex-grow: 0;
}
#ets_blog_page #content-wrapper .left-column {
    max-width: calc(100% - 414px);
}
#left-column .block, #right-column .block {
  background-color: #fff;
  box-shadow: none;
  clear: left;
  float: none;
  margin-bottom: 0;
  padding: 0;
  width: 100%;
}

/* WECOMM */
/* Contenedor del Banner */
.ets_blog_list_banner {
    position: relative;
    width: 100%;
    height: 500px; /* Altura ideal para lucir la foto */
    background-image: url('../img/portada-blog.webp'); /* Sube aquí la imagen sin letras */
    background-size: cover;
    background-position: center 25%; /* Ajuste vertical para el ciclista */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    margin-bottom: 50px;
    overflow: hidden;
}

/* Capa de contraste para que las letras blancas se lean bien */
.ets_blog_list_banner_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

/* Caja de contenido */
.ets_blog_list_banner_content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #ffffff;
    text-align: left;
}

/* Título Principal (SEO) */
.ets_blog_list_banner_text {
    font-family: 'Montserrat', sans-serif; /* O la que uses en Terra-Bike */
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

/* Subtexto */
.ets_blog_list_banner_subtext {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Botón Estilo Terra-Bike */
.ets_blog_list_banner_button {
    display: inline-block;
    background-color: var(--weu-color-primary); /* Tu rojo corporativo */
    color: var(--weu-color-white) !important;
    padding: var(--weu-spacing-sm) var(--weu-spacing-md);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--weu-radius-default); /* Bordes redondeados modernos */
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ets_blog_list_banner_button:hover {
    background-color: #000000;
}

@media(max-width: 991px) {
    #ets_blog_page .wrapper__content.wrapper__content-full-width {
        flex-direction: column-reverse;
        gap: 0;
    }
    #ets_blog_page #left-column {
        width: 100%;
        max-width: 100%;
    }
    #ets_blog_page #content-wrapper .left-column {
        max-width: 100%;
    }
}

@media(min-width: 768px) and (max-width: 991px) {
    .ets_blog_sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    #left-column .ets_block_search,
    #left-column .ets_block_categories {
        width: calc(50% - 16px);
    }

    #left-column .block .ets_block_latest {
        width: 100%;
    }

    #left-column .ets_block_latest .ets-blog-post-grid-item {
        width: calc(50% - 16px);
    
}

/* Adaptación para Móviles */
@media (max-width: 767px) {
    .ets_blog_list_banner {
        height: 350px;
        padding: 0 5%;
        background-position: center center;
    }
    .ets_blog_list_banner_text {
        font-size: 28px;
    }
    .ets_blog_list_banner_subtext {
        font-size: 15px;
    }
}

@media (min-width: 1200px){
    .page_home.ets_block_default ul li.col-lg-3:nth-child(4n+1) {
        clear: left;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    .ets_blog_sidebar .blog_view_all, .ets_blog_sidebar .view_all_link {
        min-width: 0;
        text-align: center;
        border: none;
        outline: none!important;
        font-size: 14px;
        width: 100%!important;
        color: #fff!important;
        text-transform: uppercase;
        font-weight: 500;
        padding: 6px 5px!important;
        border-radius: 3px;
        display: block!important;
    }
    .ets_blog_sidebar .block_content.row .blog_view_all_button {
        margin-left: 14px;
        max-width: calc(100% - 30px);
    }
    #ets_blog_page #left-column .block,
    #ets_blog_page #right-column .block {
        padding: 15px 15px 20px;
    }
}
@media (max-width: 767px){
    #ets_blog_page #left-column,
    #ets_blog_page #content-wrapper {
        width: 100%;
    }
}