header{
    background: rgb(0 22 42);
}

.navbar{
    padding: 20px 0;
}

.navbar-brand .logo-brand {
    width: 225px;
}

.navbar-nav .nav-link{
    color: #fff !important;
}

body{
    background: #F4F5F8 !important;
    font-family: "Poppins", sans-serif;
}

#listado-eventos{
    background: #f2f5f9;;
}

.estado-evento{
    top:0;
    left: 0;
    color: #fff;
    background:#00162A;
    min-width: 12rem;
    border-radius:0 0 10px 0;
    text-align: center;
    padding: .1rem 1rem;
}

.estado-evento span{
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;

}

#listado-eventos .dt-evento{
    border-radius: 10px;
    border-bottom: 10px solid #00162A;
}

#listado-eventoss .dt-evento::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 22, 42, 0);
    transition: background 0.5s ease-in-out;
    z-index: 1;
}

#listado-eventos .dt-evento:hover::after {
    background: rgba(0, 22, 42, 0.8);
}

.btn-detalles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-color: #ffffff;
    color: #00162A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

#listado-eventos .dt-evento:hover .btn-detalles {
    opacity: 1;
}

.custom-alert{
    background-color: #fff;
    text-align: center;
    border-radius: 10px;
    border-top: 10px solid #00162A;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.custom-alert p{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #435469;
    margin: 0;
}

/* Titulos y Textos */
#listado-eventos h2, #servicios-carreras h2{
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin: 0;
}

#listado-eventos p, #servicios-carreras p{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #435469;
    margin: 0;
}

.dt-imagen-poster {
    /* Puedes cambiar el padding-bottom para otra proporción (ej: 150% para vertical). */
    width: 100%;
    padding-bottom: 150%; /* Si el width es 100%, esto lo hace cuadrado */
    position: relative;
    overflow: hidden;
}

.dt-imagen-poster img {
    position: absolute; /* Para que ocupe todo el espacio del contenedor padre */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.card{
    animation: fadeIn 0.4s;
}

.slm-detalle-eventos .card{
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #ebebeb !important;
    box-shadow: inset 0 0 0 1px #ebebeb !important;
}

.slm-detalle-eventos .card-details{
    font-size: 13px;
    color: #6b7280;
}

.slm-detalle-eventos span{
    margin-right: 1rem;
}

/*Botones*/
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background: linear-gradient(-4deg, #A0522D, #1f1f1f)!important;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }