/* Programme pages (2026-10-30). Built on site.css tokens (green/gold, Readex Pro, 3D cards, gold heading rules).
   Logical properties only, so the Arabic (rtl) page mirrors itself. */
.p-head { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4) 0 var(--s-6); max-width: 900px }
.p-head h1 { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 1.18; font-weight: 600;
  overflow-wrap: anywhere; text-wrap: balance; color: #fff }
html[lang="ar"] .p-head h1 { font-weight: 700; line-height: 1.35 }
.p-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-1) }
body.w a.p-btn-gold { background: linear-gradient(180deg, var(--gold-300), var(--gold-400)); color: var(--green-950);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 24px -12px rgba(0,0,0,.6) }
body.w a.p-btn-gold:hover, body.w a.p-btn-gold:focus-visible { background: linear-gradient(180deg, #F0DCA0, var(--gold-300)) }
body.w a.p-btn-ghost { border: 1px solid rgba(226,199,126,.6); color: #fff; min-height: 44px; padding: 0 20px }
body.w a.p-btn-ghost:hover { background: rgba(255,255,255,.08); text-decoration: none }
.p-status { display: inline-block; padding: 3px 12px; border-radius: var(--pill); font-size: 12px; letter-spacing: 0;
  text-transform: none; background: var(--gold-300); color: var(--green-950); font-weight: 700 }
.p-status.st-discontinued { background: #E8E3D6; color: #3F3A2E }
.p-status.st-open { background: #CFEBD9; color: var(--green-950) }
.p-preview { margin: var(--s-2) 0 0; padding: 10px 14px; border-radius: 12px; background: var(--gold-100); color: #4A3A0E;
  font-weight: 600; display: inline-block }

/* key facts strip */
.p-facts-wrap { max-width: var(--wrap); margin: calc(-1 * var(--s-4)) auto 0; padding: 0 var(--gutter); position: relative;
  z-index: 2 }
.p-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 0;
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%); border: 1px solid rgba(11,61,46,.09);
  border-radius: var(--r); box-shadow: var(--sh-2); overflow: hidden; border-top: 3px solid var(--gold-400) }
.p-fact { padding: 18px 20px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.p-fact dt { font-size: 13px; color: var(--gold-700); font-weight: 700 }
.p-fact dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--green-950);
  overflow-wrap: anywhere }

.p-prose { max-width: 820px }
.p-band { padding-block: var(--s-6) }
.p-band .w-h2 { margin-bottom: var(--s-3) }
.p-outcomes { margin: 0; padding: 0; list-style: none; counter-reset: plo; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px }
.p-outcomes li { counter-increment: plo; position: relative; padding: 14px 16px; padding-inline-start: 56px;
  background: #fff; border: 1px solid rgba(11,61,46,.09); border-radius: var(--r-sm); box-shadow: var(--sh-1) }
.p-outcomes li::before { content: counter(plo); position: absolute; inset-inline-start: 14px; top: 12px; width: 30px;
  height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: 14px; color: var(--green-950); background: var(--gold-100); box-shadow: 0 0 0 1px var(--gold-400) }

.p-year { margin-top: var(--s-4) }
.p-sems { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--s-2) }
.p-sem caption { text-align: start; font-weight: 700; padding: 10px 14px; color: var(--green-900) }
.p-sem tfoot th, .p-sem tfoot td { font-weight: 700 }

.p-split { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: flex-start }
.p-split > .p-prose { flex: 3 1 480px; min-width: 0 }
.p-dates { flex: 1 1 280px; padding: var(--s-3); display: flex; flex-direction: column; gap: 12px }
.p-dates .w-h3 { margin: 0 }
.p-datelist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px }
.p-datelist li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line) }
.p-date { font-size: 13px; font-weight: 700; color: var(--gold-700) }

.p-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px }
.p-chips li { padding: 12px 18px; font-weight: 600; border-inline-start: 3px solid var(--gold-400) }

.p-downloads { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px }
.p-dl { display: flex; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid rgba(11,61,46,.09);
  border-radius: 14px; box-shadow: var(--sh-1); min-width: 0 }
.p-dl-kind { flex: none; width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 13px; color: #fff; direction: ltr;
  background: linear-gradient(160deg, var(--green-700), var(--green-950)); box-shadow: inset 0 -3px 0 var(--gold-400) }
.p-dl-text { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.p-dl-text a { font-weight: 600; color: var(--green-900); overflow-wrap: anywhere }
.p-draft { color: #7A2E0E; font-weight: 700 }

.p-faqs { display: flex; flex-direction: column; gap: 10px; max-width: 900px }
.p-faq { padding: 0 }
.p-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--green-950); min-height: 44px }
.p-faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r) }
.p-faq p { margin: 0; padding: 0 18px 16px; color: var(--ink-2) }

.p-contact { margin: 0; padding: var(--s-3); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--s-2); max-width: 900px }
.p-contact dt { font-size: 13px; font-weight: 700; color: var(--gold-700) }
.p-contact dd { margin: 4px 0 0; overflow-wrap: anywhere }
.p-last { padding-bottom: var(--s-8) }

@media (max-width: 640px) {
  .p-head h1 { font-size: 30px }
  .p-facts-wrap { margin-top: var(--s-2) }
  .p-fact { padding: 14px 16px }
  .p-sems { grid-template-columns: 1fr }
}
