/**
 * Homepage (post ID 9615) layout styles.
 *
 * Moved out of the page's own `wp:html` block into a real enqueued
 * stylesheet: the translated-content sanitizer (`wp_kses_post()`, applied to
 * every non-default-language translation, unlike the native `post_content`
 * column which trusts an `unfiltered_html`-capable admin completely) strips
 * `<style>` tags, so an inline stylesheet baked into the page content only
 * ever survived for the Arabic (untranslated, native-column) version - the
 * English translation rendered as an unstyled wall of literal CSS text.
 * Enqueuing it here applies identically regardless of which language's
 * content is being displayed, and is language-agnostic itself (no
 * translatable strings).
 *
 * `direction` is intentionally NOT set on the base `#ep-home` rule: the
 * original inline version hardcoded `direction:rtl` because it only ever
 * rendered on the Arabic page, but this stylesheet now loads on both
 * languages - a hardcoded `rtl` forced English paragraphs into
 * right-aligned, RTL-wrapped text (found live: the hero paragraph's
 * closing period rendered on the wrong side). Scoping it to the theme's
 * own `body.rtl`/`body.ltr` classes (already set correctly per language,
 * confirmed independently of this stylesheet) keeps Arabic exactly as
 * before while fixing English.
 */
#ep-home,#ep-home *{box-sizing:border-box}
#ep-home{width:100%;max-width:100%;overflow:visible;color:#12233F;font-family:"Cairo",Arial,sans-serif}
body.rtl #ep-home{direction:rtl}
body.ltr #ep-home{direction:ltr}
#ep-home a,#ep-home a:hover,#ep-home a:focus,#ep-home a:active,#ep-home a:visited,#ep-home a *,#ep-home a:hover *,#ep-home a:focus *,#ep-home a:active *,#ep-home a:visited *{text-decoration:none!important;text-decoration-line:none!important;text-decoration-thickness:0!important;border-bottom:0!important;color:inherit}
body.page-id-9615 .entry-content a,body.page-id-9615 .entry-content a:hover,body.page-id-9615 .entry-content a:focus,body.page-id-9615 .entry-content a:active,body.page-id-9615 .entry-content a:visited{text-decoration:none!important;text-decoration-line:none!important;text-decoration-thickness:0!important;border-bottom:0!important;background-image:none!important}body.page-id-9615 .entry-content a h1,body.page-id-9615 .entry-content a h2,body.page-id-9615 .entry-content a h3,body.page-id-9615 .entry-content a h4,body.page-id-9615 .entry-content a h5,body.page-id-9615 .entry-content a h6,body.page-id-9615 .entry-content a p,body.page-id-9615 .entry-content a span,body.page-id-9615 .entry-content a strong{text-decoration:none!important;text-decoration-line:none!important;border-bottom:0!important;background-image:none!important;box-shadow:none!important}body.page-id-9615 .entry-content a h1::after,body.page-id-9615 .entry-content a h2::after,body.page-id-9615 .entry-content a h3::after,body.page-id-9615 .entry-content a h4::after,body.page-id-9615 .entry-content a h5::after,body.page-id-9615 .entry-content a h6::after{content:none!important;display:none!important}
#ep-home img{display:block;max-width:100%;height:auto}
body.page-id-9615 .entry-title,body.page-id-9615 .page-title,body.page-id-9615 .wp-block-post-title{display:none!important}
.eph-full{position:relative!important;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.eph-in{width:100%;max-width:1180px;margin:0 auto;padding:58px 20px}
.eph-soft{background:#F6F3EE}.eph-dark{background:#12233F;color:#fff}.eph-dark h2,.eph-dark h3{color:#fff!important}.eph-dark p{color:#D8DEE9!important}
#ep-home h1{margin:0 0 14px;color:#fff;font-size:clamp(30px,3.4vw,44px);line-height:1.2}
#ep-home h2{margin:0 0 10px;color:#12233F;font-size:clamp(22px,3vw,30px);line-height:1.3}
#ep-home h3{margin:0 0 7px;color:#12233F;font-size:17px;line-height:1.4}
#ep-home p{color:#5B6472;font-size:14px;line-height:1.75}
.eph-eye{margin:0 0 9px!important;color:#79DDE4!important;font-size:13px!important;font-weight:700}
.eph-head{max-width:780px;margin:0 auto 28px;text-align:center}.eph-head p{margin:0}
.eph-hero{padding:30px 20px;background:#12233F;color:#fff}
.eph-hero-in{width:100%;max-width:1420px;min-height:390px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.22fr);gap:clamp(26px,4vw,58px);align-items:center}
.eph-hero-copy{max-width:590px}.eph-hero-copy>p:not(.eph-eye){margin:0 0 20px;color:#D8DEE9;font-size:clamp(15px,1.35vw,17px);line-height:1.8}
.eph-actions{display:flex;flex-wrap:wrap;gap:10px}.eph-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:1px solid #06A9B7;border-radius:6px;background:#06A9B7;color:#fff!important;font-size:14px;font-weight:700;transition:.18s}
.eph-btn:hover{transform:translateY(-2px);background:#067B89;border-color:#067B89}.eph-btn-alt{background:transparent;border-color:rgba(255,255,255,.55)}.eph-btn-alt:hover{background:rgba(255,255,255,.10);border-color:#fff}
.eph-btn:focus-visible,.eph-card:focus-visible,.eph-need:focus-visible,.eph-material:focus-visible{outline:3px solid #79DDE4;outline-offset:3px}
.eph-hero-media{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(140px,.65fr);grid-template-rows:1fr 1fr;gap:12px;min-width:0}
.eph-hero-media figure{margin:0;width:100%;height:100%;overflow:hidden;border-radius:14px;background:#fff}.eph-hero-media figure:first-child{grid-row:1/3}.eph-hero-media img{width:100%;height:100%;min-height:170px;object-fit:cover}
.eph-trust{padding:0 20px;background:#fff;border-bottom:1px solid #E4E0D8}.eph-trust-in{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#E4E0D8}
.eph-trust-item{display:flex;align-items:center;justify-content:center;gap:9px;min-height:72px;padding:12px 14px;background:#fff;text-align:center}.eph-trust-item p{margin:0;color:#12233F!important;font-size:13px!important;font-weight:700}.eph-trust-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:8px;background:#E7F7F8;color:#067B89;font-size:18px;font-weight:800;line-height:1;font-family:Arial,sans-serif}.eph-trust-icon::before{display:block}.eph-icon-options::before{content:"⎙";font-size:21px}.eph-icon-delivery::before{content:"🚚";font-size:18px;filter:grayscale(1)}.eph-icon-review::before{content:"✓";width:18px;height:20px;border:1.5px solid currentColor;border-radius:3px;line-height:18px;text-align:center;font-size:14px}.eph-icon-design::before{content:"✎";font-size:22px;transform:rotate(-12deg)}
.eph-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}.eph-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.eph-card,.eph-need,.eph-material{display:flex;flex-direction:column;height:100%;min-width:0;overflow:hidden;border:1px solid #E4E0D8;border-radius:10px;background:#fff;transition:transform .2s ease,box-shadow .2s ease}
.eph-card:hover,.eph-need:hover,.eph-material:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(18,35,63,.11)}
.eph-card figure,.eph-need figure,.eph-material figure{margin:0;overflow:hidden;background:#EEF2F3}.eph-card img,.eph-need img,.eph-material img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}.eph-card:hover img,.eph-need:hover img,.eph-material:hover img{transform:scale(1.035)}
.eph-card-body{display:flex;flex-direction:column;flex:1;padding:15px}.eph-card-body p{margin:0 0 12px;font-size:13px!important}.eph-more{margin-top:auto;color:#067B89!important;font-size:13px!important;font-weight:700}
.eph-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}.eph-product .eph-card-body{padding:12px 13px 14px}.eph-product img{aspect-ratio:16/11}.eph-product .eph-price{margin:2px 0 12px;color:#067B89!important;font-weight:700}.eph-product-static .eph-price{margin-top:auto}
.eph-needs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.eph-need img{aspect-ratio:16/9}.eph-need .eph-card-body{padding:13px 14px 15px}
.eph-campaign-wrap{padding:56px 20px}.eph-campaign{max-width:1180px;margin:auto;padding:30px clamp(22px,4vw,46px);border-radius:14px;background:#E9F9FB;display:flex;align-items:center;justify-content:space-between;gap:24px}.eph-campaign h2{font-size:clamp(21px,2.4vw,28px)!important}.eph-campaign p{margin:0}
.eph-business-in{max-width:1180px;margin:auto;padding:58px 20px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:36px;align-items:center}.eph-business-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.eph-business-list>.eph-business-item{margin-block-end:0;height:100%}.eph-business-item{padding:15px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.05)}.eph-business-item p{margin:0;font-size:13px!important}
.eph-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.eph-steps>.eph-step{margin-block-end:0;height:100%}.eph-step{position:relative;padding:20px 16px;border:1px solid #E4E0D8;border-radius:10px;background:#fff;text-align:center}.eph-step-num{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 12px;border-radius:50%;background:#E9F9FB;color:#067B89;font-weight:800}.eph-step p{margin:0;font-size:13px!important}
.eph-materials{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.eph-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.eph-faq-grid .wp-block-details{margin:0;border:0;border-radius:10px;background:#fff;box-shadow:0 1px 4px rgba(18,35,63,.08);overflow:hidden}.eph-faq-grid summary{position:relative;cursor:pointer;list-style:none;padding:14px 16px;padding-inline-end:44px;color:#12233F;font-size:14px;font-weight:700}.eph-faq-grid summary::-webkit-details-marker{display:none}.eph-faq-grid summary::after{content:"+";position:absolute;inset-inline-end:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#E9F9FB;color:#067B89;font-size:18px}.eph-faq-grid details[open] summary::after{content:"−"}.eph-faq-grid details>p{margin:0;padding:0 16px 15px;font-size:13px!important}
.eph-design-in{max-width:1180px;margin:auto;padding:50px 20px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.eph-final-wrap{padding:58px 20px}.eph-final{max-width:1180px;margin:auto;padding:38px 24px;border-radius:14px;background:#12233F;text-align:center}.eph-final h2{color:#fff!important}.eph-final p{margin:0 auto 20px;max-width:650px;color:#D8DEE9!important}
.eph-final .eph-actions{justify-content:center}.eph-admin-placeholder{display:none!important}
@media(max-width:980px){.eph-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eph-grid-3,.eph-products{grid-template-columns:repeat(2,minmax(0,1fr))}.eph-needs,.eph-materials{grid-template-columns:repeat(2,minmax(0,1fr))}.eph-hero-in{grid-template-columns:1fr;min-height:0}.eph-hero-copy{max-width:700px}.eph-business-in{grid-template-columns:1fr}.eph-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.eph-in{padding:46px 16px}.eph-hero{padding:26px 16px}.eph-hero-media{grid-template-columns:1.2fr .8fr}.eph-trust{padding:0 16px}.eph-trust-in{grid-template-columns:repeat(2,minmax(0,1fr))}.eph-products,.eph-grid-3{grid-template-columns:1fr}.eph-campaign,.eph-design-in{align-items:flex-start;flex-direction:column}.eph-faq-grid{grid-template-columns:1fr}}
@media(max-width:520px){.eph-grid,.eph-needs,.eph-materials,.eph-steps,.eph-business-list{grid-template-columns:1fr}.eph-hero-media{grid-template-columns:1fr 1fr}.eph-hero-media figure:first-child{grid-column:1/3;grid-row:auto}.eph-hero-media img{min-height:130px}.eph-actions{width:100%}.eph-btn{width:100%}.eph-trust-in{grid-template-columns:1fr}.eph-trust-item{min-height:58px}.eph-campaign-wrap,.eph-final-wrap{padding:42px 16px}}

#ep-home .eph-hero-media > figure.wp-block-image{margin:0;display:grid}
#ep-home .eph-hero-media > figure.wp-block-image > img{display:block;width:100%;height:100%;min-height:100%;object-fit:cover}

/* easyprint-home-hero-mobile-fidelity */
@media(max-width:520px){#ep-home .eph-hero-media > figure.wp-block-image{height:auto}#ep-home .eph-hero-media > figure.wp-block-image > img{height:auto;min-height:130px}}

/* easyprint-home-hero-mobile-grid-fidelity */
@media(max-width:520px){#ep-home .eph-hero-media{grid-template-rows:auto auto;align-items:start}}

/* easyprint-home-trust-bar-spacing-fix */
#ep-home .eph-trust-in > .wp-block-group.eph-trust-item{
    margin:0!important;
    margin-block:0!important;
}
