/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&display=swap');

.fc-wrapper-841c8f77 {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    position: relative;
}

.fc-nav-prev, .fc-nav-next {
    background: none;
    border: none;
    color: #2F3E34;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.fc-nav-prev:hover, .fc-nav-next:hover {
    opacity: 0.7;
}
.fc-nav-prev[disabled], .fc-nav-next[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

.fc-track-container {
    overflow: hidden;
    flex-grow: 1;
}

.fc-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease-in-out;
    align-items: stretch; /* Make all cards equal height */
}

.fc-card-wrapper {
    flex: 0 0 calc(33.333% - 10.66px); /* 3 cards visible with 16px gap */
    perspective: 1000px;
    display: flex;
}

@media (max-width: 768px) {
    .fc-card-wrapper {
        flex: 0 0 calc(50% - 8px); /* 2 on tablet */
    }
}
@media (max-width: 480px) {
    .fc-card-wrapper {
        flex: 0 0 100%; /* 1 on mobile */
    }
}

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

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

.fc-card-face {
    width: 100%;
    height: 100%; /* Take full height to match tallest card */
    backface-visibility: hidden;
    background-color: #F7F5F0;
    border: 1px solid #E7E1D8;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fc-card-front {
    position: relative;
}

.fc-card-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    padding: 16px;
    overflow-y: auto;
}

.fc-image {
    width: 100%;
    padding-top: 75%; /* 4/3 ratio */
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.fc-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fc-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: #2F3E34;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.fc-text-container {
    margin-bottom: 0;
}

.fc-text {
    font-size: 13px;
    color: #7a7060;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
    
    /* 2 lines clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: inline;
}

.fc-text::after {
    content: '... ';
}

.fc-text-full {
    font-size: 13px;
    color: #7a7060;
    font-style: italic;
    margin: 0 0 16px 0;
    line-height: 1.4;
    flex-grow: 1;
}

.fc-btn-flip {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    color: #2F3E34;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    display: inline;
    margin-left: 4px;
}

.fc-btn-flip-back {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    color: #2F3E34;
    cursor: pointer;
    text-decoration: underline;
    align-self: flex-start;
    font-weight: bold;
    margin-top: auto;
}