.header-1 {
    
    background: #880000;
}

@media (min-width: 1399px) {
  .header-1 {
    top: 0px;
    position: relative;
  }
}

.header-top-section {
    position: relative;
    z-index: 9;
    background: rgb(20, 25, 79);
    transition: all 0.3s ease;
}

/* Keep header-top-section visible when scrolling */
body.scrolled .header-top-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* Adjust sticky header position to account for header-top-section */
@media (min-width: 1399px) {
  body.scrolled .sticky.header-1 {
    top: 70px !important; /* Adjust based on actual header-top-section height */
  }
}


.theme-btn-22 {
    display: inline-block;
    vertical-align: middle;
    background-color: var(--theme);
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    padding: 10px 30px;
    text-transform: capitalize;
    overflow: hidden;
    text-align: center;
    border-radius: 44px;
    font-family: "DM Sans", sans-serif;
    line-height: 1;
}

.header-logo img{
    max-width: 300px;
}

.header-logo-2 img{
    max-width: 300px;
}

@media (max-width: 414px) {
    .header-logo img,
    .header-logo-2 img {
      max-width: 200px;
      height: auto;
    }
  }

.sticky.header-1 .header-main .main-menu ul li a {
    color: var(--white);
}

.sticky.header-1 .header-main .header-right .search-icon {
    color: var(--white);
}

.sticky.header-1 .header-main .header-right .social-icon a {
    color: var(--white);
}

.logo-image img{
    max-width: 300px;
}


.masonry-grid {
    column-count: 3;
    column-gap: 30px;
}

@media (max-width: 1199px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .masonry-grid {
        column-count: 1;
    }
}

.masonry-grid .news-card-items {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
    /* Optional: add box-shadow or border for clarity */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
    /* background: #fff; */
    /* border-radius: 8px; */
}
   


.header-main .main-menu ul li a:hover {
    color: var(--white) !important;
}

/* Ensure search popup is hidden by default; controlled via JS */
.search-wrap {
    display: none;
}

.content-set :where(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 30px;
  }

  .content-set :where(p) {
    margin-bottom: 30px;
  }

  .sticky.header-1 .header-main .sidebar__toggle {
    color: var(--white);
}

/* Hide desktop menu when MeanMenu is active (<=1199px) */
@media (max-width: 1199px) {
  /* hide the original desktop nav to prevent duplicate alongside MeanMenu */
  .mean__menu-wrapper .main-menu > nav {
    display: none !important;
  }
  /* safety: if two mean-bars somehow appear, hide all after the first */
  .mobile-menu .mean-bar + .mean-bar {
    display: none !important;
  }
  }

  h1, h2, h3, h4, h5, h6 {
    text-transform: none; 
}
