:root {
    --navy: #0e2a4d;
    --navy-d: #091b33;
    --red: #b4232f;
    --red-d: #951b26;
    --gold: #ffe600;
    --ink: #1d2733;
    --muted: #66758a;
    --line: #e3e8ef;
    --soft: #f6f8fb;
    --font: 'Sora', system-ui, sans-serif;
    --serif: 'Sora', system-ui, sans-serif;
}

/* ===== Programs Offered (compact, tabbed) ===== */
.po {
  padding: clamp(28px, 4vw, 56px) 16px;
  background: #f6f8fb;
  font-family: var(--font);
  color: var(--ink);
}
.po *, .po *::before, .po *::after { box-sizing: border-box; }
.po [hidden] { display: none !important; }

.po__card {
  max-width: 1600px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
 
  box-shadow: 0 24px 50px -30px rgba(14, 42, 77, .35);
  overflow: hidden;
}

/* ---- Top bar ---- */
.po__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 24px; flex-wrap: wrap;
  padding: 18px 24px;
  background: linear-gradient(120deg, var(--navy-d), var(--navy));
  position: relative;
}
.po__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gold);
    color: var(--soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.po__title h2 {
    margin: 0;
    color: var(--soft);
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1.2px;
}
.po__title h2 em {
    color: var(--gold);
    font-style: italic;
    font-weight: 800;
    
    padding: 0 4px;
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}



/* ---- Tabs ---- */
.po__tabs {
  display: flex; gap: 4px; padding: 4px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
}
.po__tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 0; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, .8);
  font: 600 13px var(--font); cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s;
}
.po__tab i { font-size: 13px; }
.po__tab:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.po__tab.is-active { background: var(--gold); color: var(--navy-d); }
.po__tab:focus-visible, .po__navbtn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---- Stat strip ---- */
.po__stat {
  margin: 0; padding: 10px 24px;
  font-size: 12.5px; color: var(--muted);
  background: var(--soft); border-bottom: 1px solid var(--line);
}
.po__stat strong { color: var(--red); font-weight: 700; }

/* ---- Body: dept list + programs ---- */
.po__body { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); min-height: 360px; }
.po__nav, .po__panels { min-width: 0; }

.po__nav {
  list-style: none; margin: 0; padding: 10px;
  max-height: 420px; overflow-y: auto;
  border-right: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.po__navbtn {
  position: relative; width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; margin-bottom: 2px;
  background: transparent; border: 0; border-radius: 12px;
  text-align: left; cursor: pointer; font-family: var(--font);
  transition: background .2s;
}
.po__navbtn:hover { background: var(--soft); }
.po__navico {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 14px;
  background: var(--soft); color: var(--navy);
  transition: background .2s, color .2s;
}
.po__navtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.po__navtxt b { font-size: 13px; font-weight: 600; color: var(--ink); }
.po__navtxt small { font-size: 11.5px; color: var(--muted); }
.po__count {
  flex: none; min-width: 22px; padding: 2px 7px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-align: center;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
}
.po__navbtn.is-active { background: #fdf1f2; }
.po__navbtn.is-active::before {
  content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px;
  width: 4px; border-radius: 0 4px 4px 0; background: var(--red);
}
.po__navbtn.is-active .po__navico { background: var(--red); color: #fff; }
.po__navbtn.is-active .po__navtxt b { color: var(--red-d); }
.po__navbtn.is-active .po__count { background: var(--red); border-color: var(--red); color: #fff; }

/* ---- Panel ---- */
.po__panels { padding: 22px 26px; }
.po__panel { animation: poIn .35s ease; }
@keyframes poIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.po__phead {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.po__pico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 17px;
  background: var(--navy); color: var(--gold);
}
.po__phead h3 { margin: 0; flex: 1; min-width: 160px; font-size: 18px; font-weight: 700; color: var(--navy); }
.po__dur {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: #fff8cc; color: var(--navy-d); border: 1px solid var(--gold);
}

.po__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.po__list.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.po__list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--soft); border: 1px solid transparent;
  font-size: 13.5px; line-height: 1.45;
  transition: border-color .2s, transform .2s, background .2s;
}
.po__list li > span { min-width: 0; overflow-wrap: anywhere; }
.po__list li i { margin-top: 3px; font-size: 11px; color: var(--red); transition: transform .2s; }
.po__list li:hover { background: #fff; border-color: var(--line); transform: translateY(-1px); box-shadow: 0 8px 18px -14px rgba(14, 42, 77, .5); }
.po__list li:hover i { transform: translateX(3px); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .po__body { grid-template-columns: 250px 1fr; }
  .po__list.is-two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .po { padding-inline: 10px; }
  .po__top { padding: 16px; }
  .po__tabs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%; gap: 5px; padding: 5px; border-radius: 16px;
  }
  .po__tab {
    min-width: 0; flex-direction: column; justify-content: center;
    gap: 6px; padding: 9px 6px; font-size: 12px;
    line-height: 1.25; text-align: center; white-space: normal;
  }
  .po__stat { padding: 10px 16px; }

  .po__body { grid-template-columns: 1fr; min-height: 0; }
  .po__nav {                       /* department list becomes swipeable chips */
    display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden;
    max-height: none; padding: 12px 16px;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .po__nav li { flex: none; }
  .po__navbtn { width: auto; margin: 0; padding: 7px 12px 7px 8px; border: 1px solid var(--line); border-radius: 999px; }
  .po__navbtn small, .po__count { display: none; }
  .po__navico { width: 28px; height: 28px; font-size: 12px; }
  .po__navbtn.is-active { border-color: var(--red); }
  .po__navbtn.is-active::before { display: none; }
  .po__panels { padding: 18px 16px; }
  .po__phead h3 { font-size: 16px; }
}
@media (max-width: 480px) {
  .po { padding-inline: 8px; }
  .po__card { border-radius: 16px; }
  .po__top { gap: 12px; padding: 16px 14px; }
  .po__title { width: 100%; min-width: 0; }
  .po__title h2 { font-size: clamp(18px, 5vw, 22px); letter-spacing: -.6px; }
  .po__tab { gap: 6px; padding: 8px 5px; font-size: 11px; }
  .po__stat { padding-inline: 14px; font-size: 12px; }
  .po__nav { padding-inline: 12px; }
  .po__panels { padding: 16px 12px; }
  .po__phead h3 { flex: 1 1 130px; min-width: 0; }
  .po__list li { padding: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .po__panel { animation: none; }
  .po__list li, .po__list li i { transition: none; }
}