/*
 * Copyright ETS Software Technology Co., Ltd
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ETS Software Technology Co., Ltd
 * @copyright  ETS Software Technology Co., Ltd
 * @license    Valid for 1 website (or project) for each purchase of license
 */


.blog-managament-information button[type="submit"]:hover,
.ybc-blog-tag-a:hover,
#form_blog .btn.edit_view_post:hover,
.form_reply_comment input[type="submit"]:hover,
.form_reply input.btn.btn-primary.btn-default[name="addReplyComment"]:hover,
.form-polls-body button[name="polls_cancel"]:hover,
.form-polls-body button:hover
{
    background:#D90E00;
    border-color:#D90E00;
}
.ybc-blog-like-span.active, .be-tag-block .be-tags a, .be-tag-block .be-tags,
.ybc-blog-related-posts-meta-categories > a,
.view_post,
.comment-content h4.comment_name span,
.ybc_block_categories .active > a,
.comment-content .post_title span a,
.blog-managament-information .help-block a,
.ybc-blog-comment-info .post-author .ybc_title_block {
  color:#D90E00;
}
.ybc-block-comment-reply:hover,
.ybc_title_block:hover,
.read_more:hover,
.form_reply input.btn.btn-primary.btn-default[name="addReplyComment"] + .btn.btn-default:hover,
.comment-content .post_title span a:hover,
.list_category_item .sub_category li a:hover,
.ybc_block_categories .active > a:hover,
.ybc-blog-comment-info .post-author .ybc_title_block:hover,
.blog-managament-information .help-block a:hover,
#form_blog a.ybc_button_backtolist:hover{
    color: #D90E00;
}
.ybc-blog-thumbnail-list.carousel .ybc-blog-thumbnail-item.slick-current:before,
.ybc-blog-slider.carousel .slick-dots .slick-active button{
    border-color: #D90E00;
}
.ybc-blog-form-comment .blog-submit .button,
.blog-managament-information button[type="submit"],
.ybc-blog-slider.carousel .slick-dots .slick-active button,
.blog_view_all, .view_all_link,
.blog_view_all_button a,
.form-polls-body button,
.form_reply input.btn.btn-primary.btn-default[name="addReplyComment"],
.add_new_post_blog a,
#form_blog button[type="submit"],
#form_blog .btn.edit_view_post,
.form_reply_comment input[type="submit"],
.ets_blog_loading .squaresWaveG
{
  background:#D90E00; 
}

.ybc-blog-form-comment .blog-submit .button:hover,
.blog_view_all:hover, .view_all_link:hover,
.blog_view_all_button a:hover,
.add_new_post_blog a:hover,
#form_blog button[type='submit']:hover
{
  background:#D90E00; 
}
.ybc_blog_ltr_mode a:hover, 
.ybc-blog-wrapper-detail a:hover,
.ybc-blog-like-span:hover, 
.blog-main-page a:hover,
.ybc_button_backtolist:hover,
.ybc-block-comment-report:hover{
    color: #D90E00;
}
.form-polls-body button,
.form_reply_comment input[type="submit"]{
    border: 1px solid #D90E00;
}

@keyframes bounce_squaresWaveG {
    0% {
        background-color: #D90E00;
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}

@-o-keyframes bounce_squaresWaveG {
    0% {
        background-color: #D90E00;
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}

@-ms-keyframes bounce_squaresWaveG {
    0% {
        background-color: #D90E00;
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}

@-webkit-keyframes bounce_squaresWaveG {
    0% {
        background-color: #D90E00;
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}

@-moz-keyframes bounce_squaresWaveG {
    0% {
        background-color: #D90E00;
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}

/*XAVI*/
/* ===================================================
   ESTILOS DE LA COLUMNA IZQUIERDA (BLOG UVIMARK)
   =================================================== */

/* Tarjetas/Bloques individuales */
#left-column .block {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #eef0f2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 20px;
  margin-bottom: 25px;
}

/* Títulos de los bloques */
#left-column .title_blog.title_block {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
    font-family: 'Quicksand', Sans-serif;
    letter-spacing: -.5px;
}

#ybc_blog_page a.read_more { color: #e30613; font-style: normal; font-weight: bold; }

/* ---------------------------------------------------
   1. BLOQUE DE BÚSQUEDA
   --------------------------------------------------- */
#left-column .ybc_block_search form {
  position: relative;
  display: flex;
  align-items: center;
}

#left-column .ybc_block_search input.form-control {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  background-color: #f9fafb;
  transition: all 0.2s ease-in-out;
}

#left-column .ybc_block_search input.form-control:focus {
  background-color: #ffffff;
  border-color: #e30613;
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}


/* ---------------------------------------------------
   2. BLOQUES DE ENTRADAS (Últimas y Destacadas)
   --------------------------------------------------- */
/* Ajuste para anular estilos rígidos del Slider en la columna */
#left-column .slick-track {
  width: 100% !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
}

#left-column .ybc_blog_content_block_item.slick-slide {
  width: 100% !important;
  float: none;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #f0f0f0;
}

#left-column .ybc_blog_content_block_item.slick-slide:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Miniatura de la imagen */
#left-column .ybc_item_img {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 10px;
}

#left-column .ybc_item_img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

#left-column .ybc_item_img:hover img {
  transform: scale(1.03);
}

/* Título de la publicación */
#left-column .ybc_title_block {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

#left-column .ybc_title_block:hover {
  color: #e30613;
}

/* Metadatos (Fecha, Categoría, Visitas) */
#left-column .ybc-blog-sidear-post-meta,
#left-column .ybc-blog-latest-toolbar {
  display: none;
}

#left-column .be-categories a {
  color: #666666;
  text-decoration: underline;
}

#left-column .ybc-blog-latest-toolbar svg {
  fill: #888888;
  vertical-align: middle;
  margin-right: 3px;
}

/* Descripción del post */
#left-column .blog_description p {
  font-size: 12px;
  color: #666666;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* Botón "Más información" */
#left-column a.read_more {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #e30613;
    transition: all 0.2s ease;
    font-style: normal;
}

#left-column a.read_more:hover {
  text-decoration: underline;
  color: #b3000b;
}

/* Ocultar controles del slider innecesarios en la barra lateral */
#left-column .slick-arrow,
#left-column svg:not(.ets_svg svg) {
  display: none !important;
}

/* Botón "Ver todo" */
#left-column .blog_view_all_button {
  margin-top: 15px;
  text-align: center;
}

#left-column .view_all_link {
    background: #e30613;
    border: 1px solid #e30613;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

#ybc_blog_page .blog_description h2, #ybc_blog_page .blog_description h3, #ybc_blog_page .blog_description h4 { margin-top: 30px; }

@media(max-width: 991px) {
    #ybc_blog_page #left-column { display: none; }
    #ybc_blog_page #content-wrapper { width: 100%; }
}