/* Homepage “Hope Window” for [patient_stories_landing]. Isolated from user-maintained styles. */
.ast-container:has(.patient-stories-landing),.entry-content:has(.patient-stories-landing),.elementor-widget-container:has(.patient-stories-landing){max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.patient-stories-landing{--psl-blue:#185b94;--psl-sky:#dceefe;--psl-ink:#173f67;--psl-muted:#6d8194;--psl-orange:#ef9a22;position:relative;box-sizing:border-box;width:100%;max-width:100%;overflow:hidden;padding:clamp(18px,3.8vw,52px) 0;background:transparent;color:var(--psl-ink);direction:rtl;font-family:Vazirmatn,sans-serif;container-type:inline-size;container-name:patient-stories-landing}
.patient-stories-landing *,.patient-stories-landing *::before,.patient-stories-landing *::after{box-sizing:border-box}
.patient-stories-landing__inner{position:relative;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(330px,.94fr);align-items:stretch;width:min(1180px,calc(100% - 40px));margin:0 auto;overflow:hidden;border:1px solid #d7e8f5;border-radius:28px;background:#fffdfa;box-shadow:0 17px 42px rgba(35,82,122,.1);color:inherit;isolation:isolate}
.patient-stories-landing__inner::before{position:absolute;z-index:1;top:22px;bottom:22px;right:calc(47.8% - 1px);width:2px;border-radius:2px;background:linear-gradient(180deg,transparent,#b9d9f1 20%,#b9d9f1 80%,transparent);content:"";pointer-events:none}
.patient-stories-landing__content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(34px,5vw,66px);background:linear-gradient(130deg,#fffdf9 0,#fff 62%,#f7fbff 100%)}
.patient-stories-landing__content::after{position:absolute;left:-86px;bottom:-110px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(244,180,74,.13),rgba(244,180,74,0) 68%);content:"";pointer-events:none}.patient-stories-landing__content>*{position:relative;z-index:1}
.patient-stories-landing__badge{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #f5c67e;border-radius:999px;background:#fff7e8;color:#a6610f;font-size:.75rem;font-weight:900;line-height:1.25}.patient-stories-landing__badge i{color:#e7951d;font-size:1rem;font-style:normal}
.patient-stories-landing h2{max-width:590px;margin:17px 0 10px;color:var(--psl-ink);font-size:clamp(1.8rem,3.5vw,3rem);font-weight:950;line-height:1.38;letter-spacing:-.02em}.patient-stories-landing__content>p{max-width:560px;margin:0;color:#5c748a;font-size:clamp(.89rem,1.22vw,1.02rem);line-height:2.05}
.patient-stories-landing__meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:21px}.patient-stories-landing__meta span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #dcebf5;border-radius:999px;background:#f8fcff;color:#416987;font-size:.74rem;font-weight:800;line-height:1.25}.patient-stories-landing__meta i{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#ffe0aa;color:#905000;font-size:.72rem;font-style:normal}
.patient-stories-landing__visual{position:relative;min-height:380px;overflow:hidden;background:#e8f3fb}.patient-stories-landing__visual::before{position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(255,253,249,.18),rgba(18,98,163,.04) 43%,rgba(14,82,139,.18));content:"";pointer-events:none}.patient-stories-landing__visual::after{position:absolute;z-index:1;right:0;bottom:0;left:0;height:36%;background:linear-gradient(0deg,rgba(16,75,119,.35),transparent);content:"";pointer-events:none}.patient-stories-landing__visual img{display:block;width:100%;height:100%;min-height:380px;object-fit:cover;object-position:center}.patient-stories-landing__visual-note{position:absolute;z-index:2;right:20px;bottom:19px;display:inline-flex;align-items:center;gap:7px;max-width:calc(100% - 40px);padding:9px 12px;border:1px solid rgba(255,255,255,.76);border-radius:999px;background:rgba(255,255,255,.72);box-shadow:0 8px 20px rgba(19,67,105,.14);color:#255878;font-size:.73rem;font-weight:900;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}.patient-stories-landing__visual-note i{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#ffcf76;color:#804600;font-size:.73rem;font-style:normal}
@media(max-width:820px){.patient-stories-landing{padding:20px 0}.patient-stories-landing__inner{grid-template-columns:1fr;width:calc(100% - 28px);border-radius:24px}.patient-stories-landing__inner::before{top:auto;right:24px;bottom:0;left:24px;width:auto;height:2px;background:linear-gradient(90deg,transparent,#b9d9f1 20%,#b9d9f1 80%,transparent)}.patient-stories-landing__visual{min-height:235px;order:-1}.patient-stories-landing__visual img{min-height:235px}.patient-stories-landing__content{padding:32px 25px 36px}.patient-stories-landing h2{font-size:clamp(1.68rem,8vw,2.25rem)}.patient-stories-landing__meta{gap:7px}.patient-stories-landing__meta span{font-size:.69rem}}
@media(max-width:430px){.patient-stories-landing__inner{width:calc(100% - 22px);border-radius:20px}.patient-stories-landing__content{padding:28px 20px 31px}.patient-stories-landing__visual,.patient-stories-landing__visual img{min-height:205px}.patient-stories-landing__badge{font-size:.69rem}.patient-stories-landing__meta{align-items:flex-start;flex-direction:column}.patient-stories-landing__visual-note{right:12px;bottom:12px;max-width:calc(100% - 24px);font-size:.65rem}}
/* Elementor columns can be narrow on desktop; adapt to the actual shortcode width. */
@container patient-stories-landing (max-width:760px){.patient-stories-landing{padding:18px 0}.patient-stories-landing__inner{grid-template-columns:1fr;width:calc(100% - 22px);border-radius:23px}.patient-stories-landing__inner::before{top:auto;right:22px;bottom:0;left:22px;width:auto;height:2px;background:linear-gradient(90deg,transparent,#b9d9f1 20%,#b9d9f1 80%,transparent)}.patient-stories-landing__visual{min-height:215px;order:-1}.patient-stories-landing__visual img{min-height:215px}.patient-stories-landing__content{padding:30px 23px 33px}.patient-stories-landing h2{font-size:clamp(1.55rem,7cqw,2.15rem);line-height:1.47}.patient-stories-landing__content>p{font-size:.86rem;line-height:1.96}.patient-stories-landing__visual-note{right:14px;bottom:14px;font-size:.67rem}}
@container patient-stories-landing (max-width:440px){.patient-stories-landing__inner{width:calc(100% - 16px);border-radius:19px}.patient-stories-landing__visual,.patient-stories-landing__visual img{min-height:180px}.patient-stories-landing__content{padding:25px 18px 29px}.patient-stories-landing__badge{font-size:.67rem}.patient-stories-landing__meta{align-items:flex-start;flex-direction:column;gap:6px}.patient-stories-landing__meta span{font-size:.66rem}.patient-stories-landing__visual-note{max-width:calc(100% - 24px);right:12px;bottom:12px}}
