/* Portfolio showcases share Reach Reel's typography, mint accents and yellow CTA. */
.rh-showcase { padding:clamp(56px,8vw,100px) 0;background:var(--reach-white); }
.rh-showcase .rh-section-head { margin-inline:0;text-align:start;max-width:900px; }
.rh-showcase__intro { color:var(--reach-gray);max-width:760px; }
.rh-showcase__intro:empty { display:none; }
.rh-showcase--ad_results { background:var(--reach-black);color:var(--reach-white); }
.rh-showcase--ad_results h2 { color:var(--reach-white); }
.rh-showcase--ad_results .rh-showcase__intro { color:#c9cecc; }
.rh-showcase--events { background:var(--reach-light); }
.rh-showcase__track { display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;direction:ltr;padding:4px 2px 20px;scrollbar-width:thin;scrollbar-color:var(--reach-green) transparent; }
.rh-showcase__slide { flex:0 0 calc((100% - 24px)/2);min-width:0;margin:0;overflow:hidden;border-radius:20px;background:var(--reach-white);color:var(--reach-black);border:1px solid rgba(19,19,19,.1);scroll-snap-align:start; }
.rh-showcase__media { display:block;position:relative;width:100%;aspect-ratio:16/10;margin:0;padding:0;border:0;border-radius:0;background:#f0f3f1;overflow:hidden; }
.rh-showcase__media img,.rh-showcase__media video { width:100%;height:100%;object-fit:contain;display:block; }
.rh-showcase--events .rh-showcase__media img,.rh-showcase--events .rh-showcase__media video { object-fit:cover; }
.rh-showcase__video { cursor:pointer; }
.rh-showcase__slide figcaption { padding:20px 24px;text-align:start;font-weight:700; }
.rh-showcase__nav { display:flex;gap:12px;justify-content:center;margin-top:20px;direction:ltr; }
.rh-showcase__nav button { display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:0;background:var(--reach-green);color:var(--reach-black);font-size:24px;cursor:pointer; }
.rh-showcase__nav button:disabled { opacity:.35;cursor:default; }
.rh-showcase__footer { display:flex;justify-content:center;margin-top:32px; }
.rh-showcase .rh-portfolio-btn { background:var(--reach-yellow);color:var(--reach-black);border-color:var(--reach-yellow); }
.rh-showcase .rh-portfolio-btn:hover { background:var(--reach-green);border-color:var(--reach-green); }
.rh-showcase__setup { padding:20px;border:1px dashed currentColor;opacity:.7; }
@media(max-width:700px) { .rh-showcase__track{gap:14px}.rh-showcase__slide{flex-basis:90%}.rh-showcase__slide figcaption{padding:16px}.rh-showcase__footer{margin-top:24px} }
@media(prefers-reduced-motion:reduce){.rh-showcase__track{scroll-behavior:auto}}
/* Shared homepage portfolio calls to action. */
.rh-home-portfolio { display:flex;justify-content:center;margin:32px auto 0;padding-inline:24px; }
.rh-home-portfolio .rh-portfolio-btn { background:var(--reach-yellow);border-color:var(--reach-yellow);color:var(--reach-black); }
.rh-home-portfolio .rh-portfolio-btn:hover { background:var(--reach-green);border-color:var(--reach-green); }
/* Two-column website cards with independent desktop/mobile geometry. */
.rh-showcase--websites .rh-showcase__grid { --rh-web-effective-height:var(--rh-web-card-height,440px); display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;max-width:calc(var(--rh-web-card-width,560px)*2 + 24px);margin-inline:auto; }
.rh-showcase--websites .rh-showcase__slide { display:flex;flex-direction:column;height:var(--rh-web-effective-height);min-width:0; }
.rh-showcase--websites .rh-showcase__media { flex:1 1 0;min-height:0;aspect-ratio:auto; }
.rh-showcase--websites .rh-showcase__slide figcaption { flex:0 0 auto;overflow-wrap:anywhere; }
@media(max-width:700px){
 .rh-showcase--websites .rh-showcase__grid { --rh-web-effective-height:var(--rh-web-mobile-card-height,300px);gap:12px;max-width:calc(var(--rh-web-mobile-card-width,280px)*2 + 12px); }
 .rh-showcase--websites .rh-showcase__slide figcaption { padding:12px 10px;font-size:12px; }
}


/* Portrait previews fill the frame; full website captures remain in the portfolio. */
.rh-showcase--events .rh-showcase__media { aspect-ratio:4/5; }
.rh-showcase--events .rh-showcase__slide { flex-basis:calc((100% - 48px)/3); }
.rh-showcase--websites .rh-showcase__grid { grid-template-columns:repeat(3,minmax(0,1fr));max-width:calc(var(--rh-web-card-width,560px)*3 + 48px);align-items:start; }
.rh-showcase--websites .rh-showcase__media img { object-fit:cover;object-position:top center; }
.rh-showcase--portrait-websites .rh-showcase__slide { height:auto; }
.rh-showcase--portrait-websites .rh-showcase__media { flex:none;aspect-ratio:2/5; }
.rh-showcase--websites .rh-showcase__media:focus-visible { outline:3px solid var(--reach-green-dark);outline-offset:-4px; }
@media(max-width:700px) {
 .rh-showcase--websites .rh-showcase__grid { grid-template-columns:repeat(2,minmax(0,1fr));max-width:calc(var(--rh-web-mobile-card-width,280px)*2 + 12px); }
 .rh-showcase--events .rh-showcase__slide { flex-basis:calc((100% - 14px)/2); }
}


/* Keep Elementor global button shapes out of event video frames. */
.rh-showcase--events .rh-showcase__media,
.rh-showcase--events .rh-showcase__media:hover,
.rh-showcase--events .rh-showcase__media:focus {
 border-radius:0; padding:0; border:0; box-shadow:none;
 background:#f0f3f1; overflow:hidden;
}
.rh-showcase--events .rh-showcase__media img,
.rh-showcase--events .rh-showcase__media video {
 border-radius:0; width:100%; height:100%; object-fit:cover;
}
.rh-showcase--events .rh-showcase__nav button,
.rh-showcase--events .rh-showcase__nav button:hover,
.rh-showcase--events .rh-showcase__nav button:focus {
 background:var(--reach-green); color:var(--reach-black);
 border:0; box-shadow:none; padding:0;
}
.rh-showcase--events .rh-showcase__nav button:disabled {
 opacity:1; cursor:default;
}

/* Events reuse the Reels video treatment; Results share Organic Growth's surface. */
.rh-showcase--events { background:var(--reach-black);color:var(--reach-white);padding:clamp(56px,9vh,100px) 0;overflow:hidden; }
.rh-showcase--events h2 { color:var(--reach-white); }
.rh-showcase--events .rh-eyebrow { color:var(--reach-green); }
.rh-showcase--events .rh-showcase__intro { color:#c9cecc; }
.rh-showcase--events .rh-showcase__track { gap:20px;scrollbar-width:none; }
.rh-showcase--events .rh-showcase__track::-webkit-scrollbar { display:none; }
.rh-showcase--events .rh-showcase__slide { position:relative;flex:0 0 calc((100% - 60px)/4);border:0;border-radius:18px;background:transparent;color:var(--reach-white);overflow:visible; }
.rh-showcase--events .rh-showcase__media { width:100%;aspect-ratio:9/16;border-radius:18px;background:#16181d; }
.rh-showcase--events .rh-showcase__media img,.rh-showcase--events .rh-showcase__media video { position:absolute;inset:0;width:100%;height:100%;object-fit:cover; }
.rh-showcase--events figcaption { position:absolute;bottom:0;inset-inline:0;z-index:4;padding:18px;pointer-events:none;text-shadow:0 1px 8px #000; }
.rh-showcase--ad_results { background:var(--reach-light);color:var(--reach-black); }
.rh-showcase--ad_results h2 { color:var(--reach-black); }
.rh-showcase--ad_results .rh-showcase__intro { color:var(--reach-gray); }
@media(max-width:1100px){.rh-showcase--events .rh-showcase__slide{flex-basis:calc((100% - 40px)/3)}}
@media(max-width:700px){.rh-showcase--events .rh-showcase__track{gap:14px}.rh-showcase--events .rh-showcase__slide{flex:0 0 min(76vw,270px)}}

/* Results: editorial frames, complete images and a quiet, legible metrics grid. */
.rh-showcase--ad_results .rh-showcase__track { align-items:flex-start;gap:28px;padding:8px 2px 28px; }
.rh-showcase--ad_results .rh-showcase__slide { flex-basis:calc((100% - 28px)/2);border:1px solid rgba(19,19,19,.09);border-radius:22px;box-shadow:0 12px 32px rgba(19,19,19,.06);background:var(--reach-white); }
.rh-result__frame { padding:12px;background:#18231f; }
.rh-showcase--ad_results .rh-result__image { aspect-ratio:auto;background:transparent;border-radius:10px; }
.rh-showcase--ad_results .rh-result__image img { display:block;width:100%;height:auto;max-height:none;object-fit:cover; }
.rh-showcase--ad_results .rh-result__body { padding:24px; }
.rh-result__body h3 { margin:0 0 20px;font-size:20px;font-weight:800;line-height:1.35; }
.rh-result__body h3:last-child { margin-bottom:0; }
.rh-result__metrics { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0; }
.rh-result__metrics > div { min-width:0;padding:16px 12px;border-top:1px solid #e5ebe7; }
.rh-result__metrics > div:nth-child(odd) { padding-inline-start:0; }
.rh-result__metrics dt { color:#606a65;font-size:12px;font-weight:500;line-height:1.4;margin-bottom:7px; }
.rh-result__metrics dd { color:var(--reach-black);font-family:var(--reach-font-heading);font-size:clamp(20px,2.6vw,32px);font-weight:850;line-height:1.15;margin:0;overflow-wrap:anywhere;unicode-bidi:plaintext; }
.rh-result__metrics > div:first-child dd { color:var(--reach-green-dark); }
@media(max-width:700px){.rh-showcase--ad_results .rh-showcase__track{gap:16px}.rh-showcase--ad_results .rh-showcase__slide{flex-basis:90%;border-radius:18px}.rh-result__frame{padding:9px}.rh-showcase--ad_results .rh-result__body{padding:20px}.rh-result__metrics dd{font-size:24px}}

/* Uniform landscape results cards; captions are the only card titles. */
.rh-showcase--ad_results .rh-showcase__track { align-items:stretch; }
.rh-showcase--ad_results .rh-showcase__slide { display:flex;flex-direction:column; }
.rh-result__frame { position:relative;flex:none; }
.rh-result__accent { position:absolute;z-index:1;top:2px;inset-inline-start:26px;display:flex;gap:4px;align-items:center;height:8px;pointer-events:none; }
.rh-result__accent i { display:block;width:24px;height:4px;border-radius:4px;background:var(--reach-yellow); }
.rh-result__accent i:nth-child(2) { width:12px;opacity:.7; }
.rh-result__accent i:nth-child(3) { width:5px;opacity:.45; }
.rh-showcase--ad_results .rh-result__image { aspect-ratio:1877/838; }
.rh-showcase--ad_results .rh-result__image img { width:100%;height:100%;object-fit:cover;object-position:top center; }
.rh-showcase--ad_results .rh-result__body { flex:1;display:flex;flex-direction:column; }
.rh-result__metrics { margin-top:auto; }

/* One editable influencer page link, centered across languages and devices. */
.rh-influencers .rh-influencers__pages { grid-template-columns:minmax(0,1fr);max-width:420px;margin-inline:auto; }
@media(max-width:700px){.rh-influencers .rh-influencers__pages a{justify-content:center;text-align:center;flex-direction:column}}
/* Organic metrics stay on one line; English external links point up-right. */
.rh-organic__metrics dd { white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0; }
html:not([dir="rtl"]) .rh-organic__media .rh-organic__external { left:auto;right:14px; }
@media(max-width:700px){html:not([dir="rtl"]) .rh-organic__media .rh-organic__external{left:auto;right:8px}.rh-organic__metrics dt{min-width:0;flex:1}.rh-organic__metrics dd{font-size:clamp(15px,4vw,18px)}}
/* Explicit square dimensions override Elementor's global button padding. */
.rh-showcase .rh-showcase__nav button { display:grid;place-items:center;box-sizing:border-box;flex:0 0 48px;width:48px;min-width:48px;max-width:48px;height:48px;min-height:48px;max-height:48px;padding:0!important;aspect-ratio:1;border-radius:50%!important;line-height:1;letter-spacing:0; }
/* Websites scroll horizontally while retaining their portrait crop and controls. */
.rh-showcase--websites .rh-showcase__track { align-items:stretch;gap:24px; }
.rh-showcase--websites .rh-showcase__slide { flex:0 0 min(var(--rh-web-card-width,560px),calc((100% - 48px)/3)); }
@media(max-width:700px){.rh-showcase--websites .rh-showcase__track{gap:14px}.rh-showcase--websites .rh-showcase__slide{flex-basis:min(var(--rh-web-mobile-card-width,280px),76vw)}}
/* English parity with the established Arabic section components. */
html:not([dir="rtl"]) .rh-why { background:var(--reach-white);padding:clamp(56px,9vh,100px) 0; }
html:not([dir="rtl"]) .rh-why__grid { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px; }
html:not([dir="rtl"]) .rh-why__item { display:flex;align-items:center;gap:12px;background:var(--reach-light);border-radius:14px;padding:18px 20px;font-family:var(--reach-font-heading);font-weight:800; }
html:not([dir="rtl"]) .rh-why__check { flex:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--reach-green);color:var(--reach-black);font-size:12px; }
html:not([dir="rtl"]) .rh-industries { background:var(--reach-white);padding:clamp(56px,9vh,100px) 0; }
html:not([dir="rtl"]) .rh-industries__list { list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px; }
html:not([dir="rtl"]) .rh-industry { padding:10px 24px;border-radius:999px;box-shadow:inset 0 0 0 2px var(--reach-black);font-family:var(--reach-font-heading);font-weight:800;font-size:15px;transition:background .25s ease,transform .25s ease; }
html:not([dir="rtl"]) .rh-industry:hover { background:var(--reach-yellow);transform:translateY(-2px); }
html:not([dir="rtl"]) .rh-process { background:var(--reach-light);padding:clamp(56px,9vh,100px) 0; }
html:not([dir="rtl"]) .rh-process__steps { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px; }
html:not([dir="rtl"]) .rh-process__step { background:var(--reach-white);border-radius:18px;padding:24px 22px; }
html:not([dir="rtl"]) .rh-process__num { display:block;margin-bottom:10px;font-family:var(--reach-font-heading);font-weight:900;font-size:14px;letter-spacing:.08em;color:var(--reach-green); }
html:not([dir="rtl"]) .rh-process__step h3 { font-size:1.15rem;margin-bottom:8px; }
html:not([dir="rtl"]) .rh-process__step p { margin:0;color:var(--reach-gray);font-size:14.5px; }
.rh-showcase--websites .rh-showcase__track{--rh-web-effective-height:var(--rh-web-card-height,440px)}@media(max-width:700px){.rh-showcase--websites .rh-showcase__track{--rh-web-effective-height:var(--rh-web-mobile-card-height,300px)}}

/* Smaller website previews with independent width and image-ratio controls. */
.rh-showcase--websites .rh-showcase__slide { flex-basis:min(var(--rh-web-card-width,240px),80vw); }
.rh-showcase--portrait-websites .rh-showcase__media { aspect-ratio:var(--rh-web-ratio-width,2)/var(--rh-web-ratio-height,5); }
@media(max-width:700px){.rh-showcase--websites .rh-showcase__slide{flex-basis:min(var(--rh-web-mobile-card-width,180px),80vw)}}
html[dir="rtl"] .rh-showcase__track,
html[dir="rtl"] .rh-showcase__nav { direction:rtl; }
