/* HAMBURGER ICON ANIMATION */

.burger-icon {
  width: 18px;
  margin: 0px 5px 0px 0px;
}

.burger-icon > span {
  display: block;
}

/* OFFCANVAS MENU */

body.ltr .close-offcanvas {
  right: 8px;
  top: 32px;
}

.offcanvas-menu.border-menu .offcanvas-inner ul.menu > li > a {
  padding: 20px 10px 20px 5px;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a, 
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  font-size: 16px;
  font-weight: 600;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > ul li a {
  font-size: 16px;
  padding: 14px 8px;
  line-height: 38px;
  font-weight: 500;
}

.offcanvas-menu .offcanvas-inner ul.menu > li a, 
.offcanvas-menu .offcanvas-inner ul.menu > li span {
  color: #1a1a1a;
}

/* SCHOOL BAR TEXT */

.school-navbar {
  background-color: #e8e8e8;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 0px 1px rgba(0,0,0,0.1);
}

.school-navbar .nav-menu {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.school-navbar .nav-menu li {
  flex: 1;
  text-align: center;
  box-shadow: 0 0px 1px rgba(0,0,0,.08);
  position: relative;
}

.school-navbar .nav-menu li:first-child {
  border-left: none;
}

.school-navbar .nav-menu a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: #444;
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  transition: color 0.3s ease;
}

.school-navbar .nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #1a1a1a;
  transition: width 0.3s ease;
}

.school-navbar .nav-menu a:hover::after {
  width: 100%;
}

.school-navbar .nav-menu a:hover {
  color: #000;
}

@media (max-width: 1200px) {
  .school-navbar .nav-menu a {
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .school-navbar .nav-menu a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .school-navbar .nav-menu {
    flex-direction: column;
  }

  .school-navbar .nav-menu li {
    border-left: none;
    border-bottom: 1px solid #ccc;
  }

  .school-navbar .nav-menu li:last-child {
    border-bottom: none;
  }

  .school-navbar .nav-menu a {
    font-size: 1rem;
    padding: 1rem;
  }

  .school-navbar .nav-menu a::after {
    display: none;
  }
}

/* NAVBAR BUTTONS */

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
  padding-top: 38px;
  padding-bottom: 18px;
  padding-left: 8px;
  padding-right: 8px;
  width: 100%;
  box-sizing: border-box;
}

.nav-buttons-item {
  flex: 1 1 100px;
  max-width: 120px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.nav-buttons-item img {
  display: block;
  margin: 0 auto 8px;
  margin-bottom: 8px;
  width: 42px;
  height: 42px;
}

.nav-buttons-item:hover {
  transform: scale(1.05);
  color: #044CD0;
}

.nav-extra {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  box-sizing: border-box;
}

.nav-extra-inner {
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  text-align: center;
  width: 100%;
}

.nav-buttons.extra-row {
  margin: 0 auto;
  max-width: 1000px;
  justify-content: center;
}

.nav-expand {
  text-align: center;
  margin: 0;
  padding-top: 2px;
}

.nav-expand-button {
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-top: 0px;
  padding-bottom: 18px;
  padding-left: 8px;
  padding-right: 8px;
}

.nav-expand-button:hover {
  color: #044CD0;
}

.nav-expand-button .arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

@media (max-width: 900px) {
  .nav-buttons { justify-content: space-around; gap: 15px; }
}
@media (max-width: 768px) {
  .nav-buttons-item { flex: 1 0 30%; }
}
@media (max-width: 480px) {
  .nav-buttons-item { flex: 1 0 45%; }
}

/* Nav Button Bar - Athletics */

.sport-name {
  text-align: center;
  font-size: 1em;
  color: #000;
}

.nav-buttons-item:hover {
  transform: scale(1.05);
  color: #044CD0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.nav-buttons-item:hover .sport-name {
  color: #044CD0;
}

.nav-buttons-item.has-sub {
  transition: transform 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: visible;
}

.sub-menu {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
  text-align: center;
  margin-top: 5px;
  font-size: 0.9em;
  color: #000;
  white-space: nowrap;
  opacity: 0;
  display: inline-block;
  min-width: max-content;
}

.sub-menu a {
  text-decoration: none;
  color: inherit;
  padding: 0 3px;
}

.sub-menu a:hover {
  text-decoration: underline;
  color: #044CD0;
}

.ssl-toggle.open + .sub-menu {
  max-height: 40px;
  opacity: 1;
}

.athletics-nav .nav-buttons {
  padding-top: 38px;
  padding-bottom: 18px;
  gap: 20px;
}

.athletics-nav .nav-buttons-item {
  flex: 1 1 100px;
  max-width: 120px;
  margin-bottom: 8px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.athletics-nav .nav-buttons-item:hover {
  transform: scale(1.05);
  color: #044CD0;
}

.athletics-nav .nav-buttons-item:hover .sport-name {
  color: #044CD0;
}

.athletics-nav .nav-buttons-item img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.athletics-nav .nav-buttons.row-2 {
  margin-top: -8px;
}

@media (max-width: 1200px) {
  .athletics-nav .nav-buttons-item { flex: 1 0 15%; }
}
@media (max-width: 900px) {
  .athletics-nav .nav-buttons-item { flex: 1 0 22%; }
}
@media (max-width: 768px) {
  .athletics-nav .nav-buttons-item { flex: 1 0 30%; }
}
@media (max-width: 480px) {
  .athletics-nav .nav-buttons-item { flex: 1 0 45%; }
}

/* RESPONSIVE GOOGLE CALENDAR */

section {
  margin:0 auto;
}

.responsive-iframe-container {
  margin:0 auto;
  position: relative;
  height:0;
  overflow: hidden;
}

.responsive-iframe-container iframe {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
}

@media (max-width:549px) {
  .desktop-header { display:none; }
  .large-container { display: none; }
  .responsive-iframe-container {
    padding-bottom:500px;
    width:100%;
  }
}

@media (min-width:550px) {
  .mobile-header { display:none; }
  .small-container { display: none; }
  .responsive-iframe-container {
    padding-bottom:650px;
    width: 100%;
    max-width: 1400px;
  }
}

/* STAFF DIRECTORY */

#adminForm #contactList thead,
#adminForm #contactList .visually-hidden,
#adminForm #contactList caption {
  display: none !important;
}

#adminForm #contactList.table-striped > tbody > tr:nth-of-type(2n+1) > *,
#adminForm #contactList.table-striped > tbody > tr > * {
  --bs-table-accent-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

#adminForm #contactList {
  border: none !important;
  background: transparent !important;
  width: 100% !important;
}

#adminForm #contactList tbody {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.25rem !important;
  padding: 0 !important;
}

#adminForm #contactList tr {
  display: flex !important;
  flex-direction: column !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  height: 100% !important;
}

#adminForm #contactList th.list-title {
  display: block !important;
  border: none !important;
  padding: 0.75rem 0.75rem 0.5rem 0.75rem !important;
  background-color: transparent !important;
  text-align: left !important;
}

#contactList .contact-thumbnail, 
#contactList img.img-thumbnail {
  border: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background-color: transparent !important;
  border-radius: 6px !important;
  width: 75% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}

#contactList td {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0.25rem 1rem 1rem 1rem !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
  text-align: left !important;
  line-height: 1.45 !important;
  word-break: break-word !important;
}

#contactList td .fw-bold,
#contactList td a.fw-bold {
  text-align: left !important;
  display: block !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #3b82f6 !important;
  margin-top: 0.85rem !important;
  margin-bottom: 0.25rem !important;
  pointer-events: none;
  cursor: default;
  text-decoration: none !important;
}

#contactList td .contact-category,
#contactList td span.category-title {
  display: block !important;
  text-align: left !important;
  font-size: 0.85rem !important;
  color: #334155 !important;
  font-weight: 600 !important;
  margin-bottom: 0.2rem !important;
}

#contactList td .contact-position,
#contactList td .contact-phone {
  display: block !important;
  text-align: left !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
  margin-bottom: 0.2rem !important;
}

#contactList td i.fa-phone {
  color: #64748b;
  margin-right: 0.25rem;
}

#contactList td .card-actions,
#contactList .card-actions,
#contactList joomla-hidden-mail {
  margin-top: auto !important;
  padding-top: 0.75rem !important;
  display: block !important;
}

#contactList joomla-hidden-mail a,
#contactList .btn-website {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: #ffffff !important;
  background-color: #4f46e5 !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease-in-out !important;
  pointer-events: auto !important;
  width: auto !important;
}

#contactList joomla-hidden-mail a:hover,
#contactList .btn-website:hover {
  background-color: #4338ca !important;
  color: #ffffff !important;
}

#contactList joomla-hidden-mail a {
  font-size: 0 !important;
}

#contactList joomla-hidden-mail a::before {
  content: "Email" !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: #ffffff !important;
}

#adminForm #contactList.table-bordered > :not(caption) > * > *,
.table-bordered > :not(caption) > * > * {
  border-width: 0 !important;
  border: none !important;
}

/* SLIDER STYLES */

.joomla-slider {
  width: 100%;
  max-width: 100%;
  margin: 1rem 0;
  font-family: inherit;
}
.slider-item {
  border: 1px solid #e2e8f0;
  border-radius: 0;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.slider-header {
  position: relative;
  padding: 1rem 2.5rem 1rem 1.25rem;   /* extra right padding for the icon */
  background-color: #f8f8f8;
  color: #252525;
  font-weight: 600;
  cursor: pointer;
  border-left: 4px solid #b3b3b3;   /* fallback if no color class is set */
  transition: background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}
.slider-header:hover,
.slider-item.is-open > .slider-header {
  background-color: #e8e8e8;
}

/* Plus/minus icon — pure CSS, no HTML element required */
.slider-header::before,
.slider-header::after {
  content: '';
  position: absolute;
  top: 50%;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.slider-header::before {
  right: 1.25rem;
  width: 12px;
  height: 2px;
  transform: translateY(-50%);
}
.slider-header::after {
  right: calc(1.25rem + 5px);
  width: 2px;
  height: 12px;
  transform: translateY(-50%);
}
.slider-item.is-open > .slider-header::after {
  transform: translateY(-50%) scaleY(0);
  opacity: 0;
}

/* Sliding animation — keeps content always rendered and collapses it
   via CSS grid, since display:none can't be transitioned. */
.slider-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.slider-item.is-open > .slider-content {
  grid-template-rows: 1fr;
}
.slider-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.25rem;
  color: #475569;
  line-height: 1.6;
  transition: padding 0.3s ease;
}
.slider-item.is-open > .slider-content > .slider-inner {
  padding: 1rem 1.25rem;
}

/* SLIDER COLORS — left border accent, light header bg, same hex values as before */
.slider-item.white  > .slider-header { border-left-color: #ffffff; }
.slider-item.black  > .slider-header { border-left-color: #000000; }
.slider-item.grey   > .slider-header { border-left-color: #777777; }
.slider-item.carbon > .slider-header { border-left-color: #333333; }
.slider-item.yellow > .slider-header { border-left-color: #ffd966; }
.slider-item.red    > .slider-header { border-left-color: #cc0000; }
.slider-item.blue   > .slider-header { border-left-color: #0b5394; }
.slider-item.green  > .slider-header { border-left-color: #6aa84f; }
.slider-item.brown  > .slider-header { border-left-color: #744700; }
.slider-item.orange > .slider-header { border-left-color: #e69138; }
.slider-item.purple > .slider-header { border-left-color: #674ea7; }
.slider-item.pink   > .slider-header { border-left-color: #ea9999; }
.slider-item.maroon > .slider-header { border-left-color: #651b2b; }

/* EASY FOLDER LISTING ALIGN */

td img[src*="mod_easyfolderlisting"] {
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 6px !important;
  float: none !important;
}

td img[src*="mod_easyfolderlisting"] + a {
  display: inline-block !important;
  vertical-align: middle !important;
}

/* SUICIDE PREVENTION SPACE */

#sp-suicide-prevention {
  margin-top: 18px;
}

/* EBSCO RESOURCES DROPDOWN */

#resources {
  width: auto;
  min-width: 250px;
  max-width: 100%;
  padding-right: 2em;
}

/* MISSION & VISION STATEMENTS */

.statements {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.statement h2 {
  margin: 0 0 0.5rem 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.statement .our { color: #651b2b; }
.statement .type { color: #000000; }
.statement p { margin: 0; font-size: 1.01rem; line-height: 1.5; }

/* ARROW BUTTON */

.arrow-button {
  display: flex;
  color: #0345bf;
  background-color: #ffffff;
  padding: 6px 10px;
  border: 2px solid #0345bf;
  border-radius: 3px;
  transition: all .4s ease;
  font-weight: bold;
  cursor: pointer;
  align-items: center;
  font-size: 13px;
  margin: 0px 0px 8px 0px;
}

.arrow-button > .arrow {
  width: 6px;
  height: 6px;
  border-right: 2px solid #0345bf;
  border-bottom: 2px solid #0345bf;
  position: relative;
  transform: rotate(-45deg);
  margin: 0 6px;
  transition: all .2s ease;
}

.arrow-button > .arrow::before {
  display: block;
  background-color: currentColor;
  width: 3px;
  transform-origin: bottom right;
  height: 2px;
  position: absolute;
  opacity: 0;
  bottom: calc(-2px / 2);
  transform: rotate(45deg);
  transition: all .2s ease;
  content: "";
  right: 0;
}

.arrow-button:hover > .arrow {
  transform: rotate(-45deg) translate(4px, 4px);
  border-color: #f5f5f5;
}

.arrow-button:hover > .arrow::before {
  opacity: 1;
  width: 8px;
}

.arrow-button:hover {
  background-color: #0345bf;
  color: #f5f5f5;
}

/* START HERE */

.sp-module-title {
  font-size: 22px;
}

.sp-module-title,
h3.sp-module-title {
  display: flex !important;
  align-items: center !important;
}

.sp-module-title::before, 
h3.sp-module-title::before {
  content: none !important;
  display: none !important;
}

.schooleventsIcon .sp-module-title:before,
.athleticeventsIcon .sp-module-title:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 800;
  font-size: 1em;
  content: "\f138";
  padding-right: 0.5em;
}

.schooleventsIcon, .facebookIcon {
  padding-bottom: 2.2em;
}

.list-group-item {
  background: transparent;
  border: 1px solid #fafafa;
  line-height: 1.2;
  margin: 6px; 
}

.list-group-item.py-0 {
  padding: 8px !important;
}

.list-group-item + .list-group-item {
  border-top-width: 1px;
}

/* UPCOMING CALENDARS */

.ical_summary {
  font-weight: bold;
  font-size: 0.98em;
}

.ical_summary + span {
  font-size: 0.95em;
  line-height: 3;
}

.ical_details {
  font-weight: 300;
  font-size: 0.68rem;
  color: #484848;
  text-transform: uppercase;
}

/* ATHLETICS ROSTER */

.roster-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  font-family: Arial, sans-serif;
}

.roster-table tbody tr:nth-child(odd) { background-color: #ffffff; }
.roster-table tbody tr:nth-child(even) { background-color: #f8f8f8; }

.roster-table td {
  padding: 12px 15px;
  vertical-align: middle;
  border: none;
}

.roster-number {
  display: inline-block;
  background: #252525;
  color: #ffffff;
  font-weight: 800;
  padding: 8px 0; 
  border-radius: 0px;
  text-align: center;
  width: 40px; 
}

.roster-info {
  margin-left: 15px;
  display: inline-block;
  vertical-align: middle;
}

.roster-name {
  font-weight: bold;
  font-size: 1.05em;
  display: block;
}

.roster-grade {
  color: #555;
  font-size: 0.95em;
}

/* ATHLETICS SCHEDULE */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  font-family: Arial, sans-serif;
}

.schedule-table tbody tr:nth-child(odd) { background-color: #ffffff; }
.schedule-table tbody tr:nth-child(even) { background-color: #f8f8f8; }

.schedule-table td {
  padding: 12px 15px;
  vertical-align: middle;
  border: none;
}

.schedule-date-time {
  text-align: center;
  display: inline-block;
  min-width: 80px;
}

.schedule-date-time .schedule-date,
.schedule-date-time .schedule-time {
  display: block;
}

.schedule-date { font-weight: bold; }
.schedule-time { color: #555; font-size: 0.95em; }

.schedule-opponent { font-weight: bold; display: block; }
.schedule-location, .schedule-notes {
  color: #555;
  font-size: 0.95em;
  display: block;
}

/* CALENDAR EVENTS CAROUSEL */

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar { display: none; }

.events-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.events-list li {
  flex: 0 0 280px;
  min-height: 238px;
  background: #f8f8f8;
  padding: 16px;
  border-left: 4px solid #b3b3b3;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.events-list li.home-game { border-left-color: #651b2b; }
.events-list li .date { font-weight: bold; margin-bottom: 2px; }
.events-list li .time { font-weight: normal; margin-bottom: 12px; }
.events-list li .title { font-weight: bold; margin-bottom: 8px; font-size: 0.88rem; }
.events-list li .location { font-style: italic; font-size: 0.8rem; margin-bottom: 8px; color: #333; }
.events-list li .source { font-size: 0.7rem; color: #666; margin-top: auto; font-style: italic; }
.events-list li .source::before { content: "Calendar: "; font-weight: normal; }
.scroll-btn { width: 36px; height: 36px; line-height: 36px; text-align: center; font-size: 18px; color: #fff; background: rgba(100, 100, 100, 0.4); border: none; border-radius: 100%; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.scroll-btn.active { opacity: 1; visibility: visible; }
.scroll-btn:hover { background: rgba(0, 0, 0, 0.6); }
.scroll-btn.left { left: 10px; }
.scroll-btn.right { right: 10px; }

/* HIDE FEATURED BADGE */

span.badge.bg-danger.featured-article-badge {
  display: none;
}

/* SIDEBAR MENU ITEMS */

#sp-sidebar-2 .sp-module ul.mod-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

#sp-sidebar-2 .sp-module ul.mod-menu li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

#sp-sidebar-2 .sp-module ul.mod-menu li a,
#sp-sidebar-2 .sp-module ul.mod-menu li a:link,
#sp-sidebar-2 .sp-module ul.mod-menu li a:visited {
  display: inline-flex !important;
  align-items: center !important;
  width: 100% !important;
  color: #333333 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: normal !important;
  padding: 2px 0 !important;
  transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out !important;
}

#sp-sidebar-2 .sp-module ul.mod-menu li a::before {
  content: "\203A" !important;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  color: #111111 !important;
  opacity: 0.8 !important;
  margin-right: 8px !important;
  flex-shrink: 0 !important; /* Prevents arrow from compressing */
}

/* Hover state: Simulates bold without layout shift */
#sp-sidebar-2 .sp-module ul.mod-menu li a:hover {
  color: #000000 !important;
  font-weight: normal !important; /* Kept normal so container width doesn't expand */

  text-shadow: 0.25px 0 0 #000000, -0.25px 0 0 #000000 !important;

/*text-shadow: 0 0 0.65px #000000, 0 0 0.65px #000000 !important; */
  transform: none !important;
}

/* FOOTER MENU ITEMS */

#sp-footer-3 .footer-links-list ul.mod-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

#sp-footer-3 .footer-links-list ul.mod-menu li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Default state: Muted grey matching the address block */
#sp-footer-3 .footer-links-list ul.mod-menu li a,
#sp-footer-3 .footer-links-list ul.mod-menu li a:link,
#sp-footer-3 .footer-links-list ul.mod-menu li a:visited {
  display: inline-flex !important;
  align-items: center !important;
  color: #8f969b !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  transform: none !important;
  text-decoration: none !important;
  text-shadow: 0 0 0px rgba(255, 255, 255, 0) !important;
  transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out !important;
}

/* Arrow spacing and alignment */
#sp-footer-3 .footer-links-list ul.mod-menu li a::before {
  content: "\203A" !important;
  color: #8f969b !important;
  margin-right: 8px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  transform: none !important;
  transition: color 0.2s ease-in-out !important;
}

/* Hover state: Pure white with 0.25px smooth weight */
#sp-footer-3 .footer-links-list ul.mod-menu li a:hover {
  color: #ffffff !important;
  font-weight: 400 !important;
  text-shadow: 0.25px 0 0 #ffffff, -0.25px 0 0 #ffffff !important;
  transform: none !important;
}

#sp-footer-3 .footer-links-list ul.mod-menu li a:hover::before {
  color: #ffffff !important;
  transform: none !important;
}

/* JOB POSTINGS MENU ITEMS */

.job-positions-list ul,
.job-positions-list ul.category-module {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.job-positions-list ul li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.job-positions-list ul li a {
  display: inline-flex !important;
  align-items: center !important;
  width: 100% !important;
  color: #0345bf !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  padding: 2px 0 !important;
  text-shadow: 0 0 0px rgba(3, 69, 191, 0) !important;
  transition: color 0.15s ease-in-out, text-shadow 0.15s ease-in-out !important;
}

.job-positions-list ul li a::before {
  content: "\203A" !important;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  color: #111111 !important;
  opacity: 0.8 !important;
  margin-right: 8px !important;
  transition: opacity 0.15s ease-in-out !important;
}

/* Smooth "Bold" Hover: Preserves exact character widths */
.job-positions-list ul li a:hover {
  color: #0345bf !important;
  font-weight: 400 !important;
  text-shadow: 0.25px 0 0 #0345bf, -0.25px 0 0 #0345bf !important;
}

.job-positions-list ul li a:hover::before {
  color: #111111 !important;
  opacity: 1 !important;
}

/* Fallback message for empty position lists */
.job-positions-list:not(:has(li))::after {
  content: "There are no open positions at this time.";
  display: block;
  font-size: 14px;
  font-style: italic;
  color: #666666;
  padding: 4px 0;
}

.job-positions-list p.no-items,
.job-positions-list .category-module-empty {
  display: none !important;
}

/* SUB FOOTER MENU ITEMS */

#sp-footer ul.subfooter-inline-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 10px 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  align-items: center !important;
}

#sp-footer ul.subfooter-inline-links li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-footer ul.subfooter-inline-links li a {
  display: inline-flex !important;
  align-items: center !important;
  color: #a0a0a0 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  text-shadow: 0 0 0px rgba(255, 255, 255, 0) !important;
  transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out !important;
}

#sp-footer ul.subfooter-inline-links li a::before {
  content: "\203A" !important;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  color: #a0a0a0 !important;
  margin-right: 6px !important;
  transition: color 0.2s ease-in-out !important;
}

/* Hover State: Fades to white and simulates weight smoothly without layout shifting */
#sp-footer ul.subfooter-inline-links li a:hover {
  color: #ffffff !important;
  font-weight: 400 !important;
  text-shadow: 0.25px 0 0 #ffffff, -0.25px 0 0 #ffffff !important;
}

#sp-footer ul.subfooter-inline-links li a:hover::before {
  color: #ffffff !important;
}

/* Scoped row alignment strictly inside the footer wrapper */
#sp-footer > .container > .row,
#sp-footer .sp-grid-row {
  display: flex !important;
  align-items: center !important;
}

/* FOOTER SOCIAL MEDIA ICONS */

.subfooter-social-icons {
  display: flex !important;
  gap: 18px !important;
  align-items: center !important;
  margin-top: 28px !important;
}

.subfooter-social-icons a {
  display: inline-block !important;
  width: 28px !important;
  height: 28px !important;
  background-color: #ffffff !important;
  opacity: 0.8 !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  transition: background-color 0.4s ease-in-out, opacity 0.4s ease-in-out !important;
}

.subfooter-social-icons a:hover {
  opacity: 1 !important;
}

.subfooter-social-icons a.icon-facebook {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z'/%3E%3C/svg%3E") !important;
}

.subfooter-social-icons a.icon-facebook:hover {
  background-color: #1877f2 !important;
}

.subfooter-social-icons a.icon-youtube {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/%3E%3C/svg%3E") !important;
}

.subfooter-social-icons a.icon-youtube:hover {
  background-color: #df2426 !important;
}