/* Release corrections preserve established card dimensions and the system font stack. */
.et-current-page{background:#e1f4f1!important;color:#045e5a!important;box-shadow:inset 3px 0 #087b76}
.public-hero>.wrap{max-width:var(--wrap,1200px);width:calc(100% - 48px);margin-inline:auto;padding-inline:0}
.public-hero h1,.public-hero .service-hero-intro,.public-hero> .wrap>p{max-width:100%!important}
.et-shield-brand{max-width:220px;height:auto}
.legal-header .legal-nav{flex-wrap:wrap;gap:16px}.legal-nav-links{display:flex;flex-wrap:wrap;gap:12px 18px}.legal-nav-links a{font-weight:700}
.footer-legal-hub-link:after{margin-left:8px;font-weight:900;vertical-align:middle}
.linkedin-profile{margin-bottom:0!important}.founder-card{padding-bottom:24px}
.service-pricing-disclaimer,.about-proof-section{background:#04172f!important;color:#fff!important;border-color:#04172f!important;padding:20px 24px!important}
.service-pricing-disclaimer strong,.about-proof-section strong{color:#fff!important}
.footer-columns{column-gap:32px}.footer-column{min-width:0}
.et-org-policies{border-top:1px solid #d7e3e8;padding:24px 0}.et-org-policies label{display:block;margin:12px 0}
@media(min-width:900px){.et-capabilities-61502{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;align-content:start}.et-capabilities-61502 li{margin:0!important}.footer-company-clean .footer-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.footer-company-clean .footer-link-list>a:nth-child(-n+4){grid-column:1}.footer-company-clean .footer-link-list>a:nth-child(5){grid-column:2;grid-row:1}.footer-company-clean .footer-link-list>a:nth-child(6){grid-column:2;grid-row:2}}
@media(max-width:640px){.public-hero>.wrap{width:calc(100% - 36px)}.ets-actions{flex-wrap:wrap}.et-shield-brand{max-width:190px}}

/* Correction review: one public hero measure; override legacy specificity explicitly. */
:root{--et-public-hero-copy:804px}
body .hero.simplified-hero .hero-copy,
body .public-hero.public-hero>.wrap>.eyebrow,
body .public-hero.public-hero>.wrap>h1,
body .public-hero.public-hero>.wrap>p:not(.eyebrow),
body .public-hero.public-hero>.wrap>.hub-breadcrumb,
body .public-hero.public-hero>.wrap>.brand-hero-breadcrumb,
body .public-hero.public-hero>.wrap>.hub-hero-actions,
body .public-hero.public-hero>.wrap>.shop-hero-actions,
body .public-hero.public-hero>.wrap>.case-detail-hero{width:100%!important;max-width:var(--et-public-hero-copy)!important;box-sizing:border-box!important}
body .hero.simplified-hero .hero-copy>h1,
body .hero.simplified-hero .hero-copy>p,
body .public-hero.public-hero>.wrap>h1,
body .public-hero.public-hero>.wrap>p:not(.eyebrow){width:100%!important;max-width:var(--et-public-hero-copy)!important;text-wrap:pretty}
body .public-hero.public-hero>.wrap{width:min(1200px,calc(100% - 40px))!important;max-width:1200px!important}
/* Quote guidance mirrors the navy account introduction and sits beside the form. */
.quote-page-grid{grid-template-columns:minmax(270px,.72fr) minmax(0,1.5fr)}
.quote-help-card{grid-column:1;grid-row:1;background:#04172f;color:#fff;align-self:start}
.quote-form-card{grid-column:2;grid-row:1;min-width:0}
.quote-help-card h2,.quote-help-card strong{color:#fff}
.quote-help-card p,.quote-help-card li{color:#d5e3ef}
.quote-help-card .eyebrow,.quote-help-card a{color:#72e4db}
.quote-help-card .quote-email-note{background:#0b2c4d;border-color:#295271;color:#d5e3ef}
.home-insights-preview+#contact{background:#f5f8fb;border-top:1px solid #dce6ee}
@media(max-width:850px){.quote-page-grid{grid-template-columns:1fr}.quote-help-card,.quote-form-card{grid-column:auto;grid-row:auto}}
@media(max-width:640px){body .public-hero.public-hero>.wrap{width:calc(100% - 28px)!important}}
/* Footer: compact category gaps, with enough width to avoid broken link labels. */
.footer .footer-main-clean{column-gap:18px!important;row-gap:28px!important}
.footer .footer-services-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:16px!important}
.footer .footer-company-clean .footer-link-list{align-content:start!important;grid-template-columns:1fr!important;gap:9px!important}
.footer .footer-company-clean .footer-link-list>a{grid-column:auto!important;grid-row:auto!important}
@media(min-width:1100px){
.footer .footer-main-clean{grid-template-columns:minmax(190px,.85fr) minmax(330px,1.35fr) minmax(180px,.72fr) minmax(240px,1fr)!important}
.footer .footer-company-clean .footer-link-list{grid-template-columns:repeat(2,minmax(110px,1fr))!important;column-gap:14px!important}
.footer .footer-company-clean .footer-link-list>a:nth-child(-n+4){grid-column:1!important}
.footer .footer-company-clean .footer-link-list>a:nth-child(5){grid-column:2!important;grid-row:1!important}
.footer .footer-company-clean .footer-link-list>a:nth-child(6){grid-column:2!important;grid-row:2!important}
}
@media(min-width:641px) and (max-width:1099px){.footer .footer-main-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.footer .footer-main-clean{grid-template-columns:1fr!important}.footer .footer-services-list{grid-template-columns:1fr!important;row-gap:10px!important}}

/* Staging audit: keep the approved homepage card rules in the base theme. */
/* Existing hidden option inputs must not inherit full-width text-field sizing. */
.quote-form .service-option{position:relative}
.quote-form .service-option input[type="checkbox"]{width:18px!important;height:18px!important;max-width:18px!important;min-width:0!important;min-height:0!important;left:0;top:0;margin:0!important;padding:0!important}
/* Match paragraph measures despite the legacy hub/brand-wave specificity. */
body .hub-hero.hub-hero:not(.staff-portal-hero)>.wrap>p:not(.eyebrow),
body .brand-wave-hero.brand-wave-hero:not(.staff-portal-hero):not(.trade-approvals-hero)>.wrap>p:not(.eyebrow),
body .brand-wave-hero.brand-wave-hero:not(.staff-portal-hero):not(.trade-approvals-hero) .case-detail-hero>p:not(.eyebrow){max-width:var(--et-public-hero-copy)!important;width:100%!important}

/* 6.15.05: content-sized, equal-height repeated cards; approved home service/proof/engagement layouts remain untouched. */
body :is(.hub-service-index-grid,.case-index-grid,.service-detail-crosslinks,.service-pricing-grid,.home-insights-grid,.insights-grid,.insights-index-grid,.legal-policy-card-grid,.service-related-case-grid,.et-vault-benefit-grid,.et-vault-pricing-grid,.ets-grid,.ets-plans){grid-auto-rows:1fr!important;align-items:stretch!important}
body :is(.hub-service-index-card,.case-index-card,.service-detail-crosslinks>a,.service-pricing-grid>article,.home-insights-grid>article,.insights-grid>article,.insights-index-card,.legal-policy-card,.service-related-case-grid>a,.et-supply-page-v61482 .hardware-category-card,.et-vault-benefit-grid>article,.et-vault-price-card,.ets-grid>.ets-card,.ets-plan){display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:0!important;height:auto;box-sizing:border-box!important;padding-bottom:12px!important}
body :is(.hub-service-index-card,.case-index-card,.service-detail-crosslinks>a,.service-pricing-grid>article,.home-insights-grid>article,.insights-grid>article,.insights-index-card,.legal-policy-card,.service-related-case-grid>a,.et-supply-page-v61482 .hardware-category-card,.et-vault-benefit-grid>article,.et-vault-price-card,.ets-grid>.ets-card,.ets-plan)>p:last-of-type{margin-bottom:0!important}
body :is(.hub-service-index-card>strong:last-child,.case-index-card>a:last-child,.service-detail-crosslinks>a>span:last-child,.service-pricing-grid>article>a:last-child,.home-insights-grid>article>a:last-child,.insights-grid>article>a:last-child,.insights-index-card>a:last-child,.insights-index-card>.insights-index-actions,.legal-policy-card>strong:last-child,.service-related-case-grid>a>span:last-child,.et-supply-page-v61482 .hardware-category-card>strong:last-child,.et-vault-price-card>a:last-child,.ets-plan>.ets-btn:last-child){margin-top:auto!important;margin-bottom:0!important;padding-top:12px!important;align-self:flex-start!important;text-align:left!important}
body .case-index-card>strong{margin-bottom:0!important}
body .ets-plan ul{flex:none!important;margin-bottom:0!important}
body .ets-plan-for{min-height:0!important}

/* 6.15.06: complete the public information-card audit, including project prices. */
body :is(.service-full-detail .project-grid,.service-full-detail .procurement-grid,.service-full-detail .hosting-grid,.service-full-detail .infra-capability-grid,.service-full-detail .infra-lead-grid,.service-full-detail .service-grid,.service-full-detail .pricing-grid,.service-full-detail .stack-cards,.service-full-detail .sector-grid,.positioning-grid,.about-value-grid){grid-auto-rows:1fr!important;align-items:stretch!important}
body :is(.service-full-detail .project-grid>article,.service-full-detail .procurement-grid>article,.service-full-detail .hosting-grid>article,.service-full-detail .infra-capability-grid>article,.service-full-detail .infra-lead-card,.service-full-detail .service-grid>article,.service-full-detail .price-card,.service-full-detail .stack-cards>article,.service-full-detail .sector-grid>article,.positioning-grid>article,.about-value-grid>article){display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:0!important;height:auto!important;box-sizing:border-box!important;padding-bottom:12px!important}
body :is(.service-full-detail .project-grid>article,.service-full-detail .procurement-grid>article,.service-full-detail .hosting-grid>article,.service-full-detail .infra-capability-grid>article,.service-full-detail .infra-lead-card,.service-full-detail .service-grid>article,.service-full-detail .price-card,.service-full-detail .stack-cards>article,.service-full-detail .sector-grid>article,.positioning-grid>article,.about-value-grid>article)>p{min-height:0!important}
body :is(.service-full-detail .project-grid>article,.service-full-detail .procurement-grid>article,.service-full-detail .hosting-grid>article,.service-full-detail .infra-capability-grid>article,.service-full-detail .infra-lead-card,.service-full-detail .service-grid>article,.service-full-detail .price-card,.service-full-detail .stack-cards>article,.service-full-detail .sector-grid>article,.positioning-grid>article,.about-value-grid>article)>p:last-of-type{margin-bottom:0!important}
body :is(.service-full-detail .project-grid>article,.service-full-detail .procurement-grid>article,.service-full-detail .hosting-grid>article,.service-full-detail .infra-capability-grid>article,.service-full-detail .infra-lead-card,.service-full-detail .service-grid>article,.service-full-detail .price-card,.service-full-detail .stack-cards>article,.service-full-detail .sector-grid>article,.positioning-grid>article,.about-value-grid>article)>:is(a,strong):last-child{margin-top:auto!important;margin-bottom:0!important;padding-top:12px!important;align-self:flex-start!important;text-align:left!important}
body .service-full-detail .expertise-grid{grid-auto-rows:1fr!important;align-items:stretch!important}
body .service-full-detail .expertise-card{min-height:0!important;height:auto!important;padding-bottom:12px!important}

/* 6.15.07 approved compact section rhythm. Keep hero, form and portal layouts scoped separately. */
body main>section:not(.hero):not(.public-hero):not(.hub-hero):not(.brand-wave-hero):not([class*="hero"]),
body main .section:not([class*="hero"]),
body main .et-vault-section,
body main .ets-section{padding-top:20px!important;padding-bottom:20px!important}
body main :is(.home-service-grid,.featured-experience-grid,.et-engagement-choice__grid,.home-insights-grid,.home-work-grid,.hub-service-index-grid,.case-index-grid,.case-detail-grid,.service-detail-crosslinks,.service-pricing-grid,.insights-grid,.insights-index-grid,.legal-policy-card-grid,.service-related-case-grid,.hardware-category-grid,.et-vault-benefit-grid,.et-vault-pricing-grid,.ets-grid,.ets-plans,.expertise-grid,.service-grid,.project-grid,.pricing-grid,.founders-grid,.sector-grid,.infra-capability-grid,.infra-lead-grid,.hosting-grid,.why-grid,.example-grid,.positioning-grid,.about-value-grid,.about-proof-grid,.et-booking-grid,.et-booking-after-grid-v61387,.et-booking-after-grid-v61386,.et-linkedin-card-grid,.et-article-card-grid,.supply-details-grid-v61482,.supply-process-grid-v61483){gap:8px!important}
body main .service-full-detail .procurement-grid{gap:8px!important}
/* Neutralise trailing content margins so section bottom space remains 20px. */
body main>.section>.wrap>:last-child,
body main>.section>:last-child:not(.wrap),
body main .et-vault-section>:last-child,
body main .ets-section>:last-child{margin-bottom:0!important}

/* 6.15.08: override legacy ID-based spacing on text-only sections as well. */
:root{--section-y-desktop:20px;--section-y-tablet:20px;--section-y-mobile:20px}
body main section:is(#about,#contact,section):not([class*="hero"]),
body main.section,
body main :is(.hub-list-section,.service-detail-content,.insight-article-section,.case-studies-index-content,.case-study-detail-content,.services-index-why,.product-section,.account-page-content,.quote-page-shell,.trade-registration-page,.et-vault-section,.ets-section){padding-top:20px!important;padding-bottom:20px!important}
body main section:is(#about,#contact,section):not([class*="hero"])>.wrap>:first-child{margin-top:0!important}
body main section:is(#about,#contact,section):not([class*="hero"])>.wrap>:last-child{margin-bottom:0!important}
