/* Styles for the logo slider on the live website */
.simple-logo-slider-container {
    position: relative;
    width: 100%;
    /*max-width: 900px;*/
    margin: 2em auto;
    padding: 0 50px; /* Space for nav buttons */
    box-sizing: border-box;
}

.simple-logo-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.simple-logo-slider-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.logo-item {
    flex: 0 0 calc((100% / var(--logos-per-view, 1)));
    box-sizing: border-box;
    padding: 10px;
}

.logo-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    gap: 15px;
    height: 100%;
}

.logo-item img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    height: auto;
}

.logo-item .logo-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
	padding-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 24px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, opacity 0.2s;
    z-index: 10;
}

.slider-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-nav button:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 1);
}

.slider-nav .nav-prev {
    left: 0;
}

.slider-nav .nav-next {
    right: 0;
}


