.wp-fc {
    display: flex;
    flex-direction: row; /* arrows + stage horizontal */
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 15px 0;
    position: relative;
}

.wp-fc-stage {
    width: 360px;
    height: 280px;
    perspective:1200px;
    outline: none;
}

.wp-fc-card {
    width:100%;
    height:100%;
    position: relative;
    outline: none;
    transition: transform 0.4s ease; /* slide */
}

.wp-fc-card-inner {
    width:100%;
    height:100%;
    transition: transform 0.6s; /* flip */
    transform-style: preserve-3d;
    position: relative;
}

.wp-fc-card.flipped .wp-fc-card-inner {
    transform: rotateY(180deg);
}

.wp-fc-side {
    position:absolute;
    width:100%;
    height:100%;
    backface-visibility: hidden;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:16px;
    box-sizing:border-box;
    border-radius:8px;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.wp-fc-side img {
    max-width:100%;
    max-height:140px;
    margin-bottom:12px;
}

.wp-fc-side.back {
    transform: rotateY(180deg);
}

.wp-fc-arrow {
    background:#0073aa;
    color:#fff;
    border:none;
    padding:8px 12px;
    border-radius:6px;
    cursor:pointer;
    align-self: center;
}

.wp-fc-arrow:hover {
    background:#005f8d;
}

.wp-fc-audio-icon {
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
}

/* thumbs below card */
.wp-fc-thumbs {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.wp-fc-thumbs button {
    font-size: 1.5rem;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    transition: background 0.2s;
}

.wp-fc-thumbs button:hover {
    background: #ddd;
}
