/* ============================================================
   ZU — Zayed University design system (from the ZU Figma design)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&family=Open+Sans:wght@400;600;700&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --zu-maroon: #8C1F2F;
  --zu-maroon-dark: #6E1825;
  --zu-black: #0A0C10;
  --zu-ink: #2D2D2D;
  --zu-gray-700: #55565A;
  --zu-gray-500: #7A7C80;
  --zu-gray-400: #9B9DA1;
  --zu-gray-200: #E5E6E8;
  --zu-light: #F8F8F8;
  --zu-white: #FFFFFF;
  --zu-footer: #343434;
  --zu-font-display: 'Titillium Web', 'Segoe UI', sans-serif;
  --zu-font-body: 'Open Sans', 'Segoe UI', sans-serif;
  --zu-container: 1376px;
  --zu-radius: 2px;
  --zu-topbar-h: 34px;
  --zu-navbar-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--zu-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--zu-ink);
  background: var(--zu-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--zu-font-display); color: var(--zu-ink); margin: 0 0 .5em; line-height: 1.15; }
a { color: var(--zu-maroon); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.zu-container { max-width: var(--zu-container); margin: 0 auto; padding: 0 24px; }
.zu-icon { vertical-align: -3px; }

/* ── Buttons ─────────────────────────────────────────────── */
.zu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--zu-font-display); font-size: 14.5px; font-weight: 600;
  padding: 13px 26px; border-radius: var(--zu-radius); border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; line-height: 1.2; text-decoration: none;
}
.zu-btn--primary { background: var(--zu-maroon); color: #fff; }
.zu-btn--primary:hover { background: var(--zu-maroon-dark); color: #fff; }
.zu-btn--outline { background: transparent; color: var(--zu-ink); border-color: #C9CACD; }
.zu-btn--outline:hover { border-color: var(--zu-ink); }
.zu-btn--outline-red { background: transparent; color: var(--zu-maroon); border-color: var(--zu-maroon); }
.zu-btn--outline-red:hover { background: var(--zu-maroon); color: #fff; }
.zu-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.zu-btn--outline-light:hover { border-color: #fff; color: #fff; }
.zu-btn--white { background: #fff; color: var(--zu-maroon); }
.zu-btn--white:hover { background: #F3E9EB; }
.zu-btn--link { background: none; border: none; padding: 0; color: var(--zu-maroon); }
.zu-btn .zu-arrow { transition: transform .2s ease; }
.zu-btn:hover .zu-arrow { transform: translateX(3px); }

/* ── Eyebrow label ───────────────────────────────────────── */
.zu-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--zu-font-display); font-size: 11.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--zu-maroon);
}
.zu-eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.zu-eyebrow--light { color: rgba(255,255,255,.85); }

/* ── Top bar ─────────────────────────────────────────────── */
.zu-topbar { background: var(--zu-black); color: #C8CACD; font-size: 12px; position: relative; z-index: 60; }
.zu-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: var(--zu-topbar-h); }
.zu-topbar__left, .zu-topbar__right { display: flex; align-items: center; gap: 22px; }
.zu-topbar__item { color: #C8CACD; display: inline-flex; align-items: center; gap: 6px; }
.zu-topbar__item:hover { color: #fff; }
.zu-topbar__item .zu-icon { width: 13px; height: 13px; }
.zu-topbar__sep { width: 1px; height: 14px; background: #3A3D42; }

/* ── Navbar ──────────────────────────────────────────────── */
.zu-navbar {
  background: var(--zu-black); position: relative; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.zu-navbar--overlay { background: transparent; margin-bottom: calc(var(--zu-navbar-h) * -1); border-bottom-color: rgba(255,255,255,.12); }
.zu-navbar__inner { display: flex; align-items: center; gap: 28px; min-height: var(--zu-navbar-h); }
.zu-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.zu-brand:hover { color: #fff; }
.zu-brand__logo { display: block; height: 44px; width: auto; max-width: min(220px, 42vw); object-fit: contain; }
.zu-brand__mark { width: 38px; height: 38px; }
.zu-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.zu-brand__ar { font-size: 13px; letter-spacing: .12em; }
.zu-brand__en { font-family: var(--zu-font-display); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.zu-nav { flex: 1; display: flex; justify-content: center; }
.zu-nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.zu-nav__item > a {
  display: inline-flex; align-items: center; gap: 6px; color: #E8E9EB;
  font-family: var(--zu-font-display); font-size: 14.5px; font-weight: 600;
  padding: 10px 14px;
}
.zu-nav__item > a:hover { color: #fff; }
.zu-nav__item { position: relative; }
.zu-nav__dropdown {
  position: absolute; top: 100%; left: 8px; min-width: 220px; padding: 8px 0; margin: 0;
  list-style: none; background: #fff; border-radius: 3px; box-shadow: 0 14px 40px rgba(10,12,16,.18);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease;
}
.zu-nav__item--dropdown:hover .zu-nav__dropdown,
.zu-nav__item--dropdown:focus-within .zu-nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.zu-nav__dropdown a { display: block; padding: 9px 18px; color: var(--zu-ink); font-size: 14px; }
.zu-nav__dropdown a:hover { background: var(--zu-light); color: var(--zu-maroon); }
.zu-navbar__actions { display: flex; align-items: center; gap: 16px; }
.zu-navbar__icon { color: #E8E9EB; display: inline-flex; }
.zu-navbar__icon:hover { color: #fff; }
.zu-navbar__cta { padding: 11px 22px; }
.zu-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.zu-nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* ── Main / non-canvas inner pages ───────────────────────── */
.zu-main--full { padding: 0; }
.zu-main__inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 72px; }
.zu-main__inner:has(.zu-sidebar) { grid-template-columns: 2.5fr 1fr; }

/* ── Footer ──────────────────────────────────────────────── */
.zu-footer { background: var(--zu-footer); color: #B9BABB; padding: 72px 0 0; font-size: 14px; }
.zu-footer__grid { display: grid; grid-template-columns: 1.35fr repeat(5, 1fr); gap: 36px; padding-bottom: 48px; }
.zu-footer__brand .zu-brand { margin-bottom: 18px; }
.zu-footer__blurb { font-size: 13.5px; line-height: 1.7; color: #A7A8AA; max-width: 210px; }
.zu-footer__social { display: flex; gap: 8px; margin-top: 18px; }
.zu-footer__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid #4B4B4B; border-radius: 3px; color: #B9BABB;
}
.zu-footer__social a:hover { color: #fff; border-color: #777; }
.zu-footer__social .zu-icon { width: 15px; height: 15px; }
.zu-footer__col h3 {
  color: #8F9092; font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 18px;
}
.zu-footer__col ul { list-style: none; margin: 0; padding: 0; }
.zu-footer__col li { margin-bottom: 11px; }
.zu-footer__col a { color: #B9BABB; }
.zu-footer__col a:hover { color: #fff; }
.zu-footer__newsletter {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  border-top: 1px solid #474747; padding: 30px 0;
}
.zu-footer__newsletter h4 { color: #fff; font-size: 16px; margin: 0 0 4px; }
.zu-footer__newsletter p { margin: 0; font-size: 13px; color: #A7A8AA; }
.zu-footer__subscribe { display: flex; align-items: center; position: relative; }
.zu-footer__subscribe input {
  width: 320px; padding: 13px 16px 13px 42px; background: transparent;
  border: 1px solid #565656; border-right: 0; border-radius: var(--zu-radius) 0 0 var(--zu-radius);
  color: #fff; font-size: 14px; outline: none;
}
.zu-footer__subscribe input::placeholder { color: #8F9092; }
.zu-footer__mail-icon { position: absolute; left: 14px; color: #8F9092; display: inline-flex; z-index: 1; }
.zu-footer__subscribe .zu-btn { border-radius: 0 var(--zu-radius) var(--zu-radius) 0; }
.zu-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-top: 1px solid #474747; padding: 22px 0 26px; font-size: 12.5px; color: #98999B;
}
.zu-footer__bottom p { margin: 0; }
.zu-footer__legal { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.zu-footer__legal a { color: #98999B; }
.zu-footer__legal a:hover { color: #fff; }

/* ── Admin/moderation blocks embedded on pages ───────────── */
.zu-main--full .block-local-tasks-block { max-width: var(--zu-container); margin: 0 auto; padding: 8px 24px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .zu-nav { position: fixed; inset: 0; top: 0; background: var(--zu-black); display: none; padding: 90px 32px; z-index: 40; }
  .zu-nav.is-open { display: block; }
  .zu-nav__list { flex-direction: column; }
  .zu-nav-toggle { display: block; order: 3; margin-left: auto; z-index: 45; }
  .zu-navbar__actions .zu-navbar__cta { display: none; }
  .zu-footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .zu-topbar__right { display: none; }
  .zu-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .zu-footer__newsletter { flex-direction: column; align-items: flex-start; }
  .zu-footer__bottom { flex-direction: column; align-items: flex-start; }
}
