/* Everydai flexible layouts. Parent-theme-independent, using the existing design tokens. */
.ed-ux[data-ed-module] .ed-flex-grid{display:grid;gap:20px;align-items:stretch}
.ed-ux[data-ed-module] .ed-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ed-ux[data-ed-module] .ed-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ed-ux[data-ed-module] .ed-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ed-ux[data-ed-module] .ed-flex-card{display:flex;flex-direction:column;gap:18px;min-width:0;padding:30px;border:1px solid var(--ed-line);border-radius:var(--ed-radius);background:var(--ed-cream);overflow-wrap:anywhere}
.ed-ux[data-ed-module] .ed-flex-card:nth-child(3n+2){background:var(--ed-sand)}
.ed-ux[data-ed-module] .ed-flex-card:nth-child(3n){background:var(--ed-blue)}
.ed-ux[data-ed-module] .ed-flex-card h3{font-size:clamp(23px,2.2vw,30px);line-height:1.18;font-weight:500}
.ed-ux[data-ed-module] .ed-flex-card>.ed-link{margin-top:auto;align-self:flex-start}
.ed-ux[data-ed-module] .ed-card-icon{width:30px;height:30px;flex:none}
.ed-ux[data-ed-module] .ed-card-media{aspect-ratio:3/2;overflow:hidden;border-radius:16px}
.ed-ux[data-ed-module] .ed-card-media img{width:100%;height:100%;object-fit:cover}
.ed-ux[data-ed-module] .ed-card-metric{font-size:clamp(36px,4vw,56px);line-height:1.1;letter-spacing:-.04em}
.ed-ux[data-ed-module] .ed-card-metric-label{font-size:15px;margin-top:-10px}
.ed-ux[data-ed-module] .ed-cards-compact .ed-flex-card{padding:24px;gap:14px}
.ed-ux[data-ed-module] .ed-cards-compact .ed-card-media{max-height:120px;aspect-ratio:auto}
.ed-ux[data-ed-module] .ed-flex-section>.ed-link{margin-top:26px}
.ed-ux[data-ed-module] .ed-editorial-v2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,68px);align-items:center}
.ed-ux[data-ed-module] .ed-editorial-v2>*{min-width:0}
.ed-ux[data-ed-module] .ed-editorial-v2.ed-media-right>.ed-editorial-frame{order:2}
.ed-ux[data-ed-module] .ed-editorial-v2.ed-width-media_wide{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.ed-ux[data-ed-module] .ed-editorial-v2.ed-width-media_wide.ed-media-right{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
.ed-ux[data-ed-module] .ed-editorial-v2.ed-bg-subtle{padding:clamp(22px,4vw,48px);border-radius:var(--ed-radius);background:var(--ed-cream)}
.ed-ux[data-ed-module] .ed-editorial-v2 .ed-editorial-frame{height:auto;min-height:0}
.ed-ux[data-ed-module] .ed-editorial-v2 .ed-editorial-frame img{position:static;aspect-ratio:5/4;width:100%;height:auto;object-fit:cover}
.ed-ux[data-ed-module] .ed-editorial-v2.ed-fit-contain .ed-editorial-frame img{object-fit:contain;aspect-ratio:auto;max-height:560px;filter:none}
.ed-ux[data-ed-module] .ed-editorial-v2 figcaption{position:static;font-size:14px;margin-top:14px;padding:0;background:none;color:var(--ed-ink)}
.ed-ux[data-ed-module] .ed-without-media{grid-template-columns:minmax(0,1fr)!important}
.ed-ux[data-ed-module] .ed-editorial-v2.ed-without-media>.ed-flow{max-width:850px}
.ed-ux[data-ed-module] .ed-quote-v2.ed-without-media{max-width:1000px;margin-inline:auto}
.ed-ux[data-ed-module] .ed-quote-credit{margin-top:24px;font-weight:500}
.ed-ux[data-ed-module] .ed-quote-v2 .ed-prose{margin-top:18px}
.ed-ux[data-ed-module] .ed-cta-banner{padding:clamp(26px,4vw,44px);gap:36px;align-items:center}
.ed-ux[data-ed-module] .ed-cta-banner h2{font-size:clamp(30px,3.3vw,44px)}
.ed-ux[data-ed-module] .ed-human-cta .ed-actions{margin-top:24px}
.ed-ux[data-ed-module] .ed-human-cta .ed-actions>.ed-link{color:var(--ed-white);border-color:currentColor}
.ed-ux[data-ed-module] .ed-hero-compact .ed-service-main{padding:clamp(24px,4vw,40px)}
.ed-ux[data-ed-module] .ed-hero-compact .ed-service-main figure{min-height:300px}
.ed-ux[data-ed-module] .ed-hero-compact .ed-display{font-size:clamp(34px,4.5vw,58px)}
.ed-ux[data-ed-module] .ed-service-main.ed-without-media .ed-flow{max-width:900px}
.ed-ux[data-ed-module] .ed-service-main.ed-without-media .ed-prose{max-width:65ch}
.ed-ux[data-ed-module] .ed-compact-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ed-ux[data-ed-module] .ed-compact-cases.ed-case-count-1{grid-template-columns:minmax(0,1fr)}
.ed-ux[data-ed-module] .ed-compact-cases.ed-case-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ed-ux[data-ed-module] .ed-compact-case{border:1px solid var(--ed-line);border-radius:var(--ed-radius);overflow:hidden;display:flex;flex-direction:column;background:var(--ed-white);min-width:0}
.ed-ux[data-ed-module] .ed-compact-case-image{aspect-ratio:16/9;overflow:hidden}
.ed-ux[data-ed-module] .ed-compact-case-image img{width:100%;height:100%;object-fit:cover;border-radius:0}
.ed-ux[data-ed-module] .ed-compact-case>div:last-child{padding:26px;display:flex;flex-direction:column;gap:16px;flex:1}
.ed-ux[data-ed-module] .ed-compact-case h3{font-size:27px;line-height:1.2}
.ed-ux[data-ed-module] .ed-compact-case .ed-link{margin-top:auto;align-self:flex-start}
.ed-ux[data-ed-module] .ed-case-count-1 .ed-compact-case{display:grid;grid-template-columns:1fr 1fr}
.ed-ux[data-ed-module] .ed-case-count-1 .ed-compact-case-image{height:100%;aspect-ratio:auto;min-height:260px}
.ed-ux[data-ed-module] .ed-flex-offers,.ed-ux[data-ed-module] .ed-workflow-flex,.ed-ux[data-ed-module] .ed-process{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.ed-ux[data-ed-module] .ed-flex-offers .ed-offer{min-width:0;gap:22px}
.ed-ux[data-ed-module] .ed-flex-offers .ed-offer .ed-link{margin-top:auto;align-self:flex-start}
.ed-ux[data-ed-module] .ed-flex-offers .ed-offer dl{display:grid;gap:14px}
.ed-ux[data-ed-module] .ed-flex-offers .ed-offer dl:empty{display:none}
.ed-ux[data-ed-module] .ed-flex-offers .ed-offer-audience{font-weight:500}
.ed-ux[data-ed-module] .ed-head:has(> :only-child){grid-template-columns:minmax(0,1fr)}
.ed-ux[data-ed-module] .ed-head:empty,.ed-ux[data-ed-module] .ed-actions:empty{display:none}
@media(max-width:1023px){
.ed-ux[data-ed-module] .ed-flex-grid,.ed-ux[data-ed-module] .ed-compact-cases.ed-case-count-3{grid-template-columns:repeat(2,minmax(0,1fr))}
.ed-ux[data-ed-module] .ed-editorial-v2,.ed-ux[data-ed-module] .ed-editorial-v2.ed-width-media_wide,.ed-ux[data-ed-module] .ed-editorial-v2.ed-width-media_wide.ed-media-right{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
.ed-ux[data-ed-module] .ed-flex-grid,.ed-ux[data-ed-module] .ed-compact-cases,.ed-ux[data-ed-module] .ed-compact-cases.ed-case-count-3,.ed-ux[data-ed-module] .ed-case-count-1 .ed-compact-case,.ed-ux[data-ed-module] .ed-editorial-v2,.ed-ux[data-ed-module] .ed-editorial-v2.ed-width-media_wide,.ed-ux[data-ed-module] .ed-editorial-v2.ed-width-media_wide.ed-media-right{grid-template-columns:minmax(0,1fr)}
.ed-ux[data-ed-module] .ed-editorial-v2.ed-media-right>.ed-editorial-frame{order:0}
.ed-ux[data-ed-module] .ed-flex-card{padding:24px}
.ed-ux[data-ed-module] .ed-flex-offers,.ed-ux[data-ed-module] .ed-workflow-flex,.ed-ux[data-ed-module] .ed-process{grid-template-columns:minmax(0,1fr)}
.ed-ux[data-ed-module] .ed-cta-banner{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:1024px){
.ed-ux[data-ed-module] .ed-flex-offers:has(>article:nth-child(4)),.ed-ux[data-ed-module] .ed-workflow-flex:has(>article:nth-child(4)),.ed-ux[data-ed-module] .ed-process:has(>article:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:768px) and (max-width:1023px){
.ed-ux[data-ed-module] .ed-flex-offers,.ed-ux[data-ed-module] .ed-workflow-flex,.ed-ux[data-ed-module] .ed-process{grid-template-columns:repeat(2,minmax(0,1fr))}
}
