.sideBar_div {
  width: 78px;
  position: fixed;
  top: 0px;
  z-index: 100;
  min-height: 100vh;
  background-color: #fff;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  animation: sidebarMove 0.2s linear 1;
}

@keyframes sidebarMove {
  from {
    transform: translateX(-78px);
  }

  to {
    transform: translateX(0px);
  }
}

.close_sidebar {
  background-color: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  color: #fff;
  margin-left: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainPag_div {
  flex: 1;
}

.header_section {
  background: linear-gradient(61.74deg, #00492e 0.55%, #08252c 100%);
}

.side_logo {
  max-width: 250px;
}

.side_logo img {
  width: 100%;
  height: auto;
}
.sideBar {
  overflow: hidden;
  height: 100vh;
  position: relative;
}

.sideBar ul {
  padding-left: 0px;
  list-style: none;
  margin: auto;
}

.site_link img {
  width: 48px;
}

.menuitem {
  transition: all 0.2s;
}

.menuitem:hover {
  transform: scale(0.9);
}

.menuitem.site_link {
  text-decoration: none;
}

.menuitem a {
  text-decoration: none;
}

.menuitem p {
  font-size: 11px;
  color: #423d3d;
  font-weight: 700;
  margin-bottom: 0px;
}

.menuitem > a > .item_img + .menu-item-title {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.2;
}

.search_item img {
  width: 40px;
}

.menuitem .item_img {
  width: 52px;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  padding: 3px;
  box-sizing: border-box;
}

.menuitem .item_img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.12);
}

.menuitem--more {
  padding: 0;
}

.menuitem .item_img--more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5f1;
  color: #0f462f;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.menuitem .item_img--more i {
  font-size: 1.15rem;
  line-height: 1;
}

.menuitem--more > a:hover .item_img--more {
  background: #e0efe8;
  color: #0a2f20;
  box-shadow: 0 2px 6px rgba(15, 70, 47, 0.12);
}

.menuitem--more .menu-item-title {
  color: #61756b;
  font-weight: 700;
}

.menuitem--more > a:hover .menu-item-title {
  color: #0f462f;
}

.menuitem .sub-menu-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px 6px;
}

.menuitem .sub-menu-title h5 {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
  font-size: 17px;
  line-height: 1.25;
}

/* Beat .sidebar/.sideBar_div .nav-links li .sub-menu a (font-size: 15px) */
.sidebar .nav-links li .sub-menu a.sub-menu-view-all,
.sideBar_div .nav-links li .sub-menu a.sub-menu-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 5px;
  background: #eef5f1;
  color: #0f462f !important;
  font-size: 10px !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: nowrap;
  opacity: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar .nav-links li .sub-menu a.sub-menu-view-all:hover,
.sideBar_div .nav-links li .sub-menu a.sub-menu-view-all:hover {
  background: #e0efe8;
  color: #0a2f20 !important;
  opacity: 1;
}

/* Keep cover and default-icon tiles the same height */
.menuitem .sub-menu-card {
  aspect-ratio: 4 / 5;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.menuitem .sub-menu-card--cover {
  background: #111 !important;
}

.menuitem .sub-menu-card--cover .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0 !important;
  border-radius: 8px;
}

/* Default (gradient + icon) cards: fill the same box, center the icon */
.menuitem .sub-menu-card:not(.sub-menu-card--cover) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menuitem .sub-menu-card:not(.sub-menu-card--cover) .card-img {
  width: 34px;
  height: 34px;
  max-width: 46%;
  max-height: 46%;
  object-fit: contain;
  padding: 0 !important;
  border-radius: 6px;
}

.menuitem .sub-menu .sub-menu-cat-title {
  text-align: left;
  margin-top: 4px;
  margin-bottom: 0;
  padding-inline-start: 6px;
  font-size: 11px;
  line-height: 1.2;
}

.menuitem .sub-menu .sub-menu-cat-count {
  margin: 1px 0 0;
  padding-inline-start: 6px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.55);
}

.sidebar-profile-wrapper {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.logOut_btn,
.sidebar-profile-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: #00492e;
  border-radius: 6px;
  color: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.logOut_btn:hover,
.sidebar-profile-btn:hover {
  transform: translateY(-1px);
  background: #003822;
}

.logOut_btn img,
.sidebar-profile-btn img,
.sidebar-profile-btn .profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.sidebar-profile-btn .profile-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.sidebar-profile-btn .profile-initial--guest {
  background: transparent;
  color: #ffffff;
}

.sidebar-profile-btn .profile-initial--guest svg {
  width: 18px;
  height: 18px;
}

.sidebar-profile-wrapper .profile-dropdown {
  top: auto;
  bottom: 0;
  left: calc(100% + 12px);
  right: auto;
  min-width: 280px;
  text-align: left;
}

.sidebar-profile-wrapper .profile-dropdown-item,
.sidebar-profile-wrapper .profile-dropdown-item-text {
  text-align: left;
}

.recent_blog_section h2 {
  font-family: "Righteous", cursive;
  font-weight: 400;
  color: #8d1b3d;
  font-size: 24px;
}

/* .menuitem.lastitem{
  position:fixed;
  bottom: 10px;
  width: 65px;
display: flex;
justify-content:center;

} */
.mobile_menu {
  background-color: #fff;
}

.mobile_menu button {
  border: none;
  font-size: 22px;
  background-color: transparent;
}

.mobile_menu button.mobile_menubtn {
  color: #480048;
}

.mobile_menu button.mobile_user_btn {
  color: #8d1b3d;
}

.login-btn button {
  border: none;
  width: 250px;
}

.btn-close {
  position: absolute;
  right: 0px;
  padding: 5px;
  color: #fff;
}
.mega_menu {
  display: none; /* Initially hidden */
  position: absolute; /* Position it absolutely */
  left: 20px; /* Align it to the right of the sidebar */
  top: 0; /* Align it to the top of the menu item */
  background-color: #f51616; /* Background color */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for the menu */
  z-index: 2000; /* Make sure it’s above other elements */
  padding: 10px;
  width: 200px; /* Width of the mega menu */
}

.menuitem:hover .mega_menu {
  display: block; /* Show the mega menu on hover */
}

.mega_menu ul {
  list-style: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
}

.mega_menu li {
  margin: 5px 0; /* Space between items */
}

.mega_menu a {
  text-decoration: none; /* Remove underline */
  color: #423d3d; /* Text color */
}

.mega_menu a:hover {
  color: #c04848; /* Change color on hover */
}
