/* Custom over-rides specifically isolated to the About Us module view states */

.slider-viewports {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 1rem 0;
    justify-content: center; /* Center-align cards when items fit on wide screens */
}

@media (max-width: 850px) {
    .slider-viewports {
        justify-content: flex-start;
    }
}

/* Adjust card component layout profiles within Team slider frameworks */
.carousel-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #ebd174;
    background: #1c1d24;
    -o-object-fit: cover;
       object-fit: cover;
    margin-bottom: 0.75rem;
}

.carousel-card.center img {
    border-color: #ffffff;
    transform: scale(1.05);
}

/* Maintain crisp scaling limits inside detail layout panels */
.character-main-img-side img {
    border-radius: 12px;
    -o-object-fit: contain;
       object-fit: contain;
}

/* --- Client Layout Modifications --- */
.row-centered-layout {
    display: flex;
    justify-content: center;
    width: 100%;
}

.row-centered-layout .figma-dark-card {
    width: 100%;
    max-width: 850px; /* Controls maximum readability width without a side logo */
    text-align: center;
}