.mensajito-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    align-items: center;
}

body.layout-sidebar .mensajito-ticker {
    left: 300px;
}

.mensajito-track {
    display: flex;
    width: max-content;
    animation: marquee 100s linear infinite;
}

.mensajito-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mensajito-sep {
    opacity: 0.6;
    margin: 0 4px;
}

.mensajito-blog-link {
    color: inherit;
    text-decoration: none;
}

.mensajito-blog-link:hover {
    text-decoration: underline;
}

.mensajito-blog-label {
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

body:not(.no-mensajito) #lunaradio {
    height: 97% !important;
}

body:not(.no-mensajito) .mensajito-ticker[style*="top:0"] ~ #lunaradio {
    height: 97% !important;
}

/* Cuando el mensajito está arriba, empujar el contenido hacia abajo */
body.has-mensajito-top .blog-layout-main {
    padding-top: 10px;
}

@media screen and (max-width: 960px) {
    .mensajito-ticker,
    body.layout-sidebar .mensajito-ticker {
        left: 0 !important;
    }
}

@media screen and (max-width: 860px) {
    .mensajito-ticker {
        left: 0;
        bottom: 0;
        height: 32px;
    }

    .mensajito-content {
        font-size: 12px;
        padding: 0 10px;
    }

    body:not(.no-mensajito):not(.layout-header) .main-content {
        height: calc(100vh - 60px - 32px) !important;
        height: calc(100dvh - 60px - 32px) !important;
        margin-bottom: 32px;
    }
}
