/* Isolated resource module; existing page, navigation and case styles stay intact. */
.whitepaper-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:center;padding:36px;background:#f5f7f9;border:1px solid #e1e7ec;color:var(--ink,#171a1d)}
.whitepaper-cover{margin:0;align-self:center;max-width:100%}
.whitepaper-cover img{display:block;width:100%;height:auto;aspect-ratio:320/453;object-fit:contain;box-shadow:0 6px 20px #00396514}
.whitepaper-copy{min-width:0}
.whitepaper-card .whitepaper-title{margin:0;font-size:28px;line-height:1.35;font-weight:600;text-wrap:balance}
.whitepaper-card .whitepaper-subtitle{margin:14px 0 0;font-size:17px;line-height:1.65;font-weight:500}
.whitepaper-card .whitepaper-meta{margin:14px 0 0;font-size:12px;line-height:1.5;color:#66717a}
.whitepaper-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.whitepaper-actions .sub-button{min-width:164px;max-width:100%;text-decoration:none;border:0;cursor:pointer;font-family:inherit}
.whitepaper-actions .whitepaper-arrow{width:20px;height:20px;flex:0 0 20px}
.whitepaper-resource-wrap{padding:30px}
.whitepaper-resource-wrap .whitepaper-card{grid-template-columns:160px minmax(0,1fr);gap:28px;padding:0;background:transparent;border:0}
.whitepaper-resource-wrap .whitepaper-title{font-size:24px}
.whitepaper-resource-wrap .whitepaper-subtitle{font-size:15px}
.whitepaper-dialog{width:min(760px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;color:var(--ink,#171a1d)}
.whitepaper-dialog:not([open]){display:none}
.whitepaper-dialog[open]{display:flex;flex-direction:column}
.whitepaper-dialog .dialog-body{padding:24px 30px;overflow:auto;overscroll-behavior:contain;min-height:0}
.whitepaper-dialog .dialog-head h2{font-size:22px;line-height:1.4}
.whitepaper-dialog .whitepaper-intro-lead{margin:0 0 20px;font-size:16px;line-height:1.65}
.whitepaper-dialog .whitepaper-intro-list{padding:0;margin:0;list-style:none;display:grid;gap:16px}
.whitepaper-dialog .whitepaper-intro-list li{padding-bottom:16px;border-bottom:1px solid #e1e7ec;font-size:14px;line-height:1.7;color:#505a63}
.whitepaper-dialog .whitepaper-intro-list strong{display:block;margin-bottom:4px;color:var(--ink,#171a1d);font-size:16px}
.whitepaper-dialog .whitepaper-intro-meta{font-size:13px;line-height:1.6;color:#66717a;margin:20px 0 0}
.whitepaper-lead-form{display:grid;gap:16px}
.whitepaper-lead-form label{display:grid;gap:7px;font-size:14px}
.whitepaper-lead-form .whitepaper-required{color:#c62828;margin-left:4px;font-weight:600}
.whitepaper-lead-form .whitepaper-form-note{margin:0;font-size:12px;line-height:1.6;color:#66717a}
#whitepaper-lead .whitepaper-lead-form input{width:100%;box-sizing:border-box;min-height:44px;border:1px solid #bcc6cd;padding:10px;font:inherit;font-size:16px;margin-top:0}
.whitepaper-lead-form [role=status]{font-size:14px;line-height:1.6;color:#505a63;min-height:1.6em;margin:0}
.whitepaper-lead-form button:disabled{opacity:.65;cursor:wait}
html[lang=en] .whitepaper-card .whitepaper-title{font-size:27px;line-height:1.3}
html[lang=en] .whitepaper-resource-wrap .whitepaper-title{font-size:23px}
@media(max-width:760px){
 .whitepaper-card{grid-template-columns:170px minmax(0,1fr);gap:24px;padding:24px}
 .whitepaper-card .whitepaper-title,html[lang=en] .whitepaper-card .whitepaper-title{font-size:23px}
 .whitepaper-actions .sub-button{min-width:0}
}
@media(max-width:600px){
 .whitepaper-card,.whitepaper-resource-wrap .whitepaper-card{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px 20px}
 .whitepaper-cover{width:170px;justify-self:center}
 .whitepaper-card .whitepaper-title,html[lang=en] .whitepaper-card .whitepaper-title{font-size:22px;text-wrap:initial}
 .whitepaper-card .whitepaper-subtitle{font-size:16px;line-height:1.55}
 .whitepaper-actions{gap:10px}
 .whitepaper-actions .sub-button{flex:1 1 150px;font-size:14px;gap:10px}
 .whitepaper-resource-wrap{padding:22px 18px}
 .whitepaper-resource-wrap .whitepaper-card{padding:0}
 .whitepaper-dialog{width:calc(100vw - 28px);max-height:calc(100dvh - 28px)}
 .whitepaper-dialog .dialog-body{padding:20px}
 .whitepaper-dialog .dialog-head{padding:20px}
 .whitepaper-dialog .dialog-head h2{font-size:20px}
}

/* Keep the invitation's text and actions side by side, with a smaller resource on its right. */
#engineering-page .engineering-closing{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px;align-items:stretch;padding-top:18px;padding-bottom:64px}
#engineering-page .engineering-closing>.sub-cta{display:grid;grid-template-columns:minmax(0,1fr) 235px;align-items:center;gap:24px;width:auto;min-width:0;margin:0;padding:18px 0}
#engineering-page .engineering-closing>.sub-cta .sub-cta-buttons{width:235px;max-width:100%;margin:0}
#engineering-page .engineering-closing>#engineering-whitepaper{display:flex;min-width:0;margin:0;padding:0}
#engineering-whitepaper .whitepaper-card{width:100%;grid-template-columns:88px minmax(0,1fr);gap:16px;padding:16px;align-items:center;background:transparent;border:0}
#engineering-whitepaper .whitepaper-title,html[lang=en] #engineering-whitepaper .whitepaper-title{font-size:20px;line-height:1.35;text-wrap:initial}
#engineering-whitepaper .whitepaper-subtitle{font-size:13px;line-height:1.6;margin-top:8px}
#engineering-whitepaper .whitepaper-meta{font-size:11px;line-height:1.5;margin-top:10px}
#engineering-whitepaper .whitepaper-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:16px;margin-top:14px}
#engineering-whitepaper .whitepaper-actions .sub-button{width:100%;min-width:0;min-height:40px;font-size:12px;gap:8px;padding:10px}
#engineering-whitepaper .whitepaper-actions .whitepaper-arrow{width:16px;height:16px;flex-basis:16px}
@media(max-width:1100px) and (min-width:1024px){
 #engineering-page .engineering-closing{gap:24px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
 #engineering-page .engineering-closing>.sub-cta{grid-template-columns:minmax(0,1fr) 205px;gap:18px}
 #engineering-page .engineering-closing>.sub-cta .sub-cta-buttons{width:205px}
 #engineering-whitepaper .whitepaper-card{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:14px}
 #engineering-whitepaper .whitepaper-title,html[lang=en] #engineering-whitepaper .whitepaper-title{font-size:18px}
}
@media(max-width:1023px){
 #engineering-page .engineering-closing{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:12px;padding-bottom:46px}
 #engineering-page .engineering-closing>.sub-cta{padding:0;gap:20px}
 #engineering-whitepaper .whitepaper-card{grid-template-columns:110px minmax(0,1fr)}
}
@media(max-width:600px){
 #engineering-page .engineering-closing>.sub-cta{grid-template-columns:minmax(0,1fr)}
 #engineering-page .engineering-closing>.sub-cta .sub-cta-buttons{width:260px}
 #engineering-whitepaper .whitepaper-card{grid-template-columns:minmax(0,1fr);padding:24px 20px}
 #engineering-whitepaper .whitepaper-title,html[lang=en] #engineering-whitepaper .whitepaper-title{font-size:22px}
 #engineering-whitepaper .whitepaper-subtitle{font-size:15px}
 #engineering-whitepaper .whitepaper-actions{grid-template-columns:minmax(0,1fr)}
 #engineering-whitepaper .whitepaper-actions .sub-button{font-size:14px;min-height:48px}
}

/* Keep text/action edges aligned; the unchanged full cover extends above the compact copy. */
@media(min-width:1024px){
 #engineering-page .engineering-closing{grid-template-columns:minmax(0,1.5fr) minmax(480px,1fr);padding-top:98px}
 #engineering-page .engineering-closing>.sub-cta{padding-block:0}
 #engineering-page .engineering-closing>.sub-cta>div:first-child{align-self:start}
 #engineering-page .engineering-closing>.sub-cta .sub-cta-buttons{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;gap:14px}
 #engineering-page .engineering-closing>.sub-cta .sub-cta-buttons .sub-button{flex:0 0 auto}
 #engineering-whitepaper .whitepaper-card{grid-template-columns:160px minmax(0,1fr);padding:0}
 #engineering-whitepaper .whitepaper-cover{align-self:end;height:0;position:relative}
 #engineering-whitepaper .whitepaper-cover img{position:absolute;bottom:0;left:0}
 #engineering-whitepaper .whitepaper-copy{align-self:stretch;display:flex;flex-direction:column}
 #engineering-whitepaper .whitepaper-subtitle{margin-top:6px}
 #engineering-whitepaper .whitepaper-meta{margin-top:6px}
 #engineering-whitepaper .whitepaper-actions{margin-top:auto;padding-top:10px;flex-wrap:nowrap;align-items:stretch}
}
