body{
  direction: rtl;
}

.media-center-listing-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  /* margin-bottom: 30px; */
}

/* Left block */
.media-center-listing-header-left {
  flex: 0 0 auto;
  max-width: 52%;
}

.media-filter-sec .cdropdown .cdropdown-selected {
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 11px;
    min-width: auto;
    position: relative;
    padding: 8px 33px 8px 18px;
}

.media-center-listing-header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 37.8%;
  text-align: right;
  margin-left: 46px;
  margin-bottom: 8px;
}
.media-center-listing-header-right p{ 
font-weight: 300; 
font-size: 16px; 
line-height: 20px;
letter-spacing: 0%;

}
/* ------- */
.media-center-listing {
    position: relative;
    margin-top: 95px;
}
.media-center-listing .mt-30{
    margin-top: 30px;
}
 
.media-center-listing::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 542px;
    background: url('../images/bg-bottom.png') no-repeat center/cover;
    z-index: -2;
    background-position: bottom right;
    transform: scaleX(-1);
}
 
.media-center-listing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 680px;
    background: url('../images/bg-top.png') no-repeat center/cover;
    z-index: -1;
    background-position: top right;
    transform: scaleX(-1);
}
 .custom-tabs-content {
}
.media-center-listing .row {
      --bs-gutter-x: 50px;
      --bs-gutter-y: 60px;
     }
.media-center-listing-img-wrap {
  position: relative;
  overflow: hidden;
  height: 250px;
  object-fit: cover;
}
.media-center-listing-img-wrap  img{
  width: 100%;
  object-fit: cover;
}
.media-center-listing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
  height: 250px;
  object-position: top;
}

.media-center-listing-img-wrap:hover .media-center-listing-img {
  transform: scale(1.05);
}

.media-center-listing-body {
  padding: 3px 0 0;
  flex: 1;
}
.media-center-listing-featured-body h3{
    min-height: 78px;
    margin-bottom: 10px;
    font-size: 24px;
}
.media-center-listing-featured-body h6{
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 30%;
    text-transform: uppercase;
    color: #6E2813;
    margin-bottom: 12px;
    margin-top: 22px;
    /* direction: ltr; */
    
}
.media-center-listing-featured-body h6 a{
    color: #24262A;
    border: 1px solid #24262A;
    padding: 4px 16px;
    border-radius: 50px;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0%;
    text-transform: capitalize;
    display: inline-block;
    margin-right: 5px;
}
.media-center-listing-featured-body h6 a:hover{
    background: #6E2813;
    color: #fff;
    border-color: #6E2813;

}
.news-loader {
  min-height: 300px;
}
.media-center-listing-featured-body p{
    margin-bottom: 10px;
}
/* ------------ */

.media-search {
    width: 100%;
    max-width: 550px;
    /* margin: 30px 0; */
}

.search-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #e6a58c;
    border-radius: 40px;
    padding: 0px 5px;
    background: #fff;
    position: relative;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px;
    background: transparent;
    font-weight: 300;
}
.search-box input::placeholder {
    color: #6E2813;
    font-weight: 300;
}
.search-icon {
    margin-right: 10px;
}

.search-btn {
    background: none;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(
180deg);
}

.search-btn:hover {
    opacity: 0.9;
}
/* ---------- */
.media-filter-sec{
        display: flex !important;
    gap: 10px;
}
 .search-filter {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 99;
 }

.cdropdown {
  width: fit-content;
  z-index: 9999;
  position: relative;
}

.cdropdown-selected {
  width: 100%;
  padding: 8px  18px 8px 36px;
  font-size: 14px;
  border: 2px solid #FFB89E;
  border-radius: 100px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  cursor: pointer;
  min-width: 130px;
  color: #6E2813;
}

.cdropdown-selected:after {
   background: url('../images/arrow-d.svg') no-repeat center;
   width: 10px;
   height: 8px;
   content: "";
   position: absolute;
   left: 15px;
   top: 50%;
   transform: translateY(-50%);
}

.cdropdown-list {
  display: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #f1f1f1;
  list-style: none;
  padding: 0;
  border-radius: 10px;
  margin: 0;
  z-index: 999;
  min-width: 120px;
}

.cdropdown-list li {
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f1f1f1;
}
.cdropdown-list li:last-child {
  border-bottom:none;
}

.cdropdown-list li:hover {
  background: #fafafa;
}
.cdropdown-list li:hover:first-child,
.cdropdown-list li:hover:last-child {
  border-radius: 10px;
}

.cdropdown.show .cdropdown-list {
  display: block;
  z-index: 999;
}
/* ------ */
.custom-tabs {
  overflow-x: auto;
  white-space: nowrap;
  margin-bottom: 30px;

}
.for-line { 
  position: relative;
  margin-bottom: 30px;

}
 .for-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%; 
  height: 1px;
  background: #FFB89E;
  min-width: 120px;
}


.custom-tabs-wrapper {
  display: inline-flex;
  gap: 10px;
}

.custom-tab {
  padding: 7px 24px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  width: 145px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #FFB89E;
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0%;
  text-align: center;
}

.custom-tab.active {
  background: linear-gradient(90deg, #FFB89E 0%, #6E2813 100%);
  color: #fff;
}

 
.custom-content {
  display: block;  
} 
.custom-content.hide {
  display: none !important;
} 
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}
.media-center-listing-header-left h5{
      border-left: 0;
    margin-bottom: 10px;
    padding-left: 0;
    padding-right: 10px;
    border-right: 2px solid #B17862;
}
.media-center-listing .row .media-center-listing-featured-body a h3 {
    color: #181A1E;
    transition: all 0.4s ease 0s;
}
.media-center-listing .row .media-center-listing-featured-body a h3:hover {
   color: #844F3D;
}
.no-results-found {position: relative;
    text-align: center;
    font-size: 20px;
    margin-top: 80px;
   min-height: 250px; }


   
.news-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.news-loader .spinner {
    width: 60px;
    height: 60px;
    font-size: 0;
    color: transparent;
    position: relative;
    border-radius: 50%;
    border: 3px solid rgba(110, 40, 19, 0.12);
    border-top-color: #6E2813;
    border-right-color: #FFB89E;
    animation: premiumSpin 0.8s linear infinite;
    box-shadow: 0 0 20px rgba(255, 184, 158, 0.15);
}

@keyframes premiumSpin {
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (min-device-width: 1024px) and (max-device-width: 1299px) { 
     .media-center-listing-img-wrap { 
    height: 160px; 
}
}

@media screen and (min-device-width:992px) and (max-device-width:1034px) { 
    .media-center-listing .col-lg-4.col-md-6.custom-content {
    width: 50%;
}
    .media-center-listing-img-wrap {
        height: inherit;
    }
}

@media (max-width: 991px) { 
  .media-center-listing-featured-body h3 {
    min-height: 56px; 
  }
  .media-center-listing-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom:5px;
  } 
  .media-center-listing-header-left,
  .media-center-listing-header-right {
    max-width: 100%; 
  }
}
@media (max-width: 820px) { 
.media-center-listing-img-wrap{
    height: 205px;
}
}
@media (max-width: 767px) { 
   .custom-tabs-wrapper {
        margin-bottom: 15px;
  }
.media-center-listing-featured-body h3 {
    min-height: auto !important; 
  }
   .search-filter {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
    }
       .media-center-listing-img-wrap img{
      object-fit: cover;
    min-height: 220px;
}
.media-center-listing-img-wrap { 
    height: 220px;
    object-fit: cover;
}
.media-filter-sec { 
    justify-content: center;
}
}
@media (max-width: 480px) {
  .media-center-listing-header-left h2 {
  padding-right: 20px;
}
.custom-tabs { 
    margin-bottom: 15px;
}
.cdropdown-selected { 
    font-size: 12px;
}
.media-center-listing-featured-body h3 {
    min-height: 78px;
    margin-bottom: 10px;
    font-size: 18px;
    }
    .media-center-listing .row { 
      --bs-gutter-y: 30px;
      --bs-gutter-x: 1.5rem;
     }
    .media-center-listing-header {
            align-items: flex-start;
            gap: 0;
    }
    .media-center-listing { 
    margin-top: 60px;
    padding-bottom: 44px;
    }
    .media-center-listing-header-right { 
    margin-left: 0; 
   }
 }


 .desk-none{
  display: none;
 }
 .mob-none{
  display: block;
 }
 @media(max-width:899px){
  .media-center-listing-featured-body h6 span { 
    display: flex;
    margin-bottom: 10px;
}
 }
@media(max-width:767px){
 
.search-btn {
    background: none;
}
.desk-none{
  display: block;
 }

.mob-none{
  display: none !important;
 }
.media-filter-sec{
    display: flex;
    gap: 0;
    background: #ffffff;
    width: fit-content;
    margin: 0 auto;
    border-radius: 24px;
    border: 2px solid #ffb89e;
    position:sticky; 
    bottom: 0; 	
    background: #150E2A;
    }
.cdropdown-selected {
     border: none;
    background: none;
    border-radius: 0;
    position: relative;
    }
.dropdown-selected:first-child {
      border-right: 1px solid;
    }
.cdropdown:first-child::after {
        content: "";
        position: absolute;
        right: -2px;
        top: 12px;
        width: 1px;
        height: 13px;
        background: #DDDDDD;
    }
.media-filter-sec.sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: #fff;
        padding: 15px;
    } 
.media-filter-sec {
    background: #fff; /* optional */
    padding: 10px 15px;
    border-radius: 50px;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}
.mob-filter.show {
    opacity: 1 !important;
    visibility: visible;
}
.mob-filter{
    opacity: 0; 
     visibility: hidden;
    transition: all 0.3s ease;
}
/* ----------/- */

#media-filter-sticky {
        position: sticky;
        top: 90%;
        background: #fff;
        padding: 2px 10px;
        border-radius: 50px;
        display: flex;
        gap: 0;
        flex-direction: row;
        justify-content: center;
        width: fit-content;
        margin: 0 auto;
        border: 2px solid #ffb89e;
}
.cdropdown.show .cdropdown-list {
    display: block;
    z-index: 999;
    
     bottom: 100%;
     margin-bottom: 12px;
}
.custom-tabs-content {
  margin-top: -75px;
}
}