/* University of Nizwa website - redesign 2026-10-30: "clean, modern and elegant" in green and gold.
   Loaded after rashad-theme-v2.css (the platform kit); everything the site shows is styled here from the tokens below.
   Logical properties only (inline-start/end), so <html dir="rtl"> flips the layout for Arabic.
   Sections: 1 tokens  2 base  3 bar + header  4 buttons + forms  5 hero + page heads  6 sections + headings
   7 cards (3D)  8 unit pictures  9 home blocks  10 unit page  11 lists  12 footer  13 editor  14 phone  15 motion, print */

/* 1. Tokens ------------------------------------------------------------------------------------------------- */
:root {
  color-scheme: light;
  /* green: the primary */
  --green-950: #072A1F; --green-900: #0B3D2E; --green-800: #0F5132; --green-700: #15803D; --green-600: #1E9150;
  --green-200: #C8DCD0; --green-100: #E8F3EC; --green-50: #F3F8F5;
  /* gold: the accent - decoration (500/400), text on light (700, 5.6:1 on paper), text on green (300, 7.4:1) */
  --gold-700: #7D5F17; --gold-600: #96752A; --gold-500: #B08D3C; --gold-400: #C9A54C; --gold-300: #E2C77E;
  --gold-100: #F5EBD3; --gold-50: #FBF6EA;
  /* surfaces and ink */
  --paper: #FAF8F3; --surface: #FFFFFF; --surface-2: #F4F1E8;
  --ink: #10231B; --ink-2: #4A5B52; --ink-on-dark: #F4F7F5; --muted-on-dark: #C8DCD0;
  --line: #E6E1D4; --line-2: #D3CCB8; --field: #8C9A92;
  /* type: Readex Pro headings, Segoe UI / Noto Kufi Arabic body */
  /* 2026-10-30 identity: ONE typeface for both languages - Readex Pro (its Arabic is drawn to match its Latin) */
  --font-display: 'Readex Pro', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Readex Pro', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  --fs-xs: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-md: 18px; --fs-lg: 21px; --fs-xl: 26px; --fs-2xl: 34px;
  --fs-3xl: 44px; --fs-4xl: 52px;
  --lh: 1.65; --lh-tight: 1.2;
  /* 8 px rhythm */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px; --s-6: 48px; --s-8: 64px; --s-10: 80px;
  --wrap: 1240px; --gutter: 24px;
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --pill: 999px;
  /* depth: green-tinted, stacked shadows; a white top highlight makes the card read as a raised surface */
  --sh-1: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 2px rgba(11,61,46,.07), 0 4px 10px -2px rgba(11,61,46,.08),
          0 16px 30px -16px rgba(11,61,46,.24);
  --sh-2: inset 0 1px 0 rgba(255,255,255,.95), 0 2px 4px rgba(11,61,46,.06), 0 14px 26px -8px rgba(11,61,46,.16),
          0 34px 54px -22px rgba(11,61,46,.38);
  --sh-dark: 0 2px 4px rgba(4,21,15,.20), 0 18px 40px -16px rgba(4,21,15,.55);
  --focus: var(--gold-500);
  --ease: cubic-bezier(.2,.7,.2,1);
  /* patterns: an Omani eight-point-star lattice, gold on green and green on paper */
  --pattern-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23C9A54C' stroke-opacity='.17' stroke-width='1'%3E%3Cpath d='M25.3 25.3h37.4v37.4H25.3z'/%3E%3Cpath d='M44 17.6 70.4 44 44 70.4 17.6 44z'/%3E%3Cpath d='M0 44h17.6M70.4 44H88M44 0v17.6M44 70.4V88M0 0l25.3 25.3M88 0 62.7 25.3M0 88l25.3-25.3M88 88 62.7 62.7'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%230F5132' stroke-opacity='.055' stroke-width='1'%3E%3Cpath d='M25.3 25.3h37.4v37.4H25.3z'/%3E%3Cpath d='M44 17.6 70.4 44 44 70.4 17.6 44z'/%3E%3Cpath d='M0 44h17.6M70.4 44H88M44 0v17.6M44 70.4V88M0 0l25.3 25.3M88 0 62.7 25.3M0 88l25.3-25.3M88 88 62.7 62.7'/%3E%3C/g%3E%3C/svg%3E");
  --grad-deep: radial-gradient(120% 140% at 100% 0%, rgba(201,165,76,.20) 0, rgba(201,165,76,0) 46%),
               linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 55%, var(--green-800) 100%);
  /* compatibility with the platform kit */
  --accent: var(--green-700);
}
html[lang="ar"] { --font-display: 'Readex Pro', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Readex Pro', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif; --lh: 1.85; --lh-tight: 1.45 }

/* 2. Base --------------------------------------------------------------------------------------------------- */
body.w { margin: 0; background: var(--paper); color: var(--ink); font: var(--fs-base)/var(--lh) var(--font-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
body.w a { color: var(--ink); text-decoration: none; text-underline-offset: 3px }
body.w a:hover { color: var(--green-800); text-decoration: underline; text-decoration-color: var(--gold-500) }
body.w :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px }
body.w main:focus { outline: none }
body.w img { max-width: 100% }
.w-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter) }
.w-en { font-family: 'Readex Pro', 'Segoe UI', sans-serif }
.w-ar { font-family: 'Noto Kufi Arabic', sans-serif }
.w-skip { position: absolute; inset-inline-start: 8px; top: -80px; z-index: 50; background: var(--surface); color: var(--ink);
  padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; box-shadow: var(--sh-2) }
.w-skip:focus { top: 8px }
.w-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.w-small { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55 }
html[lang="ar"] .w-small { line-height: 1.75 }

/* 3. Utility bar and header --------------------------------------------------------------------------------- */
.w-bar { background: var(--green-950); color: var(--muted-on-dark); font-size: 13px; border-bottom: 1px solid rgba(201,165,76,.28);
  --focus: var(--gold-300) }
.w-bar .w-wrap { padding-block: 6px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: space-between }
.w-bar nav { display: flex; flex-wrap: wrap; gap: 0 20px }
body.w .w-bar a { color: var(--muted-on-dark); display: inline-flex; align-items: center; min-height: 32px }
body.w .w-bar a:hover { color: #fff; text-decoration-color: var(--gold-400) }
.w-bar-end { display: flex; gap: 20px; align-items: center }
body.w .w-bar a.w-pill { gap: 8px; color: var(--green-950); background: linear-gradient(180deg, #fff, var(--gold-50));
  padding-block: 3px; padding-inline: 4px 14px; border-radius: var(--pill); font-weight: 600;
  box-shadow: 0 0 0 1px rgba(201,165,76,.55), 0 4px 10px -4px rgba(0,0,0,.4) }
body.w .w-bar a.w-pill:hover { color: var(--green-950); text-decoration: none }
.w-pill img { width: 26px; height: 26px; border-radius: 50% }

/* stays at the top while the page scrolls (user, 2026-10-31); in-page links land below it. Wide screens keep the
   utility bar too (one fixed 45px row); on tablets and phones it wraps to several rows, so only the header stays. */
html { scroll-padding-top: 96px }
@media (min-width: 1181px) {
  html { scroll-padding-top: 140px }
  .w-bar { position: sticky; top: 0; z-index: 61; height: 45px; box-sizing: border-box }
  .w-bar .w-wrap { flex-wrap: nowrap }
  .w-header { top: 45px !important }
}
.w-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 24px -22px rgba(11,61,46,.45) }
.w-header::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400) 20%, var(--gold-400) 80%, transparent); opacity: .55 }
.w-header .w-wrap { padding-block: 14px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center }
.w-brand { display: flex; align-items: center; min-height: 44px }
.w-brand img { height: 56px; width: auto; display: block }
.w-nav { display: flex; flex-wrap: wrap; gap: 0 4px; flex-grow: 1; font-family: var(--font-display); font-weight: 500; font-size: 15px }
html[lang="ar"] .w-nav { font-weight: 600 }
body.w .w-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; color: var(--ink) }
body.w .w-nav a::after { content: ''; position: absolute; inset-inline: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--gold-500); transform: scaleX(0); transition: transform .25s var(--ease) }
body.w .w-nav a:hover { text-decoration: none; color: var(--green-800) }
body.w .w-nav a:hover::after, body.w .w-nav a[aria-current="page"]::after { transform: scaleX(1) }
body.w .w-nav a[aria-current="page"] { color: var(--green-800); font-weight: 600 }
.w-actions { display: flex; gap: var(--s-1); align-items: center }
body.w a.w-iconbtn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface);
  display: flex; align-items: center; justify-content: center; color: var(--green-900); box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease) }
body.w a.w-iconbtn:hover { color: var(--green-800); box-shadow: var(--sh-2); transform: translateY(-1px) }

/* 4. Buttons and forms -------------------------------------------------------------------------------------- */
body.w a.w-btn, .w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 22px; border-radius: 12px; border: 0; cursor: pointer; font: 600 15px/1.2 var(--font-display);
  color: #fff; background: linear-gradient(180deg, var(--green-700), var(--green-800));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(11,61,46,.2), 0 8px 18px -10px rgba(11,61,46,.6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s }
body.w a.w-btn:hover, .w-btn:hover { color: #fff; text-decoration: none; background: linear-gradient(180deg, var(--green-800), var(--green-900));
  transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 4px rgba(11,61,46,.2), 0 14px 24px -12px rgba(11,61,46,.7) }
.w-input { min-height: 48px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 16px; font-size: 16px;
  font-family: inherit; background: var(--surface); color: var(--ink); min-width: 0; box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s }
.w-input:hover { border-color: var(--green-800) }
.w-input:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(201,165,76,.45) }
select.w-input { padding: 0 12px }
.w-filters { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: end; margin-bottom: var(--s-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-2) var(--s-3); box-shadow: var(--sh-1) }
.w-field { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); font-weight: 600; min-width: 0 }
.w-field .w-input, .w-field select { min-height: 44px; font-size: 15px }
.w-search-row { display: flex; gap: var(--s-1); align-items: center; font-size: var(--fs-sm); flex-wrap: wrap }
.w-search-row .w-input { min-height: 44px; font-size: 15px; padding: 0 12px }

/* 5. Hero and page heads ------------------------------------------------------------------------------------ */
.w-hero, .w-unit-hero, .w-pagehead, .w-profile-hero { background: var(--pattern-gold), var(--grad-deep); color: var(--ink-on-dark);
  position: relative; --focus: var(--gold-300) }
.w-hero::after, .w-unit-hero::after, .w-pagehead::after, .w-profile-hero::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .7 }
.w-hero .w-wrap { padding-block: var(--s-8) calc(var(--s-8) + 16px); display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center }
.w-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-3) }
.w-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 600 }
.w-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .8 }
html[lang="ar"] .w-kicker { font-size: 14px; letter-spacing: 0; text-transform: none }
.w-hero h1 { margin: 0; font-family: var(--font-display); font-size: var(--fs-4xl); line-height: 1.12; font-weight: 600;
  letter-spacing: -.01em; text-wrap: balance }
html[lang="ar"] .w-hero h1 { font-size: var(--fs-3xl); line-height: 1.45; font-weight: 700; letter-spacing: 0 }
.w-hero p { margin: 0; font-size: var(--fs-md); color: var(--muted-on-dark); max-width: 580px }
.w-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-1) }
body.w a.w-cta-light, body.w a.w-cta-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: 12px; font: 600 15px/1.2 var(--font-display); transition: transform .2s var(--ease), box-shadow .2s, background .2s }
body.w a.w-cta-light { background: linear-gradient(180deg, #fff, var(--gold-50)); color: var(--green-950);
  box-shadow: inset 0 -2px 0 var(--gold-400), 0 10px 24px -12px rgba(0,0,0,.6) }
body.w a.w-cta-ghost { border: 1px solid rgba(226,199,126,.7); color: #fff; background: rgba(255,255,255,.04) }
body.w a.w-cta-light:hover, body.w a.w-cta-ghost:hover { text-decoration: none; transform: translateY(-2px) }
body.w a.w-cta-light:hover { color: var(--green-950) }
body.w a.w-cta-ghost:hover { color: #fff; background: rgba(255,255,255,.1) }
.w-hero-photo { flex: 1 1 440px; min-width: 0; height: 400px; border-radius: var(--r-lg); overflow: hidden; display: flex;
  align-items: center; justify-content: center; position: relative;
  background: radial-gradient(circle at 50% 45%, rgba(201,165,76,.22), transparent 60%), rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(226,199,126,.35), var(--sh-dark) }
.w-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.w-hero-photo .w-mark { width: 150px; height: 150px; border-radius: 32px; object-fit: contain;
  box-shadow: 0 0 0 1px rgba(226,199,126,.6), 0 0 0 12px rgba(226,199,126,.08), 0 24px 48px -16px rgba(0,0,0,.6) }

.w-crumbs { font-size: 13px; color: var(--muted-on-dark); display: flex; gap: 8px; flex-wrap: wrap; align-items: center }
body.w .w-crumbs a { color: var(--gold-300) }
body.w .w-crumbs a:hover { color: #fff }
.w-pagehead .w-wrap { padding-block: var(--s-4) var(--s-6) }
.w-pagehead h1 { margin: var(--s-2) 0 var(--s-1); font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1.2 }
html[lang="ar"] .w-pagehead h1 { font-weight: 700; line-height: 1.5 }
.w-pagehead p { margin: 0; color: var(--muted-on-dark); max-width: 720px; font-size: 17px }

/* 6. Sections and headings ---------------------------------------------------------------------------------- */
.w-section { max-width: var(--wrap); margin: 0 auto; padding: var(--s-8) var(--gutter) }
.w-band { background: var(--pattern-soft), linear-gradient(180deg, var(--green-50), #fff 70%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.w-band > .w-inner { max-width: var(--wrap); margin: 0 auto; padding: var(--s-8) var(--gutter) }
.w-h2 { margin: 0; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 600; line-height: 1.25;
  letter-spacing: -.005em; color: var(--green-950) }
.w-h2::after { content: ''; display: block; width: 56px; height: 2px; margin-top: 12px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300)) }
html[dir="rtl"] .w-h2::after { background: linear-gradient(270deg, var(--gold-500), var(--gold-300)) }
html[lang="ar"] .w-h2 { font-size: 31px; font-weight: 700; line-height: 1.5; letter-spacing: 0 }
.w-h2.sm, html[lang="ar"] .w-h2.sm { font-size: var(--fs-xl) }
.w-h3 { margin: var(--s-6) 0 var(--s-2); font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; color: var(--green-950);
  display: flex; align-items: center; gap: 12px }
.w-h3::before { content: ''; width: 10px; height: 10px; transform: rotate(45deg); border: 1.5px solid var(--gold-500); flex: none }
.w-lead { margin: var(--s-1) 0 0; color: var(--ink-2); max-width: 720px; font-size: 17px }
.w-headrow { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between; align-items: end; margin-bottom: var(--s-4) }
body.w a.w-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--green-800);
  border-bottom: 1px solid transparent }
body.w a.w-more:hover { text-decoration: underline; text-decoration-color: var(--gold-500) }
.w-note { margin: var(--s-2) 0 0; font-size: 13px; color: var(--ink-2) }
.w-empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 20px 24px; color: var(--ink-2) }
/* 2026-10-30 user: "reduce the size of the cards" - narrower columns (more cards per row), tighter gaps */
.w-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) }
.w-grid.g220 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: var(--s-2) }
.w-grid.g180 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: var(--s-2) }
.w-grid.g240 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--s-2) }
.w-grid.g270 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) }
.w-grid.g300 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--s-2) }
.w-count { color: var(--gold-700); font-variant-numeric: tabular-nums; font-weight: 600 }
.w-green-link { font-size: var(--fs-sm); color: var(--green-800); font-weight: 600 }

/* 7. Cards: raised surfaces that lift on hover and keyboard focus ------------------------------------------- */
.w-card, .w-college, .w-unit, .w-fact, .w-row, .w-news, .w-event, .w-tile, .w-sub, .w-person, .w-pub, .w-work, .w-rashad {
  position: relative; 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-1); color: var(--ink); min-width: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease) }
/* a gold hairline along the top edge, drawn in when the card is raised */
.w-card::before, .w-college::before, .w-unit::before, .w-row::before, .w-news::before, .w-event::before, .w-tile::before,
.w-sub::before, .w-pub::before, .w-work::before, .w-rashad::before, .w-fact::before, .w-person::before {
  content: ''; position: absolute; inset-inline: 18px; top: -1px; height: 2px; border-radius: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .0; transition: opacity .35s var(--ease) }
.w-fact::before, .w-person::before { opacity: .55 }
a.w-card:hover, a.w-college:hover, a.w-unit:hover, a.w-row:hover, a.w-news:hover, a.w-event:hover, a.w-tile:hover,
a.w-sub:hover, a.w-pub:hover, a.w-work:hover, a.w-rashad:hover,
a.w-card:focus-visible, a.w-college:focus-visible, a.w-unit:focus-visible, a.w-row:focus-visible, a.w-news:focus-visible,
a.w-event:focus-visible, a.w-tile:focus-visible, a.w-sub:focus-visible, a.w-pub:focus-visible, a.w-work:focus-visible,
a.w-rashad:focus-visible, .w-card:focus-within {
  transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(176,141,60,.45); text-decoration: none }
a.w-card:hover::before, a.w-college:hover::before, a.w-unit:hover::before, a.w-row:hover::before, a.w-news:hover::before,
a.w-event:hover::before, a.w-tile:hover::before, a.w-sub:hover::before, a.w-pub:hover::before, a.w-work:hover::before,
a.w-rashad:hover::before, a.w-card:focus-visible::before, a.w-college:focus-visible::before, a.w-unit:focus-visible::before,
a.w-news:focus-visible::before, a.w-sub:focus-visible::before, a.w-rashad:focus-visible::before, .w-card:focus-within::before { opacity: 1 }
body.w a.w-card:hover, body.w a.w-college:hover, body.w a.w-unit:hover, body.w a.w-row:hover, body.w a.w-news:hover,
body.w a.w-event:hover, body.w a.w-sub:hover, body.w a.w-pub:hover, body.w a.w-work:hover, body.w a.w-rashad:hover { color: var(--ink) }
/* the card's own title takes the link underline on hover */
a.w-card:hover .w-card-title, a.w-college:hover .w-college-name, a.w-unit:hover .w-unit-name, a.w-row:hover .w-row-title,
a.w-news:hover .w-news-title, a.w-event:hover .w-event-title, a.w-sub:hover .w-sub-name, a.w-pub:hover .w-pub-title,
a.w-tile:hover .w-tile-title { text-decoration: underline; text-decoration-color: var(--gold-500); text-decoration-thickness: 1.5px; text-underline-offset: 4px }

.w-card { padding: var(--s-2); display: flex; flex-direction: column; gap: 8px }
.w-card-kicker { font-size: 12px; font-weight: 600; color: var(--gold-700); letter-spacing: .02em }
.w-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; color: var(--green-950) }
html[lang="ar"] .w-card-title { font-size: 19px; font-weight: 700; line-height: 1.6 }
.w-tags { display: flex; flex-wrap: wrap; gap: 6px }
.w-tag { background: var(--green-100); color: var(--green-900); padding: 3px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 600 }

/* 8. Unit pictures: Showcase cover, an editor's image, or the generated drawing ------------------------------ */
.w-cover { display: block; position: relative; overflow: hidden; background: var(--green-900); aspect-ratio: 16 / 9 }
.w-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease) }
.w-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,42,31,0) 55%, rgba(7,42,31,.35)); box-shadow: inset 0 -1px 0 rgba(201,165,76,.5) }
a:hover > .w-cover img, a:focus-visible > .w-cover img { transform: scale(1.04) }

/* 9. Home blocks -------------------------------------------------------------------------------------------- */
.w-finder { max-width: var(--wrap); margin: -40px auto 0; padding: 0 var(--gutter); position: relative; z-index: 3 }
.w-finder form { background: var(--surface); border: 1px solid rgba(11,61,46,.09); border-radius: var(--r-lg); padding: var(--s-3);
  display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; box-shadow: var(--sh-2) }
.w-finder label { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--green-950) }
.w-finder .w-input { flex: 1 1 320px }
.w-chips { display: flex; flex-wrap: wrap; gap: var(--s-1); flex-basis: 100% }
body.w a.w-chip { display: inline-flex; align-items: center; min-height: 36px; background: var(--gold-50); color: var(--green-900);
  border: 1px solid rgba(176,141,60,.35); padding: 0 14px; border-radius: var(--pill); font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s }
body.w a.w-chip:hover { background: var(--gold-100); border-color: var(--gold-500); text-decoration: none }

.w-rashad-wrap { max-width: var(--wrap); margin: 0 auto; padding: var(--s-6) var(--gutter) 0 }
body.w a.w-rashad { border-radius: var(--r-lg); padding: var(--s-3) var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4);
  align-items: center; overflow: hidden; background: var(--pattern-soft), linear-gradient(120deg, #fff 0%, var(--gold-50) 100%) }
.w-rashad img { height: 180px; width: auto; max-width: 100%; object-fit: contain; align-self: flex-end; margin-bottom: -24px }
.w-rashad-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.w-rashad-title { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; color: var(--green-950) }
.w-rashad-go { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 600;
  font-family: var(--font-display); color: #fff; background: linear-gradient(180deg, var(--green-700), var(--green-800));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 20px -10px rgba(11,61,46,.7) }

.w-facts { max-width: var(--wrap); margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-1) }
.w-fact { padding: var(--s-3); display: flex; flex-direction: column; gap: 4px }
.w-fact-n { font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 600; color: var(--green-800); font-variant-numeric: tabular-nums }
.w-fact.sm { padding: 20px } .w-fact.sm .w-fact-n { font-size: 32px }
.w-fact-l { font-weight: 600; color: var(--ink) }
.w-fact-s { font-size: 13px; color: var(--ink-2) }
.w-fact-s::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-end: 8px; vertical-align: middle;
  transform: rotate(45deg); background: var(--gold-500) }

.w-levels { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-3) }
body.w a.w-level { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: var(--sh-1) }
body.w a.w-level:hover { border-color: var(--gold-500); text-decoration: none }
body.w a.w-level[aria-current="true"] { border-color: var(--green-800); background: var(--green-800); color: #fff;
  box-shadow: inset 0 -2px 0 var(--gold-400), var(--sh-1) }

body.w a.w-college { overflow: hidden; display: flex; flex-direction: column; color: var(--ink) }
.w-college-body { padding: 20px var(--s-3) var(--s-3); display: flex; flex-direction: column; gap: 6px; flex: 1 }
.w-college-name { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--green-950) }
html[lang="ar"] .w-college-name { font-weight: 700; line-height: 1.6 }
.w-college-body .w-green-link { margin-top: auto; padding-top: var(--s-1); border-top: 1px solid var(--line) }
body.w a.w-unit { overflow: hidden; display: flex; flex-direction: column; color: var(--ink) }
.w-unit .w-cover { aspect-ratio: 21 / 9 }
.w-unit-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px }
.w-unit-kind { font-size: 12px; font-weight: 700; color: var(--gold-700); text-transform: uppercase; letter-spacing: .08em }
html[lang="ar"] .w-unit-kind { text-transform: none; letter-spacing: 0; font-size: 13px }
.w-unit-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--green-950) }

.w-research { display: flex; flex-wrap: wrap; gap: var(--s-3) }
.w-feature { flex: 2 1 480px; min-width: 0; color: #fff; border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column;
  gap: var(--s-2); min-height: 320px; justify-content: end; background: var(--pattern-gold), var(--grad-deep);
  box-shadow: inset 0 0 0 1px rgba(226,199,126,.25), var(--sh-dark); --focus: var(--gold-300) }
.w-feature-title { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere }
html[lang="ar"] .w-feature-title { font-size: 26px; font-weight: 700; line-height: 1.6 }
body.w .w-feature a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 5px }
.w-feature-meta { color: var(--muted-on-dark) }
.w-side-list { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-2) }
body.w a.w-row { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; color: var(--ink) }
.w-row-title { font-weight: 600; font-family: var(--font-display); color: var(--green-950) }

.w-split { display: flex; flex-wrap: wrap; gap: var(--s-5) }
.w-split > .w-main { flex: 2 1 520px; min-width: 0 }
.w-split > .w-aside { flex: 1 1 300px; min-width: 0 }
body.w a.w-news { display: flex; flex-direction: column; gap: 10px; color: var(--ink); overflow: hidden; padding-bottom: 20px }
body.w a.w-news > .w-small, body.w a.w-news > .w-news-title { padding-inline: 20px }
.w-news-photo { height: 160px; background: var(--pattern-gold), var(--grad-deep); overflow: hidden; display: flex; align-items: center;
  justify-content: center; box-shadow: inset 0 -1px 0 rgba(201,165,76,.5) }
.w-news-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.w-news-photo img.w-news-mark { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; box-shadow: 0 0 0 1px rgba(226,199,126,.6) }
.w-news-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; color: var(--green-950) }
.w-events { display: flex; flex-direction: column; gap: var(--s-2) }
body.w a.w-event { display: flex; gap: var(--s-2); align-items: center; border-radius: 14px; padding: 14px; color: var(--ink) }
.w-date { width: 60px; height: 60px; flex-shrink: 0; border-radius: 12px; color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 700; line-height: 1.1;
  background: linear-gradient(160deg, var(--green-800), var(--green-950)); box-shadow: inset 0 -2px 0 var(--gold-400) }
.w-date-m { font-size: 11px; letter-spacing: .08em; color: var(--gold-300) } .w-date-d { font-size: 20px }
.w-event-text { display: flex; flex-direction: column; min-width: 0 }
.w-event-title { font-weight: 600; overflow-wrap: anywhere; color: var(--green-950) }

body.w a.w-tile { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); color: var(--ink); border-radius: var(--r-lg) }
body.w a.w-tile.accent { color: #fff; border-color: transparent; background: var(--pattern-gold), var(--grad-deep);
  box-shadow: inset 0 0 0 1px rgba(226,199,126,.3), var(--sh-dark); --focus: var(--gold-300) }
body.w a.w-tile.accent:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(226,199,126,.55), 0 30px 50px -20px rgba(4,21,15,.7) }
.w-tile-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--green-950) }
.w-tile.accent .w-tile-title { color: #fff }
html[lang="ar"] .w-tile-title { font-size: 23px; font-weight: 700 }
.w-tile.accent .w-tile-text { color: var(--muted-on-dark) }
.w-tile.accent > span:last-child { color: var(--gold-300) }

/* 10. Unit page ---------------------------------------------------------------------------------------------- */
.w-unit-hero .w-wrap { padding-top: var(--s-4) }
.w-unit-head { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; padding: var(--s-4) 0 var(--s-6) }
.w-unit-head-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-2) }
.w-unit-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 }
html[lang="ar"] .w-unit-head h1 { font-weight: 700; line-height: 1.5; font-size: 40px }
.w-unit-other { color: var(--gold-300); font-size: 17px }
.w-unit-head p { margin: 0; color: var(--muted-on-dark); max-width: 620px; font-size: 17px }
.w-unit-headof { font-size: 14px; color: var(--muted-on-dark) }
.w-unit-photo { flex: 1 1 400px; min-width: 0; aspect-ratio: 16 / 10; max-height: 320px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--green-900); box-shadow: inset 0 0 0 1px rgba(226,199,126,.35), var(--sh-dark); position: relative }
.w-unit-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.w-tabs { background: rgba(4,21,15,.55); border-top: 1px solid rgba(226,199,126,.18); position: relative; z-index: 1 }
.w-tabs .w-wrap { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); font-weight: 600; font-size: 14px }
body.w .w-tabs a { color: var(--ink-on-dark); min-height: 48px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent }
body.w .w-tabs a:hover { color: #fff; text-decoration: none; border-bottom-color: var(--gold-400) }
.w-usec { max-width: var(--wrap); margin: 0 auto; padding: var(--s-6) var(--gutter) }
.w-usec.w-usec-first { padding-bottom: var(--s-1) }   /* not "top": the platform kit styles .top as its top bar */
.w-usec .w-h2 { font-size: var(--fs-xl); margin-bottom: var(--s-3) }
body.w a.w-sub { padding: 20px; display: flex; flex-direction: column; gap: 4px; color: var(--ink) }
.w-sub-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--green-950) }
.w-table-wrap { overflow-x: auto; border: 1px solid rgba(11,61,46,.09); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1) }
.w-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px }
.w-table thead tr { background: var(--green-50); text-align: start }
.w-table th { color: var(--green-900); font-weight: 700; border-bottom: 2px solid var(--gold-400) }
.w-table th, .w-table td { padding: 14px 18px; text-align: start }
.w-table tbody tr { border-top: 1px solid var(--line) }
.w-table tbody tr:hover { background: var(--gold-50) }
.w-table td:first-child { font-weight: 600 }
/* 2026-10-30 user: staff photos on TOP of the card, not on the side */
.w-person { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center }
.w-avatar { width: 112px; height: 112px; flex-shrink: 0; border-radius: 50%; overflow: hidden; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700; font-size: 34px; background: linear-gradient(160deg, var(--green-700), var(--green-950));
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold-400), var(--sh-1) }
.w-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25% }
.w-person-text { display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100% }
.w-person-name { font-weight: 600; overflow-wrap: anywhere; color: var(--green-950) }
body.w .w-person a.w-green-link { font-size: 13px; display: inline-flex; align-items: center; min-height: 32px }
body.w a.w-pub, .w-pub { border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; color: var(--ink) }
.w-pub-title { font-weight: 600; overflow-wrap: anywhere; color: var(--green-950) }
.w-list { display: flex; flex-direction: column; gap: 12px }
body.w a.w-work { overflow: hidden; display: flex; flex-direction: column; color: var(--ink) }
.w-work-photo { height: 150px; background: var(--pattern-gold), var(--grad-deep); overflow: hidden }
.w-work-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.w-work-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px }

/* 11. List pages -------------------------------------------------------------------------------------------- */
.w-pager { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: var(--s-3) }
body.w a.w-pagebtn { border: 1px solid var(--line-2); border-radius: 12px; padding: 0 18px; min-height: 44px; display: inline-flex;
  align-items: center; background: var(--surface); font-weight: 600; box-shadow: var(--sh-1) }
body.w a.w-pagebtn:hover { border-color: var(--gold-500); text-decoration: none }
/* page numbers (2026-11-01, 20 per page) */
.w-pagenums { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center }
body.w a.w-pagenum, .w-pagecur { min-width: 40px; min-height: 40px; padding: 0 10px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 600 }
body.w a.w-pagenum { border: 1px solid var(--line-2); background: var(--surface) }
body.w a.w-pagenum:hover { border-color: var(--gold-500); text-decoration: none }
.w-pagecur { border: 1px solid var(--gold-500); background: var(--gold-500); color: #fff }
.w-pagegap { padding: 0 4px }
.w-article { max-width: 820px; margin: 0 auto; padding: var(--s-5) var(--gutter) var(--s-8) }
.w-article-body { white-space: pre-line; font-size: 17px; line-height: 1.8 }
.w-article-lead { font-size: 19px; color: var(--ink-2) }
.w-article img { max-width: 100%; border-radius: var(--r); box-shadow: var(--sh-1) }
.w-result-group { margin-bottom: var(--s-4) }
.w-index-children { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--line); padding-top: 12px }
.w-index-children li { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline }
.w-index-children li::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold-500); flex: none;
  align-self: center }
body.w .w-index-children a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; color: var(--green-900) }
.w-index-card { padding: 0; overflow: hidden }
.w-index-card .w-index-body { padding: 20px var(--s-3) var(--s-3); display: flex; flex-direction: column; gap: 6px }
body.w .w-index-card a.w-college-name { display: inline-flex; align-items: center; min-height: 44px }
.w-index-card > a.w-cover-link { display: block }

/* 12. Footer ------------------------------------------------------------------------------------------------ */
.w-footer { background: var(--pattern-gold), linear-gradient(180deg, var(--green-950), #04150F); color: var(--muted-on-dark); font-size: 14px;
  border-top: 2px solid var(--gold-500); --focus: var(--gold-300) }
.w-footer-grid { max-width: var(--wrap); margin: 0 auto; padding: var(--s-8) var(--gutter) var(--s-4); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--s-4) }
.w-footer-col { display: flex; flex-direction: column; gap: 4px }
.w-footer-head { color: var(--gold-300); font-weight: 600; font-family: var(--font-display); margin-bottom: 4px; letter-spacing: .02em }
.w-footer-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: #fff; margin-bottom: 4px }
body.w .w-footer a { color: var(--muted-on-dark); display: inline-flex; align-items: center; min-height: 32px }
body.w .w-footer a:hover { color: #fff; text-decoration-color: var(--gold-400) }
.w-footer-base { max-width: var(--wrap); margin: 0 auto; padding: var(--s-2) var(--gutter) var(--s-4); border-top: 1px solid rgba(226,199,126,.22); font-size: 13px }

/* 13. Editor area ------------------------------------------------------------------------------------------- */
.e-wrap { max-width: 1100px; margin: 0 auto; padding: var(--s-4) var(--gutter) var(--s-8) }
.e-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid rgba(11,61,46,.09);
  border-radius: var(--r); overflow: hidden; font-size: 14px; margin-bottom: var(--s-3); box-shadow: var(--sh-1) }
.e-table th, .e-table td { padding: 12px 14px; text-align: start; border-top: 1px solid var(--line); vertical-align: top }
.e-table thead th { background: var(--green-50); border-top: 0; color: var(--green-900); border-bottom: 2px solid var(--gold-400) }
.e-badge { display: inline-block; padding: 2px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600 }
.e-badge.published { background: var(--green-100); color: var(--green-800) }
.e-badge.draft { background: var(--gold-100); color: #5E470F }
.e-badge.changed { background: #E0EBFF; color: #1D4ED8 }
.e-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--s-2) var(--s-3);
  background: var(--surface); border: 1px solid rgba(11,61,46,.09); border-radius: var(--r); padding: var(--s-3); box-shadow: var(--sh-1) }
.e-form label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px }
.e-form input, .e-form textarea, .e-form select { width: 100%; border: 1.5px solid var(--field); border-radius: 12px; padding: 10px 12px;
  font: inherit; box-sizing: border-box; background: var(--surface); color: var(--ink); min-height: 44px }
.e-form input:focus, .e-form textarea:focus, .e-form select:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(201,165,76,.45) }
.e-form input[type=file] { padding: 8px }
.e-form .wide { grid-column: 1 / -1 }
.e-errors { color: #B42318; font-size: 14px }
.e-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-2) }
.e-btn2 { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface);
  font: 600 15px var(--font-body); cursor: pointer; color: var(--ink); box-shadow: var(--sh-1) }
.e-btn2:hover { border-color: var(--gold-500) }
.e-btn2.danger { border-color: #B42318; color: #B42318 }
.e-msg { background: var(--green-100); color: var(--green-900); border-radius: 12px; padding: 12px 16px; margin-bottom: var(--s-2);
  border-inline-start: 4px solid var(--gold-500) }
.e-thumb { width: 160px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; box-shadow: var(--sh-1) }
.e-inline { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0 }
.e-inline .e-btn2, .e-inline .w-btn { min-height: 40px; padding: 0 14px; font-size: 14px }

/* 13a. Header: the same in both languages (2026-10-30). ONE top row on wide screens (user: the logo must not sit on a row
   by itself): logo at the start, the main menu, search + Apply at the end. The menu moves to a second row only when it
   cannot fit (narrow screens). One template; only the direction differs. */
.w-header .w-wrap { gap: 0 var(--s-3); padding-block: 8px; flex-wrap: nowrap }
.w-brand { order: 1; flex: none }
.w-brand img { height: 50px }
.w-nav { order: 2; flex: 1 1 auto; justify-content: center; flex-wrap: nowrap; white-space: nowrap }
.w-actions { order: 3; flex: none }
@media (max-width: 1180px) {
  .w-header .w-wrap { flex-wrap: wrap; padding-block: 10px 0 }
  .w-actions { order: 2; margin-inline-start: auto }
  .w-nav { order: 3; flex-basis: 100%; justify-content: flex-start; flex-wrap: wrap; margin-top: 8px; padding-top: 2px;
    border-top: 1px solid var(--line); margin-inline: -12px }
}

/* 13a. The university's photos: cover treatments under the deep-green overlay, never shown above their size */
.has-photo { position: relative; overflow: hidden; isolation: isolate }
.w-bgphoto { position: absolute; inset-block: 0; inset-inline: 0; margin-inline: auto; z-index: -2; display: block; overflow: hidden }
.w-bgphoto img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block }
.w-hero.has-photo, .w-pagehead.has-photo { background: var(--green-950) }
.w-hero.has-photo::before, .w-pagehead.has-photo::before, .w-feature.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--pattern-gold), linear-gradient(90deg, rgba(7,42,31,.94) 0%, rgba(7,42,31,.84) 42%, rgba(11,61,46,.62) 100%) }
html[dir="rtl"] .w-hero.has-photo::before, html[dir="rtl"] .w-pagehead.has-photo::before, html[dir="rtl"] .w-feature.has-photo::before {
  background: var(--pattern-gold), linear-gradient(270deg, rgba(7,42,31,.94) 0%, rgba(7,42,31,.84) 42%, rgba(11,61,46,.62) 100%) }
.w-feature.has-photo::before { background: linear-gradient(180deg, rgba(7,42,31,.55) 0%, rgba(7,42,31,.92) 70%) !important; border-radius: inherit }
.w-feature.has-photo { position: relative; z-index: 0; isolation: isolate }
.w-feature .w-bgphoto { border-radius: inherit }
/* home hero card: the university's main entrance (Rashad appears only in the e-services banner) */
.w-hero-figure { margin: 0; background: var(--green-900); box-shadow: inset 0 0 0 1px rgba(226,199,126,.35), var(--sh-dark) }
.w-hero-pic { position: absolute; inset: 0; display: block; z-index: 0 }
.w-hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block }
.w-hero-figure::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(7,42,31,0) 55%, rgba(7,42,31,.72)); box-shadow: inset 0 0 0 1px rgba(226,199,126,.45) }
.w-hero-figure figcaption { position: absolute; inset-inline: 20px; bottom: 16px; z-index: 2; color: #fff; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 10px }
.w-hero-figure figcaption::before { content: ''; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-400); flex: none }
/* motto.png has an opaque grey-green background: pushed to black and screened away, the white calligraphy stays */
.w-motto { width: 271px; max-width: 100%; height: auto; filter: grayscale(1) brightness(.75) contrast(8); mix-blend-mode: screen;
  opacity: .95 }
.w-study-head { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; margin-bottom: var(--s-4) }
.w-study-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); align-items: flex-start }
.w-photo { display: block; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-2); position: relative }
.w-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.w-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(201,165,76,.45); pointer-events: none }
.w-study-photo { flex: 0 1 440px; max-width: 440px; aspect-ratio: 16 / 10 }
.w-photo-card { margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; padding: var(--s-2);
  background: var(--surface); border: 1px solid rgba(11,61,46,.09); border-radius: var(--r-lg); box-shadow: var(--sh-1) }
.w-photo-card .w-photo { flex: 1 1 280px; max-width: 420px; aspect-ratio: 4 / 3; box-shadow: var(--sh-1) }
.w-photo-card figcaption { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px }
body.w a.w-tile-photo { overflow: hidden; padding-top: 0 }
.w-tile-pic { display: block; margin: 0 calc(-1 * var(--s-4)) var(--s-1); height: 150px; overflow: hidden; box-shadow: inset 0 -1px 0 rgba(201,165,76,.5) }
.w-tile-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .6s var(--ease) }
a.w-tile-photo:hover .w-tile-pic img { transform: scale(1.04) }

/* 13b. Academic calendar and research hub (2026-10-30) -------------------------------------------------------- */
:root { --k-term: var(--green-700); --k-exam: #A23B2A; --k-holiday: #0E7490; --k-deadline: var(--gold-500); --k-event: #6B5B95 }
.w-kdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--k-event);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(11,61,46,.12); vertical-align: middle; margin-inline-end: 8px }
.w-kdot.k-term { background: var(--k-term) } .w-kdot.k-exam { background: var(--k-exam); border-radius: 2px }
.w-kdot.k-holiday { background: var(--k-holiday) } .w-kdot.k-deadline { background: var(--k-deadline); transform: rotate(45deg); border-radius: 1px }
.w-badge { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 700;
  background: var(--gold-100); color: var(--gold-700); vertical-align: middle; align-self: flex-start }
.w-badge.today { background: var(--green-800); color: #fff; box-shadow: inset 0 -1px 0 var(--gold-400) }

/* key dates strip (home) */
.w-keydates-wrap { max-width: var(--wrap); margin: 0 auto; padding: var(--s-4) var(--gutter) 0 }
.w-keydates { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); padding: var(--s-2) var(--s-3);
  border-radius: var(--r-lg); border: 1px solid rgba(176,141,60,.35); box-shadow: var(--sh-1);
  background: var(--pattern-soft), linear-gradient(120deg, #fff 0%, var(--gold-50) 100%) }
.w-keydates-title { margin: 0; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--green-950);
  display: flex; align-items: center; gap: 10px }
.w-keydates-title::before { content: ''; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold-500) }
.w-keydates-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); flex: 1 1 520px; min-width: 0 }
.w-keydates-list > li { flex: 1 1 220px; min-width: 0; display: flex }
body.w a.w-keydate { flex: 1; display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--ink);
  background: rgba(255,255,255,.75); border: 1px solid rgba(11,61,46,.08); transition: transform .3s var(--ease), box-shadow .3s var(--ease) }
body.w a.w-keydate:hover, body.w a.w-keydate:focus-visible { text-decoration: none; transform: translateY(-3px); box-shadow: var(--sh-2) }
a.w-keydate:hover .w-event-title { text-decoration: underline; text-decoration-color: var(--gold-500) }
.w-keydate .w-date { width: 52px; height: 52px }
.w-dl-kind { font-size: 12px; font-weight: 700; color: var(--gold-700); display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 0 }

/* month view (home) */
.w-calsec { padding-bottom: var(--s-2) }
.w-cal-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-3) }
.w-cal-wrap { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: flex-start }
/* 2026-10-30 user: "reduce the calendar size, it is too big" - a compact card beside the month's list */
.w-month { flex: 0 1 340px; max-width: 340px; padding: var(--s-2); border-radius: var(--r-lg); box-shadow: var(--sh-2) }
.w-month::before { opacity: .55 }
.w-month-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1) }
.w-month-title { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--green-950); text-align: center }
body.w a.w-month-nav { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; color: var(--green-900); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--sh-1) }
body.w a.w-month-nav:hover { border-color: var(--gold-500); text-decoration: none; color: var(--green-800) }
body.w a.w-month-today { display: inline-flex; min-height: 32px; align-items: center; font-size: 13px; font-weight: 600; color: var(--green-800) }
.w-month-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; margin-top: 4px; font-size: 13px }
.w-month-grid th { font-size: 11px; font-weight: 700; color: var(--ink-2); padding: 2px 0; text-align: center }
.w-month-grid th abbr { text-decoration: none; cursor: help }
.w-month-grid td { padding: 0; height: 34px; text-align: center; vertical-align: top }
.w-month-grid td > a, .w-month-grid td > .w-mcell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 100%; min-height: 32px; border-radius: 8px; color: var(--ink); font-variant-numeric: tabular-nums }
.w-month-grid td.has > a { background: var(--green-50); border: 1px solid rgba(11,61,46,.1); font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s }
body.w .w-month-grid td.has > a:hover, body.w .w-month-grid td.has > a:focus-visible { background: var(--gold-50); text-decoration: none;
  transform: translateY(-2px); box-shadow: var(--sh-1); border-color: var(--gold-500) }
.w-month-grid td.is-past > a, .w-month-grid td.is-past > .w-mcell { opacity: .55 }
.w-month-grid td.is-today > a, .w-month-grid td.is-today > .w-mcell { opacity: 1; background: var(--green-800); color: #fff;
  box-shadow: inset 0 -2px 0 var(--gold-400), var(--sh-1) }
body.w .w-month-grid td.is-today > a:hover { background: var(--green-900); color: #fff }
.w-mdots { display: flex; gap: 2px; justify-content: center; min-height: 5px }
.w-mdots .w-kdot { width: 5px; height: 5px; margin: 0; box-shadow: none }
.w-month-grid td.is-today .w-kdot { box-shadow: 0 0 0 1px #fff }
.w-legend { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); display: flex;
  flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--ink-2) }
.w-legend li { display: inline-flex; align-items: center }
.w-legend-today { width: 12px; height: 12px; border-radius: 3px; background: var(--green-800); margin-inline-end: 8px;
  box-shadow: inset 0 -2px 0 var(--gold-400) }
.w-month-list { flex: 1 1 340px; min-width: 0 }

/* date lists (calendar page + month list) */
.w-datelist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px }
.w-dl-row { position: relative; display: flex; gap: var(--s-2); align-items: center; padding: 14px; border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%); border: 1px solid rgba(11,61,46,.09); box-shadow: var(--sh-1);
  border-inline-start: 4px solid var(--k-event); transition: box-shadow .3s var(--ease), transform .3s var(--ease) }
.w-dl-row.k-term { border-inline-start-color: var(--k-term) } .w-dl-row.k-exam { border-inline-start-color: var(--k-exam) }
.w-dl-row.k-holiday { border-inline-start-color: var(--k-holiday) } .w-dl-row.k-deadline { border-inline-start-color: var(--k-deadline) }
.w-dl-row.is-past { opacity: .58; box-shadow: none }
.w-dl-row.is-today { background: linear-gradient(120deg, var(--gold-50), #fff); border-color: var(--gold-500); box-shadow: var(--sh-2) }
.w-dl-row:target { outline: 3px solid var(--gold-400); outline-offset: 2px; box-shadow: var(--sh-2); transform: translateY(-2px) }
.w-datelist.compact .w-dl-row { padding: 10px 12px } .w-datelist.compact .w-date { width: 50px; height: 50px }
.w-datelist + .w-h3 { margin-top: var(--s-5) }

/* calendar page */
.w-cal-top { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; justify-content: space-between; margin-bottom: var(--s-5) }
.w-cal-today { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--pill);
  background: var(--green-50); border: 1px solid var(--green-200) }
.w-cal-today-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-700); box-shadow: 0 0 0 4px rgba(21,128,61,.18) }
.w-term { gap: 6px }
.w-timeline { list-style: none; margin: var(--s-2) 0 0; padding: 0; position: relative }
.w-timeline::before { content: ''; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 7px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-400), var(--green-200)) }
.w-tl-step { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; padding-inline-start: 30px;
  border-bottom: 1px dashed var(--line) }
.w-tl-step:last-child { border-bottom: 0 }
.w-tl-dot { position: absolute; inset-inline-start: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 2px solid var(--green-700); box-sizing: border-box }
.w-tl-label { font-weight: 600; color: var(--green-950) }
.w-tl-date { font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap }
.w-tl-step.is-past { opacity: .55 } .w-tl-step.is-past .w-tl-dot { background: var(--green-200); border-color: var(--green-200) }
.w-tl-step.is-next .w-tl-dot { background: var(--gold-400); border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(201,165,76,.25) }
.w-tl-step.is-today .w-tl-dot { background: var(--green-800); border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(21,128,61,.25) }
.w-tl-step.is-today, .w-tl-step.is-next { opacity: 1 }
.w-exams { margin-top: var(--s-6) }
.w-exam-card { border-inline-start: 4px solid var(--k-exam) }
.w-kind-filter .w-kdot { box-shadow: none }
body.w .w-kind-filter a.w-level[aria-current="true"] .w-kdot { box-shadow: 0 0 0 2px #fff }
.w-ics-tile { margin-top: var(--s-5); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); border-radius: var(--r-lg) }

/* research hub */
body.w a.w-journal { flex-direction: row; gap: var(--s-2); align-items: stretch; padding: var(--s-2) }
.w-journal-cover { flex: none; width: 96px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; display: flex; align-items: center;
  justify-content: center; background: var(--pattern-gold), var(--grad-deep); box-shadow: inset 0 0 0 1px rgba(226,199,126,.4), var(--sh-1) }
.w-journal-cover img { width: 100%; height: 100%; object-fit: cover; display: block }
.w-journal-abbr { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--gold-300); letter-spacing: .06em;
  writing-mode: vertical-rl; transform: rotate(180deg) }
.w-journal-body { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.w-journal-body .w-green-link { margin-top: auto }
a.w-journal:hover .w-card-title { text-decoration: underline; text-decoration-color: var(--gold-500) }

/* 13b. Phase B (2026-10-30): imported news and key pages, people pages, programme cards ----------------------- */
.w-rich { white-space: normal }
.w-rich p { margin: 0 0 1em }
.w-rich h2, .w-rich h3, .w-rich h4, .w-rich h5, .w-rich h6 { font-family: var(--font-display); color: var(--green-950);
  line-height: 1.35; margin: 1.6em 0 .6em }
.w-rich h2 { font-size: 24px } .w-rich h3 { font-size: 21px } .w-rich h4, .w-rich h5, .w-rich h6 { font-size: 18px }
.w-rich ul, .w-rich ol { padding-inline-start: 1.4em; margin: 0 0 1em }
.w-rich li { margin-bottom: .35em }
.w-rich a { color: var(--green-800); text-decoration: underline; text-decoration-color: var(--gold-400) }
.w-rich blockquote { margin: 1.2em 0; padding: 12px 20px; border-inline-start: 3px solid var(--gold-400); background: var(--gold-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0 }
.w-rich table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto }
.w-rich td, .w-rich th { border: 1px solid var(--line); padding: 8px 12px; text-align: start; vertical-align: top }
.w-rich img { height: auto; display: block; margin: 1em auto }
.w-article-cover { margin: 0 0 var(--s-3) }
.w-article-cover img { width: 100%; height: auto; display: block }
.w-article-cover figcaption { margin-top: 8px }
.w-gallery { margin-top: var(--s-5) }
.w-gallery .w-h2 { margin-bottom: var(--s-2) }
.w-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--s-2) }
body.w a.w-gallery-item { display: flex; flex-direction: column; gap: 6px; color: var(--ink) }
.w-gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); box-shadow: var(--sh-1) }
.w-article-layout { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: flex-start;
  padding-inline: var(--gutter) }
.w-article-layout .w-article { flex: 3 1 560px; min-width: 0; margin: 0; padding-inline: 0 }
.w-page-menu { flex: 1 1 260px; position: sticky; top: 16px; margin-top: var(--s-5); background: var(--surface);
  border: 1px solid rgba(11,61,46,.09); border-radius: var(--r); box-shadow: var(--sh-1); padding: var(--s-3) }
.w-page-menu-group + .w-page-menu-group { margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line) }
.w-page-menu-head { display: block; font-family: var(--font-display); font-weight: 600; color: var(--gold-700); font-size: 14px;
  margin-bottom: 6px }
.w-page-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px }
body.w .w-page-menu a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 15px }
body.w .w-page-menu a[aria-current="page"] { background: var(--green-100); color: var(--green-900); font-weight: 600 }
/* people page */
.w-profile-hero .w-wrap { padding-block: var(--s-4) var(--s-6) }
/* photo on top, centred above the name (same round gold ring as the people cards) */
.w-profile-head { display: flex; flex-direction: column; gap: var(--s-3); align-items: center; text-align: center;
  padding-top: var(--s-4) }
.w-profile-photo { width: 200px; height: 200px; flex: none; border-radius: 50%; overflow: hidden; display: flex; align-items: center;
  justify-content: center; background: radial-gradient(120% 120% at 30% 20%, var(--green-600) 0%, var(--green-900) 60%, var(--green-950) 100%);
  box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 0 6px var(--gold-400), var(--sh-dark) }
.w-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block }
.w-initials { font-family: var(--font-display); font-size: 76px; font-weight: 600; letter-spacing: .04em; color: var(--gold-300);
  text-shadow: 0 2px 12px rgba(0,0,0,.25) }
.w-profile-text { width: 100%; max-width: 820px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px }
.w-profile-text h1 { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere }
html[lang="ar"] .w-profile-text h1 { font-weight: 700; line-height: 1.5; font-size: 36px }
.w-profile-title { margin: 0; font-size: 19px; color: #fff; font-weight: 600 }
.w-profile-units { margin: 0; color: var(--muted-on-dark) }
body.w .w-profile-units a, body.w .w-profile-contact a { color: var(--gold-300) }
.w-profile-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 8px 0 0 }
.w-profile-contact dt { font-size: 12px; color: var(--muted-on-dark); letter-spacing: .04em }
.w-profile-contact dd { margin: 0; font-weight: 600 }
.w-profile-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 0 }
body.w .w-profile-links a.w-tag { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(226,199,126,.5) }
.w-profile-body { display: flex; flex-wrap: wrap; gap: var(--s-5); padding-block: var(--s-6) var(--s-4); align-items: flex-start }
.w-profile-main { flex: 3 1 520px; min-width: 0 }
.w-profile-side { flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-3) }
.w-profile-sec + .w-profile-sec { margin-top: var(--s-5) }
.w-profile-sec .w-h2 { margin-bottom: var(--s-2) }
.w-profile-card { background: var(--surface); border: 1px solid rgba(11,61,46,.09); border-radius: var(--r); box-shadow: var(--sh-1);
  padding: var(--s-3) }
.w-profile-card .w-h3 { margin-top: 0 }
.w-profile-card ul { margin: 0; padding-inline-start: 1.2em; display: flex; flex-direction: column; gap: 6px }
.w-profile-pubs { margin: 0; padding-inline-start: 1.4em; display: flex; flex-direction: column; gap: 14px }
.w-profile-pubs li { display: flex; flex-direction: column; gap: 2px }
.w-profile-pubs .w-oa { align-self: flex-start; margin-top: 4px; background: var(--gold-100); color: var(--gold-700) }
a.w-person-name:hover { text-decoration: underline }
.w-prog a { color: inherit }
/* people cards: equal height in a row; title/unit and interests clamped to two lines (full text on the profile) */
.w-grid.g240:has(> .w-person) { align-items: stretch }
.w-person { height: 100% }
.w-person-text { flex: 1 }
.w-person-text .w-small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis }
.w-person-text .w-green-link { margin-top: auto }
/* rankings (About page) */
.w-rankings { margin-top: var(--s-6) }
.w-rank-facts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-2) 0 }
.w-rank-fact { flex: 1 1 220px; background: var(--surface); border: 1px solid rgba(11,61,46,.09); border-radius: var(--r);
  box-shadow: var(--sh-1); padding: var(--s-2) var(--s-3) }
.w-rank-fact b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--green-900) }
.w-rank-chart { margin: var(--s-3) 0 0; background: var(--surface); border: 1px solid rgba(11,61,46,.09); border-radius: var(--r);
  box-shadow: var(--sh-1); padding: var(--s-2) }
.w-rank-chart svg { width: 100%; height: auto; display: block }
.w-rank-chart .ln { fill: none; stroke: var(--green-700); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round }
.w-rank-chart .pt { fill: #fff; stroke: var(--gold-500); stroke-width: 2.5 }
.w-rank-chart .lb { font: 600 12px var(--font-body); fill: var(--green-950); text-anchor: middle }
.w-rank-chart .ax { font: 12px var(--font-body); fill: var(--ink-2); text-anchor: middle }
.w-rank-chart .gr { stroke: var(--line); stroke-width: 1 }
.w-rank-table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; margin-top: var(--s-2); font-size: 14px }
.w-rank-table th, .w-rank-table td { border-top: 1px solid var(--line); padding: 6px 10px; text-align: center }
.w-level-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-2) }
.w-level-fact { background: rgba(255,255,255,.1); border: 1px solid rgba(226,199,126,.45); border-radius: var(--r-sm);
  padding: 8px 16px; color: #fff }
.w-level-fact b { font-family: var(--font-display); font-size: 24px; margin-inline-end: 6px; color: var(--gold-300) }

/* one page per person (2026-10-30): research-identity icon links, author links */
body.w a.w-idlink { display: inline-flex; align-items: center; gap: 6px; padding-block: 4px; padding-inline: 4px 10px; border-radius: var(--pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(226,199,126,.45); color: #fff; font-size: 13px; font-weight: 600 }
body.w a.w-idlink:hover { background: rgba(255,255,255,.2); text-decoration: none }
.w-idicon { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font: 700 11px/1 'Segoe UI', sans-serif; color: #fff; background: var(--green-700) }
.w-id-orcid { background: #A6CE39; color: #fff } .w-id-scholar { background: #4285F4 } .w-id-scopus { background: #E9711C }
.w-id-researchgate { background: #00CCBB }
body.w .w-pub a { color: var(--green-950) }
body.w .w-pub a.w-author { color: var(--green-800); text-decoration: underline; text-decoration-color: var(--gold-400) }
/* author lists (2026-10-31, core/authors.py): University of Nizwa authors bold green with a small gold mark */
body.w .w-au-uni, body.w .w-pub a.w-au-uni { font-weight: 700; color: var(--green-800) }
body.w a.w-au-uni { text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 2px }
body.w a.w-au-uni:hover, body.w a.w-au-uni:focus-visible { color: var(--green-950); text-decoration-color: var(--gold-600, #b8860b) }
body.w .w-au-uni::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-inline-start: .22em;
  border-radius: 50%; background: var(--gold-400, #d4a72c); vertical-align: .18em }
body.w .w-au-self { color: var(--green-950); background: var(--gold-100, #fbf3dc); border-radius: 4px; padding: 0 .2em }
body.w .w-au-rest[hidden] { display: none }
body.w .w-au-more { font: inherit; font-size: .92em; color: var(--green-800); background: none; border: 0; padding: 0 .2em;
  cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold-400) }
body.w .w-au-more:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; border-radius: 3px }
body.w .w-au-more[hidden] { display: none }
body.w .w-metrics { margin: 12px 0 0; font-weight: 600; color: var(--green-950) }
body.w .w-metrics .w-metric { white-space: nowrap }
body.w .w-rsort { margin: -6px 0 14px }
/* researcher cards: the publication count (2026-10-31; cards are ordered by it) */
body.w .w-pub-count { display: inline-block; margin-top: 4px; padding: 1px 10px; border-radius: 999px; font-size: 12.5px;
  font-weight: 600; color: var(--gold-700, #8a6510); background: var(--gold-100, #fbf3dc) }

/* language and direction (2026-10-30): text in the other language (marked by core/langmark.py with lang + dir) and
   numbers, dates, phones and extensions are isolated, so they keep their own direction inside the page's flow */
body.w span[lang][dir], body.w bdi, body.w [dir="auto"] { unicode-bidi: isolate }
body.w .w-num, body.w time, body.w [dir="ltr"].w-num { unicode-bidi: isolate; direction: ltr }
/* a block written in the other language (an English publication title in an Arabic list) aligns to its own side */
body.w .w-pub-title > span[lang]:only-child, body.w .w-pub-title > a > span[lang]:only-child { display: inline-block; text-align: start }

/* 14. Phone ------------------------------------------------------------------------------------------------- */
@media (max-width: 720px) {
  :root { --gutter: 16px }
  .w-section, .w-band > .w-inner { padding-block: var(--s-6) }
  .w-hero .w-wrap { padding-block: var(--s-5) var(--s-8); gap: var(--s-3) }
  .w-hero h1, html[lang="ar"] .w-hero h1 { font-size: 32px }
  .w-hero p { font-size: 16px }
  .w-hero-photo { height: 210px; flex-basis: 100% }
  .w-unit-head { gap: var(--s-3); padding-bottom: var(--s-4) }
  .w-profile-photo { width: 150px; height: 150px }
  .w-initials { font-size: 52px }
  .w-profile-text h1, html[lang="ar"] .w-profile-text h1 { font-size: 28px }
  .w-page-menu { position: static }
  .w-unit-head h1, html[lang="ar"] .w-unit-head h1 { font-size: 30px }
  .w-unit-photo { flex-basis: 100% }
  .w-pagehead h1 { font-size: 30px }
  .w-h2, html[lang="ar"] .w-h2 { font-size: 26px }
  .w-feature { padding: var(--s-3); min-height: 220px }
  .w-feature-title, html[lang="ar"] .w-feature-title { font-size: 22px }
  .w-header .w-wrap { gap: 4px 12px; padding-block: 10px }
  .w-nav { order: 3; flex-basis: 100%; font-size: 14px; margin-inline: -12px }
  body.w .w-nav a { padding-inline: 10px }
  body.w .w-nav a::after { inset-inline: 10px }
  .w-actions { margin-inline-start: auto }
  .w-brand img { height: 46px }
  body.w a.w-rashad { padding: 20px }
  .w-rashad img { height: 140px }
  .w-finder { margin-top: -32px }
  .w-finder form { padding: var(--s-2) }
  .w-fact-n { font-size: 34px }
  .w-filters { padding: var(--s-2) }
  .w-filters .w-field { flex: 1 1 100% }
  .w-bar nav { gap: 0 14px }
  .w-month { padding: 12px; flex-basis: 100% }
  .w-month-grid { border-spacing: 2px }
  .w-month-grid td { height: 42px }
  .w-month-grid th { font-size: 11px }
  .w-keydates { padding: var(--s-2) }
  .w-tl-step { grid-template-columns: 1fr }
  .w-tl-date { white-space: normal }
  body.w a.w-journal { flex-direction: column }
  .w-journal-cover { width: 100%; aspect-ratio: 16 / 7 }
  .w-journal-abbr { writing-mode: horizontal-tb; transform: none }
}
@media (max-width: 400px) {
  body.w a.w-btn, .w-btn { padding: 0 16px }
  .w-bar-end { gap: 12px }
}

/* 15. Motion and print -------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important }
  a.w-card:hover, a.w-college:hover, a.w-unit:hover, a.w-row:hover, a.w-news:hover, a.w-event:hover, a.w-tile:hover,
  a.w-sub:hover, a.w-pub:hover, a.w-work:hover, a.w-rashad:hover, a.w-card:focus-visible, a.w-college:focus-visible,
  a.w-unit:focus-visible, a.w-row:focus-visible, a.w-news:focus-visible, a.w-event:focus-visible, a.w-tile:focus-visible,
  a.w-sub:focus-visible, a.w-pub:focus-visible, a.w-work:focus-visible, a.w-rashad:focus-visible, .w-card:focus-within,
  body.w a.w-btn:hover, .w-btn:hover, body.w a.w-iconbtn:hover, body.w a.w-cta-light:hover, body.w a.w-cta-ghost:hover,
  a:hover > .w-cover img, a:focus-visible > .w-cover img { transform: none }
  a.w-tile-photo:hover .w-tile-pic img, .w-dl-row:target, body.w a.w-keydate:hover, body.w a.w-keydate:focus-visible,
  body.w .w-month-grid td.has > a:hover, body.w .w-month-grid td.has > a:focus-visible { transform: none }
}
@media print {
  .w-bar, .w-finder, .w-tabs, .w-footer, .w-actions { display: none }
  .w-hero, .w-unit-hero, .w-pagehead { background: none; color: #000 }
  .w-card, .w-college, .w-unit, .w-fact, .w-row, .w-news, .w-event, .w-tile, .w-sub, .w-person, .w-pub, .w-work { box-shadow: none }
}

/* content links (2026-10-30, fix_links): a link that leaves the platform carries rel="external" and an arrow */
.w-rich a[rel~="external"]::after { content: "\2197" / ""; display: inline-block; margin-inline-start: .2em; font-size: .85em }
[dir="rtl"] .w-rich a[rel~="external"]::after { transform: scaleX(-1) }

/* 16. Home redesign (2026-10-30): highlights carousel, compact numbers, programme card photos, square research cards,
   Rashad Showcase section. Logical properties only; core/home.py + website/_home_*.html + website/home.js. --------- */
/* highlights: one large card at a time (script) or a sideways-scrolling row (no script) */
.w-hl-sec { max-width: var(--wrap); margin: 0 auto; padding: var(--s-6) var(--gutter) 0 }
.w-hl-head { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between; align-items: end; margin-bottom: var(--s-3) }
.w-hl-controls { display: flex; gap: 8px }
.w-hl-controls[hidden], .w-hl-dots[hidden] { display: none }
.w-hl-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--sh-1); padding: 0;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease) }
.w-hl-btn:hover { border-color: var(--gold-500); box-shadow: var(--sh-2); transform: translateY(-1px) }
.w-hl-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px }
.w-hl-play .i-play, .w-hl-sec.is-paused .w-hl-play .i-pause { display: none }
.w-hl-sec.is-paused .w-hl-play .i-play { display: block }
html[dir="rtl"] .w-hl-chev { transform: scaleX(-1) }
.w-hl-track { display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px 2px 22px; margin: -4px -2px 0; scrollbar-width: thin; scrollbar-color: var(--gold-400) transparent }
.w-hl-slide { flex: 0 0 min(88%, 820px); min-width: 0; scroll-snap-align: start; display: flex }
.w-hl-sec.is-js .w-hl-track { scrollbar-width: none }
.w-hl-sec.is-js .w-hl-track::-webkit-scrollbar { display: none }
.w-hl-sec.is-js .w-hl-slide { flex-basis: 100% }
body.w a.w-hl-card { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 340px; overflow: hidden;
  border-radius: var(--r-lg); color: #fff; background: var(--pattern-gold), var(--grad-deep);
  box-shadow: inset 0 0 0 1px rgba(226,199,126,.3), 0 2px 4px rgba(4,21,15,.18), 0 12px 16px -12px rgba(4,21,15,.5);
  --focus: var(--gold-300) }
body.w a.w-hl-card:hover { color: #fff; text-decoration: none }
body.w a.w-hl-card:focus-visible { outline: 3px solid var(--gold-300); outline-offset: -5px }
.w-hl-photo { position: relative; overflow: hidden; min-height: 220px; background: var(--green-900) }
.w-hl-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease) }
.w-hl-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset -1px 0 0 rgba(226,199,126,.45) }
html[dir="rtl"] .w-hl-photo::after { box-shadow: inset 1px 0 0 rgba(226,199,126,.45) }
a.w-hl-card:hover .w-hl-photo img { transform: scale(1.04) }
.w-hl-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--pattern-gold), radial-gradient(circle at 50% 45%, rgba(201,165,76,.28), transparent 62%), linear-gradient(160deg, var(--green-800), var(--green-950)) }
.w-hl-date { width: 128px; height: 128px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--green-700), var(--green-900)); box-shadow: inset 0 -3px 0 var(--gold-400), 0 0 0 1px rgba(226,199,126,.55), var(--sh-dark);
  font-family: var(--font-display); line-height: 1.1 }
.w-hl-date-m { font-size: 16px; letter-spacing: .1em; color: var(--gold-300); font-weight: 600 }
.w-hl-date-d { font-size: 52px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums }
.w-hl-star { width: 76px; height: 76px; border: 2px solid var(--gold-400); transform: rotate(45deg); position: relative; opacity: .9 }
.w-hl-star::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--gold-400); transform: rotate(45deg) }
.w-hl-body { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: var(--s-4) var(--s-5); min-width: 0 }
.w-hl-kind { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border-radius: var(--pill);
  background: rgba(201,165,76,.16); border: 1px solid rgba(226,199,126,.55); color: var(--gold-300); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase }
.w-hl-kind::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-400) }
html[lang="ar"] .w-hl-kind { font-size: 13px; letter-spacing: 0; text-transform: none }
.w-hl-title { font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.3; color: #fff; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; text-wrap: balance }
html[lang="ar"] .w-hl-title { font-size: 25px; font-weight: 700; line-height: 1.6 }
a.w-hl-card:hover .w-hl-title { text-decoration: underline; text-decoration-color: var(--gold-400); text-decoration-thickness: 1.5px; text-underline-offset: 5px }
.w-hl-when { font-size: var(--fs-sm); color: var(--gold-300); font-weight: 600 }
.w-hl-line { color: var(--muted-on-dark); font-size: 15px; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden }
.w-hl-go { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 12px; font: 600 15px/1.2 var(--font-display); color: var(--green-950); background: linear-gradient(180deg, #fff, var(--gold-50));
  box-shadow: inset 0 -2px 0 var(--gold-400), 0 10px 24px -12px rgba(0,0,0,.6) }
.w-hl-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin-top: 2px }
.w-hl-dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 10px }
.w-hl-dot > span { width: 10px; height: 10px; border-radius: var(--pill); background: #77877E; transition: width .3s var(--ease), background .3s }
.w-hl-dot:hover > span { background: var(--green-800) }
.w-hl-dot[aria-current="true"] > span { width: 28px; background: var(--green-800); box-shadow: inset 0 -2px 0 var(--gold-400) }
.w-hl-dot:focus-visible { outline: 3px solid var(--focus); outline-offset: 0 }

/* key numbers: compact cards without the source line (2026-10-30 user) */
.w-facts { padding-top: var(--s-5) }
.w-facts-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)) }
.w-facts .w-fact { padding: 14px 16px 15px; gap: 2px; border-radius: 14px }
.w-facts .w-fact-n { font-size: 28px; line-height: 1.15 }
.w-facts .w-fact-l { font-size: 14px; line-height: 1.4; color: var(--ink-2) }
html[lang="ar"] .w-facts .w-fact-l { line-height: 1.6 }

/* "Study at Nizwa": a small photo on top of each programme card (the card keeps its own content) */
.w-hprogs { align-items: stretch }
.w-hprog { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--r);
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%); border: 1px solid rgba(11,61,46,.09); box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease) }
.w-hprog:hover, .w-hprog:focus-within { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(176,141,60,.45) }
.w-hprog > .w-card, .w-hprog > .w-card:focus-within { flex: 1; background: none; border: 0; border-radius: 0; box-shadow: none; transform: none }
.w-hprog > .w-card::before { display: none }
.w-hprog-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-900); box-shadow: inset 0 -1px 0 rgba(201,165,76,.5) }
.w-hprog-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease) }
.w-hprog:hover .w-hprog-photo img { transform: scale(1.04) }

/* research & innovation: square photo cards with a representative photo, title, count and one short line */
.w-rcards { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) }
.w-rcards > li { display: flex; min-width: 0 }
body.w a.w-rcard { position: relative; flex: 1; aspect-ratio: 1 / 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate; border-radius: var(--r); color: #fff; background: var(--green-900); box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); --focus: var(--gold-500) }
.w-rcard-photo { position: absolute; inset: 0; z-index: -2; display: block }
.w-rcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease) }
.w-rcard::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,42,31,0) 22%, rgba(7,42,31,.6) 52%, rgba(7,42,31,.95) 100%);
  box-shadow: inset 0 0 0 1px rgba(226,199,126,.35), inset 0 -3px 0 rgba(201,165,76,.75) }
body.w a.w-rcard:hover, body.w a.w-rcard:focus-visible { color: #fff; text-decoration: none; transform: translateY(-6px); box-shadow: var(--sh-2) }
a.w-rcard:hover .w-rcard-photo img, a.w-rcard:focus-visible .w-rcard-photo img { transform: scale(1.06) }
.w-rcard-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px }
.w-rcard-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; color: #fff; overflow-wrap: anywhere }
html[lang="ar"] .w-rcard-title { font-weight: 700; line-height: 1.5 }
a.w-rcard:hover .w-rcard-title { text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 4px }
.w-rcard-n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; padding: 0 8px; margin-inline-start: 4px;
  border-radius: var(--pill); background: rgba(201,165,76,.22); border: 1px solid rgba(226,199,126,.6); color: var(--gold-300);
  font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; vertical-align: middle }
.w-rcard-line { font-size: 13px; line-height: 1.45; color: var(--muted-on-dark);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden }

/* Rashad Showcase: introduced like the Rashad e-services banner (figure, text, large photo), then the latest projects */
.w-manara-sec { padding-top: 0 }
.w-manara { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); overflow: hidden;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); border: 1px solid rgba(11,61,46,.09); box-shadow: var(--sh-1);
  background: var(--pattern-soft), linear-gradient(120deg, #fff 0%, var(--gold-50) 100%) }
.w-manara::before { content: ''; position: absolute; inset-inline: 18px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .7 }
.w-manara-fig { flex: none; height: 220px; width: auto; max-width: 100%; object-fit: contain; align-self: flex-end;
  margin-bottom: calc(-1 * var(--s-3)) }
.w-manara-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start }
.w-manara-title { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: var(--fs-2xl);
  font-weight: 600; line-height: 1.25; color: var(--green-950) }
html[lang="ar"] .w-manara-title { font-size: 31px; font-weight: 700; line-height: 1.5 }
.w-manara-title img { width: 48px; height: 48px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold-400) }
.w-manara-lead { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 520px }
body.w a.w-manara-go { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 600;
  font-family: var(--font-display); color: #fff; background: linear-gradient(180deg, var(--green-700), var(--green-800));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 20px -10px rgba(11,61,46,.7); transition: transform .2s var(--ease), background .2s }
body.w a.w-manara-go:hover { color: #fff; text-decoration: none; transform: translateY(-2px); background: linear-gradient(180deg, var(--green-800), var(--green-900)) }
.w-manara-photo { flex: 1 1 340px; max-width: 480px; align-self: stretch; min-height: 230px; position: relative; overflow: hidden;
  border-radius: var(--r); background: var(--green-900); box-shadow: var(--sh-2) }
.w-manara-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block }
.w-manara-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201,165,76,.5) }
.w-manara-sec .w-h3 { margin-top: var(--s-5) }
.w-manara-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) }
.w-manara-grid > li { display: flex; min-width: 0 }
body.w a.w-mcard { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; color: var(--ink);
  border-radius: var(--r); background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%); border: 1px solid rgba(11,61,46,.09);
  box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease) }
body.w a.w-mcard:hover, body.w a.w-mcard:focus-visible { color: var(--ink); text-decoration: none; transform: translateY(-6px);
  box-shadow: var(--sh-2); border-color: rgba(176,141,60,.45) }
.w-mcard-photo { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--pattern-gold), var(--grad-deep); box-shadow: inset 0 -1px 0 rgba(201,165,76,.5) }
.w-mcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease) }
.w-mcard-photo img.w-mcard-mark { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; box-shadow: 0 0 0 1px rgba(226,199,126,.6) }
a.w-mcard:hover .w-mcard-photo img:not(.w-mcard-mark) { transform: scale(1.04) }
.w-mcard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px }
.w-mcard-tag { font-size: 12px; font-weight: 700; color: var(--gold-700) }
.w-mcard-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--green-950); overflow-wrap: anywhere }
a.w-mcard:hover .w-mcard-title { text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 4px }
.w-manara-more { margin: var(--s-2) 0 0; display: flex; justify-content: flex-end }

/* editor: checkboxes keep their own size inside the editor's grid forms */
.e-form input[type="checkbox"] { width: 24px; height: 24px; min-height: 0; padding: 0; accent-color: var(--green-800); vertical-align: middle }
.e-hl-row td { vertical-align: middle }
.e-thumb.sq { width: 96px; aspect-ratio: 1 / 1 }

@media (max-width: 720px) {
  .w-hl-sec { padding-top: var(--s-4) }
  body.w a.w-hl-card { grid-template-columns: 1fr; min-height: 0 }
  .w-hl-photo { min-height: 0; aspect-ratio: 16 / 9 }
  .w-hl-photo::after, html[dir="rtl"] .w-hl-photo::after { box-shadow: inset 0 -1px 0 rgba(226,199,126,.5) }
  .w-hl-body { padding: var(--s-3) 20px }
  .w-hl-title, html[lang="ar"] .w-hl-title { font-size: 21px }
  .w-hl-line { font-size: 14px; -webkit-line-clamp: 2; line-clamp: 2 }
  .w-hl-date { width: 96px; height: 96px; border-radius: 22px }
  .w-hl-date-d { font-size: 38px }
  .w-hl-slide { flex-basis: 90% }
  .w-facts { padding-top: var(--s-4) }
  .w-facts-grid { gap: 10px }
  .w-facts .w-fact { padding: 12px 14px }
  .w-facts .w-fact-n { font-size: 24px }
  .w-facts .w-fact-l { font-size: 13px }
  .w-rcards { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .w-rcard-body { padding: 12px 12px 14px }
  .w-rcard-title, html[lang="ar"] .w-rcard-title { font-size: 15px }
  .w-rcard-line { font-size: 12px }
  .w-manara { padding: 20px; gap: var(--s-2) }
  .w-manara-fig { height: 150px; margin-bottom: -20px; order: 2 }
  .w-manara-text { order: 1; flex-basis: 100% }
  .w-manara-photo { order: 3; flex: 1 1 160px; min-height: 150px; max-width: none }
  .w-manara-title, html[lang="ar"] .w-manara-title { font-size: 25px }
  .w-manara-title img { width: 40px; height: 40px }
}
@media (prefers-reduced-motion: reduce) {
  .w-hl-btn:hover, .w-hprog:hover, .w-hprog:focus-within, body.w a.w-rcard:hover, body.w a.w-rcard:focus-visible,
  body.w a.w-mcard:hover, body.w a.w-mcard:focus-visible, body.w a.w-manara-go:hover, a.w-hl-card:hover .w-hl-photo img,
  .w-hprog:hover .w-hprog-photo img, a.w-rcard:hover .w-rcard-photo img, a.w-rcard:focus-visible .w-rcard-photo img,
  a.w-mcard:hover .w-mcard-photo img:not(.w-mcard-mark) { transform: none }
}
@media print {
  .w-hl-controls, .w-hl-dots { display: none !important }
  .w-hl-track { overflow: visible; flex-wrap: wrap }
}

/* programmes list grouped by college (2026-10-31) */
.w-pg-jump ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px }
.w-pg-jump a { display: inline-block; padding: 6px 12px; border: 1px solid var(--w-line, #d8e2dc); border-radius: 999px; text-decoration: none }
.w-pg-jump a:hover, .w-pg-jump a:focus-visible { border-color: currentColor }
.w-pg { margin-block: 32px; scroll-margin-top: 96px }
.w-pg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--w-line, #d8e2dc) }
.w-pg-img { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 12px; object-fit: cover; background: #eef3f0 }
.w-pg-text { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.w-pg-text .w-h2 { margin: 0 }
.w-pg-level { margin: 20px 0 12px }
@media (max-width: 560px) { .w-pg-img { width: 44px; height: 44px; flex-basis: 44px } }
/* Rashad Showcase without projects yet (2026-10-31) */
.w-manara-empty { margin: 20px 0 0; padding: 14px 18px; border: 1px dashed var(--w-line, #d8e2dc); border-radius: 12px; font-size: 15px }
/* Rotating home photo pools (2026-10-31, core/home_photos.py): a soft fade-in, only when motion is welcome */
@keyframes w-pool-in { from { opacity: .35 } to { opacity: 1 } }
@media (prefers-reduced-motion: no-preference) { .w-pool img { animation: w-pool-in .45s ease-out both } }
/* UNIZWA Press on the home page (2026-10-31, user): one card in the house style, links on publishing.unizwahub.com */
.w-hpress-sec { padding-top: 0 }
.w-hpress { position: relative; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; overflow: hidden;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); border: 1px solid rgba(11,61,46,.09); box-shadow: var(--sh-1);
  background: var(--pattern-soft), linear-gradient(120deg, var(--gold-50) 0%, #fff 100%) }
.w-hpress::before { content: ''; position: absolute; inset-inline: 18px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .7 }
.w-hpress-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start }
.w-hpress-title { margin: 0; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 600; line-height: 1.25;
  color: var(--green-950) }
html[lang="ar"] .w-hpress-title { font-size: 31px; font-weight: 700; line-height: 1.5 }
.w-hpress-lead { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 560px }
.w-hpress-list { margin: 0; padding-inline-start: 20px; font-size: 15px }
.w-hpress-list li::marker { color: var(--gold-500) }
body.w .w-hpress-list a { text-decoration: underline; text-decoration-color: rgba(11,61,46,.25) }
body.w a.w-hpress-go { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px;
  font-weight: 600; font-family: var(--font-display); color: #fff; background: linear-gradient(180deg, var(--green-700), var(--green-800));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 20px -10px rgba(11,61,46,.7); transition: transform .2s var(--ease), background .2s }
body.w a.w-hpress-go:hover { color: #fff; text-decoration: none; transform: translateY(-2px);
  background: linear-gradient(180deg, var(--green-800), var(--green-900)) }
.w-hpress-side { flex: 0 1 300px; min-width: 0 }
.w-hpress-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
body.w .w-hpress-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; background: #fff; border: 1px solid rgba(11,61,46,.12); font-weight: 600; color: var(--green-900) }
body.w .w-hpress-nav a::after { content: '\203A'; color: var(--gold-500); font-size: 20px; line-height: 1 }
html[dir="rtl"] body.w .w-hpress-nav a::after { content: '\2039' }
body.w .w-hpress-nav a:hover, body.w .w-hpress-nav a:focus-visible { border-color: var(--gold-400); text-decoration: none }
@media (max-width: 640px) { .w-hpress-title, html[lang="ar"] .w-hpress-title { font-size: 25px } .w-hpress-side { flex-basis: 100% } }
@media (prefers-reduced-motion: reduce) { body.w a.w-hpress-go { transition: none } body.w a.w-hpress-go:hover { transform: none } }
/* "Rashad is searching..." (2026-10-31, user; static/website/search-think.js): round face, gold ring, dots */
.w-think { display: inline-flex; align-items: center; gap: 10px; margin-inline-start: 10px; padding: 5px 16px 5px 5px;
  border-radius: 999px; background: #fff; border: 1px solid rgba(11,61,46,.12); box-shadow: 0 8px 22px -12px rgba(7,42,31,.45);
  color: var(--green-900); font-size: 14px; font-weight: 600; line-height: 1.3; vertical-align: middle; white-space: nowrap;
  animation: w-think-in .2s ease-out both }
html[dir="rtl"] .w-think { padding: 5px 5px 5px 16px }
.w-think-face { position: relative; flex: none; width: 40px; height: 40px }
.w-think-face img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff }
.w-think-ring { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(201,165,76,.22);
  border-top-color: var(--gold-400); border-inline-end-color: var(--gold-300); animation: w-think-spin 1.1s linear infinite }
.w-think-dots { display: inline-flex; gap: 4px; align-items: center }
.w-think-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); animation: w-think-dot 1.2s ease-in-out infinite }
.w-think-dots i:nth-child(2) { animation-delay: .2s }
.w-think-dots i:nth-child(3) { animation-delay: .4s }
@keyframes w-think-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes w-think-spin { to { transform: rotate(360deg) } }
@keyframes w-think-dot { 0%, 80%, 100% { opacity: .25; transform: scale(.75) } 40% { opacity: 1; transform: scale(1) } }
@keyframes w-think-fade { 0%, 100% { opacity: .3 } 50% { opacity: 1 } }
@media (max-width: 640px) {
  .w-think { position: fixed; z-index: 100; inset: 0; margin: auto; width: fit-content; height: fit-content;
    padding: 10px 20px 10px 10px; font-size: 15px; box-shadow: 0 24px 60px -12px rgba(7,42,31,.55) }
  html[dir="rtl"] .w-think { padding: 10px 10px 10px 20px }
}
@media (prefers-reduced-motion: reduce) {
  .w-think { animation: none }
  .w-think-ring { animation: none }
  .w-think-dots i { transform: none; animation: w-think-fade 1.6s ease-in-out infinite }
}
/* Stanford / Elsevier Top 2% scientists (2026-11-04, core/top2.py): gold badge, research page section, home card */
.w-t2-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px;
  font-weight: 700; line-height: 1.5; white-space: nowrap; color: var(--green-950);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400)); box-shadow: inset 0 -1px 0 var(--gold-600) }
.w-t2-badge::before { content: '\2605'; font-size: 11px; color: var(--gold-700) }
body.w a.w-t2-badge { color: var(--green-950); text-decoration: none }
body.w a.w-t2-badge:hover, body.w a.w-t2-badge:focus-visible { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)) }
.w-t2-badge.sm { font-size: 11px; padding: 1px 8px; margin: 2px auto 0; width: fit-content }
.w-t2-badge.lg { font-size: 14px; padding: 3px 12px; vertical-align: middle }
.w-t2-line { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.w-t2-years { margin: 0 0 8px; font-size: 14px }
.w-t2-years strong { color: var(--green-900) }
.w-t2-group { margin-top: var(--s-4) }
.w-t2-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 16px;
  border: 1px solid rgba(11,61,46,.12); border-top: 3px solid var(--gold-400); padding-top: 12px; height: 100% }
.w-t2-card > .w-t2-badge { margin: 0 auto }
.w-t2-card .w-person { height: auto; padding-top: 10px; padding-bottom: 6px; background: none; border: 0; box-shadow: none }
.w-t2-meta { display: flex; flex-direction: column; gap: 2px; padding: 0 16px 16px; text-align: center; font-size: 13px; color: var(--ink-2) }
.w-t2-home { display: flex; align-items: center; gap: 10px }
.w-t2-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center;
  justify-content: center; background: var(--gold-100); color: var(--green-950); font-weight: 700; border: 2px solid var(--gold-400) }
.w-t2-hname { color: #fff }
/* 2026-11-04 (user): a Top 2% person's photo carries the badge - gold ring + "2%" medal on the photo; the badge text
   next to the name lists all the years */
.w-avatar-wrap { position: relative; display: inline-flex; flex-shrink: 0; margin-inline: auto }
.w-person.is-top2 .w-avatar, .w-profile-photo.is-top2 { box-shadow: 0 0 0 3px var(--gold-400), 0 0 0 6px rgba(201,165,76,.25) }
.w-t2-medal { position: absolute; inset-inline-end: -2px; bottom: 2px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; letter-spacing: -.2px;
  color: var(--green-950); background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--gold-500));
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25) }
.w-t2-medal.lg { width: 54px; height: 54px; font-size: 16px; bottom: 8px; inset-inline-end: 4px }
.w-avatar-wrap.lg { flex: none }
.w-t2-badge.sm { white-space: normal; text-align: center }

/* phones (2026-11-15 owner: "all of the menus are blurred and can not be seen on the mobile version ... the calendar and
   other submenus ... not only the menus but the text also"). 1. The sticky header is solid white: at 96 % the page
   text scrolling under it showed through the menu words. 2. Phones: the menu is one row that scrolls sideways (a fade
   at the edge shows there is more), so the header is about half as tall; it slides away while the page scrolls down and
   comes back on any scroll up (base.html script, class w-up). 3. Past dates in the calendar stay readable (they were at
   55 % and looked blurred). */
.w-header { background: #fff }
@media (max-width: 760px) {
  .w-header { transition: transform .2s ease }
  .w-header.w-up { transform: translateY(-100%) }
  body.w .w-header .w-nav { flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    white-space: nowrap; margin-top: 4px; padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent) }
  html[dir="rtl"] body.w .w-header .w-nav { -webkit-mask-image: linear-gradient(270deg, #000 85%, transparent); mask-image: linear-gradient(270deg, #000 85%, transparent) }
  body.w .w-header .w-nav.is-end { -webkit-mask-image: none; mask-image: none }
  body.w .w-header .w-nav::-webkit-scrollbar { display: none }
  body.w .w-header .w-nav a { flex: none; min-height: 40px }
}
@media (prefers-reduced-motion: reduce) { .w-header { transition: none } }
.w-month-grid td.is-past > a, .w-month-grid td.is-past > .w-mcell { opacity: .8 }
.w-dl-row.is-past { opacity: .8 }
.w-tl-step.is-past { opacity: .8 }
