.ew-work { padding: 100px 0; background: #f6f8fc; color: #15263e; }
.ew-work *, .ew-work *::before, .ew-work *::after { box-sizing: border-box; }
.ew-work--listing { background: linear-gradient(155deg, #eaf2ff 0, #f8faff 440px, #f6f8fc 800px); padding-top: 80px; }
.ew-work-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.ew-work .ew-work-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #526783; margin: 0 0 20px; line-height: 1.5; }
.ew-work-eyebrow > span { width: 7px; height: 7px; background: #0875e1; border-radius: 50%; box-shadow: 0 0 0 5px #0875e110; }
.ew-work-heading h1, .ew-work-heading h2 { font-size: clamp(38px, 4.8vw, 66px); font-weight: 600; line-height: 1.1; letter-spacing: -2.5px; margin: 0; color: #15263e; }
.ew-work-heading em { color: #0875e1; font-weight: 400; }
.ew-work .ew-work-intro { max-width: 410px; font-size: 15px; line-height: 1.85; color: #5d6c80; margin: 0; }
.ew-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ew-work--home .ew-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ew-work-card { min-width: 0; background: #fff; border: 1px solid #dfe6ef; border-radius: 18px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ew-work-card[hidden], .ew-work-toolbar[hidden] { display: none; }
.ew-work-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.ew-work-image { position: relative; overflow: hidden; align-self: start; width: 100%; background: #eaf0f7; border-bottom: 1px solid #edf0f5; }
.ew-work-image img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.ew-work-open { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #15263e; box-shadow: 0 4px 16px #15263e14; font-size: 25px; transition: background .25s, color .25s, transform .25s; }
.ew-work-card-body { padding: 26px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.ew-work .ew-work-category { margin: 0 0 12px; font-size: 10px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.4px; color: #47648a; }
.ew-work-card h2, .ew-work-card h3 { font-size: 26px; line-height: 1.3; letter-spacing: -.7px; font-weight: 600; color: #15263e; margin: 0 0 8px; }
.ew-work .ew-work-description { color: #5d6c80; font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.ew-work-read { display: flex; align-items: center; justify-content: space-between; width: 100%; border-top: 1px solid #edf0f5; padding-top: 17px; margin-top: auto; font-size: 12px; font-weight: 500; color: #0868c5; }
.ew-work-read > span { font-size: 20px; }
.ew-work-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 38px; }
.ew-work-bottom p { margin: 0; color: #5d6c80; font-size: 13px; line-height: 1.7; }
.ew-work-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; flex-shrink: 0; padding: 15px 23px; min-height: 52px; border-radius: 8px; background: #0875e1; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.6; transition: background .2s, transform .2s; }
.ew-work-button span { font-size: 21px; }.ew-work-button:hover { background: #065cad; color: #fff; transform: translateY(-2px); }
.ew-work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #dce4ef; padding-top: 25px; margin-bottom: 32px; }
.ew-work-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ew-work-filters button { appearance: none; font: inherit; font-size: 12px; line-height: 1.5; min-height: 44px; padding: 10px 16px; border-radius: 30px; border: 1px solid #dce4ef; background: #fff; color: #52627a; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ew-work-filters button:hover { border-color: #0875e1; color: #0868c5; }.ew-work-filters button[aria-pressed="true"] { color: #fff; background: #15263e; border-color: #15263e; }
.ew-work .ew-work-count { flex-shrink: 0; color: #5d6c80; margin: 0; font-size: 12px; line-height: 1.5; }
.ew-work-cta { margin-top: 64px; padding: 46px; border-radius: 20px; background: #15263e; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ew-work-cta .ew-work-eyebrow { color: #9fc9ff; }.ew-work-cta h2 { color: #fff; font-size: clamp(25px, 3vw, 35px); letter-spacing: -1px; line-height: 1.25; margin: 0 0 12px; }.ew-work-cta p { color: #c0cdde; font-size: 14px; line-height: 1.8; margin: 0; }
.ew-work a:focus-visible, .ew-work button:focus-visible { outline: 3px solid #0875e1; outline-offset: 5px; }.ew-work-link:focus-visible { outline-offset: -4px; }
@media (hover: hover) { .ew-work-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px #15263e0d; border-color: #b8cde7; }.ew-work-card:hover img { transform: scale(1.025); }.ew-work-card:hover .ew-work-open { background: #0875e1; color: #fff; transform: rotate(6deg); } }
@keyframes ew-work-enter { from { opacity: .25; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.ew-work-card.is-entering { animation: ew-work-enter .45s ease both; }
@media (max-width: 991px) { .ew-work { padding: 65px 0; }.ew-work-heading { align-items: flex-start; flex-direction: column; gap: 24px; }.ew-work .ew-work-intro { max-width: 580px; }.ew-work--home .ew-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.ew-work--home .ew-work-card:last-child { grid-column: 1 / -1; }.ew-work--home .ew-work-card:last-child .ew-work-link { display: grid; grid-template-columns: 1fr 1fr; }.ew-work-toolbar { align-items: flex-start; flex-direction: column; }.ew-work-cta { padding: 32px; } }
@media (max-width: 575px) { .ew-work { padding: 48px 0; }.ew-work .container { padding-left: 20px; padding-right: 20px; }.ew-work-heading { margin-bottom: 30px; gap: 20px; }.ew-work-heading h1, .ew-work-heading h2 { font-size: clamp(32px, 9vw, 46px); letter-spacing: -1.5px; }.ew-work .ew-work-eyebrow { font-size: 10px; margin-bottom: 16px; }.ew-work .ew-work-intro { font-size: 14px; }.ew-work-grid, .ew-work--home .ew-work-grid { grid-template-columns: 1fr; gap: 22px; }.ew-work--home .ew-work-card:last-child .ew-work-link { display: flex; }.ew-work-card-body { padding: 22px; }.ew-work-bottom, .ew-work-cta { flex-direction: column; align-items: flex-start; gap: 24px; }.ew-work-cta { margin-top: 40px; padding: 28px 24px; }.ew-work-filters { gap: 7px; }.ew-work-filters button { padding: 9px 12px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .ew-work *, .ew-work *::before, .ew-work *::after { animation: none !important; transition: none !important; }.ew-work-card:hover, .ew-work-card:hover img, .ew-work-card:hover .ew-work-open, .ew-work-button:hover { transform: none; } }
