/* Portfolio shares the service typography, spacing and EGAPRO yellow. */
.egapro-editorial .ed-projects{background:#f7f8f9;scroll-margin-top:115px}
.egapro-editorial .ed-projects .ed-section-heading{max-width:780px}
.egapro-editorial .ed-project-empty{display:flex;align-items:flex-start;gap:30px;padding:38px;background:#fff;border:1px solid var(--ed-line);border-radius:24px}
.egapro-editorial .ed-project-symbol{display:grid;place-items:center;flex:none;width:76px;height:76px;background:#fff7d5;border-radius:20px;color:#62511a}
.egapro-editorial .ed-project-symbol svg{width:43px;height:43px}
.egapro-editorial .ed-project-empty-copy{min-width:0;max-width:740px}
.egapro-editorial .ed-project-status{display:inline-block;font-size:14px;font-weight:500;color:#626973;margin-bottom:10px}
.egapro-editorial .ed-project-empty h3{font-size:24px;line-height:1.3;margin-bottom:12px}
.egapro-editorial .ed-project-empty p{font-size:16px;color:var(--ed-muted);line-height:1.8;max-width:640px}
.egapro-editorial .ed-project-outline{display:flex;gap:12px 24px;flex-wrap:wrap;margin-top:24px;font-size:14px;color:#49505a}
.egapro-editorial .ed-project-outline li{display:flex;align-items:center;gap:8px}
.egapro-editorial .ed-project-outline li::before{content:'';width:16px;height:2px;background:var(--ed-yellow);border-radius:1px;flex:none}
.egapro-editorial .ed-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;grid-auto-rows:1fr;align-items:stretch}
.egapro-editorial .ed-project-card{display:flex;flex-direction:column;overflow:hidden;min-width:0;background:#fff;border:1px solid var(--ed-line);border-radius:24px}
.egapro-editorial .ed-project-photo{margin:0}
.egapro-editorial .ed-project-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;background:#eef0f1}
.egapro-editorial .ed-project-copy{display:flex;flex:1;flex-direction:column;padding:30px}
.egapro-editorial .ed-project-copy h3{font-size:24px;line-height:1.3;margin-bottom:14px;overflow-wrap:anywhere}
.egapro-editorial .ed-project-copy p{font-size:16px;color:var(--ed-muted);line-height:1.8}
.egapro-editorial .ed-project-copy .ed-project-meta{font-size:14px;margin-bottom:12px}
@media(max-width:820px){.egapro-editorial .ed-project-empty{gap:23px;padding:30px}.egapro-editorial .ed-project-grid{gap:20px}.egapro-editorial .ed-project-copy{padding:24px}}
@media(max-width:560px){.egapro-editorial .ed-project-empty{display:block;padding:25px;border-radius:20px}.egapro-editorial .ed-project-symbol{width:60px;height:60px;border-radius:16px;margin-bottom:22px}.egapro-editorial .ed-project-symbol svg{width:34px;height:34px}.egapro-editorial .ed-project-empty h3{font-size:22px}.egapro-editorial .ed-project-outline{gap:12px 18px}.egapro-editorial .ed-project-grid{grid-template-columns:1fr}.egapro-editorial .ed-project-card{border-radius:20px}.egapro-editorial .ed-project-copy h3{font-size:22px}}

/* Published references: complete work and result stay visible without expanding. */
.egapro-editorial .ed-project-copy .ed-project-meta{display:grid;gap:4px;line-height:1.6;overflow-wrap:anywhere;margin-bottom:22px}
.egapro-editorial .ed-project-meta>span:first-child{font-size:14px;color:var(--ed-muted)}
.egapro-editorial .ed-project-field h4{font-size:14px;line-height:1.5;font-weight:600;margin:0 0 8px}
.egapro-editorial .ed-project-field p{margin:0;overflow-wrap:anywhere}
.egapro-editorial .ed-project-result{margin-top:22px;padding-top:20px;border-top:1px solid var(--ed-line)}
.egapro-editorial .ed-project-grid:has(>.ed-project-card:only-child){grid-template-columns:minmax(0,1fr);max-width:900px}

/* Dedicated project stories. Same type, colors and spacing as the service pages. */
.egapro-editorial .ed-project-copy h3 a:hover{text-decoration:underline;text-decoration-color:var(--ed-yellow);text-underline-offset:5px}
.egapro-editorial .ed-project-action{margin-top:auto;padding-top:26px}
.egapro-editorial .ed-project-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border:1px solid var(--ed-yellow);border-radius:14px;background:var(--ed-yellow);color:var(--ed-ink);font-size:15px;line-height:1.4;font-weight:650;min-height:54px;transition:background .2s,border-color .2s}
.egapro-editorial .ed-project-link:hover{background:#f4c300;border-color:#f4c300}
.egapro-editorial .ed-project-link:focus-visible{outline:3px solid var(--ed-ink);outline-offset:4px}
.egapro-editorial .ed-project-link>span{font-size:24px;transition:transform .2s}
.egapro-editorial .ed-project-link:hover>span{transform:translate(3px,-3px)}
.egapro-editorial .ed-case-hero{padding-block:38px 0}
.egapro-editorial .ed-case-breadcrumb{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--ed-muted);margin-bottom:54px}
.egapro-editorial .ed-case-breadcrumb a{min-height:44px;display:inline-flex;align-items:center}
.egapro-editorial .ed-case-heading{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:60px;align-items:end;padding-bottom:46px}
.egapro-editorial .ed-case-heading h1{margin:0 0 26px;max-width:940px;font-size:clamp(32px,4.4vw,58px);line-height:1.09;letter-spacing:-.045em;overflow-wrap:anywhere;text-wrap:balance}
.egapro-editorial .ed-case-heading .ed-eyebrow::before{content:'';display:inline-block;width:24px;height:3px;background:var(--ed-yellow);vertical-align:middle;margin-right:12px}
.egapro-editorial .ed-case-lead{font-size:clamp(17px,1.7vw,21px);line-height:1.6;max-width:710px;color:var(--ed-muted)}
.egapro-editorial .ed-case-jump{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-block:15px;font-size:14px;font-weight:600;border-bottom:2px solid var(--ed-yellow)}
.egapro-editorial .ed-case-jump>span:last-child{font-size:26px}
.egapro-editorial .ed-case-facts{display:grid;grid-template-columns:1fr 1.4fr .65fr;gap:32px;margin:0;padding:25px 0;border-block:1px solid var(--ed-line)}
.egapro-editorial .ed-case-facts dt{font-size:12px;color:var(--ed-muted);margin-bottom:7px}
.egapro-editorial .ed-case-facts dd{margin:0;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.egapro-editorial .ed-case-facts dd a{font-weight:600}
.egapro-editorial .ed-case-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:60px}
.egapro-editorial .ed-case-chapter{display:grid;grid-template-columns:30px minmax(0,1fr);gap:20px;align-content:start}
.egapro-editorial .ed-case-number{font-size:13px;color:#8a7014;padding-top:1px}
.egapro-editorial .ed-case-chapter h2{font-size:clamp(26px,2.7vw,34px);margin-bottom:22px}
.egapro-editorial .ed-case-chapter p{font-size:16px;line-height:1.85;color:var(--ed-muted)}
.egapro-editorial .ed-case-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:42px 0}
.egapro-editorial .ed-case-metrics>div{display:flex;flex-direction:column;gap:12px;border-left:3px solid var(--ed-yellow);padding:4px 26px}
.egapro-editorial .ed-case-metrics dt{font-size:13px;color:var(--ed-muted);line-height:1.5}
.egapro-editorial .ed-case-metrics dd{order:-1;font-size:clamp(26px,2.8vw,38px);font-weight:650;line-height:1.15;letter-spacing:-.04em;margin:0;overflow-wrap:anywhere}
.egapro-editorial .ed-case-outcome{border-top:1px solid #dfe3e5;padding-top:28px;display:grid;grid-template-columns:180px minmax(0,1fr);gap:30px}
.egapro-editorial .ed-case-outcome p{font-size:18px;line-height:1.8;max-width:800px}
.egapro-editorial .ed-case-photo-pending{display:flex;gap:24px;align-items:center;padding:32px;border:1px dashed #d8dddf;border-radius:20px;background:linear-gradient(115deg,#fafaf7,#f7f8f9)}
.egapro-editorial .ed-case-photo-pending svg{width:44px;height:44px;flex:none;color:#877224}
.egapro-editorial .ed-case-photo-pending h3{font-size:20px;margin-bottom:8px}
.egapro-editorial .ed-case-photo-pending p{font-size:15px;color:var(--ed-muted)}
.egapro-editorial .ed-case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.egapro-editorial .ed-case-gallery figure:first-child{grid-column:1/-1}
.egapro-editorial .ed-case-gallery a{display:block;border-radius:22px;overflow:hidden;background:var(--ed-soft)}
.egapro-editorial .ed-case-gallery img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain}
.egapro-editorial .ed-case-gallery figcaption{font-size:13px;color:var(--ed-muted);padding-top:12px}
.egapro-editorial .ed-case-neighbors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding-block:0 50px}
.egapro-editorial .ed-case-neighbors>a{position:relative;padding:26px 36px 26px 0;border-top:1px solid var(--ed-line);transition:border-color .2s}
.egapro-editorial .ed-case-neighbors>a:hover{border-color:#bea01e}
.egapro-editorial .ed-case-neighbors strong{display:block;font-size:19px;line-height:1.4;letter-spacing:-.02em;overflow-wrap:anywhere}
.egapro-editorial .ed-case-neighbors>a>span:last-child{position:absolute;right:0;bottom:28px;font-size:24px}
@media(max-width:820px){.egapro-editorial .ed-case-heading{grid-template-columns:1fr;gap:22px}.egapro-editorial .ed-case-jump{width:190px}.egapro-editorial .ed-case-breadcrumb{margin-bottom:30px}.egapro-editorial .ed-case-story{gap:36px}.egapro-editorial .ed-case-chapter{grid-template-columns:1fr;gap:10px}.egapro-editorial .ed-case-metrics>div{padding-inline:17px}.egapro-editorial .ed-case-outcome{grid-template-columns:1fr;gap:0}}
@media(max-width:560px){.egapro-editorial .ed-case-hero{padding-top:16px}.egapro-editorial .ed-case-breadcrumb{font-size:12px;gap:8px;margin-bottom:25px}.egapro-editorial .ed-case-heading{padding-bottom:28px}.egapro-editorial .ed-case-heading h1{font-size:32px;line-height:1.15;margin-bottom:20px}.egapro-editorial .ed-case-facts{grid-template-columns:1fr 1fr;gap:20px;padding-block:20px}.egapro-editorial .ed-case-facts>div:nth-child(2){grid-column:1/-1;grid-row:2}.egapro-editorial .ed-case-story{grid-template-columns:1fr;gap:38px}.egapro-editorial .ed-case-chapter p{font-size:15px;line-height:1.8}.egapro-editorial .ed-case-metrics{grid-template-columns:1fr;gap:25px;margin-block:30px}.egapro-editorial .ed-case-metrics>div{padding-block:0;padding-left:20px;gap:6px}.egapro-editorial .ed-case-metrics dd{font-size:30px}.egapro-editorial .ed-case-outcome p{font-size:16px}.egapro-editorial .ed-case-photo-pending{padding:24px;gap:18px;align-items:flex-start}.egapro-editorial .ed-case-photo-pending svg{width:30px;height:30px}.egapro-editorial .ed-case-photo-pending h3{font-size:18px}.egapro-editorial .ed-case-gallery,.egapro-editorial .ed-case-neighbors{grid-template-columns:1fr}.egapro-editorial .ed-case-neighbors{gap:0;padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){.egapro-editorial .ed-project-link>span{transition:none;transform:none}}
/* The shared layout supplies the header offset only below 1024px. */
@media(min-width:1024px){.egapro-editorial .ed-case{padding-top:72px}}

/* Supplied reference photography: full cover, original framing, responsive galleries. */
.egapro-editorial .ed-case-cover{margin-top:34px}
.egapro-editorial .ed-case-cover figure{margin:0}
.egapro-editorial .ed-case-cover a{display:block;border-radius:24px;overflow:hidden;background:#f0f2f3}
.egapro-editorial .ed-case-cover img{display:block;width:100%;height:auto;max-height:640px;object-fit:contain}
.egapro-editorial .ed-case-cover figcaption{font-size:13px;color:var(--ed-muted);padding-top:12px}
.egapro-editorial .ed-case-cover a:focus-visible,.egapro-editorial .ed-case-gallery a:focus-visible{outline:3px solid var(--ed-yellow);outline-offset:4px}
@media(max-width:560px){.egapro-editorial .ed-case-cover{margin-top:24px}.egapro-editorial .ed-case-cover a,.egapro-editorial .ed-case-gallery a{border-radius:16px}.egapro-editorial .ed-case-cover img{max-height:none}}

.egapro-editorial .ed-project-cover{display:block;flex-shrink:0}
.egapro-editorial .ed-project-cover:focus-visible{outline:3px solid var(--ed-yellow);outline-offset:-3px}
