/* UL को grid में लाओ */
.region-unee-header ul {
  list-style: none;
  margin: 0;
  padding: 3px;
  display: grid;
  grid-auto-flow: column;
  gap: 1rem; /* items ke beech gap */
  align-items: center;
}

/* li ke andar anchor styling */
.region-unee-header ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 6px;
  border-radius: 50%;
}

/* svg / img ka fix size */
.region-unee-header ul li img {
  width: 26px !important;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect on icons */
.region-unee-header ul li a:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}

/* Hover effect on text links (A-, A, A+) */
.region-unee-header ul li a:hover {
  color: #ffc107; /* yellow highlight */
  background: rgba(255, 255, 255, 0.1);
}


.region-unee-header ul li {
    background: #18447b;
    height: 30px;
    width: 30px;
}





.sitemap-item {
  flex: 1 1 300px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sitemap-item h2 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
}

.sitemap-item ul {
  list-style: none;
  padding-left: 0;
}

.sitemap-item li {
  margin-bottom: 0.6rem;
  position: relative;
}

.sitemap-item li a,
.sitemap-item li span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #34495e;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sitemap-item li a:hover {
  color: #2980b9;
}

.sitemap-item li ul {
  margin-top: 0.4rem;
  margin-left: 1.5rem;
  border-left: 2px dotted #ccc;
  padding-left: 1rem;
}

.sitemap-item li ul li a::before,
.sitemap-item li ul li span::before {
  content: "\f105"; /* Right arrow from Font Awesome */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 0.3rem;
  color: #7f8c8d;
}

/* Icon before each main item */
.sitemap-plugin--menu h2::before {
  content: "\f0c9"; /* bars icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #3498db;
}

.sitemap-plugin--menu-footer h2::before {
  content: "\f0e0"; /* envelope */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #27ae60;
}

.sitemap-plugin--menu-external-links h2::before {
  content: "\f08e"; /* external-link-alt */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #e67e22;
}

/* Active link styling */
.sitemap-item a.is-active,
.sitemap-item a[aria-current="page"] {
  color: #e74c3c;
  font-weight: bold;
}

/* Optional: animate submenus */
.sitemap-item li ul {
  transition: all 0.3s ease;
}

.sitemap-item li a:hover {
  background: #ecf0f1;
  border-radius: 5px;
  padding: 0.2rem 0.4rem;
}



.bhashini-dropdown-btn-icon {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.bhashini-dropdown-btn-icon svg { filter: brightness(0) saturate(100%) invert(96%) sepia(4%) saturate(18%)}
.bhashini-dropdown-content {
    display: none;
    position: absolute;
    max-height: 25rem;
    overflow-y: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    /* bottom: 100%; */
    border-radius: 0.5rem;
    width: 13rem;
    border: 1px solid var(--Grey-Grey-45, #737373);
    background: rgba(255, 255, 255, 0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
 
.bhashini-dropdown-content>div {
    color: black;
    padding: .62rem 1rem;
    text-decoration: none;
    display: flex;
}
 
 
.bhashini-dropdown-content div:hover {
    background-color: #f1f1f1;
}
 
.bhashini-dropdown-content.show {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}
 
.bhashini-branding {
    background-color: #fff;
    color: #555;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    position: sticky;
    bottom: 0;
    justify-content: end;
    align-items: center;
    gap: .5rem;
    font-size: .625rem;
    font-weight: 600;
}
 
.bhashini-dropdown-btn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    margin: auto;
}
 .bhashini-dropdown-btn {
    display: flex;
    background-color: #2743A3 !important;
    color: #fff !important;
    padding: 1rem 1.12rem;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    width: 4.75rem;
    max-width: 100%;
    justify-content: space-between;
    align-items: center;
    font-family: "Noto Sans";
}
 
.bhashini-dropdown-content.show-up { 
    display: block;
    bottom: 100%;
}
 
.bhashini-dropdown-content.show-down {
    display: block;
    top: 100%;
}
