.cf-blog {
    width: 100%;
}

/* ==========================
   GRID
========================== */
.cf-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}
.cf-blog__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}
/* ==========================
   IMAGEN
========================== */
.cf-blog__image {
    width: 100%;
    aspect-ratio: 2.5 / 2;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.cf-blog__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
/* ==========================
   ETIQUETA
========================== */
.cf-blog__etiqueta {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    max-width: calc(100% - 24px);
}
.cf-blog__etiqueta h5 {
    margin: 0;
    padding: 8px 12px;
    color: #009b77;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    max-width: 230px;
    word-break: break-word;
}
.cf-blog__etiqueta .icon-crown {
    align-items: center;
    background: rgba(60, 60, 60, .9);
    border-radius: 4px;
    color: #ffc107;
    display: flex;
    font-size: 18px;
    height: 36px;
    justify-content: center;
    margin-left: 4px;
    width: 36px;
}
/* ==========================
   CONTENIDO TARJETA
========================== */
.cf-blog__content{
    background: #f8f8f8;
    padding: 42px 10px 11px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    min-height: 250px;
    position: relative;
    border: 2px solid var(--main-dark-background);
}
.cf-blog__content::before{
    content: "";
    position: absolute;
    top: -35px;
    left: 0px;
    width: 70px;
    height: 60px;
    background: url('/img/ico-news.svg') no-repeat center;
    background-size: contain;
    z-index: 10;
}
.cf-blog__card {
    display: flex;
/*    flex-direction: column-reverse;   */
    height: 100%;
    min-width: 0;
}
.cf-blog__excerpt {
    line-height: 1.5;
    margin-bottom: 15px;
}
.cf-blog__excerpt:empty {
    display: none;
}
/* ==========================
   LINK VER MÁS
========================== */
.linkBlog {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 70;
}
.linkBlog a {
    font-size: 0;
    width: 35px;
    height: 35px;
    background: var(--main-salmon);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    position: relative;
}
.linkBlog a::before {
    content: "\e900";
    font-family: 'icomoon';
    font-size: 18px;
    color: #000000;
}
.linkBlog a:hover {
    background: #fff;
}
.linkBlog a:hover::before {
    color: var(--main-salmon);
}
/* ==========================
   DETALLE
========================== */
.cf-blog-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.cf-blog-detail {
    flex: 1;
    min-width: 0;
}
.cf-blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.cf-blog-detail__image {
    float: left;
    width: 380px;
    margin: 0 40px 25px 0;
}
.cf-blog-detail__image img {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.cf-blog-detail__title {
    margin-bottom: 25px;
    color: #009b77;
}
.cf-blog-detail__content {
    line-height: 1.8;
}
/* ==========================
   CONTENIDO ARTÍCULO
========================== */
.cf-blog-detail__content img {
    border-radius: 8px;
    margin: 10px 0;
    max-width: 100%;
    height: auto;
}
.cf-blog-detail__content img.banner,
.cf-blog-detail__content img.cf-blog-detail__banner {
    max-height: 200px;
    object-fit: cover;
    margin: 13px 0;
}
.cf-blog-detail__content h1,
.cf-blog-detail__content h2,
.cf-blog-detail__content h3,
.cf-blog-detail__content h4 {
    color: #009b77;
    margin-top: 20px;
    margin-bottom: 12px;
}
.cf-blog-detail__content p {
    margin-bottom: 12px;
}
.cf-blog-detail__content ul {
    list-style: disc;
    padding-left: 19px;
    margin-bottom: 12px;
}
.cf-blog-detail__content ul li {
    line-height: 1.5;
    margin-bottom: 6px;
}
.cf-blog-detail__content ul li::marker {
    color: var(--main-econexia);
}
.cf-blog-detail__content ol {
    padding-left: 22px;
    margin-bottom: 12px;
}
.cf-blog-detail__content a {
    color: var(--main-econexia);
    text-decoration: underline;
}
.contenidoslista__filtroselector{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}
.cf-blog-selector{
    width: 400px;
    height: 44px;
    padding: 0 40px 0 15px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #009b77;
    background: #fff;
    border: 1px solid #dce1eb;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23009b77' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.cf-blog-selector:focus{
    outline: none;
    border-color: #4f67ff;
}
/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 1200px) {

    .cf-blog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .cf-blog-layout {
        display: block;
    }
    .cf-blog-sidebar {
        width: 100%;
        margin-top: 40px;
    }
    .cf-blog-detail__image {
        float: none;
        width: 100%;
        margin: 0 0 25px;
    }
    .cf-blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .cf-blog__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cf-blog__etiqueta h5 {
        max-width: 180px;
        font-size: 13px;
    }
}
.cf-blog-pagination{
    width:100%;
    display:flex;
    justify-content:center;
    margin:50px 0;
}
.cf-blog-pagination .turn-ul{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    list-style:none;
    padding:0;
    margin:0;
}
.cf-blog-pagination .turn-ul li{
    list-style:none;
}

#paginador{
    display:flex;
    align-items:center;
    gap:12px;
}

/* Flechas */
.first,
.pagerprev,
.pagernext,
.end{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #d9d9d9;
    border-radius:50%;

    cursor:pointer;
    font-weight:600;

    color:#009b77;
    background:#fff;
}

/* Números */
#paginador span{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #d9d9d9;
    border-radius:50%;

    background:#fff;
    color:#009b77;

    font-weight:600;
    cursor:pointer;
}

#paginador span.active{
    background:#009b77;
    border-color:#009b77;
    color:#fff;
}
.first:hover,
.pagerprev:hover,
.pagernext:hover,
.end:hover,
#paginador span:hover{
    background:#f5f5f5;
}