/* Container */
.fb-section {
    padding: 60px 0;
    overflow: hidden;
    background: transparent;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: relative;
    user-select: none;
}

/* Edge Blur Base */
.fb-blur-left,
.fb-blur-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

/* Standard Blur */
.fb-blur-standard.fb-blur-left {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
}
.fb-blur-standard.fb-blur-right {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0) 100%);
}

/* Subtle Blur (For Images) - Reduced opacity */
.fb-blur-subtle.fb-blur-left {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
}
.fb-blur-subtle.fb-blur-right {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
}


/* The Track */
.fb-marquee-container {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    position: relative; 
    z-index: 1;
}

.fb-marquee-container:active {
    cursor: grabbing;
}

.fb-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* --- Card Styles --- */

.fb-card {
    flex: 0 0 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.fb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Type 1: Standard Card */
.fb-card-standard {
    padding: 24px;
}

/* STAR FIX */
.fb-stars-wrapper {
    position: relative;
    display: inline-block; 
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    line-height: 1;
}

.fb-stars-bg {
    color: #e0e0e0; 
    position: relative;
    z-index: 1;
}

.fb-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    color: #1a2e3b; 
    z-index: 2;
    overflow: hidden;
    white-space: nowrap;
    height: 100%;
}

.fb-quote {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: #1a2e3b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-card-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.fb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    flex-shrink: 0;
}

.fb-info {
    display: flex;
    flex-direction: column;
}

.fb-author {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

/* Type 2: Image Only Card */
.fb-card-image-only {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 12px;
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enable Hover for Image Only Cards */
.fb-card-image-only:hover {
    transform: translateY(-4px); 
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.fb-full-image {
    width: 100%;
    height: 100%;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s;
    border-radius: 12px; 
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fb-card {
        flex: 0 0 280px;
        height: 180px;
    }
    .fb-card-standard {
        padding: 20px;
    }
    .fb-quote {
        font-size: 16px;
    }
    
    .fb-blur-left, .fb-blur-right {
        width: 40px;
    }
}