/* =========================================
   ESTILOS FRONT-END (Página pública)
   ========================================= */
   .nhl-ticker-container {
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    box-sizing: border-box;
}

/* Bloque de la fecha */
.nhl-date-block {
    background-color: #ffd700;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    min-width: 150px;
    font-weight: 800;
    z-index: 10;
    flex-shrink: 0;
    
    /* EFECTO DE SOMBRA HACIA LA DERECHA */
    border-right: none; /* Quitamos el borde duro */
    box-shadow: 6px 0px 12px rgba(0,0,0,0.15); /* Sombra que se proyecta sobre los partidos */
    position: relative; /* Asegura que la sombra se dibuje por encima */
}

.nhl-date-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.nhl-arrow {
    text-decoration: none;
    color: #111;
    font-size: 22px;
    font-weight: 800;
    background: rgba(255,255,255,0.6);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transition: opacity 0.2s;
}

.nhl-arrow:hover {
    opacity: 0.7;
    background: rgba(255,255,255,1);
}

.nhl-date-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.nhl-date-text .nhl-month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.nhl-date-text .nhl-day {
    font-size: 24px;
}

/* Pista animada */
.nhl-ticker-mask {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
}

.nhl-ticker-track {
    display: flex;
    width: max-content;
    animation: nhl-scroll-marquee 45s linear infinite;
}

.nhl-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes nhl-scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Columna individual de cada partido */
.nhl-game-col {
    display: flex;
    flex-direction: column;
    padding: 10px 25px;
    min-width: 170px;
    border-right: 1px solid #f0f0f0;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    background: #fff;
    transition: background 0.3s;
}

/* Capa oscura de HOVER - Color #001f36 al 80% */
.nhl-game-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Color solicitado con 80% de opacidad (0.8) */
    background-color: rgba(0, 31, 54, 0.8); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 5;
}

.nhl-game-col:hover .nhl-game-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.nhl-hover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nhl-play-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    padding: 2px;
}

.nhl-hover-text {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Textos del partido */
.nhl-game-header {
    font-size: 10px;
    color: #888;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.nhl-team-row {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 14px;
    color: #333;
}

.nhl-team-row.winner { color: #000; font-weight: 700; }

.nhl-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 10px;
}

.nhl-team-name {
    flex-grow: 1;
    font-weight: 600;
    font-size: 13px;
}

.nhl-team-score {
    font-weight: 800;
    font-size: 15px;
    margin-left: 10px;
    color: #111;
}

.nhl-empty-msg {
    padding: 15px 20px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    white-space: nowrap;
}

/* Ajustes móviles */
@media (max-width: 768px) {
    .nhl-date-block { min-width: 130px; padding: 8px 10px; box-shadow: 4px 0px 8px rgba(0,0,0,0.15); }
    .nhl-date-text .nhl-day { font-size: 20px; }
    .nhl-game-col { min-width: 150px; padding: 8px 15px; }
}

/* =========================================
   CORRECCIÓN PARA EL BACKEND DE DIVI 5
   ========================================= */
.et-db #et-boc .nhl-ticker-container,
.et-fb-module-wrapper .nhl-ticker-container,
.et_pb_editor .nhl-ticker-container {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
}

.et-db #et-boc .nhl-ticker-track,
.et-fb-module-wrapper .nhl-ticker-track,
.et_pb_editor .nhl-ticker-track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.et-db #et-boc .nhl-team-logo,
.et-fb-module-wrapper .nhl-team-logo,
.et_pb_editor .nhl-team-logo {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    min-width: 22px !important;
}

.et-fb-module-wrapper .nhl-game-hover-overlay,
.et_pb_editor .nhl-game-hover-overlay {
    display: none !important;
}