/* nav and header */

.custom-logo {
	width: 67px !important;
	height: auto !important;
}

.navbar-header {
  display: flex;
  align-items: center; 
  gap: 10px; 
}

.navbar-toggle {
  float: none !important;
  position: relative;
	margin-left: auto;
  order: 2;
}

/* button */

.btn-reverse:hover {
	background: #40868c !important;
}

/* other pages header title */

.inner-main-title {
	display: none;
}

/* key and about us front page excerpt */

.single-item .title a,
.single-item .clearfix a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

/* key highlights and about hover*/ 

#highlights h3 {
	display: none;
	padding-top: 15px;
}

#highlights p {
	font-size: 20px;
	padding-top: 15px;
}


#highlights p:hover,
#highlights .icon:hover {
	color: #40868c;
}

/* team name */

.team-name a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

/* !!!!GALLERY!!!! */

/* Make entire gallery box clickable */
/* .gallery-inner-item {
  position: relative;
} */

/* Add a full-size clickable link over the image and content */
.gallery-inner-item a.full-cover-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  text-indent: -9999px; 
}

.gallery-inner-item {
  height: 310px; /* Adjust to desired fixed height */
  overflow: hidden;
}

.gallery-inner-item img {
  object-fit: cover !important;
  width: 100%;
  height: 100%; /* Fill the set height */
  display: block;
}

/* Keep the original image and text visible above the link layer */
.gallery-inner-item img,
.gallery-inner-item h3 {
  position: relative;
  z-index: 10;
}

.at-bottom-lower h3 {
	font-size: 20px;
}

/* Team Members Cards */
.single-list.col-md-3 {
  width: 15%;
  padding: 10px;
  margin: 0 1%;
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.team-item {
  margin: 0 auto;
  max-width: 100%;
}

.team-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.team-author-details h3 {
	font-size: 18px;
}

.team-details p {
	font-size: 10px;
}

/* Tablets - 4 in a row */
@media (max-width: 1024px) {
  .single-list.col-md-3 {
    width: 22%;
  }

  .team-author-details h3 {
    font-size: 16px;
  }

  .team-details p {
    font-size: 9.5px;
  }
}

/* Small tablets / large phones - 2 or 3 in a row */
@media (max-width: 768px) {
  .single-list.col-md-3 {
    width: 45%;
    margin: 10px auto;
  }

  .team-author-details h3 {
    font-size: 15px;
  }

  .team-details p {
    font-size: 9px;
  }
}

/* Phones - 1 per row */
@media (max-width: 480px) {
  .single-list.col-md-3 {
    width: 90%;
  }

  .team-author-details h3 {
    font-size: 14px;
  }

  .team-details p {
    font-size: 8.5px;
  }
}
