@font-face{font-family:Vazir;src:url('../assets/vazirmatn.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f7f8f4;color:#273e37;font-family:Vazir,Tahoma,sans-serif;line-height:1.9}a{color:inherit;text-decoration:none}.ed-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:19px max(5%,calc((100% - 1120px)/2));background:#fff;border-bottom:1px solid #e4e8e0}.ed-head>a{font-weight:800}.ed-head nav{display:flex;gap:24px;font-size:14px}.ed-wrap{max-width:1120px;margin:auto;padding:50px 24px 90px}.ed-intro{background:linear-gradient(125deg,#e8eee7,#f8f7f0);border:1px solid #e0e7df;border-radius:28px;padding:54px 48px;margin-bottom:40px}.ed-eyebrow{color:#638978;font-size:14px;letter-spacing:.02em}.ed-intro h1{font-size:clamp(30px,5vw,50px);margin:0 0 10px}.ed-intro p{max-width:700px;color:#597068}.ed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ed-card{display:block;background:#fff;border:1px solid #e4e8e1;border-radius:22px;overflow:hidden;transition:transform .2s,box-shadow .2s}.ed-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #234a3415}.ed-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.ed-card-body{padding:22px}.ed-card h2{font-size:19px;margin:4px 0}.ed-card p{color:#65756c;font-size:14px}.ed-empty{padding:48px 28px;background:white;border:1px dashed #b8c8bd;border-radius:22px;text-align:center}.ed-back{font-size:14px;color:#577c6c}.ed-detail{max-width:820px;margin:24px auto;padding:42px;background:white;border:1px solid #e2e9e1;border-radius:26px}.ed-detail h1{font-size:clamp(26px,4vw,40px)}.ed-hero-image{width:100%;max-height:440px;object-fit:cover;border-radius:16px}.ed-audio{display:block;width:100%;margin:24px 0}.ed-prose{font-size:17px;overflow-wrap:anywhere}.ed-prose img{max-width:100%;height:auto}.ed-meta{color:#668275}@media(max-width:800px){.ed-grid{grid-template-columns:1fr 1fr}.ed-intro{padding:35px 26px}}@media(max-width:560px){.ed-grid{grid-template-columns:1fr}.ed-head{flex-direction:column;align-items:flex-start}.ed-head nav{gap:14px}.ed-wrap{padding:24px 16px 60px}.ed-detail{padding:25px 20px}}
/* Editorial banner: responsive image with readable text on the right in RTL */
.ed-intro--photo{position:relative;isolation:isolate;overflow:hidden;min-height:355px;display:flex;align-items:center;background:#e9eee7;padding:0;border-color:#dbe4db}
.ed-banner{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%}
.ed-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ed-intro--photo::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(245,248,241,.96) 0%,rgba(245,248,241,.87) 34%,rgba(245,248,241,.38) 66%,rgba(245,248,241,.07) 100%)}
.ed-intro-content{position:relative;width:min(610px,65%);padding:54px 48px;text-shadow:0 1px 8px rgba(255,255,255,.3)}
.ed-intro--photo h1{color:#234a3c}.ed-intro--photo p{color:#365b4d}
@media(max-width:800px){.ed-intro-content{padding:40px 30px;width:70%}}
@media(max-width:600px){.ed-intro--photo{min-height:490px;align-items:flex-end}.ed-banner img{object-position:center top}.ed-intro--photo::after{background:linear-gradient(0deg,rgba(247,249,245,.98) 0%,rgba(247,249,245,.90) 30%,rgba(247,249,245,.15) 75%)}.ed-intro-content{width:100%;padding:30px 24px}.ed-intro--photo h1{font-size:34px}.ed-intro--photo p{font-size:14px}}
/* v0.1.9: bounded hero layout, no overflow, predictable stacking */
html,body{max-width:100%;overflow-x:clip}
.ed-wrap{width:100%;box-sizing:border-box}
.ed-intro.ed-intro--photo{position:relative;display:flex;align-items:center;justify-content:flex-start;isolation:isolate;box-sizing:border-box;width:100%;max-width:100%;height:370px;min-height:0;padding:0;overflow:hidden;border-radius:26px;background:#e5e9dc}
.ed-intro--photo .ed-banner{position:absolute;inset:0;z-index:0;width:100%;height:100%;overflow:hidden;display:block}
.ed-intro--photo .ed-banner img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center center}
.ed-intro.ed-intro--photo::after{z-index:1;pointer-events:none;background:linear-gradient(270deg,rgba(242,246,238,.97) 0%,rgba(242,246,238,.91) 30%,rgba(242,246,238,.48) 56%,rgba(242,246,238,0) 85%)}
.ed-intro--photo .ed-intro-content{position:relative;z-index:2;width:min(56%,590px);max-width:100%;padding:32px 46px;text-align:right}
.ed-intro--photo .ed-intro-content h1{font-size:clamp(30px,4vw,48px);line-height:1.4;margin:4px 0 10px}
.ed-intro--photo .ed-intro-content p{margin:0 0 8px;max-width:460px}
@media(max-width:700px){.ed-intro.ed-intro--photo{height:410px;align-items:flex-end}.ed-intro--photo .ed-banner img{object-position:center top}.ed-intro.ed-intro--photo::after{background:linear-gradient(0deg,rgba(245,248,241,.98) 0%,rgba(245,248,241,.92) 31%,rgba(245,248,241,.1) 74%)}.ed-intro--photo .ed-intro-content{width:100%;padding:26px 22px}.ed-intro--photo .ed-intro-content h1{font-size:32px}}

/* v0.1.10: radio hero text lifted 25px on mobile only */
@media(max-width:700px){.ed-intro--radio .ed-intro-content{transform:translateY(-25px)}}

.rooyan-episodes{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:28px}.rooyan-episode img{aspect-ratio:auto;object-fit:contain}.rooyan-episode audio{margin:12px 0}.rooyan-album{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rooyan-album img{border-radius:8px}summary{cursor:pointer} @media(max-width:650px){.rooyan-episodes{grid-template-columns:1fr}}