/*
 Theme Name: ufl-main-uni-child
 Template: ufl-main-uni
*/
/* Apply the specific font and remove underlines */
.site-title-nav {
  font-family: "IBM Plex Bold";
  text-decoration: none !important;
  margin-right: 35px !important; /* Reduced distance */ 
}
/* Removes the underline and box borders when clicking/hovering */
.custom-logo-link, 
.custom-logo-link:hover, 
.custom-logo-link:focus, 
.custom-logo-link:active {
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
/* Removes the focus-visible box specifically */
.custom-logo-link:focus-visible {
  outline: none !important;
}
.child-site-logo-text a {
  display: none !important;
  align-items: center !important;
}
/* Hides ONLY the parent empty footer */ 
footer.m-0.footer-title.pb-4.text-lg-start.text-white { 
	display: none !important; 
	visibility: hidden !important;
 	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
} 
footer.m-0.footer-title.pb-4.text-lg-start.text-white .container-fluid {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
@media (max-width:1409px) {
	#menu-item-3981 .dropdown-menu {
		column-count: 1 !important;
		flex-direction: column !important;
	}
}
.header #main-navbar #main-nav-ul .dropdown-toggle:focus {
	outline: none !important;
	box-shadow: none !important;
}
.custom-logo-link {
	gap: 10px !important;
}
@media (min-width: 992px) {
	.site-title-nav,
	.site-logo-text {
		font-size: 23px !important;
	}
}
/* Footer spacing */
.footer-wrapper .footer .footer-section {
  padding-left: 30px !important;
  padding-right: 30px !important;
}
/*Keyboard focus fix - header logo and title */
.custom-logo-link:focus {
	outline: 2px solid #FFFFFF !important;
	outline-offset: 4px !important;
	box-shadow: none !important;
}
/* Touch target - Search button (desktop only, scoped to prevent mobile breakage) */
@media (min-width: 992px) {
  .desk-only-search .search-button,
  #search-button {
    padding: 10px;
    box-sizing: border-box;
  }
}
/* Touch target - Main nav links (desktop only) */
@media (min-width: 992px) {
  #main-navbar .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
#main .gform_wrapper .gfield_required,
#main .gform_wrapper .gfield_required span {
	color: #9B3400 !important;
}
#main .gform_wrapper .gform-field-label--type-sub {
	color: #000000 !important;
}
/* Faculty Landing — card layout */
.faculty-page .faculty-listing-item {
  width: 300px !important;
  max-width: 300px !important;
  min-width: 200px !important;
  flex: 0 0 300px !important;
  margin-bottom: 45px !important;
}
.faculty-page .faculty-listing-img {
  width: 100% !important;
  max-height: 300px !important;
  overflow: hidden !important;
  display: block !important;
}
.faculty-page .faculty-listing-img img {
  width: 100% !important;
  height: auto !important;
  max-height: 300px !important;
  object-fit: cover !important;
  object-position: top center !important;
}
.faculty-page .faculty-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  justify-content: center !important;
  padding-top: 40px !important;
}
.faculty-page.light .faculty-listing-item .faculty-listing-bio p {
	line-height: 1.5 !important;
	}
/* Faculty Bio phone link touch target */
.faculty-tel {
  display: inline-block !important;
  min-height: 44px !important;
  line-height: 44px !important;
}
/* Fix hover — remove red, match Mercury grey overlay */
.faculty-page .faculty-listing-item .faculty-listing-img:after {
  background-color: #A3A3A3 !important;
  mix-blend-mode: multiply !important;
}
.faculty-page .faculty-listing-item:hover .faculty-listing-img img {
  filter: grayscale(100%) !important;
  transition: all 0.3s ease-in-out !important;
}
/* Remove any red hover from child theme links */
.faculty-page .faculty-listing-item a:hover,
.faculty-page .faculty-listing-item a:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}
.faculty-page .faculty-listing-bio a strong,
.faculty-page .faculty-listing-bio p strong,
.faculty-bio-header-text {
  font-weight: bold !important;
}
/* Event Shell Calendar Block */
#main .event-shell .inner-txt a {
  display: block !important;
  min-height: unset !important;
  align-items: unset !important;
}
#main .event-shell .inner-txt .date {
  font-size: 3rem !important;
  line-height: 1.5 !important;
  display: block !important;
}
#main .event-shell .inner-txt .time {
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  display: block !important;
}
.event-shell .carousel-control-prev,
.event-shell .carousel-control-next {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}
section.event-shell {
  overflow: hidden !important;
}
.event-shell .carousel-control-prev {
  left: 5px !important;
}
.event-shell .carousel-control-next {
  right: auto !important;
  left: calc(100% - 55px) !important;
}
/* Header title wrap */ 
.site-title-nav { 
	font-family: "IBM Plex Bold"; 
	text-decoration: none !important; 
	margin-right: 35px !important; 
	white-space: normal !important; 
	max-width: 24rem !important; 
	line-height: 1.2 !important; 
} 
/* Mobile header title only */
@media (max-width: 991px) {
	.header .custom-logo-link .site-title-nav {
		white-space: normal !important;
		display:block !important;
		max-width: 165px !important;
		font-size: 20px !important;
		line-height: 1.15 !important;
		margin: 0 !important;
	}
}
/* Footer title 2 lines like header on mobile view */
@media (max-width: 991px) {
 .footer-wrapper .site-logo-text {
  width: 170px !important;
  max-width: 170px !important;
  font-size: 20px !important;
  white-space: normal !important;
  line-height: 1.15 !important;
 }
 .footer-wrapper .footer-site-logo {
  gap: 1rem !important;
 }
}
/* Card Text Image block responsive fix */
@media (max-width: 991px) {
 .cards-text-image-inner-wrapper .col-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
 }
 .wp-block-create-block-card-text-image-inner {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-bottom: 40px !important;
 }
 .wp-block-create-block-card-text-image-inner img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
 }
}
/* Header logo — it removes mouse click/hover box focus */
.custom-logo-link:hover,
.custom-logo-link:active,
.custom-logo-link:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
/* TablePress inside accordion: keep names readable */
.accordion-body-wrap {
 overflow-x: auto !important;
}
.accordion-body-wrap .tablepress td,
.accordion-body-wrap .tablepress th {
 white-space: nowrap !important;
}
/* Gravity Forms accessibility contrast */
.gform-theme--framework {
  --gf-local-color: #313535;
  --gf-ctrl-desc-color: #313535;
}
.gform-theme--framework .gfield_description {
  color: #313535 !important;
}
/* Job listing title links — 44px */
#uf-job-list li h3 a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
/* This hides empty H1 tags in hero block banner title when hero title field is left blank */
.banner_title h1:empty {
  display: none;
}
#main p {
  font-size: 1.25em;
  line-height: 1.5;
}
/* Remove blue focus box on mouse click */
*:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
/* prevent multi-column dropdown menus from splitting a single 
   menu item's wrapped text across two columns  */
.dropdown-menu .menu-item,
.dropdown-menu .dropdown-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

/* Factoid Styling - Specific to experntial learning page only */
.page-id-1269 .factoid-number {
    font-size: 3rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}
/*CTA button block - text wrapping */
.cta-button-wrapper .cta-button[style] {
    height: auto;
    min-height: 120px !important;
    width: fit-content !important;
    min-width: 420px !important;
}