/* Fondo amarillo global */
.ne-wrapper-yellow {
    padding: 35px;
    box-sizing: border-box;
}

/* Grid de 3 columnas */
.ne-empleados-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta cuadrada de empleado */
.ne-empleado-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #333;
}

/* Imagen en escala de grises */
.ne-empleado-card img.ne-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

/* Overlay en reposo y su distribución Flexbox vertical */
.ne-empleado-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 25, 25, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribuye el contenido arriba, al centro y abajo */
    align-items: center;
    padding: 25px 20px 20px 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.ne-empleado-card:hover .ne-empleado-overlay {
    opacity: 1;
}

/* Espaciador superior para compensar el bloque inferior y dejar el centro exacto */
.ne-top-spacer {
    flex: 1;
}

/* Bloque central (Nombre y Cargo) */
.ne-empleado-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    font-family: MuseoSansCyrl,Helvetica,Arial,sans-serif !important;
}

.ne-empleado-center .ne-nombre {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.ne-empleado-center .ne-puesto {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
}

/* Bloque inferior (Redes Sociales y Email) */
.ne-empleado-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Iconos amarillos circulares */
.ne-iconos-redes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ne-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f7e000;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.ne-icon-btn:hover {
    /* transform: scale(1.1); */
    background-color: #f7e00099;
}


.ne-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: #000000;
}

/* Dirección de email en la parte inferior */
.ne-email-text {
    display: block;
    color: #ffffff;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 400;
    opacity: 0.95;
    word-break: break-all;
    font-family: MuseoSansCyrl,Helvetica,Arial,sans-serif !important;
}

.ne-email-text:hover {
    text-decoration: underline;
    color: rgba(255,255,255,0.8);
}

/* Tarjeta de Reclutamiento / CTA */
.ne-cta-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #000000; /* Fondo totalmente negro */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
}

.ne-cta-content {
    text-align: center;
    color: #ffffff;
    font-family: MuseoSansCyrl,Helvetica,Arial,sans-serif !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Título en blanco bold */
.ne-cta-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Botón Blanco con texto en negro */
.ne-cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 18px;
    text-decoration: none !important;
    border-radius: 0px; /* Bordes rectos según el diseño */
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.ne-cta-btn:hover {
    background-color: #f7e000; /* Efecto hover opcional: se vuelve amarillo al pasar el ratón */
    color: #000000;
    transform: translateY(-2px);
}
#ast-scroll-top {
  background-color: #000;
}
/* Responsivo */
@media (max-width: 900px) {
    .ne-empleados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ne-empleados-grid {
        grid-template-columns: 1fr;
    }
    .ne-wrapper-yellow {
        padding: 15px;
    }
}
.error404 #content, .ast-separate-container {
  background: #FBF150 !important;
}
.ast-breadcrumbs a, .entry-meta, .entry-meta * {
  color: #000;
}
