/* پوسته‌ی قالب تازه (Updraft) روی صفحه‌های داخلی قدیمی سایت.
   صفحه‌ها همان کد و امکانات قبلی را دارند؛ این فایل فقط ظاهرشان را با صفحه‌ی اول یکی می‌کند.
   بعد از elio.css بار می‌شود. رنگ‌ها: کاغذی #f2efe9، شنی #ebe6dd، جوهری #1e1e1e، نارنجی #ff5c00 */
@font-face{font-family:YekanBakh;src:url(../../fonts/YekanBakhFaNum-VF.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:Display;src:url(../../fonts/Frutiger-Black-Cond.woff2) format("woff2");font-weight:700 900;font-display:swap}

:root{
  --ink:#f2efe9;--ink-2:#ebe6dd;--ink-3:#e2dccf;--cream:#1e1e1e;--cream-2:#3a3833;--mute:#5f5b54;
  --accent:#ff5c00;--accent-2:#e04f00;--rule:rgba(30,30,30,.1);--text:#5f5b54;--black:#1e1e1e;
  --font-display:Display,YekanBakh,sans-serif;--font-ui:YekanBakh,Tahoma,sans-serif;
  --u-ease:cubic-bezier(.16,1,.3,1);--u-radius:24px;--u-shadow:0 12px 34px -18px rgb(30 30 30/.35)
}
body.inner{background:#f2efe9!important;background-image:none!important;color:var(--text);font-family:var(--font-ui)}
body.inner ::selection{background:#ff5c00;color:#fff}

/* ── سرِ صفحه: نوار گرد شناور مثل صفحه‌ی اول ── */
.inner .site-head{top:12px!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:calc(100% - 32px);max-width:1200px;
  height:60px;border:1px solid rgba(30,30,30,.08);border-radius:999px;background:rgba(242,239,233,.82)!important;
  backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);box-shadow:var(--u-shadow);padding:0 8px 0 18px}
.inner .site-head.is-hidden{transform:translate(-50%,-140%)}
.inner .site-head .brand img{content:url(../../img/logo-safiran.webp);width:34px;height:auto;mix-blend-mode:multiply}
.inner .site-head .brand span{color:#1e1e1e}
.inner .site-head .brand::after,.inner .brand .dot{background:#ff5c00}
.inner .site-links a{color:rgba(30,30,30,.75);font-weight:500;font-size:13.5px;padding:.5rem .7rem;border-radius:999px;transition:background .3s,color .3s}
.inner .site-links a:hover,.inner .site-links li.active a{background:#ebe6dd;color:#1e1e1e}
.inner .site-links a::after{display:none!important}
.inner .site-icons a{color:#1e1e1e}
.inner .head-clock{color:#5f5b54}
.inner .head-cta{display:inline-flex;align-items:center;gap:10px;background:#ff5c00;color:#1e1e1e;border-radius:999px;padding:6px 6px 6px 16px;
  font-weight:700;font-size:14px;min-height:44px;transition:background .3s}
.inner .head-cta::before{content:"";order:2;width:32px;height:32px;border-radius:50%;background:#1e1e1e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center/14px no-repeat}
.inner .head-cta:hover{background:#ff7a2e}
.inner .nav-toggle{border-radius:999px;box-shadow:none;background:#ebe6dd;color:#1e1e1e}
@media (max-width:1100px){
  .inner .site-nav{background:#f2efe9!important;border-radius:24px;box-shadow:var(--u-shadow)}
}
body.inner #main{padding-top:calc(60px + 64px)}

/* ── تیترها و برچسب‌ها ── */
.inner h1,.inner h2,.inner .sec-head h1,.inner .sec-head h2,.inner .major h1,.inner .major h2{color:#1e1e1e;letter-spacing:-.02em}
.inner .major h1,.inner .sec-head h1{font-size:clamp(3rem,7.4vw,6.4rem);line-height:1}
.inner h3,.inner h4{color:#1e1e1e}
.inner .date,.inner .major .date,.inner .posts .date,.inner .post .date{display:inline-flex;align-items:center;gap:8px;color:#ff5c00;
  font-size:12px;font-weight:600;letter-spacing:.14em}
.inner .date::before{content:"";width:6px;height:6px;border-radius:50%;background:#ff5c00;flex:none}
.inner p,.inner li{color:#5f5b54}
.inner a{color:#1e1e1e}
.inner .lede{color:#1e1e1e}

/* ── کارت‌ها ── */
.inner .posts article,.inner .post .stats>*,.inner .steps>li,.inner .svc,.inner .card{background:#fff;border:1px solid rgba(30,30,30,.06)!important;
  border-radius:var(--u-radius);box-shadow:0 1px 0 rgba(30,30,30,.04),0 18px 40px -30px rgba(30,30,30,.35)}
.inner .posts article{padding:24px;transition:transform .5s var(--u-ease),box-shadow .5s var(--u-ease)}
.inner .posts article:hover{transform:translateY(-4px);box-shadow:0 30px 60px -30px rgba(30,30,30,.4)}
.inner img.image,.inner .image img,.inner img.cover{border-radius:18px}
.inner .post.featured,.inner article.post{background:transparent;border:0;box-shadow:none}

/* ── دکمه‌ها ── */
.inner .button,.inner button.button,.inner input[type=submit],.inner input[type=button]{border-radius:999px!important;background:#1e1e1e!important;color:#f2efe9!important;
  border:0!important;box-shadow:none!important;font-weight:700;letter-spacing:0;transition:background .3s,transform .3s var(--u-ease)}
.inner .button.primary,.inner input[type=submit].primary,.inner .form button[type=submit]{background:#ff5c00!important;color:#1e1e1e!important}
.inner .button:hover{transform:translateY(-1px);background:#3a3833!important}
.inner .button.primary:hover{background:#ff7a2e!important}
.inner .button.ghost{background:transparent!important;color:#1e1e1e!important;box-shadow:inset 0 0 0 1px rgba(30,30,30,.2)!important}

/* ── فرم‌ها ── */
.inner input[type=text],.inner input[type=email],.inner input[type=tel],.inner input[type=password],.inner input[type=number],.inner input[type=url],
.inner input[type=search],.inner input:not([type]),.inner select,.inner textarea{background:#fff!important;border:1px solid rgba(30,30,30,.12)!important;
  border-radius:14px!important;color:#1e1e1e!important;box-shadow:none!important;transition:border-color .3s,box-shadow .3s}
.inner input:focus,.inner select:focus,.inner textarea:focus{border-color:#ff5c00!important;box-shadow:0 0 0 4px rgba(255,92,0,.14)!important;outline:0}
.inner ::placeholder{color:rgba(30,30,30,.35)!important}
.inner label,.inner .radios legend,.inner legend{color:#1e1e1e}
.inner fieldset,.inner .radios{border:1px solid rgba(30,30,30,.08)!important;border-radius:20px;background:#fff}
.inner input[type=radio]+label::before,.inner input[type=checkbox]+label::before{border-color:rgba(30,30,30,.25)!important;background:#fff!important}
.inner input[type=checkbox]:checked+label::before,.inner input[type=radio]:checked+label::before{background:#ff5c00!important;border-color:#ff5c00!important;color:#fff!important}
.inner .form__msg{color:#c2410c}
.inner .auth-gate,.inner [class*="gate"]{background:#fff!important;border:1px solid rgba(30,30,30,.08)!important;border-radius:var(--u-radius)}

/* ── پاورقی: تیره، مثل انتهای صفحه‌ی اول ── */
.inner #footer,.inner #copyright{--ink:#1e1e1e;--ink-2:#2a2a28;--cream:#f2efe9;--mute:rgba(242,239,233,.55);--rule:rgba(242,239,233,.12);--text:rgba(242,239,233,.75)}
.inner #footer{background:#1e1e1e;color:rgba(242,239,233,.6);border-radius:32px 32px 0 0;margin-top:80px}
.inner #footer p,.inner #footer li,.inner #footer span{color:rgba(242,239,233,.6)}
.inner #footer a,.inner #footer h3{color:#f2efe9}
.inner #footer .accent{color:#f2efe9}
.inner #footer .giant span{color:#ff5c00}
.inner #copyright{background:#1e1e1e}
.inner #copyright li{color:rgba(242,239,233,.45)}
.inner .float-call{background:#ff5c00}

/* ══ کتابخانه (books.html) ══ */
.lib{max-width:1200px;margin:0 auto;padding:0 var(--pad,24px) 40px}
.lib__head{display:grid;gap:18px;margin-bottom:56px}
.lib__head p{max-width:34rem;font-size:17px;line-height:1.9}
.lib__shelf{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:28px}
.book-card{position:relative;display:grid;grid-template-columns:minmax(0,190px) 1fr;gap:28px;align-items:center;padding:28px;background:#ebe6dd;
  border-radius:32px;overflow:hidden;isolation:isolate}
.book-card::after{content:"";position:absolute;inset:auto -10% -40% auto;width:70%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(255,92,0,.16),transparent 65%);z-index:-1}
.book-card__cover{position:relative;perspective:900px}
.book-card__cover img{display:block;width:100%;height:auto;border-radius:6px 14px 14px 6px;
  box-shadow:-10px 0 0 -4px #1e1e1e,0 30px 50px -24px rgba(30,30,30,.55);transform:rotateY(-14deg);transform-origin:left center;
  transition:transform .8s var(--u-ease)}
.book-card:hover .book-card__cover img{transform:rotateY(-2deg) translateY(-6px)}
.book-card__tag{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.14em;color:#ff5c00}
.book-card__tag::before{content:"";width:6px;height:6px;border-radius:50%;background:#ff5c00}
.book-card h2{margin:10px 0 8px;font-family:var(--font-display);font-size:clamp(2rem,3.4vw,2.8rem);line-height:1;color:#1e1e1e}
.book-card p{margin:0 0 18px;font-size:15px;line-height:1.9;color:#5f5b54}
.book-card__meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:0;list-style:none}
.book-card__meta li{padding:4px 12px;border-radius:999px;background:#f2efe9;font-size:12.5px;color:#1e1e1e}
.book-card__actions{display:flex;flex-wrap:wrap;gap:10px}
.pill{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:6px 18px;border-radius:999px;font-weight:700;font-size:14px;
  text-decoration:none!important;transition:background .3s,transform .3s var(--u-ease)}
.pill--ember{background:#ff5c00;color:#1e1e1e!important;padding-left:6px}
.pill--ember::after{content:"";width:32px;height:32px;border-radius:50%;background:#1e1e1e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center/14px no-repeat}
.pill--ember:hover{background:#ff7a2e}
.pill--line{box-shadow:inset 0 0 0 1px rgba(30,30,30,.2);color:#1e1e1e!important}
.pill--line:hover{background:#1e1e1e;color:#f2efe9!important}
.lib__note{margin-top:40px;font-size:13px}
@media (max-width:560px){.book-card{grid-template-columns:1fr;text-align:right}.book-card__cover{max-width:180px}}

/* خواننده‌ی PDF داخل صفحه */
.reader{position:fixed;inset:0;z-index:100000;display:grid;grid-template-rows:auto 1fr;background:rgba(30,30,30,.72);backdrop-filter:blur(6px);
  opacity:0;visibility:hidden;transition:opacity .4s,visibility .4s}
.reader.on{opacity:1;visibility:visible}
.reader__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px auto 0;width:calc(100% - 24px);max-width:1100px;
  padding:8px 8px 8px 18px;border-radius:999px;background:#f2efe9}
.reader__bar b{color:#1e1e1e;font-size:15px}
.reader__bar div{display:flex;gap:8px}
.reader__frame{margin:12px auto;width:calc(100% - 24px);max-width:1100px;height:calc(100% - 24px);border:0;border-radius:24px;background:#fff}

/* ══ شنیدنی‌ها (podcast.html) ══ */
.listen{max-width:1200px;margin:0 auto;padding:0 var(--pad,24px) 140px}
.listen__head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:24px;margin-bottom:40px}
.listen__head p{max-width:32rem;font-size:17px;line-height:1.9}
.listen__tabs{display:inline-flex;gap:6px;padding:6px;border-radius:999px;background:#ebe6dd}
.listen__tabs button{min-height:40px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:#1e1e1e;font:600 14px var(--font-ui);cursor:pointer;transition:background .3s,color .3s}
.listen__tabs button[aria-selected=true]{background:#1e1e1e;color:#f2efe9}
.listen__grid{display:grid;grid-template-columns:minmax(0,380px) 1fr;gap:28px;align-items:start}
.listen__now{position:sticky;top:96px;padding:28px;border-radius:32px;background:#1e1e1e;color:#f2efe9;overflow:hidden;isolation:isolate}
.listen__now::before{content:"";position:absolute;inset:-30% -30% auto auto;width:90%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(255,92,0,.45),transparent 62%);z-index:-1}
.listen__now small{display:inline-flex;align-items:center;gap:8px;color:#ff5c00;font-size:12px;font-weight:600;letter-spacing:.14em}
.listen__now small::before{content:"";width:6px;height:6px;border-radius:50%;background:#ff5c00}
.listen__now h2{margin:14px 0 6px;font-family:var(--font-display);font-size:clamp(2rem,3vw,2.6rem);line-height:1.05;color:#f2efe9!important}
.listen__now p{margin:0;color:rgba(242,239,233,.6)!important;font-size:14px}
.wave{display:flex;align-items:flex-end;gap:4px;height:64px;margin:28px 0 8px}
.wave i{flex:1;border-radius:4px;background:rgba(242,239,233,.18);height:30%;transition:height .3s}
.listen.playing .wave i{background:#ff5c00;animation:wv 1.1s ease-in-out infinite}
.wave i:nth-child(3n){animation-delay:-.3s}.wave i:nth-child(4n){animation-delay:-.6s}.wave i:nth-child(5n+1){animation-delay:-.85s}
@keyframes wv{0%,100%{height:20%}50%{height:95%}}
.listen .audio-sec{margin:0}
.listen .audio-sec[hidden]{display:none}
.listen .audio-sec h3{font-family:var(--font-display);font-size:1.6rem;color:#1e1e1e;margin:0 0 4px}
.listen .audio-sec__sub{margin:0 0 18px}
.listen .audio-list{display:grid;gap:10px;margin:0;padding:0;list-style:none;counter-reset:a}
.listen .audio-list li{counter-increment:a;margin:0;padding:0;border:0}
.listen .audio-row{display:grid!important;grid-template-columns:44px 1fr auto;align-items:center;gap:14px;width:100%;min-height:68px;padding:12px 14px 12px 20px!important;
  border:1px solid rgba(30,30,30,.06)!important;border-radius:20px!important;background:#fff!important;color:#1e1e1e!important;text-align:right;cursor:pointer;
  box-shadow:none!important;transition:transform .4s var(--u-ease),box-shadow .4s var(--u-ease),background .3s}
.listen .audio-row:hover{transform:translateY(-2px);box-shadow:0 18px 36px -24px rgba(30,30,30,.45)!important}
.listen .audio-row .icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ebe6dd!important;color:#1e1e1e!important;font-size:13px}
.listen .audio-row__title{font-weight:700;color:#1e1e1e!important}
.listen .audio-row__dur{font-size:13px;color:#5f5b54!important;font-variant-numeric:tabular-nums}
.listen .audio-list li.is-active .audio-row,.listen .audio-list li.active .audio-row,.listen .audio-row.is-current{background:#ebe6dd!important;border-color:rgba(255,92,0,.35)!important}
.listen .audio-list li.is-active .icon,.listen .audio-list li.active .icon,.listen .audio-row.is-current .icon{background:#ff5c00!important;color:#1e1e1e!important}
.listen .audio-empty{padding:28px;border-radius:20px;background:#ebe6dd;color:#5f5b54;text-align:center}
.listen__note{margin-top:28px;font-size:13px}
@media (max-width:900px){.listen__grid{grid-template-columns:1fr}.listen__now{position:relative;top:0}.listen__head{grid-template-columns:1fr}}

/* نوار پخش پایین صفحه */
.inner .player{left:50%!important;right:auto!important;bottom:14px!important;transform:translateX(-50%);width:calc(100% - 24px);max-width:1100px;
  border-radius:999px!important;background:rgba(30,30,30,.92)!important;backdrop-filter:blur(16px);border:0!important;box-shadow:0 24px 50px -20px rgba(30,30,30,.6)!important;padding-inline:22px!important}
.inner .player__title{color:#f2efe9!important}
.inner .player__info small,.inner .player__info span{color:rgba(242,239,233,.55)!important}
.inner .player__btn{color:#f2efe9!important}
.inner .player__btn--main{background:#ff5c00!important;color:#1e1e1e!important}
.inner .player__seek{accent-color:#ff5c00}
.inner .player__status,.inner .player__now,.inner .player__total{color:rgba(242,239,233,.6)!important}
@media (max-width:700px){.inner .player{border-radius:24px!important}}

/* اصلاح‌ها */
.inner .head-clock{display:none}
.pill{white-space:nowrap;flex:none;width:auto!important;line-height:1.2}
.wave i:nth-child(2n){height:55%}.wave i:nth-child(3n){height:40%}.wave i:nth-child(5n){height:75%}
.inner [class*="support"] button,.inner .sup-fab,.inner .support-fab{background:#ff5c00}
@media (min-width:1101px){
  .inner .site-links{gap:0!important}
  .inner .site-links a{padding:.45rem .55rem;font-size:13px}
  .inner .site-icons{display:none!important}
  .inner .head-cta{margin-inline-start:12px;flex:none}
}
.inner .site-head .brand::after{display:none!important}

/* ══ کلاس‌ها (classes.html) ══ */
.cls-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:20px}
.cls{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:28px;border-radius:28px;background:#fff;
  border:1px solid rgba(30,30,30,.06);box-shadow:0 18px 40px -30px rgba(30,30,30,.35);transition:transform .5s var(--u-ease),box-shadow .5s var(--u-ease)}
.cls:hover{transform:translateY(-4px);box-shadow:0 30px 60px -30px rgba(30,30,30,.45)}
.cls__no{display:inline-grid;place-items:center;min-width:44px;height:28px;padding:0 10px;border-radius:999px;background:#ebe6dd;color:#1e1e1e;font-size:13px;font-weight:700}
.cls h2{margin:14px 0 4px;font-family:var(--font-display);font-size:clamp(1.7rem,2.4vw,2.1rem);line-height:1.1;color:#1e1e1e}
.cls p{margin:0 0 14px;font-size:15px;line-height:1.8}
.cls .book-card__meta li{background:#f2efe9}
.cls .pill{margin-top:auto}
.cls--other{background:#ebe6dd;box-shadow:none}
.cls--other .cls__no{background:#ff5c00}
/* کلاس انتخاب‌شده بالای فرم ثبت‌نام */
.class-pick{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 28px;padding:16px 16px 16px 20px;
  border-radius:20px;background:#1e1e1e;color:#f2efe9}
.class-pick b{color:#f2efe9;font-size:17px}
.class-pick span{display:block;color:rgba(242,239,233,.6);font-size:12px;margin:0 0 2px}
.class-pick a{color:#ff5c00!important;font-weight:700;font-size:14px}
