.my-slider-articole .slider_box {
    height: 150px;
    position: relative;
    overflow: hidden;

}

.my-slider-articole .container_over_image_slider {
    position: absolute;
    bottom: 0px;
    padding: 50px 0 10px 20px;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .9) 100%);
    width: 100%;
}

.my-slider-articole img {
    max-height: 150px;
    height: 100%;
    text-align: center;
    width: auto;
}

/* Containerul imaginii - acum mai scund */
.img-hover-zoom {
    height: 180px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    /* Fundal subtil până se încarcă poza */
}

.img-hover-zoom img {
    transition: transform .4s ease;
    width: 100%;
    height: 100%;
}

/* Efectul la trecerea mouse-ului */
.gallery-item:hover .img-hover-zoom img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Mai transparent pentru un look curat */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Stil modern pentru card */
.gallery-item {
    border-radius: 8px;
    /* Colțuri mai puțin rotunjite pentru un look profi */
}

.gallery-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Containerul principal */
.organigrama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
    justify-items: center;
}

/* Cardul individual */
.member-card {
    background: #ffffff;
    border-radius: 24px;
    position: relative;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid rgba(11, 230, 175, 0.1);
    /* Bordură foarte fină cu noua culoare */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 290px;
}

.member-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(11, 230, 175, 0.15);
    /* Umbră cu tentă mentă */
    border-color: rgba(11, 230, 175, 0.4);
}

/* Inelul din jurul pozei cu gradientul tău #0BE6AF */
.member-img-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.member-img-container::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    /* Gradient folosind #0BE6AF și un albastru-verzui pentru un look "electric" */
    background: linear-gradient(135deg, #0BE6AF 0%, #00bbd4 100%);
    z-index: -1;
}

.member-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    border: 5px solid #fff;
    background-color: #f5f5f5;
    padding: 5px;
}

/* Numele */
.member-name {
    font-weight: 800;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

/* Funcția cu fundal mentă discret */
.member-role {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(11, 230, 175, 0.12);
    /* Fundal transparent cu culoarea ta */
    color: #08a37d;
    /* O nuanță puțin mai închisă pentru lizibilitate pe alb */
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Element decorativ subtil în colț */
.member-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right, rgba(11, 230, 175, 0.08) 0%, transparent 70%);
    border-radius: 0 24px 0 100%;
}