.igl-1962-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the entire widget content */
}

.igl-1962-main-area {
    display: flex;
    flex-direction: row-reverse; /* Info card left, preview right */
    align-items: center; /* Center align items vertically */
    justify-content: center; /* Center align items horizontally */
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1200px; /* Add max width for better centering */
}

.igl-1962-preview {
    flex: 1;
    min-width: 300px;
    max-width: 800px; /* Constrain max width of the image preview */
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.igl-1962-preview-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease;
    display: block;
}

.igl-1962-info-card {
    flex: 0 0 320px; /* Fixed width for info card */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    background-color: var(--e-global-color-secondary, #F4F2E0); /* Use theme color if available */
}

.igl-1962-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.igl-1962-location {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.igl-1962-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.igl-1962-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.igl-1962-detail-item:last-child {
    border-bottom: none;
}

.igl-1962-detail-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

.igl-1962-detail-value {
    font-size: 1rem;
    font-weight: 600;
}

.igl-1962-thumbnails {
    display: flex;
    justify-content: center; /* Center thumbnails */
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 1200px;
    gap: 10px; /* Space between thumbnails */
}

.igl-1962-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.igl-1962-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.igl-1962-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.igl-1962-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.igl-1962-thumbnail {
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    width: 120px; /* Fixed width for consistent thumbnails */
    height: 80px; /* Fixed height for consistent thumbnails */
}

.igl-1962-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.igl-1962-thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.igl-1962-thumbnail.active {
    border-color: var(--e-global-color-accent, #6C997A); /* Highlight active with accent color */
}

@media (max-width: 992px) {
    .igl-1962-main-area {
        flex-direction: column;
    }
    
    .igl-1962-info-card {
        flex: auto;
        width: 100%;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .igl-1962-title {
        font-size: 2rem;
    }
}