/* Persian service pages and articles (/fa/services, /fa/<service>, /fa/blog): RTL reading, Persian type. Builds on blog.css + work.css. */
html:lang(fa) .s-page .b-post__title, html:lang(fa) .s-page .b-card__title, html:lang(fa) .s-page .b-prose h2, html:lang(fa) .s-page .b-prose h3,
html:lang(fa) .s-page .b-next strong, html:lang(fa) .s-page .s-block__title { font-family: "Vazirmatn", Tahoma, sans-serif; font-stretch: 100%; text-transform: none; letter-spacing: 0; }
html:lang(fa) .s-page .b-post__title { font-weight: 900; font-size: clamp(44px, 6.4vw, 104px); line-height: 1.25; }
html:lang(fa) .s-page .s-title--post { font-size: clamp(34px, 4.4vw, 72px); line-height: 1.35; max-width: 22ch; }
html:lang(fa) .s-page .b-post__lede, html:lang(fa) .s-page .w-hero__lede { font-family: "Vazirmatn", Tahoma, sans-serif; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.9; font-weight: 300; }
html:lang(fa) .s-page .b-prose { font-size: clamp(17px, 1.15vw, 19px); line-height: 2.05; }
html:lang(fa) .s-page .b-prose h2 { font-weight: 900; font-size: clamp(25px, 2vw, 34px); line-height: 1.5; }
html:lang(fa) .s-page .b-prose h3 { font-weight: 700; line-height: 1.6; }
html:lang(fa) .s-page .b-prose ol { list-style-type: persian; }
html:lang(fa) .s-page .b-card__title { font-weight: 900; font-size: clamp(22px, 1.7vw, 28px); line-height: 1.5; }
html:lang(fa) .s-page .b-card--lead .b-card__title { font-size: clamp(30px, 3vw, 50px); line-height: 1.4; }
html:lang(fa) .s-page .b-card__ex { line-height: 1.9; }
html:lang(fa) .s-page .b-card__meta, html:lang(fa) .s-page .b-post__by, html:lang(fa) .s-page .b-toc { letter-spacing: 0; text-transform: none; font-size: 13px; }
html:lang(fa) .s-page .b-toc { line-height: 1.8; }
html:lang(fa) .s-page .b-next strong { font-weight: 700; font-size: 18px; line-height: 1.6; }
html:lang(fa) .s-page .b-next a:last-child { text-align: start; }
html:lang(fa) .s-page .w-hero__title { line-height: 1.35; }
.s-page .f-crumbs { font-size: 13px; }

/* service page head: text beside the film */
.s-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: clamp(28px, 5vw, 80px); align-items: end; padding: clamp(130px, 20vh, 200px) var(--g) clamp(24px, 4vh, 40px); }
.s-head__text .b-post__title { margin-top: 22px; }
.s-hub .b-post__head .b-post__title .w-line, .s-head .b-post__title .w-line { display: block; }
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: clamp(24px, 4vh, 36px) 0 0; }
.s-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; transition: border-color .3s, color .3s; }
.s-ghost:hover, .s-ghost:focus-visible { border-color: var(--accent); }
.s-video { margin: 0; }
.s-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #000; }
.s-video figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.s-video figcaption a { color: var(--ink); border-bottom: 1px solid var(--accent); }

/* blocks under the text: films, FAQ, related */
.s-block { max-width: 1180px; margin: clamp(70px, 11vh, 120px) auto 0; padding: 0 var(--g); }
.s-block__title { margin: 0 0 clamp(22px, 4vh, 36px); font-weight: 900; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.4; color: var(--ink); }
.s-films { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.s-films a { display: grid; gap: 10px; }
.s-films img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--film); transition: transform 1s var(--ease), filter .6s; filter: saturate(.9) brightness(.9); }
.s-films a:hover img, .s-films a:focus-visible img { transform: scale(1.02); filter: none; }
.s-films__kind { color: var(--muted); font-size: 12px; }
.s-films strong { font-weight: 700; font-size: 17px; line-height: 1.5; transition: color .3s; }
.s-films a:hover strong { color: var(--accent); }
.s-more { margin: 22px 0 0; }
.s-faq details { border-top: 1px solid var(--line); }
.s-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.s-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .3s; }
.s-faq details[open] summary::after { transform: rotate(45deg); }
.s-faq details p { margin: 0 0 22px; max-width: 70ch; color: #d9d2ca; font-size: 17px; line-height: 2; }
.s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.s-cards a { position: relative; display: grid; gap: 10px; height: 100%; padding: 26px 26px 30px; border: 1px solid var(--line); border-radius: 8px; background: rgba(236, 232, 225, .02); transition: border-color .3s, background .3s; }
.s-cards a:hover, .s-cards a:focus-visible { border-color: var(--accent); background: rgba(255, 106, 31, .05); }
.s-cards strong { font-weight: 900; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.5; }
.s-cards span { color: #bdb6ae; line-height: 1.9; }
.s-cards i { position: absolute; top: 22px; inset-inline-end: 22px; font-style: normal; color: var(--accent); transform: scaleX(-1); }
.s-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); margin: clamp(18px, 3vh, 28px) 0 0; padding: 0; list-style: none; }
.s-posts a { display: grid; gap: 10px; }
.s-posts img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.s-posts .mono { color: var(--accent); font-size: 12px; }
.s-posts strong { font-weight: 700; font-size: 18px; line-height: 1.6; transition: color .3s; }
.s-posts a:hover strong { color: var(--accent); }
.s-cta { position: relative; display: grid; gap: 8px; margin-bottom: 30px; padding: 26px 28px; border: 1px solid var(--accent); border-radius: 8px; background: rgba(255, 106, 31, .06); }
.s-cta .mono { color: var(--accent); font-size: 12px; }
.s-cta strong { font-weight: 900; font-size: 24px; line-height: 1.5; }
.s-cta span:not(.mono) { color: #d9d2ca; line-height: 1.9; }
.s-cta i { position: absolute; top: 24px; inset-inline-end: 24px; font-style: normal; color: var(--accent); transform: scaleX(-1); }
.s-hub .b-post__head { max-width: 1180px; }
.f-film__svc { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.f-film__svc a { color: var(--ink); }

@media (max-width: 900px) {
  .s-head { grid-template-columns: minmax(0, 1fr); padding-top: 120px; }
  .s-video { max-width: 340px; }
  .s-films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .s-actions .intro__btn { width: 100%; justify-content: center; }
  .s-video { max-width: none; }
}
