.detalle-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(var(--bs-primary-rgb), 0.14),
            transparent 28rem
        ),
        var(--bs-body-bg);
}

.detalle-hero::after {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -110px;
    bottom: -170px;
    content: "";
    border-radius: 50%;
    background-color: rgba(var(--bs-warning-rgb), 0.18);
}

.detalle-hero .container {
    position: relative;
    z-index: 1;
}

.contador-evento {
    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.12),
            transparent
        ),
        var(--bs-primary);
}

.contador-elemento {
    min-width: 115px;
}

.contador-elemento strong {
    line-height: 1;
}

.imagen-detalle-evento {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    object-position: center;
}

.descripcion-detalle {
    font-size: 1.075rem;
    line-height: 1.8;
}

.detalle-informacion {
    position: sticky;
    top: 1.5rem;
}

.detalle-dato {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.detalle-dato:first-of-type {
    padding-top: 0;
}

.detalle-dato:last-of-type {
    border-bottom: 0;
}

.detalle-icono {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--bs-primary);
    background-color: rgba(var(--bs-secondary-rgb), 0.12);
}

.evento-relacionado {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.evento-relacionado:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
}

.imagen-evento-relacionado {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.titulo-evento-relacionado {
    display: -webkit-box;
    min-height: 3rem;
    overflow: hidden;
    line-height: 1.5rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.titulo-evento-relacionado a {
    transition: color 0.2s ease;
}

.evento-relacionado:hover .titulo-evento-relacionado a {
    color: var(--bs-primary) !important;
}

@media (max-width: 991.98px) {
    .detalle-informacion {
        position: static;
    }

    .imagen-detalle-evento {
        max-height: 500px;
    }
}

@media (max-width: 767.98px) {
    .detalle-hero {
        text-align: center;
    }

    .detalle-hero .breadcrumb {
        justify-content: center;
    }

    .contador-elemento {
        min-width: auto;
    }

    .contador-elemento .display-6 {
        font-size: 2rem;
    }

    .imagen-detalle-evento {
        height: 300px;
    }
}

.mapa-evento {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

.mapa-no-disponible {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background-color: var(--bs-tertiary-bg);
}

@media (max-width: 991.98px) {
    .mapa-evento,
    .mapa-no-disponible {
        min-height: 400px;
    }
}

@media (max-width: 575.98px) {
    .mapa-evento,
    .mapa-no-disponible {
        min-height: 320px;
    }
}

#countdown-container.evento-activo #countdown-status {
    color: white;
}

#countdown-container.evento-terminado {
    opacity: 0.85;
}

#countdown-container.evento-terminado #countdown-status {
    color: rgba(255, 255, 255, 0.75);
}

