/* Contact page only. No rules escape the Contact public-page scope. */
body#page-local-cometoukapi-public-contact .ctuk-public-shell[data-ctuk-page="contact"],
.ctuk-public-shell[data-ctuk-page="contact"]{
    --ctuk-contact-ink:#0b2943;
    --ctuk-contact-muted:#617487;
    --ctuk-contact-border:rgba(11,41,67,.10);
    --ctuk-contact-shadow:0 16px 42px rgba(11,41,67,.08);
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:24px!important;
    align-items:stretch!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-card{
    min-width:0!important;
    width:100%!important;
    height:100%!important;
    padding:30px!important;
    border:1px solid var(--ctuk-contact-border)!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,#fff 0%,#f8fbfd 100%)!important;
    box-shadow:var(--ctuk-contact-shadow)!important;
    overflow:hidden!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-card small{
    display:block!important;
    margin-bottom:12px!important;
    color:#02a0b7!important;
    font-weight:800!important;
    letter-spacing:.13em!important;
    text-transform:uppercase!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-card h2{
    margin:0 0 10px!important;
    color:var(--ctuk-contact-ink)!important;
    font-size:clamp(1.2rem,2vw,1.7rem)!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-card h2:not(:first-of-type){
    margin-top:24px!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-card p,
.ctuk-public-shell[data-ctuk-page="contact"] .contact-card address,
.ctuk-public-shell[data-ctuk-page="contact"] .contact-card a{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-card address,
.ctuk-public-shell[data-ctuk-page="contact"] .contact-card p{
    margin:0!important;
    color:var(--ctuk-contact-muted)!important;
    line-height:1.7!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .contact-card a{
    color:#002647!important;
    text-decoration:none!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .video-panel{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-items:stretch!important;
    overflow:hidden!important;
    border-radius:20px!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .video-panel>img{
    width:100%!important;
    height:100%!important;
    min-height:320px!important;
    object-fit:cover!important;
    object-position:center!important;
    display:block!important;
}

.ctuk-public-shell[data-ctuk-page="contact"] .video-copy{
    min-width:0!important;
    padding:40px!important;
}

@media(max-width:720px){
    .ctuk-public-shell[data-ctuk-page="contact"] .contact-grid,
    .ctuk-public-shell[data-ctuk-page="contact"] .video-panel{
        grid-template-columns:1fr!important;
    }
    .ctuk-public-shell[data-ctuk-page="contact"] .contact-card{
        padding:24px!important;
        border-radius:15px!important;
    }
    .ctuk-public-shell[data-ctuk-page="contact"] .video-panel>img{
        min-height:230px!important;
        aspect-ratio:16/10!important;
    }
    .ctuk-public-shell[data-ctuk-page="contact"] .video-copy{
        padding:28px 24px!important;
    }
}
