/* Local presentation layer. Kept separate from the imported SWSU bundle. */
:root {
  --site-blue: #245f9f;
  --site-blue-dark: #174675;
  --site-blue-soft: #eaf3fb;
  --site-border: #d8e1ea;
  --site-text: #263442;
  --site-muted: #607080;
  --site-surface: #fff;
  --site-radius: 6px;
  --site-shadow: 0 2px 12px rgba(22, 57, 91, .08);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: inherit; }

body.mx-wrapper {
  min-width: 0;
  margin: 0;
  color: var(--site-text);
  background: #f5f7fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a { color: #1768ad; }
a:hover, a:focus { color: var(--site-blue-dark); }

.mx-header {
  color: #fff;
  background: linear-gradient(135deg, var(--site-blue-dark), var(--site-blue));
}

.mx-header-head { padding: 20px 24px; }
.mx-header-h1-block {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.mx-menu-top {
  padding: 0 24px;
  color: #fff;
  background: var(--site-blue);
  border-top: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 2px 8px rgba(20, 55, 88, .18);
}

.mx-menu-top .navbar {
  max-width: 1180px;
  min-height: 50px;
  margin: 0 auto;
  padding: 0;
}

.mx-menu-top .nav-link {
  display: block;
  padding: 14px 13px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.mx-menu-top .nav-link:hover,
.mx-menu-top .nav-link:focus { background: rgba(255, 255, 255, .12); }

.mx-menu-top .dropdown-menu {
  min-width: 290px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--site-border);
  border-radius: 0 0 var(--site-radius) var(--site-radius);
  box-shadow: var(--site-shadow);
}

.mx-menu-top .dropdown-item { padding: 0; }
.mx-menu-top .dropdown-item a {
  display: block;
  padding: 9px 12px;
  color: var(--site-text);
  text-decoration: none;
  white-space: normal;
}
.mx-menu-top .dropdown-item a:hover { background: var(--site-blue-soft); }

.site-menu-toggle { display: none; }

.mx-section { padding: 28px 24px 40px; }
.mx-section > .container-fluid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

.mx-content {
  min-width: 0;
  padding: 28px 30px;
  background: var(--site-surface);
  border: 1px solid #e3e9ef;
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
}

.mx-content h1 {
  margin: 0 0 25px;
  padding-bottom: 14px;
  color: #24384b;
  border-bottom: 2px solid var(--site-blue);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.mx-content h2, .mx-content h3, .mx-content h4, .mx-title-block {
  margin-top: 26px;
  color: #2b4053;
  line-height: 1.3;
}

.mx-content p, .mx-content li { overflow-wrap: anywhere; }

.mx-responsive-table,
.table-responsive {
  max-width: 100%;
  margin: 15px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  -webkit-overflow-scrolling: touch;
}

.mx-responsive-table::after,
.table-responsive::after {
  content: "";
  display: block;
  height: 1px;
}

.mx-content table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.mx-content th {
  padding: 11px 12px;
  color: #fff;
  background: var(--site-blue);
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 13px;
  line-height: 1.35;
  vertical-align: middle;
}

.mx-content td {
  padding: 10px 12px;
  border: 1px solid var(--site-border);
  vertical-align: top;
}

.mx-content tbody tr:nth-child(even) { background: #f3f8fc; }
.mx-content tbody tr:hover { background: #e9f3fb; }

.btn, button {
  border-radius: 4px;
  font-family: inherit;
}

.mx-footer {
  padding: 22px 24px;
  color: #fff;
  background: var(--site-blue-dark);
}
.mx-footer-default { max-width: 1180px; margin: 0 auto; }
.mx-footer a { color: #fff; }
.mx-footer img { width: auto; max-width: 52px; object-fit: contain; }

@media (max-width: 991px) {
  .mx-header-head { padding: 15px 18px; }
  .mx-header-h1-block { font-size: 14px; }
  .mx-menu-top { padding: 0; }
  .mx-menu-top .navbar { display: block; min-height: 0; }

  .site-menu-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
  }

  .site-menu-toggle-icon,
  .site-menu-toggle-icon::before,
  .site-menu-toggle-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }
  .site-menu-toggle-icon { position: relative; }
  .site-menu-toggle-icon::before,
  .site-menu-toggle-icon::after { position: absolute; content: ""; left: 0; }
  .site-menu-toggle-icon::before { top: -7px; }
  .site-menu-toggle-icon::after { top: 7px; }

  #mxNavbarCollapse { display: none !important; padding: 0 8px 10px; }
  #mxNavbarCollapse.site-menu-open { display: block !important; }
  .mx-menu-top .navbar-nav { display: block; margin: 0; }
  .mx-menu-top .nav-link { padding: 11px 10px; }
  .mx-menu-top .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }
  .mx-menu-top .dropdown-menu:not(.site-dropdown-open) { display: none; }
  .mx-menu-top .dropdown-menu.site-dropdown-open { display: block; }

  .mx-section { padding: 16px 12px 26px; }
  .mx-content { padding: 20px 16px; }
  .mx-content h1 { margin-bottom: 20px; font-size: 25px; }
  .mx-content h4, .mx-title-block { font-size: 18px; }

  .mx-responsive-table,
  .table-responsive {
    position: relative;
    margin-right: 0;
    margin-left: 0;
  }
  .mx-content table { min-width: 680px; }
  .mx-content th, .mx-content td { padding: 8px 9px; font-size: 13px; }

  .employees-table {
    display: block;
    min-width: 0 !important;
  }
  .employees-table thead { display: none; }
  .employees-table tbody,
  .employees-table tr,
  .employees-table td { display: block; width: 100%; }
  .employees-table tr {
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
  }
  .employees-table td {
    display: grid;
    grid-template-columns: minmax(110px, 35%) 1fr;
    gap: 10px;
    min-height: 0;
    margin: 0 !important;
    border: 0;
    border-bottom: 1px solid var(--site-border);
    overflow-wrap: anywhere;
  }
  .employees-table td:last-child { border-bottom: 0; }
  .employees-table td::before {
    content: attr(data-label);
    color: var(--site-blue-dark);
    font-weight: 700;
  }

  .mx-footer { padding: 20px 14px; }
  .mx-footer .row { display: block; }
  .mx-footer .col-md-6 { width: 100%; margin: 15px 0; }
}

@media (max-width: 480px) {
  body.mx-wrapper { font-size: 14px; }
  .mx-header-h1-block { font-size: 12px; }
  .accessability { font-size: 13px; }
  .mx-content { padding: 18px 13px; }
}

@media print {
  .mx-menu-top, #mx-special-menu, .site-menu-toggle { display: none !important; }
  body.mx-wrapper, .mx-section, .mx-content { background: #fff; }
  .mx-section, .mx-content { padding: 0; border: 0; box-shadow: none; }
  .mx-responsive-table, .table-responsive { overflow: visible; }
}
