/* تواصل · تطوع · وظائف */
#ctClock { font-weight: 700; color: hsl(var(--fg)); font-variant-numeric: tabular-nums; }

.ct-two { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .ct-two { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.ct-form { max-width: none; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-md); background: hsl(var(--card)); border: 1px solid hsl(var(--border)); }
.ct-form--wide { margin-top: 40px; max-width: none; }
.ct-form--wide button[type="submit"] { width: auto; min-width: 280px; justify-self: start; }
.dark .form { max-width: none; }

.ct-cats { display: grid; margin: 24px 0; border-top: 1px solid hsl(var(--border)); }
.ct-cats li { display: grid; padding: 12px 0; border-bottom: 1px solid hsl(var(--border)); }
@media (min-width: 560px) { .ct-cats li { grid-template-columns: 9rem 1fr; gap: 12px; } }
.ct-cats span { color: hsl(var(--fg-2)); }
.note .link { min-height: 0; display: inline; }

/* التطوع */
.ct-vol { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .ct-vol { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.ct-vol__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: hsl(var(--tint)); }
.ct-vol__img img { width: 100%; height: 100%; object-fit: cover; }
.ct-tracks { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid hsl(var(--border)); }
@media (min-width: 640px) { .ct-tracks { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.ct-tracks > div { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 20px 0; border-bottom: 1px solid hsl(var(--border)); }
.ct-tracks b { font-family: var(--display); font-size: 21px; }
.ct-tracks p { color: hsl(var(--fg-2)); line-height: 1.8; }
.ct-checks { border: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .ct-checks { grid-template-columns: repeat(3, 1fr); } }
.ct-checks legend { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.ct-checks legend small { font-weight: 400; color: hsl(var(--fg-2)); }
.ct-checks label, .ct-consent { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid hsl(var(--border)); background: hsl(var(--bg)); font-size: 15px; cursor: pointer; }
.ct-checks label:has(input:checked) { border-color: var(--red); background: rgba(196, 37, 47, .06); }
.ct-checks input, .ct-consent input { width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.ct-consent { border: 0; background: none; padding: 0; line-height: 1.7; align-items: start; padding-top: 4px; }
.ct-consent input { margin-top: 5px; }
.ct-consent a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.dark .field small { color: var(--linen-ink); }
.dark .field select option { color: #17110f; }

/* المؤسسات: بطاقة داكنة تعطي لحظة الشراكة وزنها */
.ct-partner { display: grid; gap: 8px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--ink-deep); color: #f6efe2; }
.ct-partner .h2 { color: #f6efe2; }
.ct-partner .eyebrow { color: var(--linen-ink); }
.ct-partner .lead { color: var(--linen-ink); max-width: 44rem; }
.ct-partner .phero__cta { margin-top: var(--s-5); }
.ct-partner .btn--line { border-color: rgba(255, 255, 255, .7); color: #fff; }
.ct-partner .btn--line:hover { background: #fff; color: var(--ink); }

/* إيصال التبرع: بطاقة مدمجة تحت أنواع الرسائل */
@media (min-width: 1024px) { #write .ct-two { row-gap: 16px; align-items: start; } #write .ct-two > div:first-child { grid-row: span 2; } #write .ct-lookup { grid-column: 2; } }
.ct-lookup { margin-top: 0; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-md); background: hsl(var(--tint)); }
.ct-lookup h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: var(--lh-h3); }
.ct-lookup > p { color: hsl(var(--fg-2)); margin: 4px 0 14px; font-size: 15px; }
.ct-lookup .form { max-width: none; }

.sec + .sec.dark > .wrap { border-top-color: transparent; }

/* طرق التواصل: شريط واحد مضغوط */
.ct-reach { display: grid; gap: 20px; padding-block: 8px; }
@media (min-width: 1024px) { .ct-reach { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: center; } }
.ct-reach__h { font-family: var(--display); font-weight: 800; font-size: var(--fs-h3-lg); line-height: var(--lh-h3-lg); margin-top: 6px; }
.ct-reach__head > p:last-child { margin-top: 8px; color: hsl(var(--fg-2)); font-size: 15px; line-height: 1.75; }
.ct-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: inset 0 0 0 1px hsl(var(--border)); overflow: hidden; }
@media (min-width: 700px) { .ct-channels { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ct-ch { display: grid; gap: 4px; align-content: start; padding: 18px; box-shadow: inset -1px -1px 0 hsl(var(--border)); }
.ct-ch dt { font-size: 13px; font-weight: 700; color: hsl(var(--fg-2)); }
.ct-ch dd { margin: 0; display: grid; gap: 2px; }
.ct-ch b { font-family: var(--text); font-size: 15.5px; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.ct-ch--live b { font-size: 24px; font-weight: 700; color: var(--ink); justify-self: start; }
.ct-ch--live span { font-size: 13px; color: hsl(var(--fg-2)); }

/* الوظائف: سطر واحد ينفتح على الطلب المفتوح */
.ct-careers { margin-top: 32px; max-width: none; border-radius: var(--r-md); background: hsl(var(--card)); box-shadow: inset 0 0 0 1px hsl(var(--border)); }
.ct-careers > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 22px; line-height: 1.7; color: hsl(var(--fg-2)); }
.ct-careers > summary::-webkit-details-marker { display: none; }
.ct-careers > summary b { color: var(--ink); }
.ct-careers__go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-weight: 700; white-space: nowrap; }
.ct-careers > summary:hover .ct-careers__go { background: var(--ink); color: #fff; }
.ct-careers[open] .ct-careers__go { display: none; }
.ct-careers .ct-form { border: 0; border-top: 1px solid hsl(var(--border)); border-radius: 0 0 var(--r-md) var(--r-md); }
.ct-careers .ct-form button[type="submit"] { width: auto; min-width: 280px; justify-self: start; }

@media (min-width: 640px) { .ct-lookup .form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; } .ct-lookup .form > :not(.field) { grid-column: 1 / -1; } }

/* شد الإيقاع: أقسام أقرب بعد الرأس القصير */
.ct-hero + .subnav { margin-top: 0; }
#write.sec { padding-top: clamp(40px, 5vw, 72px); }
#reach.sec { padding-block: clamp(8px, 2vw, 24px); }
#partner.sec { padding-bottom: 0; }

/* ختام أحمر مضغوط (px-close--compact): نفس لغة ختام الرئيسية بارتفاع أقل */
.px-close--compact { padding-block: clamp(44px, 5vw, 72px); margin-top: clamp(40px, 5vw, 72px); }
.px-close--compact .px-close__in { gap: clamp(14px, 1.8vw, 22px); }
.px-close--compact .px-close__h { font-size: clamp(40px, calc(16px + 3.6vw), 76px); line-height: 1.3; }
.px-close--compact .px-close__star { width: min(36vw, 440px); }
@media (max-width: 640px) { .px-close--compact { padding-block: 44px 48px; } .px-close--compact .px-close__h { font-size: 40px; } .px-close--compact .px-close__cta .btn { width: 100%; } .px-close--compact .px-close__star { width: 70vw; } }

/* الختام الأحمر يتصل بالتذييل بلا فراغ كبير */
body .foot { margin-top: clamp(16px, 2vw, 28px); }

/* ——— صقل الإطلاق ——— */
/* الموافقة: النص كتلة واحدة بجانب المربع (كان الرابط ينفصل عمودًا مستقلًا) */
.ct-consent { gap: 12px; min-height: 44px; font-size: 15px; color: hsl(var(--fg-2)); }
.ct-consent > span { flex: 1; min-width: 0; }
.ct-consent input, .ct-checks input { width: 20px; height: 20px; }
.ct-consent input { margin-top: 4px; }
.ct-checks label:has(input:focus-visible), .ct-consent:has(input:focus-visible) { outline: 2.5px solid var(--red); outline-offset: 2px; }
.ct-consent:has(input:focus-visible) { border-radius: 6px; }
/* بطاقة الإيصال: مسافة أوضح بين الحقلين والزر */
.ct-lookup .form .btn { margin-top: 4px; }
@media (max-width: 640px) {
  .ct-form--wide button[type="submit"], .ct-careers .ct-form button[type="submit"] { width: 100%; min-width: 0; }
  .ct-careers > summary { padding: 18px; }
  .ct-careers__go { width: 100%; justify-content: center; }
}
/* رسالة النموذج (نجاح أو تنبيه): لوحة هادئة بدل سطر عائم تحت الزر */
.ct-form .form__msg:not(:empty), .ct-lookup .form__msg:not(:empty) { padding: 12px 16px; border-radius: var(--r-sm); background: hsl(var(--tint)); border-inline-start: 3px solid var(--ink); line-height: 1.75; }
