/* Oromia Police College — unified home (AAU + Dallol-style hero) */
.opc-university {
  --opc-navy: #0c2340;
  --opc-blue: #1e3a5f;
  --opc-blue-light: #2d5a8a;
  --opc-gold: #c5a037;
  --opc-gold-light: #e8c96a;
  --opc-cream: #f4f6f9;
}

.opc-university .dt-topbar,
.opc-university .opc-topbar {
  background: linear-gradient(90deg, var(--opc-navy), var(--opc-blue));
  border-bottom: 2px solid var(--opc-gold);
}

.opc-university .opc-topbar__tagline {
  color: var(--opc-gold-light);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (min-width: 992px) {
  .udema-site .opc-brand--compact .opc-brand__copy {
    display: flex;
  }
}
/* navbar shell styled via .opc-header / .opc-navbar above */

/* —— Top bar: tagline + social + contact on one line —— */
.opc-topbar {
  font-size: 0.75rem;
  padding: 0.3rem 0;
}

.opc-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.opc-topbar__tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--opc-gold-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}

.opc-topbar__tagline-icon {
  color: var(--opc-gold);
  font-size: 0.9rem;
}

.opc-topbar__divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(197, 160, 55, 0.45);
  flex-shrink: 0;
}

.opc-topbar__social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.opc-topbar__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-left: auto;
  font-size: 0.78rem;
}

.opc-topbar__phone,
.opc-topbar__location {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  white-space: nowrap;
}

.opc-topbar__phone:hover {
  color: var(--opc-gold-light);
}

.opc-university .opc-topbar .dt-social__link {
  width: 1.65rem;
  height: 1.65rem;
  background: var(--opc-gold);
  color: var(--opc-navy) !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.opc-university .opc-topbar .dt-social__link:hover {
  background: var(--opc-gold-light);
  transform: translateY(-1px);
}

.opc-university .opc-topbar .dt-social__link svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* —— Header + merged brand (crest + text + sub emblem) —— */
.opc-header {
  background: #fff;
  box-shadow: 0 4px 24px rgba(12, 35, 64, 0.08);
  z-index: 1050;
  position: sticky;
  top: 0;
  overflow: visible;
}

.opc-header .dropdown-menu {
  z-index: 1070;
}

.opc-header .nav-item.dropdown {
  position: relative;
}

@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-collapse {
      display: flex !important;
      flex-basis: min-content;
  }
}
/* —— AAU-style two-row header —— */
.opc-header__brand {
  position: relative;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
}

.opc-header__brand-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.opc-header-utils {
  flex-shrink: 0;
  white-space: nowrap;
}

.opc-header-utils .opc-lang-switcher {
  margin-right: 0.15rem;
}

.opc-header-utils .opc-lang-switcher__btn {
  min-width: 2rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.68rem;
}

/* Mobile nav */
.opc-header__mobile-nav {
  background: #fff;
  border-bottom: 3px solid var(--opc-gold);
  max-height: min(78vh, 560px);
  overflow-y: auto;
}

.opc-header .navbar-toggler {
  border: 1px solid rgba(12, 35, 64, 0.28);
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
  color: var(--opc-navy);
  flex-shrink: 0;
}

.opc-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(12, 35, 64, 0.15);
}

.opc-header .navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2812, 35, 64, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.opc-header__mobile-nav .opc-aau-nav__mobile-list {
  padding: 0;
}

.opc-header__mobile-nav .opc-aau-nav__trigger--mobile,
.opc-header__mobile-nav .opc-aau-nav__mobile-link--top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--opc-navy) !important;
  -webkit-text-fill-color: var(--opc-navy);
  text-decoration: none;
  border: 0;
  background: transparent;
  border-radius: 0.4rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.opc-header__mobile-nav .opc-aau-nav__trigger--mobile span,
.opc-header__mobile-nav .opc-aau-nav__trigger--mobile .opc-aau-nav__chevron {
  color: var(--opc-navy) !important;
  opacity: 1;
}

.opc-header__mobile-nav .opc-aau-nav__trigger--mobile:hover,
.opc-header__mobile-nav .opc-aau-nav__mobile-link--top:hover,
.opc-header__mobile-nav .opc-aau-nav__trigger--mobile.is-active,
.opc-header__mobile-nav .opc-aau-nav__mobile-link--top.is-active {
  background: rgba(12, 35, 64, 0.06);
  color: var(--opc-navy) !important;
}

.opc-header__mobile-nav .opc-nav-lang-dropdown .nav-link {
  color: var(--opc-navy) !important;
  padding: 0.65rem 0.5rem;
  font-weight: 600;
}

.opc-header__mobile-nav .navbar-nav {
  flex-direction: column;
  width: 100%;
}

.opc-aau-nav-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, var(--opc-navy), var(--opc-blue));
  border-bottom: 3px solid var(--opc-gold);
  overflow: visible;
}

.opc-aau-nav-bar .container {
  overflow: visible;
}

.opc-aau-nav__list {
  display: grid;
  grid-template-columns: repeat(var(--opc-nav-cols, 7), minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.opc-aau-nav__item {
  display: flex;
  min-width: 0;
}

.opc-aau-nav-bar .opc-aau-nav__link,
.opc-aau-nav-bar .opc-aau-nav__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0.62rem 0.35rem;
  font-size: clamp(0.68rem, 0.72vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none;
  border: 0;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.opc-aau-nav-bar .opc-aau-nav__trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.opc-aau-nav-bar .opc-aau-nav__link:hover,
.opc-aau-nav-bar .opc-aau-nav__trigger:hover,
.opc-aau-nav-bar .opc-aau-nav__link.is-active,
.opc-aau-nav-bar .opc-aau-nav__trigger.is-active,
.opc-aau-nav-bar .opc-aau-nav__trigger.is-open {
  background: rgba(255, 255, 255, 0.12);
  color: var(--opc-gold-light) !important;
}

.opc-aau-nav-bar .opc-aau-nav__chevron {
  font-size: 0.55rem;
  opacity: 0.85;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.opc-aau-nav-bar .opc-aau-nav__trigger.is-open .opc-aau-nav__chevron {
  transform: rotate(180deg);
}

.opc-aau-nav__viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-bottom: 3px solid var(--opc-gold);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.1);
}

.opc-aau-nav__viewport[hidden] {
  display: none !important;
}

.opc-aau-nav__viewport.is-open {
  animation: opcNavPanelIn 0.16s ease-out;
}

@keyframes opcNavPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.opc-aau-nav__viewport > .container {
  padding-top: 1rem;
  padding-bottom: 1.1rem;
}

.opc-aau-nav__panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 1rem 1.5rem;
}

.opc-aau-nav__panel-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--opc-navy);
  margin: 0 0 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(197, 160, 55, 0.35);
}

.opc-aau-nav__panel-heading i {
  color: var(--opc-gold);
}

.opc-aau-nav__panel-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.opc-aau-nav__panel-links--flat {
  flex-flow: row wrap;
  gap: 0.35rem 1.5rem;
}

.opc-aau-nav__sublink {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--opc-blue-light);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.opc-aau-nav__sublink:hover,
.opc-aau-nav__sublink.is-active {
  color: var(--opc-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.opc-aau-nav__sublink.is-active {
  font-weight: 700;
}

.opc-header__mobile-lang {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 0.25rem;
}

.opc-aau-nav__mobile-panel {
  padding: 0 0.5rem 0.75rem;
}

.opc-aau-nav__mobile-group {
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  background: rgba(12, 35, 64, 0.04);
  border-radius: 0.45rem;
}

.opc-aau-nav__mobile-heading {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--opc-blue-light);
  margin-bottom: 0.35rem;
}

.opc-aau-nav__mobile-link {
  display: block;
  padding: 0.4rem 0.35rem;
  font-size: 0.9rem;
  color: var(--opc-navy);
  text-decoration: none;
  border-radius: 0.35rem;
}

.opc-aau-nav__mobile-link:hover,
.opc-aau-nav__mobile-link.is-active {
  background: rgba(12, 35, 64, 0.08);
  color: var(--opc-navy);
}

.opc-aau-nav__mobile-link.is-active {
  font-weight: 600;
  border-left: 3px solid var(--opc-gold);
  padding-left: 0.5rem;
}

.opc-header__mobile-nav .opc-aau-nav__trigger--mobile[aria-expanded="true"] .opc-aau-nav__chevron {
  transform: rotate(180deg);
}

.opc-aau-nav__mobile-item {
  border-bottom: 1px solid rgba(12, 35, 64, 0.06);
}

.opc-aau-nav__mobile-item:last-child {
  border-bottom: 0;
}

.opc-navbar {
  background: #fff !important;
  border-bottom: 3px solid var(--opc-gold);
  padding: 0.35rem 0;
}

.opc-navbar__container {
  align-items: center;
  gap: 0.5rem;
}

.opc-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(100%, 420px);
  flex-shrink: 1;
  min-width: 0;
  margin-right: 0.5rem;
}

.opc-brand--trilingual {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.5rem;
}

.opc-brand--trilingual .opc-brand__crest,
.opc-brand--trilingual .opc-brand__sublogo {
  flex-shrink: 0;
}

.opc-brand--trilingual .opc-brand__copy--trilingual {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-right: 0.35rem;
}

.opc-brand--trilingual .opc-brand__title {
  font-size: 0.92rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opc-brand--trilingual .opc-brand__sub {
  font-size: 0.62rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opc-brand__crest-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.opc-journal-hero-logo,
.opc-journal-banner-logo {
  max-height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.opc-journal-nav .nav-link {
  color: var(--opc-navy);
  font-weight: 600;
  font-size: 0.875rem;
}

.opc-journal-nav .nav-link.active {
  background: var(--opc-navy);
  color: #fff;
}

.opc-pdf-reader__canvas {
  max-width: 100%;
  height: auto;
}

.opc-pdf-reader__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 35, 64, 0.9);
}

.opc-pdf-reader {
  position: relative;
}

.opc-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.opc-brand__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--opc-navy);
  letter-spacing: 0.01em;
}

.opc-brand__sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--opc-blue-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opc-brand__sub--am {
  color: #5c4a2a;
  font-family: system-ui, sans-serif;
}

.opc-brand__sublogo {
  flex-shrink: 0;
  margin-left: 0.15rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(197, 160, 55, 0.45);
}

.opc-brand__sublogo-img {
  display: block;
  width: 34px;
  height: 34px;
}

.opc-brand--footer .opc-brand__title,
.opc-brand--footer .opc-brand__sub {
  color: rgba(255, 255, 255, 0.92);
}

.opc-brand--footer.opc-brand--trilingual .opc-brand__sub--am {
  color: var(--opc-gold-light);
}

.opc-brand--footer .opc-brand__sub--am {
  color: var(--opc-gold-light);
}

.opc-brand--footer .opc-brand__sublogo {
  border-left-color: rgba(255, 255, 255, 0.25);
}

.opc-brand--compact .opc-brand__sub {
  display: none;
}

/* —— Navigation —— */
.opc-mega-dropdown {
  border-radius: 0.5rem;
  padding: 0.35rem;
  min-width: 12rem;
}

.opc-mega-menu {
  padding: 0;
  width: max-content;
  max-width: min(94vw, 640px);
  border-radius: 0.65rem;
  border-top: 3px solid var(--opc-gold) !important;
  overflow: hidden;
  margin-top: 0.35rem;
}

.opc-mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0;
}

.opc-mega-menu__col {
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(12, 35, 64, 0.08);
}

.opc-mega-menu__col:last-child {
  border-right: 0;
}

.opc-mega-menu__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--opc-navy);
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(197, 160, 55, 0.35);
}

.opc-mega-menu__icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(12, 35, 64, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--opc-gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.opc-mega-menu__links .dropdown-item {
  padding: 0.4rem 0.5rem;
  font-size: 0.84rem;
  border-radius: 0.35rem;
  white-space: normal;
  line-height: 1.35;
  word-break: break-word;
}

.opc-mega-dropdown .dropdown-item {
  border-radius: 0.35rem;
  font-size: 0.875rem;
  padding: 0.45rem 0.85rem;
}

.opc-mega-dropdown .dropdown-item.active,
.opc-mega-dropdown .dropdown-item:hover,
.opc-mega-menu__links .dropdown-item.active,
.opc-mega-menu__links .dropdown-item:hover {
  background: rgba(12, 35, 64, 0.08);
  color: var(--opc-navy);
}

@media (min-width: 1200px) {
  .opc-main-nav__menu {
    max-height: min(70vh, 480px);
    overflow-y: auto;
  }

  .opc-main-nav__item--mega .opc-mega-menu {
    left: auto;
    right: 0;
  }
}

.opc-university .dt-navbar .nav-link.active,
.opc-university .dt-navbar .nav-link:hover {
  background: rgba(12, 35, 64, 0.08);
  color: var(--opc-navy) !important;
}

/* Home hero: opc-home-hero.css (Oromia Communication–style) */

/* —— Institution strip (logo only, between slider & quick links) —— */
.opc-institution-strip {
  background: #fff;
  border-bottom: 4px solid var(--opc-gold);
  box-shadow: 0 4px 24px rgba(12, 35, 64, 0.08);
}

.opc-institution-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #fff 0%, var(--opc-cream) 100%);
}

.opc-institution-strip__logo {
  width: 100%;
  max-width: 920px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

/* —— Quick links (full-width, no empty gap) —— */
.opc-quick-links {
  background: var(--opc-navy);
  position: relative;
  z-index: 1;
}

.opc-quick-links__track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: 100%;
  /* Keep Vacancies clear of the fixed DallolAI FAB on the home hero. */
  padding-right: 4.25rem;
  box-sizing: border-box;
}

.opc-quick-links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 0.5rem;
  min-height: 100px;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.opc-quick-links__item:last-child {
  border-right: 0;
}

.opc-quick-links__item:hover {
  background: var(--opc-blue-light);
  color: var(--opc-gold-light);
  transform: translateY(-2px);
}

.opc-quick-links__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(197, 160, 55, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--opc-gold-light);
}

.opc-quick-links__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.15;
  padding: 0 0.25rem;
}

/* —— Stats —— */
.opc-stats-bar {
  background: linear-gradient(135deg, var(--opc-cream), #fff);
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
}

.opc-stats-bar .dt-stat__num {
  color: var(--opc-navy);
  font-size: 2rem;
  font-weight: 800;
}

.opc-stats-bar .dt-stat__lbl {
  color: var(--opc-blue-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.opc-section-kicker {
  color: var(--opc-gold-dark, #9a7209);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.opc-program-card {
  border: 1px solid rgba(12, 35, 64, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opc-program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12, 35, 64, 0.12);
}

.opc-program-card--featured {
  border-color: var(--opc-gold);
  background: linear-gradient(160deg, #fffdf5, #fff);
}

.opc-program-card__badge {
  display: inline-block;
  background: var(--opc-navy);
  color: var(--opc-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.btn-opc-primary {
  background: var(--opc-navy);
  border-color: var(--opc-navy);
  color: #fff;
}

.btn-opc-primary:hover {
  background: var(--opc-blue-light);
  border-color: var(--opc-blue-light);
  color: #fff;
}

.opc-university .dt-footer {
  background: var(--opc-navy);
  color: rgba(255, 255, 255, 0.85);
}

.opc-university .dt-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.opc-university .dt-footer a:hover {
  color: var(--opc-gold-light);
}

.opc-footer-logo {
  max-width: 280px;
  height: auto;
}

.opc-footer-contact__photo {
  display: block;
  border: 2px solid rgba(201, 162, 39, 0.35);
}

.opc-footer-contact__list a {
  color: rgba(255, 255, 255, 0.85);
}

.opc-logo-img__crest {
  display: inline-block;
  vertical-align: middle;
}

.college-sidebar__logo .opc-logo-img__crest {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.udema-site .opc-brand--compact .opc-brand__copy {
  display: none;
}

@media (min-width: 992px) {
  .udema-site .opc-brand--compact .opc-brand__copy {
    display: flex;
  }
}

@media (max-width: 991.98px) {
  .opc-quick-links__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .opc-quick-links__track::-webkit-scrollbar {
    display: none;
  }

  .opc-quick-links__item {
    flex: 0 0 25%;
    min-width: 110px;
    scroll-snap-align: start;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.opc-page-hero {
  background: linear-gradient(135deg, var(--opc-navy) 0%, var(--opc-blue) 60%, #163a5c 100%);
  border-bottom: 4px solid var(--opc-gold);
}

.opc-content-body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.opc-ranks-table thead th {
  background: var(--opc-navy) !important;
}

.opc-university .dt-header-nav-list {
  font-size: 0.8rem;
  gap: 0.15rem !important;
}

@media (min-width: 1200px) {
  .opc-university .dt-header-nav-list {
    flex-wrap: nowrap;
  }
}

.opc-university .dt-navbar .nav-link.dt-nav-link--main {
  padding: 0.4rem 0.55rem !important;
  white-space: nowrap;
}

.opc-university .opc-navbar .btn-dark {
  background: var(--opc-navy);
  border-color: var(--opc-navy);
}

.opc-university .opc-navbar .btn-dark:hover {
  background: var(--opc-blue-light);
  border-color: var(--opc-blue-light);
}

/* Hide top utility bar on mobile — all public pages */
@media (max-width: 991.98px) {
  .opc-topbar,
  .dt-topbar {
    display: none !important;
  }
}

/* Mobile header: crest | trilingual names | regional emblem */
.opc-header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.opc-header-mobile__crest,
.opc-header-mobile__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.opc-header-mobile__crest-img {
  max-height: 44px;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.opc-header-mobile__badge-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.opc-header-mobile__names {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  text-align: center;
  padding: 0 0.15rem;
}

.opc-header-mobile__line {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opc-header-mobile__line--en {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--opc-navy);
}

.opc-header-mobile__line--om {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--opc-blue-light);
}

.opc-header-mobile__line--am {
  font-size: 0.58rem;
  font-weight: 600;
  color: #5c4a2a;
}

/* Language switcher pills */
.opc-lang-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.opc-lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--opc-navy);
  border: 1px solid rgba(12, 35, 64, 0.2);
  border-radius: 2rem;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}

.opc-lang-switcher__btn:hover {
  background: rgba(12, 35, 64, 0.06);
  color: var(--opc-navy);
}

.opc-lang-switcher__btn.is-active {
  background: var(--opc-navy);
  border-color: var(--opc-navy);
  color: #fff;
}

.opc-breadcrumb-bar {
  position: relative;
  z-index: 1020;
}

.opc-breadcrumb-bar .breadcrumb-item a {
  color: #6b5b2a;
  text-decoration: none;
}

.text-opc-navy {
  color: var(--opc-navy) !important;
}

@media (max-width: 1199.98px) {
  .opc-header-mobile {
    display: flex;
  }

  .opc-navbar__container {
    flex-wrap: nowrap;
    align-items: center;
  }

  .opc-navbar .navbar-collapse {
    flex-basis: 100%;
  }
}

@media (min-width: 1200px) {
  .opc-header-mobile {
    display: none !important;
  }
}


@media (max-width: 767.98px) {
  .opc-topbar__tagline {
    font-size: 0.72rem;
    white-space: normal;
    flex: 1 1 100%;
  }

  .opc-topbar__social {
    margin-left: auto;
  }

  .opc-brand__title {
    font-size: 0.92rem;
  }

  .opc-brand__crest-img {
    max-height: 44px;
  }
}

@media (max-width: 767.98px) {
  .opc-brand__logo {
    max-height: 44px;
    max-width: 200px;
  }

  .opc-institution-strip__logo {
    max-height: 88px;
  }

  .opc-quick-links__item {
    flex: 0 0 42%;
    min-width: 130px;
    min-height: 88px;
    padding: 0.75rem 0.35rem;
  }

  .opc-university .opc-hero .dt-hero-slide {
    min-height: 0;
  }
}

/* Register / Apply CTAs */
.btn-opc-register {
  background: linear-gradient(135deg, var(--opc-gold) 0%, #a88428 100%);
  border: none;
  color: var(--opc-navy);
  font-weight: 600;
}

.btn-opc-register:hover {
  background: linear-gradient(135deg, var(--opc-gold-light) 0%, var(--opc-gold) 100%);
  color: var(--opc-navy);
}

.opc-nav-cta .btn {
  white-space: nowrap;
}

.opc-mobile-cta__grid .btn-dark {
  background: var(--opc-navy);
  border-color: var(--opc-navy);
  color: #fff;
}

.opc-mobile-cta__grid .btn-dark:hover {
  background: var(--opc-blue-light);
  border-color: var(--opc-blue-light);
  color: #fff;
}

@media (min-width: 1200px) {
  .opc-university .dt-header-nav-scroll {
    max-height: none;
    overflow: visible;
  }

  .opc-university .dt-header-nav-list {
    overflow: visible;
  }
}

@media (max-width: 1199.98px) {
  .opc-university .dt-header-nav-scroll {
    max-height: min(70vh, 520px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

.opc-university img {
  max-width: 100%;
  height: auto;
}

.opc-university .dt-main {
  overflow-x: hidden;
}

.opc-pdf-reader__toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
}

.opc-pdf-reader__canvas-wrap canvas {
  max-width: 100%;
  height: auto;
}

/* Legacy nav classes — kept minimal for other layouts */
