body.page-id-26 #realisation-portfolio ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
}

.experience-item {
    list-style-type: none; /* supprime les puces */
}

.custom-shape-container {
    position: relative;
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

.custom-shape-container.xp-card-open {
    transform: translateX(-250px);
}

.custom-shape {
    border-radius: 20px;
    width: 600px;
    height: 400px;
    background-color: #6b096b;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-shape img {
    width: 50%;
    height: 50%;
}

.top-left-text {
    position: absolute;
    top: 0;
    color: white;
    padding: 10px 5px;
    background: #000064;
    border-bottom-right-radius: 20px;
}

.top-left-text img {
    width: 120px;
    height: 120px;
    filter: var(--filter-blanc);
}

.bottom-right-text {
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    font-size: 25px;
    background-color: #000064;
    padding: 20px 15px;
    border-top-left-radius: 20px;
}

.revealed-content {
    position: absolute;
    top: 50%;
    left: calc(100% + 20px);
    width: 500px;
    transform: translateY(-50%);
    background-color: #2c2c2c;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out 0.3s, visibility 0s linear 0.7s;
}

.custom-shape-container.xp-card-open .revealed-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease-out 0.3s, visibility 0s linear 0.3s;
}

.revealed-content h3,
.revealed-content dt,
.revealed-content dd {
    min-height: 1.2em;
}
.revealed-content dl dd a {
    color: white;
}

.revealed-content dt {
    font-weight: bold;
    margin-top: 10px;
    color: #ffffff;
}

.revealed-content dd {
    margin-left: 15px;
    font-style: italic;
    color: #ccc;
}

@media (max-width: 1100px) {
    .custom-shape {
        width: 400px;
        height: 400px;
    }
    .revealed-content {
        width: 75vw;
    }
    .custom-shape-container.xp-card-open {
        transform: translateX(-125%);
    }
}

@media (max-width: 600px) {
    .custom-shape {
        width: 300px;
        height: 400px;
    }
    .revealed-content {
        width: 85vw;
    }
    .custom-shape-container.xp-card-open {
        transform: translateX(-100%);
    }
}