body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.hidden {
    display: none !important;
}

:root {
    --caution-yellow: #ffcc00;
    --dark-bg: #0a0a0a;
    --text-white: #ffffff;
}

.collision-counter-container {
    width: 100%;
    margin: 20px auto;
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow: hidden;
    position: relative;
}

/* Bordes de seguridad (Warning Stripes) */
.safety-banner::before,
.safety-banner::after {
    content: "";
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            var(--caution-yellow),
            var(--caution-yellow) 10px,
            #000 10px,
            #000 20px);
}

.safety-banner::before {
    left: 0;
}

.safety-banner::after {
    right: 0;
}

.safety-banner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px 40px;
    flex-wrap: wrap;
}

.banner-label {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.main-title {
    font-size: 1.2rem;
    color: var(--text-white);
}

.sub-title {
    font-size: 1.5rem;
    color: var(--caution-yellow);
    letter-spacing: 1px;
}

.counter-display {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 900;
}

.time-block {
    text-align: center;
}

.number {
    background: linear-gradient(to bottom, #1f1e1e, #000);
    font-size: 3rem;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    min-width: 70px;
}

.label {
    font-size: 0.7rem;
    margin-top: 5px;
    color: #888;
}

.separator-vial {
    font-size: 2rem;
    color: var(--caution-yellow);
}

.last-incident {
    background: #1a1a1a;
    padding: 10px 20px;
    border-radius: 5px;
    border-left: 4px solid var(--caution-yellow);
    text-align: center;
}

/* Estilos para el botón de mapa */
.map-button {
    background-color: var(--btn-bg);
    color: var(--caution-yellow);
    border: 2px solid var(--caution-yellow);
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-button:hover {
    background-color: var(--btn-hover-bg);
    transform: translateY(-2px);
}

.map-button:active {
    transform: translateY(0px);
}

.incident-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.incident-date {
    color: var(--text-white);
    font-size: 1rem;
}


.topbar .logo-area a img {
    height: 30px;
}

/* Responsive */
@media (max-width: 768px) {

    .topbar-left {
        min-width: 190px;
    }

    .topbar .logo-area a img {
        height: 26px;
        width: 90px;
    }

    #btn-reproducir{
        display: none;
    }

    .live-player {
        height: auto;
    }


    .safety-banner {
        flex-direction: column;
        gap: 20px;
    }

    .number {
        font-size: 2rem;
    }
}

.topbar {

    background: #ffffff;
    border-bottom: 1px solid rgb(228 228 228);
    font-size: 13px;
    border-top: 1px solid rgb(228 228 228);

}


.topbar-container {

    max-width: 1200px;
    margin: auto;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.topbar-left {

    display: flex;
    align-items: center;
    gap: 10px;

    color: #333;
}

.weather {

    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.topbar-menu {

    display: flex;
    align-items: center;
}

.topbar-menu a {

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 0 12px;

    height: 36px;

    text-decoration: none;
    color: #333;

    font-weight: 600;
    letter-spacing: 0.2px;

    transition: all .2s ease;
}

.topbar-menu a:hover {

    background: rgba(255, 255, 255, 0.4);
}

.separator {

    width: 1px;
    height: 16px;

    background: rgba(0, 0, 0, 0.15);
}

.topbar i {

    width: 15px;
    height: 15px;
}

/* RESPONSIVE */

@media(max-width:900px) {

    .live-player {
        height: auto;
    }


    .topbar-menu a span,
    .video-section {
        display: none;
    }

}

@media(max-width:700px) {

    .live-player {
        height: auto;
    }

    .topbar-menu {

        overflow-x: auto;
        scrollbar-width: none;
    }

    .topbar-menu::-webkit-scrollbar {
        display: none;
    }

    .video-section {
        display: none;
    }

}

.video-section {
    position: relative;
}

.mainVideo {
    width: 100%;
    border-radius: 15px;
}

/* anuncios */

.ads-left,
.ads-right {

    position: absolute;
    top: 0;

    width: 200px;
    height: 100%;

    pointer-events: none;
}

.ads-left {
    left: -220px;
}

.ads-right {
    right: -220px;
}

.ad-box {

    position: sticky;
    top: 120px;

    width: 200px;
    height: 500px;

    pointer-events: auto;
}

.ad-box img {

    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* SOLO PC */

@media(max-width:1000px) {

    .live-player {
        height: auto;
    }

    .ads-left,
    .ads-right {
        display: none;
    }

}

.categ-panel .categ-tag {
    font-size: 35px;
    margin: 0px 0px 20px;
    border-bottom: 1px solid #90a4ae;
}

.categ-panel .categ-tag .brand {
    color: #90a4ae;
}

.latest-news-marquee-area {
    margin-top: 20px;
}

.live-video-section {

    /* background:#90a4ae75; */
    padding: 40px;

    border-radius: 25px;
    /* border: 1px solid #90a4ae; */

    max-width: 1200px;

    font-family: Arial;
}

/* GRID SUPERIOR */

.live-grid {

    display: grid;

    grid-template-columns: 1.5fr 1fr;
    gap: 30px;

    align-items: center;

}

.live-player {
    height: 340px;
}

.live-player video {

    width: 100%;
    border-radius: 10px;
    border: none;

}

.single-video-post h5 a {
    font-weight: 200;
}


.single-video-post h5 a b {
    font-weight: 700;
}

/* INFO */

.live-tag {
    font-size: 14px;
    margin-bottom: 10px;
}

.brand {
    color: #8B1E1E;
    font-weight: bold;
    margin-right: 6px;
}

.live {
    color: #2B2B2B;
    font-weight: 600;
}

.videoTitle {
    color: #555555;
}

.live-info h2 {
    font-size: 22px;
    line-height: 1.4;
}

/* THUMBNAILS */

.video-thumbnails {

    margin-top: 30px;

    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 15px;

}

.thumb {

    cursor: pointer;
    opacity: .7;

    transition: .2s;

}

.thumb img {

    width: 100%;
    border-radius: 8px;

}

.thumb:hover {
    opacity: 1;
}

.thumb.active {

    opacity: 1;
    transform: scale(1.05);

}

/* RESPONSIVE */

@media(max-width:900px) {

    .live-player {
        height: auto;
    }

    .live-grid {
        grid-template-columns: 1fr;
    }

    .video-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

}

h2 {
    font-size: 46px;
}

.sub-title-single {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 300;
}

.share-bar {

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 0;
    margin-bottom: 15px;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    font-family: Arial;

}

/* fecha */

.share-date {

    color: #666;
    font-size: 14px;

}

/* acciones */

.share-actions {

    display: flex;
    align-items: center;
    gap: 10px;

}

/* iconos */

.share-icon {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: 1px solid #dcdcdc;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #555;

    transition: all .2s ease;

    text-decoration: none;

}

.share-icon:hover {

    background: #f2f2f2;
    color: #000;

}

/* divisor */

.share-divider {

    width: 1px;
    height: 35px;

    background: #e0e0e0;

    margin: 0 10px;

}

/* boton guardar */
.save-btn .lucide {
    color: #903531;
}

.save-btn {

    color: #903531;
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 16px;

    border-radius: 20px;

    border: 1px solid #903531;

    background: white;

    font-size: 14px;

    cursor: pointer;

    transition: .2s;

}

.save-btn:hover {

    background: #f5f5f5;

}

.section_search_notice {
    margin: 50px 0px;
}

.search-notice {
    width: 100%;
    height: 50px;
    border: 1px solid #888686;
    font-size: 25px;
    font-style: italic;
    border-radius: 4px;
}

.latest-news-time {
    background-color: #90A4AE;
    padding: 2px 6px;
    font-size: 14px;
    font-weight: 300;
    margin-right: 20px;
}

.latest-news-time a {
    color: white;
}

.breacumb-content {
    align-items: center;
    display: flex;
    justify-content: around;
}

.gazatte-video-post-area.list-1 {
    overflow: hidden;
}

/* transición suave */

.header-area {
    transition: all 0.3s ease;
}

/* navbar fija */

.header-fixed .bottom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* ocultar partes superiores */

.header-fixed .top-header,
.header-fixed .middle-header {
    display: none;
}

/* ajustar topbar cuando el header es fixed */

.header-fixed .topbar {
    position: fixed;
    top: 55px;
    width: 100%;
    z-index: 9998;
}


.modal {
    display: none;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}

.modal__container {
    background: white;
    max-width: 600px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
}


/* ****************HOROSCOPO******************************/

#slide_horoscopo .carousel-inner .item {
    text-align: center;
}

.topbar-left {
    position: relative;
}

/* Panel oculto */
.weather-dropdown {
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.25s ease;
}

/* Caja */
.weather-box {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    width: 400px;
    height: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Mostrar */
.weather-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Filas */
.weather-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    height: 100%;
}

.day {
    text-align: center;
    font-size: 13px;
}

.pop-up {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    background-color: white;
}



@media (992px <=width <=1366px) {
    .container {
        margin-left: 0;
    }
}