

/* Start:/local/templates/oshfirewall/components/bitrix/news/partners/bitrix/news.list/.default/style.css?17900908637686*/
.partner-list{
    gap: 30px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;	
	padding: 40px 0;
}
.partner_img{
    border-radius: 20px;	
}
.partner-item .partner_img img{
    display: block;
    width: 100%;	
	border-radius: 20px;
}
.partner-item{
    position: relative;
    display: grid;
    gap: 20px;
    box-shadow: 8px 7px 25px 0px #0000001A;
    background: white;
    border-radius: 20px;
    border: 1px solid #d1d1d1;
    padding: 20px;	
}
.partner_title{
    font-family: SF Pro Display;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;	
}
.partner_desc{
    font-family: SF Pro Display;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #0E163499;	
}
.partner_zam{
    font-family: SF Pro Display;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #1A1E31;	
}
.partner_links{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;	
}
.news-btn.partner_btn_o{
	font-family: SF Pro Display;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 12px 15px;
    gap: 10px;	
}
.custom-btn.partner_btn_b{
    font-family: SF Pro Display;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 12px 15px;
    gap: 10px;
    display: flex;
    align-items: center;	
}
.custom-btn.partner_btn_b:hover svg path{
	fill: white;
}


/* Стили для затемнения фона */
.popup_partnery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #6376A866;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.popup_partnery.active {
    opacity: 1;
}

/* Основной блок попапа */
.popups_blocks {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

.popup_partnery.active .popups_blocks {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Скрываем скролл у body при открытом попапе */
body.popup-open {
    overflow: hidden;
}

/* Кнопка закрытия (крестик) */
.exit_block_popup {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.exit_block_popup:hover {
    background: rgba(0, 0, 0, 0.05);
}

.exit_block_popup svg {
    display: block;
}

/* Заголовок попапа */
.title_block_popup {
    font-family: SF Pro Display;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #121C45;
    padding-bottom: 40px;
    padding-right: 30px;
    border-bottom: 1px solid #C6CAD2;
    margin-bottom: 40px;
}

/* Время в попапе */
.time_block_popup {
    font-family: SF Pro Display;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #6376A8;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Изображение в попапе */
.img_block_popup {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}
.desc_block_popup p{
    line-height: normal;	
}
.img_block_popup img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 300px;
}

/* Описание в попапе */
.desc_block_popup {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
}

/* Блок благодарственного письма */
.blago_block_popup {
	background: #FFEA96;
    border-radius: 10px;
    padding: 35px 55px;
    margin-bottom: 20px;
    position: relative;
}
.top_left_svg{
    position: absolute;
    top: 10px;
    left: 10px;	
}
.bottom_right_svg{
    position: absolute;
    bottom: 10px;
    right: 10px;		
}
.blago_block_title {
    font-family: SF Pro Display;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #1A1E31;
    margin-bottom: 65px;
}

.blago_block_desc {
    display: flex;
    align-items: center;
    gap: 18px;
}

.blago_block_img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eee;
}

.blago_block_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blago_block_text {
    flex: 1;
}

.blago_block_name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.blago_block_dolchnost {
    font-size: 14px;
    color: #666;
    margin-top: 3px;
}

/* Кнопки внизу попапа */
.buttom_block_popup {
	display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 0;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #C6CAD2;
}

.partner_blago_link .custom-btn.partner_btn_b{
    margin-top: 0;
    width: auto;	
}
.buttom_block_popup .custom-btn.partner_btn_b{
    margin-top: 0;
    width: auto;	
}
.popup_partnery ul {
    display: flex;
    gap: 0;
    text-transform: math-auto;
    flex-direction: column;
    padding-inline-start: 25px;
}
@media (max-width: 1200px) {
	.partner-list{
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 800px) {
	.partner-list{
		grid-template-columns: repeat(1, 1fr);
	}
}
/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .popups_blocks {
        padding: 20px;
        max-height: 95vh;
        border-radius: 10px;
    }

    .title_block_popup {
        font-size: 20px;
        padding-right: 25px;
    }

    .exit_block_popup {
        top: 20px;
        right: 20px;
    }

    .exit_block_popup svg {
        width: 20px;
        height: 20px;
    }

    .desc_block_popup {
        font-size: 15px;
        line-height: 1.6;
    }

    .blago_block_popup {
        padding: 20px 40px;
    }

    .blago_block_desc {
        gap: 12px;
    }

    .blago_block_img {
        width: 50px;
        height: 50px;
    }

    .buttom_block_popup {
        flex-direction: column;
        gap: 12px;
    }

    /* .buttom_block_popup .partner_btn_b, */
    /* .buttom_block_popup .btn-red { */
        /* justify-content: center; */
        /* width: 100%; */
    /* } */
}

@media (max-width: 480px) {
    .popup_partnery {
        padding: 10px;
    }

    .popups_blocks {
        padding: 20px;
        border-radius: 8px;
    }

    .title_block_popup {
        font-size: 18px;
    }

    .desc_block_popup {
        font-size: 14px;
    }

    .img_block_popup img {
        max-height: 200px;
    }
}
/* End */
/* /local/templates/oshfirewall/components/bitrix/news/partners/bitrix/news.list/.default/style.css?17900908637686 */
