/* Blog and service pages. Builds on case.css. */
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav__lang { font-size: .94rem; font-weight: 500; white-space: nowrap; }
.nav__lang:hover { color: var(--lime); }
.ink, .art { --ac: var(--lime); }

/* hero */
.art__hero { padding: clamp(130px, 15vw, 190px) 0 clamp(44px, 6vw, 80px); background: radial-gradient(90% 90% at 80% 0, rgba(212, 255, 58, .1), transparent 60%), var(--ink); }
.art__hero .crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted-d); }
.art__hero .crumbs a:hover { color: var(--paper); }
.art__kick { margin-top: 26px; color: var(--lime); }
.art__hero h1 { margin-top: 12px; max-width: 16ch; font-size: clamp(2.7rem, 7.6vw, 6.6rem); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.art__hero h1 em { color: var(--lime); }
.art__lead { margin-top: 22px; max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted-d); }
.art__date { margin-top: 20px; color: var(--muted-d); }
.art__heroacts { margin-top: 28px; }

/* body */
.art__body { background: var(--paper); color: var(--ink); padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 8vw, 110px); }
.art__col { max-width: 760px; margin-inline: auto; font-size: 1.1rem; line-height: 1.68; }
.art__col > p, .art__col > ul, .art__col > ol, .art__col > .tbl, .art__col > blockquote, .art__col > .gallery { margin-top: 18px; }
.art__col h2 { margin-top: 52px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; scroll-margin-top: 100px; }
.art__col h3 { margin-top: 32px; font-size: 1.32rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; scroll-margin-top: 100px; }
.art__col a:not(.btn) { color: #3f4d00; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.art__col ul, .art__col ol { padding-inline-start: 22px; }
.art__col ul { list-style: disc; }
.art__col ol { list-style: decimal; }
.art__col li { margin-top: 8px; }
.art__col li::marker { color: var(--ac-ink); }
.art__col blockquote { padding: 4px 0; padding-inline-start: 20px; border-inline-start: 3px solid var(--ink); font-size: 1.2rem; line-height: 1.45; }
.art__answer { padding: 22px 24px; border-radius: 18px; background: var(--lime); }
.art__answer strong { display: block; margin-bottom: 6px; font-size: .94rem; font-weight: 600; }
.art__answer p { font-size: 1.14rem; line-height: 1.5; }
.art__answer a { color: var(--ink) !important; }
.art__fig { margin: 32px 0 0; }
.art__fig img { width: 100%; border-radius: 18px; }
.art__fig figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted-l); }
.tbl { overflow-x: auto; }
.tbl table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .98rem; line-height: 1.4; }
.tbl th { padding: 0 14px 10px 0; font-weight: 600; text-align: start; }
.tbl td { padding: 11px 14px 11px 0; border-top: 1px solid var(--line-l); vertical-align: top; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery img { width: 100%; border-radius: 12px; }
code { padding: 1px 6px; border-radius: 6px; background: rgba(11, 11, 12, .07); font-size: .92em; }

/* faq */
.art__faq { margin-top: 56px; }
.art__faq h2 { margin-bottom: 16px; }
.art__faq details { border-top: 1px solid var(--line-l); }
.art__faq details:last-child { border-bottom: 1px solid var(--line-l); }
.art__faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 1.14rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.art__faq summary::-webkit-details-marker { display: none; }
.art__faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; }
.art__faq details[open] summary::after { content: "–"; }
.art__faq details div { padding-bottom: 18px; color: rgba(11, 11, 12, .78); }

/* related */
.art__rel { margin-top: 52px; }
.art__rel h2 { margin-top: 0; font-size: 1.4rem; }
.art__rel > div { display: grid; gap: 0; margin-top: 12px; }
.art__rel a { display: flex !important; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-l); color: var(--ink) !important; text-decoration: none !important; font-weight: 500; }

/* proof */
.eyebrow { color: var(--lime); }
.sec--paper .eyebrow { color: var(--ac-ink); }
.pcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.pc__img { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--ink-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.pc__img img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.pc__img:hover img { transform: scale(1.03); }
.pc .live { right: 10px; bottom: 10px; height: 38px; padding: 0 14px; font-size: .86rem; }
[dir="rtl"] .pc .live { right: auto; left: 10px; }
.pc h3 { margin-top: 14px; font-size: 1.3rem; font-weight: 500; letter-spacing: -.03em; }
.pc p { margin-top: 5px; color: var(--muted-d); font-size: .96rem; line-height: 1.45; }
.pc__cs { display: inline-block; margin-top: 8px; font-size: .94rem; font-weight: 500; color: var(--lime); }
@media (max-width: 860px) { .pcs { grid-template-columns: minmax(0, 1fr); } }

/* process */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; margin-top: 30px; list-style: none; }
.steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 18px 0; border-top: 1px solid var(--line-l); }
.steps .n { font-family: var(--f-serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--ac-ink); }
.steps h3 { font-size: 1.24rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.steps p { margin-top: 5px; color: var(--muted-l); font-size: .98rem; line-height: 1.45; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* cta + hubs */
.cta__p { max-width: 60ch; margin-top: 18px; font-size: 1.15rem; line-height: 1.45; }
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hub__i { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: #fff; transition: transform .5s var(--ease); }
.hub__i:hover { transform: translateY(-3px); }
.hub__i .label { color: var(--ac-ink); }
.hub__i h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.hub__i h2 em { color: var(--ac-ink); }
.hub__i p { color: var(--muted-l); line-height: 1.5; }
.hub__i b { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 600; }
@media (max-width: 760px) { .hub { grid-template-columns: minmax(0, 1fr); } }

/* phones */
@media (max-width: 560px) {
  .nav { padding-inline: 16px 8px; gap: 8px; }
  .nav__logo img { height: 18px; }
  .nav__end { gap: 8px; }
  .nav .btn { padding-inline-start: 12px; font-size: .84rem; height: 40px; gap: 7px; }
  .nav .btn__ic { width: 26px; height: 26px; }
  .nav__lang { font-size: .84rem; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}

/* Arabic: letter spacing breaks joined letters, and the Latin italic has no Arabic glyphs */
[dir="rtl"] { --f-sans: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", "Noto Kufi Arabic", sans-serif; font-family: var(--f-sans); }
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] body, [dir="rtl"] .btn, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--f-sans); }
[dir="rtl"] em { font-family: inherit; font-style: normal; font-weight: inherit; }
[dir="rtl"] .label { font-family: var(--f-sans); text-transform: none; font-size: .84rem; }
[dir="rtl"] .art__hero h1 { line-height: 1.2; font-weight: 600; }
[dir="rtl"] .art__heroacts { margin-top: 38px; }
[dir="rtl"] .cta h2, [dir="rtl"] .h2 { line-height: 1.2; font-weight: 600; }
[dir="rtl"] .art__col { line-height: 1.85; }
[dir="rtl"] .art__col h2, [dir="rtl"] .art__col h3 { line-height: 1.3; font-weight: 600; }
[dir="rtl"] .tbl th, [dir="rtl"] .tbl td { padding-inline: 0 14px; }
[dir="rtl"] .ico { transform: scaleX(-1); }
[dir="rtl"] .btn__ic .ico { transform: none; }
[dir="rtl"] .btn:hover .btn__ic { transform: none; }
[dir="rtl"] .steps .n { font-family: var(--f-sans); font-style: normal; font-size: 1.6rem; }
[dir="rtl"] .btn { padding-inline: 24px 8px; padding-left: 8px; padding-right: 24px; }
