/* ====== Layout principal ====== */
.lta-tag-image-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.lta-tag-image-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lta-heading {
    margin-bottom: 24px;
}

/* Contenedor de tags e imagen */
.lta-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.lta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 0 0 40%;
}

/* Botones tipo pill */
.lta-tag-btn {
    border-radius: 999px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #121212;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    outline: none;
    white-space: nowrap;
}

.lta-tag-btn:hover {
    background: #1c1c1c;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.lta-tag-btn.is-active {
    background: #181818;
    border-color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

/* Panel de imagen */
.lta-image-panel {
    position: relative;
    flex: 1 1 auto;
    min-height: 320px;
    border-radius: 24px;
    background: #191919;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
}

/* Cada imagen se solapa con efecto de transición */
.lta-image-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(16px) scale(1.01);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.lta-image-item.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

/* Forzar que la imagen siempre rellene el alto del contenedor */
.lta-image-panel .lta-image-item img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover !important;
}

/* Responsive */
@media (max-width: 900px) {
    .lta-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .lta-image-panel {
        order: 2;
    }

    .lta-tags {
        order: 1;
        flex: 0 0 auto;
    }
}

@media (max-width: 600px) {
    .lta-tag-btn {
        width: 100%;
        text-align: left;
    }
}
