body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 18.5px;
  
}
.doc-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    font-size: 18.5px;
}

.container {
  padding: 0.5rem;
}

.title {
  color: #c40000 !important;
  text-align: center !important;
  font-size: 2.7rem;
  margin-top: 0.7rem;
}

.slogan {
  /* margin-top: 0.5rem; */
  text-align: center !important;
  font-style: italic;
  font-weight: bold;
  color: #000;
  font-size: 1.8rem;
}

.links {
  margin-top: 2.3rem;
  text-align: center !important;
}
.spubs {
    text-align: center !important;
}

.links a {
  color: #006600;
  text-decoration: none;
  margin: 0 0.3rem;
  text-align: center !important;
}

.network {
  margin-top: 1rem;
  text-align: center !important;
  font-weight: bold;
}

/* Center the dropdown under the network text */
.language-dropdown {
  margin: 1rem auto 2rem auto;
  width: 220px;
  text-align: center;
}

/* Style dropdown with flag background */
.language-dropdown select {

  font-size: 1rem;
  padding: 0.5rem 2.5rem 0.5rem 2.8rem; /* padding-left for flag + some space */
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;

  /* flag on left + arrow on right */
  background-repeat: no-repeat, no-repeat;
  background-position: 8px center, right 8px center;
  background-size: 20px 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Left align menu links for both desktop and mobile menus */
.menu {
  display: flex;
  flex-direction: column; /* For mobile overlay and smaller screens */
  align-items: flex-start; /* Align items to left */
  padding-left: 2rem; /* Optional left padding */
  gap: 1rem;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

@media all and (min-width: 2100px) {
    .menu {
  display: flex;
  flex-direction: column; /* For mobile overlay and smaller screens */
  align-items: center; /* Align items to left */
  padding-left: 2rem; /* Optional left padding */
  justify-content: center;
  gap: 1rem;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

}


/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  position: fixed;        /* fixed to avoid overlap and always visible */
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  background: white;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

/* Desktop horizontal menu */
@media (min-width: 701px) {
  .desktop-menu.menu {
    flex-direction: row;
    align-items: center;
    padding-left: 0;
  }

  .desktop-menu.menu a {
    margin-right: 1.7rem;
  }
}

/* Active link style: greensish background and text */
.menu-link.active {
  background-color: #b2d8b2; /* light green background */
  color: #1a5d1a; /* dark green text */
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  text-decoration: none;
}

/* Show hamburger only on small screens */
@media (max-width: 700px) {
      .desktop-menu {
  display: none;
  }
  .hamburger {
    display: block;
  }
}

/* Overlay menu container */
#menuOverlay {
  display: none;
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: white;
  z-index: 9999;
  padding-top: 4rem;
}

/* Close icon */
.close-icon {
  position: fixed;       /* fixed so it stays visible */
  top: 1rem;
  right: 1rem;
  font-size: 32px;
  cursor: pointer;
  z-index: 10001;
  color: #c40000;       /* red color */
  background: white;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Hide hamburger when overlay menu is open */
.menu-open .hamburger {
  opacity: 0;
  pointer-events: none;
}

/* Show overlay menu when open */
.menu-open #menuOverlay {
  display: block;
}

/* Language dropdown fix: force native arrow */
.language-dropdown select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-repeat: no-repeat, no-repeat;
  background-position: right 0.75rem center, left 0.75rem center;
  background-size: 1rem auto, 1.5rem auto;
  padding-right: 2rem;
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}
