.title_mobile {
  display: none;
}

.gallery-tabs {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.gallery-tabs li {
  border-radius: 34px;
  margin: 0 30px;
}
.gallery-tabs li:has(.active) {
  background-color: #efad02;
  border-color: #efad02;
}
.gallery-tabs li .nav-link {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(16px, 2vw, 28px) !important;
  line-height: 1;
  padding: 0 10px;
}
.gallery-tabs li .nav-link.active {
  color: #0d372f;
}

.gallery-grid .gallery-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.gallery-grid .gallery-item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.gallery-grid .gallery-item a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.gallery-grid .gallery-item a img:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 767px) {
  .gallery-tabs {
    gap: 1rem !important;
  }
  .gallery-tabs li {
    margin: 0 50% !important;
  }
  .title_mobile {
    display: block !important;
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(24px, 2vw, 34px) !important;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  .gallery-grid .gallery-item {
    padding-top: 100%;
  }
}
