:root {
  /* Typeface: Interstate */
  --bs-font-sans-serif: Interstate, Helvetica, Arial, Verdana, sans-serif;
  --bs-body-font-family: Interstate, Helvetica, Arial, Verdana, sans-serif;
  --bg-color: #FFFFFF;
  --text-main: #000000;
  --text-accent: #E21833;
  --umd-red: #E21833;
  --umd-gold: #FFD200;
  --umd-gray-dark: #454545;
  --umd-gray-medium: #7F7F7F;
  --umd-gray-light: #E6E6E6;
  --umd-gray-lighter: #F1F1F1;
  --umd-gray-darker: #2C2C2C;
  --umd-gray-darkest: #1F1F1F;
}

.dark {
  --bg-color: #000000;
  --text-main: #FFFFFF;
  --text-accent: #FFD200;
}

.bg-light {
  background-color: var(--umd-gray-light);
}

.bg-lighter {
  background-color: var(--umd-gray-lighter);
}

.bg-red {
	background-color: var(--umd-red);
	color: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-family: Interstate, Helvetica, Arial, Verdana, sans-serif;
  font-size: 1em;
  font-weight: 400;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, p {
  font-family: Interstate, Helvetica, Arial, Verdana, sans-serif;
}

h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}

h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }

a:where(:not([slot], [slot] *,
  umd-element-footer *, umd-element-call-to-action *, umd-element-navigation-header *, umd-element-navigation-utility *, umd-element-nav-item *,
  umd-element-section-intro *, umd-element-section-intro-wide *, umd-element-pathway *, umd-element-accordion *, umd-element-accordion-item *,
  umd-element-stat *, umd-element-hero *, umd-element-sticky-columns *, umd-element-scroll-top *)):is(:hover, :focus) {
  color: var(--link-hover, #333);
}

/* Link hover color */
.banner-parent-wrapper { --link-hover: var(--text-accent); }            /* red on the light banner, gold on the dark one */
.bg-black, .bg-dark, .umd-layout-background-full-dark { --link-hover: var(--umd-gold); }
.bg-red { --link-hover: #FFFFFF; }
.bg-white, .bg-light, .bg-lighter, .card { --link-hover: #333; }        /* a light card inside a dark area */

.footer-decoration-parent-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  overflow: hidden;
}

.footer-decoration-inner-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  height: auto;
  display: flex;
  align-items: flex-end;
}

.svg-foreground-container {
  position: relative;
  width: 100%;
  min-height: clamp(90px, 15vw, 220px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
}

.svg-left {
  position: absolute;
  left: 0;
  bottom: 0;
  height: clamp(50px, 8vw, 100px);
  max-width: 20vw;
  display: block;
}

.svg-right {
  position: relative;
  display: block;
  height: clamp(90px, 15vw, 220px);
  max-width: 33vw;
  padding-top: 1rem;
}

.banner-parent-wrapper {
  position: relative;
  width: 100%;
  min-height: 0;
  margin: 0 auto;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.graphic-background-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

.graphic-background-layer canvas.dot-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-inner-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.text-overlay-layer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.75rem 0 2rem;
}

/* UMD Banner Typography */
.umd-eyebrow {
  display: inline-block;
  font-weight: 700;
  color: #000000;
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  background-color: #FFD200;
  padding: 8px 24px;
  margin-bottom: 12px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.umd-headline {
  font-family: 'Barlow Condensed', Arial Narrow, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0 0 12px 0;
  text-shadow: 
    0 0 10px var(--bg-color),
    0 0 20px var(--bg-color),
    0 0 35px var(--bg-color);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.umd-subtext {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.3;
  margin: 0;
  color: var(--text-accent);
  text-shadow: 
    0 0 8px var(--bg-color),
    0 0 16px var(--bg-color),
    0 0 28px var(--bg-color);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* Plain icon+text hero links */
.hero-plain-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  margin: 0.75rem 0 0;
}
.hero-plain-links a,
.sc-banner-links a,
.text-overlay-layer a {
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  text-shadow:
    0 0 8px var(--bg-color),
    0 0 16px var(--bg-color),
    0 0 28px var(--bg-color);
  transition: color 0.4s ease;
}
.hero-plain-links a::before,
.sc-banner-links a::before,
.text-overlay-layer a::before {
  content: "";
  position: absolute;
  inset: -.5em -.85em;
  border-radius: .85em;
  background-color: rgba(255, 255, 255, 0.055);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 100% 100% at center, #000 40%, transparent 90%);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  z-index: -1;
  pointer-events: none;
}
:root:not(.dark) .hero-plain-links a::before,
:root:not(.dark) .sc-banner-links a::before,
:root:not(.dark) .text-overlay-layer a::before {
  background-color: rgba(0, 0, 0, 0.035);
}
.hero-plain-links a:hover, .hero-plain-links a:focus-visible,
.sc-banner-links a:hover, .sc-banner-links a:focus-visible,
.text-overlay-layer a:hover, .text-overlay-layer a:focus-visible {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hero-plain-links a:hover::before, .hero-plain-links a:focus-visible::before,
.sc-banner-links a:hover::before, .sc-banner-links a:focus-visible::before,
.text-overlay-layer a:hover::before, .text-overlay-layer a:focus-visible::before {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(11px) saturate(170%);
  -webkit-backdrop-filter: blur(11px) saturate(170%);
}
:root:not(.dark) .hero-plain-links a:hover::before, :root:not(.dark) .hero-plain-links a:focus-visible::before,
:root:not(.dark) .sc-banner-links a:hover::before, :root:not(.dark) .sc-banner-links a:focus-visible::before,
:root:not(.dark) .text-overlay-layer a:hover::before, :root:not(.dark) .text-overlay-layer a:focus-visible::before {
  background-color: rgba(0, 0, 0, 0.10);
}

.pill {
	border-radius: 100vw;
	padding: 0.25rem 0.75rem;
}

/* Theme Toggle Switch */
.theme-toggle-switch {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  padding: 4px;
  user-select: none;
}
.theme-toggle-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at center, #000 55%, transparent 100%);
  transition: backdrop-filter 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

:root:not(.dark) .theme-toggle-switch::before {
  background-color: rgba(0, 0, 0, 0.06);
}
.theme-toggle-switch:hover::before,
.theme-toggle-switch:focus-within::before {
  backdrop-filter: blur(11px) saturate(170%);
  -webkit-backdrop-filter: blur(11px) saturate(170%);
}

.theme-toggle-switch .slider-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

/* Dark mode (Left) */
:root.dark .theme-toggle-switch .slider-thumb,
.dark .theme-toggle-switch .slider-thumb {
  transform: translateX(0%);
  background: rgba(255, 255, 255, 0.22);
}

/* Light mode (Right) */
:root:not(.dark) .theme-toggle-switch .slider-thumb {
  transform: translateX(100%);
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn {
  flex: 1;
  justify-content: center;
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  font: inherit;
  color: var(--text-main);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.theme-toggle-btn.active,
.theme-toggle-btn:hover,
.theme-toggle-btn:focus {
  opacity: 1;
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--umd-red);
  outline-offset: 2px;
}

umd-element-scroll-top {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  flex-shrink: 0 !important; /* Prevents parent flexbox from squishing it */
}

#navbar1 {
  background-color: #FFFFFF;
  padding-top: 25px;
}

#navbar2 {
  background-color: #FFFFFF;
  border-bottom: 1px #ebebeb solid;
  z-index: 1000;
}

.nav > li > a {
  color: #333;
  min-height: 44px;
  min-width: 44px;
}

.nav > li > a:hover,
.nav > li > a:focus {
  color: #000000;
  text-decoration: none;
  background-color: #EAF2F8;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-menu > li > a {
  min-height: 44px;
  line-height: 2em;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #EAF2F8;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  border-radius: 6px 0 6px 6px;
}

/* ACCESSIBILITY / SKIP LINK */
a.skip-main {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
  z-index: 9999;
}

a.skip-main:focus, 
a.skip-main:active {
  position: fixed;
  top: 10px;
  left: 10px;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
  font-size: 1.25em;
  line-height: 1.5;
  padding: 10px 15px;
  background: #000000;
  color: #ffffff;
  border: 2px solid #FFD200;
}

.btn-primary,
.btn-primary:active,
.btn-primary:visited,
button[type="submit"],
.apply-btn {
  background-color: #e21833;
  border-color: #e21833;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
button[type="submit"]:hover,
button[type="submit"]:focus,
.apply-btn:hover,
.apply-btn:focus {
  background-color: #b81228;
  border-color: #b81228;
  color: #ffffff;
}

.form-check-input:checked,
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: #e21833;
  border-color: #e21833;
}

.form-check-input:focus,
.form-control:focus,
input[type="text"]:focus,
input[type="checkbox"]:focus {
  border-color: #e21833;
  box-shadow: 0 0 0 0.25rem rgba(226, 24, 51, 0.25);
}

.blue-btn {
  color: #fff;
  background-color: #007bff;
  padding: 5px 12px;
  border: 1px solid #007bff;
  border-radius: 4px;
  margin: 0 0 0 10px;
}

.btn-link {
  font-weight: 400;
  color: #007bff;
  text-decoration: none;
  min-height: 45px;
  min-width: 45px;
  padding: 12px;
}

.btn-link:hover,
.btn-link:focus {
  color: #d4001c;
  text-decoration: none;
  font-weight: bold;
  box-shadow: none;
}

.btn-link.disabled,
.btn-link:disabled {
  color: #6c757d;
  pointer-events: none;
}

#dynamicFiltersContainer label {
  margin-bottom: 0;
}

.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-body {
  padding: 15px;
}

.panel-body:before, 
.panel-body:after {
  content: " ";
  display: table;
}

.panel-body:after {
  clear: both;
}

.panel-body a {
  text-decoration: underline;
}

.panel-heading {
  padding: 2px 15px;
  border-bottom: 1px solid transparent;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.panel-heading > .dropdown .dropdown-toggle {
  color: inherit;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  color: inherit;
  line-height: 2.75em;
  min-height: 45px;
  min-width: 45px;
}

.panel-title > a,
.panel-title > small,
.panel-title > .small {
  color: inherit;
  padding: 13px 5px;
  min-height: 45px;
  min-width: 45px;
}

.panel-title > a:before {
  float: left !important;
  content: "\2212"; /* Minus sign */
  padding-right: 16px;
  font-size: 1.25em;
  font-weight: 700;
}

.panel-title > a.collapsed:before {
  float: left !important;
  content: "\002b"; /* Plus sign */
}

.collapsed:hover,
.collapsed:focus {
  color: #d4001c;
  font-weight: bold;
}

.panel-group {
  margin-bottom: 20px;
}

.panel-group .panel {
  margin-bottom: 0;
  border-radius: 4px;
}

.panel-group .panel + .panel {
  margin-top: 5px;
}

.panel-group .panel-heading {
  border-bottom: 0;
}

.panel-group .panel-heading + .panel-collapse > .panel-body {
  border-top: 1px solid #ddd;
}

.panel-group .panel .panel-body {
  border-top: 0 !important;
  background-color: #f1f1f1;
  padding: 20px 30px;
}

.panel-group a:hover,
.panel-group a:focus {
  color: #333;
}

/* Panel Context Variants */
.panel-default { border-color: #ddd; }
.panel-default > .panel-heading { color: #333; background-color: #f5f5f5; border-color: #ddd; }

.panel-primary { border-color: #337ab7; }
.panel-primary > .panel-heading { color: #fff; background-color: #337ab7; border-color: #337ab7; }

.panel-success { border-color: #d6e9c6; }
.panel-success > .panel-heading { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; }

.panel-info { border-color: #bce8f1; }
.panel-info > .panel-heading { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; }

.panel-warning { border-color: #faebcc; }
.panel-warning > .panel-heading { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; }

.panel-danger { border-color: #ebccd1; }
.panel-danger > .panel-heading { color: #a94442; background-color: #f2dede; border-color: #ebccd1; }

footer {
  background-color: #222;
  width: 100%;
  height: auto;
}

.footer_header, h6 {
  color: #FFD520;
  font-size: 1em;
}

.addresshead {
  color: #d6d6d6;
  font-size: 1em;
}

.address {
  color: #d6d6d6;
  font-size: 0.875em;
}

footer li {
  font-size: 0.875em;
  padding: 5px 1px;
}

footer a {
  color: #ffffff;
  padding: 5px 1px;
}

footer a:hover,
footer a:focus {
  color: #FFD520;
  text-decoration: underline;
}

.card-wrapper {
  max-width: 1100px;
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}

.card-list .card-item {
  list-style: none;
}

.card-list .card-item .card-link {
  user-select: none;
  display: block;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
}

.card-list .card-item .card-link:active {
  cursor: grabbing;
}

.card-list .card-item .card-link:hover,
.card-list .card-item .card-link:focus {
  border-color: #5372f0;
}

.card-list .card-link .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.card-list .card-link .badge {
  color: blue;
  margin: 16px 0 18px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  background: #dde4ff;
  width: fit-content;
  border-radius: 50px;
}

.card-list .card-link .card-title {
  font-size: 16px;
  color: #000000;
  font-weight: 400;
}

.card-list .card-link .card-button {
  height: 35px;
  width: 35px;
  color: #5372f0;
  border-radius: 50%;
  margin: 30px 0 5px;
  background: none;
  cursor: pointer;
  transform: rotate(-45deg);
  border: 2px solid #5382f0;
  transition: 0.4s ease;
}

.card-list .card-link:hover .card-button,
.card-list .card-link:focus .card-button {
  color: #fff;
  background: #5372f0;
}

.card-wrapper .swiper-pagination-bullet {
  height: 13px;
  width: 13px;
  opacity: 0.5;
  background: #5372f0;
}

.card-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
}

.card-wrapper .swiper-slide-button {
  color: #5372f0;
  margin-top: -35px;
}

.full-width {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

.line {
  height: 2px;
  border: 0;
  color: #000000;
  background-color: #000000;
  opacity: 0.20;
}

.tableofcontent {
  background-color: #f1f1f1;
  padding: 10px;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.slide-link, .list-link {
  color: #190cab;
  position: relative;
  text-decoration: underline;
}

.slide-link { margin-bottom: 30px; line-height: 16px; }
.list-link { line-height: 2.9em; padding: 15px 2px; }

.slide-link:hover,
.slide-link:focus { color: #333; }

/* PINNED CORNER BUTTONS (bottom-right stack)          */
:root {
  --ldw-pin-size: 52px;
  --ldw-pin-offset: 24px;
  --ldw-pin-gap: 12px;          /* buffer between stacked pinned buttons */
  --ldw-pin-accent: var(--umd-red);
  --ldw-pin-accent-dark: #A6001A;
  --ldw-pin-gold: var(--umd-gold);
}

#to-top-button,
#to-top-button > div {
  margin: 0 !important;
  min-height: 0 !important;
}

/* FIX: Prevent Web Component collapse across all viewports */
umd-element-scroll-top {
  display: inline-block;
  min-width: 44px;
  min-height: 44px;
  width: auto;
  height: auto;
}

.ldw-pin-fab {
  width: var(--ldw-pin-size);
  height: var(--ldw-pin-size);
  border-radius: 50%;
  border: none;
  background: var(--ldw-pin-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  position: relative;
  padding: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.ldw-pin-fab:hover,
.ldw-pin-fab:focus-visible {
  background: var(--ldw-pin-accent-dark);
  transform: scale(1.06);
}
.ldw-pin-fab:focus-visible {
  outline: 3px solid var(--ldw-pin-gold);
  outline-offset: 2px;
}

.ldw-pin-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.ldw-pin-fab:hover .ldw-pin-tooltip,
.ldw-pin-fab:focus-visible .ldw-pin-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .ldw-pin-fab, .ldw-pin-tooltip { transition: none !important; }
}

@media (max-width: 420px) {
  :root {
    --ldw-pin-size: 48px;
    --ldw-pin-offset: 14px;
    --ldw-pin-gap: 8px;
  }
}

.fade-in-element { 
  opacity: 0; 
  transition: opacity 0.8s ease-in-out; 
}
.fade-in-element.show { 
  opacity: 1; 
}

.slide-up { transform: translateY(100px); transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out; opacity: 0; }
.slide-right { transform: translateX(-100px); transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out; opacity: 0; }
.slide-left { transform: translateX(100px); transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out; opacity: 0; }

.slide-up.show, .slide-right.show, .slide-left.show {
  transform: translate(0, 0);
  opacity: 1;
}

.zoom-out-element {
  transform: scale(1.5);
  opacity: 0;
  transition: transform 1.0s ease-in-out, opacity 0.8s ease-in-out;
  transition-delay: 0.2s;
}

.zoom-out-element.show {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-element, .slide-up, .slide-right, .slide-left, .zoom-out-element {
    opacity: 1;
    transform: translate(0, 0);
    transition: none !important;
    animation: none;
  }
}

html.ldw-motion-paused *:not(.sc-spin):not(.sc-spin *),
html.ldw-motion-paused *:not(.sc-spin)::before,
html.ldw-motion-paused *:not(.sc-spin)::after {
  animation: none !important;
  transition: none !important;
}
html.ldw-motion-paused .truck-group { transform: translateX(60px) !important; }
html.ldw-motion-paused .wheel { transform: rotate(180deg) !important; }
html.ldw-motion-paused .package-slide-group { opacity: 0 !important; transform: translate(80px, 44px) !important; }
html.ldw-motion-paused .package-ground-group { opacity: 1 !important; }
html.ldw-motion-paused { scroll-behavior: auto; }
html.ldw-motion-paused .fade-in-element,
html.ldw-motion-paused .slide-up,
html.ldw-motion-paused .slide-right,
html.ldw-motion-paused .slide-left,
html.ldw-motion-paused .zoom-out-element {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  html:not(.ldw-motion-playing) { scroll-behavior: auto; }
}

/* The Pause / Play button */
.ldw-motion-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  color: var(--text-main);
}
.ldw-motion-btn svg { fill: currentColor; flex: none; }
.ldw-motion-btn:focus-visible { outline: 2px solid var(--text-accent); outline-offset: 2px; }
.ldw-motion-btn--banner {
  position: absolute;
  top: 4.3rem;
  right: 1.5rem;
  z-index: 10;
  pointer-events: auto;
  height: 2.3rem;                        /* js/main.js makes it the same height as the switch */
  padding: 0 0.95rem;
  border-radius: 30px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
/* Glow on ::before, not on the button itself */
.ldw-motion-btn--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 100% at center, #000 55%, transparent 100%);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  z-index: -1;
  pointer-events: none;
}
:root:not(.dark) .ldw-motion-btn--banner::before { background-color: rgba(0, 0, 0, 0.06); }
.ldw-motion-btn--banner:hover, .ldw-motion-btn--banner:focus { opacity: 1; }
.ldw-motion-btn--banner:hover::before, .ldw-motion-btn--banner:focus::before { background-color: rgba(255, 255, 255, 0.16); backdrop-filter: blur(11px) saturate(170%); -webkit-backdrop-filter: blur(11px) saturate(170%); }
:root:not(.dark) .ldw-motion-btn--banner:hover::before, :root:not(.dark) .ldw-motion-btn--banner:focus::before { background-color: rgba(0, 0, 0, 0.12); }
.ldw-motion-btn--float {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 900;
  padding: 0.55rem 1rem;
  color: #FFFFFF;
  background: #111213;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.ldw-motion-btn--float:hover { background: #2c2c2c; }
.ldw-motion-btn--float:focus-visible { outline-color: #FFD200; }
/* Fixed to the top-right corner of the homepage's own hero */
.ldw-motion-btn--hero {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  height: 2.3rem;
  padding: 0 0.95rem;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
}
.ldw-motion-btn--hero:hover { background-color: rgba(255, 255, 255, 0.16); }
.ldw-motion-btn--hero:focus-visible { outline-color: #FFD200; }
@media (max-width: 640px) {
  .ldw-motion-btn--banner, .ldw-motion-btn--hero { width: 2.3rem; padding: 0; justify-content: center; }
  .ldw-motion-btn--banner .ldw-motion-btn__text, .ldw-motion-btn--hero .ldw-motion-btn__text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.ldw-motion-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media screen and (max-width: 360px) {
  h1 { font-size: 1.5em; padding-bottom: 10px; }
  h2 { font-size: 1.3em; }
  .hero h1 { padding-left: 10px; }
  .hero p { font-size: 1em; }
  .hero .update { font-size: 0.85em; }
  .hr1 { display: block; margin: 0 auto; }
  .largetext { color: #fff; }
}

@media screen and (min-width: 361px) {
  h1 { font-size: 2em; padding-bottom: 10px; }
  h2 { font-size: 1.75em; }
  .hero h1 { padding-left: 10px; }
  .hero p { font-size: 1.1em; }
  .hero .update { font-size: 0.85em; }
  .hr1 { display: block; margin: 0 auto; }
  .largetext { color: #fff; font-size: 20px; }
  #scrolldown { width: 10%; height: 10%; }
}

@media (max-width: 629px) {
  .centered p { font-size: 1em; color: #fff; }
  #main { margin-top: 25px; margin-bottom: 25px; }
}

@media (min-width: 630px) {
  .centered p { font-size: 1.1em; color: #fff; }
  .container { padding-top: 2%; padding-bottom: 2%; }
  #main { min-height: 550px; }
}

@media (max-width: 768px) {
  /* Footer SVGs Mobile Layout */
  .svg-foreground-container { min-height: 90px; }
  .svg-left { height: 38px; max-width: 30vw; }
  .svg-right { height: 90px; max-width: 45vw; }

  /* Hero & Banner Mobile Layout */
  .banner-parent-wrapper { min-height: 0; }
  .text-overlay-layer { padding: 4.5rem 1.5rem 1.75rem; align-items: center; text-align: center; width: 100%; }   /* the top space clears the Dark/Light switch */
  .umd-headline { font-size: clamp(2rem, 8vw, 3rem); }

  /* Navigation & Logos */
  .IRPAlogo { display: none; }
  .UMDIRPAlogo { width: 75%; height: auto; }

  /* UI Adjustments */
  #to-top-button { width: auto; }
  #to-top-button a { padding: 0; margin: 0; }
  #to-top-button i { padding: 5px; }
  .small-screen-hide, .small-screen-hide * { display: none; padding: 0; margin: 0; }
  .card-wrapper { margin: 0 50px 25px; }
}

@media (min-width: 769px) {
  .UMDIRPAlogo { width: 40%; height: auto; }
  .IRPAlogo { width: 10%; height: auto; float: right; }
}

@media (max-width: 1179px) {
  .mobile-hide { display: none; }
  .non-mobile-hide { display: block; }
}

@media (min-width: 1180px) {
  .non-mobile-hide { display: none; }
  .mobile-hide { display: block; }
}



/* DATA VIZ CHAMPIONSHIP TEASER (homepage)            */
.dataviz-championship-card {
  position: relative;
}
.dataviz-championship-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;                 /* clips the image below to this box */
  background-color: #200307;        /* the SVG's own fill -- shows wherever the image doesn't reach */
}
/* Mobile default */
.dataviz-championship-bg img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.dataviz-championship-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
@media (max-width: 767px) {
  .dataviz-championship-inner {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
.dataviz-championship-content {
  color: #FFFFFF;
  background-color: #200307;
  padding: 2rem 1.5rem;
  text-align: left;
}
.dataviz-championship-heading {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: 800;
}
.stayconnected-heading {
  font-weight: 800;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}
.stayconnected-intro-wrapper {
  padding-left: 0;
  padding-right: 0;
}
.dataviz-championship-text {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}
.dataviz-championship-actions {
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .dataviz-championship-card {
    min-height: 26rem;
    display: flex;
    align-items: center;
  }
  .dataviz-championship-bg {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
    padding: 2.5rem;
  }
  .dataviz-championship-bg img {
    top: 56%;
    right: auto;
    bottom: auto;
    left: 66%;
    width: 48%;
    height: auto;
    object-fit: unset;
    transform: translate(-20%, -50%) rotate(-25deg);
  }
  .dataviz-championship-content {
    max-width: 60%;
    /* No left padding here */
    padding: 2.5rem 2.5rem 2.5rem 0;
    background: linear-gradient(100deg, rgba(32,3,7,0.88) 0%, rgba(32,3,7,0.6) 75%, rgba(32,3,7,0) 100%);
  }
}


/* Skip link */
.umd-skip-content:focus { z-index: 2147483000 !important; }
