/* public_html/css/contact_style.css */
/* Версия 202606142330 */
/* Изменено 14.06.2026 23:30:00 */

.contact-company-grids {
    display: grid;
    grid-template-columns: minmax(0, max-content) 200px;
    grid-auto-rows: min-content;
    width: fit-content;
    max-width: 100%;
    margin: 25px auto;
    justify-items: center;
    background: #fff;
    padding: 25px;
    outline: none;
    color: #2e2e2e;
    font-weight: 300;
    text-transform: none;
    box-shadow: 0 3px 10px #2e2e2e10;
    border-radius: 15px;
    gap: 25px;
    border: 1px solid #2e2e2e10;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.contact-company-details {
    display: grid;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
}

.contact-company-details__text {
    min-width: 0;
}

.copy-flex {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 20px;
    align-items: center;
}

.company-grid span {
    display: block;
    font-size: clamp(16px, 1.9vw, 18px);
    text-align: left;
}

.contact-company-qr {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-company-qr svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 200px;
}

.post-contact-title {
	font-size: 30px;
}

.post-contact-title {
	margin: -20px auto 0 auto;
}

.post-contact-title a,
.post-contact-title a:hover {
	line-height: 1.5;
	color: #2e2e2e;
}

.contact-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 21px;
}

.contact-copy {
    position: relative;
    border: 0;
    background: transparent;
    color: transparent;
    cursor: pointer;
    padding: 0;
    margin-right: -49px;
}

.contact-company-copy {
    justify-self: end;
    margin-top: 2px;
    margin-right: 0;
}

.contact-copy svg{
    opacity: .35;
}

.contact-copy svg:hover, .contact-copy svg:focus-visible {
    outline: none;
    opacity: 1;
}

.contact-copy__icon {
    display: flex;
    width: 28px;
    height: 28px;
    color: #2f2f2f;
}

.contact-pdf-save svg {
    width: 42px;
    height: auto;
    display: block;
    margin-top: clamp(-8px, 1.9vw, -14px);
}

.contact-pdf-save a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: clamp(16px, 1.9vw, 18px);
    text-align: left;
    color: #5576d1;
}

.contact-copy__tooltip {
	position: absolute;
	right: -33px;
	bottom: calc(100% + 8px);
	padding: 5px 8px;
	border-radius: 10px;
	background: #2f2f2f;
	color: #fff;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-company-copy .contact-copy__tooltip,
.contact-copy .contact-copy__tooltip {
    font-size: 12px;
}

.contact-copy.is-copied .contact-copy__tooltip,
.contact-company-copy.is-copied .contact-copy__tooltip {
	opacity: 1;
	transform: translateY(0);
}

@media only screen and (max-width:991px) {
    .contact-company-grids {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 480px;
        gap: 24px;
    }

    .contact-company-details {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 14px;
    }

    .contact-company-copy {
        margin-top: 0;
    }
    .company-grid span {
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }
    
    .company-grid span:first-child {
        margin-left: 48px;
    }

    .contact-company-qr {
        width: 100%;
    }
}

@media only screen and (max-width:480px) {
    .contact-company-copy .contact-copy__tooltip,
    .contact-copy .contact-copy__tooltip {
        right: 0;
        left: auto;
        max-width: min(220px, calc(100vw - 32px));
        white-space: nowrap;
        overflow-wrap: anywhere;
        text-align: center;
    }
    
    .contact-company-details {
        gap: 12px;
    }

    .company-grid span {
        font-size: 15px;
        line-height: 1.45;
    }

    .contact-company-qr svg {
        display: none;
    }
}

@media only screen and (max-width:361px) {
    .contact-copy {
        display: none;
    }
}
