/* Shared native Gutenberg button wrapper compatibility. */
.vp-btn .wp-block-button__link { background: transparent; color: inherit; padding: 0; }

/* Clients page image block and responsive sizing. */
.vp-img { width: 100%; height: 500px; object-fit: cover; border-radius: 5px; display: block; box-shadow: 0 24px 58px rgba(7,26,69,.16); }
.vp-inline-1 { max-width: 820px; }

/* Compliance page component adjustments. */
.page-id-196 .vp-inline-1 { max-width: 850px; }
.vp-inline-2, .vp-inline-3, .vp-inline-4 { height: 72px; max-width: 180px; object-fit: contain; }
.vp-inline-5 { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 25px; }
.vp-inline-6, .vp-inline-7 { height: 72px; max-width: 190px; object-fit: contain; }
.vp-inline-8 { padding: 42px; }
.vp-inline-9 { max-width: 230px; max-height: 110px; object-fit: contain; }
.vp-inline-10 { font-size: 25px; }
.vp-inline-11 { max-width: 900px; text-align: center; }
.vp-inline-12 { justify-content: center; }
.vp-inline-13 { margin: 25px auto 0; max-width: 720px; color: #c8d3e3; font-size: 18px; line-height: 1.7; }

/* Contact page cards and Contact Form 7 layout. */
.page-id-11 .vp-inline-1 { padding: 38px; max-width: none; }
.page-id-11 .vp-inline-2 { height: auto; max-width: none; font-size: 26px; margin-top: 0; }
.page-id-11 .vp-inline-3 { height: auto; max-width: none; padding-right: 40px; padding-left: 40px; }
.venn-form-section { padding: 95px 24px 110px; background: #f3f5f7; }
.venn-form-section .vp-container { width: min(900px, 100%); margin: 0 auto; }
.venn-form-section h2 { margin: 12px 0 14px; color: #071a45; font-size: clamp(34px,4vw,50px); line-height: 1.08; letter-spacing: -.035em; }
.venn-form-intro { max-width: 680px; margin: 0 0 38px; color: #5d6672; font-size: 17px; line-height: 1.7; }
.venn-form-card { padding: 48px 52px 50px; background: #fff; border-top: 6px solid #071a45; border-radius: 7px; box-shadow: 0 22px 58px rgba(7,26,69,.11); }
.venn-form-card .wpcf7-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 22px; margin: 0; }
.venn-form-card .wpcf7-form > p { margin: 0; color: #071a45; font-size: 14px; font-weight: 800; line-height: 1.5; }
.venn-form-card .wpcf7-form > p:nth-of-type(3), .venn-form-card .wpcf7-form > p:nth-of-type(4), .venn-form-card .wpcf7-form > p:nth-of-type(5), .venn-form-card .wpcf7-response-output { grid-column: 1 / -1; }
.venn-form-card label { display: block; }
.venn-form-card .wpcf7-form-control-wrap { display: block; margin-top: 9px; }
.venn-form-card input[type="text"], .venn-form-card input[type="email"], .venn-form-card textarea { display: block; width: 100%; max-width: none; padding: 15px 16px; border: 1px solid #cfd6df; border-radius: 4px; background: #f9fafb; color: #172033; font: inherit; font-weight: 400; line-height: 1.45; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.venn-form-card input[type="text"], .venn-form-card input[type="email"] { min-height: 54px; }
.venn-form-card textarea { min-height: 180px; resize: vertical; }
.venn-form-card input:focus, .venn-form-card textarea:focus { border-color: #38618f; background: #fff; box-shadow: 0 0 0 4px rgba(56,97,143,.12); }
.venn-form-card input[type="submit"] { min-height: 54px; padding: 0 30px; border: 0; border-radius: 999px; background: #071a45; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 24px rgba(7,26,69,.18); transition: transform .2s, background .2s; }
.venn-form-card input[type="submit"]:hover { transform: translateY(-2px); background: #12346d; }
.venn-form-card .wpcf7-not-valid { border-color: #b42318 !important; }
.venn-form-card .wpcf7-not-valid-tip { margin-top: 7px; color: #b42318; font-size: 13px; font-weight: 600; }
.venn-form-card .wpcf7-response-output { margin: 0 !important; padding: 14px 16px !important; border-radius: 4px; font-size: 14px; }
.venn-form-card .wpcf7-spinner { vertical-align: middle; }

/* Projects landing page; the shortcode remains dynamic. */
body.page main.wp-block-group:has(.venn-project-page) { padding-top: 0 !important; }
.venn-project-page { margin-top: 0 !important; font-family: Inter,Arial,Helvetica,sans-serif; color: #172033; background: #fff; }
.vpp-hero { min-height: 440px; position: relative; display: flex; align-items: flex-end; background: center / cover url('https://vennconstructions.com/data/files/genomics-lab-after10.jpg'); overflow: hidden; }
.vpp-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,16,43,.93),rgba(4,16,43,.56) 62%,rgba(4,16,43,.22)); }
.vpp-hero::after { content: ''; position: absolute; left: -8%; right: -8%; bottom: -76px; height: 120px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.vpp-hero__in { position: relative; z-index: 1; width: min(1180px,calc(100% - 48px)); margin: 0 auto; padding: 120px 0 105px; }
.vpp-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: #c9d6e9; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.vpp-kicker::before { content: ''; width: 42px; height: 2px; background: currentColor; }
.vpp-hero h1 { margin: 0; color: #fff; font-size: clamp(52px,6vw,76px); line-height: 1; letter-spacing: -.045em; }
.vpp-hero p:last-child { max-width: 720px; margin: 22px 0 0; color: #e8eef7; font-size: 19px; line-height: 1.65; }
.vpp-intro { padding: 75px 24px 10px; }
.vpp-intro__in { width: min(1180px,100%); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.vpp-label { margin: 0; color: #d33b24; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.vpp-intro h2 { margin: 10px 0 0; color: #071a45; font-size: clamp(34px,4vw,52px); line-height: 1.08; letter-spacing: -.035em; }
.vpp-intro p:last-child { margin: 0; color: #5d6672; font-size: 18px; line-height: 1.75; }
.vpp-cta { padding: 75px 24px 90px; background: #eef0f3; }
.vpp-cta__in { width: min(1180px,100%); margin: 0 auto; padding: 50px 56px; background: #071a45; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 35px; border-left: 6px solid #d33b24; }
.vpp-cta h2 { margin: 0; font-size: clamp(29px,3.5vw,43px); line-height: 1.1; }
.vpp-cta p { margin: 12px 0 0; color: #cbd5e3; }
.vpp-btn { display: inline-flex; min-height: 52px; padding: 0 25px; align-items: center; border-radius: 999px; background: #fff; color: #071a45; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }

/* Services page spacing. */
.page-id-13 .vp-inline-1 { max-width: none; margin-top: 18px; }

@media (max-width: 900px) {
	.vp-img { height: 420px; }
}

@media (max-width: 700px) {
	.venn-form-section { padding: 70px 18px 80px; }
	.venn-form-card { padding: 34px 24px 38px; }
	.venn-form-card .wpcf7-form { grid-template-columns: 1fr; }
	.venn-form-card .wpcf7-form > p { grid-column: 1 / -1; }
	.vpp-hero__in { width: calc(100% - 36px); padding: 90px 0 82px; }
	.vpp-intro__in { grid-template-columns: 1fr; gap: 25px; }
	.vpp-cta__in { padding: 40px 28px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
	.vp-img { height: 330px; }
}
