/* UW visual components adapted from the UW main site; September 2026. */
@font-face { font-family: "Encode Sans Compressed"; src: url("./asset/uw/encode-sans-compressed-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Encode Sans Compressed"; src: url("./asset/uw/encode-sans-compressed-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Encode Sans Compressed"; src: url("./asset/uw/encode-sans-compressed-900.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("./asset/uw/open-sans-regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("./asset/uw/open-sans-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("./asset/uw/open-sans-italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("./asset/uw/open-sans-700italic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
.shell { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; font: 800 1.1rem/1.5 "Encode Sans Compressed", Arial, sans-serif; text-transform: uppercase; }
.site-nav a { position: relative; color: var(--accent); text-decoration: none; padding: 9px 0; }
.site-nav a + a::before { content: ""; position: absolute; left: -15px; top: 15px; height: 14px; border-left: 1px solid #ddd; transform: skew(-18deg); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 10; padding: .5rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-navigation { background: white; border-bottom: 1px solid #ddd; }
.site-navigation .shell { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 84px; padding-top: 16px; padding-bottom: 16px; }
.site-menu-toggle { display: none; }
.navigation-brand { font: 800 1.2rem/1.25 "Encode Sans Compressed", Arial, sans-serif; text-decoration: none; white-space: nowrap; }

/* UW main-site footer: official campus photograph, wordmark and social sprite. */
.uw-footer { background: var(--accent) url("./asset/uw/uw-footer-campus.jpg") center bottom / cover no-repeat; border-top: 7px solid #d1d1d1; padding: 48px 0 30px; color: #fff; text-align: center; }
.uw-footer a { color: #fff; text-decoration: none; }
.uw-footer a:hover { color: var(--light-gold); text-decoration: underline; }
.uw-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.uw-footer .footer-wordmark { display: block; width: 335px; max-width: 100%; height: 30px; margin: 0 auto 28px; background: url("./asset/uw/uw-main-sprite.svg") no-repeat 0 -431px; overflow: hidden; text-indent: -9999px; }
.footer-boundless { display: inline-flex; align-items: flex-end; margin: 0 auto 28px; font-size: 13px; font-style: italic; line-height: 1.5; }
.boundless-local { display: flex; flex-direction: column; align-items: flex-end; padding: 8px 20px 15px 0; }
.boundless-local img { width: 169px; height: 21px; margin-bottom: 4px; }
.boundless-world { border-left: 1px solid #9184aa; padding: 38px 0 15px 16px; transform: skew(-15deg); }
.uw-footer .footer-connect { font-family: "Encode Sans Compressed", Arial, sans-serif; font-size: 20px; line-height: 1.3; color: white; margin: 0 0 12px; }
.footer-connect::before { content: ""; display: block; width: 85px; height: 1px; background: #9184aa; margin: 0 auto 24px; }
.uw-footer nav { margin: 0; }
.uw-footer ul { list-style: none; padding: 0; }
.footer-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin: 0; }
.uw-footer .footer-social a { display: block; width: 42px; height: 40px; overflow: hidden; text-indent: -9999px; background: url("./asset/uw/uw-main-sprite.svg") no-repeat 0 -185px; }
.uw-footer .footer-social .twitter { background-position: -46px -185px; }
.uw-footer .footer-social .instagram { background-position: -322px -185px; }
.uw-footer .footer-social .youtube { background-position: -138px -185px; }
.uw-footer .footer-social .linkedin { background-position: -184px -185px; }
.uw-footer .footer-social .pinterest { background-position: -92px -185px; }
.uw-footer .footer-social a:hover { opacity: .75; }
.uw-footer .footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin: 28px 0 0; font-size: 15px; line-height: 1.72; }
.footer-links::before { content: ""; display: block; flex-basis: 100%; height: 1px; background: linear-gradient(#9184aa, #9184aa) center / 85px 1px no-repeat; margin-bottom: 24px; }
.footer-links li { white-space: nowrap; }
.footer-links li + li::before { content: "/"; color: #aaa0ba; margin: 0 12px; }
.uw-footer .footer-copyright { color: #fff; font-size: 13.6px; line-height: 1.7; margin: 15px 0 0; }
@media (max-width: 600px) {
  .uw-footer { padding: 36px 0 24px; }
  .uw-footer .footer-wordmark { width: 280px; height: 24px; background-size: 722px auto; background-position: 0 -360px; }
  .uw-footer .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 4px; font-size: 12px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .footer-links::before { grid-column: 1 / -1; }
  .footer-links li + li::before { display: none; }
  .footer-links li + li::before { margin: 0 8px; }
  .footer-boundless { font-size: 11px; }
  .boundless-local { padding-right: 12px; }
  .boundless-world { padding-left: 12px; }
}


/* UW main-site masthead and utility navigation. */
.uw-masthead { position: relative; height: 90px; background: #4b2e83; box-shadow: 0 2px 5px #00000030; z-index: 5; }
.uw-brand-container { position: relative; max-width: 1170px; height: 90px; margin: 0 auto; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.uw-masthead-logo { position: relative; display: block; flex: 0 0 480px; height: 90px; }
.uw-patch { position: absolute; top: 0; left: 0; width: 163px; height: 90px; background: url("./asset/uw/uw-main-sprite.svg") no-repeat 0 0; }
.uw-wordmark { position: absolute; top: 34px; left: 150px; width: 330px; height: 24px; background: url("./asset/uw/uw-main-sprite.svg") no-repeat 0 -431px; }
.uw-header-tools { display: flex; align-items: center; gap: 18px; }
.uw-audience { display: flex; align-items: center; gap: 22px; white-space: nowrap; font: 700 16px/1.3 "Encode Sans Compressed", Arial, sans-serif; }
.uw-audience a { position: relative; color: white; text-decoration: none; }
.uw-audience a + a::before { content: ""; position: absolute; left: -14px; top: -6px; height: 32px; border-left: 1px solid #b7a57a; transform: skew(-16deg); }
.uw-audience a:hover { color: white; text-decoration: underline; }
.uw-masthead a:focus-visible, .uw-masthead button:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.uw-search-toggle { display: grid; place-items: center; flex: 0 0 45px; width: 45px; height: 45px; padding: 0; border: 2px solid white; border-radius: 50%; color: white; background: transparent; cursor: pointer; }
.uw-search-toggle:hover { background: #ffffff18; }
.uw-quicklinks-toggle { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 45px; padding: 0 12px 0 22px; border: 0; background: transparent; color: #171717; cursor: pointer; white-space: nowrap; font: 800 18px/1 "Encode Sans Compressed", Arial, sans-serif; }
.uw-quicklinks-toggle::before { content: ""; position: absolute; inset: 0; transform: skew(-15deg); background: #b7a57a; z-index: -2; }
.uw-quicklinks-toggle::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 37px; transform: skew(-15deg); background: #85754d; z-index: -1; }
.quicklinks-arrow { color: white; font: 400 35px/1 Arial, sans-serif; }
.uw-quicklinks-toggle:hover::before { background: #c5b58c; }
.uw-panel-open { overflow: hidden; }
.uw-quicklinks-panel { position: fixed; inset: 0 0 0 auto; width: min(350px,100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 46px 28px 28px; border: 0; background: #4d4d4d; color: white; overflow-y: auto; overscroll-behavior: contain; box-shadow: -8px 0 18px #00000038; font: 400 20px/1.45 "Open Sans", Arial, sans-serif; }
.uw-quicklinks-panel::backdrop, .uw-search-panel::backdrop { background: #00000045; }
.uw-panel-close { position: absolute; top: 7px; right: 11px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; font: 400 32px/1 Arial, sans-serif; }
.uw-quicklinks-panel a { color: white; text-decoration: none; }
.uw-quicklinks-panel a:hover, .uw-quicklinks-panel a:focus-visible { color: #ffd800; text-decoration: underline; }
.uw-quicklinks-panel :focus-visible { outline: 2px solid #ffd800; outline-offset: 4px; }
.uw-quicklinks-primary { display: grid; gap: 13px; }
.uw-quicklinks-primary a { display: flex; align-items: center; gap: 15px; min-height: 35px; }
.uw-utility-icon { display: inline-block; flex: 0 0 30px; width: 30px; height: 30px; background: url("./asset/uw/uw-main-sprite.svg") no-repeat; }
.icon-myuw { background-position: -174px -303px; }
.icon-calendar { background-position: -39px -303px; }
.icon-directories { background-position: -84px -303px; }
.icon-libraries { background-position: -129px -303px; }
.icon-medicine { background-position: -264px -303px; }
.icon-maps { background-position: 6px -303px; }
.icon-news { background-position: -219px -303px; }
.uw-helpful-links { margin-top: 32px; }
.uw-helpful-links h2 { color: white; font: 800 24px/1.3 "Encode Sans Compressed", Arial, sans-serif; margin: 0 0 20px; }
.uw-helpful-links h2::after, .uw-quicklinks-social::before { content: ""; display: block; width: 42px; height: 1px; background: #dedede; margin-top: 24px; }
.uw-helpful-links ul { margin: 0; padding: 0 0 0 13px; list-style: disc; font-size: 19px; }
.uw-helpful-links li { padding-left: 0; margin: 3px 0; }
.uw-helpful-links li::marker { color: #a84dff; }
.uw-helpful-links li:nth-child(3)::marker { color: #e49243; }
.uw-helpful-links li:nth-child(n+4)::marker { color: #9bc343; }
.uw-quicklinks-social { display: grid; gap: 9px; margin-top: 22px; }
.uw-quicklinks-social::before { margin: 0 0 12px; }
.uw-quicklinks-social a { display: flex; align-items: center; gap: 15px; }
.uw-social-icon { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; background: url("./asset/uw/uw-main-sprite.svg") no-repeat; }
.icon-facebook { background-position: 0 -159px; background-size: 700px; }
.icon-twitter { background-position: -37px -157px; background-size: 690px; }
.uw-drawer-audience { display: none; }
.uw-drawer-search { margin: 26px 0 0; padding: 10px 16px; border: 1px solid #ddd; color: white; background: transparent; cursor: pointer; font: 700 17px/1.3 "Encode Sans Compressed", Arial, sans-serif; }
.uw-drawer-search:hover { color: #ffd800; border-color: #ffd800; }
.uw-search-panel { width: min(680px,calc(100vw - 32px)); border: 0; border-top: 5px solid var(--gold); padding: 30px; background: white; color: var(--ink); box-shadow: 0 12px 50px #00000033; }
.uw-search-panel h2 { margin: 0 0 22px; font-size: 1.8rem; }
.uw-search-panel label { display: block; margin-bottom: 10px; font-size: 16px; }
.uw-search-fields { display: flex; gap: 0; }
.uw-search-fields input { min-width: 0; flex: 1; padding: 12px; font: 400 17px/1.4 "Open Sans",Arial,sans-serif; border: 1px solid #777; border-radius: 0; }
.uw-search-fields button { padding: 12px 22px; border: 1px solid var(--accent); background: var(--accent); color: white; cursor: pointer; font: 700 18px/1.4 "Encode Sans Compressed",Arial,sans-serif; }
.uw-search-panel :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1279px) {
  .uw-audience { display: none; }
  .uw-drawer-audience { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; border-top: 1px solid #777; padding-top: 20px; font-size: 16px; }
}
@media (max-width: 900px) {
  .site-navigation .shell { gap: 15px; }
  .navigation-brand { display: none; }
}
@media (max-width: 850px) {
  .uw-masthead, .uw-brand-container { height: 60px; }
  .uw-brand-container { padding: 0 24px; gap: 12px; }
  .uw-masthead-logo { flex-basis: 233px; height: 45px; }
  .uw-patch { width: 73px; height: 45px; background-size: 470px; }
  .uw-wordmark { width: 155px; height: 34px; top: 4px; left: 78px; background-position: 0 -185px; background-size: 397px; }
  .uw-header-tools { gap: 15px; }
  .uw-search-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  .uw-quicklinks-toggle { height: 40px; padding: 0 9px 0 13px; gap: 16px; font-size: 16px; }
  .uw-quicklinks-toggle::after { width: 25px; }
  .quicklinks-arrow { font-size: 28px; }
  .site-navigation .shell { min-height: 56px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 0 15px; }
  .navigation-brand { display: block; font-size: 1.1rem; }
  .menu-ready .site-menu-toggle { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 20px; border: 0; border-left: 1px solid #ddd; background: transparent; color: var(--accent); cursor: pointer; font: 800 16px/1.5 "Encode Sans Compressed",Arial,sans-serif; text-transform: uppercase; }
  .site-menu-toggle svg { transition: transform .15s ease; }
  .site-menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .site-nav { width: 100%; gap: 0; flex-direction: column; align-items: stretch; font-size: 1.05rem; padding: 8px 0; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; border-top: 1px solid var(--rule); }
  .site-nav a[aria-current="page"] { text-decoration: none; box-shadow: inset 3px 0 var(--gold); padding-left: 12px; }
  .site-nav a + a::before { display: none; }
}
@media (max-width: 600px) {
  .uw-header-tools { gap: 10px; }
  .uw-quicklinks-toggle { width: 40px; justify-content: center; padding: 0; }
  .uw-quicklinks-toggle .quicklinks-label { display: none; }
  .uw-quicklinks-toggle::after { display: none; }
}
@media (max-width: 440px) {
  .uw-brand-container { padding: 0 20px; gap: 10px; }
  .uw-search-panel { padding: 25px 18px; }
  .uw-search-fields button { padding: 12px; }
}
@media (max-width: 360px) {
  .uw-masthead-logo { flex-basis: 196px; height: 40px; }
  .uw-patch { width: 64px; height: 40px; background-size: 413px; }
  .uw-wordmark { width: 130px; height: 30px; left: 66px; background-size: 330px; background-position: 0 -154px; }
  .uw-header-tools { gap: 8px; }
  .uw-search-toggle { flex-basis: 34px; width: 34px; height: 34px; }
  .uw-quicklinks-toggle { width: 34px; height: 36px; }
}
@media print { .uw-masthead, .uw-quicklinks-panel, .uw-search-panel { display: none !important; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media(max-width:850px) {
  .uw-search-toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .uw-quicklinks-toggle { min-width: 44px; min-height: 44px; }
  .uw-header-tools { gap: 12px; flex-shrink: 0; }
}
@media(max-width:400px) {
  body .uw-brand-container { padding-left: 22px; padding-right: 22px; }
  .uw-masthead-logo { flex: 0 0 73px; height: 45px; }
  .uw-patch { width: 73px; height: 45px; background-size: 470px; }
  .uw-wordmark { display: none; }
  .uw-search-toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .uw-quicklinks-toggle { width: 44px; height: 44px; }
}
