.category .row .element
{border-radius: 20px;background-color: white;cursor:pointer;/*border:1px solid #ccc;*/transition:border-color .3s ease-in-out,box-shadow .3s ease-in-out;margin:15px 15px 0 0;width:calc(25% - 15px);display:flex;max-width:initial;flex:auto;padding:10px;align-items:center}

.category .row .element.col-4
{
	width: calc(33% - 15px);	
}

.category .row .element.col-6
{
	width: calc(50% - 15px);	
}

.category .row .element.col-12
{
	margin-right:0px;
}
.category .row .element.col-12 .small_icon
{
	margin: 0 20px 0 37%;
}
.category .row .element .name a
{
	color:#454c52;
}
.category .row .element .name a:hover
{
	color:#454c52;
}
.category .row.count_in_row_4 .element:nth-child(4n+4){margin-right:0}
.category .row.count_in_row_3 .element:nth-child(3n+3){margin-right:0}
.category .row.count_in_row_2 .element:nth-child(2n+2){margin-right:0}

.category .row .element:before{background-color:#da7d40;position:absolute;top:-1px;left:22px;width:63px;height:2px;content:""}.category .row .element .small_icon{width:80px;float:left;padding:5px;margin:0 20px 0 0;border-radius:5px;height:80px;min-width:80px;max-width:80px}.category .row .element .small_icon img{width:100%}.category .row .element:hover{border-color:var(--base-color-green);box-shadow:10px 17px 38px 0 rgba(0,0,0,.2)}.container_hide{display:none}.w_40_px{width:40px}


.category .row .element:last-child
{
	margin-right: 0;
}

.div_sdo
{
	background: #da7d40;	
	margin-right: 0 !important;
}

.div_sdo .small_icon
{
	background: white;
}
.div_sdo .small_icon a
{
}
.div_sdo .small_icon a img
{
}
.div_sdo .name
{
}
.div_sdo .name a
{
    color: white!important;	
}

.col-6-custome
{
	border-radius: 0px;
    margin: 0px 8px 0px 0px;
    padding: 32px 8px 0px 0px;
    text-align: center;
}
.col-6-custome > a
{
    height: 38px;
    padding-top: 6px;
    width: 50%;
    margin: 0px 0px 0px 25%;
}

.style_to_h
{
	font-size: 23px;
    /* border-bottom: 3px solid #da7d40; */
    float: left;
    padding-bottom: 5px;
}

@media (max-width: 991.98px)
{
	.category .row .element.col-12 .small_icon
	{
		margin: 0px 20px 0px 0px;
	}
	.category .row .element.col-4, .category .row .element.col-3, .category .row .element.col-6
	{
		width: 100%;
	}

	.col-12-mobile-custome
	{
		padding: 0;
	}

	.col-12-mobile-custome > a
	{
	    width: 100%;
	    margin: 0px;
	}
}

h2,h3,h4,h5,h6
{
	font-size: 20px;
    font-weight: 700;
    margin: 20px 0;
    text-align: center;
    color: var(--base-color-green);
}

/* =====================================================
   Лаборатория / Экспертный центр — 4 в ряд (2026-05-08)
   Меньше иконка, длинные слова переносятся, карточки
   одинаковой высоты, корректный wrap на планшете/мобиле.
   ===================================================== */
.category .row .element.lab-expert-card {
    align-items: center;
    min-height: 88px;
}
.category .row .element .small_icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    max-width: 80px;
    margin: 0 14px 0 0;
    padding: 5px;
}
.category .row .element .small_icon img {
    width: 100%;
    height: auto;
}
.category .row .element.lab-expert-card .name {
    font-size: 14px;
    line-height: 1.3;
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.category .row .element.lab-expert-card .name a {
    display: inline-block;
    width: 100%;
}
@media (min-width: 1500px) {
    .category .row .element.lab-expert-card .name { font-size: 0.96rem; }
}
@media (max-width: 991.98px) {
    .category .row .element.lab-expert-card {
        width: calc(50% - 15px) !important;
    }
    .category .row.count_in_row_4 .element.lab-expert-card:nth-child(2n+2) {
        margin-right: 0;
    }
    .category .row.count_in_row_4 .element.lab-expert-card:nth-child(4n+4) {
        margin-right: 15px;
    }
}
@media (max-width: 575.98px) {
    .category .row .element.lab-expert-card {
        width: 100% !important;
        margin-right: 0 !important;
    }
}
