body.notion-contact-page { padding-inline: 0; }
/* Match the panoramic image and treatment used by the About Us pages. */
body.notion-contact-page .notion-about-banner {
    background-image: linear-gradient(90deg, rgb(87 42 14 / 88%), rgb(249 144 69 / 36%)), url('../homepage/about-us-research-team-v2.webp');
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
}
body.notion-contact-page.page:not(.home):not(.notion-auth-page) .wp-site-blocks > main.notion-contact-main:first-of-type { max-width: none; margin: 0; padding: var(--notion-fixed-header-height, 73px) 0 0 !important; }
.notion-contact-card { box-sizing: border-box; width: calc(100% - 64px); max-width: 1100px; margin: 75px auto 0; padding: 48px; border: 1px solid #cbb7a1; border-radius: 16px; background: #e9dfd2; box-shadow: 0 2px 18px rgb(98 56 29 / 8%); }
.notion-contact-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.notion-contact-card__heading h2 { position: relative; margin: 0; padding-bottom: 22px; color: #212930; font-size: 32px; line-height: 1.3; }
.notion-contact-card__heading h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: #f99045; }
.notion-contact-card__heading img { width: 160px; height: auto; object-fit: contain; }
.notion-contact-copy { color: #40372f; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.notion-contact-copy p { margin: 0 0 12px; }
.notion-contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 40px; }
.notion-contact-form .notion-contact-hp { display: none !important; }
.notion-contact-field { display: grid; grid-template-columns: 135px minmax(0,1fr); align-items: start; gap: 14px; }
.notion-contact-field > span { padding-top: 10px; color: #242424; font-size: 13px; font-weight: 700; line-height: 1.5; }
.notion-contact-field b { color: #9a4312; }
body.notion-contact-page .notion-contact-field :is(input, textarea) { box-sizing: border-box; width: 100%; min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid #8b7763; border-radius: 8px; background: #fff; color: #242424; font-size: 14px; line-height: 1.5; }
.notion-contact-field input::placeholder,.notion-contact-field textarea::placeholder { color: #626262; opacity: 1; }
body.notion-contact-page .notion-contact-field :is(input, textarea):focus { border-color: #9a4312; outline: 2px solid #9a4312; outline-offset: 2px; }
.notion-contact-field--message { grid-column: 1/-1; grid-template-columns: 1fr; gap: 12px; }
.notion-contact-field textarea { min-height: 150px; resize: vertical; }
.notion-contact-actions { grid-column: 1/-1; }
.notion-contact-actions button { border: 0; border-radius: 999px; background: #f99045; color: #4b2b16; padding: 12px 34px; font-size: 14px; font-weight: 700; cursor: pointer; }
.notion-contact-actions button:hover { background: #f7a56a; }
.notion-contact-actions button:disabled { opacity: .6; cursor: wait; }
.notion-contact-actions button:focus-visible { outline: 2px solid #f99045; outline-offset: 4px; }
.notion-contact-actions p { margin: 15px 0 0; color: #40372f; font-size: 14px; line-height: 1.6; }
.notion-contact-actions p:empty { display: none; }
.notion-contact-actions p.is-error { color: #b43e4b; }
@media(max-width:900px) { .notion-contact-field { grid-template-columns: 1fr; gap: 7px; } .notion-contact-field > span { padding: 0; } }
@media(max-width:600px) { .notion-contact-card { width: calc(100% - 32px); margin-top: 36px; padding: 26px 22px; } .notion-contact-card__heading h2 { font-size: 27px; } .notion-contact-card__heading img { width: 100px; } .notion-contact-form { grid-template-columns: 1fr; gap: 20px; } }

#contact-enquiry { scroll-margin-top: 160px; }
/* Persistent feedback stays next to Send and is announced to assistive technology. */
.notion-contact-actions [data-contact-message]:not(:empty) { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; margin: 20px 0 0; border: 1px solid #cdbfae; border-radius: 12px; background: #fffaf3; color: #4b2b16; font-size: 15px; line-height: 1.6; animation: notion-contact-feedback-in 240ms ease-out; }
.notion-contact-actions [data-contact-message].is-success { border-color: #8fbaab; background: #edf7f1; color: #19533f; }
.notion-contact-actions [data-contact-message].is-error { border-color: #d8a18e; background: #fff1eb; color: #842f21; }
.notion-contact-feedback__icon { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #fff; font-size: 19px; font-weight: 700; }
.notion-contact-actions [data-contact-message] strong { display: block; font-size: 17px; margin-bottom: 3px; }
.notion-contact-actions [data-contact-message] strong + span { display: block; }
.notion-contact-actions [data-contact-message]:focus { outline: 2px solid currentColor; outline-offset: 3px; }
@keyframes notion-contact-feedback-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media(prefers-reduced-motion: reduce) { .notion-contact-actions [data-contact-message]:not(:empty) { animation: none; } }
