/* Prevent horizontal scroll on mobile */
body {
  overflow-x: hidden;
}

/* Ensure containers scale properly on smaller screens */
.container, .t4-container {
  max-width: 100%;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Make all images and iframes responsive */
img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure tables don’t break the layout */
table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* Wrap rows properly if using flex layout */
.row, .t4-row {
  flex-wrap: wrap;
}


/* Display dropdown items like a normal menu in off-canvas */
.t4-module, .mod-languages {
  display: block !important;
  position: static !important;
  transform: none !important;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Show language switcher on mobile if it's hidden by default */
.t4-language, .mod-languages, .language-active {
  display: block !important;
  visibility: visible !important;
}

/* Optional mobile styling */
.language-active {
  padding: 10px;
  text-align: center;
}

.language-active ul {
  display: flex;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
