.max-lines-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1lh);
  /* 1 × current element's line-height */
}

.max-lines-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(2lh);
  /* 2 × current element's line-height */
}

.max-lines-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(3lh);
  /* 3 × current element's line-height */
}

.max-lines-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(4lh);
  /* 4 × current element's line-height */
}

.max-lines-5 {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(5lh);
  /* 5 × current element's line-height */
}

.max-lines-6 {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(6lh);
  /* 6 × current element's line-height */
}

#gridCheck {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  width: 0 !important;
  background: none !important;
}

#gridCheck:focus {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  width: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.user-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* makes it a circle */
  background-color: #007bff;
  /* blue background, change as needed */
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}

.client-img img {
  border: 1px solid #c5bcbc;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.09);
}

.agent-img img {
  border: 1px solid #c5bcbc;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.09);
}

.flaticon-flag:before {
  content: "\f102";
}

.text-main {
  color: var(--primary-color);
}

i {
  color: var(--primary-color);
}

.border-custom {
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.invalid-feedback {
  color: red !important;
  display: block !important;
  border: 1px solid red !important;
}
.theme-dark .owl-carousel .owl-dots button.owl-dot span:after {
  background-color: rgb(255 255 255 / 51%);
}
.hero-wrap.style1 .hero-img-wrap .hero-property-slider {
  bottom: -100px !important;
}
#hide-on-scroll {
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  max-height: 100px; /* Adjust based on your top bar height */
  opacity: 1;
}

.top-bar-hidden {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none;
}
.header-top a.active {
  color: var(--primary-color) !important;
  font-weight: bold;
  text-decoration: underline;
}
section.promo-sec {
  padding: 150px 0 20px;
}
.page-gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}
.page-gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.page-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.page-gallery-item:hover img {
  transform: scale(1.05);
}
.social .copy-link-btn {
  display: inline-block;
  padding: 10px;
  line-height: 1;
  background-color: var(--mute);
  color: #696969;
  border-radius: 5px;
  vertical-align: middle;
}
.social .copy-link-btn:hover {
  background-color: var(--primary);
}
.single-entry2 .entry-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.single-entry2 .entry-media a {
  display: block;
  width: 100%;
  height: 100%;
}
.single-entry2 .entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-page .team-img,
.team-page .team-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}
.team-page .team-media {
  aspect-ratio: 16 / 10;
}
.team-page .team-img img,
.team-page .team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-match .team-logo {
  flex-wrap: nowrap;
}
.single-match .team-logo a {
  display: block;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}
.single-match .team-logo img {
  display: block;
  width: 60px !important;
  height: 60px !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .single-match {
    gap: 24px;
  }
  .single-match .match-info {
    flex: 0 0 320px;
    min-width: 0;
  }
  .single-match .match-info h3 {
    font-size: 1.1rem;
  }
  .single-match .team-logo {
    flex: 0 0 260px;
    gap: 12px;
  }
  .single-match .match-ticket {
    flex: 0 0 auto;
  }
}
.match-section.sec-padding {
  padding-bottom: 40px;
}
.event-media {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 8px;
}
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 991.98px) {
  .navbar .offcanvas-nav .navbar-nav li a.nav-link,
  .navbar .offcanvas-nav .dropdown-item {
    color: #fff !important;
  }
  .navbar .offcanvas-nav .navbar-nav li a.nav-link:hover,
  .navbar .offcanvas-nav .navbar-nav li a.nav-link.active,
  .navbar .offcanvas-nav .dropdown-item:hover {
    color: var(--tertiary) !important;
  }
}
.top-feature .feature-media.feature-media-static {
  margin-top: 0;
  animation: none;
}
@media (max-width: 991.98px) {
  .navbar a.navbar-brand img {
    width: 60px;
    height: auto !important;
  }
  .navbar .nav-cta {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    order: 2;
  }
  .navbar .navbar-toggler.offcanvas-nav-btn {
    order: 3;
    margin-left: 12px;
  }
  .navbar .nav-cta .d-flex {
    gap: 10px;
  }
  .navbar .nav-cta a {
    width: auto;
  }
  .navbar .nav-cta ul {
    gap: 6px !important;
  }
}
@media (max-width: 400px) {
  .navbar .nav-cta a[data-bs-toggle="offcanvas"] {
    display: none;
  }
}
