
  /* FULL WIDTH mega menu – ONLY top-level submenu */
/* Parent must be static ONLY for full width */
@media (min-width: 1201px) {
.mega-menu-item ,
#mega-menu-item-129943 {
    position: static !important;
}

/* ONLY top-level mega submenu */
/* Top-level mega submenu only */
.mega-menu-item > ul.mega-sub-menu,
#mega-menu-item-129943 > ul.mega-sub-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;

}


}
/* GRID CONTAINER */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(auto, 1fr));
    gap: 38px;
    justify-content: center;
}
.bottom-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(auto, 1fr));
    gap: 32px;
    justify-content: center;
    max-width: 940px;
    margin: 0 auto;
}

/* CARD */
.card-grid {
  max-height:744px;
  height: 744px;
  max-width:100%;
  z-index: 1;

}

.team-card-wrapper {
  min-height: 300px;
}

.front, .back {
  background: #fff;
  border-bottom-right-radius: 32px;
  border-bottom-left-radius: 32px;
  text-align: center;
}

.our-team-block .front,.our-team-block  .back {
  background: #fff;

  border-bottom-right-radius: 32px;
border-bottom-left-radius: 32px;
  text-align: center;
}
 .back{
  min-height:744px;
}

.team-card {
    padding-bottom: 0 !important;
}

@media (max-width: 1260px) {
.team-card-wrapper {
    min-height: 330px;
}
.card-grid {
    max-height: 784px;
    height: 784px;
}
}

@media (max-width: 1199px) {
  .team-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(1, minmax(auto, 1fr));
}
.bottom-team-grid {
    grid-template-columns: repeat(1, minmax(auto, 1fr));
}
    .team-card-wrapper {
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .team-photo img, .team-photo-img {
        width: 100%;
        height: 550px;
        object-fit: cover;
    }
}
@media (max-width: 900px) {
.card-grid {
    max-height: fit-content;
    height: auto;
    max-width: 100%;
    z-index: 1;

}

}

/* .mega-menu-item.mega-toggle-on > ul.mega-sub-menu:first-of-type {
    position: fixed !important;
} 
.mega-menu-item.mega-toggle-on > ul.mega-sub-menu:first-of-type {
    animation: none !important;
    transition: none !important;
    transform: none !important;
} */
/* Force this mega menu to stay open */
/* .mega-menu-item-129801 > .mega-sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  pointer-events: auto;
} */

/* BACK CARD LAYOUT */
.new-back-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 25px;
  text-align: center;
  justify-content: space-between;
}

/* FULL BIO TEXT */
.new-back-bio {

  line-height: 24px;
  color: #02598A;
  font-weight: 400;
  margin-bottom: 30px;
}

/* BACK PROFILE ROW */
.new-back-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 40px 0px;
}

/* IMAGE LEFT */
.new-back-photo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* TEXT RIGHT */
.new-back-info {
  text-align: left;
}

/* NAME */
.new-back-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #02598A;
}

/* DESIGNATION */
.new-back-designation {
  margin: 2px 0 0;
  font-size: 12px;
  color: #02598A;
}
  .phone-mobile,.top-header-mobile,.menu-trade-mobile-menu-container{
    display:none;
  }
@media (max-width: 1200px) {
/* #mega-menu-129943-0-0,#mega-menu-129801-0-0{
  display:none !important;
} */
.hidemenu{
  display:none !important;
}
.menu-trade-mobile-menu-container{
    display:block !important;
}

  /* Hide all inner menus by default */
  #mega-menu-129943-0 .menu-countertops-container .menu,
   #mega-menu-129943-0  .menu-custom-rangehoods-container .menu,
    #mega-menu-129943-0 .menu-designoptions-container .menu {
    display: none;
  }

  /* Show when open */
    #mega-menu-129943-0 .menu-countertops-container.open .menu,
    #mega-menu-129943-0 .menu-custom-rangehoods-container.open .menu,
    #mega-menu-129943-0 .menu-designoptions-container.open .menu {
    display: block;
  }

  /* Make headings clickable */
  .mega-block-title {
    cursor: pointer;
    position: relative;
    padding-right: 25px;
  }
  /* Arrow icon */
.custom-about-2 h4.mega-block-title::after,
.custom-about-3 h4.mega-block-title::after,
.custom-about-4 h4.mega-block-title::after {
 content: "⌄";
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  /* Rotate arrow when open */
  .mega-block-title.open::after {
    transform: rotate(180deg);
  }
  .phone-mobile{
 font-family: Montserrat;
font-weight: 500;
font-size: 14px;
line-height: 28px;
letter-spacing: 4%;
text-align: center;
text-transform: uppercase;
display:block;
  background: #02598A;

color: #FFFFFF;

  }
}

/* Hide by default */
.mega-menu-horizontal .menu-above {
    display: none;
}

@media screen and (min-width: 1920px) {
    /* your styles here */
    .card-grid{
    max-height: 873px;
    height: 873px;
    }
    .back{
          min-height: 873px;
    }
    .team-grid.our-team-block {
    max-width: 1840px;
    margin: 0 auto;
}
}


/* Show only on mobile */
@media (max-width: 1200px) {
 button.mega-close {
    display: none !important;
}

    #mega-menu-secondary-menu > .menu-above {
        display: flex;                /* flex layout */
        justify-content: space-between; /* logo left, close button right */
        align-items: center;          /* vertically center items */
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
        background-color: #fff;   /* menu background */
    }

    #mega-menu-secondary-menu > .menu-above img {
        max-width: 180px;
        height: auto;
    }

    /* Close button with SVG */
    .mega-close-new {
        width: 24px; 
        height: 40px;
        background: url('http://stage-la-bastille.dmlabs.in/wp-content/uploads/2026/01/close-mega-menu.svg') no-repeat center center;
        background-size: contain;
        border: none;
        cursor: pointer;
    }
}

.custom-about-3 .mega-block-title ,.custom-about-2 .mega-block-title,.navbar-about-3 h4.mega-block-title{
    cursor:pointer;
}


@media (width: 1920px) {
  .team-card-wrapper {
    min-height: 440px;
  }
}

@media (width: 1200px) {
.card-grid {
    max-height: 774px;
    height: 774px;
}
}




@media (max-width: 900px) {
  .team-wrapper {
    grid-template-columns: 1fr;
  }
  .team-card-wrapper {
    min-height: auto;
}
    .team-grid {
    grid-template-columns: repeat(1, minmax(auto, 1fr));
}
.back p.new-back-bio {
    overflow: scroll;
    height: 400px;
}
}
@media (max-width: 600px) {

.team-card {
    padding-bottom: 20px !important;
}

}