.cs_main_header_in {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cs_main_header_center {
  flex: 1 1 auto;
}

.cs_main_header_right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* Gallery item styling for consistent sizing */
.cs_gallery_item {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.cs_gallery_item img {
  transition: transform 0.3s ease;
}

.cs_gallery_item:hover img {
  transform: scale(1.05);
}

/* Ensure grid spacing is even */
.cs_grid_4.cs_gallery_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 768px) {
  .cs_grid_4.cs_gallery_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cs_grid_4.cs_gallery_list {
    grid-template-columns: 1fr;
  }
}

/* Google Translate minimal styling to match header */
.translate-widget-wrapper .goog-te-gadget,
.translate-widget-wrapper .goog-te-gadget-simple {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
}

/* Style the select control inserted by the widget */
.translate-widget-wrapper select {
  background: #ffffff;
  color: #333333;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Hide the Google translate icon/branding if present (keeps UI clean) */
.translate-widget-wrapper .goog-te-gadget-icon {
  display: none !important;
}

/* Small screens: hide or adjust as needed */
@media (max-width: 767px) {
  .translate-widget-wrapper {
    display: none;
  }
}