/* Feature Sections – Frontend layout matching dashboard wireframe */
.gb-feature-sections {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

.gb-fs-section {
    margin-bottom: 72px;
    padding-bottom: 56px;
    border-bottom: 1px solid #e0e0db;
    animation: gbFsFadeIn 0.7s ease-out both;
}

.gb-fs-section:nth-child(2) { animation-delay: 0.08s; }
.gb-fs-section:nth-child(3) { animation-delay: 0.16s; }
.gb-fs-section:nth-child(4) { animation-delay: 0.24s; }
.gb-fs-section:nth-child(5) { animation-delay: 0.32s; }

.gb-fs-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes gbFsFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top: featured image + title (matches About page) */
.gb-fs-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.gb-fs-featured {
    flex: 0 0 auto;
}

.gb-fs-featured img,
.gb-fs-placeholder {
    width: auto;
    height: auto;
    max-width: 475px;
    display: block;
    background: #e8e8e3;
}

.gb-fs-placeholder {
    width: 280px;
    aspect-ratio: 1 / 1;
}

.gb-fs-title {
    flex: 1;
    padding-left: 60px;
    font-size: 50px;
    font-weight: 300;
    color: #2a2a2a;
    margin: 0;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
    text-align: left;
}

/* Description */
.gb-fs-description {
    font-size: 16px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 36px;
}

.gb-fs-description p {
    margin: 0 0 12px;
}

.gb-fs-description p:last-child {
    margin-bottom: 0;
}

/* Gallery slider */
.gb-fs-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    position: relative;
}

.gb-fs-slider-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
    flex: 1;
    width: 100%;
}

.gb-fs-slide {
    flex: 0 0 calc(25% - 12px);
    min-width: calc(25% - 12px);
}

.gb-fs-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #e8e8e3;
}

.gb-fs-nav {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #c8c8c2;
    background: #f5f5f0;
    color: #2a2a2a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, opacity 0.2s ease;
    padding: 0;
}

.gb-fs-nav:hover {
    background: #e8e8e3;
}

.gb-fs-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Bottom: details + video */
.gb-fs-bottom {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 28px 40px;
    align-items: start;
}

.gb-fs-details {
    font-size: 14px;
    line-height: 1.65;
    color: #444;
}

.gb-fs-details p {
    margin: 0 0 8px;
}

.gb-fs-details p:last-child {
    margin-bottom: 0;
}

.gb-fs-video video {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    background: #1a1a1a;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.gb-fs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

@media (max-width: 768px) {
    .gb-feature-sections {
        padding: 28px 16px 56px;
    }

    .gb-fs-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .gb-fs-featured img {
        max-width: 100%;
    }

    .gb-fs-title {
        padding-left: 0;
        font-size: 40px;
    }

    .gb-fs-slide {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }

    .gb-fs-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gb-fs-video video {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .gb-fs-slide {
        flex: 0 0 80%;
        min-width: 80%;
    }
}
