/* Isolated to contacts; the approved pages keep their original styles. */
body.page-contact main{position:relative;isolation:isolate;overflow:hidden}
.page-contact .contact-section{position:static;display:flex;background:transparent;min-height:calc(100svh - 182px);padding-top:72px;padding-bottom:80px}
.contact-gallery{position:absolute;z-index:-1;inset:0 0 0 24%;pointer-events:none}
.contact-gallery img{display:block;width:100%;height:100%;object-fit:cover;object-position:right center}
.contact-gallery::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10151b 0%,rgba(16,21,27,.94) 12%,rgba(16,21,27,.62) 30%,rgba(16,21,27,.12) 62%,rgba(16,21,27,.04)),linear-gradient(0deg,#10151b 0%,transparent 16%,transparent 88%,#10151b 100%)}
.page-contact .contact-copy{position:relative;z-index:1;width:55%;max-width:660px;padding:28px 0}
.page-contact .contact-actions{max-width:320px}
.page-contact .contact-button:not(.contact-button-primary){background:rgba(16,21,27,.7)}
.page-contact .contact-button:not(.contact-button-primary):hover{background:#26303a}
@media(max-width:1050px){
 .contact-gallery{left:18%}
 .page-contact .contact-copy{width:62%}
 .contact-gallery::after{background:linear-gradient(90deg,#10151b,rgba(16,21,27,.9) 22%,rgba(16,21,27,.45) 60%,rgba(16,21,27,.12)),linear-gradient(0deg,#10151b,transparent 18%,transparent 85%,#10151b)}
}
@media(max-width:620px){
 .page-contact .contact-section{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:42px var(--gutter) 0;min-height:0}
 .page-contact .contact-copy{width:100%;max-width:none;padding:0}
 .page-contact .contact-actions{max-width:none}
 .contact-gallery{position:relative;inset:auto;z-index:0;width:calc(100% + 2 * var(--gutter));margin:28px calc(-1 * var(--gutter)) 0;height:480px}
 .contact-gallery img{object-position:85% center}
 .contact-gallery::after{background:linear-gradient(0deg,#10151b,transparent 18%,transparent 82%,#10151b)}
}
