

/* Start:/bitrix/templates/.default/components/bitrix/news.list/partners/style.css?17754988524400*/
    .partners-container,
	.partners-list {
        display: flex;
		align-items:flex-start;
		justify-content:flex-start;
		flex-wrap: wrap;
		flex-direction: row;
		width: 100%;
        gap: 20px;
        margin-bottom: 30px;
    }

	.img-partner {
		width: 100%;
		max-height: 200px;
	}

    .partner-card {
		position: relative;
		overflow: visible !important;
		width: calc(45% - 10px);
		height: 520px;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		padding: 20px;
		box-shadow: none;
		transition: transform 0.3s ease;
		display: flex;
		flex-direction: column;
        gap: 10px;
		justify-content: center;
    }

    .partner-card-content {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        position: relative;
        gap: 10px;
    }
    
    .partner-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 5px 30px rgba(34, 34, 34, 0.1)
    }
    
    .partner-card h3 {
        margin-top: 0;
        color: #333;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    
    .partner-card img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
        width: 100%;
        min-height: 130px;
    }
    .img-partner {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 150px;
        margin: 10px;
    }
	.img-partner img {
		width: auto;
		height: auto;
        max-width: 200px;
        max-height: inherit;
		object-fit: contain;
		object-position: center;
		text-align: center;
        margin: 0 auto;
        display:block;
	}
    
    .partner-card p {
        margin: 5px 0;
    }
    
    .partner-card a {
        color: var(--theme-base-color);
        text-decoration: none;
    }
    
    .partner-card a:hover {
        text-decoration: underline;
    }
    
    .section-title {
        margin-top: 30px;
        margin-bottom: 20px;
        color: #333;
        border-left: 4px solid var(--theme-base-color);
        padding-left: 15px;
    }
    
    .section-subtitle {
        margin-top: 15px;
        margin-bottom: 15px;
        color: #555;
        padding-left: 15px;
        font-size: 1.2em;
    }
    
    .toledo-brand {
        color: var(--theme-base-color);
        font-weight: bold;
    }
    
    .brand-logo {
        display: inline-block;
        background-color: var(--theme-base-color);
        color: white;
        font-weight: bold;
        padding: 3px 6px;
        border-radius: 4px;
        margin-right: 10px;
        font-size: 0.8em;
        vertical-align: middle;
    }
/* Абсолютный блок поверх всего */
.partner-card-previewtext {
    position: absolute;
	width: 100%;
    top: 95%;
    left: 0;
    right: 0;
	z-index: 9999; 
    /* Стилизация */
    display: none;
    margin-top: 5px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-height: 200px;
	max-height: 350px;
	overflow-y:scroll;
    /* Анимация */
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопка переключения */
.partner-card-toggle {
    padding: 5px 12px;
    background: #ff6b00;
    margin-top: auto;
    justify-self: flex-end;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
}

.partners-list .partner-card p {
    margin: 0;
}

.partner-card-toggle:hover {
    background: #e55a00;
}
.partner-card-previewtext .partner-card {
	width: 100%;
    height: auto;
	min-height: 150px;
    max-height: 300px;
}
.partner-card.active {
    z-index: 10000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
	.partner-card {
		width: 100%;
        min-height: auto;
        max-height: auto;
        height: auto;
	}
	.partner-card-previewtext {
		position:relative;
		max-height: 100%;
	}
}
/* End */
/* /bitrix/templates/.default/components/bitrix/news.list/partners/style.css?17754988524400 */
