/* MultiCabecera DTF Container & Grid */
.dtf-multicabecera-block-wrap {
    width: 100%;
    box-sizing: border-box;
}

.dtf-multicabecera-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    height: auto;
    min-height: 700px;
    gap: 0;
    max-width: 1200px;
}

@media (min-width: 992px) {
    .dtf-multicabecera-grid {
        grid-template-columns: 320px 1fr;
        height: 700px;
    }
}



/* Sidebar Navigation */
.dtf-multicabecera-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}




/* Tab Button Item */
.thumbnail-btn {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 160px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumbnail-btn .absolute.inset-0 {
    position: absolute;
    inset: 0;
}

.thumbnail-btn .bg-cover {
    background-size: cover;
}

.thumbnail-btn .bg-center {
    background-position: center;
}

/* Tab Active State */
.active-tab {
    box-shadow: inset 0 0 0 3px #9ca3af !important;
    transform: scale(1.02);
    z-index: 10;
}

/* Custom Overlay for Left Tabs */
.tab-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.thumbnail-btn:hover .tab-overlay {
    opacity: 0.55;
}

.active-tab .tab-overlay {
    opacity: 0.25 !important; /* Lighter when selected to let the image show clearly */
}

/* Right Column - Stage area */
.dtf-multicabecera-stage {
    position: relative;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    /* Default height on mobile */
}

@media (min-width: 992px) {
    .dtf-multicabecera-stage {
        height: 100%;
    }
}

/* Image transitions */
.main-stage-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom {
    transform: scale(1.05);
}

/* Text overlays & glass card */
.text-shadow-premium {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.glass-overlay {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Transition speed for text updates */
#image-title,
#image-desc {
    transition: opacity 0.3s ease;
}

/* Admin Styles */
.dtf-multicabecera-grid-admin {
    display: flex;
    gap: 2px;
}

.dtf-multicabecera-tabs-col-admin {
    width: 250px;
    flex-shrink: 0;
}