/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 01 2026 | 21:14:35 */
.popup-overlay.active {
    display: flex !important;
}

/* Фоновая подложка */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 26, 26, 0.80);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 24px;
	opacity: 0;
    visibility: hidden;
    transition: all 400ms ease;
}

.popup-overlay.active {
    opacity: 1;
	animation: fadeInBg 0.3s forwards;
    visibility: visible;
}

.popup-overlay.active .popup-content {
    animation: slideUpScale 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.popup-body {
	display: flex;
	padding: 24px 24px 0 24px; 
	flex-direction: column;
	gap: 32px;
	transition: all 400ms ease;
}

@keyframes fadeInBg {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpScale {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    70% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Контейнер попапа */
.popup-content {
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 929px; 
    max-height: 420px;
    overflow-y: auto;
}

.p-data {
	width: 100%;
}

#p-img {
    min-width: calc(100% + 48px);
    height: 250px; 
	aspect-ratio: 76/97;
    object-fit: contain;
	margin-left: -24px;
    background-color: rgba(194, 208, 208, 1);
}

#p-name {
    font-size: clamp(23px, 2.64vw, 38px);
    margin: 0 0 24px;
    color: #272F2F;
	font-family: 'Poppins', sans-serif;
	font-style: normal;
	font-weight: 500;
	line-height: 130%;
}

#p-pos {
    color: #099177;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	margin: 0 0 24px;
	line-height: 130%; /* 20.8px */
}

#p-desc p {
	margin-bottom: 0 !important;
	color: #272F2F;
	font-size: 14px;
	letter-spacing: -0.01em;
	text-box: trim-both cap alphabetic;
	font-style: normal;
	font-weight: 400;
	line-height: 190%; /* 26.6px */
}

.p-contact-data, .p-contact-data *  {
	color: #0C4E4C;
	leading-trim: both;
	text-edge: cap;
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin: 0 0 24px;
}

.popup-close:hover {
    transform: scale(1.1);
}

.popup-close {
	position: absolute;
	padding: 0;
}

.popup-close svg, .popup-close {
    top: 11px;
    right: 15px;
    background: none;
    border: none;
	width: 18px;
    height: 18px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    color: #333;
    transition: transform 0.2s;
}

@media(min-width: 768px) {
    #p-img {
		min-width: initial;
        width: 300px;
		height: calc(100% + 135px); 
		aspect-ratio: 76/97;
		margin-top: -51px;
		margin-left: 0;
    }
	
	#p-pos {
		margin: 0 0 39px;
	}
	
	.p-contact-data, .p-contact-data *  {
		margin: 0 0 39px;
	}
	
	.popup-close svg, .popup-close {
		width: 24px;
		height: 24px;
	}
	
	.p-data {
		width: 53.99%;
	}
	
	.popup-content {
        flex-direction: row;
        overflow: hidden;
    }
	
	.popup-body {
		flex: 1;
    	padding: 31px 0 30.74px 25px;
		gap: 37.44px;
		justify-content: space-between;
		flex-direction: row;
	}
	
	.popup-close {
		top: 11px;
		right: 11px;
	}
}

@media(min-width: 1024px) {
    #p-img {
        width: 348px;
		 height: calc(100% + 102px); 
		aspect-ratio: 76/97;
    }
	
	.popup-body {
		padding: 51px 0 50.74px 45px;
	}
}

