.hg-gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}

.hg-labels-column {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item-trigger {
    cursor: pointer;
    border-left: 3px solid transparent;
    padding-left: 15px;
    transition: border-color 0.3s ease;
}

.step-item-trigger.active {
    border-left-color: #ffffff;
}

.step-item-label {
    margin: 0;
    transition: all 0.3s ease;
}

.hg-display-column {
    flex: 1.5 1 450px;
    position: relative;
    min-height: 600px;
    box-sizing: border-box;
}

.hg-sequential-column,
.hg-scrollable-column {
    display: none;
    width: 100%;
}

.hg-step-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hg-media-container {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #0c0d0e;
}

.hg-video-bg, .hg-image-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.hg-card-wrapper {
    margin-top: 20px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hg-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.hg-card-title {
    margin: 0;
    font-weight: 600;
}

.hg-card-subtitle {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    font-weight: 500;
    opacity: 0.85;
}

.hg-card-extra {
    font-size: 0.75em;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 3px 8px;
    border: 1px solid currentColor;
    border-radius: 4px;
    text-transform: uppercase;
}

.hg-card-desc-scroll {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 8px;
}

.hg-card-desc-scroll::-webkit-scrollbar {
    width: 4px;
}

.hg-card-desc-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.hg-card-desc-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.hg-card-description {
    margin: 0;
    line-height: 1.6;
}

/* Responsive Styling */
@media (min-width: 769px) {
    .hg-sequential-column, .hg-scrollable-column {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hg-display-column {
        min-height: 520px;
    }
    .hg-media-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hg-gallery-container {
        flex-direction: column;
        gap: 20px;
    }

    /* Vertical Stack Layout */
    .hg-mobile-vertical .hg-labels-column {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .hg-mobile-vertical .hg-display-column {
        display: block;
        width: 100%;
        min-height: 480px;
    }
    .hg-mobile-vertical .hg-sequential-column, 
    .hg-mobile-vertical .hg-scrollable-column {
        display: none !important;
    }

    /* Sequential Layout */
    .hg-mobile-sequential .hg-labels-column,
    .hg-mobile-sequential .hg-display-column,
    .hg-mobile-sequential .hg-scrollable-column {
        display: none !important;
    }
    .hg-mobile-sequential .hg-sequential-column {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .hg-seq-row {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .hg-seq-label {
        margin: 0 0 16px 0;
        font-size: 24px;
        font-weight: 600;
        color: #ffffff;
    }

    /* Horizontal Scrollable Slider (Best UX) */
    .hg-mobile-scrollable .hg-labels-column,
    .hg-mobile-scrollable .hg-display-column,
    .hg-mobile-scrollable .hg-sequential-column {
        display: none !important;
    }
    .hg-mobile-scrollable .hg-scrollable-column {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .hg-scrollable-inner {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }
    .hg-scrollable-inner::-webkit-scrollbar {
        display: none;
    }
    .hg-scroll-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        background: rgba(255, 255, 255, 0.03);
        padding: 15px;
        border-radius: 16px;
        box-sizing: border-box;
    }
    .hg-scroll-card .hg-media-container {
        height: 200px;
    }

    .hg-scrollbar-track {
        width: 100%;
        height: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        margin-top: 5px;
        position: relative;
        overflow: hidden;
    }
    .hg-scrollbar-thumb {
        height: 100%;
        width: 30%;
        background: #3b82f6;
        border-radius: 2px;
        position: absolute;
        left: 0;
        transition: left 0.1s ease;
    }
}