section.spacer-blog {
    background: url(../images/gallery/gallerybannerimg.jpg) no-repeat 0 0 #000000;
    background-size: 100%;
    min-height: 400px;
}

.mainTitle {
    background: linear-gradient(90deg, #999999 0%, #FFFFFF 25%, #FFFFFF 75%, #999999 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #F8E07C !important;
    max-width: fit-content;
}
h1.mainTitle, h2.mainTitle, h2.locationTitle {
    font-family: "Gilroy Bold";
    text-transform: uppercase;
    background: linear-gradient(90deg, #999999 0%, #FFFFFF 25%, #FFFFFF 75%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: fit-content;
    margin: 0 auto .5rem;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}
.blogpageTitle{margin-top: -170px;} 



.media-boxes-filter>li a.selected {
    background: transparent !important;
    color: #F8E07C!important;
    opacity: 1;
    height: 70px !important;
  }

.media-boxes-filter>li a{
      font-family: "Gilroy Extra Bold";
      font-size:36px !important;
      background-color: transparent !important;
      color: #FFFFFF4D !important;
      opacity: 0.9;
      border: 0 !important;
}
.media-boxes-filter>li a span{
    color: #858585;
    font-size: 18px;
       font-family: "Gilroy Light" !important;
}

.yellobtn a{
    background-color: #FFE98E;
    color: #000000;
    padding: 17px;
    font-family: "Gilroy Bold";
    font-size: 18px;
    margin: 0 auto;
    text-align: center;
    display: table;
}
.yellobtn a:hover{
        background-color: #000000;
    color: #FFE98E;
}
.media-boxes-no-more-entries{
    opacity: 0 !important;
}
.videopart .thumbnail-overlay {
    display: block !important;
}

.media-boxes-filter li a p{
  line-height: 1; 
}

.media-boxes-filter li:first-child {
  display: flex;
  justify-content: flex-start;
}


.media-boxes-filter li:last-child {
  display: flex;
  justify-content: flex-end;
}
@media(max-width:767px){ 
    section.spacer-blog {
        background: url(../images/gallery/gallerymobileimg.jpg) no-repeat 0 0 #000000;
        background-size: contain;
        background-position: center;
    }
    body {
    overflow-x: hidden;
  }
  
  
.media-boxes-filter>li a{
    font-size: 23px !important;
}
  html, body {
    overflow-x: hidden !important;
    width: 100%;
  }
  .media-boxes-filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    
    padding: 0 12px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;

    /* IMPORTANT */
    justify-content: flex-start !important;
  }
  

.media-boxes-filter a {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  text-decoration: none;
  height: auto !important;

}

.media-boxes-filter a.selected::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #FFD700; /* Yellow line */
  border-radius: 2px;
}
.media-boxes-filter span {
font-size: 14px !important;
} 

 .media-boxes-filter::-webkit-scrollbar {
    height: 3px;
  }

  .media-boxes-filter::-webkit-scrollbar-thumb {
    background:transparent;
    border-radius: 10px;
  }

  .media-boxes-filter::-webkit-scrollbar-track {
    background: transparent;
  }
  .media-boxes-filter>li a{
    line-height: 21px !important;
  }

  .media-boxes-filter > li {
    flex: 0 0 calc(50% - 6px); /* 50% with gap balance */
    max-width: calc(50% - 6px);

  }
 
}

@media(min-width:768px){
.media-boxes-filter > li{
  width: 33%;
   text-align: center;
}
}