/* Flip Boxes Grid — 4 rows x 2 columns */

.fbg-grid-36ec7693 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.fbg-card-36ec7693 {
    perspective: 1000px;
    height: 120px;
}

.fbg-card-inner-36ec7693 {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.fbg-card-36ec7693:hover .fbg-card-inner-36ec7693 {
    transform: rotateY(180deg);
}

.fbg-front-36ec7693,
.fbg-back-36ec7693 {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
}

.fbg-front-36ec7693 {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.fbg-front-36ec7693 h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
}

.fbg-back-36ec7693 {
    transform: rotateY(180deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.fbg-back-36ec7693 p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive: 1 column on mobile */
@media (max-width: 576px) {
    .fbg-grid-36ec7693 {
        grid-template-columns: 1fr;
    }

    .fbg-card-36ec7693 {
        height: 100px;
    }
}
