/*
 * UOP refresh layer: bold sitewide redesign.
 * Load after /css/uop_index.css and /css/uop.css.
 * Designed to keep the legacy information architecture while delivering
 * a more atmospheric, modern research-portal look.
 */

:root {
  --uop-bg: #07131d;
  --uop-bg-soft: #0b1d29;
  --uop-panel: rgba(7, 19, 29, 0.78);
  --uop-panel-solid: #0f2432;
  --uop-panel-light: rgba(244, 251, 255, 0.08);
  --uop-card: rgba(255, 255, 255, 0.92);
  --uop-card-soft: rgba(229, 244, 250, 0.82);
  --uop-text: #e8f5fb;
  --uop-ink: #143040;
  --uop-muted: #9cb8c8;
  --uop-border: rgba(157, 206, 225, 0.28);
  --uop-border-strong: rgba(157, 206, 225, 0.48);
  --uop-sea: #57c5d9;
  --uop-sky: #8ed5e7;
  --uop-foam: #def6fb;
  --uop-sand: #f1d5a1;
  --uop-emerald: #8ecfb5;
  --uop-link: #0d769e;
  --uop-link-hover: #064a67;
  --uop-shadow-xl: 0 28px 80px rgba(0, 0, 0, 0.38);
  --uop-shadow-lg: 0 18px 42px rgba(4, 20, 31, 0.22);
  --uop-shadow-sm: 0 8px 18px rgba(4, 20, 31, 0.14);
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 14% 12%, rgba(87, 197, 217, 0.22), transparent 22%),
    radial-gradient(circle at 88% 16%, rgba(142, 213, 231, 0.16), transparent 24%),
    linear-gradient(180deg, #0b1b29 0%, #091722 38%, #061119 100%);
}

body {
  min-width: 0;
  margin: 0;
  color: var(--uop-text);
  background:
    linear-gradient(180deg, rgba(7, 19, 29, 0.1), rgba(7, 19, 29, 0.34)),
    transparent;
  background-image: none;
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 120px),
    linear-gradient(rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 120px);
  opacity: 0.22;
}

#wrapper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 18px 28px;
  box-sizing: border-box;
}

#header {
  position: relative;
  z-index: 2;
}

#banner_background-nonav {
  position: relative;
  height: auto;
  min-height: 172px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(115deg, rgba(4, 18, 31, 0.92) 0%, rgba(5, 42, 63, 0.7) 48%, rgba(22, 102, 122, 0.34) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    url("/images/Cover.jpg");
  background-position: center 59%;
  background-size: cover;
  box-shadow: var(--uop-shadow-xl);
}

#banner_background-nonav::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 94% calc(100% + 76px), rgba(222, 246, 251, 0.24) 0%, rgba(222, 246, 251, 0.04) 22%, transparent 28%);
  pointer-events: none;
}

#banner_background-nonav::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

#banner-nonav {
  position: relative;
  width: auto;
  max-width: 920px;
  min-height: 172px;
}

#banner-nonav img {
  display: block;
  max-width: min(100%, 920px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}

#main {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
  width: auto;
  min-width: 0;
  padding: 26px 12px 0;
  box-sizing: border-box;
}

#sidebar2,
#sidebar1,
#sidebar3 {
  float: none;
}

#sidebar2 {
  position: sticky;
  top: 18px;
  left: 0;
  width: auto;
  padding: 20px 16px 18px;
  border: 1px solid var(--uop-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(13, 34, 48, 0.94) 0%, rgba(8, 24, 36, 0.9) 100%);
  box-shadow: var(--uop-shadow-lg);
  backdrop-filter: blur(12px);
}

#content,
#content2,
#content3 {
  margin: 0;
}

.maindiv {
  position: relative;
  color: var(--uop-ink);
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.74;
  padding: 34px 38px 42px;
  border: 1px solid rgba(157, 206, 225, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 249, 252, 0.94) 100%);
  box-shadow: var(--uop-shadow-lg);
  overflow: hidden;
}

.maindiv::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--uop-sea) 0%, var(--uop-sky) 38%, var(--uop-sand) 100%);
}

.maindiv p,
.maindiv td,
li {
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.74;
}

.maindiv h1,
.title {
  margin: 0 0 22px;
  color: #0b2c41;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.maindiv h2 {
  position: relative;
  margin: 34px 0 14px;
  color: #0d6886;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.maindiv h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--uop-sea), transparent);
}

.maindiv h3 {
  color: #4b6a7b;
  font-size: 16px;
}

.maindiv h5 {
  height: auto;
  margin: 34px 0 20px;
  padding: 14px 18px;
  color: #0d3550;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 18px;
  border: 1px solid rgba(87, 197, 217, 0.34);
  border-left: 8px solid #22a6c3;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(234, 248, 251, 0.96) 0%, rgba(220, 241, 247, 0.92) 100%);
}

.maindiv a:link,
.maindiv a:visited,
.copyrights a:link,
.copyrights a:visited {
  color: var(--uop-link);
}

.maindiv a:hover,
.maindiv a:focus,
.copyrights a:hover,
.copyrights a:focus,
p#f3text a:hover,
p#f3text a:focus {
  color: var(--uop-link-hover);
}

.caption,
p.caption {
  color: #5f7a8a;
  font-size: 12px;
}

.navButts,
.navViz {
  margin: 0 0 10px;
  line-height: 1.3;
}

.navButts a,
.navViz a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--uop-border-strong);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.navButts a {
  color: #e4f6fb;
  background: linear-gradient(180deg, rgba(18, 60, 80, 0.88) 0%, rgba(10, 37, 54, 0.92) 100%);
}

.navButts a:hover,
.navButts a:focus {
  transform: translateX(3px);
  box-shadow: 0 10px 24px rgba(87, 197, 217, 0.18);
  border-color: rgba(142, 213, 231, 0.8);
  background: linear-gradient(180deg, rgba(24, 84, 108, 0.94) 0%, rgba(12, 46, 67, 0.94) 100%);
}

.navViz a {
  color: #072030;
  background: linear-gradient(180deg, #aeeaf5 0%, #68d0e2 100%);
  border-color: rgba(174, 234, 245, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 22px rgba(87, 197, 217, 0.18);
}

.navSubs,
.navSubson {
  margin: 0 0 6px;
  padding-left: 0;
  background: none;
}

.navSubs a,
.navSubson {
  position: relative;
  display: block;
  padding: 7px 10px 7px 20px;
  border-radius: 12px;
  background-image: none;
}

.navSubs a {
  color: rgba(232, 245, 251, 0.84);
}

.navSubs a::before,
.navSubson::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--uop-sand);
}

.navSubs a:hover,
.navSubs a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.navSubson {
  color: #ffffff;
  font-weight: bold;
  background: linear-gradient(90deg, rgba(87, 197, 217, 0.26), rgba(87, 197, 217, 0.08));
  box-shadow: inset 0 0 0 1px rgba(142, 213, 231, 0.34);
}

.navSubson a {
  color: inherit;
  text-decoration: none;
}

.top6px {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(157, 206, 225, 0.22);
  border-radius: 16px;
}

#sidebar2 p,
#sidebar2 p[style] {
  color: #eef9fd !important;
}

#sidebar2 p a,
#sidebar2 p[style] a {
  color: #b9eef7 !important;
}

#sidebar2 p a:hover,
#sidebar2 p a:focus,
#sidebar2 p[style] a:hover,
#sidebar2 p[style] a:focus {
  color: #ffffff !important;
}

.img-float-left,
.img-float-right,
.imgfloatleft,
.imgfloatleft-index,
.maindiv img,
.notebox img,
.notebox2 img,
.notebox3 img,
.notebox4 img,
.noteboxo img {
  max-width: 100%;
  height: auto;
}

.img-float-left,
.img-float-right,
.imgfloatleft,
.imgfloatleft-index {
  border-radius: 18px;
  box-shadow: var(--uop-shadow-sm);
}

.notebox,
.notebox2,
.notebox3,
.notebox4,
.noteboxo,
.tablepeople,
.tablelist,
.tablelist2,
.tablelistsm,
.logtable,
.databox,
.datatable,
table[border="1"] {
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(241, 249, 252, 0.94);
}

.notebox,
.notebox2,
.notebox3,
.notebox4,
.noteboxo {
  width: min(100%, 282px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--uop-shadow-sm);
}

/* Legacy note boxes sometimes carry border="1"; keep those instances full-width intentionally. */
table.notebox[border="1"],
table.notebox2[border="1"],
table.notebox3[border="1"],
table.notebox4[border="1"],
table.noteboxo[border="1"] {
  width: min(100%, 100%);
}

.notebox td,
.notebox2 td,
.notebox3 td,
.notebox4 td,
.tablepeople td,
.tablelist td,
.tablelist2 td,
.tablelistsm td,
.tablelistsm th,
.logtable td,
.databox td,
.databox th,
.datatable td,
.datatable th,
table[border="1"] td,
table[border="1"] th {
  border-color: rgba(137, 175, 193, 0.45);
  padding: 10px 12px;
}

.notebox tr:first-child td,
.notebox2 tr:first-child td,
.notebox3 tr:first-child td,
.notebox4 tr:first-child td,
table[border="1"] tr:first-child th {
  background: linear-gradient(180deg, #dbf6fb 0%, #bce8f1 100%);
  color: #0c3348;
}

/* Legacy project pages still use many plain tables without table-specific classes. */
.maindiv table,
.maindiv table td,
.maindiv table th {
  color: var(--uop-ink);
}

.maindiv table a,
.maindiv table a:visited {
  color: var(--uop-link);
}

.maindiv table a:hover,
.maindiv table a:focus {
  color: var(--uop-link-hover);
}

ul#navlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  float: none;
  width: auto;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
}

ul#navlist li {
  display: block;
  margin: 0;
}

ul#navlist li a {
  float: none;
  display: block;
  padding: 11px 18px;
  border: 1px solid rgba(87, 197, 217, 0.28);
  border-radius: 999px;
  color: #0c4e6d;
  background: linear-gradient(180deg, rgba(233, 248, 252, 0.98) 0%, rgba(216, 239, 246, 0.95) 100%);
  box-shadow: 0 8px 18px rgba(5, 37, 54, 0.08);
}

ul#navlist li a:visited {
  color: #0c4e6d;
}

ul#navlist li a:hover,
ul#navlist li a:focus {
  color: #082d44;
  background: linear-gradient(180deg, rgba(222, 246, 251, 1) 0%, rgba(188, 232, 241, 0.98) 100%);
}

ul#navlist li a.current {
  color: #061d2a;
  background: linear-gradient(180deg, #99e0ec 0%, #57c5d9 100%);
  border-color: rgba(52, 157, 182, 0.55);
}

.floatright,
.floatright2 {
  max-width: min(320px, 42%);
  margin: 2px 0 22px 24px;
}

.tablepeople,
.tablelist,
.tablelist2,
.tablelistsm,
.logtable,
.databox,
.datatable,
table[border="1"] {
  width: min(100%, 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(5, 37, 54, 0.08);
}

/*
 * Realtime pages sit outside the normal .maindiv shell in preview mode.
 * Keep their page-level links readable on the dark background while restoring
 * dark text and compact table sizing inside the white data tables.
 */
body.uop-realtime-page > h2,
body.uop-realtime-page > h4,
body.uop-realtime-page > p {
  color: var(--uop-text) !important;
}

body.uop-realtime-page > p a,
body.uop-realtime-page > h4 a,
body.uop-realtime-page > a {
  color: #9fe9ff !important;
}

body.uop-realtime-page > p a:visited,
body.uop-realtime-page > h4 a:visited,
body.uop-realtime-page > a:visited {
  color: #d8c8ff !important;
}

body.uop-realtime-page > p a:hover,
body.uop-realtime-page > p a:focus,
body.uop-realtime-page > h4 a:hover,
body.uop-realtime-page > h4 a:focus,
body.uop-realtime-page > a:hover,
body.uop-realtime-page > a:focus {
  color: #ffffff !important;
}

body.uop-realtime-page table[border="1"] {
  width: auto;
  max-width: 100%;
}

body.uop-realtime-page .MET_data table[border="1"] {
  width: 100%;
}

body.uop-realtime-page table[border="1"],
body.uop-realtime-page table[border="1"] td,
body.uop-realtime-page table[border="1"] th {
  color: var(--uop-ink) !important;
}

body.uop-realtime-page table[border="1"] a,
body.uop-realtime-page table[border="1"] a:visited {
  color: var(--uop-link) !important;
}

body.uop-realtime-page table[border="1"] a:hover,
body.uop-realtime-page table[border="1"] a:focus {
  color: var(--uop-link-hover) !important;
}

#footer {
  clear: both;
  float: none;
  width: auto;
  margin: 24px 12px 0;
  padding: 18px 24px;
  border: 1px solid var(--uop-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 31, 44, 0.96) 0%, rgba(8, 22, 32, 0.96) 100%);
  color: var(--uop-text);
  text-align: center;
  box-shadow: var(--uop-shadow-lg);
}

p#f3text {
  margin: 0;
  line-height: 1.72;
}

p#f3text a {
  color: #b9eef7;
  background: transparent;
}

/* Standalone dynamic project pages, including SAFARI */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin: 28px 12px 0;
}

.column {
  float: none !important;
}

.left {
  width: auto !important;
  flex: 1 1 760px;
}

.right {
  width: auto !important;
  flex: 0 1 340px;
}

.row > .left,
.row > .right,
body > .row > div {
  padding: 28px 28px 32px;
  border: 1px solid var(--uop-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 249, 252, 0.94) 100%);
  box-shadow: var(--uop-shadow-lg);
  box-sizing: border-box;
}

body > h2:first-of-type,
.row h2,
body h2:first-of-type {
  color: #0d3550;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.1;
  margin-top: 0;
}

.row h3,
.row h4 {
  color: var(--uop-ink);
}

hr {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(87, 197, 217, 0.4), transparent);
}

.comments,
.notes {
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(222, 246, 251, 0.72);
  border: 1px solid rgba(87, 197, 217, 0.24);
}

#plot1,
#plot2,
#plot3,
#plot4,
#plot5,
#plot6,
#flux_plot,
#ww,
#temp_raw,
#temp_qc,
#psal_raw,
#psal_qc,
#buoy_location,
#buoy_pos {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(249, 252, 253, 0.96) 0%, rgba(230, 242, 247, 0.94) 100%);
  box-shadow: inset 0 0 0 1px rgba(157, 206, 225, 0.24), 0 12px 28px rgba(5, 37, 54, 0.08);
}

#plot1,
#plot2,
#plot3,
#plot4,
#plot5,
#plot6,
#temp_raw,
#temp_qc,
#psal_raw,
#psal_qc {
  width: calc(50% - 10px) !important;
  display: inline-block;
  vertical-align: top;
}

#plot5,
#plot6,
#flux_plot,
#ww,
#buoy_location,
#buoy_pos {
  margin-top: 16px;
}

body > p,
body > table {
  color: inherit;
}

.row p {
  color: var(--uop-ink);
}

.row table th,
.row table td {
  color: var(--uop-ink);
}

body > table[border="1"],
.row table[border="1"] {
  margin-left: 0 !important;
}

body > .row img,
.row img {
  border-radius: 14px;
}

@media (max-width: 1100px) {
  #wrapper {
    padding: 0 12px 22px;
  }

  #main {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 22px;
  }

  .maindiv {
    padding: 30px 28px 34px;
  }
}

@media (max-width: 960px) {
  #main {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  #sidebar2 {
    position: static;
  }

  .floatright,
  .floatright2 {
    max-width: 100%;
    float: none;
    margin: 0 0 18px;
  }
}

@media (max-width: 760px) {
  #wrapper {
    padding: 0 8px 18px;
  }

  #banner_background-nonav {
    border-radius: 0 0 22px 22px;
  }

  #main {
    padding: 16px 6px 0;
  }

  .maindiv,
  .row > .left,
  .row > .right,
  body > .row > div {
    padding: 22px 18px 24px;
    border-radius: 22px;
  }

  .maindiv h1,
  .title,
  body > h2:first-of-type,
  .row h2,
  body h2:first-of-type {
    font-size: 30px;
  }

  .maindiv h2 {
    font-size: 22px;
  }

  ul#navlist li,
  ul#navlist li a,
  #plot1,
  #plot2,
  #plot3,
  #plot4,
  #plot5,
  #plot6,
  #temp_raw,
  #temp_qc,
  #psal_raw,
  #psal_qc {
    width: 100% !important;
  }

  ul#navlist {
    gap: 8px;
  }

  .row {
    margin: 18px 6px 0;
  }
}

/* Phase 1 migration: persistent bold header/top-nav styles */
.uop-a11y-sitebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(10, 28, 40, 0.96) 0%, rgba(7, 19, 29, 0.96) 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(4, 20, 31, 0.22);
  z-index: 8;
  border-radius: 0 0 28px 28px;
}

#header {
  position: relative;
  z-index: 2;
}

#banner_background-nonav {
  position: relative;
  overflow: hidden;
  height: auto !important;
  min-height: 172px;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(100deg, rgba(6, 26, 40, 0.88) 0%, rgba(9, 45, 63, 0.7) 44%, rgba(18, 92, 118, 0.38) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    url("/images/Cover.jpg");
  background-position: center 59%;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

#banner_background-nonav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

#banner_background-nonav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%, transparent 78%, rgba(4, 17, 25, 0.12) 100%);
}

#banner-nonav {
  position: relative;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  display: block;
  width: auto;
  max-width: none;
  min-height: 172px;
  height: auto !important;
  visibility: visible;
  padding: 0;
}

#banner-nonav > img {
  display: none !important;
}

.uop-a11y-banner-topline {
  display: flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 28px;
  position: relative;
  z-index: 2;
  background: #0d3145;
  color: #d7edf5;
  font: 600 11px/1.15 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uop-a11y-banner-body {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 144px;
  padding: 8px 28px 10px;
}

.uop-a11y-banner-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transform: translateX(-14px);
}

.uop-a11y-banner-mark img {
  display: block !important;
  width: min(100%, 300px);
  height: auto !important;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.uop-a11y-banner-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.uop-a11y-banner-title {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.uop-a11y-brand {
  display: none;
}

.uop-a11y-topnav {
  display: grid;
  flex: 1 1 auto;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 8px;
  align-items: center;
  box-sizing: border-box;
}

.uop-a11y-topnav .navButts,
.uop-a11y-topnav .navViz {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.uop-a11y-topnav .navButts a,
.uop-a11y-topnav .navViz a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.uop-a11y-topnav .navButts a {
  color: #d6eff6 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid transparent !important;
}

.uop-a11y-topnav .navButts a:hover,
.uop-a11y-topnav .navButts a:focus {
  color: #fff !important;
  border-color: rgba(157, 206, 225, 0.34) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px);
}

.uop-a11y-topnav .navViz a {
  color: #072030 !important;
  border-color: rgba(174, 234, 245, 0.85) !important;
  background: linear-gradient(180deg, #aeeaf5 0%, #68d0e2 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 10px 22px rgba(87, 197, 217, 0.16) !important;
}

.uop-a11y-menu {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uop-a11y-local-label {
  margin: 0 0 10px;
  color: inherit;
  font: 700 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

#sidebar2 .top6px {
  display: block;
  width: calc(100% + 16px) !important;
  margin: 14px -8px 0 !important;
  height: auto !important;
  aspect-ratio: 164/109;
  object-fit: cover;
  max-width: none !important;
}

#sidebar2 .top6px.uop-sidebar-photo-legacy {
  width: 100% !important;
  margin: 14px 0 0 !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

#sidebar2 .uop-preview-contact {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

#sidebar2 a:focus-visible,
.uop-a11y-sitebar a:focus-visible,
.uop-a11y-sitebar button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

#sidebar2.uop-preview-infoonly .uop-a11y-local-label {
  display: none;
}

@media (max-width: 900px) {
  .uop-a11y-sitebar {
    align-items: flex-start;
    padding: 14px 14px 12px;
  }

  .uop-a11y-menu {
    display: inline-flex;
  }

  .uop-a11y-topnav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 16px;
    background: rgba(10, 31, 44, 0.96);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
  }

  .uop-a11y-sitebar.is-open .uop-a11y-topnav {
    display: flex;
  }

  .uop-a11y-topnav .navButts a,
  .uop-a11y-topnav .navViz a {
    justify-content: center;
  }

  #banner_background-nonav {
    border-radius: 22px 22px 0 0;
  }

  #banner-nonav {
    min-height: 0;
    padding: 0;
  }

  .uop-a11y-banner-topline {
    padding: 5px 18px;
    min-height: 28px;
    font-size: 10px;
  }

  .uop-a11y-banner-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 10px 18px 12px;
  }

  .uop-a11y-banner-mark {
    justify-content: flex-start;
  }

  .uop-a11y-banner-mark img {
    width: min(100%, 252px);
    max-height: 136px;
  }

  .uop-a11y-banner-title {
    font-size: clamp(2.05rem, 7.4vw, 2.7rem);
  }

  .uop-a11y-sitebar {
    border-radius: 0 0 22px 22px;
  }
}
