/* =================================================================
   pages.css — مكوّنات الصفحات الداخلية بالهوية الجديدة (فوق site/home/v2.css)
   ================================================================= */
.page { background: var(--paper); }
.page main { padding-top: 76px; }
/* بداية الصفحة الداخلية: لا فراغ بين الهيدر الثابت ومحتوى الرأس (v9) */
.page main:has(> .phead:first-child) { padding-top: 0; }
/* رأس الصفحة: نص حقيقي (H1) بستايل الستيكر + شخصية */
.phead { position: relative; overflow: clip; padding: clamp(2.5rem, 7vw, 5rem) var(--pad) clamp(2rem, 5vw, 3.5rem); background: radial-gradient(60% 80% at 80% 30%, var(--or-soft), transparent 70%), var(--paper); border-bottom: 1px solid var(--line); }
.phead__in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.phead__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.35; color: var(--ink); paint-order: stroke fill; -webkit-text-stroke: .12em #fff; filter: drop-shadow(0 3px 0 rgba(31,26,22,.10)) drop-shadow(0 12px 18px rgba(31,26,22,.14)); text-wrap: balance; }
.phead__title em { font-style: normal; color: var(--or); }
.phead__lead { margin: 1rem 0 0; max-width: 34rem; color: var(--ink-soft); font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.85; text-wrap: pretty; }
.phead__fig { justify-self: center; position: relative; height: clamp(220px, 30vw, 360px); }
.phead__fig img { height: 100%; width: auto; filter: drop-shadow(0 16px 20px rgba(31,26,22,.2)); animation: figIn .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes figIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .phead__in { grid-template-columns: 1fr; text-align: center; } .phead__lead { margin-inline: auto; } .phead__fig { height: 220px; order: -1; } }

/* كروت روابط */
.plinks { max-width: 1040px; margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) var(--pad); }
.plinks h2 { margin: 0 0 1rem; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.plinks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plink { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.2rem 1rem; box-shadow: var(--sh-1); position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.plink::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(270deg, var(--or2), var(--or-deep)); }
.plink:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(180,84,28,.5); }
.plink b { font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.plink span { color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
.plink i { margin-top: auto; padding-top: .5rem; font-style: normal; color: var(--or-deep); font-weight: 700; font-size: .9rem; }
@media (max-width: 760px) { .plinks__grid { grid-template-columns: 1fr; } }

/* الجورنال: إطار بالهوية الجديدة (الكروت بتتولّد من _rebuild.php — الكلاسات ثابتة) */
.jwrap { max-width: 1100px; margin: 0 auto; padding: clamp(1.8rem, 4vw, 2.8rem) var(--pad) clamp(3rem, 6vw, 4rem); background: none; }
.jpage .jtabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.6rem; border: 0; padding: 0; }
.jpage .jtabs button { border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .9rem/1.2 var(--f-body); padding: .6rem 1rem; border-radius: 999px; cursor: pointer; }
.jpage .jtabs button.is-active { background: var(--or-deep); border-color: var(--or-deep); color: #fff; }
.jpage .jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.jpage .jgrid .jcard { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s ease, box-shadow .25s ease; }
.jpage .jgrid .jcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(180,84,28,.5); }
.jpage .jcard--feat { grid-column: span 2; }
.jpage .jcard__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--or-soft); }
.jpage .jcard__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.jpage .jgrid .jcard:hover .jcard__img img { transform: scale(1.04); }
.jpage .jcard--feat .jcard__img { aspect-ratio: 21 / 9; }
.jpage .jcard--feat .jcard__img img { aspect-ratio: 21 / 9; }
.jpage .jcard__body { display: block; flex: 1; padding: 1rem 1.2rem .7rem; }
.jpage .jcard__badge { position: absolute; top: .7rem; inset-inline-start: .7rem; background: #fff; color: var(--or-deep); font-weight: 700; font-size: .76rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--line-or); box-shadow: 0 2px 8px rgba(31,26,22,.12); }
.jpage .jcard__ttl { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; line-height: 1.6; color: var(--ink); text-wrap: balance; }
.jpage .jcard--feat .jcard__ttl { font-size: 1.35rem; }
@media (prefers-reduced-motion: reduce) { .jpage .jcard__img img { transition: none; } .jpage .jgrid .jcard:hover .jcard__img img { transform: none; } }
/* هيرو المقالات: ورق دافئ + توهّج برتقالي خلف الصورة + حبيبات خفيفة، فيستقر النص وصورة صاحب الموقع على خلفية مركّبة */
.jpage .phead { background:
    radial-gradient(34% 70% at 22% 62%, rgba(243, 168, 103, .55), rgba(243, 168, 103, 0) 70%),
    radial-gradient(46% 90% at 88% 8%, rgba(229, 128, 42, .16), rgba(229, 128, 42, 0) 70%),
    radial-gradient(rgba(180, 84, 28, .10) 1px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(180deg, #FCFAF6, #F6EFE6); }
.jpage .phead__fig::before { content: ""; position: absolute; inset-inline: 6% ; bottom: -3%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,26,22,.28), rgba(31,26,22,0)); z-index: 0; }
.jpage .phead__fig img { position: relative; z-index: 1; }
.jpage .jcard__foot { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.2rem; font-size: .82rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.jpage .jcard__more { color: var(--or-deep); font-weight: 700; }
.jpage .newsletter { margin: 2.5rem auto 0; max-width: 640px; text-align: center; background: #fff; border: 1px solid var(--line-or); border-radius: 22px; padding: 1.6rem 1.4rem; box-shadow: var(--sh-1); }
.jpage .newsletter h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.jpage .newsletter p { color: var(--ink-soft); margin: .5rem 0 1rem; }
.jpage .newsletter form { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.jpage .newsletter input[type=email] { flex: 1 1 220px; max-width: 340px; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; font: 500 .95rem var(--f-body); background: var(--paper); }
.jpage .newsletter button { border: 0; border-radius: 999px; background: var(--or-deep); color: #fff; font: 700 .95rem var(--f-body); padding: .7rem 1.4rem; cursor: pointer; }
.jpage .newsletter .note { min-height: 1.3rem; font-size: .85rem; margin-top: .5rem; color: var(--ink-soft); }
.jpage .newsletter .note.is-error { color: #A8201A; }
@media (max-width: 900px) { .jpage .jgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jpage .jgrid { grid-template-columns: 1fr; } .jpage .jcard--feat { grid-column: auto; } .jpage .jtabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; } .jpage .jtabs button { flex: none; } }

/* ===== مكوّنات الصفحات الجديدة (build-pages.py) ===== */
.psec { padding: clamp(2.5rem, 6vw, 4rem) var(--pad); }
.psec:nth-of-type(even) { background: #fff; border-block: 1px solid var(--line); }
.psec__in { max-width: 1040px; margin: 0 auto; }
.psec__head { margin-bottom: 1.5rem; }
.psec__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.4; color: var(--ink); paint-order: stroke fill; -webkit-text-stroke: .1em #fff; filter: drop-shadow(0 2px 0 rgba(31,26,22,.08)) drop-shadow(0 8px 12px rgba(31,26,22,.1)); }
.psec__lead { margin: .6rem 0 0; color: var(--ink-soft); max-width: 40rem; line-height: 1.8; text-wrap: pretty; }
.pcards2 { display: grid; gap: 1rem; }
.pcards2--3 { grid-template-columns: repeat(3, 1fr); }
.pcards2--4 { grid-template-columns: repeat(4, 1fr); }
.pcard2 { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.15rem; box-shadow: var(--sh-1); }
.psec:nth-of-type(even) .pcard2 { background: var(--paper); }
.pcard2__n { display: block; font-family: var(--f-display); font-weight: 800; color: var(--or-deep); font-size: 1.6rem; line-height: 1; margin-bottom: .5rem; }
.pcard2 h3 { margin: 0 0 .4rem; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.pcard2 p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.75; text-wrap: pretty; }
@media (max-width: 900px) { .pcards2--3, .pcards2--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pcards2--3, .pcards2--4 { grid-template-columns: 1fr; } }
.pvideo { margin: 0; }
.pvideo video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 20px; border: 8px solid #fff; background: #0b0a09; box-shadow: 0 1px 2px rgba(31,26,22,.08), 0 24px 44px -24px rgba(31,26,22,.4); }
.pvideo figcaption { margin-top: .6rem; text-align: center; font-size: .85rem; color: var(--ink-soft); }
.pstills { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
.pstills img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 5px solid #fff; box-shadow: var(--sh-1); }
@media (max-width: 760px) { .pstills { grid-template-columns: repeat(2, 1fr); } }
.pcols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pcol { border-radius: 18px; padding: 1.3rem 1.3rem 1rem; border: 1px solid var(--line); background: #fff; }
.pcol h3 { margin: 0 0 .7rem; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; }
.pcol ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.pcol li { position: relative; padding-inline-start: 1.7rem; line-height: 1.7; color: var(--ink); }
.pcol--yes { border-color: rgba(59,165,92,.3); } .pcol--yes h3 { color: #2E7D4A; }
.pcol--yes li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: #2E7D4A; font-weight: 800; }
.pcol--no { border-color: rgba(199,67,43,.25); } .pcol--no h3 { color: #A33A26; }
.pcol--no li::before { content: '✕'; position: absolute; inset-inline-start: 0; color: #C7432B; font-weight: 800; }
@media (max-width: 700px) { .pcols { grid-template-columns: 1fr; } }
.ptopics { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.ptopics li { background: #fff; border: 1px solid var(--line-or); color: var(--ink); border-radius: 999px; padding: .5rem .9rem; font-size: .9rem; font-weight: 600; }
.ppast { display: grid; grid-template-columns: 320px 1fr; gap: 1.2rem; align-items: center; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: .8rem; box-shadow: var(--sh-1); }
.ppast img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.ppast b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.ppast span span { display: block; color: var(--ink-soft); margin: .3rem 0 .5rem; line-height: 1.7; }
.ppast i { font-style: normal; color: var(--or-deep); font-weight: 700; }
@media (max-width: 700px) { .ppast { grid-template-columns: 1fr; } }
.ptl { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(9, 1fr); gap: .5rem; align-items: end; }
.ptl__item { text-align: center; display: grid; gap: .3rem; justify-items: center; }
.ptl__item img { height: 150px; width: auto; filter: drop-shadow(0 8px 10px rgba(31,26,22,.18)); }
.ptl__item b { font-family: var(--f-display); font-weight: 800; color: var(--or-deep); font-size: .95rem; unicode-bidi: plaintext; }
.ptl__item span { font-size: .78rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) { .ptl { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; } .ptl__item img { height: 140px; } }
.phead__photo { justify-self: center; width: min(100%, 380px); }
.phead__photo img { width: 100%; height: auto; display: block; border-radius: 22px; border: 8px solid #fff; transform: rotate(-1.5deg); box-shadow: 0 1px 2px rgba(31,26,22,.08), 0 24px 44px -24px rgba(31,26,22,.4); }
.psec--cta { background: none !important; border: 0 !important; }
.pcta { max-width: 820px; margin: 0 auto; text-align: center; background: linear-gradient(160deg, #FFF4E8, var(--or-soft)); border: 1px solid var(--line-or); border-radius: 26px; padding: clamp(1.6rem, 4vw, 2.6rem); }
.pcta h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); }
.pcta p { margin: .7rem auto 1.2rem; max-width: 34rem; color: var(--ink-soft); line-height: 1.8; }
.pcta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.page .pformats { justify-content: flex-start; margin: 0 0 1rem; }
.page .quotes { margin-top: 0; }
.phead--plain .phead__in { grid-template-columns: 1fr; }
.legal { max-width: 760px; color: var(--ink); line-height: 1.95; }
.legal h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; margin: 2rem 0 .6rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-inline-start: 1.3rem; }
.legal a { color: var(--or-deep); }

/* ===== مقالات الجورنال (tools/restyle-articles.py) ===== */
.art-page main.art-wrap { padding: 96px var(--pad) 3rem; }
.art { max-width: 760px; margin: 0 auto; color: var(--ink); font-size: 1.08rem; line-height: 2; }
.art h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 4.4vw, 2.7rem); line-height: 1.4; margin: .6rem 0 .4rem; paint-order: stroke fill; -webkit-text-stroke: .1em #fff; filter: drop-shadow(0 3px 0 rgba(31,26,22,.08)) drop-shadow(0 10px 14px rgba(31,26,22,.12)); text-wrap: balance; }
.art .art-date { color: var(--ink-soft); font-size: .9rem; }
.art .art-hero { display: block; width: 100%; height: auto; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 20px 40px -24px rgba(31,26,22,.4); margin: 1.2rem 0; }
.art .art-summary { background: var(--or-soft); border: 1px solid var(--line-or); border-radius: 16px; padding: 1rem 1.2rem; margin: 1.2rem 0; color: var(--ink); line-height: 1.9; }
.art h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1.5; margin: 2.2rem 0 .6rem; color: var(--ink); }
.art h2::after { content: ''; display: block; width: 40px; height: 3px; border-radius: 3px; margin-top: .4rem; background: var(--or); }
.art p { margin: 0 0 1rem; }
.art ul, .art ol { padding-inline-start: 1.4rem; margin: 0 0 1.2rem; }
.art li { margin-bottom: .4rem; }
.art li::marker { color: var(--or-deep); }
.art a { color: var(--or-deep); }
.art table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--sh-1); }
.art th, .art td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: start; }
.art th { background: var(--or-soft); color: var(--or-deep); font-weight: 700; }
.art .faq { margin-top: 2.2rem; }
.art details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .6rem; }
.art summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.art details p { margin: .6rem 0 0; color: var(--ink-soft); }
.art .cta { margin: 2.4rem 0 1.4rem; text-align: center; background: linear-gradient(160deg, #FFF4E8, var(--or-soft)); border: 1px solid var(--line-or); border-radius: 22px; padding: 1.5rem 1.3rem; }
.art .cta p { margin: 0 0 1rem; color: var(--ink); }
.art .cta > a { display: inline-block; background: var(--or-deep); color: #fff; text-decoration: none; font-weight: 700; padding: .75rem 1.5rem; border-radius: 999px; }
.art .news { margin-top: .8rem; }
.art .news a { color: var(--ink-soft); font-size: .9rem; }
.art-lock { position: relative; width: 200px; margin: 2rem auto 2.4rem; line-height: 0; transform: rotate(-3deg); }
.art-lock img:first-child { width: 100%; height: auto; }
.art-lock img:last-child { position: absolute; width: 40%; left: -8%; bottom: -55%; transform: rotate(-6deg); }
.art .author { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; box-shadow: var(--sh-1); }
.art .author img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--or); flex: none; }
.art .author strong { display: block; color: var(--ink); }
.art .author p { margin: .3rem 0 .4rem; font-size: .93rem; color: var(--ink-soft); line-height: 1.8; }
.art .author a { font-weight: 700; font-size: .9rem; }

/* ===== صفحة الأعمال /work (tools/build-cases.py) ===== */
.wkick { margin: 0 0 .9rem; }
.wkick img { height: clamp(2.3rem, 4vw, 3rem); width: auto; }
.wchips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.wchip { display: inline-flex; align-items: center; min-height: 40px; padding: .5rem 1rem; border: 1px solid var(--line-or); border-radius: 999px; background: #fff; color: var(--or-deep); font: 700 .92rem/1.2 var(--f-body, inherit); text-decoration: none; transition: background .2s ease, color .2s ease; }
.wchip:hover, .wchip:focus-visible { background: var(--or-deep); color: #fff; }
@media (max-width: 760px) { .wchips { justify-content: center; } }
.wshelf { scroll-margin-top: 70px; }
.wcases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.1rem; }
.wcase { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-1); transition: transform .2s ease, box-shadow .2s ease; }
.wcase:hover, .wcase:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(180,84,28,.5); }
.wcase__art { display: block; overflow: hidden; background: var(--paper2); }
.wcase__art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 26%; }
.wcase__b { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.15rem 1.2rem; flex: 1; }
.wcase__kind { font-size: .8rem; font-weight: 700; color: var(--or-deep); }
.wcase__t { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; line-height: 1.5; color: var(--ink); text-wrap: balance; unicode-bidi: plaintext; }
.wcase__d { color: var(--ink-soft); font-size: .93rem; line-height: 1.8; text-wrap: pretty; }
.wcase__go { margin-top: auto; padding-top: .4rem; color: var(--or-deep); font-weight: 700; font-size: .92rem; }
.wvids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 960px) { .wvids { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .wvids { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.wvid { display: flex; flex-direction: column; gap: .55rem; text-decoration: none; color: var(--ink); min-width: 0; }
.wvid__thumb { position: relative; display: block; overflow: hidden; border-radius: 14px; border: 5px solid #fff; background: #0b0a09; box-shadow: var(--sh-1), 0 14px 26px -18px rgba(31,26,22,.5); transition: transform .2s ease; }
.wvid__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.wvid__play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(180,84,28,.92); box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .2s ease; }
.wvid__play::before { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 8px solid transparent; border-left: 13px solid #fff; transform: translateX(2px); }
.wvid:hover .wvid__thumb, .wvid:focus-visible .wvid__thumb { transform: translateY(-3px); }
.wvid:hover .wvid__play, .wvid:focus-visible .wvid__play { transform: scale(1.1); }
.wvid:focus-visible, .wcase:focus-visible, .wchip:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.wvid__t, .wtrack__t { font-family: var(--f-display); font-weight: 700; font-size: .98rem; line-height: 1.55; text-wrap: balance; }
.wrole__where { display: block; font-size: .78rem; font-weight: 700; color: var(--or-deep); margin-bottom: .35rem; }
.wrole__org { font-size: .85rem; color: var(--ink-soft); opacity: .9; margin-bottom: .5rem !important; }
/* نافذة تشغيل الفيديو */
.wmodal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(20,14,10,.82); animation: wfade .2s ease both; }
.wmodal__box { position: relative; width: min(100%, 960px); }
.wmodal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.wmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wmodal__title { margin: 0 0 .7rem; padding-inline-end: 3.2rem; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.wmodal__close { position: absolute; top: -4px; inset-inline-end: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; }
.wmodal__close:hover { background: rgba(255,255,255,.28); }
.wmodal__close:focus-visible { outline: 3px solid var(--or2); outline-offset: 2px; }
.wlock { overflow: hidden; }
@keyframes wfade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .wmodal { animation: none; }
  .wcase, .wvid__thumb, .wvid__play, .wchip { transition: none; }
  .wcase:hover, .wvid:hover .wvid__thumb { transform: none; }
}
/* الأعمال: بطاقة عريضة لو عمل واحد + عرض ألبوم للأغاني */
@media (min-width: 761px) {
  .wcases--one { grid-template-columns: 1fr; }
  .wcases--one .wcase { flex-direction: row; }
  .wcases--one .wcase__art { flex: 0 0 38%; position: relative; min-height: 340px; max-height: 420px; }
  .wcases--one .wcase__art img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .wcases--one .wcase__b { justify-content: center; padding: 1.8rem 2rem; }
  .wcases--one .wcase__t { font-size: 1.5rem; }
  .wcases--one .wcase__d { font-size: 1rem; max-width: 34rem; }
}

/* ===== /work: شو-ريل + تصفية + بطاقات الأعمال (2026-11-10) ===== */
.wreel { padding: clamp(1.8rem, 4vw, 3rem) var(--pad) 0; }
.wreel__in { max-width: 900px; margin: 0 auto; }
.wreel__frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0b0a09; border: 6px solid #fff; box-shadow: var(--sh-1), 0 28px 50px -26px rgba(31,26,22,.55); }
.wreel__frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b0a09; }
.wreel__cap { margin: .8rem 0 0; text-align: center; font-family: var(--f-display); font-weight: 700; color: var(--or-deep); font-size: .95rem; }
.wtools { padding: clamp(1.4rem, 3vw, 2rem) var(--pad) 0; }
.wtools__in { max-width: 1180px; margin: 0 auto; }
.wfilter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.wfilter[hidden] { display: none; }
button.wchip { cursor: pointer; appearance: none; }
.wchip[aria-pressed="true"] { background: var(--or-deep); color: #fff; border-color: var(--or-deep); }
.wchip[aria-pressed="true"]:focus-visible, .wchip[aria-pressed="true"]:hover { background: #9A4514; }
.wgroup, .wgroup:nth-of-type(even) { background: none; border: 0; padding-block: clamp(1.6rem, 4vw, 2.6rem) 0; }
.wgroup[hidden], .wshelf[hidden] { display: none; }
.wgroup .psec__in { max-width: 1180px; }
.wgroup__t { margin: 0 0 1.1rem; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.wgroup__t::after { content: ''; display: block; width: 44px; height: 3px; margin-top: .55rem; border-radius: 2px; background: var(--or); }
.wgroup .wcases { margin-bottom: 1.1rem; }
.wworks { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.wworks--h { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.wworks--v { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
@media (max-width: 700px) { .wworks--v { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } .wworks--h { grid-template-columns: 1fr; } }
.wwork { position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-1); transition: transform .2s ease, box-shadow .2s ease; }
a.wwork:hover, a.wwork:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(180,84,28,.5); }
a.wwork:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.wwork__thumb { position: relative; display: block; overflow: hidden; background: #0b0a09; }
.wwork--v .wwork__thumb { aspect-ratio: 9 / 16; }
.wwork--h .wwork__thumb { aspect-ratio: 16 / 9; }
.wwork--site .wwork__thumb { aspect-ratio: 3 / 2; background: var(--paper2); }
.wwork__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wwork--site .wwork__thumb img { object-position: 50% 0; }
.wwork .wvid__play { width: 44px; height: 44px; }
a.wwork:hover .wvid__play, a.wwork:focus-visible .wvid__play { transform: scale(1.1); }
.wwork__b { display: flex; flex-direction: column; gap: .3rem; padding: .8rem .9rem 1rem; flex: 1; }
.wwork__m { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; color: var(--or-deep); }
.wwork__tag { padding: .05rem .5rem; border-radius: 999px; background: var(--or-soft); color: var(--or-deep); font-size: .72rem; }
.wwork__t { font-family: var(--f-display); font-weight: 800; font-size: 1rem; line-height: 1.5; text-wrap: balance; unicode-bidi: plaintext; }
.wwork__d { color: var(--ink-soft); font-size: .86rem; line-height: 1.7; text-wrap: pretty; }
.wwork__go { margin: 0 .9rem 1rem; align-self: flex-start; color: var(--or-deep); font-weight: 700; font-size: .92rem; text-decoration: none; border-bottom: 2px solid var(--line-or); }
.wwork__go:hover, .wwork__go:focus-visible { border-color: var(--or-deep); }
.wshelf[data-cat="songs"] { padding-top: clamp(1.6rem, 4vw, 2.6rem); background: none; border: 0; }
.wshelf[data-cat="songs"] .psec__in { max-width: 1180px; }
@media (prefers-reduced-motion: reduce) { .wwork, .wwork .wvid__play { transition: none; } a.wwork:hover { transform: none; } }
/* نافذة الفيديو المحلي */
.wmodal__frame--video { background: #000; }
.wmodal__frame--video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.wmodal__box--v { width: auto; }
.wmodal__box--v .wmodal__frame { aspect-ratio: 9 / 16; height: min(78vh, 760px); width: auto; max-width: calc(100vw - 2rem); margin-inline: auto; }
.wmodal__box--v .wmodal__title { text-align: center; padding-inline: 3.2rem; }

/* ===== v9 (2026-11-10) — بطاقات الروابط (مواقع/بودكاست) وروابط الألبوم ===== */
.wwork--sq .wwork__thumb { aspect-ratio: 1 / 1; }
.wwork--sq .wwork__thumb img { object-position: 50% 50%; }
.phead { padding-top: clamp(1.5rem, 2.4vw, 2.5rem); }
@media (min-width: 900px) { .phead { padding-top: 2.25rem; } }
.wwork__t { unicode-bidi: normal; }

/* ===== v11 — «فعاليات حضرتها» ===== */
.wevents { padding-block: clamp(1.6rem, 4vw, 2.6rem) 0; }
.wevent { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-1); padding: clamp(1rem, 2.4vw, 1.6rem); }
.wevent__t { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.5; }
.wevent__m { margin: .2rem 0 1rem; color: var(--ink-soft); font-size: .92rem; }
.wev { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.wev__ph { display: block; overflow: hidden; border-radius: 12px; background: var(--paper2); aspect-ratio: 1 / 1; }
.wev__ph--big { grid-column: span 2; grid-row: span 2; }
.wev__ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .3s ease; }
.wev__ph:hover img, .wev__ph:focus-visible img { transform: scale(1.04); }
.wev__ph:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
@media (max-width: 700px) {
  .wev { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * clamp(1rem, 2.4vw, 1.6rem)); padding-inline: clamp(1rem, 2.4vw, 1.6rem); padding-bottom: .4rem; -webkit-overflow-scrolling: touch; }
  .wev__ph, .wev__ph--big { flex: 0 0 62%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
}
.wmodal__box--img { width: auto; max-width: 100%; }
.wmodal__photo { display: grid; place-items: center; }
.wmodal__photo img { display: block; max-width: min(92vw, 960px); max-height: calc(100vh - 8.5rem); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); background: #111; }
.wmodal__box--img .wmodal__close { top: -48px; }
.wmodal__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .8rem; color: #fff; font-size: .9rem; }
.wmodal__arr { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 1.3rem; cursor: pointer; }
.wmodal__arr:hover { background: rgba(255,255,255,.28); }
.wmodal__arr:focus-visible { outline: 3px solid var(--or2); outline-offset: 2px; }
.psec__more { margin: 1.6rem 0 0; text-align: center; }

/* ===== v10 (2026-11-10) — الأغاني: غلاف + قائمة مضغوطة بعمودين ===== */
.walbum { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.walbum__side { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.walbum__cover { margin: 0; border-radius: 16px; overflow: hidden; border: 5px solid #fff; background: #0b0a09; box-shadow: var(--sh-1), 0 22px 36px -22px rgba(31,26,22,.55); }
.walbum__cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.walbum__btn { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1rem; border-radius: 999px; background: var(--or-deep); color: #fff; font: 700 .9rem/1.3 var(--f-body); text-decoration: none; box-shadow: 0 8px 18px -10px rgba(180,84,28,.7); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.walbum__btn:hover, .walbum__btn:focus-visible { background: #9A4514; transform: translateY(-2px); box-shadow: 0 12px 22px -10px rgba(180,84,28,.8); }
.walbum__btn:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.wtracks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .7rem; align-content: start; }
.wtrack { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .5rem .7rem; border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wtrack:hover, .wtrack:focus-visible { transform: translateY(-2px); border-color: var(--line-or); box-shadow: 0 14px 26px -18px rgba(180,84,28,.55); }
.wtrack:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.wtrack__n { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--or-soft); font-family: var(--f-display); font-weight: 800; color: var(--or-deep); font-size: .82rem; }
.wtrack__t { flex: 1; min-width: 0; font-size: .93rem; line-height: 1.45; }
.wtrack__play { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--or-deep); transition: transform .2s ease; }
.wtrack__play::before { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid #fff; transform: translateX(1px); }
.wtrack:hover .wtrack__play, .wtrack:focus-visible .wtrack__play { transform: scale(1.12); }
@media (max-width: 760px) {
  .walbum { grid-template-columns: 1fr; gap: .9rem; }
  .walbum__side { flex-direction: row; align-items: center; gap: .9rem; }
  .walbum__cover { flex: 0 0 140px; width: 140px; border-width: 4px; border-radius: 12px; }
  .walbum__btn { flex: 1; }
}
@media (max-width: 440px) {
  .wtracks { gap: .45rem; }
  .wtrack { gap: .45rem; padding: .45rem .5rem; border-radius: 12px; }
  .wtrack__n { width: 1.6rem; height: 1.6rem; font-size: .74rem; }
  .wtrack__t { font-size: .84rem; line-height: 1.4; }
  .wtrack__play { width: 22px; height: 22px; }
  .wtrack__play::before { border-block-width: 4px; border-left-width: 6px; }
}
@media (prefers-reduced-motion: reduce) { .wtrack, .wtrack__play, .walbum__btn { transition: none; } .wtrack:hover, .walbum__btn:hover { transform: none; } .wtrack:hover .wtrack__play { transform: none; } }

/* ===== v10 — «مؤسسات ومشاريع عملت معها»: بطاقات بظل وحركة ===== */
.wroles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; counter-reset: none; }
.wroles .pcard2.wrole { position: relative; display: flex; flex-direction: column; gap: .15rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.35rem 1.35rem; box-shadow: 0 1px 2px rgba(31,26,22,.06), 0 6px 14px -6px rgba(31,26,22,.12), 0 22px 40px -26px rgba(180,84,28,.35); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.wroles .wrole::before { content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; height: 5px; background: linear-gradient(90deg, var(--or), var(--or2)); transform: scaleX(.28); transform-origin: right center; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.wroles .wrole::after { content: ''; position: absolute; inset-block-start: -40px; inset-inline-start: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(243,168,103,.28), transparent); pointer-events: none; transition: transform .45s ease; }
.wroles .wrole:hover { transform: translateY(-6px); border-color: var(--line-or); box-shadow: 0 2px 4px rgba(31,26,22,.06), 0 14px 26px -10px rgba(31,26,22,.18), 0 34px 54px -26px rgba(180,84,28,.5); }
.wroles .wrole:hover::before { transform: scaleX(1); }
.wroles .wrole:hover::after { transform: scale(1.35); }
.wrole__n { position: absolute; inset-block-start: 1.05rem; inset-inline-end: 1.2rem; font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--or-soft); transition: color .3s ease; user-select: none; }
.wroles .wrole:hover .wrole__n { color: var(--or2); }
.wroles .wrole__where { position: relative; align-self: flex-start; max-width: calc(100% - 3.2rem); margin: 0 0 .85rem; padding: .28rem .75rem; border-radius: 999px; background: var(--or-soft); color: var(--or-deep); font-size: .78rem; font-weight: 700; line-height: 1.5; }
.wroles .wrole h3 { position: relative; margin: 0 0 .35rem; font-size: 1.15rem; line-height: 1.5; }
.wroles .wrole .wrole__org { position: relative; margin: 0 0 .65rem !important; color: var(--or-deep); opacity: 1; font-weight: 700; font-size: .88rem; line-height: 1.6; }
.wroles .wrole p:last-child { position: relative; font-size: .92rem; }
.wroles .wrole p:has(+ .wrole__media) { margin-bottom: .9rem; }
.wrole__media { position: relative; margin: auto 0 0; }
.wrole__media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #F6EFE6; box-shadow: 0 10px 22px -14px rgba(31,26,22,.45); }
.wrole__media figcaption { margin-top: .5rem; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
.wroles .wrole--lead { grid-column: span 2; padding: 1.8rem 1.7rem 1.6rem; background: linear-gradient(150deg, #fff 55%, var(--or-soft)); }
.wroles .wrole--lead h3 { font-size: 1.4rem; }
.wroles .wrole--lead .wrole__n { font-size: 2.6rem; }
@media (max-width: 900px) {
  .wroles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wroles .wrole--lead { grid-column: auto; padding: 1.5rem 1.35rem 1.35rem; background: #fff; }
  .wroles .wrole--lead h3 { font-size: 1.15rem; }
  .wroles .wrole--lead .wrole__n { font-size: 1.9rem; }
}
@media (max-width: 600px) { .wroles { grid-template-columns: 1fr; gap: .95rem; } }
/* ظهور متدرّج عند التمرير (يُفعَّل من works.js فقط، وبلا حركة لو المستخدم طلب تقليلها) */
.wroles .wrole.wr-pre { opacity: 0; }
.wroles .wrole.wr-in { animation: wrup .65s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes wrup { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .wroles .wrole, .wroles .wrole::before, .wroles .wrole::after, .wrole__n { transition: none; }
  .wroles .wrole:hover { transform: none; }
  .wroles .wrole.wr-pre { opacity: 1; }
  .wroles .wrole.wr-in { animation: none; }
}
/* «من أنا»: الاستيكر أمام قوس برتقالي + شارتين · دخول من القوس ثم تمايل هادئ للروب (js/about-hero.js) */
.phead__photo--stk { position: relative; width: min(100%, 440px); padding: 1.2rem 0 .6rem; isolation: isolate; }
.phead__disc { position: absolute; z-index: -1; left: 50%; top: 7%; width: 66%; height: 82%; transform: translateX(-50%); border-radius: 999px 999px 26px 26px; background: linear-gradient(180deg, #FBE3CB 0, var(--or2) 48%, var(--or) 100%); box-shadow: 0 30px 60px -34px rgba(180,84,28,.6); }
.phead__disc::before { content: ''; position: absolute; inset: 12px; border-radius: inherit; border: 1.5px solid rgba(255,255,255,.6); }
.phead__photo--stk::after { content: ''; position: absolute; z-index: -1; left: 50%; bottom: .2rem; width: 54%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(31,26,22,.28), transparent); transition: opacity .5s ease; }
.phead__photo .phead__sticker { position: relative; width: 78%; margin-inline: auto; border: 0; border-radius: 0; box-shadow: none; transform: none; filter: drop-shadow(0 0 1.5px rgba(31,26,22,.45)) drop-shadow(0 18px 26px rgba(31,26,22,.25)); transition: opacity .45s ease; }
.phead__sway { position: absolute; z-index: 0; left: 11%; top: 1.2rem; width: 78%; height: auto; pointer-events: none; filter: drop-shadow(0 0 1.5px rgba(31,26,22,.45)) drop-shadow(0 18px 26px rgba(31,26,22,.25)); transition: opacity .45s ease; }
.phead__photo--stk.is-sway .phead__sticker { opacity: 0; transition: none; }
@keyframes stkIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .phead__photo--stk { animation: stkIn .8s cubic-bezier(.2,.7,.2,1) both; } }
@keyframes chipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media (prefers-reduced-motion: no-preference) { .phead__chip { animation: chipFloat 7s ease-in-out infinite; } .phead__chip--b { animation-delay: -3.5s; } }
.phead__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: #fff; color: var(--ink, #1F1A16); font-weight: 700; font-size: .86rem; line-height: 1.3; box-shadow: 0 1px 2px rgba(31,26,22,.08), 0 14px 28px -16px rgba(31,26,22,.45); white-space: nowrap; }
.phead__chip::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--or); flex: none; }
.phead__chip--a { top: 30%; inset-inline-start: -2%; transform: rotate(-3deg); }
.phead__chip--b { bottom: 18%; inset-inline-end: -6%; transform: rotate(2deg); }
@media (max-width: 700px) { .phead__photo--stk { width: min(100%, 340px); } .phead__chip { font-size: .78rem; padding: .42rem .75rem; } .phead__chip--a { inset-inline-start: 0; } .phead__chip--b { inset-inline-end: 0; white-space: normal; max-width: 62%; } }
/* «من أنا» — «من الطريق»: لقطات بولارويد (صور + فيديوهات قصيرة صامتة) */
.proad { list-style: none; margin: 0; padding: .6rem 0 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 1.25rem; }
.proad__item { flex: none; width: clamp(150px, 20vw, 200px); }
.proad figure { margin: 0; padding: 8px 8px 0; background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(31,26,22,.1), 0 20px 34px -22px rgba(31,26,22,.5); transform: rotate(var(--r, -1.5deg)); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.proad__item:nth-child(even) figure { --r: 1.6deg; }
.proad__item:nth-child(3n) figure { --r: -.6deg; }
.proad figure:hover { transform: rotate(0) scale(1.04); }
.proad img, .proad video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--paper-2, #F6EFE6); }
.proad figcaption { padding: .55rem .2rem .7rem; text-align: center; line-height: 1.45; }
.proad figcaption b { display: block; font-family: var(--f-display); font-size: 1.05rem; color: var(--ink, #1F1A16); }
.proad figcaption span { display: block; font-size: .8rem; color: var(--ink-soft, #5b524a); }
@media (max-width: 700px) {
  .proad { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: -1.25rem; padding: .8rem 1.25rem 1.4rem; scrollbar-width: none; }
  .proad::-webkit-scrollbar { display: none; }
  .proad__item { width: 62vw; max-width: 240px; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .proad figure { transition: none; } }

/* ===== v21 — عمق المربعات (cards3d.js): دخول بقلبة ثلاثية الأبعاد + ميل مع الماوس + لمعة + بلاطة أيقونة بارزة ===== */
.pcard2.c3d, .pc.c3d { transform-style: preserve-3d; }
.pcard2.c3d.rv, .pc.c3d.rv { opacity: 0; transform-origin: 50% 100%; transform: perspective(1000px) rotateX(-26deg) translateY(46px) scale(.95); transition: opacity .75s ease, transform 1.05s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; transition-delay: calc(var(--k, 0) * 110ms); }
.pcard2.c3d.rv.in, .pc.c3d.rv.in { opacity: 1; transform: perspective(1000px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translateY(var(--lift, 0px)); }
.pcard2.c3d:not(.rv), .pc.c3d:not(.rv) { transform: perspective(1000px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) translateY(var(--lift, 0px)); }
.pcard2.c3d.c3d-live, .pc.c3d.c3d-live { transition: opacity .3s ease, transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; transition-delay: 0s; }
.pcard2.c3d.c3d-hot, .pc.c3d.c3d-hot { --lift: -6px; transition-duration: .3s, .16s, .35s, .35s; border-color: var(--line-or, rgba(229,128,42,.35)); box-shadow: 0 2px 4px rgba(31,26,22,.05), 0 16px 28px -12px rgba(31,26,22,.2), 0 36px 60px -30px rgba(180,84,28,.55); }
.c3d__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.5), rgba(255,255,255,0) 42%), radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(243,168,103,.16), rgba(243,168,103,0) 70%); transition: opacity .35s ease; z-index: 0; }
.c3d-hot > .c3d__glare { opacity: 1; }
.pcard2.c3d > h3, .pcard2.c3d > p, .pcard2.c3d > .pcard2__ic, .pcard2.c3d > .pcard2__n { position: relative; z-index: 1; }
@media (hover: none) { .c3d.in > .c3d__glare { opacity: .55; } }

/* بلاطة الأيقونة (v22): بلاطة فاتحة بإطار برتقالي رفيع وأيقونة خطية نظيفة. الخط بيترسم مرة عند الدخول، وبعدها رفع خفيف وميل بسيط، وعند التحويم لون أعمق وتكبير هادئ (بلا ارتداد ولا حركة مستمرة) */
.pcard2__ic { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 .95rem; border-radius: 15px; color: var(--or, #E5802A);
  background: linear-gradient(150deg, #FBE3CB 0%, #FCFAF6 100%); border: 1px solid rgba(229,128,42,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 14px -8px rgba(180,84,28,.35);
  transform: translateZ(26px); transition: transform .5s cubic-bezier(.2,.8,.2,1), color .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pcard2__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.c3d.rv .pcard2__ic { transform: translateZ(0) scale(.92) rotate(-6deg); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .45s ease; transition-delay: calc(var(--k, 0) * 110ms + .45s); }
.c3d.rv.in .pcard2__ic { opacity: 1; transform: translateZ(26px); }
.c3d.c3d-live .pcard2__ic { transition: transform .5s cubic-bezier(.2,.8,.2,1), color .3s ease, box-shadow .3s ease, border-color .3s ease; transition-delay: 0s; }
.c3d-hot .pcard2__ic { color: var(--or-deep, #B4541C); border-color: rgba(180,84,28,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 22px -10px rgba(180,84,28,.5); transform: translateZ(38px) scale(1.07) rotate(-4deg); }
.pcard2__ic svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.c3d.rv .pcard2__ic svg * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.45,0,.2,1); transition-delay: calc(var(--k, 0) * 110ms + .75s); }
.c3d.rv.in .pcard2__ic svg * { stroke-dashoffset: 0; }
.pcard2.c3d h3 { transform: translateZ(18px); }
.pcard2.c3d .pcard2__n { transform: translateZ(26px); }
@media (prefers-reduced-motion: reduce) { .pcard2.c3d.rv, .pc.c3d.rv, .c3d.rv .pcard2__ic { opacity: 1; transform: none; transition: none; } .c3d.rv .pcard2__ic svg * { stroke-dashoffset: 0; transition: none; } }

/* رحلتي (v22): الملصق يكبر ويطول عند الإشارة أو التركيز (وعلى اللمس الأقرب لمنتصف الشاشة) والجيران يتنحّون بهدوء */
.ptl__item { position: relative; z-index: 1; outline: none; cursor: default; }
.ptl__item img { transform-origin: 50% 100%; transform: translateX(var(--dx, 0px)) scale(var(--sc, 1)); transition: transform .55s cubic-bezier(.22,.8,.24,1), filter .45s ease; will-change: transform; }
.ptl__item.is-on { z-index: 6; }
.ptl__item.is-on img { --sc: 1.8; filter: drop-shadow(0 18px 18px rgba(31,26,22,.28)); }
.ptl__item:focus-visible b { outline: 2px solid var(--or, #E5802A); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .ptl__item img, .pcard2__ic { transition: none; } .c3d.rv .pcard2__ic svg * { stroke-dashoffset: 0; transition: none; } }

/* ريل «الطريق الحقيقي» — أول «من الطريق»، بصوت وأزرار */
.preel { margin: .4rem auto 2rem; width: min(300px, 78vw); text-align: center; }
.preel__frame { padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 1px 2px rgba(31,26,22,.1), 0 26px 44px -24px rgba(31,26,22,.55); transform: rotate(-1deg); }
.preel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 5px; background: #0b0a09; }
.preel figcaption { padding-top: .8rem; line-height: 1.45; }
.preel figcaption b { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--ink, #1F1A16); }
.preel figcaption span { display: block; font-size: .85rem; color: var(--ink-soft, #5b524a); }
@media (prefers-reduced-motion: reduce) { .preel__frame { transform: none; } }
.preels { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 1rem; padding: .4rem 0 1rem; }
.preels .preel { margin: 0; width: clamp(160px, 15vw, 182px); }
.preels .preel:nth-child(even) .preel__frame { transform: rotate(1deg); }
@media (max-width: 720px) {
  .preels { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding: .8rem 1.25rem 1.4rem; scrollbar-width: none; }
  .preels::-webkit-scrollbar { display: none; }
  .preels .preel { flex: none; width: 68vw; max-width: 260px; scroll-snap-align: center; }
}

/* ================= صفحة «محاضرات وورش» (v25) ================= */
.page main:has(> .whero:first-child) { padding-top: 0; }
.whero { position: relative; overflow: clip; padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(3rem, 6vw, 4.5rem); background: radial-gradient(55% 70% at 85% 25%, var(--or-soft, #FFE6C4), transparent 70%), var(--paper, #FFFBF4); border-bottom: 1px solid var(--line); }
.whero__in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.whero__kick { display: inline-block; margin: 0 0 1rem; padding: .35rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--or-deep, #C2410C); font: 700 .92rem/1.4 var(--f-display); }
.whero__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.45; color: var(--ink, #1B1410); }
.whero__title em { font-style: normal; color: var(--or, #FF8A00); }
.whero__lead { max-width: 34rem; margin: 1.2rem 0 0; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.9; color: var(--ink-soft, #5b524a); }
.whero__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.whero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1.5rem 0 0; padding: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.whero__facts li { display: inline-flex; align-items: center; gap: .5rem; }
.whero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--or, #FF8A00); }
.whero__media { position: relative; margin: 0; padding: 2.2rem 0 0; }
.whero__arch { position: absolute; inset-inline-start: -3%; top: 0; width: 48%; height: 80%; border-radius: 999px 999px 24px 24px; background: linear-gradient(180deg, var(--or-soft, #FFE6C4) 0%, var(--or2, #FFB24D) 55%, var(--or, #FF8A00) 100%); }
.whero__frame { position: relative; border-radius: 20px; overflow: hidden; border: 7px solid #fff; box-shadow: 0 2px 4px rgba(31,26,22,.08), 0 34px 60px -30px rgba(31,26,22,.6); transform: rotate(-1.2deg); }
.whero__frame video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0b0a09; }
.whero__media figcaption { margin-top: .9rem; text-align: center; font-size: .82rem; color: var(--ink-soft, #5b524a); }
@media (max-width: 860px) {
  .whero__in { grid-template-columns: 1fr; text-align: center; }
  .whero__media { order: -1; padding-top: 1.4rem; max-width: 560px; margin-inline: auto; width: 100%; }
  .whero__lead { margin-inline: auto; }
  .whero__btns, .whero__facts { justify-content: center; }
}

/* مسارات الورش: الوضعية طالعة من القوس (الراس بره، الجسم جوه) */
.wpaths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); margin-top: 4.5rem; }
.wpath { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 0 clamp(1.1rem, 2vw, 1.6rem) 1.5rem; box-shadow: 0 1px 2px rgba(31,26,22,.06), 0 26px 46px -32px rgba(31,26,22,.45); }
.wpath__fig { position: relative; height: 250px; margin: -1px auto .4rem; width: 100%; }
.wpath__arch { position: absolute; left: 50%; bottom: 0; width: 210px; height: 190px; transform: translateX(-50%); border-radius: 105px 105px 0 0; background: linear-gradient(180deg, var(--or-soft, #FFE6C4) 0%, var(--or2, #FFB24D) 60%, var(--or, #FF8A00) 100%); }
.wpath__fig img { position: absolute; left: 50%; bottom: 0; height: 290px; width: auto; transform: translateX(-50%); filter: drop-shadow(0 12px 16px rgba(60,30,10,.18));
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000); -webkit-mask-size: 210px 190px, 100% calc(100% - 190px + 95px); -webkit-mask-position: 50% 100%, 50% 0; -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000); mask-size: 210px 190px, 100% calc(100% - 95px); mask-position: 50% 100%, 50% 0; mask-repeat: no-repeat; }
.wpath__title { margin: 1rem 0 .35rem; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.wpath__line { margin: 0 0 1rem; color: var(--ink-soft, #5b524a); line-height: 1.8; font-size: .95rem; }
.wpath__list { list-style: none; margin: 0 0 1.3rem; padding: 0; counter-reset: w; display: grid; gap: .55rem; }
.wpath__list li { counter-increment: w; position: relative; padding: .7rem .9rem .7rem .9rem; padding-inline-start: 2.6rem; background: var(--paper, #FFFBF4); border-radius: 12px; font-weight: 600; line-height: 1.55; font-size: .95rem; }
.wpath__list li::before { content: counter(w, arabic-indic); position: absolute; inset-inline-start: .8rem; top: .7rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--or, #FF8A00); color: #fff; font: 700 .75rem/1 var(--f-display); }
.wpath__list small { display: block; margin-top: .15rem; font-weight: 500; font-size: .78rem; color: var(--ink-soft, #5b524a); }
.wpath__acts { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.wpath__more { font-weight: 700; color: var(--or-deep, #C2410C); font-size: .92rem; }
@media (max-width: 900px) { .wpaths { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; row-gap: 4.5rem; } }

/* من القاعة */
.phall { display: grid; grid-template-columns: 1.6fr .4fr; gap: 1rem; align-items: start; }
.phall__main { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: 0 26px 46px -28px rgba(31,26,22,.55); }
.phall__main video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b0a09; border-radius: 12px; }
.phall__main figcaption { padding: .9rem .4rem .4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
.phall__main figcaption b { font-family: var(--f-display); font-size: 1.1rem; }
.phall__main figcaption span { color: var(--ink-soft, #5b524a); font-size: .88rem; }
.phall__main figcaption a { margin-inline-start: auto; font-weight: 700; color: var(--or-deep, #C2410C); font-size: .9rem; }
.phall__stills { display: grid; gap: 1rem; }
.phall__stills img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 16px 30px -22px rgba(31,26,22,.55); }
@media (max-width: 760px) { .phall { grid-template-columns: 1fr; } .phall__stills { grid-template-columns: repeat(3, 1fr); gap: .5rem; } }

/* v39 — موبايل: صورة رأس الصفحة أكبر، طالعة من القوس (الراس بره) زي كروت الورش */
@media (max-width: 760px) {
  .phead__fig { height: 300px; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
  .phead__fig::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 210px; height: 190px; transform: translateX(-50%); border-radius: 105px 105px 0 0; background: linear-gradient(180deg, var(--or-soft, #FFE6C4) 0%, var(--or2, #FFB24D) 60%, var(--or, #FF8A00) 100%); z-index: 0; }
  .phead__fig img { position: relative; z-index: 1; height: 100%; }
  .jpage .phead__fig::before { z-index: 2; }
}

/* ================= v40 — صفحات المسارات (الذكاء الاصطناعي للمحامين · التسويق القانوني) ================= */
.page main:has(> .thero:first-child) { padding-top: 0; }
.thero { position: relative; overflow: clip; padding: clamp(5.5rem, 9vw, 7rem) var(--pad) clamp(2.5rem, 5vw, 4rem); background: radial-gradient(55% 70% at 15% 35%, var(--or-soft, #FFE6C4), transparent 70%), var(--paper, #FFFBF4); border-bottom: 1px solid var(--line); }
.thero__in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.thero__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.45; color: var(--ink, #1B1410); text-wrap: balance; }
.thero__title em { font-style: normal; color: var(--or, #FF8A00); }
/* الوضعية طالعة من القوس: الراس بره، الجسم جوه */
.thero__fig { --fh: 470px; --aw: 300px; --ah: 280px; position: relative; height: var(--fh); margin: 0; }
.thero__arch { position: absolute; left: 50%; bottom: 0; width: var(--aw); height: var(--ah); transform: translateX(-50%); border-radius: calc(var(--aw) / 2) calc(var(--aw) / 2) 28px 28px; background: linear-gradient(180deg, var(--or-soft, #FFE6C4) 0%, var(--or2, #FFB24D) 58%, var(--or, #FF8A00) 100%); box-shadow: 0 30px 60px -34px rgba(194,65,12,.55); }
.thero__fig > img { position: absolute; left: 50%; bottom: 0; height: calc(var(--fh) - 6px); width: auto; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000); -webkit-mask-size: var(--aw) var(--ah), 100% calc(100% - var(--ah) / 2); -webkit-mask-position: 50% 100%, 50% 0; -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000); mask-size: var(--aw) var(--ah), 100% calc(100% - var(--ah) / 2); mask-position: 50% 100%, 50% 0; mask-repeat: no-repeat; }
.hcard { position: absolute; inset-inline-end: -2%; bottom: 12%; width: min(250px, 62%); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: 0 2px 4px rgba(31,26,22,.06), 0 26px 44px -26px rgba(31,26,22,.5); }
.hcard__h { margin: 0 0 .6rem; font: 800 .95rem/1.4 var(--f-display); color: var(--or-deep, #C2410C); }
.hcard__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.hcard__steps li { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .92rem; color: var(--ink); }
.hcard__steps i { flex: none; width: 1.45rem; height: 1.45rem; border-radius: 50%; display: grid; place-items: center; background: var(--or-soft, #FFE6C4); }
.hcard__steps svg { width: .95rem; height: .95rem; fill: none; stroke: var(--or-deep, #C2410C); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: tTick .5s ease forwards; }
.hcard__steps li:nth-child(1) svg { animation-delay: .6s; } .hcard__steps li:nth-child(2) svg { animation-delay: 1.2s; } .hcard__steps li:nth-child(3) svg { animation-delay: 1.8s; }
@keyframes tTick { to { stroke-dashoffset: 0; } }
.hcard__line { margin: 0 0 .7rem; font-weight: 700; line-height: 1.75; font-size: .92rem; color: var(--ink); }
.hcard__chip { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--or-soft, #FFE6C4); color: var(--or-deep, #C2410C); font-weight: 700; font-size: .78rem; }
@media (prefers-reduced-motion: no-preference) { .hcard { animation: tFloat 6s ease-in-out infinite; } }
@keyframes tFloat { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hcard__steps svg { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 860px) {
  .thero { padding-top: 4.6rem; }
  .thero__in { grid-template-columns: 1fr; text-align: center; }
  .thero__fig { --fh: 380px; --aw: 236px; --ah: 222px; order: -1; width: 100%; max-width: 420px; margin: 0 auto; }
  .hcard { inset-inline-end: 0; bottom: 4%; width: 54%; padding: .8rem .85rem; text-align: start; }
  .hcard__h { font-size: .85rem; } .hcard__steps li { font-size: .8rem; } .hcard__line { font-size: .8rem; line-height: 1.65; }
  .thero .whero__lead { margin-inline: auto; }
  .thero .whero__btns, .thero .whero__facts { justify-content: center; }
}

/* إجابة واثقة… قد تكون خاطئة */
.tdemo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2rem; align-items: stretch; }
.tdemo__chat { background: #1B1410; color: #F6EEE4; border-radius: 22px; padding: 1.3rem 1.3rem 1.5rem; box-shadow: 0 30px 50px -30px rgba(31,26,22,.7); }
.tdemo__tag { display: inline-block; margin: 0 0 1rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255,178,77,.16); color: #FFB24D; font-size: .78rem; font-weight: 700; }
.tdemo__q { margin: 0 0 .9rem; margin-inline-start: auto; max-width: 88%; padding: .75rem 1rem; border-radius: 16px 16px 4px 16px; background: #FF8A00; color: #1B1410; font-weight: 700; line-height: 1.7; width: fit-content; }
.tdemo__a { margin: 0; max-width: 94%; padding: .9rem 1rem; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.07); line-height: 2; }
.tdemo__a mark { color: inherit; border-radius: 6px; padding: .05rem .25rem; background: transparent; transition: background .5s ease, box-shadow .5s ease; }
.tdemo.in .tdemo__bad { background: rgba(199,67,43,.35); box-shadow: inset 0 -2px 0 #FF6B4A; transition-delay: .5s; }
.tdemo.in .tdemo__ok { background: rgba(59,165,92,.28); box-shadow: inset 0 -2px 0 #5CCB86; transition-delay: 1.3s; }
.tdemo__rev { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; align-content: center; }
.tdemo__rev li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; padding-inline-start: 3.2rem; opacity: .25; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.tdemo.in .tdemo__rev li { opacity: 1; transform: none; }
.tdemo.in .tdemo__rev li:nth-child(1) { transition-delay: .7s; } .tdemo.in .tdemo__rev li:nth-child(2) { transition-delay: 1.5s; } .tdemo.in .tdemo__rev li:nth-child(3) { transition-delay: 2.3s; }
.tdemo__rev li::before { position: absolute; inset-inline-start: 1rem; top: .95rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem; }
.tdemo__rev .is-bad::before { content: '✕'; background: #C7432B; } .tdemo__rev .is-ok::before { content: '✓'; background: #2E7D4A; } .tdemo__rev .is-go::before { content: '←'; background: var(--or, #FF8A00); }
.tdemo__rev b { display: block; font-family: var(--f-display); font-size: 1rem; margin-bottom: .15rem; }
.tdemo__rev span { color: var(--ink-soft, #5b524a); line-height: 1.7; font-size: .92rem; }
@media (max-width: 760px) { .tdemo { grid-template-columns: 1fr; } .tdemo__chat { padding: 1.1rem 1rem 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .tdemo__rev li { opacity: 1; transform: none; transition: none; } }

/* سكة خطوات مرقّمة */
.trail { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 0; position: relative; }
.trail::before { content: ""; position: absolute; inset-inline-start: 1.45rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: linear-gradient(var(--or2, #FFB24D), var(--or-soft, #FFE6C4)); }
.trail__item { position: relative; display: flex; gap: 1.1rem; align-items: flex-start; padding: .8rem 0; }
.trail__n { position: relative; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--or, #FF8A00); color: #fff; font: 800 1.15rem/1 var(--f-display); box-shadow: 0 0 0 6px var(--paper, #FFFBF4), 0 10px 20px -10px rgba(194,65,12,.8); }
.trail__item > div { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; box-shadow: 0 18px 34px -30px rgba(31,26,22,.55); }
.trail__item h3 { margin: 0 0 .3rem; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; line-height: 1.5; }
.trail__item p { margin: 0; color: var(--ink-soft, #5b524a); line-height: 1.8; font-size: .95rem; }
.tout { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.6rem 0 0; padding: 0; }
.tout li { padding: .55rem 1.1rem; border-radius: 999px; background: linear-gradient(160deg, #FFF4E8, var(--or-soft, #FFE6C4)); border: 1px solid var(--line-or, #F6D2A6); font-weight: 700; font-size: .92rem; }
.tout li::before { content: '✓ '; color: var(--or-deep, #C2410C); }

/* اختر تخصصك */
.tspec { max-width: 860px; margin: 0 auto; }
.tspec__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.3rem; }
.tspec__chips button { font: 700 .95rem/1.3 var(--f-body); padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tspec__chips button[aria-selected="true"] { background: var(--or-deep, #C2410C); border-color: var(--or-deep, #C2410C); color: #fff; box-shadow: 0 10px 20px -12px rgba(194,65,12,.9); }
.tspec__other { align-self: center; padding: .65rem .4rem; font-weight: 700; font-size: .9rem; color: var(--or-deep, #C2410C); }
.tspec__panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.1rem, 3vw, 1.8rem); box-shadow: 0 30px 50px -36px rgba(31,26,22,.55); }
.tspec__panel.is-in { animation: tIn .45s ease both; }
@keyframes tIn { from { opacity: 0; transform: translateY(10px); } }
.tprof { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; margin-bottom: .6rem; border-bottom: 1px dashed var(--line); }
.tprof b { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.tprof span { color: var(--ink-soft, #5b524a); font-size: .9rem; }
.tprof__av, .tli__av { flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--or-soft, #FFE6C4); }
.tprof__av svg, .tli__av svg { width: 60%; height: 60%; fill: none; stroke: var(--or-deep, #C2410C); stroke-width: 1.8; }
.tspec__k { margin: 1rem 0 .35rem; font-size: .8rem; font-weight: 800; color: var(--or-deep, #C2410C); }
.tspec__line { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.7; }
.tspec__ideas { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.tspec__ideas li { padding: .6rem .9rem; border-radius: 12px; background: var(--paper, #FFFBF4); font-weight: 600; line-height: 1.6; }
.tspec__where { margin: 0; line-height: 1.8; color: var(--ink); }
@media (max-width: 760px) {
  .tspec__chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding: .2rem var(--pad) .6rem; scrollbar-width: none; }
  .tspec__chips::-webkit-scrollbar { display: none; }
  .tspec__chips button, .tspec__other { flex: none; white-space: nowrap; }
}

/* حضورك على لينكد إن */
.tli { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.6rem; align-items: center; }
.tli .trail { max-width: none; }
.tli__mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; padding: 0 1.2rem 1.2rem; box-shadow: 0 30px 50px -34px rgba(31,26,22,.6); transform: rotate(1.2deg); }
.tli__cover { height: 84px; margin: 0 -1.2rem; background: linear-gradient(120deg, #FFB24D, #FF8A00 55%, #C2410C); }
.tli__av { width: 4.4rem; height: 4.4rem; margin-top: -2.2rem; border: 4px solid #fff; }
.tli__name { display: block; margin-top: .5rem; font-family: var(--f-display); font-size: 1.15rem; }
.tli__head { margin: .2rem 0 .7rem; font-weight: 700; line-height: 1.7; font-size: .92rem; }
.tli__about { margin: 0 0 .9rem; color: var(--ink-soft, #5b524a); line-height: 1.8; font-size: .88rem; }
.tli__post { border-radius: 14px; background: var(--paper, #FFFBF4); padding: .8rem .9rem; }
.tli__post span { font-size: .75rem; font-weight: 800; color: var(--or-deep, #C2410C); }
.tli__post p { margin: .25rem 0 0; font-weight: 700; line-height: 1.7; font-size: .9rem; }
.tli.in .tli__head, .tli.in .tli__about, .tli.in .tli__post { animation: tIn .6s ease both; }
.tli.in .tli__about { animation-delay: .5s; } .tli.in .tli__post { animation-delay: 1s; }
@media (max-width: 760px) { .tli { grid-template-columns: 1fr; } .tli__mock { order: -1; transform: none; max-width: 400px; margin: 0 auto; } }

/* موبايل: البرامج والاقتباسات تتلفّ أفقي بدل عمود طويل */
@media (max-width: 760px) {
  .tpage .psec--progs .pgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: calc(var(--pad) * -1); padding: .4rem var(--pad) 1.2rem; scrollbar-width: none; }
  .tpage .psec--progs .pgrid::-webkit-scrollbar { display: none; }
  .tpage .psec--progs .pgrid > .pc { flex: 0 0 84%; scroll-snap-align: center; }
  .tpage .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: calc(var(--pad) * -1); padding: 1rem var(--pad) 1rem; scrollbar-width: none; }
  .tpage .quotes::-webkit-scrollbar { display: none; }
  .tpage .quotes > .quote { flex: 0 0 82%; scroll-snap-align: center; }
  .tpage .phall + .quotes { margin-top: .6rem; }
}

/* v41 — «مؤسسات عملت معها» (اتنقلت لـ«من أنا»): على الموبايل رف أفقي بدل عمود طويل */
@media (max-width: 760px) {
  .wroles { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: calc(var(--pad) * -1); padding: .6rem var(--pad) 1.4rem; scrollbar-width: none; }
  .wroles::-webkit-scrollbar { display: none; }
  .wroles > .wrole { flex: 0 0 84%; scroll-snap-align: center; }
}

/* v41 — أسئلة شائعة */
.pfaq { max-width: 820px; margin: 0 auto; display: grid; gap: .6rem; }
.pfaq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-1); overflow: hidden; }
.pfaq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.pfaq__item summary::-webkit-details-marker { display: none; }
.pfaq__item summary::after { content: "+"; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--or-soft); color: var(--or-deep); font-size: 1.2rem; transition: transform .25s; }
.pfaq__item[open] summary::after { transform: rotate(45deg); }
.pfaq__item p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-soft); line-height: 1.9; }
.pfaq__item summary:focus-visible { outline: 3px solid var(--or); outline-offset: -3px; border-radius: 16px; }

/* v41 — صفحة التواصل */
.pcontact { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.4rem; align-items: start; max-width: 980px; margin: 0 auto; }
.pcontact__side { display: grid; gap: .7rem; }
.pcontact__side h3 { margin: 0 0 .2rem; font-family: var(--f-display); font-size: 1.1rem; }
.pcontact__ch { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; }
.pcontact__ch:hover { transform: translateY(-2px); border-color: var(--or); }
.pcontact__ch b { font-family: var(--f-display); }
.pcontact__ch span { font-size: .88rem; color: var(--ink-soft); text-align: start; }
@media (max-width: 760px) { .pcontact { grid-template-columns: 1fr; } }
.pcontact .book__form { order: 0; } .pcontact .pcontact__side { order: 1; }

/* ===== الوكيل الذكي (2026-11-13) — ورق دافي وبرتقالي، من غير صور غامقة ===== */
.agvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 900px; margin: 0 auto; }
.agvs__c { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.4rem; box-shadow: var(--sh-1); }
.agvs__c span { display: inline-block; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--ink-soft); }
.agvs__c p { margin: .5rem 0 0; line-height: 1.85; color: var(--ink-soft); }
.agvs__c--on { background: linear-gradient(160deg, #FFF4E8, var(--or-soft)); border-color: var(--line-or); }
.agvs__c--on span { color: var(--or-deep); }
.agvs__c--on p { color: var(--ink); }
.agcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); }
.agc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--sh-1); }
.agc__fig { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 80% at 50% 40%, #fff, var(--or-soft)); border-bottom: 1px solid var(--line); }
.agc__fig > img:not(.agc__obj) { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.agc__obj { height: 82%; width: auto; filter: drop-shadow(0 14px 14px rgba(84,52,24,.18)); }
.agc__wave { width: 62%; height: auto; fill: var(--or); }
.agc__wave rect:nth-child(odd) { fill: var(--or-deep); }
.agc__word { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--ink); }
.agc__tag { position: absolute; inset-block-start: 1rem; inset-inline-start: 1rem; padding: .2rem .7rem; border-radius: 999px; background: var(--or-deep); color: #fff; font-size: .8rem; font-weight: 700; }
.agc__b { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.25rem 1.2rem; flex: 1; }
.agc__b h3 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.agc__b dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; font-size: .93rem; line-height: 1.75; }
.agc__b dt { font-weight: 700; color: var(--or-deep); }
.agc__b dd { margin: 0; color: var(--ink-soft); }
.agc__foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.agc__st { display: inline-flex; align-items: center; gap: .45rem; padding: .2rem .7rem; border-radius: 999px; background: var(--paper2); font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.agc__st i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.agc__st--live i { background: #3BA55C; } .agc__st--soon i { background: var(--or); } .agc__st--idea i { background: #8A6BB8; }
.agc__btn { font-weight: 700; font-size: .92rem; color: var(--or-deep); text-decoration: none; }
.aglim { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.aglim li { background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--or); border-radius: 16px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.aglim b { font-family: var(--f-display); font-size: 1.05rem; color: var(--ink); }
.aglim span { color: var(--ink-soft); line-height: 1.75; font-size: .93rem; }
@media (max-width: 760px) { .agvs, .agcs, .aglim { grid-template-columns: 1fr; } }
.agpage .psec--alt { background: var(--paper2); }
.agteaser { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; max-width: 980px; margin: 0 auto; padding: 1.3rem 1.5rem; border-radius: 22px; background: linear-gradient(160deg, #FFF4E8, var(--or-soft)); border: 1px solid var(--line-or); }
.agteaser p { margin: 0; max-width: 36rem; line-height: 1.85; color: var(--ink); }
/* الوكيل الذكي v2 (المؤسس 2026-11-13: «محتاجة تصميم احترافي تحت في الخطوات… والموبايل مش مظبوط») */
.agf { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; counter-reset: s; }
.agf__s { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.5rem 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(31,26,22,.04), 0 16px 30px -24px rgba(84,52,24,.4); }
.agf__s:not(:last-child)::after { content: ""; position: absolute; top: 2.6rem; inset-inline-end: -1.15rem; width: .9rem; height: .9rem; border-top: 3px solid var(--or); border-left: 3px solid var(--or); transform: rotate(-45deg); z-index: 1; }
.agf__n { position: absolute; top: .9rem; inset-inline-end: 1rem; font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--or-soft); }
.agf__ic { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, var(--or), var(--or-deep)); box-shadow: 0 10px 18px -10px rgba(180,84,28,.8); }
.agf__ic svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agf__s h3 { margin: .5rem 0 0; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.agf__s p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.75; }
.agf__s--hi { background: linear-gradient(160deg, #FFF4E8, var(--or-soft)); border-color: var(--line-or); }
.agf__s--hi .agf__n { color: #fff; text-shadow: 0 0 1px var(--or2); }
@media (max-width: 900px) {
  .agf { grid-template-columns: 1fr; gap: .9rem; max-width: 520px; }
  .agf__s { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: .9rem; padding: 1rem 1rem 1.05rem; }
  .agf__s h3 { margin: 0; flex: 1; }
  .agf__s p { flex-basis: 100%; }
  .agf__n { font-size: 1.6rem; top: .8rem; }
  .agf__s:not(:last-child)::after { top: auto; bottom: -.95rem; inset-inline-end: auto; inset-inline-start: 1.9rem; transform: rotate(-135deg); width: .7rem; height: .7rem; }
}
/* بخبرة الخبير */
.agx { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.2rem, 4vw, 3rem); align-items: center; }
.agx__t p { margin: 0 0 .9rem; font-size: 1.05rem; line-height: 1.9; color: var(--ink); }
.agx__t ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.agx__t li { position: relative; padding-inline-start: 1.6rem; color: var(--ink-soft); line-height: 1.7; }
.agx__t li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px var(--or-soft); }
.agx__k { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem !important; color: var(--or-deep) !important; }
.agx__v { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.6rem 1rem; border-radius: 26px; background: radial-gradient(80% 90% at 50% 40%, #fff, var(--or-soft)); border: 1px solid var(--line-or); }
.agx__node { display: grid; place-items: center; text-align: center; width: 8.2rem; height: 8.2rem; border-radius: 50%; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); background: #fff; border: 2px solid var(--line-or); box-shadow: 0 16px 30px -20px rgba(84,52,24,.55); align-content: center; gap: .2rem; }
.agx__node small { font-family: var(--f-body, inherit); font-weight: 600; font-size: .78rem; color: var(--ink-soft); }
.agx__node--ag { background: linear-gradient(145deg, var(--or), var(--or-deep)); color: #fff; border-color: transparent; }
.agx__node--ag small { color: rgba(255,255,255,.85); }
.agx__arr { display: grid; gap: .5rem; }
.agx__arr i { display: block; width: 2.6rem; height: 3px; border-radius: 3px; background: var(--or); position: relative; }
.agx__arr i::after { content: ""; position: absolute; top: -4px; left: -2px; width: 8px; height: 8px; border-bottom: 3px solid var(--or); border-left: 3px solid var(--or); transform: rotate(45deg); }
.agx__arr i:last-child { background: var(--line-or); }
.agx__arr i:last-child::after { left: auto; right: -2px; border: 0; border-top: 3px solid var(--line-or); border-right: 3px solid var(--line-or); }
@media (max-width: 760px) { .agx { grid-template-columns: 1fr; } .agx__node { width: 6.6rem; height: 6.6rem; font-size: 1rem; } }
/* كارت البروفيسور: محادثة مصغّرة بدل لقطة الموقع */
.agchat { width: min(86%, 360px); display: grid; gap: .45rem; font-size: .82rem; line-height: 1.6; }
.agchat p { margin: 0; padding: .55rem .8rem; border-radius: 14px; box-shadow: 0 6px 14px -10px rgba(31,26,22,.35); }
.agchat__q { justify-self: start; background: #fff; color: var(--ink); border-end-start-radius: 4px; }
.agchat__a { justify-self: end; background: #9E2B4E; color: #fff; border-end-end-radius: 4px; }
.agchat__a b { display: block; font-size: .72rem; opacity: .8; }
.agchat__x { justify-self: end; display: inline-flex; align-items: center; gap: .4rem; background: #E9F6EC !important; color: #1F6B35; font-weight: 700; }
.agchat__x i { font-style: normal; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #3BA55C; color: #fff; font-size: .7rem; }
@media (max-width: 760px) { .agc__fig { aspect-ratio: 4 / 3; } .agchat { font-size: .86rem; } }

/* تجربة «الأفندي الذكي» جوّه صفحة الوكيل (2026-11-13) */
.agpage .agtry { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agtry .psec__head { text-align: center; }
.agtry .call__stage { margin-top: clamp(1rem, 3vw, 2rem); }

/* كارت التأمينات: صورة المستشار + موجة الصوت · كارت «ردود»: مكتبة + محرّر (2026-11-13) */
.agvoice { position: relative; display: flex; align-items: center; justify-content: center; gap: 1rem; width: 100%; height: 100%; padding: 1rem 1.2rem 2.2rem; }
.agvoice__av { flex: none; width: clamp(84px, 28%, 130px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--or), 0 16px 26px -14px rgba(84,52,24,.5); }
.agvoice .agc__wave { width: 48%; }
.agvoice__by { position: absolute; bottom: .8rem; inset-inline: 0; text-align: center; font-size: .8rem; font-weight: 700; color: var(--or-deep); }
.agdoc { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; align-content: center; gap: .7rem; padding: 3.1rem 1.2rem 1.1rem; }
.agdoc__lib, .agdoc__ed { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .75rem; display: grid; align-content: start; gap: .45rem; box-shadow: 0 10px 20px -16px rgba(84,52,24,.5); }
.agdoc b { font: 800 .8rem/1.3 var(--f-display); color: var(--ink); }
.agdoc i { display: block; height: .5rem; border-radius: 4px; background: var(--or-soft); }
.agdoc__lib i { height: 1.05rem; background: #FFF6EA; border: 1px solid var(--line); }
.agdoc__lib i:first-of-type { background: var(--or-soft); border-color: var(--line-or, #F5C892); }
.agdoc__ed i { background: #EFE7DC; } .agdoc__ed i.s { width: 60%; }
.agdoc__ok { justify-self: end; margin-top: .2rem; padding: .2rem .55rem; border-radius: 999px; background: #E9F6EC; color: #1F6B35; font-size: .72rem; font-weight: 800; }
.agx--solo { grid-template-columns: 1fr; max-width: 760px; }

/* أغلفة المقالات المصممة (2026-11-14): مقاسها 16:9 ⇒ الكارت الكبير ما يقصّهاش، وشارة الموضوع على الناحية التانية عشان ما تغطّيش على العنوان */
.jpage .jcard--feat .jcard__img:has(img[src*="news-cards"]), .jpage .jcard--feat .jcard__img img[src*="news-cards"] { aspect-ratio: 16 / 9; }
.jpage .jcard__img img[src*="news-cards"] { object-fit: contain; background: #FFFBF4; }
.jpage .jcard__badge--end { inset-inline-start: auto; inset-inline-end: .7rem; }

/* توحيد صدر صفحات المسارات (الوكيل الذكي · الذكاء الاصطناعي للمحامين · التسويق القانوني · محاضرات وورش) — 2026-11-14
   نفس الارتفاع ونفس مقاس العنوان في الأربعة، والعنوان سطرين بحد أقصى، والقسم اللي بعده يبان من أول شاشة */
.thero, .whero { padding-top: clamp(3rem, 6vw, 4.25rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.thero__title, .whero__title { font-size: clamp(2.4rem, 4.4vw, 3.75rem); }
.thero__fig { --fh: 440px; }
html[lang="en"] .whero__in { grid-template-columns: 1.25fr 1fr; }
html[lang="en"] .whero__title { font-size: clamp(2.2rem, 4vw, 3.4rem); text-wrap: balance; }
@media (max-width: 860px) { .thero { padding-top: 4.6rem; } .thero__fig { --fh: 380px; } html[lang="en"] .whero__in { grid-template-columns: 1fr; } }
