.mg-tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}
button.mg-tab {
   z-index: 1; 
   width: 185px; 
   color: #000;
}
button.mg-tab::before {
    z-index: -1;
}
.mg-tab { padding:8px 16px; background:#eee; border:none; cursor:pointer; border-radius:20px; }
.mg-tab.active { background:#f6b500; color:#000; font-weight:bold; }

.mg-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
/*.mg-portfolio-item { background:#fff; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.1); overflow:hidden; }*/
.mg-portfolio-item img { width:100%; height:auto; display:block; }
.mg-title {
    font-family: "DM Sans", Sans-serif;
    font-size: 66px;
    font-weight: 700;
}

#mg-load-more { margin:20px auto; display:block; padding:10px 20px; background:#333; color:#fff; border:none; border-radius:6px; cursor:pointer; }
#mg-load-more:hover { background:#000; }


.port-row-1 {
    display: flex;
    gap: 30px;
}
.port-row {
    padding: 30px 0px;
}
.port-row-2 {
    display: flex;
    gap: 30px;
}
.port-col {
    max-width: 350px;
}
.port-col img {
    border-radius: 22px !important;
}
.port-span-1 {
    /*flex: 1;*/
}
.port-span-2 {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.mg-portfolio-item {
    padding: 20px;
    border: 2px solid #2C2A2A;
    border-radius: 30px;
    margin: 35px 0px;
    background-color: #0f0f0f;
}
.mg-portfolio-item img {
    height: 100% !important;
    object-fit: cover;    
    transition: all 1s ease-in-out;    
}
.mg-portfolio-item img:hover {
    transform: scale(0.96);
}

.mg-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;    
}
/* HTML: <div class="loader"></div> */
.loading-spinner {
  color: #f9b905;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
  transform: translateX(-38px);
  animation: l21 .5s infinite alternate linear;
}

@keyframes l21 {
  50%  {box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px}
  100% {box-shadow: 19px 0 0 0  , 38px 0 0 3px, 57px 0 0 7px}
}

.mg-portfolio-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mg-portfolio-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.mg-meta {
    padding-top: 12px;
}
.mg-industry {
    font-family: "DM Sans", Sans-serif;
    font-size: 26px;
    line-height: 42px;
}
.mg-location {
    font-family: "DM Sans", Sans-serif;
    font-size: 26px;
    line-height: 42px;
}


/* Responsive  */
@media screen and (max-width:991px) {
.mg-title {
     font-size: 36px;   
}

}

@media screen and (max-width:767px) {
   .port-row-1 {
    flex-direction: column;
    align-items: center;       
   } 
.port-row-2 {
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}   
}


