/* Project-specific invitations are retired on all project pages. */
#sa-project-enquiry-global,#sa-project-enquiry{display:none!important}
/* The general contact form and footer retain their existing styles. */
.spr-project-reading{width:80%;max-width:1080px;margin:40px auto;color:inherit;font-family:inherit;font-weight:300;line-height:1.6}
.spr-project-reading strong{font-weight:500}
.spr-project-reading .et_pb_text{margin-bottom:0!important}
.spr-project-reading .spr-project-info{margin-top:24px}
.spr-project-reading .et_pb_code{margin-top:36px}
.spr-reading-managed .sa-context-guide strong{font-weight:500}
/* Every gallery image follows the row width. AI prepares any safe crop in advance. */
.spr-gallery-image,.spr-gallery-image .et_pb_image_wrap{width:100%!important;max-width:100%!important;display:block!important}
.spr-gallery-image img{display:block;width:100%!important;max-width:100%!important;height:auto}
.spr-contact-modal[hidden]{display:none!important}
.spr-contact-modal{position:fixed;inset:0;z-index:2147483100;background:rgba(32,37,29,.3);display:flex;align-items:center;justify-content:center;padding:24px;color:#4b5045;font-family:inherit}
.spr-contact-modal *{box-sizing:border-box}
.spr-contact-card{width:600px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;background:#f8f7f1;border:1px solid #d5d8cc;padding:32px 36px;box-shadow:0 18px 70px rgba(30,35,25,.14)}
.spr-contact-card h2{font-family:inherit;font-size:28px;font-weight:300;line-height:1.25;text-transform:none;color:inherit;margin:0 0 12px;padding:0}
.spr-contact-project{font-size:15px;font-weight:300;margin:0 0 22px;padding:0}
.spr-contact-card label{display:block;font-size:14px;line-height:1.5;font-weight:400}
.spr-contact-card input[type=text],.spr-contact-card input[type=email],.spr-contact-card input[type=tel],.spr-contact-card textarea{display:block;width:100%;max-width:100%;border:1px solid #cbd0c2;border-radius:0;background:#fff;color:#454a40;padding:10px 12px;font-family:inherit;font-size:16px;line-height:1.45;margin-top:6px}
.spr-contact-card textarea{height:110px;min-height:90px;resize:vertical}
.spr-contact-card input:focus,.spr-contact-card textarea:focus,.spr-contact-close:focus{outline:2px solid #686f5b;outline-offset:2px}
.spr-contact-card input[type=submit],.spr-contact-close{appearance:none;cursor:pointer;border:1px solid #606751;border-radius:0;background:#606751;color:white;padding:12px 20px;font:inherit;line-height:1.4}
.spr-contact-card input[type=submit]{width:100%;white-space:normal}
.spr-contact-actions{display:flex;justify-content:flex-end;margin-top:18px}
.spr-contact-privacy,.spr-contact-preview-note{font-size:12px;line-height:1.6;margin:12px 0 0;padding:0}
.spr-contact-test-note{font-size:13px;line-height:1.5;padding:10px;background:#e9eddf;margin:0 0 16px}
.spr-contact-session-note{font-size:13px;line-height:1.5;margin:0 0 14px}
.spr-contact-honey{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:600px){.spr-contact-modal{padding:12px}.spr-contact-card{padding:24px 22px;max-height:calc(100dvh - 24px)}.spr-contact-card h2{font-size:24px}}
@media(max-width:600px){.spr-project-reading{width:80%;margin:28px auto}}
/* Keep the mobile symbol near the intro start; long imported stories must not push it down. */
@media(max-width:767px){body.single-project #title-section,body[data-spr-preview] #title-section{background-position-y:60px!important}}
