.ita-545697bc-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0;
    overflow: hidden;
}

.ita-545697bc-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ita-545697bc-item.is-expanded {
    flex: 3;
}

.ita-545697bc-image-wrapper {
    flex: 1;
    height: 100%;
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}

.ita-545697bc-image-wrapper img,
.ita-545697bc-image-wrapper video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.ita-545697bc-item.is-expanded .ita-545697bc-image-wrapper img,
.ita-545697bc-item.is-expanded .ita-545697bc-image-wrapper video {
    filter: grayscale(0%);
}

.ita-545697bc-content {
    position: absolute;
    bottom: 0; /* Positions content at the bottom */
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to bottom */
    transition: opacity 0.5s ease;
    z-index: 10;
}

/* Show content ONLY on hover for ALL items, regardless of expanded state */
.ita-545697bc-item:hover .ita-545697bc-content {
    opacity: 1;
}

.ita-545697bc-content-inner {
    padding: 30px;
    width: 100%;
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.ita-545697bc-item:hover .ita-545697bc-content-inner {
    transform: translateY(0);
}

.ita-545697bc-name { margin-bottom: 5px; color: #fff; }
.ita-545697bc-job { margin-bottom: 15px; color: #ddd; font-weight: 500; }
.ita-545697bc-bio { margin-bottom: 20px; font-size: 14px; line-height: 1.5; color: #ccc; }

.ita-545697bc-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    border: none;
}

.ita-545697bc-button:hover {
    background-color: #555;
    color: #fff;
}

.ita-545697bc-button-icon {
    display: flex;
    align-items: center;
}

.ita-545697bc-button-icon svg {
    fill: currentColor;
    width: 1em;
    height: 1em;
}

@media (max-width: 767px) {
    .ita-545697bc-container {
        flex-direction: column;
        height: auto;
    }
    .ita-545697bc-item {
        flex-direction: column;
    }
    .ita-545697bc-image-wrapper {
        height: auto;
    }
}
