/*
CTC Separate Stylesheet
Updated: 2026-06-16 00:48:59
Theme Name: ElSello.Info
Theme URI: https://elsellotv.com.ar
Template: newsup
Author: Santiago Escobar
Author URI: https://ElSello.Info
Description: Arreglando lo que tenia error en otro hijo
Version: 5.4.4.1781581739
*/

/* ==========================================================================
   1. VARIABLES Y ESTILOS GLOBALES
   ========================================================================== */
:root {
    --bodyFont: 'DM Sans', sans-serif;
    --headFont: "Bricolage Grotesque", sans-serif;
    --bo-radius: 6px;
    --pri-color: #171717;
}

p a {
    text-decoration: underline;
}

a:focus, 
a:hover {
    color: var(--pri-color);
    outline: 1px solid;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: var(--bo-radius);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.homemain {
    margin-bottom: 30px;
}
.homemain .owl-item {
    padding: 0 5px;
}
.homemain .owl-wrapper {
    margin: 0 -5px;
}

/* ==========================================================================
   2. CABECERA Y NAVEGACIÓN (HEADER)
   ========================================================================== */
.mg-headwidget .mg-head-detail {
    background: var(--pri-color);
}

.mg-headwidget .info-left li {
    font-size: 14px;
    line-height: 1.3;
    margin-right: 0;
    color: #fff;
}

.mg-head-detail .info-left li span.time {
    padding: 2px 4px;
    font-weight: 500;
    border-radius: 6px;
    margin-left: 5px;
    background-color: #fff;
    color: var(--pri-color);
}

.mg-headwidget .navbar-wp {
    background: transparent;
}

.navbar-wp .dropdown-menu > li > a,
.mg-headwidget .navbar-wp .navbar-nav > li > a {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
}

.mg-headwidget .navbar-wp .navbar-nav > li > a {
    padding: 0 10px;
    border-radius: var(--bo-radius);
    font-family: var(--bodyFont);
    color: var(--pri-color);
}

.mg-headwidget .navbar-wp .navbar-nav.nav {
    padding: 6px 10px;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    gap: 3px;
    background-color: #fff;
}

.mg-headwidget .navbar-wp .navbar-nav > li > a:hover, 
.mg-headwidget .navbar-wp .navbar-nav > li > a:focus, 
.mg-headwidget .navbar-wp .navbar-nav > .active > a, 
.mg-headwidget .navbar-wp .navbar-nav > .active > a:hover, 
.mg-headwidget .navbar-wp .navbar-nav > .active > a:focus {
    background: transparent;
    color: var(--pri-color);
}

.mg-headwidget .navbar-wp .navbar-nav > li .dropdown-menu {
    background: transparent;
}

.mg-headwidget .navbar-wp .navbar-nav > li > .dropdown-menu li a {
    padding: 8px 15px;
    border: 1px solid #ebebeb;
    background: #fff !important;
    color: var(--pri-color) !important;
}

.mg-headwidget .navbar-wp .navbar-nav > li > .dropdown-menu li:first-child a {
    border-radius: 6px 6px 0 0;
}
.mg-headwidget .navbar-wp .navbar-nav > li > .dropdown-menu li:last-child a {
    border-radius: 0 0 6px 6px;
}
.mg-headwidget .navbar-wp .navbar-nav > li > .dropdown-menu li:only-child a {
    border-radius: 6px;
}
.mg-headwidget .navbar-wp .navbar-nav > li > .dropdown-menu li:not(:last-child) a {
    border-bottom: 0;
}

.mg-nav-widget-area-back .inner {
    border-width: 0 0 1px;
    border-style: solid;
    border-color: #c9c9c9;
}

.mg-nav-widget-area .row:not(:has(.col-12)) {
    margin-left: 0;
    margin-right: 0;
    gap: 15px;
}

.desk-header {
    width: 25%;
    justify-content: end;
}

/* ==========================================================================
   3. BUSCADOR, CAMPANITA Y ÚLTIMAS NOTICIAS
   ========================================================================== */
.mg-search-box a, 
.btn-bell {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    border-radius: var(--bo-radius);
    transition: 0.3s;
    margin-inline: 0 !important;
    padding: 0;
}

.mg-search-box a {
    color: var(--pri-color);
    border-color: #ebebeb;
    background: #fff;
}

.mg-search-box a:hover, 
.mg-search-box a:focus {
    background: var(--pri-color);
    color: #fff;
}

.btn-bell {
    background: #fff;
    color: var(--pri-color);
    border-color: #ebebeb;
}

.btn-bell:hover,
.btn-bell:focus {
    background: var(--pri-color);
    color: #fff;
    opacity: 1;
}

.btn-bell:has(.fa-bell) {
    padding: 0;
}

.dropdown.show.mg-search-box {
    padding-right: 0 !important;
}

/* Últimas Noticias */
.mg-latest-news-sec, 
.mg-latest-news {
    background-color: transparent;
}

.mg-headwidget .mg-latest-news-sec .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.mg-latest-news, 
.mg-latest-news .mg-latest-news-slider {
    height: 35px;
}

.mg-latest-news .bn_title {
    border-radius: 6px;
    height: 35px;
    background-color: #fff;
}

.mg-latest-news .bn_title span,
.mg-latest-news .bn_title:after {
    display: none;
}

.mg-latest-news .bn_title .title {
    padding: 6px 12px;
    line-height: 1.5;
    font-size: 16px;
    height: 35px;
    color: var(--pri-color);
}

.mg-latest-news .mg-latest-news-slider {
    left: 120px;
}

.mg-latest-news .mg-latest-news-slider a span,
.mg-latest-news .mg-latest-news-slider a::before, 
.mg-latest-news .mg-latest-news-slider a::after {
    color: #fff;
}

/* ==========================================================================
   4. ÁREA DESTACADA (FEATURED)
   ========================================================================== */
.mg-fea-area .mg-posts-sec-post {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    gap: 24px;
    align-items: start !important;
}

.mg-fea-area .mg-posts-sec-post .mg-sec-top-post {
    padding: 0 !important;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.mg-fea-area .mg-posts-sec-post .mg-sec-top-post .title {
    font-size: 35px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mg-fea-area .mg-posts-sec-post .mg-sec-top-post .mg-blog-category {
    margin-bottom: 10px;
}

.mg-fea-area .mg-posts-sec-post .mg-sec-top-post .mg-blog-meta {
    order: 1;
    border-width: 1px 0 0 0;
    border-style: solid;
    padding-top: 10px;
    display: flex;
    align-items: center;
}

.mg-fea-area .mg-posts-sec-post .mg-post-thumb {
    border-radius: var(--bo-radius);
    height: 400px;
}

.mg-fea-area .trending-posts .mg-blog-post-box {
    border: none;
    box-shadow: none;
    background: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
}

.mg-fea-area .trending-posts .mg-blog-post-box .small {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mg-fea-area .trending-posts .mg-blog-post-box .small > p {
    margin-bottom: 10px;
}

.mg-fea-area .trending-posts .mg-blog-post-box .small .mg-blog-meta {
    order: 1;
    border-width: 1px 0 0 0;
    border-style: solid;
    padding-top: 10px;
    display: flex;
    align-items: center;
}

.mg-fea-area .trending-posts .mg-post-thumb {
    height: 200px;
    border-radius: var(--bo-radius);
}

@media(min-width: 768px){
    .mg-fea-area .mg-posts-sec-post > .col-12.col-md-6 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
        padding: 0;
    }
}

/* ==========================================================================
   5. ENTRADAS DE BLOG (BLOG POSTS)
   ========================================================================== */
.mg-posts-sec-inner .mg-posts-sec-post {
    padding: 0;
    margin-bottom: 1.5rem;
    border-radius: var(--bo-radius);
    transition: 0.3s;
}

.mg-posts-sec-inner .mg-posts-sec-post:hover {
    transform: translateY(-3px);
}

.mg-posts-sec-inner .mg-posts-sec-post .col-md-6:has(.mg-post-thumb) {
    padding: 0;
    height: -webkit-fill-available;
    height: -moz-available;
}

.mg-posts-modul-6 .mg-post-thumb {
    margin-right: 0px;
    min-height: 300px;
    height: -webkit-fill-available;
    height: -moz-available;
}

.mg-posts-modul-6 .mg-post-thumb::after {
    margin-right: 0px;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    background-size: cover;
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}

.mg-posts-modul-6 .mg-posts-sec-post:hover .mg-post-thumb::after {
    transform: scale(1.06);
}

.mg-posts-modul-6 .mg-sec-top-post {
    padding: 1.5rem !important;
    display: flex;
    flex-direction: column;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta {
    order: 1;
    border-width: 1px 0 0 0;
    border-style: solid;
    padding-top: 10px;
    display: flex;
    align-items: center;
    border-color: #e6e6e6;
}

.mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta .auth {
    flex: 1;
    order: -1;
}

/* Títulos de sección */
.mg-sec-title h4 {
    margin: 0 0 10px;
    padding: 0;
    background-color: transparent;
    color: var(--pri-color);
}

.mg-sidebar .mg-sec-title, 
.mg-sec-title, 
.mg-sidebar .widget_featured_post .mg-sec-title,
.mg-wid-title {
    border: none;
    margin: 0;
}

.mg-wid-title .wtitle, 
.mg-sidebar .mg-widget .wtitle {
    padding: 0;
}

/* ==========================================================================
   6. CATEGORÍAS (ETIQUETAS) Y EFECTOS HOVER
   ========================================================================== */
.mg-blog-category a, 
.mg-fea-area .mg-blog-category a,
.mg-posts-modul-6 .mg-blog-category a,
.small-post .mg-blog-category a, 
.mg-header .mg-blog-category a,
.mg-posts-modul-1 .bottom .mg-blog-category a,
.mg-blog-post-3 .mg-blog-category a {
    font-size: 12px;
    padding: 10px 12px;
    background: transparent;
    border-width: 1px;
    border-style: solid;
    border-color: #c9c9c9;
    color: var(--pri-color);
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--bo-radius);
}

.small-post .mg-blog-category a, 
.mg-header .mg-blog-category a {
    padding: 5px 7px;
    gap: 5px;
}

.mg-blog-post-3 .mg-blog-category a,
.mg-posts-modul-1 .bottom .mg-blog-category a {
    background: #fff;
}

.mg-blog-category a::before,
.mg-fea-area .mg-blog-category a::before,
.mg-posts-modul-6 .mg-blog-category a::before,
.small-post .mg-blog-category a::before, 
.mg-header .mg-blog-category a::before,
.mg-posts-modul-1 .bottom .mg-blog-category a::before,
.mg-blog-post-3 .mg-blog-category a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 10px;
    display: inline-block;
    background: var(--pri-color);
}

.mg-blog-post .bottom h4:hover, 
.mg-blog-post .bottom h4 a:hover, 
.mg-blog-inner h4 a:hover, 
.mg-blog-post-3 .mg-blog-meta a:hover {
    color: #fff;
}

/* ==========================================================================
   7. BARRA LATERAL (SIDEBAR) Y WIDGETS
   ========================================================================== */
.mg-sidebar .mg-widget {
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.mg-sidebar .mg-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wp-block-search .wp-block-search__label, 
.mg-widget .wp-block-group h2 {
    border: none;
    margin: 0 0 10px;
    padding: 0;
    background: transparent;
    color: var(--pri-color);
}

.wp-block-search .wp-block-search__label::before, 
.mg-widget .wp-block-group h2:before, 
.mg-sidebar .mg-widget .wtitle::before, 
.mg-sec-title h4::before, 
footer .mg-widget h6::before,
.wp-block-search .wp-block-search__label::after, 
.mg-widget .wp-block-group h2::after {
    display: none;
}

.wp-block-search .wp-block-search__input {
    border-radius: var(--bo-radius);
    margin-bottom: 0;
    border-width: 1px;
    border-color: #c9c9c9;
}

.mg-sidebar .mg-widget ul, 
.mg-sidebar .mg-widget ol {
    margin: 0;
}

.mg-sidebar .mg-widget .wtitle {
    background-color: transparent;
    color: var(--pri-color);
}

/* Posts pequeños en Sidebar */
.mg-sidebar .mg-posts-sec .small-post {
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.mg-sidebar .mg-posts-modul-2 .small-post {
    flex-direction: row-reverse;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: #c9c9c9;
    padding-bottom: 15px;
}

.mg-sidebar .mg-posts-sec .small-post .img-small-post {
    border-radius: var(--bo-radius);
}

.mg-sidebar .mg-posts-modul-2 .mg-posts-sec-inner {
    gap: 15px;
}

.widget_featured_post .mg-blog-post.lg {
    border-radius: var(--bo-radius);
}

/* "Te lo perdiste" (You missed) */
.missed-section .missed-inner {
    padding: 0;
    background: transparent;
}

.missed-section .missed-inner .mg-blog-post-3 {
    border-radius: var(--bo-radius);
}

/* ==========================================================================
   8. PIE DE PÁGINA (FOOTER)
   ========================================================================== */
footer .overlay, 
footer.back-img {
    background: transparent;
}

footer .mg-widget h6 {
    padding: 0;
    margin: 0 0 10px;
    text-transform: capitalize;
    background: transparent;
    color: var(--pri-color);
}

footer .mg-widget h6::after {
    display: none;
}

.wp-block-tag-cloud a, 
.mg-widget .wp-block-tag-cloud a {
    border-radius: var(--bo-radius);
    background: transparent;
    text-decoration: none;
    border-color: #c9c9c9;
    color: var(--pri-color);
}

footer .mg-posts-sec {
    padding-right: 15px;
    padding-left: 15px;
}

footer .mg-posts-sec .mg-posts-sec {
    padding: 0;
}

footer .small-post {
    padding: 0;
    box-shadow: none;
}

footer .mg-widget ul li a,
footer .mg-widget h1, 
footer .mg-widget h2, 
footer .mg-widget h3, 
footer .mg-widget h4, 
footer .mg-widget h5, 
footer .mg-widget h6, 
footer .mg-widget p, 
footer .mg-widget ul li, 
footer .mg-widget .double-category-widget .small-post-content p, 
footer .mg-widget .double-category-widget .small-post-content .mg-blog-meta a, 
footer .double-category-widget i,
footer .latest-posts-widget .mg-sec-top-post .title a, 
footer .latest-posts-widget .mg-sec-top-post p, 
footer .latest-posts-widget .mg-blog-meta i, 
footer .latest-posts-widget.mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta a,
footer .small-post .title a,
body .site-title-footer a, 
body .site-description-footer {
    color: var(--pri-color);
}

footer .mg-widget ul li {
    border-color: #c9c9c9;
}

footer .mg-footer-bottom-area .divide-line {
    background: #c9c9c9;
}

footer .mg-footer-copyright {
    background: var(--pri-color);
}

footer .small-post, 
footer .mg-posts-sec-inner .small-list-post .small-post {
    background-color: transparent;
}

footer .latest-posts-widget .mg-posts-sec-post {
    background-color: transparent;
    border-color: #dddcdc;
}

.ta_upscr {
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(255 255 255 / 20%), 0 1px 5px 0 rgb(255 255 255 / 12%);
}

/* ==========================================================================
   9. DISEÑO RESPONSIVO (MEDIA QUERIES)
   ========================================================================== */
.burger-line {    
    background-color: var(--pri-color);
}

@media(max-width: 991.98px) {
    .mobilehomebtn {
        border-radius: var(--bo-radius);
    }
    .m-header .navbar-toggler:hover .burger-line, 
    .m-header .navbar-toggler:focus .burger-line {
        background: #ffffff;
    }
}

@media(max-width: 767px) {
    .mg-latest-news .mg-latest-news-slider {
        left: 0px;
    }   
    .mg-posts-modul-6 .mg-sec-top-post {
        padding: 1.5rem !important;
    }
    
    /* Featured slider mobile */
    .mg-fea-area .mg-posts-sec-post {
        display: flex;
        flex-direction: column;
    }
    .mg-fea-area .mg-posts-sec-post .mg-sec-top-post {
        order: 1;
    }
    .mg-fea-area .mg-posts-sec-post > .col-12.col-md-6 {
        padding: 0;
    }
    .mg-fea-area .mg-posts-sec-post .mg-post-thumb {
        height: 300px;
    }
    
    #homemain {
        margin-bottom: 60px;
    }
    footer .mg-footer-copyright .nav-link {
        padding: 0rem;
    }
    
    /* Header mobile */
    .mg-nav-widget-area .m-header .navbar-toggler {
        margin-left: unset !important;
    }
    .mg-nav-widget-area .m-header {
        gap: 20px;
    }
    .mg-nav-widget-area .col-12:has(.msearch),
    .mg-nav-widget-area .col-12:has(.btn-bell.btn-theme) {
        flex: 0;
    }
    .mg-nav-widget-area .col-12:has(.navbar) {
        flex: 1;    
    }
}