  /* Keep link color consistent */
main .text-formatted a {
  color: #006DE0;
}

/* ✅ Safely remove underline from all link types without killing button color */
a.btn,
a.button,
a.wp-block-button__link,
a.column_button,
a.cta,
a.overlay-btn,
a.faq-cta {
  text-decoration: none !important;
  box-shadow: none !important; /* optional cleanup */
  background-image: none !important;
}

/* But restore background color for real buttons */
a.btn,
a.button,
a.wp-block-button__link,
a.column_button,
a.cta,
a.overlay-btn,
a.faq-cta {
  background-color: var(--btn-bg, #0066cc) !important;
  color: var(--btn-text, #fff) !important;
}

main .text-formatted a.card-link,
main .text-formatted a.advanced-card-link,
main .text-formatted a.acard-link {
  background-image: none !important;
  background-size: 0 !important;
  padding-bottom: 0 !important;
  transition: none !important;
  text-decoration: none !important;
}

a.jumbo-link {
  background-color: #f1f1f1 !important; /* light gray base */
  color: #003366 !important; /* UIS dark blue text */
  text-decoration: none !important; /* remove underline */
  background-image: none !important; /* cancel underline gradient */
  transition: color 0.3s ease, background-color 0.3s ease !important;
}

/* Force Theme 2 dropdown hover to stay white text on dark blue background */
#primary_nav_wrap > ul > li > ul > li:hover > a,
#primary_nav_wrap > ul > li > ul > li:hover > span {
  background-color: var(--t2-blue) !important;
  color: #fff !important;
}
a.jumbo-link:hover {
  background-color: #f1f1f1 !important; /* keep same background */
  color: #006DE0 !important; /* bright UIS blue on hover */
  text-decoration: none !important;
  background-image: none !important;
}

/* === FIX UIS BLOCK BUTTON HOVER === */
.wp-block-button__link,
a.column_button {
  display: inline-block !important;
  text-decoration: none !important;
  padding: 16px 26px !important;
  margin: 8px 0 !important;
  border-radius: 4px !important;
  background-color: #0066cc !important; /* dark UIS blue base */
  color: #ffffff !important;
  font-weight: 600 !important;
  text-align: center !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

/* ✅ UIS hover: gold background, white text stays */
.wp-block-button__link:hover,
a.column_button:hover {
  background-color: #003366 !important; 
  color: #ffffff !important;            
  text-decoration: none !important;
}

/* === UIS Underline Animation — Content Links Only === */
.node__content a:not(.btn):not(.button):not(.cta):not(.overlay-btn):not(.faq-cta):not(.card-btn):not(.menu__link):not(nav a):not(.block-menu a):not(header a):not(footer a) {
  display: inline;
  position: relative;
  text-decoration: none;

  padding-bottom: 3px;
  background-image: linear-gradient(#006DE0, #006DE0);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  transition: background-size 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

/* Hover animation — UIS established style */
.node__content a:hover:not(.btn):not(.button):not(.cta):not(.overlay-btn):not(.faq-cta):not(.card-btn):not(.menu__link):not(nav a):not(.block-menu a):not(header a):not(footer a) {
  background-size: 1.25em 3px;
}

/* === Fix: Remove underline from image-only links (e.g. profile sliders) === */
.node__content a:has(img) {
  background: none !important;
  background-image: none !important;
  background-size: 0 !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  text-decoration: none !important;
  transition: none !important;
}

/* Only add space between the heading and the button in hero/header sections */
.header-wrapper .btn {
  margin-top: 3.5em !important;
}

/* Center the text perfectly inside the Apply Today button */
.slide-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important; /* ensures clean centering */
  vertical-align: middle !important;
   transition: background-color 0.3s ease;
}

.slide-links a:hover {
  background-color: #16cc5c !important;
  color: #fff !important;
}